@ecrvs/opencrvs-toolkit 1.8.1-rc.b48c48d → 1.9.0-rc.d21dcd8

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 (34) hide show
  1. package/dist/commons/api/router.d.ts +15651 -3988
  2. package/dist/commons/conditionals/abbreviation.d.ts +5 -0
  3. package/dist/commons/conditionals/conditionals.d.ts +186 -33
  4. package/dist/commons/conditionals/ill-defined.d.ts +2 -0
  5. package/dist/commons/conditionals/validate.d.ts +21 -54
  6. package/dist/commons/events/ActionConfig.d.ts +96 -549
  7. package/dist/commons/events/ActionDocument.d.ts +23760 -5269
  8. package/dist/commons/events/ActionInput.d.ts +18368 -3952
  9. package/dist/commons/events/ActionType.d.ts +3 -3
  10. package/dist/commons/events/AdvancedSearchConfig.d.ts +441 -9
  11. package/dist/commons/events/CompositeFieldValue.d.ts +19 -0
  12. package/dist/commons/events/CountryConfigQueryInput.d.ts +308 -308
  13. package/dist/commons/events/Draft.d.ts +1111 -103
  14. package/dist/commons/events/EventConfig.d.ts +41 -393
  15. package/dist/commons/events/EventDocument.d.ts +12855 -2663
  16. package/dist/commons/events/EventIndex.d.ts +233 -5
  17. package/dist/commons/events/FieldConfig.d.ts +5692 -1218
  18. package/dist/commons/events/FieldType.d.ts +10 -3
  19. package/dist/commons/events/FieldTypeMapping.d.ts +421 -12
  20. package/dist/commons/events/FieldValue.d.ts +433 -10
  21. package/dist/commons/events/WorkqueueConfig.d.ts +484 -484
  22. package/dist/commons/events/defineConfig.d.ts +6 -94
  23. package/dist/commons/events/field.d.ts +175 -27
  24. package/dist/commons/events/index.d.ts +0 -1
  25. package/dist/commons/events/state/index.d.ts +52 -3
  26. package/dist/commons/events/state/utils.d.ts +1579 -219
  27. package/dist/commons/events/test.utils.d.ts +800 -39
  28. package/dist/commons/events/utils.d.ts +114 -104
  29. package/dist/commons/notification/UserNotifications.d.ts +130 -0
  30. package/dist/conditionals/index.js +298 -192
  31. package/dist/events/index.js +2360 -755
  32. package/dist/notification/index.js +2128 -618
  33. package/package.json +2 -2
  34. package/dist/commons/events/User.d.ts +0 -45
@@ -26,77 +26,102 @@ export declare const ActionConfigBase: z.ZodObject<{
26
26
  description: string;
27
27
  defaultMessage: string;
28
28
  }>;
29
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
30
- type: z.ZodLiteral<"SHOW">;
31
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
32
- }, "strip", z.ZodTypeAny, {
33
- type: "SHOW";
34
- conditional: import(".").JSONSchema;
35
- }, {
36
- type: "SHOW";
37
- conditional: import(".").JSONSchema;
38
- }>, z.ZodObject<{
39
- type: z.ZodLiteral<"ENABLE">;
40
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
41
- }, "strip", z.ZodTypeAny, {
42
- type: "ENABLE";
43
- conditional: import(".").JSONSchema;
44
- }, {
45
- type: "ENABLE";
46
- conditional: import(".").JSONSchema;
47
- }>]>, "many">>>;
48
- draft: z.ZodOptional<z.ZodBoolean>;
49
29
  }, "strip", z.ZodTypeAny, {
50
30
  label: TranslationConfig;
51
- conditionals: ({
52
- type: "SHOW";
53
- conditional: import(".").JSONSchema;
54
- } | {
55
- type: "ENABLE";
56
- conditional: import(".").JSONSchema;
57
- })[];
58
- draft?: boolean | undefined;
59
31
  }, {
60
32
  label: {
61
33
  id: string;
62
34
  description: string;
63
35
  defaultMessage: string;
64
36
  };
65
- draft?: boolean | undefined;
66
- conditionals?: ({
67
- type: "SHOW";
68
- conditional: import(".").JSONSchema;
69
- } | {
70
- type: "ENABLE";
71
- conditional: import(".").JSONSchema;
72
- })[] | undefined;
73
37
  }>;
74
- declare const ReadActionConfig: z.ZodObject<z.objectUtil.extendShape<{
38
+ export declare const DeclarationActionBase: z.ZodObject<z.objectUtil.extendShape<{
75
39
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
76
40
  id: string;
77
41
  description: string;
78
42
  defaultMessage: string;
79
43
  }>;
80
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
81
- type: z.ZodLiteral<"SHOW">;
82
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
44
+ }, {
45
+ review: z.ZodObject<{
46
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
47
+ id: string;
48
+ description: string;
49
+ defaultMessage: string;
50
+ }>;
51
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
83
52
  }, "strip", z.ZodTypeAny, {
84
- type: "SHOW";
85
- conditional: import(".").JSONSchema;
53
+ title: TranslationConfig;
54
+ fields: FieldConfig[];
86
55
  }, {
87
- type: "SHOW";
88
- conditional: import(".").JSONSchema;
89
- }>, z.ZodObject<{
90
- type: z.ZodLiteral<"ENABLE">;
91
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
56
+ title: {
57
+ id: string;
58
+ description: string;
59
+ defaultMessage: string;
60
+ };
61
+ fields: import("./FieldConfig").FieldConfigInput[];
62
+ }>;
63
+ deduplication: z.ZodOptional<z.ZodObject<{
64
+ id: z.ZodString;
65
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
66
+ id: string;
67
+ description: string;
68
+ defaultMessage: string;
69
+ }>;
70
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, z.ZodTypeDef, import("./DeduplicationConfig").ClauseInput>;
92
71
  }, "strip", z.ZodTypeAny, {
93
- type: "ENABLE";
94
- conditional: import(".").JSONSchema;
72
+ id: string;
73
+ label: TranslationConfig;
74
+ query: import("./DeduplicationConfig").ClauseOutput;
95
75
  }, {
96
- type: "ENABLE";
97
- conditional: import(".").JSONSchema;
98
- }>]>, "many">>>;
99
- draft: z.ZodOptional<z.ZodBoolean>;
76
+ id: string;
77
+ label: {
78
+ id: string;
79
+ description: string;
80
+ defaultMessage: string;
81
+ };
82
+ query: import("./DeduplicationConfig").ClauseInput;
83
+ }>>;
84
+ }>, "strip", z.ZodTypeAny, {
85
+ label: TranslationConfig;
86
+ review: {
87
+ title: TranslationConfig;
88
+ fields: FieldConfig[];
89
+ };
90
+ deduplication?: {
91
+ id: string;
92
+ label: TranslationConfig;
93
+ query: import("./DeduplicationConfig").ClauseOutput;
94
+ } | undefined;
95
+ }, {
96
+ label: {
97
+ id: string;
98
+ description: string;
99
+ defaultMessage: string;
100
+ };
101
+ review: {
102
+ title: {
103
+ id: string;
104
+ description: string;
105
+ defaultMessage: string;
106
+ };
107
+ fields: import("./FieldConfig").FieldConfigInput[];
108
+ };
109
+ deduplication?: {
110
+ id: string;
111
+ label: {
112
+ id: string;
113
+ description: string;
114
+ defaultMessage: string;
115
+ };
116
+ query: import("./DeduplicationConfig").ClauseInput;
117
+ } | undefined;
118
+ }>;
119
+ declare const ReadActionConfig: z.ZodObject<z.objectUtil.extendShape<{
120
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
121
+ id: string;
122
+ description: string;
123
+ defaultMessage: string;
124
+ }>;
100
125
  }, {
101
126
  type: z.ZodLiteral<"READ">;
102
127
  review: z.ZodObject<{
@@ -120,18 +145,10 @@ declare const ReadActionConfig: z.ZodObject<z.objectUtil.extendShape<{
120
145
  }>, "strip", z.ZodTypeAny, {
121
146
  type: "READ";
122
147
  label: TranslationConfig;
123
- conditionals: ({
124
- type: "SHOW";
125
- conditional: import(".").JSONSchema;
126
- } | {
127
- type: "ENABLE";
128
- conditional: import(".").JSONSchema;
129
- })[];
130
148
  review: {
131
149
  title: TranslationConfig;
132
150
  fields: FieldConfig[];
133
151
  };
134
- draft?: boolean | undefined;
135
152
  }, {
136
153
  type: "READ";
137
154
  label: {
@@ -147,43 +164,14 @@ declare const ReadActionConfig: z.ZodObject<z.objectUtil.extendShape<{
147
164
  };
148
165
  fields: import("./FieldConfig").FieldConfigInput[];
149
166
  };
150
- draft?: boolean | undefined;
151
- conditionals?: ({
152
- type: "SHOW";
153
- conditional: import(".").JSONSchema;
154
- } | {
155
- type: "ENABLE";
156
- conditional: import(".").JSONSchema;
157
- })[] | undefined;
158
167
  }>;
159
- declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
168
+ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
160
169
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
161
170
  id: string;
162
171
  description: string;
163
172
  defaultMessage: string;
164
173
  }>;
165
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
166
- type: z.ZodLiteral<"SHOW">;
167
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
168
- }, "strip", z.ZodTypeAny, {
169
- type: "SHOW";
170
- conditional: import(".").JSONSchema;
171
- }, {
172
- type: "SHOW";
173
- conditional: import(".").JSONSchema;
174
- }>, z.ZodObject<{
175
- type: z.ZodLiteral<"ENABLE">;
176
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
177
- }, "strip", z.ZodTypeAny, {
178
- type: "ENABLE";
179
- conditional: import(".").JSONSchema;
180
- }, {
181
- type: "ENABLE";
182
- conditional: import(".").JSONSchema;
183
- }>]>, "many">>>;
184
- draft: z.ZodOptional<z.ZodBoolean>;
185
174
  }, {
186
- type: z.ZodLiteral<"DECLARE">;
187
175
  review: z.ZodObject<{
188
176
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
189
177
  id: string;
@@ -223,21 +211,15 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
223
211
  };
224
212
  query: import("./DeduplicationConfig").ClauseInput;
225
213
  }>>;
214
+ }>, {
215
+ type: z.ZodLiteral<"DECLARE">;
226
216
  }>, "strip", z.ZodTypeAny, {
227
217
  type: "DECLARE";
228
218
  label: TranslationConfig;
229
- conditionals: ({
230
- type: "SHOW";
231
- conditional: import(".").JSONSchema;
232
- } | {
233
- type: "ENABLE";
234
- conditional: import(".").JSONSchema;
235
- })[];
236
219
  review: {
237
220
  title: TranslationConfig;
238
221
  fields: FieldConfig[];
239
222
  };
240
- draft?: boolean | undefined;
241
223
  deduplication?: {
242
224
  id: string;
243
225
  label: TranslationConfig;
@@ -258,14 +240,6 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
258
240
  };
259
241
  fields: import("./FieldConfig").FieldConfigInput[];
260
242
  };
261
- draft?: boolean | undefined;
262
- conditionals?: ({
263
- type: "SHOW";
264
- conditional: import(".").JSONSchema;
265
- } | {
266
- type: "ENABLE";
267
- conditional: import(".").JSONSchema;
268
- })[] | undefined;
269
243
  deduplication?: {
270
244
  id: string;
271
245
  label: {
@@ -276,34 +250,13 @@ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
276
250
  query: import("./DeduplicationConfig").ClauseInput;
277
251
  } | undefined;
278
252
  }>;
279
- declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
253
+ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
280
254
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
281
255
  id: string;
282
256
  description: string;
283
257
  defaultMessage: string;
284
258
  }>;
285
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
286
- type: z.ZodLiteral<"SHOW">;
287
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
288
- }, "strip", z.ZodTypeAny, {
289
- type: "SHOW";
290
- conditional: import(".").JSONSchema;
291
- }, {
292
- type: "SHOW";
293
- conditional: import(".").JSONSchema;
294
- }>, z.ZodObject<{
295
- type: z.ZodLiteral<"ENABLE">;
296
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
297
- }, "strip", z.ZodTypeAny, {
298
- type: "ENABLE";
299
- conditional: import(".").JSONSchema;
300
- }, {
301
- type: "ENABLE";
302
- conditional: import(".").JSONSchema;
303
- }>]>, "many">>>;
304
- draft: z.ZodOptional<z.ZodBoolean>;
305
259
  }, {
306
- type: z.ZodLiteral<"VALIDATE">;
307
260
  review: z.ZodObject<{
308
261
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
309
262
  id: string;
@@ -343,21 +296,15 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
343
296
  };
344
297
  query: import("./DeduplicationConfig").ClauseInput;
345
298
  }>>;
299
+ }>, {
300
+ type: z.ZodLiteral<"VALIDATE">;
346
301
  }>, "strip", z.ZodTypeAny, {
347
302
  type: "VALIDATE";
348
303
  label: TranslationConfig;
349
- conditionals: ({
350
- type: "SHOW";
351
- conditional: import(".").JSONSchema;
352
- } | {
353
- type: "ENABLE";
354
- conditional: import(".").JSONSchema;
355
- })[];
356
304
  review: {
357
305
  title: TranslationConfig;
358
306
  fields: FieldConfig[];
359
307
  };
360
- draft?: boolean | undefined;
361
308
  deduplication?: {
362
309
  id: string;
363
310
  label: TranslationConfig;
@@ -378,14 +325,6 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
378
325
  };
379
326
  fields: import("./FieldConfig").FieldConfigInput[];
380
327
  };
381
- draft?: boolean | undefined;
382
- conditionals?: ({
383
- type: "SHOW";
384
- conditional: import(".").JSONSchema;
385
- } | {
386
- type: "ENABLE";
387
- conditional: import(".").JSONSchema;
388
- })[] | undefined;
389
328
  deduplication?: {
390
329
  id: string;
391
330
  label: {
@@ -396,34 +335,13 @@ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
396
335
  query: import("./DeduplicationConfig").ClauseInput;
397
336
  } | undefined;
398
337
  }>;
399
- declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
338
+ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
400
339
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
401
340
  id: string;
402
341
  description: string;
403
342
  defaultMessage: string;
404
343
  }>;
405
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
406
- type: z.ZodLiteral<"SHOW">;
407
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
408
- }, "strip", z.ZodTypeAny, {
409
- type: "SHOW";
410
- conditional: import(".").JSONSchema;
411
- }, {
412
- type: "SHOW";
413
- conditional: import(".").JSONSchema;
414
- }>, z.ZodObject<{
415
- type: z.ZodLiteral<"ENABLE">;
416
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
417
- }, "strip", z.ZodTypeAny, {
418
- type: "ENABLE";
419
- conditional: import(".").JSONSchema;
420
- }, {
421
- type: "ENABLE";
422
- conditional: import(".").JSONSchema;
423
- }>]>, "many">>>;
424
- draft: z.ZodOptional<z.ZodBoolean>;
425
344
  }, {
426
- type: z.ZodLiteral<"REGISTER">;
427
345
  review: z.ZodObject<{
428
346
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
429
347
  id: string;
@@ -463,21 +381,15 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
463
381
  };
464
382
  query: import("./DeduplicationConfig").ClauseInput;
465
383
  }>>;
384
+ }>, {
385
+ type: z.ZodLiteral<"REGISTER">;
466
386
  }>, "strip", z.ZodTypeAny, {
467
387
  type: "REGISTER";
468
388
  label: TranslationConfig;
469
- conditionals: ({
470
- type: "SHOW";
471
- conditional: import(".").JSONSchema;
472
- } | {
473
- type: "ENABLE";
474
- conditional: import(".").JSONSchema;
475
- })[];
476
389
  review: {
477
390
  title: TranslationConfig;
478
391
  fields: FieldConfig[];
479
392
  };
480
- draft?: boolean | undefined;
481
393
  deduplication?: {
482
394
  id: string;
483
395
  label: TranslationConfig;
@@ -498,14 +410,6 @@ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
498
410
  };
499
411
  fields: import("./FieldConfig").FieldConfigInput[];
500
412
  };
501
- draft?: boolean | undefined;
502
- conditionals?: ({
503
- type: "SHOW";
504
- conditional: import(".").JSONSchema;
505
- } | {
506
- type: "ENABLE";
507
- conditional: import(".").JSONSchema;
508
- })[] | undefined;
509
413
  deduplication?: {
510
414
  id: string;
511
415
  label: {
@@ -522,39 +426,11 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
522
426
  description: string;
523
427
  defaultMessage: string;
524
428
  }>;
525
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
526
- type: z.ZodLiteral<"SHOW">;
527
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
528
- }, "strip", z.ZodTypeAny, {
529
- type: "SHOW";
530
- conditional: import(".").JSONSchema;
531
- }, {
532
- type: "SHOW";
533
- conditional: import(".").JSONSchema;
534
- }>, z.ZodObject<{
535
- type: z.ZodLiteral<"ENABLE">;
536
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
537
- }, "strip", z.ZodTypeAny, {
538
- type: "ENABLE";
539
- conditional: import(".").JSONSchema;
540
- }, {
541
- type: "ENABLE";
542
- conditional: import(".").JSONSchema;
543
- }>]>, "many">>>;
544
- draft: z.ZodOptional<z.ZodBoolean>;
545
429
  }, {
546
430
  type: z.ZodLiteral<"REJECT">;
547
431
  }>, "strip", z.ZodTypeAny, {
548
432
  type: "REJECT";
549
433
  label: TranslationConfig;
550
- conditionals: ({
551
- type: "SHOW";
552
- conditional: import(".").JSONSchema;
553
- } | {
554
- type: "ENABLE";
555
- conditional: import(".").JSONSchema;
556
- })[];
557
- draft?: boolean | undefined;
558
434
  }, {
559
435
  type: "REJECT";
560
436
  label: {
@@ -562,14 +438,6 @@ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
562
438
  description: string;
563
439
  defaultMessage: string;
564
440
  };
565
- draft?: boolean | undefined;
566
- conditionals?: ({
567
- type: "SHOW";
568
- conditional: import(".").JSONSchema;
569
- } | {
570
- type: "ENABLE";
571
- conditional: import(".").JSONSchema;
572
- })[] | undefined;
573
441
  }>;
574
442
  declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
575
443
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -577,39 +445,11 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
577
445
  description: string;
578
446
  defaultMessage: string;
579
447
  }>;
580
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
581
- type: z.ZodLiteral<"SHOW">;
582
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
583
- }, "strip", z.ZodTypeAny, {
584
- type: "SHOW";
585
- conditional: import(".").JSONSchema;
586
- }, {
587
- type: "SHOW";
588
- conditional: import(".").JSONSchema;
589
- }>, z.ZodObject<{
590
- type: z.ZodLiteral<"ENABLE">;
591
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
592
- }, "strip", z.ZodTypeAny, {
593
- type: "ENABLE";
594
- conditional: import(".").JSONSchema;
595
- }, {
596
- type: "ENABLE";
597
- conditional: import(".").JSONSchema;
598
- }>]>, "many">>>;
599
- draft: z.ZodOptional<z.ZodBoolean>;
600
448
  }, {
601
449
  type: z.ZodLiteral<"ARCHIVE">;
602
450
  }>, "strip", z.ZodTypeAny, {
603
451
  type: "ARCHIVE";
604
452
  label: TranslationConfig;
605
- conditionals: ({
606
- type: "SHOW";
607
- conditional: import(".").JSONSchema;
608
- } | {
609
- type: "ENABLE";
610
- conditional: import(".").JSONSchema;
611
- })[];
612
- draft?: boolean | undefined;
613
453
  }, {
614
454
  type: "ARCHIVE";
615
455
  label: {
@@ -617,14 +457,6 @@ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
617
457
  description: string;
618
458
  defaultMessage: string;
619
459
  };
620
- draft?: boolean | undefined;
621
- conditionals?: ({
622
- type: "SHOW";
623
- conditional: import(".").JSONSchema;
624
- } | {
625
- type: "ENABLE";
626
- conditional: import(".").JSONSchema;
627
- })[] | undefined;
628
460
  }>;
629
461
  declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
630
462
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -632,39 +464,11 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
632
464
  description: string;
633
465
  defaultMessage: string;
634
466
  }>;
635
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
636
- type: z.ZodLiteral<"SHOW">;
637
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
638
- }, "strip", z.ZodTypeAny, {
639
- type: "SHOW";
640
- conditional: import(".").JSONSchema;
641
- }, {
642
- type: "SHOW";
643
- conditional: import(".").JSONSchema;
644
- }>, z.ZodObject<{
645
- type: z.ZodLiteral<"ENABLE">;
646
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
647
- }, "strip", z.ZodTypeAny, {
648
- type: "ENABLE";
649
- conditional: import(".").JSONSchema;
650
- }, {
651
- type: "ENABLE";
652
- conditional: import(".").JSONSchema;
653
- }>]>, "many">>>;
654
- draft: z.ZodOptional<z.ZodBoolean>;
655
467
  }, {
656
468
  type: z.ZodLiteral<"DELETE">;
657
469
  }>, "strip", z.ZodTypeAny, {
658
470
  type: "DELETE";
659
471
  label: TranslationConfig;
660
- conditionals: ({
661
- type: "SHOW";
662
- conditional: import(".").JSONSchema;
663
- } | {
664
- type: "ENABLE";
665
- conditional: import(".").JSONSchema;
666
- })[];
667
- draft?: boolean | undefined;
668
472
  }, {
669
473
  type: "DELETE";
670
474
  label: {
@@ -672,14 +476,6 @@ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
672
476
  description: string;
673
477
  defaultMessage: string;
674
478
  };
675
- draft?: boolean | undefined;
676
- conditionals?: ({
677
- type: "SHOW";
678
- conditional: import(".").JSONSchema;
679
- } | {
680
- type: "ENABLE";
681
- conditional: import(".").JSONSchema;
682
- })[] | undefined;
683
479
  }>;
684
480
  declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape<{
685
481
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -687,26 +483,6 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
687
483
  description: string;
688
484
  defaultMessage: string;
689
485
  }>;
690
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
691
- type: z.ZodLiteral<"SHOW">;
692
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
693
- }, "strip", z.ZodTypeAny, {
694
- type: "SHOW";
695
- conditional: import(".").JSONSchema;
696
- }, {
697
- type: "SHOW";
698
- conditional: import(".").JSONSchema;
699
- }>, z.ZodObject<{
700
- type: z.ZodLiteral<"ENABLE">;
701
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
702
- }, "strip", z.ZodTypeAny, {
703
- type: "ENABLE";
704
- conditional: import(".").JSONSchema;
705
- }, {
706
- type: "ENABLE";
707
- conditional: import(".").JSONSchema;
708
- }>]>, "many">>>;
709
- draft: z.ZodOptional<z.ZodBoolean>;
710
486
  }, {
711
487
  type: z.ZodLiteral<"PRINT_CERTIFICATE">;
712
488
  printForm: z.ZodObject<{
@@ -1010,13 +786,6 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
1010
786
  }>, "strip", z.ZodTypeAny, {
1011
787
  type: "PRINT_CERTIFICATE";
1012
788
  label: TranslationConfig;
1013
- conditionals: ({
1014
- type: "SHOW";
1015
- conditional: import(".").JSONSchema;
1016
- } | {
1017
- type: "ENABLE";
1018
- conditional: import(".").JSONSchema;
1019
- })[];
1020
789
  printForm: {
1021
790
  label: TranslationConfig;
1022
791
  pages: ({
@@ -1045,7 +814,6 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
1045
814
  conditional?: import(".").JSONSchema | undefined;
1046
815
  })[];
1047
816
  };
1048
- draft?: boolean | undefined;
1049
817
  }, {
1050
818
  type: "PRINT_CERTIFICATE";
1051
819
  label: {
@@ -1109,14 +877,6 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
1109
877
  conditional?: import(".").JSONSchema | undefined;
1110
878
  })[];
1111
879
  };
1112
- draft?: boolean | undefined;
1113
- conditionals?: ({
1114
- type: "SHOW";
1115
- conditional: import(".").JSONSchema;
1116
- } | {
1117
- type: "ENABLE";
1118
- conditional: import(".").JSONSchema;
1119
- })[] | undefined;
1120
880
  }>;
1121
881
  declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1122
882
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -1124,26 +884,6 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1124
884
  description: string;
1125
885
  defaultMessage: string;
1126
886
  }>;
1127
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1128
- type: z.ZodLiteral<"SHOW">;
1129
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1130
- }, "strip", z.ZodTypeAny, {
1131
- type: "SHOW";
1132
- conditional: import(".").JSONSchema;
1133
- }, {
1134
- type: "SHOW";
1135
- conditional: import(".").JSONSchema;
1136
- }>, z.ZodObject<{
1137
- type: z.ZodLiteral<"ENABLE">;
1138
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1139
- }, "strip", z.ZodTypeAny, {
1140
- type: "ENABLE";
1141
- conditional: import(".").JSONSchema;
1142
- }, {
1143
- type: "ENABLE";
1144
- conditional: import(".").JSONSchema;
1145
- }>]>, "many">>>;
1146
- draft: z.ZodOptional<z.ZodBoolean>;
1147
887
  }, {
1148
888
  type: z.ZodLiteral<"REQUEST_CORRECTION">;
1149
889
  correctionForm: z.ZodObject<{
@@ -1447,13 +1187,6 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1447
1187
  }>, "strip", z.ZodTypeAny, {
1448
1188
  type: "REQUEST_CORRECTION";
1449
1189
  label: TranslationConfig;
1450
- conditionals: ({
1451
- type: "SHOW";
1452
- conditional: import(".").JSONSchema;
1453
- } | {
1454
- type: "ENABLE";
1455
- conditional: import(".").JSONSchema;
1456
- })[];
1457
1190
  correctionForm: {
1458
1191
  label: TranslationConfig;
1459
1192
  pages: ({
@@ -1482,7 +1215,6 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1482
1215
  conditional?: import(".").JSONSchema | undefined;
1483
1216
  })[];
1484
1217
  };
1485
- draft?: boolean | undefined;
1486
1218
  }, {
1487
1219
  type: "REQUEST_CORRECTION";
1488
1220
  label: {
@@ -1546,14 +1278,6 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1546
1278
  conditional?: import(".").JSONSchema | undefined;
1547
1279
  })[];
1548
1280
  };
1549
- draft?: boolean | undefined;
1550
- conditionals?: ({
1551
- type: "SHOW";
1552
- conditional: import(".").JSONSchema;
1553
- } | {
1554
- type: "ENABLE";
1555
- conditional: import(".").JSONSchema;
1556
- })[] | undefined;
1557
1281
  }>;
1558
1282
  declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1559
1283
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -1561,39 +1285,11 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1561
1285
  description: string;
1562
1286
  defaultMessage: string;
1563
1287
  }>;
1564
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1565
- type: z.ZodLiteral<"SHOW">;
1566
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1567
- }, "strip", z.ZodTypeAny, {
1568
- type: "SHOW";
1569
- conditional: import(".").JSONSchema;
1570
- }, {
1571
- type: "SHOW";
1572
- conditional: import(".").JSONSchema;
1573
- }>, z.ZodObject<{
1574
- type: z.ZodLiteral<"ENABLE">;
1575
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1576
- }, "strip", z.ZodTypeAny, {
1577
- type: "ENABLE";
1578
- conditional: import(".").JSONSchema;
1579
- }, {
1580
- type: "ENABLE";
1581
- conditional: import(".").JSONSchema;
1582
- }>]>, "many">>>;
1583
- draft: z.ZodOptional<z.ZodBoolean>;
1584
1288
  }, {
1585
1289
  type: z.ZodLiteral<"REJECT_CORRECTION">;
1586
1290
  }>, "strip", z.ZodTypeAny, {
1587
1291
  type: "REJECT_CORRECTION";
1588
1292
  label: TranslationConfig;
1589
- conditionals: ({
1590
- type: "SHOW";
1591
- conditional: import(".").JSONSchema;
1592
- } | {
1593
- type: "ENABLE";
1594
- conditional: import(".").JSONSchema;
1595
- })[];
1596
- draft?: boolean | undefined;
1597
1293
  }, {
1598
1294
  type: "REJECT_CORRECTION";
1599
1295
  label: {
@@ -1601,14 +1297,6 @@ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1601
1297
  description: string;
1602
1298
  defaultMessage: string;
1603
1299
  };
1604
- draft?: boolean | undefined;
1605
- conditionals?: ({
1606
- type: "SHOW";
1607
- conditional: import(".").JSONSchema;
1608
- } | {
1609
- type: "ENABLE";
1610
- conditional: import(".").JSONSchema;
1611
- })[] | undefined;
1612
1300
  }>;
1613
1301
  declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1614
1302
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -1616,39 +1304,11 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1616
1304
  description: string;
1617
1305
  defaultMessage: string;
1618
1306
  }>;
1619
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1620
- type: z.ZodLiteral<"SHOW">;
1621
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1622
- }, "strip", z.ZodTypeAny, {
1623
- type: "SHOW";
1624
- conditional: import(".").JSONSchema;
1625
- }, {
1626
- type: "SHOW";
1627
- conditional: import(".").JSONSchema;
1628
- }>, z.ZodObject<{
1629
- type: z.ZodLiteral<"ENABLE">;
1630
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1631
- }, "strip", z.ZodTypeAny, {
1632
- type: "ENABLE";
1633
- conditional: import(".").JSONSchema;
1634
- }, {
1635
- type: "ENABLE";
1636
- conditional: import(".").JSONSchema;
1637
- }>]>, "many">>>;
1638
- draft: z.ZodOptional<z.ZodBoolean>;
1639
1307
  }, {
1640
1308
  type: z.ZodLiteral<"APPROVE_CORRECTION">;
1641
1309
  }>, "strip", z.ZodTypeAny, {
1642
1310
  type: "APPROVE_CORRECTION";
1643
1311
  label: TranslationConfig;
1644
- conditionals: ({
1645
- type: "SHOW";
1646
- conditional: import(".").JSONSchema;
1647
- } | {
1648
- type: "ENABLE";
1649
- conditional: import(".").JSONSchema;
1650
- })[];
1651
- draft?: boolean | undefined;
1652
1312
  }, {
1653
1313
  type: "APPROVE_CORRECTION";
1654
1314
  label: {
@@ -1656,14 +1316,6 @@ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1656
1316
  description: string;
1657
1317
  defaultMessage: string;
1658
1318
  };
1659
- draft?: boolean | undefined;
1660
- conditionals?: ({
1661
- type: "SHOW";
1662
- conditional: import(".").JSONSchema;
1663
- } | {
1664
- type: "ENABLE";
1665
- conditional: import(".").JSONSchema;
1666
- })[] | undefined;
1667
1319
  }>;
1668
1320
  /** @knipignore */
1669
1321
  export type AllActionConfigFields = typeof ReadActionConfig | typeof DeclareConfig | typeof ValidateConfig | typeof RejectDeclarationConfig | typeof ArchiveConfig | typeof RegisterConfig | typeof DeleteConfig | typeof PrintCertificateActionConfig | typeof RequestCorrectionConfig | typeof RejectCorrectionConfig | typeof ApproveCorrectionConfig;
@@ -1671,34 +1323,13 @@ export type AllActionConfigFields = typeof ReadActionConfig | typeof DeclareConf
1671
1323
  export type InferredActionConfig = z.infer<typeof ReadActionConfig> | z.infer<typeof DeclareConfig> | z.infer<typeof ValidateConfig> | z.infer<typeof RejectDeclarationConfig> | z.infer<typeof ArchiveConfig> | z.infer<typeof RegisterConfig> | z.infer<typeof DeleteConfig> | z.infer<typeof PrintCertificateActionConfig> | z.infer<typeof RequestCorrectionConfig> | z.infer<typeof RejectCorrectionConfig> | z.infer<typeof ApproveCorrectionConfig>;
1672
1324
  export declare const ActionConfig: z.ZodDiscriminatedUnion<"type", AllActionConfigFields[]>;
1673
1325
  export type ActionConfig = InferredActionConfig;
1674
- export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1326
+ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1675
1327
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1676
1328
  id: string;
1677
1329
  description: string;
1678
1330
  defaultMessage: string;
1679
1331
  }>;
1680
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1681
- type: z.ZodLiteral<"SHOW">;
1682
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1683
- }, "strip", z.ZodTypeAny, {
1684
- type: "SHOW";
1685
- conditional: import(".").JSONSchema;
1686
- }, {
1687
- type: "SHOW";
1688
- conditional: import(".").JSONSchema;
1689
- }>, z.ZodObject<{
1690
- type: z.ZodLiteral<"ENABLE">;
1691
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1692
- }, "strip", z.ZodTypeAny, {
1693
- type: "ENABLE";
1694
- conditional: import(".").JSONSchema;
1695
- }, {
1696
- type: "ENABLE";
1697
- conditional: import(".").JSONSchema;
1698
- }>]>, "many">>>;
1699
- draft: z.ZodOptional<z.ZodBoolean>;
1700
1332
  }, {
1701
- type: z.ZodLiteral<"DECLARE">;
1702
1333
  review: z.ZodObject<{
1703
1334
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1704
1335
  id: string;
@@ -1738,21 +1369,15 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
1738
1369
  };
1739
1370
  query: import("./DeduplicationConfig").ClauseInput;
1740
1371
  }>>;
1372
+ }>, {
1373
+ type: z.ZodLiteral<"DECLARE">;
1741
1374
  }>, "strip", z.ZodTypeAny, {
1742
1375
  type: "DECLARE";
1743
1376
  label: TranslationConfig;
1744
- conditionals: ({
1745
- type: "SHOW";
1746
- conditional: import(".").JSONSchema;
1747
- } | {
1748
- type: "ENABLE";
1749
- conditional: import(".").JSONSchema;
1750
- })[];
1751
1377
  review: {
1752
1378
  title: TranslationConfig;
1753
1379
  fields: FieldConfig[];
1754
1380
  };
1755
- draft?: boolean | undefined;
1756
1381
  deduplication?: {
1757
1382
  id: string;
1758
1383
  label: TranslationConfig;
@@ -1773,14 +1398,6 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
1773
1398
  };
1774
1399
  fields: import("./FieldConfig").FieldConfigInput[];
1775
1400
  };
1776
- draft?: boolean | undefined;
1777
- conditionals?: ({
1778
- type: "SHOW";
1779
- conditional: import(".").JSONSchema;
1780
- } | {
1781
- type: "ENABLE";
1782
- conditional: import(".").JSONSchema;
1783
- })[] | undefined;
1784
1401
  deduplication?: {
1785
1402
  id: string;
1786
1403
  label: {
@@ -1790,34 +1407,13 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
1790
1407
  };
1791
1408
  query: import("./DeduplicationConfig").ClauseInput;
1792
1409
  } | undefined;
1793
- }>, z.ZodObject<z.objectUtil.extendShape<{
1410
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1794
1411
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1795
1412
  id: string;
1796
1413
  description: string;
1797
1414
  defaultMessage: string;
1798
1415
  }>;
1799
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1800
- type: z.ZodLiteral<"SHOW">;
1801
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1802
- }, "strip", z.ZodTypeAny, {
1803
- type: "SHOW";
1804
- conditional: import(".").JSONSchema;
1805
- }, {
1806
- type: "SHOW";
1807
- conditional: import(".").JSONSchema;
1808
- }>, z.ZodObject<{
1809
- type: z.ZodLiteral<"ENABLE">;
1810
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1811
- }, "strip", z.ZodTypeAny, {
1812
- type: "ENABLE";
1813
- conditional: import(".").JSONSchema;
1814
- }, {
1815
- type: "ENABLE";
1816
- conditional: import(".").JSONSchema;
1817
- }>]>, "many">>>;
1818
- draft: z.ZodOptional<z.ZodBoolean>;
1819
1416
  }, {
1820
- type: z.ZodLiteral<"VALIDATE">;
1821
1417
  review: z.ZodObject<{
1822
1418
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1823
1419
  id: string;
@@ -1857,21 +1453,15 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
1857
1453
  };
1858
1454
  query: import("./DeduplicationConfig").ClauseInput;
1859
1455
  }>>;
1456
+ }>, {
1457
+ type: z.ZodLiteral<"VALIDATE">;
1860
1458
  }>, "strip", z.ZodTypeAny, {
1861
1459
  type: "VALIDATE";
1862
1460
  label: TranslationConfig;
1863
- conditionals: ({
1864
- type: "SHOW";
1865
- conditional: import(".").JSONSchema;
1866
- } | {
1867
- type: "ENABLE";
1868
- conditional: import(".").JSONSchema;
1869
- })[];
1870
1461
  review: {
1871
1462
  title: TranslationConfig;
1872
1463
  fields: FieldConfig[];
1873
1464
  };
1874
- draft?: boolean | undefined;
1875
1465
  deduplication?: {
1876
1466
  id: string;
1877
1467
  label: TranslationConfig;
@@ -1892,14 +1482,6 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
1892
1482
  };
1893
1483
  fields: import("./FieldConfig").FieldConfigInput[];
1894
1484
  };
1895
- draft?: boolean | undefined;
1896
- conditionals?: ({
1897
- type: "SHOW";
1898
- conditional: import(".").JSONSchema;
1899
- } | {
1900
- type: "ENABLE";
1901
- conditional: import(".").JSONSchema;
1902
- })[] | undefined;
1903
1485
  deduplication?: {
1904
1486
  id: string;
1905
1487
  label: {
@@ -1909,34 +1491,13 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
1909
1491
  };
1910
1492
  query: import("./DeduplicationConfig").ClauseInput;
1911
1493
  } | undefined;
1912
- }>, z.ZodObject<z.objectUtil.extendShape<{
1494
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1913
1495
  label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1914
1496
  id: string;
1915
1497
  description: string;
1916
1498
  defaultMessage: string;
1917
1499
  }>;
1918
- conditionals: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1919
- type: z.ZodLiteral<"SHOW">;
1920
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1921
- }, "strip", z.ZodTypeAny, {
1922
- type: "SHOW";
1923
- conditional: import(".").JSONSchema;
1924
- }, {
1925
- type: "SHOW";
1926
- conditional: import(".").JSONSchema;
1927
- }>, z.ZodObject<{
1928
- type: z.ZodLiteral<"ENABLE">;
1929
- conditional: z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>;
1930
- }, "strip", z.ZodTypeAny, {
1931
- type: "ENABLE";
1932
- conditional: import(".").JSONSchema;
1933
- }, {
1934
- type: "ENABLE";
1935
- conditional: import(".").JSONSchema;
1936
- }>]>, "many">>>;
1937
- draft: z.ZodOptional<z.ZodBoolean>;
1938
1500
  }, {
1939
- type: z.ZodLiteral<"REGISTER">;
1940
1501
  review: z.ZodObject<{
1941
1502
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1942
1503
  id: string;
@@ -1976,21 +1537,15 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
1976
1537
  };
1977
1538
  query: import("./DeduplicationConfig").ClauseInput;
1978
1539
  }>>;
1540
+ }>, {
1541
+ type: z.ZodLiteral<"REGISTER">;
1979
1542
  }>, "strip", z.ZodTypeAny, {
1980
1543
  type: "REGISTER";
1981
1544
  label: TranslationConfig;
1982
- conditionals: ({
1983
- type: "SHOW";
1984
- conditional: import(".").JSONSchema;
1985
- } | {
1986
- type: "ENABLE";
1987
- conditional: import(".").JSONSchema;
1988
- })[];
1989
1545
  review: {
1990
1546
  title: TranslationConfig;
1991
1547
  fields: FieldConfig[];
1992
1548
  };
1993
- draft?: boolean | undefined;
1994
1549
  deduplication?: {
1995
1550
  id: string;
1996
1551
  label: TranslationConfig;
@@ -2011,14 +1566,6 @@ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z
2011
1566
  };
2012
1567
  fields: import("./FieldConfig").FieldConfigInput[];
2013
1568
  };
2014
- draft?: boolean | undefined;
2015
- conditionals?: ({
2016
- type: "SHOW";
2017
- conditional: import(".").JSONSchema;
2018
- } | {
2019
- type: "ENABLE";
2020
- conditional: import(".").JSONSchema;
2021
- })[] | undefined;
2022
1569
  deduplication?: {
2023
1570
  id: string;
2024
1571
  label: {