@dmptool/types 1.0.0

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 (47) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +41 -0
  3. package/dist/answers.d.ts +558 -0
  4. package/dist/answers.js +87 -0
  5. package/dist/dateQuestions.d.ts +244 -0
  6. package/dist/dateQuestions.js +30 -0
  7. package/dist/graphQLQuestions.d.ts +288 -0
  8. package/dist/graphQLQuestions.js +41 -0
  9. package/dist/optionBasedQuestions.d.ts +236 -0
  10. package/dist/optionBasedQuestions.js +44 -0
  11. package/dist/primitiveQuestions.d.ts +367 -0
  12. package/dist/primitiveQuestions.js +96 -0
  13. package/dist/schemas/anyAnswer.schema.json +267 -0
  14. package/dist/schemas/anyQuestion.schema.json +726 -0
  15. package/dist/schemas/booleanAnswer.schema.json +23 -0
  16. package/dist/schemas/booleanQuestion.schema.json +46 -0
  17. package/dist/schemas/checkboxesAnswer.schema.json +26 -0
  18. package/dist/schemas/checkboxesQuestion.schema.json +73 -0
  19. package/dist/schemas/currencyAnswer.schema.json +23 -0
  20. package/dist/schemas/currencyQuestion.schema.json +45 -0
  21. package/dist/schemas/datePickerAnswer.schema.json +23 -0
  22. package/dist/schemas/datePickerQuestion.schema.json +52 -0
  23. package/dist/schemas/dateRangeAnswer.schema.json +36 -0
  24. package/dist/schemas/dateRangeQuestion.schema.json +106 -0
  25. package/dist/schemas/emailAnswer.schema.json +23 -0
  26. package/dist/schemas/emailQuestion.schema.json +55 -0
  27. package/dist/schemas/filteredSearchAnswer.schema.json +26 -0
  28. package/dist/schemas/filteredSearchQuestion.schema.json +120 -0
  29. package/dist/schemas/numberAnswer.schema.json +23 -0
  30. package/dist/schemas/numberQuestion.schema.json +52 -0
  31. package/dist/schemas/radioButtonsAnswer.schema.json +23 -0
  32. package/dist/schemas/radioButtonsQuestion.schema.json +73 -0
  33. package/dist/schemas/selectBoxAnswer.schema.json +23 -0
  34. package/dist/schemas/selectBoxQuestion.schema.json +83 -0
  35. package/dist/schemas/tableAnswer.schema.json +284 -0
  36. package/dist/schemas/tableQuestion.schema.json +680 -0
  37. package/dist/schemas/textAnswer.schema.json +23 -0
  38. package/dist/schemas/textAreaAnswer.schema.json +23 -0
  39. package/dist/schemas/textAreaQuestion.schema.json +48 -0
  40. package/dist/schemas/textQuestion.schema.json +52 -0
  41. package/dist/schemas/typeaheadSearchAnswer.schema.json +23 -0
  42. package/dist/schemas/typeaheadSearchQuestion.schema.json +110 -0
  43. package/dist/schemas/urlAnswer.schema.json +23 -0
  44. package/dist/schemas/urlQuestion.schema.json +52 -0
  45. package/dist/tableQuestions.d.ts +4195 -0
  46. package/dist/tableQuestions.js +55 -0
  47. package/package.json +41 -0
@@ -0,0 +1,4195 @@
1
+ import { z } from "zod";
2
+ export declare const TableQuestion: z.ZodObject<{
3
+ meta: z.ZodObject<{
4
+ schemaVersion: z.ZodLiteral<"1.0">;
5
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
6
+ }, "strip", z.ZodTypeAny, {
7
+ schemaVersion: "1.0";
8
+ labelTranslationKey?: string | undefined;
9
+ }, {
10
+ schemaVersion: "1.0";
11
+ labelTranslationKey?: string | undefined;
12
+ }>;
13
+ } & {
14
+ type: z.ZodLiteral<"table">;
15
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
16
+ meta: z.ZodObject<{
17
+ schemaVersion: z.ZodLiteral<"1.0">;
18
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ schemaVersion: "1.0";
21
+ labelTranslationKey?: string | undefined;
22
+ }, {
23
+ schemaVersion: "1.0";
24
+ labelTranslationKey?: string | undefined;
25
+ }>;
26
+ } & {
27
+ type: z.ZodLiteral<"boolean">;
28
+ attributes: z.ZodObject<{
29
+ checked: z.ZodOptional<z.ZodBoolean>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ checked?: boolean | undefined;
32
+ }, {
33
+ checked?: boolean | undefined;
34
+ }>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ type: "boolean";
37
+ meta: {
38
+ schemaVersion: "1.0";
39
+ labelTranslationKey?: string | undefined;
40
+ };
41
+ attributes: {
42
+ checked?: boolean | undefined;
43
+ };
44
+ }, {
45
+ type: "boolean";
46
+ meta: {
47
+ schemaVersion: "1.0";
48
+ labelTranslationKey?: string | undefined;
49
+ };
50
+ attributes: {
51
+ checked?: boolean | undefined;
52
+ };
53
+ }>, z.ZodObject<{
54
+ meta: z.ZodObject<{
55
+ schemaVersion: z.ZodLiteral<"1.0">;
56
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
57
+ }, "strip", z.ZodTypeAny, {
58
+ schemaVersion: "1.0";
59
+ labelTranslationKey?: string | undefined;
60
+ }, {
61
+ schemaVersion: "1.0";
62
+ labelTranslationKey?: string | undefined;
63
+ }>;
64
+ } & {
65
+ type: z.ZodLiteral<"checkBoxes">;
66
+ options: z.ZodArray<z.ZodObject<{
67
+ type: z.ZodLiteral<"option">;
68
+ attributes: z.ZodObject<{
69
+ label: z.ZodString;
70
+ value: z.ZodString;
71
+ } & {
72
+ checked: z.ZodOptional<z.ZodBoolean>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ value: string;
75
+ label: string;
76
+ checked?: boolean | undefined;
77
+ }, {
78
+ value: string;
79
+ label: string;
80
+ checked?: boolean | undefined;
81
+ }>;
82
+ }, "strip", z.ZodTypeAny, {
83
+ type: "option";
84
+ attributes: {
85
+ value: string;
86
+ label: string;
87
+ checked?: boolean | undefined;
88
+ };
89
+ }, {
90
+ type: "option";
91
+ attributes: {
92
+ value: string;
93
+ label: string;
94
+ checked?: boolean | undefined;
95
+ };
96
+ }>, "many">;
97
+ }, "strip", z.ZodTypeAny, {
98
+ type: "checkBoxes";
99
+ options: {
100
+ type: "option";
101
+ attributes: {
102
+ value: string;
103
+ label: string;
104
+ checked?: boolean | undefined;
105
+ };
106
+ }[];
107
+ meta: {
108
+ schemaVersion: "1.0";
109
+ labelTranslationKey?: string | undefined;
110
+ };
111
+ }, {
112
+ type: "checkBoxes";
113
+ options: {
114
+ type: "option";
115
+ attributes: {
116
+ value: string;
117
+ label: string;
118
+ checked?: boolean | undefined;
119
+ };
120
+ }[];
121
+ meta: {
122
+ schemaVersion: "1.0";
123
+ labelTranslationKey?: string | undefined;
124
+ };
125
+ }>, z.ZodObject<{
126
+ attributes: z.ZodObject<{
127
+ max: z.ZodOptional<z.ZodNumber>;
128
+ min: z.ZodOptional<z.ZodNumber>;
129
+ step: z.ZodOptional<z.ZodNumber>;
130
+ }, "strip", z.ZodTypeAny, {
131
+ max?: number | undefined;
132
+ min?: number | undefined;
133
+ step?: number | undefined;
134
+ }, {
135
+ max?: number | undefined;
136
+ min?: number | undefined;
137
+ step?: number | undefined;
138
+ }>;
139
+ } & {
140
+ type: z.ZodLiteral<"currency">;
141
+ meta: z.ZodObject<{
142
+ denomination: z.ZodOptional<z.ZodString>;
143
+ }, "strip", z.ZodTypeAny, {
144
+ denomination?: string | undefined;
145
+ }, {
146
+ denomination?: string | undefined;
147
+ }>;
148
+ }, "strip", z.ZodTypeAny, {
149
+ type: "currency";
150
+ meta: {
151
+ denomination?: string | undefined;
152
+ };
153
+ attributes: {
154
+ max?: number | undefined;
155
+ min?: number | undefined;
156
+ step?: number | undefined;
157
+ };
158
+ }, {
159
+ type: "currency";
160
+ meta: {
161
+ denomination?: string | undefined;
162
+ };
163
+ attributes: {
164
+ max?: number | undefined;
165
+ min?: number | undefined;
166
+ step?: number | undefined;
167
+ };
168
+ }>, z.ZodObject<{
169
+ meta: z.ZodObject<{
170
+ schemaVersion: z.ZodLiteral<"1.0">;
171
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
172
+ }, "strip", z.ZodTypeAny, {
173
+ schemaVersion: "1.0";
174
+ labelTranslationKey?: string | undefined;
175
+ }, {
176
+ schemaVersion: "1.0";
177
+ labelTranslationKey?: string | undefined;
178
+ }>;
179
+ } & {
180
+ type: z.ZodLiteral<"datePicker">;
181
+ attributes: z.ZodObject<{
182
+ max: z.ZodOptional<z.ZodString>;
183
+ min: z.ZodOptional<z.ZodString>;
184
+ step: z.ZodOptional<z.ZodNumber>;
185
+ }, "strip", z.ZodTypeAny, {
186
+ max?: string | undefined;
187
+ min?: string | undefined;
188
+ step?: number | undefined;
189
+ }, {
190
+ max?: string | undefined;
191
+ min?: string | undefined;
192
+ step?: number | undefined;
193
+ }>;
194
+ }, "strip", z.ZodTypeAny, {
195
+ type: "datePicker";
196
+ meta: {
197
+ schemaVersion: "1.0";
198
+ labelTranslationKey?: string | undefined;
199
+ };
200
+ attributes: {
201
+ max?: string | undefined;
202
+ min?: string | undefined;
203
+ step?: number | undefined;
204
+ };
205
+ }, {
206
+ type: "datePicker";
207
+ meta: {
208
+ schemaVersion: "1.0";
209
+ labelTranslationKey?: string | undefined;
210
+ };
211
+ attributes: {
212
+ max?: string | undefined;
213
+ min?: string | undefined;
214
+ step?: number | undefined;
215
+ };
216
+ }>, z.ZodObject<{
217
+ meta: z.ZodObject<{
218
+ schemaVersion: z.ZodLiteral<"1.0">;
219
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
220
+ }, "strip", z.ZodTypeAny, {
221
+ schemaVersion: "1.0";
222
+ labelTranslationKey?: string | undefined;
223
+ }, {
224
+ schemaVersion: "1.0";
225
+ labelTranslationKey?: string | undefined;
226
+ }>;
227
+ } & {
228
+ type: z.ZodLiteral<"dateRange">;
229
+ columns: z.ZodObject<{
230
+ start: z.ZodObject<{
231
+ meta: z.ZodObject<{
232
+ schemaVersion: z.ZodLiteral<"1.0">;
233
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ schemaVersion: "1.0";
236
+ labelTranslationKey?: string | undefined;
237
+ }, {
238
+ schemaVersion: "1.0";
239
+ labelTranslationKey?: string | undefined;
240
+ }>;
241
+ type: z.ZodLiteral<"datePicker">;
242
+ } & {
243
+ attributes: z.ZodObject<{
244
+ label: z.ZodString;
245
+ }, "strip", z.ZodTypeAny, {
246
+ label: string;
247
+ }, {
248
+ label: string;
249
+ }>;
250
+ }, "strip", z.ZodTypeAny, {
251
+ type: "datePicker";
252
+ meta: {
253
+ schemaVersion: "1.0";
254
+ labelTranslationKey?: string | undefined;
255
+ };
256
+ attributes: {
257
+ label: string;
258
+ };
259
+ }, {
260
+ type: "datePicker";
261
+ meta: {
262
+ schemaVersion: "1.0";
263
+ labelTranslationKey?: string | undefined;
264
+ };
265
+ attributes: {
266
+ label: string;
267
+ };
268
+ }>;
269
+ end: z.ZodObject<{
270
+ meta: z.ZodObject<{
271
+ schemaVersion: z.ZodLiteral<"1.0">;
272
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
273
+ }, "strip", z.ZodTypeAny, {
274
+ schemaVersion: "1.0";
275
+ labelTranslationKey?: string | undefined;
276
+ }, {
277
+ schemaVersion: "1.0";
278
+ labelTranslationKey?: string | undefined;
279
+ }>;
280
+ type: z.ZodLiteral<"datePicker">;
281
+ } & {
282
+ attributes: z.ZodObject<{
283
+ label: z.ZodString;
284
+ }, "strip", z.ZodTypeAny, {
285
+ label: string;
286
+ }, {
287
+ label: string;
288
+ }>;
289
+ }, "strip", z.ZodTypeAny, {
290
+ type: "datePicker";
291
+ meta: {
292
+ schemaVersion: "1.0";
293
+ labelTranslationKey?: string | undefined;
294
+ };
295
+ attributes: {
296
+ label: string;
297
+ };
298
+ }, {
299
+ type: "datePicker";
300
+ meta: {
301
+ schemaVersion: "1.0";
302
+ labelTranslationKey?: string | undefined;
303
+ };
304
+ attributes: {
305
+ label: string;
306
+ };
307
+ }>;
308
+ }, "strip", z.ZodTypeAny, {
309
+ start: {
310
+ type: "datePicker";
311
+ meta: {
312
+ schemaVersion: "1.0";
313
+ labelTranslationKey?: string | undefined;
314
+ };
315
+ attributes: {
316
+ label: string;
317
+ };
318
+ };
319
+ end: {
320
+ type: "datePicker";
321
+ meta: {
322
+ schemaVersion: "1.0";
323
+ labelTranslationKey?: string | undefined;
324
+ };
325
+ attributes: {
326
+ label: string;
327
+ };
328
+ };
329
+ }, {
330
+ start: {
331
+ type: "datePicker";
332
+ meta: {
333
+ schemaVersion: "1.0";
334
+ labelTranslationKey?: string | undefined;
335
+ };
336
+ attributes: {
337
+ label: string;
338
+ };
339
+ };
340
+ end: {
341
+ type: "datePicker";
342
+ meta: {
343
+ schemaVersion: "1.0";
344
+ labelTranslationKey?: string | undefined;
345
+ };
346
+ attributes: {
347
+ label: string;
348
+ };
349
+ };
350
+ }>;
351
+ }, "strip", z.ZodTypeAny, {
352
+ type: "dateRange";
353
+ meta: {
354
+ schemaVersion: "1.0";
355
+ labelTranslationKey?: string | undefined;
356
+ };
357
+ columns: {
358
+ start: {
359
+ type: "datePicker";
360
+ meta: {
361
+ schemaVersion: "1.0";
362
+ labelTranslationKey?: string | undefined;
363
+ };
364
+ attributes: {
365
+ label: string;
366
+ };
367
+ };
368
+ end: {
369
+ type: "datePicker";
370
+ meta: {
371
+ schemaVersion: "1.0";
372
+ labelTranslationKey?: string | undefined;
373
+ };
374
+ attributes: {
375
+ label: string;
376
+ };
377
+ };
378
+ };
379
+ }, {
380
+ type: "dateRange";
381
+ meta: {
382
+ schemaVersion: "1.0";
383
+ labelTranslationKey?: string | undefined;
384
+ };
385
+ columns: {
386
+ start: {
387
+ type: "datePicker";
388
+ meta: {
389
+ schemaVersion: "1.0";
390
+ labelTranslationKey?: string | undefined;
391
+ };
392
+ attributes: {
393
+ label: string;
394
+ };
395
+ };
396
+ end: {
397
+ type: "datePicker";
398
+ meta: {
399
+ schemaVersion: "1.0";
400
+ labelTranslationKey?: string | undefined;
401
+ };
402
+ attributes: {
403
+ label: string;
404
+ };
405
+ };
406
+ };
407
+ }>, z.ZodObject<{
408
+ meta: z.ZodObject<{
409
+ schemaVersion: z.ZodLiteral<"1.0">;
410
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
411
+ }, "strip", z.ZodTypeAny, {
412
+ schemaVersion: "1.0";
413
+ labelTranslationKey?: string | undefined;
414
+ }, {
415
+ schemaVersion: "1.0";
416
+ labelTranslationKey?: string | undefined;
417
+ }>;
418
+ } & {
419
+ type: z.ZodLiteral<"email">;
420
+ attributes: z.ZodObject<{
421
+ maxLength: z.ZodOptional<z.ZodNumber>;
422
+ minLength: z.ZodOptional<z.ZodNumber>;
423
+ multiple: z.ZodOptional<z.ZodBoolean>;
424
+ pattern: z.ZodOptional<z.ZodString>;
425
+ }, "strip", z.ZodTypeAny, {
426
+ maxLength?: number | undefined;
427
+ minLength?: number | undefined;
428
+ multiple?: boolean | undefined;
429
+ pattern?: string | undefined;
430
+ }, {
431
+ maxLength?: number | undefined;
432
+ minLength?: number | undefined;
433
+ multiple?: boolean | undefined;
434
+ pattern?: string | undefined;
435
+ }>;
436
+ }, "strip", z.ZodTypeAny, {
437
+ type: "email";
438
+ meta: {
439
+ schemaVersion: "1.0";
440
+ labelTranslationKey?: string | undefined;
441
+ };
442
+ attributes: {
443
+ maxLength?: number | undefined;
444
+ minLength?: number | undefined;
445
+ multiple?: boolean | undefined;
446
+ pattern?: string | undefined;
447
+ };
448
+ }, {
449
+ type: "email";
450
+ meta: {
451
+ schemaVersion: "1.0";
452
+ labelTranslationKey?: string | undefined;
453
+ };
454
+ attributes: {
455
+ maxLength?: number | undefined;
456
+ minLength?: number | undefined;
457
+ multiple?: boolean | undefined;
458
+ pattern?: string | undefined;
459
+ };
460
+ }>, z.ZodObject<{
461
+ meta: z.ZodObject<{
462
+ schemaVersion: z.ZodLiteral<"1.0">;
463
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
464
+ }, "strip", z.ZodTypeAny, {
465
+ schemaVersion: "1.0";
466
+ labelTranslationKey?: string | undefined;
467
+ }, {
468
+ schemaVersion: "1.0";
469
+ labelTranslationKey?: string | undefined;
470
+ }>;
471
+ } & {
472
+ type: z.ZodLiteral<"filteredSearch">;
473
+ graphQL: z.ZodObject<{
474
+ displayFields: z.ZodArray<z.ZodObject<{
475
+ propertyName: z.ZodString;
476
+ label: z.ZodString;
477
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
478
+ }, "strip", z.ZodTypeAny, {
479
+ label: string;
480
+ propertyName: string;
481
+ labelTranslationKey?: string | undefined;
482
+ }, {
483
+ label: string;
484
+ propertyName: string;
485
+ labelTranslationKey?: string | undefined;
486
+ }>, "many">;
487
+ localQueryId: z.ZodOptional<z.ZodString>;
488
+ query: z.ZodOptional<z.ZodString>;
489
+ responseField: z.ZodString;
490
+ variables: z.ZodArray<z.ZodObject<{
491
+ minLength: z.ZodOptional<z.ZodNumber>;
492
+ label: z.ZodOptional<z.ZodString>;
493
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
494
+ name: z.ZodString;
495
+ type: z.ZodString;
496
+ defaultValue: z.ZodOptional<z.ZodString>;
497
+ }, "strip", z.ZodTypeAny, {
498
+ type: string;
499
+ name: string;
500
+ labelTranslationKey?: string | undefined;
501
+ minLength?: number | undefined;
502
+ label?: string | undefined;
503
+ defaultValue?: string | undefined;
504
+ }, {
505
+ type: string;
506
+ name: string;
507
+ labelTranslationKey?: string | undefined;
508
+ minLength?: number | undefined;
509
+ label?: string | undefined;
510
+ defaultValue?: string | undefined;
511
+ }>, "many">;
512
+ }, "strip", z.ZodTypeAny, {
513
+ displayFields: {
514
+ label: string;
515
+ propertyName: string;
516
+ labelTranslationKey?: string | undefined;
517
+ }[];
518
+ responseField: string;
519
+ variables: {
520
+ type: string;
521
+ name: string;
522
+ labelTranslationKey?: string | undefined;
523
+ minLength?: number | undefined;
524
+ label?: string | undefined;
525
+ defaultValue?: string | undefined;
526
+ }[];
527
+ localQueryId?: string | undefined;
528
+ query?: string | undefined;
529
+ }, {
530
+ displayFields: {
531
+ label: string;
532
+ propertyName: string;
533
+ labelTranslationKey?: string | undefined;
534
+ }[];
535
+ responseField: string;
536
+ variables: {
537
+ type: string;
538
+ name: string;
539
+ labelTranslationKey?: string | undefined;
540
+ minLength?: number | undefined;
541
+ label?: string | undefined;
542
+ defaultValue?: string | undefined;
543
+ }[];
544
+ localQueryId?: string | undefined;
545
+ query?: string | undefined;
546
+ }>;
547
+ attributes: z.ZodObject<{
548
+ multiple: z.ZodOptional<z.ZodBoolean>;
549
+ }, "strip", z.ZodTypeAny, {
550
+ multiple?: boolean | undefined;
551
+ }, {
552
+ multiple?: boolean | undefined;
553
+ }>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ type: "filteredSearch";
556
+ meta: {
557
+ schemaVersion: "1.0";
558
+ labelTranslationKey?: string | undefined;
559
+ };
560
+ attributes: {
561
+ multiple?: boolean | undefined;
562
+ };
563
+ graphQL: {
564
+ displayFields: {
565
+ label: string;
566
+ propertyName: string;
567
+ labelTranslationKey?: string | undefined;
568
+ }[];
569
+ responseField: string;
570
+ variables: {
571
+ type: string;
572
+ name: string;
573
+ labelTranslationKey?: string | undefined;
574
+ minLength?: number | undefined;
575
+ label?: string | undefined;
576
+ defaultValue?: string | undefined;
577
+ }[];
578
+ localQueryId?: string | undefined;
579
+ query?: string | undefined;
580
+ };
581
+ }, {
582
+ type: "filteredSearch";
583
+ meta: {
584
+ schemaVersion: "1.0";
585
+ labelTranslationKey?: string | undefined;
586
+ };
587
+ attributes: {
588
+ multiple?: boolean | undefined;
589
+ };
590
+ graphQL: {
591
+ displayFields: {
592
+ label: string;
593
+ propertyName: string;
594
+ labelTranslationKey?: string | undefined;
595
+ }[];
596
+ responseField: string;
597
+ variables: {
598
+ type: string;
599
+ name: string;
600
+ labelTranslationKey?: string | undefined;
601
+ minLength?: number | undefined;
602
+ label?: string | undefined;
603
+ defaultValue?: string | undefined;
604
+ }[];
605
+ localQueryId?: string | undefined;
606
+ query?: string | undefined;
607
+ };
608
+ }>, z.ZodObject<{
609
+ meta: z.ZodObject<{
610
+ schemaVersion: z.ZodLiteral<"1.0">;
611
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
612
+ }, "strip", z.ZodTypeAny, {
613
+ schemaVersion: "1.0";
614
+ labelTranslationKey?: string | undefined;
615
+ }, {
616
+ schemaVersion: "1.0";
617
+ labelTranslationKey?: string | undefined;
618
+ }>;
619
+ } & {
620
+ type: z.ZodLiteral<"number">;
621
+ attributes: z.ZodObject<{
622
+ max: z.ZodOptional<z.ZodNumber>;
623
+ min: z.ZodOptional<z.ZodNumber>;
624
+ step: z.ZodOptional<z.ZodNumber>;
625
+ }, "strip", z.ZodTypeAny, {
626
+ max?: number | undefined;
627
+ min?: number | undefined;
628
+ step?: number | undefined;
629
+ }, {
630
+ max?: number | undefined;
631
+ min?: number | undefined;
632
+ step?: number | undefined;
633
+ }>;
634
+ }, "strip", z.ZodTypeAny, {
635
+ type: "number";
636
+ meta: {
637
+ schemaVersion: "1.0";
638
+ labelTranslationKey?: string | undefined;
639
+ };
640
+ attributes: {
641
+ max?: number | undefined;
642
+ min?: number | undefined;
643
+ step?: number | undefined;
644
+ };
645
+ }, {
646
+ type: "number";
647
+ meta: {
648
+ schemaVersion: "1.0";
649
+ labelTranslationKey?: string | undefined;
650
+ };
651
+ attributes: {
652
+ max?: number | undefined;
653
+ min?: number | undefined;
654
+ step?: number | undefined;
655
+ };
656
+ }>, z.ZodObject<{
657
+ meta: z.ZodObject<{
658
+ schemaVersion: z.ZodLiteral<"1.0">;
659
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
660
+ }, "strip", z.ZodTypeAny, {
661
+ schemaVersion: "1.0";
662
+ labelTranslationKey?: string | undefined;
663
+ }, {
664
+ schemaVersion: "1.0";
665
+ labelTranslationKey?: string | undefined;
666
+ }>;
667
+ } & {
668
+ type: z.ZodLiteral<"radioButtons">;
669
+ options: z.ZodArray<z.ZodObject<{
670
+ type: z.ZodLiteral<"option">;
671
+ attributes: z.ZodObject<{
672
+ label: z.ZodString;
673
+ value: z.ZodString;
674
+ } & {
675
+ selected: z.ZodOptional<z.ZodBoolean>;
676
+ }, "strip", z.ZodTypeAny, {
677
+ value: string;
678
+ label: string;
679
+ selected?: boolean | undefined;
680
+ }, {
681
+ value: string;
682
+ label: string;
683
+ selected?: boolean | undefined;
684
+ }>;
685
+ }, "strip", z.ZodTypeAny, {
686
+ type: "option";
687
+ attributes: {
688
+ value: string;
689
+ label: string;
690
+ selected?: boolean | undefined;
691
+ };
692
+ }, {
693
+ type: "option";
694
+ attributes: {
695
+ value: string;
696
+ label: string;
697
+ selected?: boolean | undefined;
698
+ };
699
+ }>, "many">;
700
+ }, "strip", z.ZodTypeAny, {
701
+ type: "radioButtons";
702
+ options: {
703
+ type: "option";
704
+ attributes: {
705
+ value: string;
706
+ label: string;
707
+ selected?: boolean | undefined;
708
+ };
709
+ }[];
710
+ meta: {
711
+ schemaVersion: "1.0";
712
+ labelTranslationKey?: string | undefined;
713
+ };
714
+ }, {
715
+ type: "radioButtons";
716
+ options: {
717
+ type: "option";
718
+ attributes: {
719
+ value: string;
720
+ label: string;
721
+ selected?: boolean | undefined;
722
+ };
723
+ }[];
724
+ meta: {
725
+ schemaVersion: "1.0";
726
+ labelTranslationKey?: string | undefined;
727
+ };
728
+ }>, z.ZodObject<{
729
+ meta: z.ZodObject<{
730
+ schemaVersion: z.ZodLiteral<"1.0">;
731
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ schemaVersion: "1.0";
734
+ labelTranslationKey?: string | undefined;
735
+ }, {
736
+ schemaVersion: "1.0";
737
+ labelTranslationKey?: string | undefined;
738
+ }>;
739
+ } & {
740
+ type: z.ZodLiteral<"selectBox">;
741
+ options: z.ZodArray<z.ZodObject<{
742
+ type: z.ZodLiteral<"option">;
743
+ attributes: z.ZodObject<{
744
+ label: z.ZodString;
745
+ value: z.ZodString;
746
+ } & {
747
+ selected: z.ZodOptional<z.ZodBoolean>;
748
+ }, "strip", z.ZodTypeAny, {
749
+ value: string;
750
+ label: string;
751
+ selected?: boolean | undefined;
752
+ }, {
753
+ value: string;
754
+ label: string;
755
+ selected?: boolean | undefined;
756
+ }>;
757
+ }, "strip", z.ZodTypeAny, {
758
+ type: "option";
759
+ attributes: {
760
+ value: string;
761
+ label: string;
762
+ selected?: boolean | undefined;
763
+ };
764
+ }, {
765
+ type: "option";
766
+ attributes: {
767
+ value: string;
768
+ label: string;
769
+ selected?: boolean | undefined;
770
+ };
771
+ }>, "many">;
772
+ attributes: z.ZodObject<{
773
+ multiple: z.ZodOptional<z.ZodBoolean>;
774
+ }, "strip", z.ZodTypeAny, {
775
+ multiple?: boolean | undefined;
776
+ }, {
777
+ multiple?: boolean | undefined;
778
+ }>;
779
+ }, "strip", z.ZodTypeAny, {
780
+ type: "selectBox";
781
+ options: {
782
+ type: "option";
783
+ attributes: {
784
+ value: string;
785
+ label: string;
786
+ selected?: boolean | undefined;
787
+ };
788
+ }[];
789
+ meta: {
790
+ schemaVersion: "1.0";
791
+ labelTranslationKey?: string | undefined;
792
+ };
793
+ attributes: {
794
+ multiple?: boolean | undefined;
795
+ };
796
+ }, {
797
+ type: "selectBox";
798
+ options: {
799
+ type: "option";
800
+ attributes: {
801
+ value: string;
802
+ label: string;
803
+ selected?: boolean | undefined;
804
+ };
805
+ }[];
806
+ meta: {
807
+ schemaVersion: "1.0";
808
+ labelTranslationKey?: string | undefined;
809
+ };
810
+ attributes: {
811
+ multiple?: boolean | undefined;
812
+ };
813
+ }>, z.ZodObject<{} & {
814
+ type: z.ZodLiteral<"textArea">;
815
+ attributes: z.ZodObject<{
816
+ cols: z.ZodOptional<z.ZodNumber>;
817
+ maxLength: z.ZodOptional<z.ZodNumber>;
818
+ minLength: z.ZodOptional<z.ZodNumber>;
819
+ rows: z.ZodOptional<z.ZodNumber>;
820
+ }, "strip", z.ZodTypeAny, {
821
+ maxLength?: number | undefined;
822
+ minLength?: number | undefined;
823
+ cols?: number | undefined;
824
+ rows?: number | undefined;
825
+ }, {
826
+ maxLength?: number | undefined;
827
+ minLength?: number | undefined;
828
+ cols?: number | undefined;
829
+ rows?: number | undefined;
830
+ }>;
831
+ meta: z.ZodObject<{
832
+ asRichText: z.ZodOptional<z.ZodBoolean>;
833
+ }, "strip", z.ZodTypeAny, {
834
+ asRichText?: boolean | undefined;
835
+ }, {
836
+ asRichText?: boolean | undefined;
837
+ }>;
838
+ }, "strip", z.ZodTypeAny, {
839
+ type: "textArea";
840
+ meta: {
841
+ asRichText?: boolean | undefined;
842
+ };
843
+ attributes: {
844
+ maxLength?: number | undefined;
845
+ minLength?: number | undefined;
846
+ cols?: number | undefined;
847
+ rows?: number | undefined;
848
+ };
849
+ }, {
850
+ type: "textArea";
851
+ meta: {
852
+ asRichText?: boolean | undefined;
853
+ };
854
+ attributes: {
855
+ maxLength?: number | undefined;
856
+ minLength?: number | undefined;
857
+ cols?: number | undefined;
858
+ rows?: number | undefined;
859
+ };
860
+ }>, z.ZodObject<{
861
+ meta: z.ZodObject<{
862
+ schemaVersion: z.ZodLiteral<"1.0">;
863
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
864
+ }, "strip", z.ZodTypeAny, {
865
+ schemaVersion: "1.0";
866
+ labelTranslationKey?: string | undefined;
867
+ }, {
868
+ schemaVersion: "1.0";
869
+ labelTranslationKey?: string | undefined;
870
+ }>;
871
+ } & {
872
+ type: z.ZodLiteral<"text">;
873
+ attributes: z.ZodObject<{
874
+ maxLength: z.ZodOptional<z.ZodNumber>;
875
+ minLength: z.ZodOptional<z.ZodNumber>;
876
+ pattern: z.ZodOptional<z.ZodString>;
877
+ }, "strip", z.ZodTypeAny, {
878
+ maxLength?: number | undefined;
879
+ minLength?: number | undefined;
880
+ pattern?: string | undefined;
881
+ }, {
882
+ maxLength?: number | undefined;
883
+ minLength?: number | undefined;
884
+ pattern?: string | undefined;
885
+ }>;
886
+ }, "strip", z.ZodTypeAny, {
887
+ type: "text";
888
+ meta: {
889
+ schemaVersion: "1.0";
890
+ labelTranslationKey?: string | undefined;
891
+ };
892
+ attributes: {
893
+ maxLength?: number | undefined;
894
+ minLength?: number | undefined;
895
+ pattern?: string | undefined;
896
+ };
897
+ }, {
898
+ type: "text";
899
+ meta: {
900
+ schemaVersion: "1.0";
901
+ labelTranslationKey?: string | undefined;
902
+ };
903
+ attributes: {
904
+ maxLength?: number | undefined;
905
+ minLength?: number | undefined;
906
+ pattern?: string | undefined;
907
+ };
908
+ }>, z.ZodObject<{
909
+ meta: z.ZodObject<{
910
+ schemaVersion: z.ZodLiteral<"1.0">;
911
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
912
+ }, "strip", z.ZodTypeAny, {
913
+ schemaVersion: "1.0";
914
+ labelTranslationKey?: string | undefined;
915
+ }, {
916
+ schemaVersion: "1.0";
917
+ labelTranslationKey?: string | undefined;
918
+ }>;
919
+ } & {
920
+ type: z.ZodLiteral<"typeaheadSearch">;
921
+ graphQL: z.ZodObject<{
922
+ displayFields: z.ZodArray<z.ZodObject<{
923
+ propertyName: z.ZodString;
924
+ label: z.ZodString;
925
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
926
+ }, "strip", z.ZodTypeAny, {
927
+ label: string;
928
+ propertyName: string;
929
+ labelTranslationKey?: string | undefined;
930
+ }, {
931
+ label: string;
932
+ propertyName: string;
933
+ labelTranslationKey?: string | undefined;
934
+ }>, "many">;
935
+ localQueryId: z.ZodOptional<z.ZodString>;
936
+ query: z.ZodOptional<z.ZodString>;
937
+ responseField: z.ZodString;
938
+ variables: z.ZodArray<z.ZodObject<{
939
+ minLength: z.ZodOptional<z.ZodNumber>;
940
+ label: z.ZodOptional<z.ZodString>;
941
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
942
+ name: z.ZodString;
943
+ type: z.ZodString;
944
+ defaultValue: z.ZodOptional<z.ZodString>;
945
+ }, "strip", z.ZodTypeAny, {
946
+ type: string;
947
+ name: string;
948
+ labelTranslationKey?: string | undefined;
949
+ minLength?: number | undefined;
950
+ label?: string | undefined;
951
+ defaultValue?: string | undefined;
952
+ }, {
953
+ type: string;
954
+ name: string;
955
+ labelTranslationKey?: string | undefined;
956
+ minLength?: number | undefined;
957
+ label?: string | undefined;
958
+ defaultValue?: string | undefined;
959
+ }>, "many">;
960
+ }, "strip", z.ZodTypeAny, {
961
+ displayFields: {
962
+ label: string;
963
+ propertyName: string;
964
+ labelTranslationKey?: string | undefined;
965
+ }[];
966
+ responseField: string;
967
+ variables: {
968
+ type: string;
969
+ name: string;
970
+ labelTranslationKey?: string | undefined;
971
+ minLength?: number | undefined;
972
+ label?: string | undefined;
973
+ defaultValue?: string | undefined;
974
+ }[];
975
+ localQueryId?: string | undefined;
976
+ query?: string | undefined;
977
+ }, {
978
+ displayFields: {
979
+ label: string;
980
+ propertyName: string;
981
+ labelTranslationKey?: string | undefined;
982
+ }[];
983
+ responseField: string;
984
+ variables: {
985
+ type: string;
986
+ name: string;
987
+ labelTranslationKey?: string | undefined;
988
+ minLength?: number | undefined;
989
+ label?: string | undefined;
990
+ defaultValue?: string | undefined;
991
+ }[];
992
+ localQueryId?: string | undefined;
993
+ query?: string | undefined;
994
+ }>;
995
+ }, "strip", z.ZodTypeAny, {
996
+ type: "typeaheadSearch";
997
+ meta: {
998
+ schemaVersion: "1.0";
999
+ labelTranslationKey?: string | undefined;
1000
+ };
1001
+ graphQL: {
1002
+ displayFields: {
1003
+ label: string;
1004
+ propertyName: string;
1005
+ labelTranslationKey?: string | undefined;
1006
+ }[];
1007
+ responseField: string;
1008
+ variables: {
1009
+ type: string;
1010
+ name: string;
1011
+ labelTranslationKey?: string | undefined;
1012
+ minLength?: number | undefined;
1013
+ label?: string | undefined;
1014
+ defaultValue?: string | undefined;
1015
+ }[];
1016
+ localQueryId?: string | undefined;
1017
+ query?: string | undefined;
1018
+ };
1019
+ }, {
1020
+ type: "typeaheadSearch";
1021
+ meta: {
1022
+ schemaVersion: "1.0";
1023
+ labelTranslationKey?: string | undefined;
1024
+ };
1025
+ graphQL: {
1026
+ displayFields: {
1027
+ label: string;
1028
+ propertyName: string;
1029
+ labelTranslationKey?: string | undefined;
1030
+ }[];
1031
+ responseField: string;
1032
+ variables: {
1033
+ type: string;
1034
+ name: string;
1035
+ labelTranslationKey?: string | undefined;
1036
+ minLength?: number | undefined;
1037
+ label?: string | undefined;
1038
+ defaultValue?: string | undefined;
1039
+ }[];
1040
+ localQueryId?: string | undefined;
1041
+ query?: string | undefined;
1042
+ };
1043
+ }>, z.ZodObject<{
1044
+ meta: z.ZodObject<{
1045
+ schemaVersion: z.ZodLiteral<"1.0">;
1046
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ schemaVersion: "1.0";
1049
+ labelTranslationKey?: string | undefined;
1050
+ }, {
1051
+ schemaVersion: "1.0";
1052
+ labelTranslationKey?: string | undefined;
1053
+ }>;
1054
+ } & {
1055
+ type: z.ZodLiteral<"url">;
1056
+ attributes: z.ZodObject<{
1057
+ maxLength: z.ZodOptional<z.ZodNumber>;
1058
+ minLength: z.ZodOptional<z.ZodNumber>;
1059
+ pattern: z.ZodOptional<z.ZodString>;
1060
+ }, "strip", z.ZodTypeAny, {
1061
+ maxLength?: number | undefined;
1062
+ minLength?: number | undefined;
1063
+ pattern?: string | undefined;
1064
+ }, {
1065
+ maxLength?: number | undefined;
1066
+ minLength?: number | undefined;
1067
+ pattern?: string | undefined;
1068
+ }>;
1069
+ }, "strip", z.ZodTypeAny, {
1070
+ type: "url";
1071
+ meta: {
1072
+ schemaVersion: "1.0";
1073
+ labelTranslationKey?: string | undefined;
1074
+ };
1075
+ attributes: {
1076
+ maxLength?: number | undefined;
1077
+ minLength?: number | undefined;
1078
+ pattern?: string | undefined;
1079
+ };
1080
+ }, {
1081
+ type: "url";
1082
+ meta: {
1083
+ schemaVersion: "1.0";
1084
+ labelTranslationKey?: string | undefined;
1085
+ };
1086
+ attributes: {
1087
+ maxLength?: number | undefined;
1088
+ minLength?: number | undefined;
1089
+ pattern?: string | undefined;
1090
+ };
1091
+ }>]>, "many">;
1092
+ attributes: z.ZodObject<{
1093
+ canAddRows: z.ZodOptional<z.ZodBoolean>;
1094
+ canRemoveRows: z.ZodOptional<z.ZodBoolean>;
1095
+ initialRows: z.ZodOptional<z.ZodNumber>;
1096
+ maxRows: z.ZodOptional<z.ZodNumber>;
1097
+ minRows: z.ZodOptional<z.ZodNumber>;
1098
+ }, "strip", z.ZodTypeAny, {
1099
+ canAddRows?: boolean | undefined;
1100
+ canRemoveRows?: boolean | undefined;
1101
+ initialRows?: number | undefined;
1102
+ maxRows?: number | undefined;
1103
+ minRows?: number | undefined;
1104
+ }, {
1105
+ canAddRows?: boolean | undefined;
1106
+ canRemoveRows?: boolean | undefined;
1107
+ initialRows?: number | undefined;
1108
+ maxRows?: number | undefined;
1109
+ minRows?: number | undefined;
1110
+ }>;
1111
+ }, "strip", z.ZodTypeAny, {
1112
+ type: "table";
1113
+ meta: {
1114
+ schemaVersion: "1.0";
1115
+ labelTranslationKey?: string | undefined;
1116
+ };
1117
+ attributes: {
1118
+ canAddRows?: boolean | undefined;
1119
+ canRemoveRows?: boolean | undefined;
1120
+ initialRows?: number | undefined;
1121
+ maxRows?: number | undefined;
1122
+ minRows?: number | undefined;
1123
+ };
1124
+ columns: ({
1125
+ type: "boolean";
1126
+ meta: {
1127
+ schemaVersion: "1.0";
1128
+ labelTranslationKey?: string | undefined;
1129
+ };
1130
+ attributes: {
1131
+ checked?: boolean | undefined;
1132
+ };
1133
+ } | {
1134
+ type: "number";
1135
+ meta: {
1136
+ schemaVersion: "1.0";
1137
+ labelTranslationKey?: string | undefined;
1138
+ };
1139
+ attributes: {
1140
+ max?: number | undefined;
1141
+ min?: number | undefined;
1142
+ step?: number | undefined;
1143
+ };
1144
+ } | {
1145
+ type: "currency";
1146
+ meta: {
1147
+ denomination?: string | undefined;
1148
+ };
1149
+ attributes: {
1150
+ max?: number | undefined;
1151
+ min?: number | undefined;
1152
+ step?: number | undefined;
1153
+ };
1154
+ } | {
1155
+ type: "email";
1156
+ meta: {
1157
+ schemaVersion: "1.0";
1158
+ labelTranslationKey?: string | undefined;
1159
+ };
1160
+ attributes: {
1161
+ maxLength?: number | undefined;
1162
+ minLength?: number | undefined;
1163
+ multiple?: boolean | undefined;
1164
+ pattern?: string | undefined;
1165
+ };
1166
+ } | {
1167
+ type: "textArea";
1168
+ meta: {
1169
+ asRichText?: boolean | undefined;
1170
+ };
1171
+ attributes: {
1172
+ maxLength?: number | undefined;
1173
+ minLength?: number | undefined;
1174
+ cols?: number | undefined;
1175
+ rows?: number | undefined;
1176
+ };
1177
+ } | {
1178
+ type: "text";
1179
+ meta: {
1180
+ schemaVersion: "1.0";
1181
+ labelTranslationKey?: string | undefined;
1182
+ };
1183
+ attributes: {
1184
+ maxLength?: number | undefined;
1185
+ minLength?: number | undefined;
1186
+ pattern?: string | undefined;
1187
+ };
1188
+ } | {
1189
+ type: "url";
1190
+ meta: {
1191
+ schemaVersion: "1.0";
1192
+ labelTranslationKey?: string | undefined;
1193
+ };
1194
+ attributes: {
1195
+ maxLength?: number | undefined;
1196
+ minLength?: number | undefined;
1197
+ pattern?: string | undefined;
1198
+ };
1199
+ } | {
1200
+ type: "datePicker";
1201
+ meta: {
1202
+ schemaVersion: "1.0";
1203
+ labelTranslationKey?: string | undefined;
1204
+ };
1205
+ attributes: {
1206
+ max?: string | undefined;
1207
+ min?: string | undefined;
1208
+ step?: number | undefined;
1209
+ };
1210
+ } | {
1211
+ type: "dateRange";
1212
+ meta: {
1213
+ schemaVersion: "1.0";
1214
+ labelTranslationKey?: string | undefined;
1215
+ };
1216
+ columns: {
1217
+ start: {
1218
+ type: "datePicker";
1219
+ meta: {
1220
+ schemaVersion: "1.0";
1221
+ labelTranslationKey?: string | undefined;
1222
+ };
1223
+ attributes: {
1224
+ label: string;
1225
+ };
1226
+ };
1227
+ end: {
1228
+ type: "datePicker";
1229
+ meta: {
1230
+ schemaVersion: "1.0";
1231
+ labelTranslationKey?: string | undefined;
1232
+ };
1233
+ attributes: {
1234
+ label: string;
1235
+ };
1236
+ };
1237
+ };
1238
+ } | {
1239
+ type: "filteredSearch";
1240
+ meta: {
1241
+ schemaVersion: "1.0";
1242
+ labelTranslationKey?: string | undefined;
1243
+ };
1244
+ attributes: {
1245
+ multiple?: boolean | undefined;
1246
+ };
1247
+ graphQL: {
1248
+ displayFields: {
1249
+ label: string;
1250
+ propertyName: string;
1251
+ labelTranslationKey?: string | undefined;
1252
+ }[];
1253
+ responseField: string;
1254
+ variables: {
1255
+ type: string;
1256
+ name: string;
1257
+ labelTranslationKey?: string | undefined;
1258
+ minLength?: number | undefined;
1259
+ label?: string | undefined;
1260
+ defaultValue?: string | undefined;
1261
+ }[];
1262
+ localQueryId?: string | undefined;
1263
+ query?: string | undefined;
1264
+ };
1265
+ } | {
1266
+ type: "typeaheadSearch";
1267
+ meta: {
1268
+ schemaVersion: "1.0";
1269
+ labelTranslationKey?: string | undefined;
1270
+ };
1271
+ graphQL: {
1272
+ displayFields: {
1273
+ label: string;
1274
+ propertyName: string;
1275
+ labelTranslationKey?: string | undefined;
1276
+ }[];
1277
+ responseField: string;
1278
+ variables: {
1279
+ type: string;
1280
+ name: string;
1281
+ labelTranslationKey?: string | undefined;
1282
+ minLength?: number | undefined;
1283
+ label?: string | undefined;
1284
+ defaultValue?: string | undefined;
1285
+ }[];
1286
+ localQueryId?: string | undefined;
1287
+ query?: string | undefined;
1288
+ };
1289
+ } | {
1290
+ type: "checkBoxes";
1291
+ options: {
1292
+ type: "option";
1293
+ attributes: {
1294
+ value: string;
1295
+ label: string;
1296
+ checked?: boolean | undefined;
1297
+ };
1298
+ }[];
1299
+ meta: {
1300
+ schemaVersion: "1.0";
1301
+ labelTranslationKey?: string | undefined;
1302
+ };
1303
+ } | {
1304
+ type: "radioButtons";
1305
+ options: {
1306
+ type: "option";
1307
+ attributes: {
1308
+ value: string;
1309
+ label: string;
1310
+ selected?: boolean | undefined;
1311
+ };
1312
+ }[];
1313
+ meta: {
1314
+ schemaVersion: "1.0";
1315
+ labelTranslationKey?: string | undefined;
1316
+ };
1317
+ } | {
1318
+ type: "selectBox";
1319
+ options: {
1320
+ type: "option";
1321
+ attributes: {
1322
+ value: string;
1323
+ label: string;
1324
+ selected?: boolean | undefined;
1325
+ };
1326
+ }[];
1327
+ meta: {
1328
+ schemaVersion: "1.0";
1329
+ labelTranslationKey?: string | undefined;
1330
+ };
1331
+ attributes: {
1332
+ multiple?: boolean | undefined;
1333
+ };
1334
+ })[];
1335
+ }, {
1336
+ type: "table";
1337
+ meta: {
1338
+ schemaVersion: "1.0";
1339
+ labelTranslationKey?: string | undefined;
1340
+ };
1341
+ attributes: {
1342
+ canAddRows?: boolean | undefined;
1343
+ canRemoveRows?: boolean | undefined;
1344
+ initialRows?: number | undefined;
1345
+ maxRows?: number | undefined;
1346
+ minRows?: number | undefined;
1347
+ };
1348
+ columns: ({
1349
+ type: "boolean";
1350
+ meta: {
1351
+ schemaVersion: "1.0";
1352
+ labelTranslationKey?: string | undefined;
1353
+ };
1354
+ attributes: {
1355
+ checked?: boolean | undefined;
1356
+ };
1357
+ } | {
1358
+ type: "number";
1359
+ meta: {
1360
+ schemaVersion: "1.0";
1361
+ labelTranslationKey?: string | undefined;
1362
+ };
1363
+ attributes: {
1364
+ max?: number | undefined;
1365
+ min?: number | undefined;
1366
+ step?: number | undefined;
1367
+ };
1368
+ } | {
1369
+ type: "currency";
1370
+ meta: {
1371
+ denomination?: string | undefined;
1372
+ };
1373
+ attributes: {
1374
+ max?: number | undefined;
1375
+ min?: number | undefined;
1376
+ step?: number | undefined;
1377
+ };
1378
+ } | {
1379
+ type: "email";
1380
+ meta: {
1381
+ schemaVersion: "1.0";
1382
+ labelTranslationKey?: string | undefined;
1383
+ };
1384
+ attributes: {
1385
+ maxLength?: number | undefined;
1386
+ minLength?: number | undefined;
1387
+ multiple?: boolean | undefined;
1388
+ pattern?: string | undefined;
1389
+ };
1390
+ } | {
1391
+ type: "textArea";
1392
+ meta: {
1393
+ asRichText?: boolean | undefined;
1394
+ };
1395
+ attributes: {
1396
+ maxLength?: number | undefined;
1397
+ minLength?: number | undefined;
1398
+ cols?: number | undefined;
1399
+ rows?: number | undefined;
1400
+ };
1401
+ } | {
1402
+ type: "text";
1403
+ meta: {
1404
+ schemaVersion: "1.0";
1405
+ labelTranslationKey?: string | undefined;
1406
+ };
1407
+ attributes: {
1408
+ maxLength?: number | undefined;
1409
+ minLength?: number | undefined;
1410
+ pattern?: string | undefined;
1411
+ };
1412
+ } | {
1413
+ type: "url";
1414
+ meta: {
1415
+ schemaVersion: "1.0";
1416
+ labelTranslationKey?: string | undefined;
1417
+ };
1418
+ attributes: {
1419
+ maxLength?: number | undefined;
1420
+ minLength?: number | undefined;
1421
+ pattern?: string | undefined;
1422
+ };
1423
+ } | {
1424
+ type: "datePicker";
1425
+ meta: {
1426
+ schemaVersion: "1.0";
1427
+ labelTranslationKey?: string | undefined;
1428
+ };
1429
+ attributes: {
1430
+ max?: string | undefined;
1431
+ min?: string | undefined;
1432
+ step?: number | undefined;
1433
+ };
1434
+ } | {
1435
+ type: "dateRange";
1436
+ meta: {
1437
+ schemaVersion: "1.0";
1438
+ labelTranslationKey?: string | undefined;
1439
+ };
1440
+ columns: {
1441
+ start: {
1442
+ type: "datePicker";
1443
+ meta: {
1444
+ schemaVersion: "1.0";
1445
+ labelTranslationKey?: string | undefined;
1446
+ };
1447
+ attributes: {
1448
+ label: string;
1449
+ };
1450
+ };
1451
+ end: {
1452
+ type: "datePicker";
1453
+ meta: {
1454
+ schemaVersion: "1.0";
1455
+ labelTranslationKey?: string | undefined;
1456
+ };
1457
+ attributes: {
1458
+ label: string;
1459
+ };
1460
+ };
1461
+ };
1462
+ } | {
1463
+ type: "filteredSearch";
1464
+ meta: {
1465
+ schemaVersion: "1.0";
1466
+ labelTranslationKey?: string | undefined;
1467
+ };
1468
+ attributes: {
1469
+ multiple?: boolean | undefined;
1470
+ };
1471
+ graphQL: {
1472
+ displayFields: {
1473
+ label: string;
1474
+ propertyName: string;
1475
+ labelTranslationKey?: string | undefined;
1476
+ }[];
1477
+ responseField: string;
1478
+ variables: {
1479
+ type: string;
1480
+ name: string;
1481
+ labelTranslationKey?: string | undefined;
1482
+ minLength?: number | undefined;
1483
+ label?: string | undefined;
1484
+ defaultValue?: string | undefined;
1485
+ }[];
1486
+ localQueryId?: string | undefined;
1487
+ query?: string | undefined;
1488
+ };
1489
+ } | {
1490
+ type: "typeaheadSearch";
1491
+ meta: {
1492
+ schemaVersion: "1.0";
1493
+ labelTranslationKey?: string | undefined;
1494
+ };
1495
+ graphQL: {
1496
+ displayFields: {
1497
+ label: string;
1498
+ propertyName: string;
1499
+ labelTranslationKey?: string | undefined;
1500
+ }[];
1501
+ responseField: string;
1502
+ variables: {
1503
+ type: string;
1504
+ name: string;
1505
+ labelTranslationKey?: string | undefined;
1506
+ minLength?: number | undefined;
1507
+ label?: string | undefined;
1508
+ defaultValue?: string | undefined;
1509
+ }[];
1510
+ localQueryId?: string | undefined;
1511
+ query?: string | undefined;
1512
+ };
1513
+ } | {
1514
+ type: "checkBoxes";
1515
+ options: {
1516
+ type: "option";
1517
+ attributes: {
1518
+ value: string;
1519
+ label: string;
1520
+ checked?: boolean | undefined;
1521
+ };
1522
+ }[];
1523
+ meta: {
1524
+ schemaVersion: "1.0";
1525
+ labelTranslationKey?: string | undefined;
1526
+ };
1527
+ } | {
1528
+ type: "radioButtons";
1529
+ options: {
1530
+ type: "option";
1531
+ attributes: {
1532
+ value: string;
1533
+ label: string;
1534
+ selected?: boolean | undefined;
1535
+ };
1536
+ }[];
1537
+ meta: {
1538
+ schemaVersion: "1.0";
1539
+ labelTranslationKey?: string | undefined;
1540
+ };
1541
+ } | {
1542
+ type: "selectBox";
1543
+ options: {
1544
+ type: "option";
1545
+ attributes: {
1546
+ value: string;
1547
+ label: string;
1548
+ selected?: boolean | undefined;
1549
+ };
1550
+ }[];
1551
+ meta: {
1552
+ schemaVersion: "1.0";
1553
+ labelTranslationKey?: string | undefined;
1554
+ };
1555
+ attributes: {
1556
+ multiple?: boolean | undefined;
1557
+ };
1558
+ })[];
1559
+ }>;
1560
+ export declare const AnyQuestion: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1561
+ meta: z.ZodObject<{
1562
+ schemaVersion: z.ZodLiteral<"1.0">;
1563
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1564
+ }, "strip", z.ZodTypeAny, {
1565
+ schemaVersion: "1.0";
1566
+ labelTranslationKey?: string | undefined;
1567
+ }, {
1568
+ schemaVersion: "1.0";
1569
+ labelTranslationKey?: string | undefined;
1570
+ }>;
1571
+ } & {
1572
+ type: z.ZodLiteral<"boolean">;
1573
+ attributes: z.ZodObject<{
1574
+ checked: z.ZodOptional<z.ZodBoolean>;
1575
+ }, "strip", z.ZodTypeAny, {
1576
+ checked?: boolean | undefined;
1577
+ }, {
1578
+ checked?: boolean | undefined;
1579
+ }>;
1580
+ }, "strip", z.ZodTypeAny, {
1581
+ type: "boolean";
1582
+ meta: {
1583
+ schemaVersion: "1.0";
1584
+ labelTranslationKey?: string | undefined;
1585
+ };
1586
+ attributes: {
1587
+ checked?: boolean | undefined;
1588
+ };
1589
+ }, {
1590
+ type: "boolean";
1591
+ meta: {
1592
+ schemaVersion: "1.0";
1593
+ labelTranslationKey?: string | undefined;
1594
+ };
1595
+ attributes: {
1596
+ checked?: boolean | undefined;
1597
+ };
1598
+ }>, z.ZodObject<{
1599
+ meta: z.ZodObject<{
1600
+ schemaVersion: z.ZodLiteral<"1.0">;
1601
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1602
+ }, "strip", z.ZodTypeAny, {
1603
+ schemaVersion: "1.0";
1604
+ labelTranslationKey?: string | undefined;
1605
+ }, {
1606
+ schemaVersion: "1.0";
1607
+ labelTranslationKey?: string | undefined;
1608
+ }>;
1609
+ } & {
1610
+ type: z.ZodLiteral<"checkBoxes">;
1611
+ options: z.ZodArray<z.ZodObject<{
1612
+ type: z.ZodLiteral<"option">;
1613
+ attributes: z.ZodObject<{
1614
+ label: z.ZodString;
1615
+ value: z.ZodString;
1616
+ } & {
1617
+ checked: z.ZodOptional<z.ZodBoolean>;
1618
+ }, "strip", z.ZodTypeAny, {
1619
+ value: string;
1620
+ label: string;
1621
+ checked?: boolean | undefined;
1622
+ }, {
1623
+ value: string;
1624
+ label: string;
1625
+ checked?: boolean | undefined;
1626
+ }>;
1627
+ }, "strip", z.ZodTypeAny, {
1628
+ type: "option";
1629
+ attributes: {
1630
+ value: string;
1631
+ label: string;
1632
+ checked?: boolean | undefined;
1633
+ };
1634
+ }, {
1635
+ type: "option";
1636
+ attributes: {
1637
+ value: string;
1638
+ label: string;
1639
+ checked?: boolean | undefined;
1640
+ };
1641
+ }>, "many">;
1642
+ }, "strip", z.ZodTypeAny, {
1643
+ type: "checkBoxes";
1644
+ options: {
1645
+ type: "option";
1646
+ attributes: {
1647
+ value: string;
1648
+ label: string;
1649
+ checked?: boolean | undefined;
1650
+ };
1651
+ }[];
1652
+ meta: {
1653
+ schemaVersion: "1.0";
1654
+ labelTranslationKey?: string | undefined;
1655
+ };
1656
+ }, {
1657
+ type: "checkBoxes";
1658
+ options: {
1659
+ type: "option";
1660
+ attributes: {
1661
+ value: string;
1662
+ label: string;
1663
+ checked?: boolean | undefined;
1664
+ };
1665
+ }[];
1666
+ meta: {
1667
+ schemaVersion: "1.0";
1668
+ labelTranslationKey?: string | undefined;
1669
+ };
1670
+ }>, z.ZodObject<{
1671
+ attributes: z.ZodObject<{
1672
+ max: z.ZodOptional<z.ZodNumber>;
1673
+ min: z.ZodOptional<z.ZodNumber>;
1674
+ step: z.ZodOptional<z.ZodNumber>;
1675
+ }, "strip", z.ZodTypeAny, {
1676
+ max?: number | undefined;
1677
+ min?: number | undefined;
1678
+ step?: number | undefined;
1679
+ }, {
1680
+ max?: number | undefined;
1681
+ min?: number | undefined;
1682
+ step?: number | undefined;
1683
+ }>;
1684
+ } & {
1685
+ type: z.ZodLiteral<"currency">;
1686
+ meta: z.ZodObject<{
1687
+ denomination: z.ZodOptional<z.ZodString>;
1688
+ }, "strip", z.ZodTypeAny, {
1689
+ denomination?: string | undefined;
1690
+ }, {
1691
+ denomination?: string | undefined;
1692
+ }>;
1693
+ }, "strip", z.ZodTypeAny, {
1694
+ type: "currency";
1695
+ meta: {
1696
+ denomination?: string | undefined;
1697
+ };
1698
+ attributes: {
1699
+ max?: number | undefined;
1700
+ min?: number | undefined;
1701
+ step?: number | undefined;
1702
+ };
1703
+ }, {
1704
+ type: "currency";
1705
+ meta: {
1706
+ denomination?: string | undefined;
1707
+ };
1708
+ attributes: {
1709
+ max?: number | undefined;
1710
+ min?: number | undefined;
1711
+ step?: number | undefined;
1712
+ };
1713
+ }>, z.ZodObject<{
1714
+ meta: z.ZodObject<{
1715
+ schemaVersion: z.ZodLiteral<"1.0">;
1716
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1717
+ }, "strip", z.ZodTypeAny, {
1718
+ schemaVersion: "1.0";
1719
+ labelTranslationKey?: string | undefined;
1720
+ }, {
1721
+ schemaVersion: "1.0";
1722
+ labelTranslationKey?: string | undefined;
1723
+ }>;
1724
+ } & {
1725
+ type: z.ZodLiteral<"datePicker">;
1726
+ attributes: z.ZodObject<{
1727
+ max: z.ZodOptional<z.ZodString>;
1728
+ min: z.ZodOptional<z.ZodString>;
1729
+ step: z.ZodOptional<z.ZodNumber>;
1730
+ }, "strip", z.ZodTypeAny, {
1731
+ max?: string | undefined;
1732
+ min?: string | undefined;
1733
+ step?: number | undefined;
1734
+ }, {
1735
+ max?: string | undefined;
1736
+ min?: string | undefined;
1737
+ step?: number | undefined;
1738
+ }>;
1739
+ }, "strip", z.ZodTypeAny, {
1740
+ type: "datePicker";
1741
+ meta: {
1742
+ schemaVersion: "1.0";
1743
+ labelTranslationKey?: string | undefined;
1744
+ };
1745
+ attributes: {
1746
+ max?: string | undefined;
1747
+ min?: string | undefined;
1748
+ step?: number | undefined;
1749
+ };
1750
+ }, {
1751
+ type: "datePicker";
1752
+ meta: {
1753
+ schemaVersion: "1.0";
1754
+ labelTranslationKey?: string | undefined;
1755
+ };
1756
+ attributes: {
1757
+ max?: string | undefined;
1758
+ min?: string | undefined;
1759
+ step?: number | undefined;
1760
+ };
1761
+ }>, z.ZodObject<{
1762
+ meta: z.ZodObject<{
1763
+ schemaVersion: z.ZodLiteral<"1.0">;
1764
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1765
+ }, "strip", z.ZodTypeAny, {
1766
+ schemaVersion: "1.0";
1767
+ labelTranslationKey?: string | undefined;
1768
+ }, {
1769
+ schemaVersion: "1.0";
1770
+ labelTranslationKey?: string | undefined;
1771
+ }>;
1772
+ } & {
1773
+ type: z.ZodLiteral<"dateRange">;
1774
+ columns: z.ZodObject<{
1775
+ start: z.ZodObject<{
1776
+ meta: z.ZodObject<{
1777
+ schemaVersion: z.ZodLiteral<"1.0">;
1778
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1779
+ }, "strip", z.ZodTypeAny, {
1780
+ schemaVersion: "1.0";
1781
+ labelTranslationKey?: string | undefined;
1782
+ }, {
1783
+ schemaVersion: "1.0";
1784
+ labelTranslationKey?: string | undefined;
1785
+ }>;
1786
+ type: z.ZodLiteral<"datePicker">;
1787
+ } & {
1788
+ attributes: z.ZodObject<{
1789
+ label: z.ZodString;
1790
+ }, "strip", z.ZodTypeAny, {
1791
+ label: string;
1792
+ }, {
1793
+ label: string;
1794
+ }>;
1795
+ }, "strip", z.ZodTypeAny, {
1796
+ type: "datePicker";
1797
+ meta: {
1798
+ schemaVersion: "1.0";
1799
+ labelTranslationKey?: string | undefined;
1800
+ };
1801
+ attributes: {
1802
+ label: string;
1803
+ };
1804
+ }, {
1805
+ type: "datePicker";
1806
+ meta: {
1807
+ schemaVersion: "1.0";
1808
+ labelTranslationKey?: string | undefined;
1809
+ };
1810
+ attributes: {
1811
+ label: string;
1812
+ };
1813
+ }>;
1814
+ end: z.ZodObject<{
1815
+ meta: z.ZodObject<{
1816
+ schemaVersion: z.ZodLiteral<"1.0">;
1817
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1818
+ }, "strip", z.ZodTypeAny, {
1819
+ schemaVersion: "1.0";
1820
+ labelTranslationKey?: string | undefined;
1821
+ }, {
1822
+ schemaVersion: "1.0";
1823
+ labelTranslationKey?: string | undefined;
1824
+ }>;
1825
+ type: z.ZodLiteral<"datePicker">;
1826
+ } & {
1827
+ attributes: z.ZodObject<{
1828
+ label: z.ZodString;
1829
+ }, "strip", z.ZodTypeAny, {
1830
+ label: string;
1831
+ }, {
1832
+ label: string;
1833
+ }>;
1834
+ }, "strip", z.ZodTypeAny, {
1835
+ type: "datePicker";
1836
+ meta: {
1837
+ schemaVersion: "1.0";
1838
+ labelTranslationKey?: string | undefined;
1839
+ };
1840
+ attributes: {
1841
+ label: string;
1842
+ };
1843
+ }, {
1844
+ type: "datePicker";
1845
+ meta: {
1846
+ schemaVersion: "1.0";
1847
+ labelTranslationKey?: string | undefined;
1848
+ };
1849
+ attributes: {
1850
+ label: string;
1851
+ };
1852
+ }>;
1853
+ }, "strip", z.ZodTypeAny, {
1854
+ start: {
1855
+ type: "datePicker";
1856
+ meta: {
1857
+ schemaVersion: "1.0";
1858
+ labelTranslationKey?: string | undefined;
1859
+ };
1860
+ attributes: {
1861
+ label: string;
1862
+ };
1863
+ };
1864
+ end: {
1865
+ type: "datePicker";
1866
+ meta: {
1867
+ schemaVersion: "1.0";
1868
+ labelTranslationKey?: string | undefined;
1869
+ };
1870
+ attributes: {
1871
+ label: string;
1872
+ };
1873
+ };
1874
+ }, {
1875
+ start: {
1876
+ type: "datePicker";
1877
+ meta: {
1878
+ schemaVersion: "1.0";
1879
+ labelTranslationKey?: string | undefined;
1880
+ };
1881
+ attributes: {
1882
+ label: string;
1883
+ };
1884
+ };
1885
+ end: {
1886
+ type: "datePicker";
1887
+ meta: {
1888
+ schemaVersion: "1.0";
1889
+ labelTranslationKey?: string | undefined;
1890
+ };
1891
+ attributes: {
1892
+ label: string;
1893
+ };
1894
+ };
1895
+ }>;
1896
+ }, "strip", z.ZodTypeAny, {
1897
+ type: "dateRange";
1898
+ meta: {
1899
+ schemaVersion: "1.0";
1900
+ labelTranslationKey?: string | undefined;
1901
+ };
1902
+ columns: {
1903
+ start: {
1904
+ type: "datePicker";
1905
+ meta: {
1906
+ schemaVersion: "1.0";
1907
+ labelTranslationKey?: string | undefined;
1908
+ };
1909
+ attributes: {
1910
+ label: string;
1911
+ };
1912
+ };
1913
+ end: {
1914
+ type: "datePicker";
1915
+ meta: {
1916
+ schemaVersion: "1.0";
1917
+ labelTranslationKey?: string | undefined;
1918
+ };
1919
+ attributes: {
1920
+ label: string;
1921
+ };
1922
+ };
1923
+ };
1924
+ }, {
1925
+ type: "dateRange";
1926
+ meta: {
1927
+ schemaVersion: "1.0";
1928
+ labelTranslationKey?: string | undefined;
1929
+ };
1930
+ columns: {
1931
+ start: {
1932
+ type: "datePicker";
1933
+ meta: {
1934
+ schemaVersion: "1.0";
1935
+ labelTranslationKey?: string | undefined;
1936
+ };
1937
+ attributes: {
1938
+ label: string;
1939
+ };
1940
+ };
1941
+ end: {
1942
+ type: "datePicker";
1943
+ meta: {
1944
+ schemaVersion: "1.0";
1945
+ labelTranslationKey?: string | undefined;
1946
+ };
1947
+ attributes: {
1948
+ label: string;
1949
+ };
1950
+ };
1951
+ };
1952
+ }>, z.ZodObject<{
1953
+ meta: z.ZodObject<{
1954
+ schemaVersion: z.ZodLiteral<"1.0">;
1955
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
1956
+ }, "strip", z.ZodTypeAny, {
1957
+ schemaVersion: "1.0";
1958
+ labelTranslationKey?: string | undefined;
1959
+ }, {
1960
+ schemaVersion: "1.0";
1961
+ labelTranslationKey?: string | undefined;
1962
+ }>;
1963
+ } & {
1964
+ type: z.ZodLiteral<"email">;
1965
+ attributes: z.ZodObject<{
1966
+ maxLength: z.ZodOptional<z.ZodNumber>;
1967
+ minLength: z.ZodOptional<z.ZodNumber>;
1968
+ multiple: z.ZodOptional<z.ZodBoolean>;
1969
+ pattern: z.ZodOptional<z.ZodString>;
1970
+ }, "strip", z.ZodTypeAny, {
1971
+ maxLength?: number | undefined;
1972
+ minLength?: number | undefined;
1973
+ multiple?: boolean | undefined;
1974
+ pattern?: string | undefined;
1975
+ }, {
1976
+ maxLength?: number | undefined;
1977
+ minLength?: number | undefined;
1978
+ multiple?: boolean | undefined;
1979
+ pattern?: string | undefined;
1980
+ }>;
1981
+ }, "strip", z.ZodTypeAny, {
1982
+ type: "email";
1983
+ meta: {
1984
+ schemaVersion: "1.0";
1985
+ labelTranslationKey?: string | undefined;
1986
+ };
1987
+ attributes: {
1988
+ maxLength?: number | undefined;
1989
+ minLength?: number | undefined;
1990
+ multiple?: boolean | undefined;
1991
+ pattern?: string | undefined;
1992
+ };
1993
+ }, {
1994
+ type: "email";
1995
+ meta: {
1996
+ schemaVersion: "1.0";
1997
+ labelTranslationKey?: string | undefined;
1998
+ };
1999
+ attributes: {
2000
+ maxLength?: number | undefined;
2001
+ minLength?: number | undefined;
2002
+ multiple?: boolean | undefined;
2003
+ pattern?: string | undefined;
2004
+ };
2005
+ }>, z.ZodObject<{
2006
+ meta: z.ZodObject<{
2007
+ schemaVersion: z.ZodLiteral<"1.0">;
2008
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2009
+ }, "strip", z.ZodTypeAny, {
2010
+ schemaVersion: "1.0";
2011
+ labelTranslationKey?: string | undefined;
2012
+ }, {
2013
+ schemaVersion: "1.0";
2014
+ labelTranslationKey?: string | undefined;
2015
+ }>;
2016
+ } & {
2017
+ type: z.ZodLiteral<"filteredSearch">;
2018
+ graphQL: z.ZodObject<{
2019
+ displayFields: z.ZodArray<z.ZodObject<{
2020
+ propertyName: z.ZodString;
2021
+ label: z.ZodString;
2022
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2023
+ }, "strip", z.ZodTypeAny, {
2024
+ label: string;
2025
+ propertyName: string;
2026
+ labelTranslationKey?: string | undefined;
2027
+ }, {
2028
+ label: string;
2029
+ propertyName: string;
2030
+ labelTranslationKey?: string | undefined;
2031
+ }>, "many">;
2032
+ localQueryId: z.ZodOptional<z.ZodString>;
2033
+ query: z.ZodOptional<z.ZodString>;
2034
+ responseField: z.ZodString;
2035
+ variables: z.ZodArray<z.ZodObject<{
2036
+ minLength: z.ZodOptional<z.ZodNumber>;
2037
+ label: z.ZodOptional<z.ZodString>;
2038
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2039
+ name: z.ZodString;
2040
+ type: z.ZodString;
2041
+ defaultValue: z.ZodOptional<z.ZodString>;
2042
+ }, "strip", z.ZodTypeAny, {
2043
+ type: string;
2044
+ name: string;
2045
+ labelTranslationKey?: string | undefined;
2046
+ minLength?: number | undefined;
2047
+ label?: string | undefined;
2048
+ defaultValue?: string | undefined;
2049
+ }, {
2050
+ type: string;
2051
+ name: string;
2052
+ labelTranslationKey?: string | undefined;
2053
+ minLength?: number | undefined;
2054
+ label?: string | undefined;
2055
+ defaultValue?: string | undefined;
2056
+ }>, "many">;
2057
+ }, "strip", z.ZodTypeAny, {
2058
+ displayFields: {
2059
+ label: string;
2060
+ propertyName: string;
2061
+ labelTranslationKey?: string | undefined;
2062
+ }[];
2063
+ responseField: string;
2064
+ variables: {
2065
+ type: string;
2066
+ name: string;
2067
+ labelTranslationKey?: string | undefined;
2068
+ minLength?: number | undefined;
2069
+ label?: string | undefined;
2070
+ defaultValue?: string | undefined;
2071
+ }[];
2072
+ localQueryId?: string | undefined;
2073
+ query?: string | undefined;
2074
+ }, {
2075
+ displayFields: {
2076
+ label: string;
2077
+ propertyName: string;
2078
+ labelTranslationKey?: string | undefined;
2079
+ }[];
2080
+ responseField: string;
2081
+ variables: {
2082
+ type: string;
2083
+ name: string;
2084
+ labelTranslationKey?: string | undefined;
2085
+ minLength?: number | undefined;
2086
+ label?: string | undefined;
2087
+ defaultValue?: string | undefined;
2088
+ }[];
2089
+ localQueryId?: string | undefined;
2090
+ query?: string | undefined;
2091
+ }>;
2092
+ attributes: z.ZodObject<{
2093
+ multiple: z.ZodOptional<z.ZodBoolean>;
2094
+ }, "strip", z.ZodTypeAny, {
2095
+ multiple?: boolean | undefined;
2096
+ }, {
2097
+ multiple?: boolean | undefined;
2098
+ }>;
2099
+ }, "strip", z.ZodTypeAny, {
2100
+ type: "filteredSearch";
2101
+ meta: {
2102
+ schemaVersion: "1.0";
2103
+ labelTranslationKey?: string | undefined;
2104
+ };
2105
+ attributes: {
2106
+ multiple?: boolean | undefined;
2107
+ };
2108
+ graphQL: {
2109
+ displayFields: {
2110
+ label: string;
2111
+ propertyName: string;
2112
+ labelTranslationKey?: string | undefined;
2113
+ }[];
2114
+ responseField: string;
2115
+ variables: {
2116
+ type: string;
2117
+ name: string;
2118
+ labelTranslationKey?: string | undefined;
2119
+ minLength?: number | undefined;
2120
+ label?: string | undefined;
2121
+ defaultValue?: string | undefined;
2122
+ }[];
2123
+ localQueryId?: string | undefined;
2124
+ query?: string | undefined;
2125
+ };
2126
+ }, {
2127
+ type: "filteredSearch";
2128
+ meta: {
2129
+ schemaVersion: "1.0";
2130
+ labelTranslationKey?: string | undefined;
2131
+ };
2132
+ attributes: {
2133
+ multiple?: boolean | undefined;
2134
+ };
2135
+ graphQL: {
2136
+ displayFields: {
2137
+ label: string;
2138
+ propertyName: string;
2139
+ labelTranslationKey?: string | undefined;
2140
+ }[];
2141
+ responseField: string;
2142
+ variables: {
2143
+ type: string;
2144
+ name: string;
2145
+ labelTranslationKey?: string | undefined;
2146
+ minLength?: number | undefined;
2147
+ label?: string | undefined;
2148
+ defaultValue?: string | undefined;
2149
+ }[];
2150
+ localQueryId?: string | undefined;
2151
+ query?: string | undefined;
2152
+ };
2153
+ }>, z.ZodObject<{
2154
+ meta: z.ZodObject<{
2155
+ schemaVersion: z.ZodLiteral<"1.0">;
2156
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2157
+ }, "strip", z.ZodTypeAny, {
2158
+ schemaVersion: "1.0";
2159
+ labelTranslationKey?: string | undefined;
2160
+ }, {
2161
+ schemaVersion: "1.0";
2162
+ labelTranslationKey?: string | undefined;
2163
+ }>;
2164
+ } & {
2165
+ type: z.ZodLiteral<"number">;
2166
+ attributes: z.ZodObject<{
2167
+ max: z.ZodOptional<z.ZodNumber>;
2168
+ min: z.ZodOptional<z.ZodNumber>;
2169
+ step: z.ZodOptional<z.ZodNumber>;
2170
+ }, "strip", z.ZodTypeAny, {
2171
+ max?: number | undefined;
2172
+ min?: number | undefined;
2173
+ step?: number | undefined;
2174
+ }, {
2175
+ max?: number | undefined;
2176
+ min?: number | undefined;
2177
+ step?: number | undefined;
2178
+ }>;
2179
+ }, "strip", z.ZodTypeAny, {
2180
+ type: "number";
2181
+ meta: {
2182
+ schemaVersion: "1.0";
2183
+ labelTranslationKey?: string | undefined;
2184
+ };
2185
+ attributes: {
2186
+ max?: number | undefined;
2187
+ min?: number | undefined;
2188
+ step?: number | undefined;
2189
+ };
2190
+ }, {
2191
+ type: "number";
2192
+ meta: {
2193
+ schemaVersion: "1.0";
2194
+ labelTranslationKey?: string | undefined;
2195
+ };
2196
+ attributes: {
2197
+ max?: number | undefined;
2198
+ min?: number | undefined;
2199
+ step?: number | undefined;
2200
+ };
2201
+ }>, z.ZodObject<{
2202
+ meta: z.ZodObject<{
2203
+ schemaVersion: z.ZodLiteral<"1.0">;
2204
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2205
+ }, "strip", z.ZodTypeAny, {
2206
+ schemaVersion: "1.0";
2207
+ labelTranslationKey?: string | undefined;
2208
+ }, {
2209
+ schemaVersion: "1.0";
2210
+ labelTranslationKey?: string | undefined;
2211
+ }>;
2212
+ } & {
2213
+ type: z.ZodLiteral<"radioButtons">;
2214
+ options: z.ZodArray<z.ZodObject<{
2215
+ type: z.ZodLiteral<"option">;
2216
+ attributes: z.ZodObject<{
2217
+ label: z.ZodString;
2218
+ value: z.ZodString;
2219
+ } & {
2220
+ selected: z.ZodOptional<z.ZodBoolean>;
2221
+ }, "strip", z.ZodTypeAny, {
2222
+ value: string;
2223
+ label: string;
2224
+ selected?: boolean | undefined;
2225
+ }, {
2226
+ value: string;
2227
+ label: string;
2228
+ selected?: boolean | undefined;
2229
+ }>;
2230
+ }, "strip", z.ZodTypeAny, {
2231
+ type: "option";
2232
+ attributes: {
2233
+ value: string;
2234
+ label: string;
2235
+ selected?: boolean | undefined;
2236
+ };
2237
+ }, {
2238
+ type: "option";
2239
+ attributes: {
2240
+ value: string;
2241
+ label: string;
2242
+ selected?: boolean | undefined;
2243
+ };
2244
+ }>, "many">;
2245
+ }, "strip", z.ZodTypeAny, {
2246
+ type: "radioButtons";
2247
+ options: {
2248
+ type: "option";
2249
+ attributes: {
2250
+ value: string;
2251
+ label: string;
2252
+ selected?: boolean | undefined;
2253
+ };
2254
+ }[];
2255
+ meta: {
2256
+ schemaVersion: "1.0";
2257
+ labelTranslationKey?: string | undefined;
2258
+ };
2259
+ }, {
2260
+ type: "radioButtons";
2261
+ options: {
2262
+ type: "option";
2263
+ attributes: {
2264
+ value: string;
2265
+ label: string;
2266
+ selected?: boolean | undefined;
2267
+ };
2268
+ }[];
2269
+ meta: {
2270
+ schemaVersion: "1.0";
2271
+ labelTranslationKey?: string | undefined;
2272
+ };
2273
+ }>, z.ZodObject<{
2274
+ meta: z.ZodObject<{
2275
+ schemaVersion: z.ZodLiteral<"1.0">;
2276
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ schemaVersion: "1.0";
2279
+ labelTranslationKey?: string | undefined;
2280
+ }, {
2281
+ schemaVersion: "1.0";
2282
+ labelTranslationKey?: string | undefined;
2283
+ }>;
2284
+ } & {
2285
+ type: z.ZodLiteral<"selectBox">;
2286
+ options: z.ZodArray<z.ZodObject<{
2287
+ type: z.ZodLiteral<"option">;
2288
+ attributes: z.ZodObject<{
2289
+ label: z.ZodString;
2290
+ value: z.ZodString;
2291
+ } & {
2292
+ selected: z.ZodOptional<z.ZodBoolean>;
2293
+ }, "strip", z.ZodTypeAny, {
2294
+ value: string;
2295
+ label: string;
2296
+ selected?: boolean | undefined;
2297
+ }, {
2298
+ value: string;
2299
+ label: string;
2300
+ selected?: boolean | undefined;
2301
+ }>;
2302
+ }, "strip", z.ZodTypeAny, {
2303
+ type: "option";
2304
+ attributes: {
2305
+ value: string;
2306
+ label: string;
2307
+ selected?: boolean | undefined;
2308
+ };
2309
+ }, {
2310
+ type: "option";
2311
+ attributes: {
2312
+ value: string;
2313
+ label: string;
2314
+ selected?: boolean | undefined;
2315
+ };
2316
+ }>, "many">;
2317
+ attributes: z.ZodObject<{
2318
+ multiple: z.ZodOptional<z.ZodBoolean>;
2319
+ }, "strip", z.ZodTypeAny, {
2320
+ multiple?: boolean | undefined;
2321
+ }, {
2322
+ multiple?: boolean | undefined;
2323
+ }>;
2324
+ }, "strip", z.ZodTypeAny, {
2325
+ type: "selectBox";
2326
+ options: {
2327
+ type: "option";
2328
+ attributes: {
2329
+ value: string;
2330
+ label: string;
2331
+ selected?: boolean | undefined;
2332
+ };
2333
+ }[];
2334
+ meta: {
2335
+ schemaVersion: "1.0";
2336
+ labelTranslationKey?: string | undefined;
2337
+ };
2338
+ attributes: {
2339
+ multiple?: boolean | undefined;
2340
+ };
2341
+ }, {
2342
+ type: "selectBox";
2343
+ options: {
2344
+ type: "option";
2345
+ attributes: {
2346
+ value: string;
2347
+ label: string;
2348
+ selected?: boolean | undefined;
2349
+ };
2350
+ }[];
2351
+ meta: {
2352
+ schemaVersion: "1.0";
2353
+ labelTranslationKey?: string | undefined;
2354
+ };
2355
+ attributes: {
2356
+ multiple?: boolean | undefined;
2357
+ };
2358
+ }>, z.ZodObject<{
2359
+ meta: z.ZodObject<{
2360
+ schemaVersion: z.ZodLiteral<"1.0">;
2361
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2362
+ }, "strip", z.ZodTypeAny, {
2363
+ schemaVersion: "1.0";
2364
+ labelTranslationKey?: string | undefined;
2365
+ }, {
2366
+ schemaVersion: "1.0";
2367
+ labelTranslationKey?: string | undefined;
2368
+ }>;
2369
+ } & {
2370
+ type: z.ZodLiteral<"table">;
2371
+ columns: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2372
+ meta: z.ZodObject<{
2373
+ schemaVersion: z.ZodLiteral<"1.0">;
2374
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2375
+ }, "strip", z.ZodTypeAny, {
2376
+ schemaVersion: "1.0";
2377
+ labelTranslationKey?: string | undefined;
2378
+ }, {
2379
+ schemaVersion: "1.0";
2380
+ labelTranslationKey?: string | undefined;
2381
+ }>;
2382
+ } & {
2383
+ type: z.ZodLiteral<"boolean">;
2384
+ attributes: z.ZodObject<{
2385
+ checked: z.ZodOptional<z.ZodBoolean>;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ checked?: boolean | undefined;
2388
+ }, {
2389
+ checked?: boolean | undefined;
2390
+ }>;
2391
+ }, "strip", z.ZodTypeAny, {
2392
+ type: "boolean";
2393
+ meta: {
2394
+ schemaVersion: "1.0";
2395
+ labelTranslationKey?: string | undefined;
2396
+ };
2397
+ attributes: {
2398
+ checked?: boolean | undefined;
2399
+ };
2400
+ }, {
2401
+ type: "boolean";
2402
+ meta: {
2403
+ schemaVersion: "1.0";
2404
+ labelTranslationKey?: string | undefined;
2405
+ };
2406
+ attributes: {
2407
+ checked?: boolean | undefined;
2408
+ };
2409
+ }>, z.ZodObject<{
2410
+ meta: z.ZodObject<{
2411
+ schemaVersion: z.ZodLiteral<"1.0">;
2412
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2413
+ }, "strip", z.ZodTypeAny, {
2414
+ schemaVersion: "1.0";
2415
+ labelTranslationKey?: string | undefined;
2416
+ }, {
2417
+ schemaVersion: "1.0";
2418
+ labelTranslationKey?: string | undefined;
2419
+ }>;
2420
+ } & {
2421
+ type: z.ZodLiteral<"checkBoxes">;
2422
+ options: z.ZodArray<z.ZodObject<{
2423
+ type: z.ZodLiteral<"option">;
2424
+ attributes: z.ZodObject<{
2425
+ label: z.ZodString;
2426
+ value: z.ZodString;
2427
+ } & {
2428
+ checked: z.ZodOptional<z.ZodBoolean>;
2429
+ }, "strip", z.ZodTypeAny, {
2430
+ value: string;
2431
+ label: string;
2432
+ checked?: boolean | undefined;
2433
+ }, {
2434
+ value: string;
2435
+ label: string;
2436
+ checked?: boolean | undefined;
2437
+ }>;
2438
+ }, "strip", z.ZodTypeAny, {
2439
+ type: "option";
2440
+ attributes: {
2441
+ value: string;
2442
+ label: string;
2443
+ checked?: boolean | undefined;
2444
+ };
2445
+ }, {
2446
+ type: "option";
2447
+ attributes: {
2448
+ value: string;
2449
+ label: string;
2450
+ checked?: boolean | undefined;
2451
+ };
2452
+ }>, "many">;
2453
+ }, "strip", z.ZodTypeAny, {
2454
+ type: "checkBoxes";
2455
+ options: {
2456
+ type: "option";
2457
+ attributes: {
2458
+ value: string;
2459
+ label: string;
2460
+ checked?: boolean | undefined;
2461
+ };
2462
+ }[];
2463
+ meta: {
2464
+ schemaVersion: "1.0";
2465
+ labelTranslationKey?: string | undefined;
2466
+ };
2467
+ }, {
2468
+ type: "checkBoxes";
2469
+ options: {
2470
+ type: "option";
2471
+ attributes: {
2472
+ value: string;
2473
+ label: string;
2474
+ checked?: boolean | undefined;
2475
+ };
2476
+ }[];
2477
+ meta: {
2478
+ schemaVersion: "1.0";
2479
+ labelTranslationKey?: string | undefined;
2480
+ };
2481
+ }>, z.ZodObject<{
2482
+ attributes: z.ZodObject<{
2483
+ max: z.ZodOptional<z.ZodNumber>;
2484
+ min: z.ZodOptional<z.ZodNumber>;
2485
+ step: z.ZodOptional<z.ZodNumber>;
2486
+ }, "strip", z.ZodTypeAny, {
2487
+ max?: number | undefined;
2488
+ min?: number | undefined;
2489
+ step?: number | undefined;
2490
+ }, {
2491
+ max?: number | undefined;
2492
+ min?: number | undefined;
2493
+ step?: number | undefined;
2494
+ }>;
2495
+ } & {
2496
+ type: z.ZodLiteral<"currency">;
2497
+ meta: z.ZodObject<{
2498
+ denomination: z.ZodOptional<z.ZodString>;
2499
+ }, "strip", z.ZodTypeAny, {
2500
+ denomination?: string | undefined;
2501
+ }, {
2502
+ denomination?: string | undefined;
2503
+ }>;
2504
+ }, "strip", z.ZodTypeAny, {
2505
+ type: "currency";
2506
+ meta: {
2507
+ denomination?: string | undefined;
2508
+ };
2509
+ attributes: {
2510
+ max?: number | undefined;
2511
+ min?: number | undefined;
2512
+ step?: number | undefined;
2513
+ };
2514
+ }, {
2515
+ type: "currency";
2516
+ meta: {
2517
+ denomination?: string | undefined;
2518
+ };
2519
+ attributes: {
2520
+ max?: number | undefined;
2521
+ min?: number | undefined;
2522
+ step?: number | undefined;
2523
+ };
2524
+ }>, z.ZodObject<{
2525
+ meta: z.ZodObject<{
2526
+ schemaVersion: z.ZodLiteral<"1.0">;
2527
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2528
+ }, "strip", z.ZodTypeAny, {
2529
+ schemaVersion: "1.0";
2530
+ labelTranslationKey?: string | undefined;
2531
+ }, {
2532
+ schemaVersion: "1.0";
2533
+ labelTranslationKey?: string | undefined;
2534
+ }>;
2535
+ } & {
2536
+ type: z.ZodLiteral<"datePicker">;
2537
+ attributes: z.ZodObject<{
2538
+ max: z.ZodOptional<z.ZodString>;
2539
+ min: z.ZodOptional<z.ZodString>;
2540
+ step: z.ZodOptional<z.ZodNumber>;
2541
+ }, "strip", z.ZodTypeAny, {
2542
+ max?: string | undefined;
2543
+ min?: string | undefined;
2544
+ step?: number | undefined;
2545
+ }, {
2546
+ max?: string | undefined;
2547
+ min?: string | undefined;
2548
+ step?: number | undefined;
2549
+ }>;
2550
+ }, "strip", z.ZodTypeAny, {
2551
+ type: "datePicker";
2552
+ meta: {
2553
+ schemaVersion: "1.0";
2554
+ labelTranslationKey?: string | undefined;
2555
+ };
2556
+ attributes: {
2557
+ max?: string | undefined;
2558
+ min?: string | undefined;
2559
+ step?: number | undefined;
2560
+ };
2561
+ }, {
2562
+ type: "datePicker";
2563
+ meta: {
2564
+ schemaVersion: "1.0";
2565
+ labelTranslationKey?: string | undefined;
2566
+ };
2567
+ attributes: {
2568
+ max?: string | undefined;
2569
+ min?: string | undefined;
2570
+ step?: number | undefined;
2571
+ };
2572
+ }>, z.ZodObject<{
2573
+ meta: z.ZodObject<{
2574
+ schemaVersion: z.ZodLiteral<"1.0">;
2575
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2576
+ }, "strip", z.ZodTypeAny, {
2577
+ schemaVersion: "1.0";
2578
+ labelTranslationKey?: string | undefined;
2579
+ }, {
2580
+ schemaVersion: "1.0";
2581
+ labelTranslationKey?: string | undefined;
2582
+ }>;
2583
+ } & {
2584
+ type: z.ZodLiteral<"dateRange">;
2585
+ columns: z.ZodObject<{
2586
+ start: z.ZodObject<{
2587
+ meta: z.ZodObject<{
2588
+ schemaVersion: z.ZodLiteral<"1.0">;
2589
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2590
+ }, "strip", z.ZodTypeAny, {
2591
+ schemaVersion: "1.0";
2592
+ labelTranslationKey?: string | undefined;
2593
+ }, {
2594
+ schemaVersion: "1.0";
2595
+ labelTranslationKey?: string | undefined;
2596
+ }>;
2597
+ type: z.ZodLiteral<"datePicker">;
2598
+ } & {
2599
+ attributes: z.ZodObject<{
2600
+ label: z.ZodString;
2601
+ }, "strip", z.ZodTypeAny, {
2602
+ label: string;
2603
+ }, {
2604
+ label: string;
2605
+ }>;
2606
+ }, "strip", z.ZodTypeAny, {
2607
+ type: "datePicker";
2608
+ meta: {
2609
+ schemaVersion: "1.0";
2610
+ labelTranslationKey?: string | undefined;
2611
+ };
2612
+ attributes: {
2613
+ label: string;
2614
+ };
2615
+ }, {
2616
+ type: "datePicker";
2617
+ meta: {
2618
+ schemaVersion: "1.0";
2619
+ labelTranslationKey?: string | undefined;
2620
+ };
2621
+ attributes: {
2622
+ label: string;
2623
+ };
2624
+ }>;
2625
+ end: z.ZodObject<{
2626
+ meta: z.ZodObject<{
2627
+ schemaVersion: z.ZodLiteral<"1.0">;
2628
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2629
+ }, "strip", z.ZodTypeAny, {
2630
+ schemaVersion: "1.0";
2631
+ labelTranslationKey?: string | undefined;
2632
+ }, {
2633
+ schemaVersion: "1.0";
2634
+ labelTranslationKey?: string | undefined;
2635
+ }>;
2636
+ type: z.ZodLiteral<"datePicker">;
2637
+ } & {
2638
+ attributes: z.ZodObject<{
2639
+ label: z.ZodString;
2640
+ }, "strip", z.ZodTypeAny, {
2641
+ label: string;
2642
+ }, {
2643
+ label: string;
2644
+ }>;
2645
+ }, "strip", z.ZodTypeAny, {
2646
+ type: "datePicker";
2647
+ meta: {
2648
+ schemaVersion: "1.0";
2649
+ labelTranslationKey?: string | undefined;
2650
+ };
2651
+ attributes: {
2652
+ label: string;
2653
+ };
2654
+ }, {
2655
+ type: "datePicker";
2656
+ meta: {
2657
+ schemaVersion: "1.0";
2658
+ labelTranslationKey?: string | undefined;
2659
+ };
2660
+ attributes: {
2661
+ label: string;
2662
+ };
2663
+ }>;
2664
+ }, "strip", z.ZodTypeAny, {
2665
+ start: {
2666
+ type: "datePicker";
2667
+ meta: {
2668
+ schemaVersion: "1.0";
2669
+ labelTranslationKey?: string | undefined;
2670
+ };
2671
+ attributes: {
2672
+ label: string;
2673
+ };
2674
+ };
2675
+ end: {
2676
+ type: "datePicker";
2677
+ meta: {
2678
+ schemaVersion: "1.0";
2679
+ labelTranslationKey?: string | undefined;
2680
+ };
2681
+ attributes: {
2682
+ label: string;
2683
+ };
2684
+ };
2685
+ }, {
2686
+ start: {
2687
+ type: "datePicker";
2688
+ meta: {
2689
+ schemaVersion: "1.0";
2690
+ labelTranslationKey?: string | undefined;
2691
+ };
2692
+ attributes: {
2693
+ label: string;
2694
+ };
2695
+ };
2696
+ end: {
2697
+ type: "datePicker";
2698
+ meta: {
2699
+ schemaVersion: "1.0";
2700
+ labelTranslationKey?: string | undefined;
2701
+ };
2702
+ attributes: {
2703
+ label: string;
2704
+ };
2705
+ };
2706
+ }>;
2707
+ }, "strip", z.ZodTypeAny, {
2708
+ type: "dateRange";
2709
+ meta: {
2710
+ schemaVersion: "1.0";
2711
+ labelTranslationKey?: string | undefined;
2712
+ };
2713
+ columns: {
2714
+ start: {
2715
+ type: "datePicker";
2716
+ meta: {
2717
+ schemaVersion: "1.0";
2718
+ labelTranslationKey?: string | undefined;
2719
+ };
2720
+ attributes: {
2721
+ label: string;
2722
+ };
2723
+ };
2724
+ end: {
2725
+ type: "datePicker";
2726
+ meta: {
2727
+ schemaVersion: "1.0";
2728
+ labelTranslationKey?: string | undefined;
2729
+ };
2730
+ attributes: {
2731
+ label: string;
2732
+ };
2733
+ };
2734
+ };
2735
+ }, {
2736
+ type: "dateRange";
2737
+ meta: {
2738
+ schemaVersion: "1.0";
2739
+ labelTranslationKey?: string | undefined;
2740
+ };
2741
+ columns: {
2742
+ start: {
2743
+ type: "datePicker";
2744
+ meta: {
2745
+ schemaVersion: "1.0";
2746
+ labelTranslationKey?: string | undefined;
2747
+ };
2748
+ attributes: {
2749
+ label: string;
2750
+ };
2751
+ };
2752
+ end: {
2753
+ type: "datePicker";
2754
+ meta: {
2755
+ schemaVersion: "1.0";
2756
+ labelTranslationKey?: string | undefined;
2757
+ };
2758
+ attributes: {
2759
+ label: string;
2760
+ };
2761
+ };
2762
+ };
2763
+ }>, z.ZodObject<{
2764
+ meta: z.ZodObject<{
2765
+ schemaVersion: z.ZodLiteral<"1.0">;
2766
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2767
+ }, "strip", z.ZodTypeAny, {
2768
+ schemaVersion: "1.0";
2769
+ labelTranslationKey?: string | undefined;
2770
+ }, {
2771
+ schemaVersion: "1.0";
2772
+ labelTranslationKey?: string | undefined;
2773
+ }>;
2774
+ } & {
2775
+ type: z.ZodLiteral<"email">;
2776
+ attributes: z.ZodObject<{
2777
+ maxLength: z.ZodOptional<z.ZodNumber>;
2778
+ minLength: z.ZodOptional<z.ZodNumber>;
2779
+ multiple: z.ZodOptional<z.ZodBoolean>;
2780
+ pattern: z.ZodOptional<z.ZodString>;
2781
+ }, "strip", z.ZodTypeAny, {
2782
+ maxLength?: number | undefined;
2783
+ minLength?: number | undefined;
2784
+ multiple?: boolean | undefined;
2785
+ pattern?: string | undefined;
2786
+ }, {
2787
+ maxLength?: number | undefined;
2788
+ minLength?: number | undefined;
2789
+ multiple?: boolean | undefined;
2790
+ pattern?: string | undefined;
2791
+ }>;
2792
+ }, "strip", z.ZodTypeAny, {
2793
+ type: "email";
2794
+ meta: {
2795
+ schemaVersion: "1.0";
2796
+ labelTranslationKey?: string | undefined;
2797
+ };
2798
+ attributes: {
2799
+ maxLength?: number | undefined;
2800
+ minLength?: number | undefined;
2801
+ multiple?: boolean | undefined;
2802
+ pattern?: string | undefined;
2803
+ };
2804
+ }, {
2805
+ type: "email";
2806
+ meta: {
2807
+ schemaVersion: "1.0";
2808
+ labelTranslationKey?: string | undefined;
2809
+ };
2810
+ attributes: {
2811
+ maxLength?: number | undefined;
2812
+ minLength?: number | undefined;
2813
+ multiple?: boolean | undefined;
2814
+ pattern?: string | undefined;
2815
+ };
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<"filteredSearch">;
2829
+ graphQL: z.ZodObject<{
2830
+ displayFields: z.ZodArray<z.ZodObject<{
2831
+ propertyName: z.ZodString;
2832
+ label: z.ZodString;
2833
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2834
+ }, "strip", z.ZodTypeAny, {
2835
+ label: string;
2836
+ propertyName: string;
2837
+ labelTranslationKey?: string | undefined;
2838
+ }, {
2839
+ label: string;
2840
+ propertyName: string;
2841
+ labelTranslationKey?: string | undefined;
2842
+ }>, "many">;
2843
+ localQueryId: z.ZodOptional<z.ZodString>;
2844
+ query: z.ZodOptional<z.ZodString>;
2845
+ responseField: z.ZodString;
2846
+ variables: z.ZodArray<z.ZodObject<{
2847
+ minLength: z.ZodOptional<z.ZodNumber>;
2848
+ label: z.ZodOptional<z.ZodString>;
2849
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2850
+ name: z.ZodString;
2851
+ type: z.ZodString;
2852
+ defaultValue: z.ZodOptional<z.ZodString>;
2853
+ }, "strip", z.ZodTypeAny, {
2854
+ type: string;
2855
+ name: string;
2856
+ labelTranslationKey?: string | undefined;
2857
+ minLength?: number | undefined;
2858
+ label?: string | undefined;
2859
+ defaultValue?: string | undefined;
2860
+ }, {
2861
+ type: string;
2862
+ name: string;
2863
+ labelTranslationKey?: string | undefined;
2864
+ minLength?: number | undefined;
2865
+ label?: string | undefined;
2866
+ defaultValue?: string | undefined;
2867
+ }>, "many">;
2868
+ }, "strip", z.ZodTypeAny, {
2869
+ displayFields: {
2870
+ label: string;
2871
+ propertyName: string;
2872
+ labelTranslationKey?: string | undefined;
2873
+ }[];
2874
+ responseField: string;
2875
+ variables: {
2876
+ type: string;
2877
+ name: string;
2878
+ labelTranslationKey?: string | undefined;
2879
+ minLength?: number | undefined;
2880
+ label?: string | undefined;
2881
+ defaultValue?: string | undefined;
2882
+ }[];
2883
+ localQueryId?: string | undefined;
2884
+ query?: string | undefined;
2885
+ }, {
2886
+ displayFields: {
2887
+ label: string;
2888
+ propertyName: string;
2889
+ labelTranslationKey?: string | undefined;
2890
+ }[];
2891
+ responseField: string;
2892
+ variables: {
2893
+ type: string;
2894
+ name: string;
2895
+ labelTranslationKey?: string | undefined;
2896
+ minLength?: number | undefined;
2897
+ label?: string | undefined;
2898
+ defaultValue?: string | undefined;
2899
+ }[];
2900
+ localQueryId?: string | undefined;
2901
+ query?: string | undefined;
2902
+ }>;
2903
+ attributes: z.ZodObject<{
2904
+ multiple: z.ZodOptional<z.ZodBoolean>;
2905
+ }, "strip", z.ZodTypeAny, {
2906
+ multiple?: boolean | undefined;
2907
+ }, {
2908
+ multiple?: boolean | undefined;
2909
+ }>;
2910
+ }, "strip", z.ZodTypeAny, {
2911
+ type: "filteredSearch";
2912
+ meta: {
2913
+ schemaVersion: "1.0";
2914
+ labelTranslationKey?: string | undefined;
2915
+ };
2916
+ attributes: {
2917
+ multiple?: boolean | undefined;
2918
+ };
2919
+ graphQL: {
2920
+ displayFields: {
2921
+ label: string;
2922
+ propertyName: string;
2923
+ labelTranslationKey?: string | undefined;
2924
+ }[];
2925
+ responseField: string;
2926
+ variables: {
2927
+ type: string;
2928
+ name: string;
2929
+ labelTranslationKey?: string | undefined;
2930
+ minLength?: number | undefined;
2931
+ label?: string | undefined;
2932
+ defaultValue?: string | undefined;
2933
+ }[];
2934
+ localQueryId?: string | undefined;
2935
+ query?: string | undefined;
2936
+ };
2937
+ }, {
2938
+ type: "filteredSearch";
2939
+ meta: {
2940
+ schemaVersion: "1.0";
2941
+ labelTranslationKey?: string | undefined;
2942
+ };
2943
+ attributes: {
2944
+ multiple?: boolean | undefined;
2945
+ };
2946
+ graphQL: {
2947
+ displayFields: {
2948
+ label: string;
2949
+ propertyName: string;
2950
+ labelTranslationKey?: string | undefined;
2951
+ }[];
2952
+ responseField: string;
2953
+ variables: {
2954
+ type: string;
2955
+ name: string;
2956
+ labelTranslationKey?: string | undefined;
2957
+ minLength?: number | undefined;
2958
+ label?: string | undefined;
2959
+ defaultValue?: string | undefined;
2960
+ }[];
2961
+ localQueryId?: string | undefined;
2962
+ query?: string | undefined;
2963
+ };
2964
+ }>, z.ZodObject<{
2965
+ meta: z.ZodObject<{
2966
+ schemaVersion: z.ZodLiteral<"1.0">;
2967
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
2968
+ }, "strip", z.ZodTypeAny, {
2969
+ schemaVersion: "1.0";
2970
+ labelTranslationKey?: string | undefined;
2971
+ }, {
2972
+ schemaVersion: "1.0";
2973
+ labelTranslationKey?: string | undefined;
2974
+ }>;
2975
+ } & {
2976
+ type: z.ZodLiteral<"number">;
2977
+ attributes: z.ZodObject<{
2978
+ max: z.ZodOptional<z.ZodNumber>;
2979
+ min: z.ZodOptional<z.ZodNumber>;
2980
+ step: z.ZodOptional<z.ZodNumber>;
2981
+ }, "strip", z.ZodTypeAny, {
2982
+ max?: number | undefined;
2983
+ min?: number | undefined;
2984
+ step?: number | undefined;
2985
+ }, {
2986
+ max?: number | undefined;
2987
+ min?: number | undefined;
2988
+ step?: number | undefined;
2989
+ }>;
2990
+ }, "strip", z.ZodTypeAny, {
2991
+ type: "number";
2992
+ meta: {
2993
+ schemaVersion: "1.0";
2994
+ labelTranslationKey?: string | undefined;
2995
+ };
2996
+ attributes: {
2997
+ max?: number | undefined;
2998
+ min?: number | undefined;
2999
+ step?: number | undefined;
3000
+ };
3001
+ }, {
3002
+ type: "number";
3003
+ meta: {
3004
+ schemaVersion: "1.0";
3005
+ labelTranslationKey?: string | undefined;
3006
+ };
3007
+ attributes: {
3008
+ max?: number | undefined;
3009
+ min?: number | undefined;
3010
+ step?: number | undefined;
3011
+ };
3012
+ }>, z.ZodObject<{
3013
+ meta: z.ZodObject<{
3014
+ schemaVersion: z.ZodLiteral<"1.0">;
3015
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3016
+ }, "strip", z.ZodTypeAny, {
3017
+ schemaVersion: "1.0";
3018
+ labelTranslationKey?: string | undefined;
3019
+ }, {
3020
+ schemaVersion: "1.0";
3021
+ labelTranslationKey?: string | undefined;
3022
+ }>;
3023
+ } & {
3024
+ type: z.ZodLiteral<"radioButtons">;
3025
+ options: z.ZodArray<z.ZodObject<{
3026
+ type: z.ZodLiteral<"option">;
3027
+ attributes: z.ZodObject<{
3028
+ label: z.ZodString;
3029
+ value: z.ZodString;
3030
+ } & {
3031
+ selected: z.ZodOptional<z.ZodBoolean>;
3032
+ }, "strip", z.ZodTypeAny, {
3033
+ value: string;
3034
+ label: string;
3035
+ selected?: boolean | undefined;
3036
+ }, {
3037
+ value: string;
3038
+ label: string;
3039
+ selected?: boolean | undefined;
3040
+ }>;
3041
+ }, "strip", z.ZodTypeAny, {
3042
+ type: "option";
3043
+ attributes: {
3044
+ value: string;
3045
+ label: string;
3046
+ selected?: boolean | undefined;
3047
+ };
3048
+ }, {
3049
+ type: "option";
3050
+ attributes: {
3051
+ value: string;
3052
+ label: string;
3053
+ selected?: boolean | undefined;
3054
+ };
3055
+ }>, "many">;
3056
+ }, "strip", z.ZodTypeAny, {
3057
+ type: "radioButtons";
3058
+ options: {
3059
+ type: "option";
3060
+ attributes: {
3061
+ value: string;
3062
+ label: string;
3063
+ selected?: boolean | undefined;
3064
+ };
3065
+ }[];
3066
+ meta: {
3067
+ schemaVersion: "1.0";
3068
+ labelTranslationKey?: string | undefined;
3069
+ };
3070
+ }, {
3071
+ type: "radioButtons";
3072
+ options: {
3073
+ type: "option";
3074
+ attributes: {
3075
+ value: string;
3076
+ label: string;
3077
+ selected?: boolean | undefined;
3078
+ };
3079
+ }[];
3080
+ meta: {
3081
+ schemaVersion: "1.0";
3082
+ labelTranslationKey?: string | undefined;
3083
+ };
3084
+ }>, z.ZodObject<{
3085
+ meta: z.ZodObject<{
3086
+ schemaVersion: z.ZodLiteral<"1.0">;
3087
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3088
+ }, "strip", z.ZodTypeAny, {
3089
+ schemaVersion: "1.0";
3090
+ labelTranslationKey?: string | undefined;
3091
+ }, {
3092
+ schemaVersion: "1.0";
3093
+ labelTranslationKey?: string | undefined;
3094
+ }>;
3095
+ } & {
3096
+ type: z.ZodLiteral<"selectBox">;
3097
+ options: z.ZodArray<z.ZodObject<{
3098
+ type: z.ZodLiteral<"option">;
3099
+ attributes: z.ZodObject<{
3100
+ label: z.ZodString;
3101
+ value: z.ZodString;
3102
+ } & {
3103
+ selected: z.ZodOptional<z.ZodBoolean>;
3104
+ }, "strip", z.ZodTypeAny, {
3105
+ value: string;
3106
+ label: string;
3107
+ selected?: boolean | undefined;
3108
+ }, {
3109
+ value: string;
3110
+ label: string;
3111
+ selected?: boolean | undefined;
3112
+ }>;
3113
+ }, "strip", z.ZodTypeAny, {
3114
+ type: "option";
3115
+ attributes: {
3116
+ value: string;
3117
+ label: string;
3118
+ selected?: boolean | undefined;
3119
+ };
3120
+ }, {
3121
+ type: "option";
3122
+ attributes: {
3123
+ value: string;
3124
+ label: string;
3125
+ selected?: boolean | undefined;
3126
+ };
3127
+ }>, "many">;
3128
+ attributes: z.ZodObject<{
3129
+ multiple: z.ZodOptional<z.ZodBoolean>;
3130
+ }, "strip", z.ZodTypeAny, {
3131
+ multiple?: boolean | undefined;
3132
+ }, {
3133
+ multiple?: boolean | undefined;
3134
+ }>;
3135
+ }, "strip", z.ZodTypeAny, {
3136
+ type: "selectBox";
3137
+ options: {
3138
+ type: "option";
3139
+ attributes: {
3140
+ value: string;
3141
+ label: string;
3142
+ selected?: boolean | undefined;
3143
+ };
3144
+ }[];
3145
+ meta: {
3146
+ schemaVersion: "1.0";
3147
+ labelTranslationKey?: string | undefined;
3148
+ };
3149
+ attributes: {
3150
+ multiple?: boolean | undefined;
3151
+ };
3152
+ }, {
3153
+ type: "selectBox";
3154
+ options: {
3155
+ type: "option";
3156
+ attributes: {
3157
+ value: string;
3158
+ label: string;
3159
+ selected?: boolean | undefined;
3160
+ };
3161
+ }[];
3162
+ meta: {
3163
+ schemaVersion: "1.0";
3164
+ labelTranslationKey?: string | undefined;
3165
+ };
3166
+ attributes: {
3167
+ multiple?: boolean | undefined;
3168
+ };
3169
+ }>, z.ZodObject<{} & {
3170
+ type: z.ZodLiteral<"textArea">;
3171
+ attributes: z.ZodObject<{
3172
+ cols: z.ZodOptional<z.ZodNumber>;
3173
+ maxLength: z.ZodOptional<z.ZodNumber>;
3174
+ minLength: z.ZodOptional<z.ZodNumber>;
3175
+ rows: z.ZodOptional<z.ZodNumber>;
3176
+ }, "strip", z.ZodTypeAny, {
3177
+ maxLength?: number | undefined;
3178
+ minLength?: number | undefined;
3179
+ cols?: number | undefined;
3180
+ rows?: number | undefined;
3181
+ }, {
3182
+ maxLength?: number | undefined;
3183
+ minLength?: number | undefined;
3184
+ cols?: number | undefined;
3185
+ rows?: number | undefined;
3186
+ }>;
3187
+ meta: z.ZodObject<{
3188
+ asRichText: z.ZodOptional<z.ZodBoolean>;
3189
+ }, "strip", z.ZodTypeAny, {
3190
+ asRichText?: boolean | undefined;
3191
+ }, {
3192
+ asRichText?: boolean | undefined;
3193
+ }>;
3194
+ }, "strip", z.ZodTypeAny, {
3195
+ type: "textArea";
3196
+ meta: {
3197
+ asRichText?: boolean | undefined;
3198
+ };
3199
+ attributes: {
3200
+ maxLength?: number | undefined;
3201
+ minLength?: number | undefined;
3202
+ cols?: number | undefined;
3203
+ rows?: number | undefined;
3204
+ };
3205
+ }, {
3206
+ type: "textArea";
3207
+ meta: {
3208
+ asRichText?: boolean | undefined;
3209
+ };
3210
+ attributes: {
3211
+ maxLength?: number | undefined;
3212
+ minLength?: number | undefined;
3213
+ cols?: number | undefined;
3214
+ rows?: number | undefined;
3215
+ };
3216
+ }>, z.ZodObject<{
3217
+ meta: z.ZodObject<{
3218
+ schemaVersion: z.ZodLiteral<"1.0">;
3219
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3220
+ }, "strip", z.ZodTypeAny, {
3221
+ schemaVersion: "1.0";
3222
+ labelTranslationKey?: string | undefined;
3223
+ }, {
3224
+ schemaVersion: "1.0";
3225
+ labelTranslationKey?: string | undefined;
3226
+ }>;
3227
+ } & {
3228
+ type: z.ZodLiteral<"text">;
3229
+ attributes: z.ZodObject<{
3230
+ maxLength: z.ZodOptional<z.ZodNumber>;
3231
+ minLength: z.ZodOptional<z.ZodNumber>;
3232
+ pattern: z.ZodOptional<z.ZodString>;
3233
+ }, "strip", z.ZodTypeAny, {
3234
+ maxLength?: number | undefined;
3235
+ minLength?: number | undefined;
3236
+ pattern?: string | undefined;
3237
+ }, {
3238
+ maxLength?: number | undefined;
3239
+ minLength?: number | undefined;
3240
+ pattern?: string | undefined;
3241
+ }>;
3242
+ }, "strip", z.ZodTypeAny, {
3243
+ type: "text";
3244
+ meta: {
3245
+ schemaVersion: "1.0";
3246
+ labelTranslationKey?: string | undefined;
3247
+ };
3248
+ attributes: {
3249
+ maxLength?: number | undefined;
3250
+ minLength?: number | undefined;
3251
+ pattern?: string | undefined;
3252
+ };
3253
+ }, {
3254
+ type: "text";
3255
+ meta: {
3256
+ schemaVersion: "1.0";
3257
+ labelTranslationKey?: string | undefined;
3258
+ };
3259
+ attributes: {
3260
+ maxLength?: number | undefined;
3261
+ minLength?: number | undefined;
3262
+ pattern?: string | undefined;
3263
+ };
3264
+ }>, z.ZodObject<{
3265
+ meta: z.ZodObject<{
3266
+ schemaVersion: z.ZodLiteral<"1.0">;
3267
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3268
+ }, "strip", z.ZodTypeAny, {
3269
+ schemaVersion: "1.0";
3270
+ labelTranslationKey?: string | undefined;
3271
+ }, {
3272
+ schemaVersion: "1.0";
3273
+ labelTranslationKey?: string | undefined;
3274
+ }>;
3275
+ } & {
3276
+ type: z.ZodLiteral<"typeaheadSearch">;
3277
+ graphQL: z.ZodObject<{
3278
+ displayFields: z.ZodArray<z.ZodObject<{
3279
+ propertyName: z.ZodString;
3280
+ label: z.ZodString;
3281
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3282
+ }, "strip", z.ZodTypeAny, {
3283
+ label: string;
3284
+ propertyName: string;
3285
+ labelTranslationKey?: string | undefined;
3286
+ }, {
3287
+ label: string;
3288
+ propertyName: string;
3289
+ labelTranslationKey?: string | undefined;
3290
+ }>, "many">;
3291
+ localQueryId: z.ZodOptional<z.ZodString>;
3292
+ query: z.ZodOptional<z.ZodString>;
3293
+ responseField: z.ZodString;
3294
+ variables: z.ZodArray<z.ZodObject<{
3295
+ minLength: z.ZodOptional<z.ZodNumber>;
3296
+ label: z.ZodOptional<z.ZodString>;
3297
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3298
+ name: z.ZodString;
3299
+ type: z.ZodString;
3300
+ defaultValue: z.ZodOptional<z.ZodString>;
3301
+ }, "strip", z.ZodTypeAny, {
3302
+ type: string;
3303
+ name: string;
3304
+ labelTranslationKey?: string | undefined;
3305
+ minLength?: number | undefined;
3306
+ label?: string | undefined;
3307
+ defaultValue?: string | undefined;
3308
+ }, {
3309
+ type: string;
3310
+ name: string;
3311
+ labelTranslationKey?: string | undefined;
3312
+ minLength?: number | undefined;
3313
+ label?: string | undefined;
3314
+ defaultValue?: string | undefined;
3315
+ }>, "many">;
3316
+ }, "strip", z.ZodTypeAny, {
3317
+ displayFields: {
3318
+ label: string;
3319
+ propertyName: string;
3320
+ labelTranslationKey?: string | undefined;
3321
+ }[];
3322
+ responseField: string;
3323
+ variables: {
3324
+ type: string;
3325
+ name: string;
3326
+ labelTranslationKey?: string | undefined;
3327
+ minLength?: number | undefined;
3328
+ label?: string | undefined;
3329
+ defaultValue?: string | undefined;
3330
+ }[];
3331
+ localQueryId?: string | undefined;
3332
+ query?: string | undefined;
3333
+ }, {
3334
+ displayFields: {
3335
+ label: string;
3336
+ propertyName: string;
3337
+ labelTranslationKey?: string | undefined;
3338
+ }[];
3339
+ responseField: string;
3340
+ variables: {
3341
+ type: string;
3342
+ name: string;
3343
+ labelTranslationKey?: string | undefined;
3344
+ minLength?: number | undefined;
3345
+ label?: string | undefined;
3346
+ defaultValue?: string | undefined;
3347
+ }[];
3348
+ localQueryId?: string | undefined;
3349
+ query?: string | undefined;
3350
+ }>;
3351
+ }, "strip", z.ZodTypeAny, {
3352
+ type: "typeaheadSearch";
3353
+ meta: {
3354
+ schemaVersion: "1.0";
3355
+ labelTranslationKey?: string | undefined;
3356
+ };
3357
+ graphQL: {
3358
+ displayFields: {
3359
+ label: string;
3360
+ propertyName: string;
3361
+ labelTranslationKey?: string | undefined;
3362
+ }[];
3363
+ responseField: string;
3364
+ variables: {
3365
+ type: string;
3366
+ name: string;
3367
+ labelTranslationKey?: string | undefined;
3368
+ minLength?: number | undefined;
3369
+ label?: string | undefined;
3370
+ defaultValue?: string | undefined;
3371
+ }[];
3372
+ localQueryId?: string | undefined;
3373
+ query?: string | undefined;
3374
+ };
3375
+ }, {
3376
+ type: "typeaheadSearch";
3377
+ meta: {
3378
+ schemaVersion: "1.0";
3379
+ labelTranslationKey?: string | undefined;
3380
+ };
3381
+ graphQL: {
3382
+ displayFields: {
3383
+ label: string;
3384
+ propertyName: string;
3385
+ labelTranslationKey?: string | undefined;
3386
+ }[];
3387
+ responseField: string;
3388
+ variables: {
3389
+ type: string;
3390
+ name: string;
3391
+ labelTranslationKey?: string | undefined;
3392
+ minLength?: number | undefined;
3393
+ label?: string | undefined;
3394
+ defaultValue?: string | undefined;
3395
+ }[];
3396
+ localQueryId?: string | undefined;
3397
+ query?: string | undefined;
3398
+ };
3399
+ }>, z.ZodObject<{
3400
+ meta: z.ZodObject<{
3401
+ schemaVersion: z.ZodLiteral<"1.0">;
3402
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3403
+ }, "strip", z.ZodTypeAny, {
3404
+ schemaVersion: "1.0";
3405
+ labelTranslationKey?: string | undefined;
3406
+ }, {
3407
+ schemaVersion: "1.0";
3408
+ labelTranslationKey?: string | undefined;
3409
+ }>;
3410
+ } & {
3411
+ type: z.ZodLiteral<"url">;
3412
+ attributes: z.ZodObject<{
3413
+ maxLength: z.ZodOptional<z.ZodNumber>;
3414
+ minLength: z.ZodOptional<z.ZodNumber>;
3415
+ pattern: z.ZodOptional<z.ZodString>;
3416
+ }, "strip", z.ZodTypeAny, {
3417
+ maxLength?: number | undefined;
3418
+ minLength?: number | undefined;
3419
+ pattern?: string | undefined;
3420
+ }, {
3421
+ maxLength?: number | undefined;
3422
+ minLength?: number | undefined;
3423
+ pattern?: string | undefined;
3424
+ }>;
3425
+ }, "strip", z.ZodTypeAny, {
3426
+ type: "url";
3427
+ meta: {
3428
+ schemaVersion: "1.0";
3429
+ labelTranslationKey?: string | undefined;
3430
+ };
3431
+ attributes: {
3432
+ maxLength?: number | undefined;
3433
+ minLength?: number | undefined;
3434
+ pattern?: string | undefined;
3435
+ };
3436
+ }, {
3437
+ type: "url";
3438
+ meta: {
3439
+ schemaVersion: "1.0";
3440
+ labelTranslationKey?: string | undefined;
3441
+ };
3442
+ attributes: {
3443
+ maxLength?: number | undefined;
3444
+ minLength?: number | undefined;
3445
+ pattern?: string | undefined;
3446
+ };
3447
+ }>]>, "many">;
3448
+ attributes: z.ZodObject<{
3449
+ canAddRows: z.ZodOptional<z.ZodBoolean>;
3450
+ canRemoveRows: z.ZodOptional<z.ZodBoolean>;
3451
+ initialRows: z.ZodOptional<z.ZodNumber>;
3452
+ maxRows: z.ZodOptional<z.ZodNumber>;
3453
+ minRows: z.ZodOptional<z.ZodNumber>;
3454
+ }, "strip", z.ZodTypeAny, {
3455
+ canAddRows?: boolean | undefined;
3456
+ canRemoveRows?: boolean | undefined;
3457
+ initialRows?: number | undefined;
3458
+ maxRows?: number | undefined;
3459
+ minRows?: number | undefined;
3460
+ }, {
3461
+ canAddRows?: boolean | undefined;
3462
+ canRemoveRows?: boolean | undefined;
3463
+ initialRows?: number | undefined;
3464
+ maxRows?: number | undefined;
3465
+ minRows?: number | undefined;
3466
+ }>;
3467
+ }, "strip", z.ZodTypeAny, {
3468
+ type: "table";
3469
+ meta: {
3470
+ schemaVersion: "1.0";
3471
+ labelTranslationKey?: string | undefined;
3472
+ };
3473
+ attributes: {
3474
+ canAddRows?: boolean | undefined;
3475
+ canRemoveRows?: boolean | undefined;
3476
+ initialRows?: number | undefined;
3477
+ maxRows?: number | undefined;
3478
+ minRows?: number | undefined;
3479
+ };
3480
+ columns: ({
3481
+ type: "boolean";
3482
+ meta: {
3483
+ schemaVersion: "1.0";
3484
+ labelTranslationKey?: string | undefined;
3485
+ };
3486
+ attributes: {
3487
+ checked?: boolean | undefined;
3488
+ };
3489
+ } | {
3490
+ type: "number";
3491
+ meta: {
3492
+ schemaVersion: "1.0";
3493
+ labelTranslationKey?: string | undefined;
3494
+ };
3495
+ attributes: {
3496
+ max?: number | undefined;
3497
+ min?: number | undefined;
3498
+ step?: number | undefined;
3499
+ };
3500
+ } | {
3501
+ type: "currency";
3502
+ meta: {
3503
+ denomination?: string | undefined;
3504
+ };
3505
+ attributes: {
3506
+ max?: number | undefined;
3507
+ min?: number | undefined;
3508
+ step?: number | undefined;
3509
+ };
3510
+ } | {
3511
+ type: "email";
3512
+ meta: {
3513
+ schemaVersion: "1.0";
3514
+ labelTranslationKey?: string | undefined;
3515
+ };
3516
+ attributes: {
3517
+ maxLength?: number | undefined;
3518
+ minLength?: number | undefined;
3519
+ multiple?: boolean | undefined;
3520
+ pattern?: string | undefined;
3521
+ };
3522
+ } | {
3523
+ type: "textArea";
3524
+ meta: {
3525
+ asRichText?: boolean | undefined;
3526
+ };
3527
+ attributes: {
3528
+ maxLength?: number | undefined;
3529
+ minLength?: number | undefined;
3530
+ cols?: number | undefined;
3531
+ rows?: number | undefined;
3532
+ };
3533
+ } | {
3534
+ type: "text";
3535
+ meta: {
3536
+ schemaVersion: "1.0";
3537
+ labelTranslationKey?: string | undefined;
3538
+ };
3539
+ attributes: {
3540
+ maxLength?: number | undefined;
3541
+ minLength?: number | undefined;
3542
+ pattern?: string | undefined;
3543
+ };
3544
+ } | {
3545
+ type: "url";
3546
+ meta: {
3547
+ schemaVersion: "1.0";
3548
+ labelTranslationKey?: string | undefined;
3549
+ };
3550
+ attributes: {
3551
+ maxLength?: number | undefined;
3552
+ minLength?: number | undefined;
3553
+ pattern?: string | undefined;
3554
+ };
3555
+ } | {
3556
+ type: "datePicker";
3557
+ meta: {
3558
+ schemaVersion: "1.0";
3559
+ labelTranslationKey?: string | undefined;
3560
+ };
3561
+ attributes: {
3562
+ max?: string | undefined;
3563
+ min?: string | undefined;
3564
+ step?: number | undefined;
3565
+ };
3566
+ } | {
3567
+ type: "dateRange";
3568
+ meta: {
3569
+ schemaVersion: "1.0";
3570
+ labelTranslationKey?: string | undefined;
3571
+ };
3572
+ columns: {
3573
+ start: {
3574
+ type: "datePicker";
3575
+ meta: {
3576
+ schemaVersion: "1.0";
3577
+ labelTranslationKey?: string | undefined;
3578
+ };
3579
+ attributes: {
3580
+ label: string;
3581
+ };
3582
+ };
3583
+ end: {
3584
+ type: "datePicker";
3585
+ meta: {
3586
+ schemaVersion: "1.0";
3587
+ labelTranslationKey?: string | undefined;
3588
+ };
3589
+ attributes: {
3590
+ label: string;
3591
+ };
3592
+ };
3593
+ };
3594
+ } | {
3595
+ type: "filteredSearch";
3596
+ meta: {
3597
+ schemaVersion: "1.0";
3598
+ labelTranslationKey?: string | undefined;
3599
+ };
3600
+ attributes: {
3601
+ multiple?: boolean | undefined;
3602
+ };
3603
+ graphQL: {
3604
+ displayFields: {
3605
+ label: string;
3606
+ propertyName: string;
3607
+ labelTranslationKey?: string | undefined;
3608
+ }[];
3609
+ responseField: string;
3610
+ variables: {
3611
+ type: string;
3612
+ name: string;
3613
+ labelTranslationKey?: string | undefined;
3614
+ minLength?: number | undefined;
3615
+ label?: string | undefined;
3616
+ defaultValue?: string | undefined;
3617
+ }[];
3618
+ localQueryId?: string | undefined;
3619
+ query?: string | undefined;
3620
+ };
3621
+ } | {
3622
+ type: "typeaheadSearch";
3623
+ meta: {
3624
+ schemaVersion: "1.0";
3625
+ labelTranslationKey?: string | undefined;
3626
+ };
3627
+ graphQL: {
3628
+ displayFields: {
3629
+ label: string;
3630
+ propertyName: string;
3631
+ labelTranslationKey?: string | undefined;
3632
+ }[];
3633
+ responseField: string;
3634
+ variables: {
3635
+ type: string;
3636
+ name: string;
3637
+ labelTranslationKey?: string | undefined;
3638
+ minLength?: number | undefined;
3639
+ label?: string | undefined;
3640
+ defaultValue?: string | undefined;
3641
+ }[];
3642
+ localQueryId?: string | undefined;
3643
+ query?: string | undefined;
3644
+ };
3645
+ } | {
3646
+ type: "checkBoxes";
3647
+ options: {
3648
+ type: "option";
3649
+ attributes: {
3650
+ value: string;
3651
+ label: string;
3652
+ checked?: boolean | undefined;
3653
+ };
3654
+ }[];
3655
+ meta: {
3656
+ schemaVersion: "1.0";
3657
+ labelTranslationKey?: string | undefined;
3658
+ };
3659
+ } | {
3660
+ type: "radioButtons";
3661
+ options: {
3662
+ type: "option";
3663
+ attributes: {
3664
+ value: string;
3665
+ label: string;
3666
+ selected?: boolean | undefined;
3667
+ };
3668
+ }[];
3669
+ meta: {
3670
+ schemaVersion: "1.0";
3671
+ labelTranslationKey?: string | undefined;
3672
+ };
3673
+ } | {
3674
+ type: "selectBox";
3675
+ options: {
3676
+ type: "option";
3677
+ attributes: {
3678
+ value: string;
3679
+ label: string;
3680
+ selected?: boolean | undefined;
3681
+ };
3682
+ }[];
3683
+ meta: {
3684
+ schemaVersion: "1.0";
3685
+ labelTranslationKey?: string | undefined;
3686
+ };
3687
+ attributes: {
3688
+ multiple?: boolean | undefined;
3689
+ };
3690
+ })[];
3691
+ }, {
3692
+ type: "table";
3693
+ meta: {
3694
+ schemaVersion: "1.0";
3695
+ labelTranslationKey?: string | undefined;
3696
+ };
3697
+ attributes: {
3698
+ canAddRows?: boolean | undefined;
3699
+ canRemoveRows?: boolean | undefined;
3700
+ initialRows?: number | undefined;
3701
+ maxRows?: number | undefined;
3702
+ minRows?: number | undefined;
3703
+ };
3704
+ columns: ({
3705
+ type: "boolean";
3706
+ meta: {
3707
+ schemaVersion: "1.0";
3708
+ labelTranslationKey?: string | undefined;
3709
+ };
3710
+ attributes: {
3711
+ checked?: boolean | undefined;
3712
+ };
3713
+ } | {
3714
+ type: "number";
3715
+ meta: {
3716
+ schemaVersion: "1.0";
3717
+ labelTranslationKey?: string | undefined;
3718
+ };
3719
+ attributes: {
3720
+ max?: number | undefined;
3721
+ min?: number | undefined;
3722
+ step?: number | undefined;
3723
+ };
3724
+ } | {
3725
+ type: "currency";
3726
+ meta: {
3727
+ denomination?: string | undefined;
3728
+ };
3729
+ attributes: {
3730
+ max?: number | undefined;
3731
+ min?: number | undefined;
3732
+ step?: number | undefined;
3733
+ };
3734
+ } | {
3735
+ type: "email";
3736
+ meta: {
3737
+ schemaVersion: "1.0";
3738
+ labelTranslationKey?: string | undefined;
3739
+ };
3740
+ attributes: {
3741
+ maxLength?: number | undefined;
3742
+ minLength?: number | undefined;
3743
+ multiple?: boolean | undefined;
3744
+ pattern?: string | undefined;
3745
+ };
3746
+ } | {
3747
+ type: "textArea";
3748
+ meta: {
3749
+ asRichText?: boolean | undefined;
3750
+ };
3751
+ attributes: {
3752
+ maxLength?: number | undefined;
3753
+ minLength?: number | undefined;
3754
+ cols?: number | undefined;
3755
+ rows?: number | undefined;
3756
+ };
3757
+ } | {
3758
+ type: "text";
3759
+ meta: {
3760
+ schemaVersion: "1.0";
3761
+ labelTranslationKey?: string | undefined;
3762
+ };
3763
+ attributes: {
3764
+ maxLength?: number | undefined;
3765
+ minLength?: number | undefined;
3766
+ pattern?: string | undefined;
3767
+ };
3768
+ } | {
3769
+ type: "url";
3770
+ meta: {
3771
+ schemaVersion: "1.0";
3772
+ labelTranslationKey?: string | undefined;
3773
+ };
3774
+ attributes: {
3775
+ maxLength?: number | undefined;
3776
+ minLength?: number | undefined;
3777
+ pattern?: string | undefined;
3778
+ };
3779
+ } | {
3780
+ type: "datePicker";
3781
+ meta: {
3782
+ schemaVersion: "1.0";
3783
+ labelTranslationKey?: string | undefined;
3784
+ };
3785
+ attributes: {
3786
+ max?: string | undefined;
3787
+ min?: string | undefined;
3788
+ step?: number | undefined;
3789
+ };
3790
+ } | {
3791
+ type: "dateRange";
3792
+ meta: {
3793
+ schemaVersion: "1.0";
3794
+ labelTranslationKey?: string | undefined;
3795
+ };
3796
+ columns: {
3797
+ start: {
3798
+ type: "datePicker";
3799
+ meta: {
3800
+ schemaVersion: "1.0";
3801
+ labelTranslationKey?: string | undefined;
3802
+ };
3803
+ attributes: {
3804
+ label: string;
3805
+ };
3806
+ };
3807
+ end: {
3808
+ type: "datePicker";
3809
+ meta: {
3810
+ schemaVersion: "1.0";
3811
+ labelTranslationKey?: string | undefined;
3812
+ };
3813
+ attributes: {
3814
+ label: string;
3815
+ };
3816
+ };
3817
+ };
3818
+ } | {
3819
+ type: "filteredSearch";
3820
+ meta: {
3821
+ schemaVersion: "1.0";
3822
+ labelTranslationKey?: string | undefined;
3823
+ };
3824
+ attributes: {
3825
+ multiple?: boolean | undefined;
3826
+ };
3827
+ graphQL: {
3828
+ displayFields: {
3829
+ label: string;
3830
+ propertyName: string;
3831
+ labelTranslationKey?: string | undefined;
3832
+ }[];
3833
+ responseField: string;
3834
+ variables: {
3835
+ type: string;
3836
+ name: string;
3837
+ labelTranslationKey?: string | undefined;
3838
+ minLength?: number | undefined;
3839
+ label?: string | undefined;
3840
+ defaultValue?: string | undefined;
3841
+ }[];
3842
+ localQueryId?: string | undefined;
3843
+ query?: string | undefined;
3844
+ };
3845
+ } | {
3846
+ type: "typeaheadSearch";
3847
+ meta: {
3848
+ schemaVersion: "1.0";
3849
+ labelTranslationKey?: string | undefined;
3850
+ };
3851
+ graphQL: {
3852
+ displayFields: {
3853
+ label: string;
3854
+ propertyName: string;
3855
+ labelTranslationKey?: string | undefined;
3856
+ }[];
3857
+ responseField: string;
3858
+ variables: {
3859
+ type: string;
3860
+ name: string;
3861
+ labelTranslationKey?: string | undefined;
3862
+ minLength?: number | undefined;
3863
+ label?: string | undefined;
3864
+ defaultValue?: string | undefined;
3865
+ }[];
3866
+ localQueryId?: string | undefined;
3867
+ query?: string | undefined;
3868
+ };
3869
+ } | {
3870
+ type: "checkBoxes";
3871
+ options: {
3872
+ type: "option";
3873
+ attributes: {
3874
+ value: string;
3875
+ label: string;
3876
+ checked?: boolean | undefined;
3877
+ };
3878
+ }[];
3879
+ meta: {
3880
+ schemaVersion: "1.0";
3881
+ labelTranslationKey?: string | undefined;
3882
+ };
3883
+ } | {
3884
+ type: "radioButtons";
3885
+ options: {
3886
+ type: "option";
3887
+ attributes: {
3888
+ value: string;
3889
+ label: string;
3890
+ selected?: boolean | undefined;
3891
+ };
3892
+ }[];
3893
+ meta: {
3894
+ schemaVersion: "1.0";
3895
+ labelTranslationKey?: string | undefined;
3896
+ };
3897
+ } | {
3898
+ type: "selectBox";
3899
+ options: {
3900
+ type: "option";
3901
+ attributes: {
3902
+ value: string;
3903
+ label: string;
3904
+ selected?: boolean | undefined;
3905
+ };
3906
+ }[];
3907
+ meta: {
3908
+ schemaVersion: "1.0";
3909
+ labelTranslationKey?: string | undefined;
3910
+ };
3911
+ attributes: {
3912
+ multiple?: boolean | undefined;
3913
+ };
3914
+ })[];
3915
+ }>, z.ZodObject<{} & {
3916
+ type: z.ZodLiteral<"textArea">;
3917
+ attributes: z.ZodObject<{
3918
+ cols: z.ZodOptional<z.ZodNumber>;
3919
+ maxLength: z.ZodOptional<z.ZodNumber>;
3920
+ minLength: z.ZodOptional<z.ZodNumber>;
3921
+ rows: z.ZodOptional<z.ZodNumber>;
3922
+ }, "strip", z.ZodTypeAny, {
3923
+ maxLength?: number | undefined;
3924
+ minLength?: number | undefined;
3925
+ cols?: number | undefined;
3926
+ rows?: number | undefined;
3927
+ }, {
3928
+ maxLength?: number | undefined;
3929
+ minLength?: number | undefined;
3930
+ cols?: number | undefined;
3931
+ rows?: number | undefined;
3932
+ }>;
3933
+ meta: z.ZodObject<{
3934
+ asRichText: z.ZodOptional<z.ZodBoolean>;
3935
+ }, "strip", z.ZodTypeAny, {
3936
+ asRichText?: boolean | undefined;
3937
+ }, {
3938
+ asRichText?: boolean | undefined;
3939
+ }>;
3940
+ }, "strip", z.ZodTypeAny, {
3941
+ type: "textArea";
3942
+ meta: {
3943
+ asRichText?: boolean | undefined;
3944
+ };
3945
+ attributes: {
3946
+ maxLength?: number | undefined;
3947
+ minLength?: number | undefined;
3948
+ cols?: number | undefined;
3949
+ rows?: number | undefined;
3950
+ };
3951
+ }, {
3952
+ type: "textArea";
3953
+ meta: {
3954
+ asRichText?: boolean | undefined;
3955
+ };
3956
+ attributes: {
3957
+ maxLength?: number | undefined;
3958
+ minLength?: number | undefined;
3959
+ cols?: number | undefined;
3960
+ rows?: number | undefined;
3961
+ };
3962
+ }>, z.ZodObject<{
3963
+ meta: z.ZodObject<{
3964
+ schemaVersion: z.ZodLiteral<"1.0">;
3965
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
3966
+ }, "strip", z.ZodTypeAny, {
3967
+ schemaVersion: "1.0";
3968
+ labelTranslationKey?: string | undefined;
3969
+ }, {
3970
+ schemaVersion: "1.0";
3971
+ labelTranslationKey?: string | undefined;
3972
+ }>;
3973
+ } & {
3974
+ type: z.ZodLiteral<"text">;
3975
+ attributes: z.ZodObject<{
3976
+ maxLength: z.ZodOptional<z.ZodNumber>;
3977
+ minLength: z.ZodOptional<z.ZodNumber>;
3978
+ pattern: z.ZodOptional<z.ZodString>;
3979
+ }, "strip", z.ZodTypeAny, {
3980
+ maxLength?: number | undefined;
3981
+ minLength?: number | undefined;
3982
+ pattern?: string | undefined;
3983
+ }, {
3984
+ maxLength?: number | undefined;
3985
+ minLength?: number | undefined;
3986
+ pattern?: string | undefined;
3987
+ }>;
3988
+ }, "strip", z.ZodTypeAny, {
3989
+ type: "text";
3990
+ meta: {
3991
+ schemaVersion: "1.0";
3992
+ labelTranslationKey?: string | undefined;
3993
+ };
3994
+ attributes: {
3995
+ maxLength?: number | undefined;
3996
+ minLength?: number | undefined;
3997
+ pattern?: string | undefined;
3998
+ };
3999
+ }, {
4000
+ type: "text";
4001
+ meta: {
4002
+ schemaVersion: "1.0";
4003
+ labelTranslationKey?: string | undefined;
4004
+ };
4005
+ attributes: {
4006
+ maxLength?: number | undefined;
4007
+ minLength?: number | undefined;
4008
+ pattern?: string | undefined;
4009
+ };
4010
+ }>, z.ZodObject<{
4011
+ meta: z.ZodObject<{
4012
+ schemaVersion: z.ZodLiteral<"1.0">;
4013
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
4014
+ }, "strip", z.ZodTypeAny, {
4015
+ schemaVersion: "1.0";
4016
+ labelTranslationKey?: string | undefined;
4017
+ }, {
4018
+ schemaVersion: "1.0";
4019
+ labelTranslationKey?: string | undefined;
4020
+ }>;
4021
+ } & {
4022
+ type: z.ZodLiteral<"typeaheadSearch">;
4023
+ graphQL: z.ZodObject<{
4024
+ displayFields: z.ZodArray<z.ZodObject<{
4025
+ propertyName: z.ZodString;
4026
+ label: z.ZodString;
4027
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
4028
+ }, "strip", z.ZodTypeAny, {
4029
+ label: string;
4030
+ propertyName: string;
4031
+ labelTranslationKey?: string | undefined;
4032
+ }, {
4033
+ label: string;
4034
+ propertyName: string;
4035
+ labelTranslationKey?: string | undefined;
4036
+ }>, "many">;
4037
+ localQueryId: z.ZodOptional<z.ZodString>;
4038
+ query: z.ZodOptional<z.ZodString>;
4039
+ responseField: z.ZodString;
4040
+ variables: z.ZodArray<z.ZodObject<{
4041
+ minLength: z.ZodOptional<z.ZodNumber>;
4042
+ label: z.ZodOptional<z.ZodString>;
4043
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
4044
+ name: z.ZodString;
4045
+ type: z.ZodString;
4046
+ defaultValue: z.ZodOptional<z.ZodString>;
4047
+ }, "strip", z.ZodTypeAny, {
4048
+ type: string;
4049
+ name: string;
4050
+ labelTranslationKey?: string | undefined;
4051
+ minLength?: number | undefined;
4052
+ label?: string | undefined;
4053
+ defaultValue?: string | undefined;
4054
+ }, {
4055
+ type: string;
4056
+ name: string;
4057
+ labelTranslationKey?: string | undefined;
4058
+ minLength?: number | undefined;
4059
+ label?: string | undefined;
4060
+ defaultValue?: string | undefined;
4061
+ }>, "many">;
4062
+ }, "strip", z.ZodTypeAny, {
4063
+ displayFields: {
4064
+ label: string;
4065
+ propertyName: string;
4066
+ labelTranslationKey?: string | undefined;
4067
+ }[];
4068
+ responseField: string;
4069
+ variables: {
4070
+ type: string;
4071
+ name: string;
4072
+ labelTranslationKey?: string | undefined;
4073
+ minLength?: number | undefined;
4074
+ label?: string | undefined;
4075
+ defaultValue?: string | undefined;
4076
+ }[];
4077
+ localQueryId?: string | undefined;
4078
+ query?: string | undefined;
4079
+ }, {
4080
+ displayFields: {
4081
+ label: string;
4082
+ propertyName: string;
4083
+ labelTranslationKey?: string | undefined;
4084
+ }[];
4085
+ responseField: string;
4086
+ variables: {
4087
+ type: string;
4088
+ name: string;
4089
+ labelTranslationKey?: string | undefined;
4090
+ minLength?: number | undefined;
4091
+ label?: string | undefined;
4092
+ defaultValue?: string | undefined;
4093
+ }[];
4094
+ localQueryId?: string | undefined;
4095
+ query?: string | undefined;
4096
+ }>;
4097
+ }, "strip", z.ZodTypeAny, {
4098
+ type: "typeaheadSearch";
4099
+ meta: {
4100
+ schemaVersion: "1.0";
4101
+ labelTranslationKey?: string | undefined;
4102
+ };
4103
+ graphQL: {
4104
+ displayFields: {
4105
+ label: string;
4106
+ propertyName: string;
4107
+ labelTranslationKey?: string | undefined;
4108
+ }[];
4109
+ responseField: string;
4110
+ variables: {
4111
+ type: string;
4112
+ name: string;
4113
+ labelTranslationKey?: string | undefined;
4114
+ minLength?: number | undefined;
4115
+ label?: string | undefined;
4116
+ defaultValue?: string | undefined;
4117
+ }[];
4118
+ localQueryId?: string | undefined;
4119
+ query?: string | undefined;
4120
+ };
4121
+ }, {
4122
+ type: "typeaheadSearch";
4123
+ meta: {
4124
+ schemaVersion: "1.0";
4125
+ labelTranslationKey?: string | undefined;
4126
+ };
4127
+ graphQL: {
4128
+ displayFields: {
4129
+ label: string;
4130
+ propertyName: string;
4131
+ labelTranslationKey?: string | undefined;
4132
+ }[];
4133
+ responseField: string;
4134
+ variables: {
4135
+ type: string;
4136
+ name: string;
4137
+ labelTranslationKey?: string | undefined;
4138
+ minLength?: number | undefined;
4139
+ label?: string | undefined;
4140
+ defaultValue?: string | undefined;
4141
+ }[];
4142
+ localQueryId?: string | undefined;
4143
+ query?: string | undefined;
4144
+ };
4145
+ }>, z.ZodObject<{
4146
+ meta: z.ZodObject<{
4147
+ schemaVersion: z.ZodLiteral<"1.0">;
4148
+ labelTranslationKey: z.ZodOptional<z.ZodString>;
4149
+ }, "strip", z.ZodTypeAny, {
4150
+ schemaVersion: "1.0";
4151
+ labelTranslationKey?: string | undefined;
4152
+ }, {
4153
+ schemaVersion: "1.0";
4154
+ labelTranslationKey?: string | undefined;
4155
+ }>;
4156
+ } & {
4157
+ type: z.ZodLiteral<"url">;
4158
+ attributes: z.ZodObject<{
4159
+ maxLength: z.ZodOptional<z.ZodNumber>;
4160
+ minLength: z.ZodOptional<z.ZodNumber>;
4161
+ pattern: z.ZodOptional<z.ZodString>;
4162
+ }, "strip", z.ZodTypeAny, {
4163
+ maxLength?: number | undefined;
4164
+ minLength?: number | undefined;
4165
+ pattern?: string | undefined;
4166
+ }, {
4167
+ maxLength?: number | undefined;
4168
+ minLength?: number | undefined;
4169
+ pattern?: string | undefined;
4170
+ }>;
4171
+ }, "strip", z.ZodTypeAny, {
4172
+ type: "url";
4173
+ meta: {
4174
+ schemaVersion: "1.0";
4175
+ labelTranslationKey?: string | undefined;
4176
+ };
4177
+ attributes: {
4178
+ maxLength?: number | undefined;
4179
+ minLength?: number | undefined;
4180
+ pattern?: string | undefined;
4181
+ };
4182
+ }, {
4183
+ type: "url";
4184
+ meta: {
4185
+ schemaVersion: "1.0";
4186
+ labelTranslationKey?: string | undefined;
4187
+ };
4188
+ attributes: {
4189
+ maxLength?: number | undefined;
4190
+ minLength?: number | undefined;
4191
+ pattern?: string | undefined;
4192
+ };
4193
+ }>]>;
4194
+ export type TableQuestionType = z.infer<typeof TableQuestion>;
4195
+ export type AnyQuestionType = z.infer<typeof AnyQuestion>;