@openframe-org/criteria-set-protocol 2.0.0-beta.8 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/README.md +27 -34
  2. package/dist/index.d.ts +1 -1
  3. package/dist/v1/errors/DataValidationError.d.ts +1 -1
  4. package/dist/v1/errors/DataValidationError.js +1 -1
  5. package/dist/v1/errors/ParameterValidationError.d.ts +1 -1
  6. package/dist/v1/errors/ParameterValidationError.js +1 -1
  7. package/dist/v1/errors/ValidationError.d.ts +1 -1
  8. package/dist/v1/errors/ValidationError.js +1 -1
  9. package/dist/v1/errors/index.d.ts +4 -4
  10. package/dist/v1/errors/types.d.ts +1 -1
  11. package/dist/v1/index.d.ts +5 -5
  12. package/dist/v1/schemas/certification.d.ts +1 -1
  13. package/dist/v1/schemas/certification.js +13 -19
  14. package/dist/v1/schemas/common.d.ts +1 -1
  15. package/dist/v1/schemas/common.js +8 -16
  16. package/dist/v1/schemas/criteria-tree.d.ts +1 -49
  17. package/dist/v1/schemas/criteria-tree.js +5 -13
  18. package/dist/v1/schemas/criterion.d.ts +1 -10
  19. package/dist/v1/schemas/criterion.js +4 -4
  20. package/dist/v1/schemas/data-map.d.ts +1 -1
  21. package/dist/v1/schemas/data-map.js +1 -1
  22. package/dist/v1/schemas/documentation.d.ts +1 -1
  23. package/dist/v1/schemas/documentation.js +5 -9
  24. package/dist/v1/schemas/index.d.ts +13 -13
  25. package/dist/v1/schemas/metadata.d.ts +1 -1
  26. package/dist/v1/schemas/metadata.js +6 -6
  27. package/dist/v1/schemas/quality.d.ts +141 -469
  28. package/dist/v1/schemas/quality.js +7 -7
  29. package/dist/v1/schemas/request/criteria-set-id-param-schema.d.ts +1 -1
  30. package/dist/v1/schemas/request/criteria-set-id-param-schema.js +2 -3
  31. package/dist/v1/schemas/request/index.d.ts +4 -4
  32. package/dist/v1/schemas/request/matrix-body-schema.d.ts +1 -1
  33. package/dist/v1/schemas/request/matrix-body-schema.js +3 -5
  34. package/dist/v1/schemas/request/matrix-request-body-schema.d.ts +1 -1
  35. package/dist/v1/schemas/request/matrix-request-body-schema.js +6 -8
  36. package/dist/v1/schemas/request/tree-and-data-body-schema.d.ts +1 -1
  37. package/dist/v1/schemas/request/tree-and-data-body-schema.js +3 -5
  38. package/dist/v1/schemas/request/tree-and-data-request-body-schema.d.ts +1 -1
  39. package/dist/v1/schemas/request/tree-and-data-request-body-schema.js +5 -7
  40. package/dist/v1/schemas/request/version-param-schema.d.ts +1 -1
  41. package/dist/v1/schemas/request/version-param-schema.js +2 -3
  42. package/dist/v1/schemas/response.d.ts +2 -2
  43. package/dist/v1/schemas/response.js +1 -1
  44. package/dist/v1/schemas/task-group.d.ts +1 -8
  45. package/dist/v1/schemas/task-group.js +5 -5
  46. package/dist/v1/schemas/task-item.d.ts +1 -4
  47. package/dist/v1/schemas/task-item.js +27 -35
  48. package/dist/v1/schemas/task.d.ts +1 -6
  49. package/dist/v1/schemas/task.js +4 -4
  50. package/dist/v1/schemas/theme.d.ts +1 -12
  51. package/dist/v1/schemas/theme.js +4 -4
  52. package/dist/v1/services/i-criteria-set.service.d.ts +1 -1
  53. package/dist/v1/services/index.d.ts +2 -2
  54. package/dist/v1/services/manager.service.js +1 -4
  55. package/dist/v1/types/criteria.d.ts +2 -2
  56. package/dist/v1/types/express.d.ts +3 -3
  57. package/dist/v1/types/index.d.ts +2 -2
  58. package/dist/v1/utils.d.ts +3 -8
  59. package/dist/v1/utils.js +6 -6
  60. package/package.json +3 -11
@@ -1,4 +1,4 @@
1
- import { z } from "zod";
1
+ import { z } from 'zod';
2
2
  export declare const colorSchema: z.ZodUnion<[z.ZodString, z.ZodObject<{
3
3
  red: z.ZodNumber;
4
4
  green: z.ZodNumber;
@@ -67,14 +67,12 @@ export declare const qualitySchema: z.ZodObject<{
67
67
  title: z.ZodString;
68
68
  code: z.ZodString;
69
69
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
70
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
71
- type: z.ZodEnum<["pdf", "text", "link"]>;
72
- label: z.ZodString;
73
- text: z.ZodString;
74
- }, {
70
+ documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
75
71
  type: z.ZodLiteral<"pdf">;
72
+ label: z.ZodString;
76
73
  url: z.ZodString;
77
- }>, "strip", z.ZodTypeAny, {
74
+ text: z.ZodString;
75
+ }, "strip", z.ZodTypeAny, {
78
76
  type: "pdf";
79
77
  url: string;
80
78
  label: string;
@@ -84,13 +82,11 @@ export declare const qualitySchema: z.ZodObject<{
84
82
  url: string;
85
83
  label: string;
86
84
  text: string;
87
- }>, z.ZodObject<z.objectUtil.extendShape<{
88
- type: z.ZodEnum<["pdf", "text", "link"]>;
85
+ }>, z.ZodObject<{
86
+ type: z.ZodLiteral<"text">;
89
87
  label: z.ZodString;
90
88
  text: z.ZodString;
91
- }, {
92
- type: z.ZodLiteral<"text">;
93
- }>, "strip", z.ZodTypeAny, {
89
+ }, "strip", z.ZodTypeAny, {
94
90
  type: "text";
95
91
  label: string;
96
92
  text: string;
@@ -98,14 +94,12 @@ export declare const qualitySchema: z.ZodObject<{
98
94
  type: "text";
99
95
  label: string;
100
96
  text: string;
101
- }>, z.ZodObject<z.objectUtil.extendShape<{
102
- type: z.ZodEnum<["pdf", "text", "link"]>;
103
- label: z.ZodString;
104
- text: z.ZodString;
105
- }, {
97
+ }>, z.ZodObject<{
106
98
  type: z.ZodLiteral<"link">;
99
+ label: z.ZodString;
107
100
  url: z.ZodString;
108
- }>, "strip", z.ZodTypeAny, {
101
+ text: z.ZodString;
102
+ }, "strip", z.ZodTypeAny, {
109
103
  type: "link";
110
104
  url: string;
111
105
  label: string;
@@ -168,19 +162,17 @@ export declare const qualitySchema: z.ZodObject<{
168
162
  blue: number;
169
163
  };
170
164
  }>>;
171
- items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
172
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
165
+ items: z.ZodArray<z.ZodObject<{
166
+ type: z.ZodLiteral<"criterion">;
173
167
  title: z.ZodString;
174
168
  code: z.ZodString;
175
169
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
176
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
177
- type: z.ZodEnum<["pdf", "text", "link"]>;
178
- label: z.ZodString;
179
- text: z.ZodString;
180
- }, {
170
+ documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
181
171
  type: z.ZodLiteral<"pdf">;
172
+ label: z.ZodString;
182
173
  url: z.ZodString;
183
- }>, "strip", z.ZodTypeAny, {
174
+ text: z.ZodString;
175
+ }, "strip", z.ZodTypeAny, {
184
176
  type: "pdf";
185
177
  url: string;
186
178
  label: string;
@@ -190,13 +182,11 @@ export declare const qualitySchema: z.ZodObject<{
190
182
  url: string;
191
183
  label: string;
192
184
  text: string;
193
- }>, z.ZodObject<z.objectUtil.extendShape<{
194
- type: z.ZodEnum<["pdf", "text", "link"]>;
185
+ }>, z.ZodObject<{
186
+ type: z.ZodLiteral<"text">;
195
187
  label: z.ZodString;
196
188
  text: z.ZodString;
197
- }, {
198
- type: z.ZodLiteral<"text">;
199
- }>, "strip", z.ZodTypeAny, {
189
+ }, "strip", z.ZodTypeAny, {
200
190
  type: "text";
201
191
  label: string;
202
192
  text: string;
@@ -204,14 +194,12 @@ export declare const qualitySchema: z.ZodObject<{
204
194
  type: "text";
205
195
  label: string;
206
196
  text: string;
207
- }>, z.ZodObject<z.objectUtil.extendShape<{
208
- type: z.ZodEnum<["pdf", "text", "link"]>;
209
- label: z.ZodString;
210
- text: z.ZodString;
211
- }, {
197
+ }>, z.ZodObject<{
212
198
  type: z.ZodLiteral<"link">;
199
+ label: z.ZodString;
213
200
  url: z.ZodString;
214
- }>, "strip", z.ZodTypeAny, {
201
+ text: z.ZodString;
202
+ }, "strip", z.ZodTypeAny, {
215
203
  type: "link";
216
204
  url: string;
217
205
  label: string;
@@ -222,32 +210,19 @@ export declare const qualitySchema: z.ZodObject<{
222
210
  label: string;
223
211
  text: string;
224
212
  }>]>, "many">>;
225
- data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
226
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
227
- text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
228
- }, "strip", z.ZodTypeAny, {
229
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
230
- text?: string | undefined;
231
- }, {
232
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
233
- text?: string | undefined;
234
- }>>>;
213
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
235
214
  sortOrder: z.ZodOptional<z.ZodNumber>;
236
- }, {
237
- type: z.ZodLiteral<"criterion">;
238
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
239
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
215
+ items: z.ZodArray<z.ZodObject<{
216
+ type: z.ZodLiteral<"task-group">;
240
217
  title: z.ZodString;
241
218
  code: z.ZodString;
242
219
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
243
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
244
- type: z.ZodEnum<["pdf", "text", "link"]>;
245
- label: z.ZodString;
246
- text: z.ZodString;
247
- }, {
220
+ documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
248
221
  type: z.ZodLiteral<"pdf">;
222
+ label: z.ZodString;
249
223
  url: z.ZodString;
250
- }>, "strip", z.ZodTypeAny, {
224
+ text: z.ZodString;
225
+ }, "strip", z.ZodTypeAny, {
251
226
  type: "pdf";
252
227
  url: string;
253
228
  label: string;
@@ -257,13 +232,11 @@ export declare const qualitySchema: z.ZodObject<{
257
232
  url: string;
258
233
  label: string;
259
234
  text: string;
260
- }>, z.ZodObject<z.objectUtil.extendShape<{
261
- type: z.ZodEnum<["pdf", "text", "link"]>;
235
+ }>, z.ZodObject<{
236
+ type: z.ZodLiteral<"text">;
262
237
  label: z.ZodString;
263
238
  text: z.ZodString;
264
- }, {
265
- type: z.ZodLiteral<"text">;
266
- }>, "strip", z.ZodTypeAny, {
239
+ }, "strip", z.ZodTypeAny, {
267
240
  type: "text";
268
241
  label: string;
269
242
  text: string;
@@ -271,14 +244,12 @@ export declare const qualitySchema: z.ZodObject<{
271
244
  type: "text";
272
245
  label: string;
273
246
  text: string;
274
- }>, z.ZodObject<z.objectUtil.extendShape<{
275
- type: z.ZodEnum<["pdf", "text", "link"]>;
276
- label: z.ZodString;
277
- text: z.ZodString;
278
- }, {
247
+ }>, z.ZodObject<{
279
248
  type: z.ZodLiteral<"link">;
249
+ label: z.ZodString;
280
250
  url: z.ZodString;
281
- }>, "strip", z.ZodTypeAny, {
251
+ text: z.ZodString;
252
+ }, "strip", z.ZodTypeAny, {
282
253
  type: "link";
283
254
  url: string;
284
255
  label: string;
@@ -289,33 +260,20 @@ export declare const qualitySchema: z.ZodObject<{
289
260
  label: string;
290
261
  text: string;
291
262
  }>]>, "many">>;
292
- data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
293
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
294
- text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
295
- }, "strip", z.ZodTypeAny, {
296
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
297
- text?: string | undefined;
298
- }, {
299
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
300
- text?: string | undefined;
301
- }>>>;
263
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
302
264
  sortOrder: z.ZodOptional<z.ZodNumber>;
303
- }, {
304
- type: z.ZodLiteral<"task-group">;
305
265
  category: z.ZodOptional<z.ZodString>;
306
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
307
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
266
+ items: z.ZodArray<z.ZodObject<{
267
+ type: z.ZodLiteral<"task">;
308
268
  title: z.ZodString;
309
269
  code: z.ZodString;
310
270
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
311
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
312
- type: z.ZodEnum<["pdf", "text", "link"]>;
313
- label: z.ZodString;
314
- text: z.ZodString;
315
- }, {
271
+ documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
316
272
  type: z.ZodLiteral<"pdf">;
273
+ label: z.ZodString;
317
274
  url: z.ZodString;
318
- }>, "strip", z.ZodTypeAny, {
275
+ text: z.ZodString;
276
+ }, "strip", z.ZodTypeAny, {
319
277
  type: "pdf";
320
278
  url: string;
321
279
  label: string;
@@ -325,13 +283,11 @@ export declare const qualitySchema: z.ZodObject<{
325
283
  url: string;
326
284
  label: string;
327
285
  text: string;
328
- }>, z.ZodObject<z.objectUtil.extendShape<{
329
- type: z.ZodEnum<["pdf", "text", "link"]>;
286
+ }>, z.ZodObject<{
287
+ type: z.ZodLiteral<"text">;
330
288
  label: z.ZodString;
331
289
  text: z.ZodString;
332
- }, {
333
- type: z.ZodLiteral<"text">;
334
- }>, "strip", z.ZodTypeAny, {
290
+ }, "strip", z.ZodTypeAny, {
335
291
  type: "text";
336
292
  label: string;
337
293
  text: string;
@@ -339,14 +295,12 @@ export declare const qualitySchema: z.ZodObject<{
339
295
  type: "text";
340
296
  label: string;
341
297
  text: string;
342
- }>, z.ZodObject<z.objectUtil.extendShape<{
343
- type: z.ZodEnum<["pdf", "text", "link"]>;
344
- label: z.ZodString;
345
- text: z.ZodString;
346
- }, {
298
+ }>, z.ZodObject<{
347
299
  type: z.ZodLiteral<"link">;
300
+ label: z.ZodString;
348
301
  url: z.ZodString;
349
- }>, "strip", z.ZodTypeAny, {
302
+ text: z.ZodString;
303
+ }, "strip", z.ZodTypeAny, {
350
304
  type: "link";
351
305
  url: string;
352
306
  label: string;
@@ -357,33 +311,19 @@ export declare const qualitySchema: z.ZodObject<{
357
311
  label: string;
358
312
  text: string;
359
313
  }>]>, "many">>;
360
- data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
361
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
362
- text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
363
- }, "strip", z.ZodTypeAny, {
364
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
365
- text?: string | undefined;
366
- }, {
367
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
368
- text?: string | undefined;
369
- }>>>;
314
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
370
315
  sortOrder: z.ZodOptional<z.ZodNumber>;
371
- }, {
372
- type: z.ZodLiteral<"task">;
373
316
  description: z.ZodOptional<z.ZodString>;
374
- items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
375
- type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
376
- title: z.ZodString;
317
+ items: z.ZodArray<z.ZodObject<{
318
+ type: z.ZodLiteral<"task-item">;
377
319
  code: z.ZodString;
378
320
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
379
- documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
380
- type: z.ZodEnum<["pdf", "text", "link"]>;
381
- label: z.ZodString;
382
- text: z.ZodString;
383
- }, {
321
+ documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
384
322
  type: z.ZodLiteral<"pdf">;
323
+ label: z.ZodString;
385
324
  url: z.ZodString;
386
- }>, "strip", z.ZodTypeAny, {
325
+ text: z.ZodString;
326
+ }, "strip", z.ZodTypeAny, {
387
327
  type: "pdf";
388
328
  url: string;
389
329
  label: string;
@@ -393,13 +333,11 @@ export declare const qualitySchema: z.ZodObject<{
393
333
  url: string;
394
334
  label: string;
395
335
  text: string;
396
- }>, z.ZodObject<z.objectUtil.extendShape<{
397
- type: z.ZodEnum<["pdf", "text", "link"]>;
336
+ }>, z.ZodObject<{
337
+ type: z.ZodLiteral<"text">;
398
338
  label: z.ZodString;
399
339
  text: z.ZodString;
400
- }, {
401
- type: z.ZodLiteral<"text">;
402
- }>, "strip", z.ZodTypeAny, {
340
+ }, "strip", z.ZodTypeAny, {
403
341
  type: "text";
404
342
  label: string;
405
343
  text: string;
@@ -407,14 +345,12 @@ export declare const qualitySchema: z.ZodObject<{
407
345
  type: "text";
408
346
  label: string;
409
347
  text: string;
410
- }>, z.ZodObject<z.objectUtil.extendShape<{
411
- type: z.ZodEnum<["pdf", "text", "link"]>;
412
- label: z.ZodString;
413
- text: z.ZodString;
414
- }, {
348
+ }>, z.ZodObject<{
415
349
  type: z.ZodLiteral<"link">;
350
+ label: z.ZodString;
416
351
  url: z.ZodString;
417
- }>, "strip", z.ZodTypeAny, {
352
+ text: z.ZodString;
353
+ }, "strip", z.ZodTypeAny, {
418
354
  type: "link";
419
355
  url: string;
420
356
  label: string;
@@ -425,35 +361,9 @@ export declare const qualitySchema: z.ZodObject<{
425
361
  label: string;
426
362
  text: string;
427
363
  }>]>, "many">>;
428
- data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
429
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
430
- text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
431
- }, "strip", z.ZodTypeAny, {
432
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
433
- text?: string | undefined;
434
- }, {
435
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
436
- text?: string | undefined;
437
- }>>>;
364
+ data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
438
365
  sortOrder: z.ZodOptional<z.ZodNumber>;
439
- }, {
440
- type: z.ZodLiteral<"task-item">;
441
- data: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
442
- value: z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>;
443
- text: z.ZodOptional<z.ZodOptional<z.ZodString>>;
444
- valueReference: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
445
- }, "strip", z.ZodTypeAny, {
446
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
447
- text?: string | undefined;
448
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
449
- }, {
450
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
451
- text?: string | undefined;
452
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
453
- }>>>;
454
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
455
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
456
- }, {
366
+ definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
457
367
  type: z.ZodLiteral<"select-single">;
458
368
  options: z.ZodArray<z.ZodObject<{
459
369
  id: z.ZodOptional<z.ZodString>;
@@ -474,7 +384,7 @@ export declare const qualitySchema: z.ZodObject<{
474
384
  intro?: string | undefined;
475
385
  outro?: string | undefined;
476
386
  }>, "many">;
477
- }>, "strip", z.ZodTypeAny, {
387
+ }, "strip", z.ZodTypeAny, {
478
388
  type: "select-single";
479
389
  options: {
480
390
  value: string | number | boolean | null;
@@ -492,9 +402,7 @@ export declare const qualitySchema: z.ZodObject<{
492
402
  intro?: string | undefined;
493
403
  outro?: string | undefined;
494
404
  }[];
495
- }>, z.ZodObject<z.objectUtil.extendShape<{
496
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
497
- }, {
405
+ }>, z.ZodObject<{
498
406
  type: z.ZodLiteral<"select-multiple">;
499
407
  options: z.ZodArray<z.ZodObject<{
500
408
  id: z.ZodOptional<z.ZodString>;
@@ -515,7 +423,7 @@ export declare const qualitySchema: z.ZodObject<{
515
423
  intro?: string | undefined;
516
424
  outro?: string | undefined;
517
425
  }>, "many">;
518
- }>, "strip", z.ZodTypeAny, {
426
+ }, "strip", z.ZodTypeAny, {
519
427
  type: "select-multiple";
520
428
  options: {
521
429
  value: string | number | boolean | null;
@@ -533,14 +441,12 @@ export declare const qualitySchema: z.ZodObject<{
533
441
  intro?: string | undefined;
534
442
  outro?: string | undefined;
535
443
  }[];
536
- }>, z.ZodObject<z.objectUtil.extendShape<{
537
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
538
- }, {
444
+ }>, z.ZodObject<{
539
445
  type: z.ZodLiteral<"number">;
540
446
  minimum: z.ZodOptional<z.ZodNumber>;
541
447
  maximum: z.ZodOptional<z.ZodNumber>;
542
448
  step: z.ZodOptional<z.ZodNumber>;
543
- }>, "strip", z.ZodTypeAny, {
449
+ }, "strip", z.ZodTypeAny, {
544
450
  type: "number";
545
451
  minimum?: number | undefined;
546
452
  maximum?: number | undefined;
@@ -550,46 +456,36 @@ export declare const qualitySchema: z.ZodObject<{
550
456
  minimum?: number | undefined;
551
457
  maximum?: number | undefined;
552
458
  step?: number | undefined;
553
- }>, z.ZodObject<z.objectUtil.extendShape<{
554
- type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
555
- }, {
459
+ }>, z.ZodObject<{
556
460
  type: z.ZodLiteral<"boolean">;
557
461
  labels: z.ZodOptional<z.ZodObject<{
558
- true: z.ZodString;
559
- false: z.ZodString;
462
+ true: z.ZodOptional<z.ZodString>;
463
+ false: z.ZodOptional<z.ZodString>;
560
464
  }, "strip", z.ZodTypeAny, {
561
- false: string;
562
- true: string;
465
+ false?: string | undefined;
466
+ true?: string | undefined;
563
467
  }, {
564
- false: string;
565
- true: string;
468
+ false?: string | undefined;
469
+ true?: string | undefined;
566
470
  }>>;
567
- }>, "strip", z.ZodTypeAny, {
471
+ }, "strip", z.ZodTypeAny, {
568
472
  type: "boolean";
569
473
  labels?: {
570
- false: string;
571
- true: string;
474
+ false?: string | undefined;
475
+ true?: string | undefined;
572
476
  } | undefined;
573
477
  }, {
574
478
  type: "boolean";
575
479
  labels?: {
576
- false: string;
577
- true: string;
480
+ false?: string | undefined;
481
+ true?: string | undefined;
578
482
  } | undefined;
579
483
  }>]>;
580
484
  description: z.ZodOptional<z.ZodString>;
581
485
  providedData: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull]>, "many">]>>>;
582
- options: z.ZodOptional<z.ZodObject<{
583
- hideCode: z.ZodOptional<z.ZodBoolean>;
584
- }, "strip", z.ZodTypeAny, {
585
- hideCode?: boolean | undefined;
586
- }, {
587
- hideCode?: boolean | undefined;
588
- }>>;
589
- }>, "strip", z.ZodTypeAny, {
486
+ }, "strip", z.ZodTypeAny, {
590
487
  type: "task-item";
591
488
  code: string;
592
- title: string;
593
489
  definition: {
594
490
  type: "select-single";
595
491
  options: {
@@ -616,18 +512,11 @@ export declare const qualitySchema: z.ZodObject<{
616
512
  } | {
617
513
  type: "boolean";
618
514
  labels?: {
619
- false: string;
620
- true: string;
515
+ false?: string | undefined;
516
+ true?: string | undefined;
621
517
  } | undefined;
622
518
  };
623
- data?: (Record<string, any> & {
624
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
625
- text?: string | undefined;
626
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
627
- }) | undefined;
628
- options?: {
629
- hideCode?: boolean | undefined;
630
- } | undefined;
519
+ data?: Record<string, any> | undefined;
631
520
  description?: string | undefined;
632
521
  tags?: string[] | undefined;
633
522
  documentation?: ({
@@ -650,7 +539,6 @@ export declare const qualitySchema: z.ZodObject<{
650
539
  }, {
651
540
  type: "task-item";
652
541
  code: string;
653
- title: string;
654
542
  definition: {
655
543
  type: "select-single";
656
544
  options: {
@@ -677,18 +565,11 @@ export declare const qualitySchema: z.ZodObject<{
677
565
  } | {
678
566
  type: "boolean";
679
567
  labels?: {
680
- false: string;
681
- true: string;
568
+ false?: string | undefined;
569
+ true?: string | undefined;
682
570
  } | undefined;
683
571
  };
684
- data?: (Record<string, any> & {
685
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
686
- text?: string | undefined;
687
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
688
- }) | undefined;
689
- options?: {
690
- hideCode?: boolean | undefined;
691
- } | undefined;
572
+ data?: Record<string, any> | undefined;
692
573
  description?: string | undefined;
693
574
  tags?: string[] | undefined;
694
575
  documentation?: ({
@@ -708,22 +589,14 @@ export declare const qualitySchema: z.ZodObject<{
708
589
  })[] | undefined;
709
590
  sortOrder?: number | undefined;
710
591
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
711
- }>>, "many">;
712
- options: z.ZodOptional<z.ZodObject<{
713
- hideCode: z.ZodOptional<z.ZodBoolean>;
714
- }, "strip", z.ZodTypeAny, {
715
- hideCode?: boolean | undefined;
716
- }, {
717
- hideCode?: boolean | undefined;
718
- }>>;
719
- }>, "strip", z.ZodTypeAny, {
592
+ }>, "many">;
593
+ }, "strip", z.ZodTypeAny, {
720
594
  type: "task";
721
595
  code: string;
722
596
  title: string;
723
597
  items: {
724
598
  type: "task-item";
725
599
  code: string;
726
- title: string;
727
600
  definition: {
728
601
  type: "select-single";
729
602
  options: {
@@ -750,18 +623,11 @@ export declare const qualitySchema: z.ZodObject<{
750
623
  } | {
751
624
  type: "boolean";
752
625
  labels?: {
753
- false: string;
754
- true: string;
626
+ false?: string | undefined;
627
+ true?: string | undefined;
755
628
  } | undefined;
756
629
  };
757
- data?: (Record<string, any> & {
758
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
759
- text?: string | undefined;
760
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
761
- }) | undefined;
762
- options?: {
763
- hideCode?: boolean | undefined;
764
- } | undefined;
630
+ data?: Record<string, any> | undefined;
765
631
  description?: string | undefined;
766
632
  tags?: string[] | undefined;
767
633
  documentation?: ({
@@ -782,13 +648,7 @@ export declare const qualitySchema: z.ZodObject<{
782
648
  sortOrder?: number | undefined;
783
649
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
784
650
  }[];
785
- data?: (Record<string, any> & {
786
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
787
- text?: string | undefined;
788
- }) | undefined;
789
- options?: {
790
- hideCode?: boolean | undefined;
791
- } | undefined;
651
+ data?: Record<string, any> | undefined;
792
652
  description?: string | undefined;
793
653
  tags?: string[] | undefined;
794
654
  documentation?: ({
@@ -814,7 +674,6 @@ export declare const qualitySchema: z.ZodObject<{
814
674
  items: {
815
675
  type: "task-item";
816
676
  code: string;
817
- title: string;
818
677
  definition: {
819
678
  type: "select-single";
820
679
  options: {
@@ -841,18 +700,11 @@ export declare const qualitySchema: z.ZodObject<{
841
700
  } | {
842
701
  type: "boolean";
843
702
  labels?: {
844
- false: string;
845
- true: string;
703
+ false?: string | undefined;
704
+ true?: string | undefined;
846
705
  } | undefined;
847
706
  };
848
- data?: (Record<string, any> & {
849
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
850
- text?: string | undefined;
851
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
852
- }) | undefined;
853
- options?: {
854
- hideCode?: boolean | undefined;
855
- } | undefined;
707
+ data?: Record<string, any> | undefined;
856
708
  description?: string | undefined;
857
709
  tags?: string[] | undefined;
858
710
  documentation?: ({
@@ -873,13 +725,7 @@ export declare const qualitySchema: z.ZodObject<{
873
725
  sortOrder?: number | undefined;
874
726
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
875
727
  }[];
876
- data?: (Record<string, any> & {
877
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
878
- text?: string | undefined;
879
- }) | undefined;
880
- options?: {
881
- hideCode?: boolean | undefined;
882
- } | undefined;
728
+ data?: Record<string, any> | undefined;
883
729
  description?: string | undefined;
884
730
  tags?: string[] | undefined;
885
731
  documentation?: ({
@@ -898,18 +744,8 @@ export declare const qualitySchema: z.ZodObject<{
898
744
  text: string;
899
745
  })[] | undefined;
900
746
  sortOrder?: number | undefined;
901
- }>>, "many">;
902
- options: z.ZodOptional<z.ZodObject<{
903
- hideCode: z.ZodOptional<z.ZodBoolean>;
904
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
905
- }, "strip", z.ZodTypeAny, {
906
- hideCode?: boolean | undefined;
907
- hideFromHierarchy?: boolean | undefined;
908
- }, {
909
- hideCode?: boolean | undefined;
910
- hideFromHierarchy?: boolean | undefined;
911
- }>>;
912
- }>, "strip", z.ZodTypeAny, {
747
+ }>, "many">;
748
+ }, "strip", z.ZodTypeAny, {
913
749
  type: "task-group";
914
750
  code: string;
915
751
  title: string;
@@ -920,7 +756,6 @@ export declare const qualitySchema: z.ZodObject<{
920
756
  items: {
921
757
  type: "task-item";
922
758
  code: string;
923
- title: string;
924
759
  definition: {
925
760
  type: "select-single";
926
761
  options: {
@@ -947,18 +782,11 @@ export declare const qualitySchema: z.ZodObject<{
947
782
  } | {
948
783
  type: "boolean";
949
784
  labels?: {
950
- false: string;
951
- true: string;
785
+ false?: string | undefined;
786
+ true?: string | undefined;
952
787
  } | undefined;
953
788
  };
954
- data?: (Record<string, any> & {
955
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
956
- text?: string | undefined;
957
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
958
- }) | undefined;
959
- options?: {
960
- hideCode?: boolean | undefined;
961
- } | undefined;
789
+ data?: Record<string, any> | undefined;
962
790
  description?: string | undefined;
963
791
  tags?: string[] | undefined;
964
792
  documentation?: ({
@@ -979,13 +807,7 @@ export declare const qualitySchema: z.ZodObject<{
979
807
  sortOrder?: number | undefined;
980
808
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
981
809
  }[];
982
- data?: (Record<string, any> & {
983
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
984
- text?: string | undefined;
985
- }) | undefined;
986
- options?: {
987
- hideCode?: boolean | undefined;
988
- } | undefined;
810
+ data?: Record<string, any> | undefined;
989
811
  description?: string | undefined;
990
812
  tags?: string[] | undefined;
991
813
  documentation?: ({
@@ -1005,14 +827,7 @@ export declare const qualitySchema: z.ZodObject<{
1005
827
  })[] | undefined;
1006
828
  sortOrder?: number | undefined;
1007
829
  }[];
1008
- data?: (Record<string, any> & {
1009
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1010
- text?: string | undefined;
1011
- }) | undefined;
1012
- options?: {
1013
- hideCode?: boolean | undefined;
1014
- hideFromHierarchy?: boolean | undefined;
1015
- } | undefined;
830
+ data?: Record<string, any> | undefined;
1016
831
  tags?: string[] | undefined;
1017
832
  documentation?: ({
1018
833
  type: "pdf";
@@ -1042,7 +857,6 @@ export declare const qualitySchema: z.ZodObject<{
1042
857
  items: {
1043
858
  type: "task-item";
1044
859
  code: string;
1045
- title: string;
1046
860
  definition: {
1047
861
  type: "select-single";
1048
862
  options: {
@@ -1069,18 +883,11 @@ export declare const qualitySchema: z.ZodObject<{
1069
883
  } | {
1070
884
  type: "boolean";
1071
885
  labels?: {
1072
- false: string;
1073
- true: string;
886
+ false?: string | undefined;
887
+ true?: string | undefined;
1074
888
  } | undefined;
1075
889
  };
1076
- data?: (Record<string, any> & {
1077
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1078
- text?: string | undefined;
1079
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1080
- }) | undefined;
1081
- options?: {
1082
- hideCode?: boolean | undefined;
1083
- } | undefined;
890
+ data?: Record<string, any> | undefined;
1084
891
  description?: string | undefined;
1085
892
  tags?: string[] | undefined;
1086
893
  documentation?: ({
@@ -1101,13 +908,7 @@ export declare const qualitySchema: z.ZodObject<{
1101
908
  sortOrder?: number | undefined;
1102
909
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1103
910
  }[];
1104
- data?: (Record<string, any> & {
1105
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1106
- text?: string | undefined;
1107
- }) | undefined;
1108
- options?: {
1109
- hideCode?: boolean | undefined;
1110
- } | undefined;
911
+ data?: Record<string, any> | undefined;
1111
912
  description?: string | undefined;
1112
913
  tags?: string[] | undefined;
1113
914
  documentation?: ({
@@ -1127,14 +928,7 @@ export declare const qualitySchema: z.ZodObject<{
1127
928
  })[] | undefined;
1128
929
  sortOrder?: number | undefined;
1129
930
  }[];
1130
- data?: (Record<string, any> & {
1131
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1132
- text?: string | undefined;
1133
- }) | undefined;
1134
- options?: {
1135
- hideCode?: boolean | undefined;
1136
- hideFromHierarchy?: boolean | undefined;
1137
- } | undefined;
931
+ data?: Record<string, any> | undefined;
1138
932
  tags?: string[] | undefined;
1139
933
  documentation?: ({
1140
934
  type: "pdf";
@@ -1153,18 +947,8 @@ export declare const qualitySchema: z.ZodObject<{
1153
947
  })[] | undefined;
1154
948
  sortOrder?: number | undefined;
1155
949
  category?: string | undefined;
1156
- }>>, "many">;
1157
- options: z.ZodOptional<z.ZodObject<{
1158
- hideCode: z.ZodOptional<z.ZodBoolean>;
1159
- hideFromHierarchy: z.ZodOptional<z.ZodBoolean>;
1160
- }, "strip", z.ZodTypeAny, {
1161
- hideCode?: boolean | undefined;
1162
- hideFromHierarchy?: boolean | undefined;
1163
- }, {
1164
- hideCode?: boolean | undefined;
1165
- hideFromHierarchy?: boolean | undefined;
1166
- }>>;
1167
- }>, "strip", z.ZodTypeAny, {
950
+ }>, "many">;
951
+ }, "strip", z.ZodTypeAny, {
1168
952
  type: "criterion";
1169
953
  code: string;
1170
954
  title: string;
@@ -1179,7 +963,6 @@ export declare const qualitySchema: z.ZodObject<{
1179
963
  items: {
1180
964
  type: "task-item";
1181
965
  code: string;
1182
- title: string;
1183
966
  definition: {
1184
967
  type: "select-single";
1185
968
  options: {
@@ -1206,18 +989,11 @@ export declare const qualitySchema: z.ZodObject<{
1206
989
  } | {
1207
990
  type: "boolean";
1208
991
  labels?: {
1209
- false: string;
1210
- true: string;
992
+ false?: string | undefined;
993
+ true?: string | undefined;
1211
994
  } | undefined;
1212
995
  };
1213
- data?: (Record<string, any> & {
1214
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1215
- text?: string | undefined;
1216
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1217
- }) | undefined;
1218
- options?: {
1219
- hideCode?: boolean | undefined;
1220
- } | undefined;
996
+ data?: Record<string, any> | undefined;
1221
997
  description?: string | undefined;
1222
998
  tags?: string[] | undefined;
1223
999
  documentation?: ({
@@ -1238,13 +1014,7 @@ export declare const qualitySchema: z.ZodObject<{
1238
1014
  sortOrder?: number | undefined;
1239
1015
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1240
1016
  }[];
1241
- data?: (Record<string, any> & {
1242
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1243
- text?: string | undefined;
1244
- }) | undefined;
1245
- options?: {
1246
- hideCode?: boolean | undefined;
1247
- } | undefined;
1017
+ data?: Record<string, any> | undefined;
1248
1018
  description?: string | undefined;
1249
1019
  tags?: string[] | undefined;
1250
1020
  documentation?: ({
@@ -1264,14 +1034,7 @@ export declare const qualitySchema: z.ZodObject<{
1264
1034
  })[] | undefined;
1265
1035
  sortOrder?: number | undefined;
1266
1036
  }[];
1267
- data?: (Record<string, any> & {
1268
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1269
- text?: string | undefined;
1270
- }) | undefined;
1271
- options?: {
1272
- hideCode?: boolean | undefined;
1273
- hideFromHierarchy?: boolean | undefined;
1274
- } | undefined;
1037
+ data?: Record<string, any> | undefined;
1275
1038
  tags?: string[] | undefined;
1276
1039
  documentation?: ({
1277
1040
  type: "pdf";
@@ -1291,14 +1054,7 @@ export declare const qualitySchema: z.ZodObject<{
1291
1054
  sortOrder?: number | undefined;
1292
1055
  category?: string | undefined;
1293
1056
  }[];
1294
- data?: (Record<string, any> & {
1295
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1296
- text?: string | undefined;
1297
- }) | undefined;
1298
- options?: {
1299
- hideCode?: boolean | undefined;
1300
- hideFromHierarchy?: boolean | undefined;
1301
- } | undefined;
1057
+ data?: Record<string, any> | undefined;
1302
1058
  tags?: string[] | undefined;
1303
1059
  documentation?: ({
1304
1060
  type: "pdf";
@@ -1331,7 +1087,6 @@ export declare const qualitySchema: z.ZodObject<{
1331
1087
  items: {
1332
1088
  type: "task-item";
1333
1089
  code: string;
1334
- title: string;
1335
1090
  definition: {
1336
1091
  type: "select-single";
1337
1092
  options: {
@@ -1358,18 +1113,11 @@ export declare const qualitySchema: z.ZodObject<{
1358
1113
  } | {
1359
1114
  type: "boolean";
1360
1115
  labels?: {
1361
- false: string;
1362
- true: string;
1116
+ false?: string | undefined;
1117
+ true?: string | undefined;
1363
1118
  } | undefined;
1364
1119
  };
1365
- data?: (Record<string, any> & {
1366
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1367
- text?: string | undefined;
1368
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1369
- }) | undefined;
1370
- options?: {
1371
- hideCode?: boolean | undefined;
1372
- } | undefined;
1120
+ data?: Record<string, any> | undefined;
1373
1121
  description?: string | undefined;
1374
1122
  tags?: string[] | undefined;
1375
1123
  documentation?: ({
@@ -1390,13 +1138,7 @@ export declare const qualitySchema: z.ZodObject<{
1390
1138
  sortOrder?: number | undefined;
1391
1139
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1392
1140
  }[];
1393
- data?: (Record<string, any> & {
1394
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1395
- text?: string | undefined;
1396
- }) | undefined;
1397
- options?: {
1398
- hideCode?: boolean | undefined;
1399
- } | undefined;
1141
+ data?: Record<string, any> | undefined;
1400
1142
  description?: string | undefined;
1401
1143
  tags?: string[] | undefined;
1402
1144
  documentation?: ({
@@ -1416,14 +1158,7 @@ export declare const qualitySchema: z.ZodObject<{
1416
1158
  })[] | undefined;
1417
1159
  sortOrder?: number | undefined;
1418
1160
  }[];
1419
- data?: (Record<string, any> & {
1420
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1421
- text?: string | undefined;
1422
- }) | undefined;
1423
- options?: {
1424
- hideCode?: boolean | undefined;
1425
- hideFromHierarchy?: boolean | undefined;
1426
- } | undefined;
1161
+ data?: Record<string, any> | undefined;
1427
1162
  tags?: string[] | undefined;
1428
1163
  documentation?: ({
1429
1164
  type: "pdf";
@@ -1443,14 +1178,7 @@ export declare const qualitySchema: z.ZodObject<{
1443
1178
  sortOrder?: number | undefined;
1444
1179
  category?: string | undefined;
1445
1180
  }[];
1446
- data?: (Record<string, any> & {
1447
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1448
- text?: string | undefined;
1449
- }) | undefined;
1450
- options?: {
1451
- hideCode?: boolean | undefined;
1452
- hideFromHierarchy?: boolean | undefined;
1453
- } | undefined;
1181
+ data?: Record<string, any> | undefined;
1454
1182
  tags?: string[] | undefined;
1455
1183
  documentation?: ({
1456
1184
  type: "pdf";
@@ -1488,7 +1216,6 @@ export declare const qualitySchema: z.ZodObject<{
1488
1216
  items: {
1489
1217
  type: "task-item";
1490
1218
  code: string;
1491
- title: string;
1492
1219
  definition: {
1493
1220
  type: "select-single";
1494
1221
  options: {
@@ -1515,18 +1242,11 @@ export declare const qualitySchema: z.ZodObject<{
1515
1242
  } | {
1516
1243
  type: "boolean";
1517
1244
  labels?: {
1518
- false: string;
1519
- true: string;
1245
+ false?: string | undefined;
1246
+ true?: string | undefined;
1520
1247
  } | undefined;
1521
1248
  };
1522
- data?: (Record<string, any> & {
1523
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1524
- text?: string | undefined;
1525
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1526
- }) | undefined;
1527
- options?: {
1528
- hideCode?: boolean | undefined;
1529
- } | undefined;
1249
+ data?: Record<string, any> | undefined;
1530
1250
  description?: string | undefined;
1531
1251
  tags?: string[] | undefined;
1532
1252
  documentation?: ({
@@ -1547,13 +1267,7 @@ export declare const qualitySchema: z.ZodObject<{
1547
1267
  sortOrder?: number | undefined;
1548
1268
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1549
1269
  }[];
1550
- data?: (Record<string, any> & {
1551
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1552
- text?: string | undefined;
1553
- }) | undefined;
1554
- options?: {
1555
- hideCode?: boolean | undefined;
1556
- } | undefined;
1270
+ data?: Record<string, any> | undefined;
1557
1271
  description?: string | undefined;
1558
1272
  tags?: string[] | undefined;
1559
1273
  documentation?: ({
@@ -1573,14 +1287,7 @@ export declare const qualitySchema: z.ZodObject<{
1573
1287
  })[] | undefined;
1574
1288
  sortOrder?: number | undefined;
1575
1289
  }[];
1576
- data?: (Record<string, any> & {
1577
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1578
- text?: string | undefined;
1579
- }) | undefined;
1580
- options?: {
1581
- hideCode?: boolean | undefined;
1582
- hideFromHierarchy?: boolean | undefined;
1583
- } | undefined;
1290
+ data?: Record<string, any> | undefined;
1584
1291
  tags?: string[] | undefined;
1585
1292
  documentation?: ({
1586
1293
  type: "pdf";
@@ -1600,14 +1307,7 @@ export declare const qualitySchema: z.ZodObject<{
1600
1307
  sortOrder?: number | undefined;
1601
1308
  category?: string | undefined;
1602
1309
  }[];
1603
- data?: (Record<string, any> & {
1604
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1605
- text?: string | undefined;
1606
- }) | undefined;
1607
- options?: {
1608
- hideCode?: boolean | undefined;
1609
- hideFromHierarchy?: boolean | undefined;
1610
- } | undefined;
1310
+ data?: Record<string, any> | undefined;
1611
1311
  tags?: string[] | undefined;
1612
1312
  documentation?: ({
1613
1313
  type: "pdf";
@@ -1675,7 +1375,6 @@ export declare const qualitySchema: z.ZodObject<{
1675
1375
  items: {
1676
1376
  type: "task-item";
1677
1377
  code: string;
1678
- title: string;
1679
1378
  definition: {
1680
1379
  type: "select-single";
1681
1380
  options: {
@@ -1702,18 +1401,11 @@ export declare const qualitySchema: z.ZodObject<{
1702
1401
  } | {
1703
1402
  type: "boolean";
1704
1403
  labels?: {
1705
- false: string;
1706
- true: string;
1404
+ false?: string | undefined;
1405
+ true?: string | undefined;
1707
1406
  } | undefined;
1708
1407
  };
1709
- data?: (Record<string, any> & {
1710
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1711
- text?: string | undefined;
1712
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1713
- }) | undefined;
1714
- options?: {
1715
- hideCode?: boolean | undefined;
1716
- } | undefined;
1408
+ data?: Record<string, any> | undefined;
1717
1409
  description?: string | undefined;
1718
1410
  tags?: string[] | undefined;
1719
1411
  documentation?: ({
@@ -1734,13 +1426,7 @@ export declare const qualitySchema: z.ZodObject<{
1734
1426
  sortOrder?: number | undefined;
1735
1427
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1736
1428
  }[];
1737
- data?: (Record<string, any> & {
1738
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1739
- text?: string | undefined;
1740
- }) | undefined;
1741
- options?: {
1742
- hideCode?: boolean | undefined;
1743
- } | undefined;
1429
+ data?: Record<string, any> | undefined;
1744
1430
  description?: string | undefined;
1745
1431
  tags?: string[] | undefined;
1746
1432
  documentation?: ({
@@ -1760,14 +1446,7 @@ export declare const qualitySchema: z.ZodObject<{
1760
1446
  })[] | undefined;
1761
1447
  sortOrder?: number | undefined;
1762
1448
  }[];
1763
- data?: (Record<string, any> & {
1764
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1765
- text?: string | undefined;
1766
- }) | undefined;
1767
- options?: {
1768
- hideCode?: boolean | undefined;
1769
- hideFromHierarchy?: boolean | undefined;
1770
- } | undefined;
1449
+ data?: Record<string, any> | undefined;
1771
1450
  tags?: string[] | undefined;
1772
1451
  documentation?: ({
1773
1452
  type: "pdf";
@@ -1787,14 +1466,7 @@ export declare const qualitySchema: z.ZodObject<{
1787
1466
  sortOrder?: number | undefined;
1788
1467
  category?: string | undefined;
1789
1468
  }[];
1790
- data?: (Record<string, any> & {
1791
- value?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1792
- text?: string | undefined;
1793
- }) | undefined;
1794
- options?: {
1795
- hideCode?: boolean | undefined;
1796
- hideFromHierarchy?: boolean | undefined;
1797
- } | undefined;
1469
+ data?: Record<string, any> | undefined;
1798
1470
  tags?: string[] | undefined;
1799
1471
  documentation?: ({
1800
1472
  type: "pdf";