@dmptool/types 1.0.8 → 1.1.1

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