@openframe-org/criteria-set-protocol 2.0.15 → 2.0.17

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 (46) hide show
  1. package/README.md +1 -1
  2. package/dist/services/i-versioned.service.d.ts +16 -0
  3. package/dist/services/i-versioned.service.js +2 -0
  4. package/dist/services/index.d.ts +2 -0
  5. package/dist/services/index.js +18 -0
  6. package/dist/services/versions.service.d.ts +38 -0
  7. package/dist/services/versions.service.js +49 -0
  8. package/dist/types.d.ts +2 -0
  9. package/dist/types.js +2 -0
  10. package/dist/v1/schemas/criteria-set-id-param-schema.d.ts +11 -0
  11. package/dist/v1/schemas/criteria-set-id-param-schema.js +11 -0
  12. package/dist/v1/schemas/criteria-set.d.ts +8 -0
  13. package/dist/v1/schemas/criteria-set.js +7 -0
  14. package/dist/v1/schemas/criteria-tree.d.ts +0 -48
  15. package/dist/v1/schemas/criterion.d.ts +0 -9
  16. package/dist/v1/schemas/download-matrix-body-schema.d.ts +15 -0
  17. package/dist/v1/schemas/download-matrix-body-schema.js +36 -0
  18. package/dist/v1/schemas/index.d.ts +1 -0
  19. package/dist/v1/schemas/index.js +1 -0
  20. package/dist/v1/schemas/matrix-body-schema.d.ts +20 -0
  21. package/dist/v1/schemas/matrix-body-schema.js +14 -0
  22. package/dist/v1/schemas/quality.d.ts +498 -181
  23. package/dist/v1/schemas/quality.js +2 -2
  24. package/dist/v1/schemas/task-group.d.ts +0 -7
  25. package/dist/v1/schemas/task-item.d.ts +0 -3
  26. package/dist/v1/schemas/task-item.js +0 -1
  27. package/dist/v1/schemas/task.d.ts +0 -5
  28. package/dist/v1/schemas/theme.d.ts +0 -11
  29. package/dist/v1/schemas/tree-and-data-body-schema.d.ts +17 -0
  30. package/dist/v1/schemas/tree-and-data-body-schema.js +13 -0
  31. package/dist/v1/schemas/tree-and-matrix-body-schema.d.ts +19 -0
  32. package/dist/v1/schemas/tree-and-matrix-body-schema.js +38 -0
  33. package/dist/v1/schemas/tree-body-schema.d.ts +17 -0
  34. package/dist/v1/schemas/tree-body-schema.js +37 -0
  35. package/dist/v1/schemas/utils.d.ts +4 -1
  36. package/dist/v1/schemas/utils.js +7 -1
  37. package/dist/v1/schemas/version-param-schema.d.ts +11 -0
  38. package/dist/v1/schemas/version-param-schema.js +11 -0
  39. package/dist/v1/services/i-protocol-v1.service.d.ts +26 -0
  40. package/dist/v1/services/i-protocol-v1.service.js +2 -0
  41. package/dist/v1/types/criteria.d.ts +2 -1
  42. package/dist/v1/utils/color.d.ts +2 -0
  43. package/dist/v1/utils/color.js +10 -0
  44. package/dist/v1/utils/index.d.ts +7 -0
  45. package/dist/v1/utils/index.js +15 -0
  46. package/package.json +1 -1
@@ -67,12 +67,14 @@ 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.ZodUnion<[z.ZodObject<{
71
- type: z.ZodLiteral<"pdf">;
70
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
71
+ type: z.ZodEnum<["pdf", "text", "link"]>;
72
72
  label: z.ZodString;
73
- url: z.ZodString;
74
73
  text: z.ZodString;
75
- }, "strip", z.ZodTypeAny, {
74
+ }, {
75
+ type: z.ZodLiteral<"pdf">;
76
+ url: z.ZodString;
77
+ }>, "strip", z.ZodTypeAny, {
76
78
  type: "pdf";
77
79
  url: string;
78
80
  label: string;
@@ -82,11 +84,13 @@ export declare const qualitySchema: z.ZodObject<{
82
84
  url: string;
83
85
  label: string;
84
86
  text: string;
85
- }>, z.ZodObject<{
86
- type: z.ZodLiteral<"text">;
87
+ }>, z.ZodObject<z.objectUtil.extendShape<{
88
+ type: z.ZodEnum<["pdf", "text", "link"]>;
87
89
  label: z.ZodString;
88
90
  text: z.ZodString;
89
- }, "strip", z.ZodTypeAny, {
91
+ }, {
92
+ type: z.ZodLiteral<"text">;
93
+ }>, "strip", z.ZodTypeAny, {
90
94
  type: "text";
91
95
  label: string;
92
96
  text: string;
@@ -94,12 +98,14 @@ export declare const qualitySchema: z.ZodObject<{
94
98
  type: "text";
95
99
  label: string;
96
100
  text: string;
97
- }>, z.ZodObject<{
98
- type: z.ZodLiteral<"link">;
101
+ }>, z.ZodObject<z.objectUtil.extendShape<{
102
+ type: z.ZodEnum<["pdf", "text", "link"]>;
99
103
  label: z.ZodString;
100
- url: z.ZodString;
101
104
  text: z.ZodString;
102
- }, "strip", z.ZodTypeAny, {
105
+ }, {
106
+ type: z.ZodLiteral<"link">;
107
+ url: z.ZodString;
108
+ }>, "strip", z.ZodTypeAny, {
103
109
  type: "link";
104
110
  url: string;
105
111
  label: string;
@@ -162,17 +168,19 @@ export declare const qualitySchema: z.ZodObject<{
162
168
  blue: number;
163
169
  };
164
170
  }>>;
165
- items: z.ZodArray<z.ZodObject<{
166
- type: z.ZodLiteral<"criterion">;
171
+ items: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
172
+ type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
167
173
  title: z.ZodString;
168
174
  code: z.ZodString;
169
175
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
170
- documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
171
- type: z.ZodLiteral<"pdf">;
176
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
177
+ type: z.ZodEnum<["pdf", "text", "link"]>;
172
178
  label: z.ZodString;
173
- url: z.ZodString;
174
179
  text: z.ZodString;
175
- }, "strip", z.ZodTypeAny, {
180
+ }, {
181
+ type: z.ZodLiteral<"pdf">;
182
+ url: z.ZodString;
183
+ }>, "strip", z.ZodTypeAny, {
176
184
  type: "pdf";
177
185
  url: string;
178
186
  label: string;
@@ -182,11 +190,13 @@ export declare const qualitySchema: z.ZodObject<{
182
190
  url: string;
183
191
  label: string;
184
192
  text: string;
185
- }>, z.ZodObject<{
186
- type: z.ZodLiteral<"text">;
193
+ }>, z.ZodObject<z.objectUtil.extendShape<{
194
+ type: z.ZodEnum<["pdf", "text", "link"]>;
187
195
  label: z.ZodString;
188
196
  text: z.ZodString;
189
- }, "strip", z.ZodTypeAny, {
197
+ }, {
198
+ type: z.ZodLiteral<"text">;
199
+ }>, "strip", z.ZodTypeAny, {
190
200
  type: "text";
191
201
  label: string;
192
202
  text: string;
@@ -194,12 +204,14 @@ export declare const qualitySchema: z.ZodObject<{
194
204
  type: "text";
195
205
  label: string;
196
206
  text: string;
197
- }>, z.ZodObject<{
198
- type: z.ZodLiteral<"link">;
207
+ }>, z.ZodObject<z.objectUtil.extendShape<{
208
+ type: z.ZodEnum<["pdf", "text", "link"]>;
199
209
  label: z.ZodString;
200
- url: z.ZodString;
201
210
  text: z.ZodString;
202
- }, "strip", z.ZodTypeAny, {
211
+ }, {
212
+ type: z.ZodLiteral<"link">;
213
+ url: z.ZodString;
214
+ }>, "strip", z.ZodTypeAny, {
203
215
  type: "link";
204
216
  url: string;
205
217
  label: string;
@@ -210,19 +222,32 @@ export declare const qualitySchema: z.ZodObject<{
210
222
  label: string;
211
223
  text: string;
212
224
  }>]>, "many">>;
213
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
+ }>>>;
214
235
  sortOrder: z.ZodOptional<z.ZodNumber>;
215
- items: z.ZodArray<z.ZodObject<{
216
- type: z.ZodLiteral<"task-group">;
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"]>;
217
240
  title: z.ZodString;
218
241
  code: z.ZodString;
219
242
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
220
- documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
221
- type: z.ZodLiteral<"pdf">;
243
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
244
+ type: z.ZodEnum<["pdf", "text", "link"]>;
222
245
  label: z.ZodString;
223
- url: z.ZodString;
224
246
  text: z.ZodString;
225
- }, "strip", z.ZodTypeAny, {
247
+ }, {
248
+ type: z.ZodLiteral<"pdf">;
249
+ url: z.ZodString;
250
+ }>, "strip", z.ZodTypeAny, {
226
251
  type: "pdf";
227
252
  url: string;
228
253
  label: string;
@@ -232,11 +257,13 @@ export declare const qualitySchema: z.ZodObject<{
232
257
  url: string;
233
258
  label: string;
234
259
  text: string;
235
- }>, z.ZodObject<{
236
- type: z.ZodLiteral<"text">;
260
+ }>, z.ZodObject<z.objectUtil.extendShape<{
261
+ type: z.ZodEnum<["pdf", "text", "link"]>;
237
262
  label: z.ZodString;
238
263
  text: z.ZodString;
239
- }, "strip", z.ZodTypeAny, {
264
+ }, {
265
+ type: z.ZodLiteral<"text">;
266
+ }>, "strip", z.ZodTypeAny, {
240
267
  type: "text";
241
268
  label: string;
242
269
  text: string;
@@ -244,12 +271,14 @@ export declare const qualitySchema: z.ZodObject<{
244
271
  type: "text";
245
272
  label: string;
246
273
  text: string;
247
- }>, z.ZodObject<{
248
- type: z.ZodLiteral<"link">;
274
+ }>, z.ZodObject<z.objectUtil.extendShape<{
275
+ type: z.ZodEnum<["pdf", "text", "link"]>;
249
276
  label: z.ZodString;
250
- url: z.ZodString;
251
277
  text: z.ZodString;
252
- }, "strip", z.ZodTypeAny, {
278
+ }, {
279
+ type: z.ZodLiteral<"link">;
280
+ url: z.ZodString;
281
+ }>, "strip", z.ZodTypeAny, {
253
282
  type: "link";
254
283
  url: string;
255
284
  label: string;
@@ -260,20 +289,33 @@ export declare const qualitySchema: z.ZodObject<{
260
289
  label: string;
261
290
  text: string;
262
291
  }>]>, "many">>;
263
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
+ }>>>;
264
302
  sortOrder: z.ZodOptional<z.ZodNumber>;
303
+ }, {
304
+ type: z.ZodLiteral<"task-group">;
265
305
  category: z.ZodOptional<z.ZodString>;
266
- items: z.ZodArray<z.ZodObject<{
267
- type: z.ZodLiteral<"task">;
306
+ items: z.ZodArray<z.ZodLazy<z.ZodObject<z.objectUtil.extendShape<{
307
+ type: z.ZodEnum<["theme", "criterion", "task-group", "task", "task-item"]>;
268
308
  title: z.ZodString;
269
309
  code: z.ZodString;
270
310
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
271
- documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
272
- type: z.ZodLiteral<"pdf">;
311
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
312
+ type: z.ZodEnum<["pdf", "text", "link"]>;
273
313
  label: z.ZodString;
274
- url: z.ZodString;
275
314
  text: z.ZodString;
276
- }, "strip", z.ZodTypeAny, {
315
+ }, {
316
+ type: z.ZodLiteral<"pdf">;
317
+ url: z.ZodString;
318
+ }>, "strip", z.ZodTypeAny, {
277
319
  type: "pdf";
278
320
  url: string;
279
321
  label: string;
@@ -283,11 +325,13 @@ export declare const qualitySchema: z.ZodObject<{
283
325
  url: string;
284
326
  label: string;
285
327
  text: string;
286
- }>, z.ZodObject<{
287
- type: z.ZodLiteral<"text">;
328
+ }>, z.ZodObject<z.objectUtil.extendShape<{
329
+ type: z.ZodEnum<["pdf", "text", "link"]>;
288
330
  label: z.ZodString;
289
331
  text: z.ZodString;
290
- }, "strip", z.ZodTypeAny, {
332
+ }, {
333
+ type: z.ZodLiteral<"text">;
334
+ }>, "strip", z.ZodTypeAny, {
291
335
  type: "text";
292
336
  label: string;
293
337
  text: string;
@@ -295,12 +339,14 @@ export declare const qualitySchema: z.ZodObject<{
295
339
  type: "text";
296
340
  label: string;
297
341
  text: string;
298
- }>, z.ZodObject<{
299
- type: z.ZodLiteral<"link">;
342
+ }>, z.ZodObject<z.objectUtil.extendShape<{
343
+ type: z.ZodEnum<["pdf", "text", "link"]>;
300
344
  label: z.ZodString;
301
- url: z.ZodString;
302
345
  text: z.ZodString;
303
- }, "strip", z.ZodTypeAny, {
346
+ }, {
347
+ type: z.ZodLiteral<"link">;
348
+ url: z.ZodString;
349
+ }>, "strip", z.ZodTypeAny, {
304
350
  type: "link";
305
351
  url: string;
306
352
  label: string;
@@ -311,19 +357,33 @@ export declare const qualitySchema: z.ZodObject<{
311
357
  label: string;
312
358
  text: string;
313
359
  }>]>, "many">>;
314
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
+ }>>>;
315
370
  sortOrder: z.ZodOptional<z.ZodNumber>;
371
+ }, {
372
+ type: z.ZodLiteral<"task">;
316
373
  description: z.ZodOptional<z.ZodString>;
317
- items: z.ZodArray<z.ZodObject<{
318
- type: z.ZodLiteral<"task-item">;
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;
319
377
  code: z.ZodString;
320
378
  tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
321
- documentation: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
322
- type: z.ZodLiteral<"pdf">;
379
+ documentation: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
380
+ type: z.ZodEnum<["pdf", "text", "link"]>;
323
381
  label: z.ZodString;
324
- url: z.ZodString;
325
382
  text: z.ZodString;
326
- }, "strip", z.ZodTypeAny, {
383
+ }, {
384
+ type: z.ZodLiteral<"pdf">;
385
+ url: z.ZodString;
386
+ }>, "strip", z.ZodTypeAny, {
327
387
  type: "pdf";
328
388
  url: string;
329
389
  label: string;
@@ -333,11 +393,13 @@ export declare const qualitySchema: z.ZodObject<{
333
393
  url: string;
334
394
  label: string;
335
395
  text: string;
336
- }>, z.ZodObject<{
337
- type: z.ZodLiteral<"text">;
396
+ }>, z.ZodObject<z.objectUtil.extendShape<{
397
+ type: z.ZodEnum<["pdf", "text", "link"]>;
338
398
  label: z.ZodString;
339
399
  text: z.ZodString;
340
- }, "strip", z.ZodTypeAny, {
400
+ }, {
401
+ type: z.ZodLiteral<"text">;
402
+ }>, "strip", z.ZodTypeAny, {
341
403
  type: "text";
342
404
  label: string;
343
405
  text: string;
@@ -345,12 +407,14 @@ export declare const qualitySchema: z.ZodObject<{
345
407
  type: "text";
346
408
  label: string;
347
409
  text: string;
348
- }>, z.ZodObject<{
349
- type: z.ZodLiteral<"link">;
410
+ }>, z.ZodObject<z.objectUtil.extendShape<{
411
+ type: z.ZodEnum<["pdf", "text", "link"]>;
350
412
  label: z.ZodString;
351
- url: z.ZodString;
352
413
  text: z.ZodString;
353
- }, "strip", z.ZodTypeAny, {
414
+ }, {
415
+ type: z.ZodLiteral<"link">;
416
+ url: z.ZodString;
417
+ }>, "strip", z.ZodTypeAny, {
354
418
  type: "link";
355
419
  url: string;
356
420
  label: string;
@@ -361,10 +425,35 @@ export declare const qualitySchema: z.ZodObject<{
361
425
  label: string;
362
426
  text: string;
363
427
  }>]>, "many">>;
364
- valueReference: 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">]>>;
365
- data: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
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
+ }>>>;
366
438
  sortOrder: z.ZodOptional<z.ZodNumber>;
367
- definition: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
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
+ }, {
368
457
  type: z.ZodLiteral<"select-single">;
369
458
  options: z.ZodArray<z.ZodObject<{
370
459
  id: z.ZodOptional<z.ZodString>;
@@ -385,7 +474,7 @@ export declare const qualitySchema: z.ZodObject<{
385
474
  intro?: string | undefined;
386
475
  outro?: string | undefined;
387
476
  }>, "many">;
388
- }, "strip", z.ZodTypeAny, {
477
+ }>, "strip", z.ZodTypeAny, {
389
478
  type: "select-single";
390
479
  options: {
391
480
  value: string | number | boolean | null;
@@ -403,7 +492,9 @@ export declare const qualitySchema: z.ZodObject<{
403
492
  intro?: string | undefined;
404
493
  outro?: string | undefined;
405
494
  }[];
406
- }>, z.ZodObject<{
495
+ }>, z.ZodObject<z.objectUtil.extendShape<{
496
+ type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
497
+ }, {
407
498
  type: z.ZodLiteral<"select-multiple">;
408
499
  options: z.ZodArray<z.ZodObject<{
409
500
  id: z.ZodOptional<z.ZodString>;
@@ -424,7 +515,7 @@ export declare const qualitySchema: z.ZodObject<{
424
515
  intro?: string | undefined;
425
516
  outro?: string | undefined;
426
517
  }>, "many">;
427
- }, "strip", z.ZodTypeAny, {
518
+ }>, "strip", z.ZodTypeAny, {
428
519
  type: "select-multiple";
429
520
  options: {
430
521
  value: string | number | boolean | null;
@@ -442,12 +533,14 @@ export declare const qualitySchema: z.ZodObject<{
442
533
  intro?: string | undefined;
443
534
  outro?: string | undefined;
444
535
  }[];
445
- }>, z.ZodObject<{
536
+ }>, z.ZodObject<z.objectUtil.extendShape<{
537
+ type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
538
+ }, {
446
539
  type: z.ZodLiteral<"number">;
447
540
  minimum: z.ZodOptional<z.ZodNumber>;
448
541
  maximum: z.ZodOptional<z.ZodNumber>;
449
542
  step: z.ZodOptional<z.ZodNumber>;
450
- }, "strip", z.ZodTypeAny, {
543
+ }>, "strip", z.ZodTypeAny, {
451
544
  type: "number";
452
545
  minimum?: number | undefined;
453
546
  maximum?: number | undefined;
@@ -457,36 +550,46 @@ export declare const qualitySchema: z.ZodObject<{
457
550
  minimum?: number | undefined;
458
551
  maximum?: number | undefined;
459
552
  step?: number | undefined;
460
- }>, z.ZodObject<{
553
+ }>, z.ZodObject<z.objectUtil.extendShape<{
554
+ type: z.ZodEnum<["select-single", "select-multiple", "number", "boolean"]>;
555
+ }, {
461
556
  type: z.ZodLiteral<"boolean">;
462
557
  labels: z.ZodOptional<z.ZodObject<{
463
- true: z.ZodOptional<z.ZodString>;
464
- false: z.ZodOptional<z.ZodString>;
558
+ true: z.ZodString;
559
+ false: z.ZodString;
465
560
  }, "strip", z.ZodTypeAny, {
466
- false?: string | undefined;
467
- true?: string | undefined;
561
+ false: string;
562
+ true: string;
468
563
  }, {
469
- false?: string | undefined;
470
- true?: string | undefined;
564
+ false: string;
565
+ true: string;
471
566
  }>>;
472
- }, "strip", z.ZodTypeAny, {
567
+ }>, "strip", z.ZodTypeAny, {
473
568
  type: "boolean";
474
569
  labels?: {
475
- false?: string | undefined;
476
- true?: string | undefined;
570
+ false: string;
571
+ true: string;
477
572
  } | undefined;
478
573
  }, {
479
574
  type: "boolean";
480
575
  labels?: {
481
- false?: string | undefined;
482
- true?: string | undefined;
576
+ false: string;
577
+ true: string;
483
578
  } | undefined;
484
579
  }>]>;
485
580
  description: z.ZodOptional<z.ZodString>;
486
581
  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">]>>>;
487
- }, "strip", z.ZodTypeAny, {
488
- code: string;
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, {
489
590
  type: "task-item";
591
+ code: string;
592
+ title: string;
490
593
  definition: {
491
594
  type: "select-single";
492
595
  options: {
@@ -513,11 +616,18 @@ export declare const qualitySchema: z.ZodObject<{
513
616
  } | {
514
617
  type: "boolean";
515
618
  labels?: {
516
- false?: string | undefined;
517
- true?: string | undefined;
619
+ false: string;
620
+ true: string;
518
621
  } | undefined;
519
622
  };
520
- data?: Record<string, any> | undefined;
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;
521
631
  description?: string | undefined;
522
632
  tags?: string[] | undefined;
523
633
  documentation?: ({
@@ -535,12 +645,12 @@ export declare const qualitySchema: z.ZodObject<{
535
645
  label: string;
536
646
  text: string;
537
647
  })[] | undefined;
538
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
539
648
  sortOrder?: number | undefined;
540
649
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
541
650
  }, {
542
- code: string;
543
651
  type: "task-item";
652
+ code: string;
653
+ title: string;
544
654
  definition: {
545
655
  type: "select-single";
546
656
  options: {
@@ -567,11 +677,18 @@ export declare const qualitySchema: z.ZodObject<{
567
677
  } | {
568
678
  type: "boolean";
569
679
  labels?: {
570
- false?: string | undefined;
571
- true?: string | undefined;
680
+ false: string;
681
+ true: string;
572
682
  } | undefined;
573
683
  };
574
- data?: Record<string, any> | undefined;
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;
575
692
  description?: string | undefined;
576
693
  tags?: string[] | undefined;
577
694
  documentation?: ({
@@ -589,17 +706,24 @@ export declare const qualitySchema: z.ZodObject<{
589
706
  label: string;
590
707
  text: string;
591
708
  })[] | undefined;
592
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
593
709
  sortOrder?: number | undefined;
594
710
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
595
- }>, "many">;
596
- }, "strip", z.ZodTypeAny, {
597
- code: string;
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, {
598
720
  type: "task";
721
+ code: string;
599
722
  title: string;
600
723
  items: {
601
- code: string;
602
724
  type: "task-item";
725
+ code: string;
726
+ title: string;
603
727
  definition: {
604
728
  type: "select-single";
605
729
  options: {
@@ -626,11 +750,18 @@ export declare const qualitySchema: z.ZodObject<{
626
750
  } | {
627
751
  type: "boolean";
628
752
  labels?: {
629
- false?: string | undefined;
630
- true?: string | undefined;
753
+ false: string;
754
+ true: string;
631
755
  } | undefined;
632
756
  };
633
- data?: Record<string, any> | undefined;
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;
634
765
  description?: string | undefined;
635
766
  tags?: string[] | undefined;
636
767
  documentation?: ({
@@ -648,11 +779,16 @@ export declare const qualitySchema: z.ZodObject<{
648
779
  label: string;
649
780
  text: string;
650
781
  })[] | undefined;
651
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
652
782
  sortOrder?: number | undefined;
653
783
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
654
784
  }[];
655
- data?: Record<string, any> | undefined;
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;
656
792
  description?: string | undefined;
657
793
  tags?: string[] | undefined;
658
794
  documentation?: ({
@@ -672,12 +808,13 @@ export declare const qualitySchema: z.ZodObject<{
672
808
  })[] | undefined;
673
809
  sortOrder?: number | undefined;
674
810
  }, {
675
- code: string;
676
811
  type: "task";
812
+ code: string;
677
813
  title: string;
678
814
  items: {
679
- code: string;
680
815
  type: "task-item";
816
+ code: string;
817
+ title: string;
681
818
  definition: {
682
819
  type: "select-single";
683
820
  options: {
@@ -704,11 +841,18 @@ export declare const qualitySchema: z.ZodObject<{
704
841
  } | {
705
842
  type: "boolean";
706
843
  labels?: {
707
- false?: string | undefined;
708
- true?: string | undefined;
844
+ false: string;
845
+ true: string;
709
846
  } | undefined;
710
847
  };
711
- data?: Record<string, any> | undefined;
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;
712
856
  description?: string | undefined;
713
857
  tags?: string[] | undefined;
714
858
  documentation?: ({
@@ -726,11 +870,16 @@ export declare const qualitySchema: z.ZodObject<{
726
870
  label: string;
727
871
  text: string;
728
872
  })[] | undefined;
729
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
730
873
  sortOrder?: number | undefined;
731
874
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
732
875
  }[];
733
- data?: Record<string, any> | undefined;
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;
734
883
  description?: string | undefined;
735
884
  tags?: string[] | undefined;
736
885
  documentation?: ({
@@ -749,18 +898,29 @@ export declare const qualitySchema: z.ZodObject<{
749
898
  text: string;
750
899
  })[] | undefined;
751
900
  sortOrder?: number | undefined;
752
- }>, "many">;
753
- }, "strip", z.ZodTypeAny, {
754
- code: string;
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, {
755
913
  type: "task-group";
914
+ code: string;
756
915
  title: string;
757
916
  items: {
758
- code: string;
759
917
  type: "task";
918
+ code: string;
760
919
  title: string;
761
920
  items: {
762
- code: string;
763
921
  type: "task-item";
922
+ code: string;
923
+ title: string;
764
924
  definition: {
765
925
  type: "select-single";
766
926
  options: {
@@ -787,11 +947,18 @@ export declare const qualitySchema: z.ZodObject<{
787
947
  } | {
788
948
  type: "boolean";
789
949
  labels?: {
790
- false?: string | undefined;
791
- true?: string | undefined;
950
+ false: string;
951
+ true: string;
792
952
  } | undefined;
793
953
  };
794
- data?: Record<string, any> | undefined;
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;
795
962
  description?: string | undefined;
796
963
  tags?: string[] | undefined;
797
964
  documentation?: ({
@@ -809,11 +976,16 @@ export declare const qualitySchema: z.ZodObject<{
809
976
  label: string;
810
977
  text: string;
811
978
  })[] | undefined;
812
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
813
979
  sortOrder?: number | undefined;
814
980
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
815
981
  }[];
816
- data?: Record<string, any> | undefined;
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;
817
989
  description?: string | undefined;
818
990
  tags?: string[] | undefined;
819
991
  documentation?: ({
@@ -833,7 +1005,14 @@ export declare const qualitySchema: z.ZodObject<{
833
1005
  })[] | undefined;
834
1006
  sortOrder?: number | undefined;
835
1007
  }[];
836
- data?: Record<string, any> | undefined;
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;
837
1016
  tags?: string[] | undefined;
838
1017
  documentation?: ({
839
1018
  type: "pdf";
@@ -853,16 +1032,17 @@ export declare const qualitySchema: z.ZodObject<{
853
1032
  sortOrder?: number | undefined;
854
1033
  category?: string | undefined;
855
1034
  }, {
856
- code: string;
857
1035
  type: "task-group";
1036
+ code: string;
858
1037
  title: string;
859
1038
  items: {
860
- code: string;
861
1039
  type: "task";
1040
+ code: string;
862
1041
  title: string;
863
1042
  items: {
864
- code: string;
865
1043
  type: "task-item";
1044
+ code: string;
1045
+ title: string;
866
1046
  definition: {
867
1047
  type: "select-single";
868
1048
  options: {
@@ -889,11 +1069,18 @@ export declare const qualitySchema: z.ZodObject<{
889
1069
  } | {
890
1070
  type: "boolean";
891
1071
  labels?: {
892
- false?: string | undefined;
893
- true?: string | undefined;
1072
+ false: string;
1073
+ true: string;
894
1074
  } | undefined;
895
1075
  };
896
- data?: Record<string, any> | undefined;
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;
897
1084
  description?: string | undefined;
898
1085
  tags?: string[] | undefined;
899
1086
  documentation?: ({
@@ -911,11 +1098,16 @@ export declare const qualitySchema: z.ZodObject<{
911
1098
  label: string;
912
1099
  text: string;
913
1100
  })[] | undefined;
914
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
915
1101
  sortOrder?: number | undefined;
916
1102
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
917
1103
  }[];
918
- data?: Record<string, any> | undefined;
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;
919
1111
  description?: string | undefined;
920
1112
  tags?: string[] | undefined;
921
1113
  documentation?: ({
@@ -935,7 +1127,14 @@ export declare const qualitySchema: z.ZodObject<{
935
1127
  })[] | undefined;
936
1128
  sortOrder?: number | undefined;
937
1129
  }[];
938
- data?: Record<string, any> | undefined;
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;
939
1138
  tags?: string[] | undefined;
940
1139
  documentation?: ({
941
1140
  type: "pdf";
@@ -954,22 +1153,33 @@ export declare const qualitySchema: z.ZodObject<{
954
1153
  })[] | undefined;
955
1154
  sortOrder?: number | undefined;
956
1155
  category?: string | undefined;
957
- }>, "many">;
958
- }, "strip", z.ZodTypeAny, {
959
- code: string;
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, {
960
1168
  type: "criterion";
1169
+ code: string;
961
1170
  title: string;
962
1171
  items: {
963
- code: string;
964
1172
  type: "task-group";
1173
+ code: string;
965
1174
  title: string;
966
1175
  items: {
967
- code: string;
968
1176
  type: "task";
1177
+ code: string;
969
1178
  title: string;
970
1179
  items: {
971
- code: string;
972
1180
  type: "task-item";
1181
+ code: string;
1182
+ title: string;
973
1183
  definition: {
974
1184
  type: "select-single";
975
1185
  options: {
@@ -996,11 +1206,18 @@ export declare const qualitySchema: z.ZodObject<{
996
1206
  } | {
997
1207
  type: "boolean";
998
1208
  labels?: {
999
- false?: string | undefined;
1000
- true?: string | undefined;
1209
+ false: string;
1210
+ true: string;
1001
1211
  } | undefined;
1002
1212
  };
1003
- data?: Record<string, any> | undefined;
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;
1004
1221
  description?: string | undefined;
1005
1222
  tags?: string[] | undefined;
1006
1223
  documentation?: ({
@@ -1018,11 +1235,16 @@ export declare const qualitySchema: z.ZodObject<{
1018
1235
  label: string;
1019
1236
  text: string;
1020
1237
  })[] | undefined;
1021
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1022
1238
  sortOrder?: number | undefined;
1023
1239
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1024
1240
  }[];
1025
- data?: Record<string, any> | undefined;
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;
1026
1248
  description?: string | undefined;
1027
1249
  tags?: string[] | undefined;
1028
1250
  documentation?: ({
@@ -1042,7 +1264,14 @@ export declare const qualitySchema: z.ZodObject<{
1042
1264
  })[] | undefined;
1043
1265
  sortOrder?: number | undefined;
1044
1266
  }[];
1045
- data?: Record<string, any> | undefined;
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;
1046
1275
  tags?: string[] | undefined;
1047
1276
  documentation?: ({
1048
1277
  type: "pdf";
@@ -1062,7 +1291,14 @@ export declare const qualitySchema: z.ZodObject<{
1062
1291
  sortOrder?: number | undefined;
1063
1292
  category?: string | undefined;
1064
1293
  }[];
1065
- data?: Record<string, any> | undefined;
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;
1066
1302
  tags?: string[] | undefined;
1067
1303
  documentation?: ({
1068
1304
  type: "pdf";
@@ -1081,20 +1317,21 @@ export declare const qualitySchema: z.ZodObject<{
1081
1317
  })[] | undefined;
1082
1318
  sortOrder?: number | undefined;
1083
1319
  }, {
1084
- code: string;
1085
1320
  type: "criterion";
1321
+ code: string;
1086
1322
  title: string;
1087
1323
  items: {
1088
- code: string;
1089
1324
  type: "task-group";
1325
+ code: string;
1090
1326
  title: string;
1091
1327
  items: {
1092
- code: string;
1093
1328
  type: "task";
1329
+ code: string;
1094
1330
  title: string;
1095
1331
  items: {
1096
- code: string;
1097
1332
  type: "task-item";
1333
+ code: string;
1334
+ title: string;
1098
1335
  definition: {
1099
1336
  type: "select-single";
1100
1337
  options: {
@@ -1121,11 +1358,18 @@ export declare const qualitySchema: z.ZodObject<{
1121
1358
  } | {
1122
1359
  type: "boolean";
1123
1360
  labels?: {
1124
- false?: string | undefined;
1125
- true?: string | undefined;
1361
+ false: string;
1362
+ true: string;
1126
1363
  } | undefined;
1127
1364
  };
1128
- data?: Record<string, any> | undefined;
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;
1129
1373
  description?: string | undefined;
1130
1374
  tags?: string[] | undefined;
1131
1375
  documentation?: ({
@@ -1143,11 +1387,16 @@ export declare const qualitySchema: z.ZodObject<{
1143
1387
  label: string;
1144
1388
  text: string;
1145
1389
  })[] | undefined;
1146
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1147
1390
  sortOrder?: number | undefined;
1148
1391
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1149
1392
  }[];
1150
- data?: Record<string, any> | undefined;
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;
1151
1400
  description?: string | undefined;
1152
1401
  tags?: string[] | undefined;
1153
1402
  documentation?: ({
@@ -1167,7 +1416,14 @@ export declare const qualitySchema: z.ZodObject<{
1167
1416
  })[] | undefined;
1168
1417
  sortOrder?: number | undefined;
1169
1418
  }[];
1170
- data?: Record<string, any> | undefined;
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;
1171
1427
  tags?: string[] | undefined;
1172
1428
  documentation?: ({
1173
1429
  type: "pdf";
@@ -1187,7 +1443,14 @@ export declare const qualitySchema: z.ZodObject<{
1187
1443
  sortOrder?: number | undefined;
1188
1444
  category?: string | undefined;
1189
1445
  }[];
1190
- data?: Record<string, any> | undefined;
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;
1191
1454
  tags?: string[] | undefined;
1192
1455
  documentation?: ({
1193
1456
  type: "pdf";
@@ -1207,24 +1470,25 @@ export declare const qualitySchema: z.ZodObject<{
1207
1470
  sortOrder?: number | undefined;
1208
1471
  }>, "many">;
1209
1472
  }, "strip", z.ZodTypeAny, {
1210
- code: string;
1211
1473
  type: "quality";
1474
+ code: string;
1212
1475
  title: string;
1213
1476
  items: {
1214
- code: string;
1215
1477
  type: "criterion";
1478
+ code: string;
1216
1479
  title: string;
1217
1480
  items: {
1218
- code: string;
1219
1481
  type: "task-group";
1482
+ code: string;
1220
1483
  title: string;
1221
1484
  items: {
1222
- code: string;
1223
1485
  type: "task";
1486
+ code: string;
1224
1487
  title: string;
1225
1488
  items: {
1226
- code: string;
1227
1489
  type: "task-item";
1490
+ code: string;
1491
+ title: string;
1228
1492
  definition: {
1229
1493
  type: "select-single";
1230
1494
  options: {
@@ -1251,11 +1515,18 @@ export declare const qualitySchema: z.ZodObject<{
1251
1515
  } | {
1252
1516
  type: "boolean";
1253
1517
  labels?: {
1254
- false?: string | undefined;
1255
- true?: string | undefined;
1518
+ false: string;
1519
+ true: string;
1256
1520
  } | undefined;
1257
1521
  };
1258
- data?: Record<string, any> | undefined;
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;
1259
1530
  description?: string | undefined;
1260
1531
  tags?: string[] | undefined;
1261
1532
  documentation?: ({
@@ -1273,11 +1544,16 @@ export declare const qualitySchema: z.ZodObject<{
1273
1544
  label: string;
1274
1545
  text: string;
1275
1546
  })[] | undefined;
1276
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1277
1547
  sortOrder?: number | undefined;
1278
1548
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1279
1549
  }[];
1280
- data?: Record<string, any> | undefined;
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;
1281
1557
  description?: string | undefined;
1282
1558
  tags?: string[] | undefined;
1283
1559
  documentation?: ({
@@ -1297,7 +1573,14 @@ export declare const qualitySchema: z.ZodObject<{
1297
1573
  })[] | undefined;
1298
1574
  sortOrder?: number | undefined;
1299
1575
  }[];
1300
- data?: Record<string, any> | undefined;
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;
1301
1584
  tags?: string[] | undefined;
1302
1585
  documentation?: ({
1303
1586
  type: "pdf";
@@ -1317,7 +1600,14 @@ export declare const qualitySchema: z.ZodObject<{
1317
1600
  sortOrder?: number | undefined;
1318
1601
  category?: string | undefined;
1319
1602
  }[];
1320
- data?: Record<string, any> | undefined;
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;
1321
1611
  tags?: string[] | undefined;
1322
1612
  documentation?: ({
1323
1613
  type: "pdf";
@@ -1367,24 +1657,25 @@ export declare const qualitySchema: z.ZodObject<{
1367
1657
  })[] | undefined;
1368
1658
  sortOrder?: number | undefined;
1369
1659
  }, {
1370
- code: string;
1371
1660
  type: "quality";
1661
+ code: string;
1372
1662
  title: string;
1373
1663
  items: {
1374
- code: string;
1375
1664
  type: "criterion";
1665
+ code: string;
1376
1666
  title: string;
1377
1667
  items: {
1378
- code: string;
1379
1668
  type: "task-group";
1669
+ code: string;
1380
1670
  title: string;
1381
1671
  items: {
1382
- code: string;
1383
1672
  type: "task";
1673
+ code: string;
1384
1674
  title: string;
1385
1675
  items: {
1386
- code: string;
1387
1676
  type: "task-item";
1677
+ code: string;
1678
+ title: string;
1388
1679
  definition: {
1389
1680
  type: "select-single";
1390
1681
  options: {
@@ -1411,11 +1702,18 @@ export declare const qualitySchema: z.ZodObject<{
1411
1702
  } | {
1412
1703
  type: "boolean";
1413
1704
  labels?: {
1414
- false?: string | undefined;
1415
- true?: string | undefined;
1705
+ false: string;
1706
+ true: string;
1416
1707
  } | undefined;
1417
1708
  };
1418
- data?: Record<string, any> | undefined;
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;
1419
1717
  description?: string | undefined;
1420
1718
  tags?: string[] | undefined;
1421
1719
  documentation?: ({
@@ -1433,11 +1731,16 @@ export declare const qualitySchema: z.ZodObject<{
1433
1731
  label: string;
1434
1732
  text: string;
1435
1733
  })[] | undefined;
1436
- valueReference?: string | number | boolean | (string | number | boolean | null)[] | null | undefined;
1437
1734
  sortOrder?: number | undefined;
1438
1735
  providedData?: Record<string, string | number | boolean | (string | number | boolean | null)[] | null> | undefined;
1439
1736
  }[];
1440
- data?: Record<string, any> | undefined;
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;
1441
1744
  description?: string | undefined;
1442
1745
  tags?: string[] | undefined;
1443
1746
  documentation?: ({
@@ -1457,7 +1760,14 @@ export declare const qualitySchema: z.ZodObject<{
1457
1760
  })[] | undefined;
1458
1761
  sortOrder?: number | undefined;
1459
1762
  }[];
1460
- data?: Record<string, any> | undefined;
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;
1461
1771
  tags?: string[] | undefined;
1462
1772
  documentation?: ({
1463
1773
  type: "pdf";
@@ -1477,7 +1787,14 @@ export declare const qualitySchema: z.ZodObject<{
1477
1787
  sortOrder?: number | undefined;
1478
1788
  category?: string | undefined;
1479
1789
  }[];
1480
- data?: Record<string, any> | undefined;
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;
1481
1798
  tags?: string[] | undefined;
1482
1799
  documentation?: ({
1483
1800
  type: "pdf";