@ecrvs/opencrvs-toolkit 1.8.1-rc.a7ee8fb

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 (76) hide show
  1. package/README.md +70 -0
  2. package/build.sh +56 -0
  3. package/dist/api/index.d.ts +11 -0
  4. package/dist/api/index.d.ts.map +1 -0
  5. package/dist/api/index.js +52 -0
  6. package/dist/commons/api/router.d.ts +14568 -0
  7. package/dist/commons/conditionals/conditionals.d.ts +194 -0
  8. package/dist/commons/conditionals/index.d.ts +2 -0
  9. package/dist/commons/conditionals/validate.d.ts +129 -0
  10. package/dist/commons/events/ActionConfig.d.ts +2034 -0
  11. package/dist/commons/events/ActionDocument.d.ts +14400 -0
  12. package/dist/commons/events/ActionInput.d.ts +11157 -0
  13. package/dist/commons/events/ActionType.d.ts +52 -0
  14. package/dist/commons/events/AdvancedSearchConfig.d.ts +1175 -0
  15. package/dist/commons/events/CompositeFieldValue.d.ts +181 -0
  16. package/dist/commons/events/Conditional.d.ts +55 -0
  17. package/dist/commons/events/Constants.d.ts +3 -0
  18. package/dist/commons/events/CountryConfigQueryInput.d.ts +4494 -0
  19. package/dist/commons/events/CreatedAtLocation.d.ts +2 -0
  20. package/dist/commons/events/DeduplicationConfig.d.ts +209 -0
  21. package/dist/commons/events/Draft.d.ts +814 -0
  22. package/dist/commons/events/EventConfig.d.ts +2237 -0
  23. package/dist/commons/events/EventConfigInput.d.ts +10 -0
  24. package/dist/commons/events/EventDocument.d.ts +8505 -0
  25. package/dist/commons/events/EventIndex.d.ts +3858 -0
  26. package/dist/commons/events/EventInput.d.ts +13 -0
  27. package/dist/commons/events/EventMetadata.d.ts +408 -0
  28. package/dist/commons/events/FieldConfig.d.ts +7125 -0
  29. package/dist/commons/events/FieldType.d.ts +46 -0
  30. package/dist/commons/events/FieldTypeMapping.d.ts +537 -0
  31. package/dist/commons/events/FieldValue.d.ts +250 -0
  32. package/dist/commons/events/FileUtils.d.ts +4 -0
  33. package/dist/commons/events/FormConfig.d.ts +725 -0
  34. package/dist/commons/events/PageConfig.d.ts +336 -0
  35. package/dist/commons/events/SummaryConfig.d.ts +170 -0
  36. package/dist/commons/events/TemplateConfig.d.ts +38 -0
  37. package/dist/commons/events/TranslationConfig.d.ts +15 -0
  38. package/dist/commons/events/User.d.ts +45 -0
  39. package/dist/commons/events/WorkqueueColumnConfig.d.ts +53 -0
  40. package/dist/commons/events/WorkqueueConfig.d.ts +8997 -0
  41. package/dist/commons/events/deduplication.d.ts +32 -0
  42. package/dist/commons/events/defineConfig.d.ts +309 -0
  43. package/dist/commons/events/event.d.ts +109 -0
  44. package/dist/commons/events/field.d.ts +151 -0
  45. package/dist/commons/events/index.d.ts +46 -0
  46. package/dist/commons/events/locations.d.ts +24 -0
  47. package/dist/commons/events/scopes.d.ts +55 -0
  48. package/dist/commons/events/serializer.d.ts +2 -0
  49. package/dist/commons/events/state/availableActions.d.ts +6 -0
  50. package/dist/commons/events/state/flags.d.ts +4 -0
  51. package/dist/commons/events/state/index.d.ts +146 -0
  52. package/dist/commons/events/state/utils.d.ts +1263 -0
  53. package/dist/commons/events/test.utils.d.ts +473 -0
  54. package/dist/commons/events/transactions.d.ts +2 -0
  55. package/dist/commons/events/utils.d.ts +501 -0
  56. package/dist/commons/events/workqueueDefaultColumns.d.ts +3 -0
  57. package/dist/commons/notification/UserNotifications.d.ts +632 -0
  58. package/dist/commons/notification/index.d.ts +2 -0
  59. package/dist/conditionals/index.d.ts +2 -0
  60. package/dist/conditionals/index.d.ts.map +1 -0
  61. package/dist/conditionals/index.js +491 -0
  62. package/dist/events/deduplication.d.ts +32 -0
  63. package/dist/events/deduplication.d.ts.map +1 -0
  64. package/dist/events/deduplication.js +67 -0
  65. package/dist/events/index.d.ts +2 -0
  66. package/dist/events/index.d.ts.map +1 -0
  67. package/dist/events/index.js +8383 -0
  68. package/dist/notification/index.d.ts +2 -0
  69. package/dist/notification/index.d.ts.map +1 -0
  70. package/dist/notification/index.js +5928 -0
  71. package/dist/scopes/index.d.ts +335 -0
  72. package/dist/scopes/index.d.ts.map +1 -0
  73. package/dist/scopes/index.js +379 -0
  74. package/package.json +40 -0
  75. package/tsconfig.json +27 -0
  76. package/tsconfig.tsbuildinfo +1 -0
@@ -0,0 +1,2034 @@
1
+ import { z } from 'zod';
2
+ import { TranslationConfig } from './TranslationConfig';
3
+ import { FieldConfig } from './FieldConfig';
4
+ export declare const DeclarationReviewConfig: z.ZodObject<{
5
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
6
+ id: string;
7
+ description: string;
8
+ defaultMessage: string;
9
+ }>;
10
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
11
+ }, "strip", z.ZodTypeAny, {
12
+ title: TranslationConfig;
13
+ fields: FieldConfig[];
14
+ }, {
15
+ title: {
16
+ id: string;
17
+ description: string;
18
+ defaultMessage: string;
19
+ };
20
+ fields: import("./FieldConfig").FieldConfigInput[];
21
+ }>;
22
+ export type ReviewPageConfig = z.infer<typeof DeclarationReviewConfig>;
23
+ export declare const ActionConfigBase: z.ZodObject<{
24
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
25
+ id: string;
26
+ description: string;
27
+ defaultMessage: string;
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
+ }, "strip", z.ZodTypeAny, {
50
+ 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
+ }, {
60
+ label: {
61
+ id: string;
62
+ description: string;
63
+ defaultMessage: string;
64
+ };
65
+ draft?: boolean | undefined;
66
+ conditionals?: ({
67
+ type: "SHOW";
68
+ conditional: import(".").JSONSchema;
69
+ } | {
70
+ type: "ENABLE";
71
+ conditional: import(".").JSONSchema;
72
+ })[] | undefined;
73
+ }>;
74
+ declare const ReadActionConfig: z.ZodObject<z.objectUtil.extendShape<{
75
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
76
+ id: string;
77
+ description: string;
78
+ defaultMessage: string;
79
+ }>;
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>;
83
+ }, "strip", z.ZodTypeAny, {
84
+ type: "SHOW";
85
+ conditional: import(".").JSONSchema;
86
+ }, {
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>;
92
+ }, "strip", z.ZodTypeAny, {
93
+ type: "ENABLE";
94
+ conditional: import(".").JSONSchema;
95
+ }, {
96
+ type: "ENABLE";
97
+ conditional: import(".").JSONSchema;
98
+ }>]>, "many">>>;
99
+ draft: z.ZodOptional<z.ZodBoolean>;
100
+ }, {
101
+ type: z.ZodLiteral<"READ">;
102
+ review: z.ZodObject<{
103
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
104
+ id: string;
105
+ description: string;
106
+ defaultMessage: string;
107
+ }>;
108
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
109
+ }, "strip", z.ZodTypeAny, {
110
+ title: TranslationConfig;
111
+ fields: FieldConfig[];
112
+ }, {
113
+ title: {
114
+ id: string;
115
+ description: string;
116
+ defaultMessage: string;
117
+ };
118
+ fields: import("./FieldConfig").FieldConfigInput[];
119
+ }>;
120
+ }>, "strip", z.ZodTypeAny, {
121
+ type: "READ";
122
+ label: TranslationConfig;
123
+ conditionals: ({
124
+ type: "SHOW";
125
+ conditional: import(".").JSONSchema;
126
+ } | {
127
+ type: "ENABLE";
128
+ conditional: import(".").JSONSchema;
129
+ })[];
130
+ review: {
131
+ title: TranslationConfig;
132
+ fields: FieldConfig[];
133
+ };
134
+ draft?: boolean | undefined;
135
+ }, {
136
+ type: "READ";
137
+ label: {
138
+ id: string;
139
+ description: string;
140
+ defaultMessage: string;
141
+ };
142
+ review: {
143
+ title: {
144
+ id: string;
145
+ description: string;
146
+ defaultMessage: string;
147
+ };
148
+ fields: import("./FieldConfig").FieldConfigInput[];
149
+ };
150
+ draft?: boolean | undefined;
151
+ conditionals?: ({
152
+ type: "SHOW";
153
+ conditional: import(".").JSONSchema;
154
+ } | {
155
+ type: "ENABLE";
156
+ conditional: import(".").JSONSchema;
157
+ })[] | undefined;
158
+ }>;
159
+ declare const DeclareConfig: z.ZodObject<z.objectUtil.extendShape<{
160
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
161
+ id: string;
162
+ description: string;
163
+ defaultMessage: string;
164
+ }>;
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
+ }, {
186
+ type: z.ZodLiteral<"DECLARE">;
187
+ review: z.ZodObject<{
188
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
189
+ id: string;
190
+ description: string;
191
+ defaultMessage: string;
192
+ }>;
193
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
194
+ }, "strip", z.ZodTypeAny, {
195
+ title: TranslationConfig;
196
+ fields: FieldConfig[];
197
+ }, {
198
+ title: {
199
+ id: string;
200
+ description: string;
201
+ defaultMessage: string;
202
+ };
203
+ fields: import("./FieldConfig").FieldConfigInput[];
204
+ }>;
205
+ deduplication: z.ZodOptional<z.ZodObject<{
206
+ id: z.ZodString;
207
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
208
+ id: string;
209
+ description: string;
210
+ defaultMessage: string;
211
+ }>;
212
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, z.ZodTypeDef, import("./DeduplicationConfig").ClauseInput>;
213
+ }, "strip", z.ZodTypeAny, {
214
+ id: string;
215
+ label: TranslationConfig;
216
+ query: import("./DeduplicationConfig").ClauseOutput;
217
+ }, {
218
+ id: string;
219
+ label: {
220
+ id: string;
221
+ description: string;
222
+ defaultMessage: string;
223
+ };
224
+ query: import("./DeduplicationConfig").ClauseInput;
225
+ }>>;
226
+ }>, "strip", z.ZodTypeAny, {
227
+ type: "DECLARE";
228
+ label: TranslationConfig;
229
+ conditionals: ({
230
+ type: "SHOW";
231
+ conditional: import(".").JSONSchema;
232
+ } | {
233
+ type: "ENABLE";
234
+ conditional: import(".").JSONSchema;
235
+ })[];
236
+ review: {
237
+ title: TranslationConfig;
238
+ fields: FieldConfig[];
239
+ };
240
+ draft?: boolean | undefined;
241
+ deduplication?: {
242
+ id: string;
243
+ label: TranslationConfig;
244
+ query: import("./DeduplicationConfig").ClauseOutput;
245
+ } | undefined;
246
+ }, {
247
+ type: "DECLARE";
248
+ label: {
249
+ id: string;
250
+ description: string;
251
+ defaultMessage: string;
252
+ };
253
+ review: {
254
+ title: {
255
+ id: string;
256
+ description: string;
257
+ defaultMessage: string;
258
+ };
259
+ fields: import("./FieldConfig").FieldConfigInput[];
260
+ };
261
+ draft?: boolean | undefined;
262
+ conditionals?: ({
263
+ type: "SHOW";
264
+ conditional: import(".").JSONSchema;
265
+ } | {
266
+ type: "ENABLE";
267
+ conditional: import(".").JSONSchema;
268
+ })[] | undefined;
269
+ deduplication?: {
270
+ id: string;
271
+ label: {
272
+ id: string;
273
+ description: string;
274
+ defaultMessage: string;
275
+ };
276
+ query: import("./DeduplicationConfig").ClauseInput;
277
+ } | undefined;
278
+ }>;
279
+ declare const ValidateConfig: z.ZodObject<z.objectUtil.extendShape<{
280
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
281
+ id: string;
282
+ description: string;
283
+ defaultMessage: string;
284
+ }>;
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
+ }, {
306
+ type: z.ZodLiteral<"VALIDATE">;
307
+ review: z.ZodObject<{
308
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
309
+ id: string;
310
+ description: string;
311
+ defaultMessage: string;
312
+ }>;
313
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
314
+ }, "strip", z.ZodTypeAny, {
315
+ title: TranslationConfig;
316
+ fields: FieldConfig[];
317
+ }, {
318
+ title: {
319
+ id: string;
320
+ description: string;
321
+ defaultMessage: string;
322
+ };
323
+ fields: import("./FieldConfig").FieldConfigInput[];
324
+ }>;
325
+ deduplication: z.ZodOptional<z.ZodObject<{
326
+ id: z.ZodString;
327
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
328
+ id: string;
329
+ description: string;
330
+ defaultMessage: string;
331
+ }>;
332
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, z.ZodTypeDef, import("./DeduplicationConfig").ClauseInput>;
333
+ }, "strip", z.ZodTypeAny, {
334
+ id: string;
335
+ label: TranslationConfig;
336
+ query: import("./DeduplicationConfig").ClauseOutput;
337
+ }, {
338
+ id: string;
339
+ label: {
340
+ id: string;
341
+ description: string;
342
+ defaultMessage: string;
343
+ };
344
+ query: import("./DeduplicationConfig").ClauseInput;
345
+ }>>;
346
+ }>, "strip", z.ZodTypeAny, {
347
+ type: "VALIDATE";
348
+ label: TranslationConfig;
349
+ conditionals: ({
350
+ type: "SHOW";
351
+ conditional: import(".").JSONSchema;
352
+ } | {
353
+ type: "ENABLE";
354
+ conditional: import(".").JSONSchema;
355
+ })[];
356
+ review: {
357
+ title: TranslationConfig;
358
+ fields: FieldConfig[];
359
+ };
360
+ draft?: boolean | undefined;
361
+ deduplication?: {
362
+ id: string;
363
+ label: TranslationConfig;
364
+ query: import("./DeduplicationConfig").ClauseOutput;
365
+ } | undefined;
366
+ }, {
367
+ type: "VALIDATE";
368
+ label: {
369
+ id: string;
370
+ description: string;
371
+ defaultMessage: string;
372
+ };
373
+ review: {
374
+ title: {
375
+ id: string;
376
+ description: string;
377
+ defaultMessage: string;
378
+ };
379
+ fields: import("./FieldConfig").FieldConfigInput[];
380
+ };
381
+ draft?: boolean | undefined;
382
+ conditionals?: ({
383
+ type: "SHOW";
384
+ conditional: import(".").JSONSchema;
385
+ } | {
386
+ type: "ENABLE";
387
+ conditional: import(".").JSONSchema;
388
+ })[] | undefined;
389
+ deduplication?: {
390
+ id: string;
391
+ label: {
392
+ id: string;
393
+ description: string;
394
+ defaultMessage: string;
395
+ };
396
+ query: import("./DeduplicationConfig").ClauseInput;
397
+ } | undefined;
398
+ }>;
399
+ declare const RegisterConfig: z.ZodObject<z.objectUtil.extendShape<{
400
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
401
+ id: string;
402
+ description: string;
403
+ defaultMessage: string;
404
+ }>;
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
+ }, {
426
+ type: z.ZodLiteral<"REGISTER">;
427
+ review: z.ZodObject<{
428
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
429
+ id: string;
430
+ description: string;
431
+ defaultMessage: string;
432
+ }>;
433
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
434
+ }, "strip", z.ZodTypeAny, {
435
+ title: TranslationConfig;
436
+ fields: FieldConfig[];
437
+ }, {
438
+ title: {
439
+ id: string;
440
+ description: string;
441
+ defaultMessage: string;
442
+ };
443
+ fields: import("./FieldConfig").FieldConfigInput[];
444
+ }>;
445
+ deduplication: z.ZodOptional<z.ZodObject<{
446
+ id: z.ZodString;
447
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
448
+ id: string;
449
+ description: string;
450
+ defaultMessage: string;
451
+ }>;
452
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, z.ZodTypeDef, import("./DeduplicationConfig").ClauseInput>;
453
+ }, "strip", z.ZodTypeAny, {
454
+ id: string;
455
+ label: TranslationConfig;
456
+ query: import("./DeduplicationConfig").ClauseOutput;
457
+ }, {
458
+ id: string;
459
+ label: {
460
+ id: string;
461
+ description: string;
462
+ defaultMessage: string;
463
+ };
464
+ query: import("./DeduplicationConfig").ClauseInput;
465
+ }>>;
466
+ }>, "strip", z.ZodTypeAny, {
467
+ type: "REGISTER";
468
+ label: TranslationConfig;
469
+ conditionals: ({
470
+ type: "SHOW";
471
+ conditional: import(".").JSONSchema;
472
+ } | {
473
+ type: "ENABLE";
474
+ conditional: import(".").JSONSchema;
475
+ })[];
476
+ review: {
477
+ title: TranslationConfig;
478
+ fields: FieldConfig[];
479
+ };
480
+ draft?: boolean | undefined;
481
+ deduplication?: {
482
+ id: string;
483
+ label: TranslationConfig;
484
+ query: import("./DeduplicationConfig").ClauseOutput;
485
+ } | undefined;
486
+ }, {
487
+ type: "REGISTER";
488
+ label: {
489
+ id: string;
490
+ description: string;
491
+ defaultMessage: string;
492
+ };
493
+ review: {
494
+ title: {
495
+ id: string;
496
+ description: string;
497
+ defaultMessage: string;
498
+ };
499
+ fields: import("./FieldConfig").FieldConfigInput[];
500
+ };
501
+ draft?: boolean | undefined;
502
+ conditionals?: ({
503
+ type: "SHOW";
504
+ conditional: import(".").JSONSchema;
505
+ } | {
506
+ type: "ENABLE";
507
+ conditional: import(".").JSONSchema;
508
+ })[] | undefined;
509
+ deduplication?: {
510
+ id: string;
511
+ label: {
512
+ id: string;
513
+ description: string;
514
+ defaultMessage: string;
515
+ };
516
+ query: import("./DeduplicationConfig").ClauseInput;
517
+ } | undefined;
518
+ }>;
519
+ declare const RejectDeclarationConfig: z.ZodObject<z.objectUtil.extendShape<{
520
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
521
+ id: string;
522
+ description: string;
523
+ defaultMessage: string;
524
+ }>;
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
+ }, {
546
+ type: z.ZodLiteral<"REJECT">;
547
+ }>, "strip", z.ZodTypeAny, {
548
+ type: "REJECT";
549
+ 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
+ }, {
559
+ type: "REJECT";
560
+ label: {
561
+ id: string;
562
+ description: string;
563
+ defaultMessage: string;
564
+ };
565
+ draft?: boolean | undefined;
566
+ conditionals?: ({
567
+ type: "SHOW";
568
+ conditional: import(".").JSONSchema;
569
+ } | {
570
+ type: "ENABLE";
571
+ conditional: import(".").JSONSchema;
572
+ })[] | undefined;
573
+ }>;
574
+ declare const ArchiveConfig: z.ZodObject<z.objectUtil.extendShape<{
575
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
576
+ id: string;
577
+ description: string;
578
+ defaultMessage: string;
579
+ }>;
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
+ }, {
601
+ type: z.ZodLiteral<"ARCHIVE">;
602
+ }>, "strip", z.ZodTypeAny, {
603
+ type: "ARCHIVE";
604
+ 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
+ }, {
614
+ type: "ARCHIVE";
615
+ label: {
616
+ id: string;
617
+ description: string;
618
+ defaultMessage: string;
619
+ };
620
+ draft?: boolean | undefined;
621
+ conditionals?: ({
622
+ type: "SHOW";
623
+ conditional: import(".").JSONSchema;
624
+ } | {
625
+ type: "ENABLE";
626
+ conditional: import(".").JSONSchema;
627
+ })[] | undefined;
628
+ }>;
629
+ declare const DeleteConfig: z.ZodObject<z.objectUtil.extendShape<{
630
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
631
+ id: string;
632
+ description: string;
633
+ defaultMessage: string;
634
+ }>;
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
+ }, {
656
+ type: z.ZodLiteral<"DELETE">;
657
+ }>, "strip", z.ZodTypeAny, {
658
+ type: "DELETE";
659
+ 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
+ }, {
669
+ type: "DELETE";
670
+ label: {
671
+ id: string;
672
+ description: string;
673
+ defaultMessage: string;
674
+ };
675
+ draft?: boolean | undefined;
676
+ conditionals?: ({
677
+ type: "SHOW";
678
+ conditional: import(".").JSONSchema;
679
+ } | {
680
+ type: "ENABLE";
681
+ conditional: import(".").JSONSchema;
682
+ })[] | undefined;
683
+ }>;
684
+ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape<{
685
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
686
+ id: string;
687
+ description: string;
688
+ defaultMessage: string;
689
+ }>;
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
+ }, {
711
+ type: z.ZodLiteral<"PRINT_CERTIFICATE">;
712
+ printForm: z.ZodObject<{
713
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
714
+ id: string;
715
+ description: string;
716
+ defaultMessage: string;
717
+ }>;
718
+ pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", (z.ZodObject<z.objectUtil.extendShape<{
719
+ id: z.ZodString;
720
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
721
+ id: string;
722
+ description: string;
723
+ defaultMessage: string;
724
+ }>;
725
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
726
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
727
+ }, {
728
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
729
+ }>, "strip", z.ZodTypeAny, {
730
+ type: "FORM";
731
+ id: string;
732
+ title: TranslationConfig;
733
+ fields: FieldConfig[];
734
+ conditional?: import(".").JSONSchema | undefined;
735
+ }, {
736
+ id: string;
737
+ title: {
738
+ id: string;
739
+ description: string;
740
+ defaultMessage: string;
741
+ };
742
+ fields: import("./FieldConfig").FieldConfigInput[];
743
+ type?: "FORM" | undefined;
744
+ conditional?: import(".").JSONSchema | undefined;
745
+ }> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
746
+ id: z.ZodString;
747
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
748
+ id: string;
749
+ description: string;
750
+ defaultMessage: string;
751
+ }>;
752
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
753
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
754
+ }, {
755
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
756
+ }>, {
757
+ type: z.ZodLiteral<"VERIFICATION">;
758
+ actions: z.ZodObject<{
759
+ verify: z.ZodObject<{
760
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
761
+ id: string;
762
+ description: string;
763
+ defaultMessage: string;
764
+ }>;
765
+ }, "strip", z.ZodTypeAny, {
766
+ label: TranslationConfig;
767
+ }, {
768
+ label: {
769
+ id: string;
770
+ description: string;
771
+ defaultMessage: string;
772
+ };
773
+ }>;
774
+ cancel: z.ZodObject<{
775
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
776
+ id: string;
777
+ description: string;
778
+ defaultMessage: string;
779
+ }>;
780
+ confirmation: z.ZodObject<{
781
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
782
+ id: string;
783
+ description: string;
784
+ defaultMessage: string;
785
+ }>;
786
+ body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
787
+ id: string;
788
+ description: string;
789
+ defaultMessage: string;
790
+ }>;
791
+ }, "strip", z.ZodTypeAny, {
792
+ title: TranslationConfig;
793
+ body: TranslationConfig;
794
+ }, {
795
+ title: {
796
+ id: string;
797
+ description: string;
798
+ defaultMessage: string;
799
+ };
800
+ body: {
801
+ id: string;
802
+ description: string;
803
+ defaultMessage: string;
804
+ };
805
+ }>;
806
+ }, "strip", z.ZodTypeAny, {
807
+ label: TranslationConfig;
808
+ confirmation: {
809
+ title: TranslationConfig;
810
+ body: TranslationConfig;
811
+ };
812
+ }, {
813
+ label: {
814
+ id: string;
815
+ description: string;
816
+ defaultMessage: string;
817
+ };
818
+ confirmation: {
819
+ title: {
820
+ id: string;
821
+ description: string;
822
+ defaultMessage: string;
823
+ };
824
+ body: {
825
+ id: string;
826
+ description: string;
827
+ defaultMessage: string;
828
+ };
829
+ };
830
+ }>;
831
+ }, "strip", z.ZodTypeAny, {
832
+ verify: {
833
+ label: TranslationConfig;
834
+ };
835
+ cancel: {
836
+ label: TranslationConfig;
837
+ confirmation: {
838
+ title: TranslationConfig;
839
+ body: TranslationConfig;
840
+ };
841
+ };
842
+ }, {
843
+ verify: {
844
+ label: {
845
+ id: string;
846
+ description: string;
847
+ defaultMessage: string;
848
+ };
849
+ };
850
+ cancel: {
851
+ label: {
852
+ id: string;
853
+ description: string;
854
+ defaultMessage: string;
855
+ };
856
+ confirmation: {
857
+ title: {
858
+ id: string;
859
+ description: string;
860
+ defaultMessage: string;
861
+ };
862
+ body: {
863
+ id: string;
864
+ description: string;
865
+ defaultMessage: string;
866
+ };
867
+ };
868
+ };
869
+ }>;
870
+ }>, "strip", z.ZodTypeAny, {
871
+ type: "VERIFICATION";
872
+ id: string;
873
+ title: TranslationConfig;
874
+ actions: {
875
+ verify: {
876
+ label: TranslationConfig;
877
+ };
878
+ cancel: {
879
+ label: TranslationConfig;
880
+ confirmation: {
881
+ title: TranslationConfig;
882
+ body: TranslationConfig;
883
+ };
884
+ };
885
+ };
886
+ fields: FieldConfig[];
887
+ conditional?: import(".").JSONSchema | undefined;
888
+ }, {
889
+ type: "VERIFICATION";
890
+ id: string;
891
+ title: {
892
+ id: string;
893
+ description: string;
894
+ defaultMessage: string;
895
+ };
896
+ actions: {
897
+ verify: {
898
+ label: {
899
+ id: string;
900
+ description: string;
901
+ defaultMessage: string;
902
+ };
903
+ };
904
+ cancel: {
905
+ label: {
906
+ id: string;
907
+ description: string;
908
+ defaultMessage: string;
909
+ };
910
+ confirmation: {
911
+ title: {
912
+ id: string;
913
+ description: string;
914
+ defaultMessage: string;
915
+ };
916
+ body: {
917
+ id: string;
918
+ description: string;
919
+ defaultMessage: string;
920
+ };
921
+ };
922
+ };
923
+ };
924
+ fields: import("./FieldConfig").FieldConfigInput[];
925
+ conditional?: import(".").JSONSchema | undefined;
926
+ }>)[]>, "many">;
927
+ }, "strip", z.ZodTypeAny, {
928
+ label: TranslationConfig;
929
+ pages: ({
930
+ type: "FORM";
931
+ id: string;
932
+ title: TranslationConfig;
933
+ fields: FieldConfig[];
934
+ conditional?: import(".").JSONSchema | undefined;
935
+ } | {
936
+ type: "VERIFICATION";
937
+ id: string;
938
+ title: TranslationConfig;
939
+ actions: {
940
+ verify: {
941
+ label: TranslationConfig;
942
+ };
943
+ cancel: {
944
+ label: TranslationConfig;
945
+ confirmation: {
946
+ title: TranslationConfig;
947
+ body: TranslationConfig;
948
+ };
949
+ };
950
+ };
951
+ fields: FieldConfig[];
952
+ conditional?: import(".").JSONSchema | undefined;
953
+ })[];
954
+ }, {
955
+ label: {
956
+ id: string;
957
+ description: string;
958
+ defaultMessage: string;
959
+ };
960
+ pages: ({
961
+ id: string;
962
+ title: {
963
+ id: string;
964
+ description: string;
965
+ defaultMessage: string;
966
+ };
967
+ fields: import("./FieldConfig").FieldConfigInput[];
968
+ type?: "FORM" | undefined;
969
+ conditional?: import(".").JSONSchema | undefined;
970
+ } | {
971
+ type: "VERIFICATION";
972
+ id: string;
973
+ title: {
974
+ id: string;
975
+ description: string;
976
+ defaultMessage: string;
977
+ };
978
+ actions: {
979
+ verify: {
980
+ label: {
981
+ id: string;
982
+ description: string;
983
+ defaultMessage: string;
984
+ };
985
+ };
986
+ cancel: {
987
+ label: {
988
+ id: string;
989
+ description: string;
990
+ defaultMessage: string;
991
+ };
992
+ confirmation: {
993
+ title: {
994
+ id: string;
995
+ description: string;
996
+ defaultMessage: string;
997
+ };
998
+ body: {
999
+ id: string;
1000
+ description: string;
1001
+ defaultMessage: string;
1002
+ };
1003
+ };
1004
+ };
1005
+ };
1006
+ fields: import("./FieldConfig").FieldConfigInput[];
1007
+ conditional?: import(".").JSONSchema | undefined;
1008
+ })[];
1009
+ }>;
1010
+ }>, "strip", z.ZodTypeAny, {
1011
+ type: "PRINT_CERTIFICATE";
1012
+ label: TranslationConfig;
1013
+ conditionals: ({
1014
+ type: "SHOW";
1015
+ conditional: import(".").JSONSchema;
1016
+ } | {
1017
+ type: "ENABLE";
1018
+ conditional: import(".").JSONSchema;
1019
+ })[];
1020
+ printForm: {
1021
+ label: TranslationConfig;
1022
+ pages: ({
1023
+ type: "FORM";
1024
+ id: string;
1025
+ title: TranslationConfig;
1026
+ fields: FieldConfig[];
1027
+ conditional?: import(".").JSONSchema | undefined;
1028
+ } | {
1029
+ type: "VERIFICATION";
1030
+ id: string;
1031
+ title: TranslationConfig;
1032
+ actions: {
1033
+ verify: {
1034
+ label: TranslationConfig;
1035
+ };
1036
+ cancel: {
1037
+ label: TranslationConfig;
1038
+ confirmation: {
1039
+ title: TranslationConfig;
1040
+ body: TranslationConfig;
1041
+ };
1042
+ };
1043
+ };
1044
+ fields: FieldConfig[];
1045
+ conditional?: import(".").JSONSchema | undefined;
1046
+ })[];
1047
+ };
1048
+ draft?: boolean | undefined;
1049
+ }, {
1050
+ type: "PRINT_CERTIFICATE";
1051
+ label: {
1052
+ id: string;
1053
+ description: string;
1054
+ defaultMessage: string;
1055
+ };
1056
+ printForm: {
1057
+ label: {
1058
+ id: string;
1059
+ description: string;
1060
+ defaultMessage: string;
1061
+ };
1062
+ pages: ({
1063
+ id: string;
1064
+ title: {
1065
+ id: string;
1066
+ description: string;
1067
+ defaultMessage: string;
1068
+ };
1069
+ fields: import("./FieldConfig").FieldConfigInput[];
1070
+ type?: "FORM" | undefined;
1071
+ conditional?: import(".").JSONSchema | undefined;
1072
+ } | {
1073
+ type: "VERIFICATION";
1074
+ id: string;
1075
+ title: {
1076
+ id: string;
1077
+ description: string;
1078
+ defaultMessage: string;
1079
+ };
1080
+ actions: {
1081
+ verify: {
1082
+ label: {
1083
+ id: string;
1084
+ description: string;
1085
+ defaultMessage: string;
1086
+ };
1087
+ };
1088
+ cancel: {
1089
+ label: {
1090
+ id: string;
1091
+ description: string;
1092
+ defaultMessage: string;
1093
+ };
1094
+ confirmation: {
1095
+ title: {
1096
+ id: string;
1097
+ description: string;
1098
+ defaultMessage: string;
1099
+ };
1100
+ body: {
1101
+ id: string;
1102
+ description: string;
1103
+ defaultMessage: string;
1104
+ };
1105
+ };
1106
+ };
1107
+ };
1108
+ fields: import("./FieldConfig").FieldConfigInput[];
1109
+ conditional?: import(".").JSONSchema | undefined;
1110
+ })[];
1111
+ };
1112
+ draft?: boolean | undefined;
1113
+ conditionals?: ({
1114
+ type: "SHOW";
1115
+ conditional: import(".").JSONSchema;
1116
+ } | {
1117
+ type: "ENABLE";
1118
+ conditional: import(".").JSONSchema;
1119
+ })[] | undefined;
1120
+ }>;
1121
+ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1122
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1123
+ id: string;
1124
+ description: string;
1125
+ defaultMessage: string;
1126
+ }>;
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
+ }, {
1148
+ type: z.ZodLiteral<"REQUEST_CORRECTION">;
1149
+ correctionForm: z.ZodObject<{
1150
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1151
+ id: string;
1152
+ description: string;
1153
+ defaultMessage: string;
1154
+ }>;
1155
+ pages: z.ZodArray<z.ZodDiscriminatedUnion<"type", (z.ZodObject<z.objectUtil.extendShape<{
1156
+ id: z.ZodString;
1157
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1158
+ id: string;
1159
+ description: string;
1160
+ defaultMessage: string;
1161
+ }>;
1162
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
1163
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
1164
+ }, {
1165
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
1166
+ }>, "strip", z.ZodTypeAny, {
1167
+ type: "FORM";
1168
+ id: string;
1169
+ title: TranslationConfig;
1170
+ fields: FieldConfig[];
1171
+ conditional?: import(".").JSONSchema | undefined;
1172
+ }, {
1173
+ id: string;
1174
+ title: {
1175
+ id: string;
1176
+ description: string;
1177
+ defaultMessage: string;
1178
+ };
1179
+ fields: import("./FieldConfig").FieldConfigInput[];
1180
+ type?: "FORM" | undefined;
1181
+ conditional?: import(".").JSONSchema | undefined;
1182
+ }> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
1183
+ id: z.ZodString;
1184
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1185
+ id: string;
1186
+ description: string;
1187
+ defaultMessage: string;
1188
+ }>;
1189
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
1190
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
1191
+ }, {
1192
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
1193
+ }>, {
1194
+ type: z.ZodLiteral<"VERIFICATION">;
1195
+ actions: z.ZodObject<{
1196
+ verify: z.ZodObject<{
1197
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1198
+ id: string;
1199
+ description: string;
1200
+ defaultMessage: string;
1201
+ }>;
1202
+ }, "strip", z.ZodTypeAny, {
1203
+ label: TranslationConfig;
1204
+ }, {
1205
+ label: {
1206
+ id: string;
1207
+ description: string;
1208
+ defaultMessage: string;
1209
+ };
1210
+ }>;
1211
+ cancel: z.ZodObject<{
1212
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1213
+ id: string;
1214
+ description: string;
1215
+ defaultMessage: string;
1216
+ }>;
1217
+ confirmation: z.ZodObject<{
1218
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1219
+ id: string;
1220
+ description: string;
1221
+ defaultMessage: string;
1222
+ }>;
1223
+ body: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1224
+ id: string;
1225
+ description: string;
1226
+ defaultMessage: string;
1227
+ }>;
1228
+ }, "strip", z.ZodTypeAny, {
1229
+ title: TranslationConfig;
1230
+ body: TranslationConfig;
1231
+ }, {
1232
+ title: {
1233
+ id: string;
1234
+ description: string;
1235
+ defaultMessage: string;
1236
+ };
1237
+ body: {
1238
+ id: string;
1239
+ description: string;
1240
+ defaultMessage: string;
1241
+ };
1242
+ }>;
1243
+ }, "strip", z.ZodTypeAny, {
1244
+ label: TranslationConfig;
1245
+ confirmation: {
1246
+ title: TranslationConfig;
1247
+ body: TranslationConfig;
1248
+ };
1249
+ }, {
1250
+ label: {
1251
+ id: string;
1252
+ description: string;
1253
+ defaultMessage: string;
1254
+ };
1255
+ confirmation: {
1256
+ title: {
1257
+ id: string;
1258
+ description: string;
1259
+ defaultMessage: string;
1260
+ };
1261
+ body: {
1262
+ id: string;
1263
+ description: string;
1264
+ defaultMessage: string;
1265
+ };
1266
+ };
1267
+ }>;
1268
+ }, "strip", z.ZodTypeAny, {
1269
+ verify: {
1270
+ label: TranslationConfig;
1271
+ };
1272
+ cancel: {
1273
+ label: TranslationConfig;
1274
+ confirmation: {
1275
+ title: TranslationConfig;
1276
+ body: TranslationConfig;
1277
+ };
1278
+ };
1279
+ }, {
1280
+ verify: {
1281
+ label: {
1282
+ id: string;
1283
+ description: string;
1284
+ defaultMessage: string;
1285
+ };
1286
+ };
1287
+ cancel: {
1288
+ label: {
1289
+ id: string;
1290
+ description: string;
1291
+ defaultMessage: string;
1292
+ };
1293
+ confirmation: {
1294
+ title: {
1295
+ id: string;
1296
+ description: string;
1297
+ defaultMessage: string;
1298
+ };
1299
+ body: {
1300
+ id: string;
1301
+ description: string;
1302
+ defaultMessage: string;
1303
+ };
1304
+ };
1305
+ };
1306
+ }>;
1307
+ }>, "strip", z.ZodTypeAny, {
1308
+ type: "VERIFICATION";
1309
+ id: string;
1310
+ title: TranslationConfig;
1311
+ actions: {
1312
+ verify: {
1313
+ label: TranslationConfig;
1314
+ };
1315
+ cancel: {
1316
+ label: TranslationConfig;
1317
+ confirmation: {
1318
+ title: TranslationConfig;
1319
+ body: TranslationConfig;
1320
+ };
1321
+ };
1322
+ };
1323
+ fields: FieldConfig[];
1324
+ conditional?: import(".").JSONSchema | undefined;
1325
+ }, {
1326
+ type: "VERIFICATION";
1327
+ id: string;
1328
+ title: {
1329
+ id: string;
1330
+ description: string;
1331
+ defaultMessage: string;
1332
+ };
1333
+ actions: {
1334
+ verify: {
1335
+ label: {
1336
+ id: string;
1337
+ description: string;
1338
+ defaultMessage: string;
1339
+ };
1340
+ };
1341
+ cancel: {
1342
+ label: {
1343
+ id: string;
1344
+ description: string;
1345
+ defaultMessage: string;
1346
+ };
1347
+ confirmation: {
1348
+ title: {
1349
+ id: string;
1350
+ description: string;
1351
+ defaultMessage: string;
1352
+ };
1353
+ body: {
1354
+ id: string;
1355
+ description: string;
1356
+ defaultMessage: string;
1357
+ };
1358
+ };
1359
+ };
1360
+ };
1361
+ fields: import("./FieldConfig").FieldConfigInput[];
1362
+ conditional?: import(".").JSONSchema | undefined;
1363
+ }>)[]>, "many">;
1364
+ }, "strip", z.ZodTypeAny, {
1365
+ label: TranslationConfig;
1366
+ pages: ({
1367
+ type: "FORM";
1368
+ id: string;
1369
+ title: TranslationConfig;
1370
+ fields: FieldConfig[];
1371
+ conditional?: import(".").JSONSchema | undefined;
1372
+ } | {
1373
+ type: "VERIFICATION";
1374
+ id: string;
1375
+ title: TranslationConfig;
1376
+ actions: {
1377
+ verify: {
1378
+ label: TranslationConfig;
1379
+ };
1380
+ cancel: {
1381
+ label: TranslationConfig;
1382
+ confirmation: {
1383
+ title: TranslationConfig;
1384
+ body: TranslationConfig;
1385
+ };
1386
+ };
1387
+ };
1388
+ fields: FieldConfig[];
1389
+ conditional?: import(".").JSONSchema | undefined;
1390
+ })[];
1391
+ }, {
1392
+ label: {
1393
+ id: string;
1394
+ description: string;
1395
+ defaultMessage: string;
1396
+ };
1397
+ pages: ({
1398
+ id: string;
1399
+ title: {
1400
+ id: string;
1401
+ description: string;
1402
+ defaultMessage: string;
1403
+ };
1404
+ fields: import("./FieldConfig").FieldConfigInput[];
1405
+ type?: "FORM" | undefined;
1406
+ conditional?: import(".").JSONSchema | undefined;
1407
+ } | {
1408
+ type: "VERIFICATION";
1409
+ id: string;
1410
+ title: {
1411
+ id: string;
1412
+ description: string;
1413
+ defaultMessage: string;
1414
+ };
1415
+ actions: {
1416
+ verify: {
1417
+ label: {
1418
+ id: string;
1419
+ description: string;
1420
+ defaultMessage: string;
1421
+ };
1422
+ };
1423
+ cancel: {
1424
+ label: {
1425
+ id: string;
1426
+ description: string;
1427
+ defaultMessage: string;
1428
+ };
1429
+ confirmation: {
1430
+ title: {
1431
+ id: string;
1432
+ description: string;
1433
+ defaultMessage: string;
1434
+ };
1435
+ body: {
1436
+ id: string;
1437
+ description: string;
1438
+ defaultMessage: string;
1439
+ };
1440
+ };
1441
+ };
1442
+ };
1443
+ fields: import("./FieldConfig").FieldConfigInput[];
1444
+ conditional?: import(".").JSONSchema | undefined;
1445
+ })[];
1446
+ }>;
1447
+ }>, "strip", z.ZodTypeAny, {
1448
+ type: "REQUEST_CORRECTION";
1449
+ label: TranslationConfig;
1450
+ conditionals: ({
1451
+ type: "SHOW";
1452
+ conditional: import(".").JSONSchema;
1453
+ } | {
1454
+ type: "ENABLE";
1455
+ conditional: import(".").JSONSchema;
1456
+ })[];
1457
+ correctionForm: {
1458
+ label: TranslationConfig;
1459
+ pages: ({
1460
+ type: "FORM";
1461
+ id: string;
1462
+ title: TranslationConfig;
1463
+ fields: FieldConfig[];
1464
+ conditional?: import(".").JSONSchema | undefined;
1465
+ } | {
1466
+ type: "VERIFICATION";
1467
+ id: string;
1468
+ title: TranslationConfig;
1469
+ actions: {
1470
+ verify: {
1471
+ label: TranslationConfig;
1472
+ };
1473
+ cancel: {
1474
+ label: TranslationConfig;
1475
+ confirmation: {
1476
+ title: TranslationConfig;
1477
+ body: TranslationConfig;
1478
+ };
1479
+ };
1480
+ };
1481
+ fields: FieldConfig[];
1482
+ conditional?: import(".").JSONSchema | undefined;
1483
+ })[];
1484
+ };
1485
+ draft?: boolean | undefined;
1486
+ }, {
1487
+ type: "REQUEST_CORRECTION";
1488
+ label: {
1489
+ id: string;
1490
+ description: string;
1491
+ defaultMessage: string;
1492
+ };
1493
+ correctionForm: {
1494
+ label: {
1495
+ id: string;
1496
+ description: string;
1497
+ defaultMessage: string;
1498
+ };
1499
+ pages: ({
1500
+ id: string;
1501
+ title: {
1502
+ id: string;
1503
+ description: string;
1504
+ defaultMessage: string;
1505
+ };
1506
+ fields: import("./FieldConfig").FieldConfigInput[];
1507
+ type?: "FORM" | undefined;
1508
+ conditional?: import(".").JSONSchema | undefined;
1509
+ } | {
1510
+ type: "VERIFICATION";
1511
+ id: string;
1512
+ title: {
1513
+ id: string;
1514
+ description: string;
1515
+ defaultMessage: string;
1516
+ };
1517
+ actions: {
1518
+ verify: {
1519
+ label: {
1520
+ id: string;
1521
+ description: string;
1522
+ defaultMessage: string;
1523
+ };
1524
+ };
1525
+ cancel: {
1526
+ label: {
1527
+ id: string;
1528
+ description: string;
1529
+ defaultMessage: string;
1530
+ };
1531
+ confirmation: {
1532
+ title: {
1533
+ id: string;
1534
+ description: string;
1535
+ defaultMessage: string;
1536
+ };
1537
+ body: {
1538
+ id: string;
1539
+ description: string;
1540
+ defaultMessage: string;
1541
+ };
1542
+ };
1543
+ };
1544
+ };
1545
+ fields: import("./FieldConfig").FieldConfigInput[];
1546
+ conditional?: import(".").JSONSchema | undefined;
1547
+ })[];
1548
+ };
1549
+ draft?: boolean | undefined;
1550
+ conditionals?: ({
1551
+ type: "SHOW";
1552
+ conditional: import(".").JSONSchema;
1553
+ } | {
1554
+ type: "ENABLE";
1555
+ conditional: import(".").JSONSchema;
1556
+ })[] | undefined;
1557
+ }>;
1558
+ declare const RejectCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1559
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1560
+ id: string;
1561
+ description: string;
1562
+ defaultMessage: string;
1563
+ }>;
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
+ }, {
1585
+ type: z.ZodLiteral<"REJECT_CORRECTION">;
1586
+ }>, "strip", z.ZodTypeAny, {
1587
+ type: "REJECT_CORRECTION";
1588
+ 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
+ }, {
1598
+ type: "REJECT_CORRECTION";
1599
+ label: {
1600
+ id: string;
1601
+ description: string;
1602
+ defaultMessage: string;
1603
+ };
1604
+ draft?: boolean | undefined;
1605
+ conditionals?: ({
1606
+ type: "SHOW";
1607
+ conditional: import(".").JSONSchema;
1608
+ } | {
1609
+ type: "ENABLE";
1610
+ conditional: import(".").JSONSchema;
1611
+ })[] | undefined;
1612
+ }>;
1613
+ declare const ApproveCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1614
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1615
+ id: string;
1616
+ description: string;
1617
+ defaultMessage: string;
1618
+ }>;
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
+ }, {
1640
+ type: z.ZodLiteral<"APPROVE_CORRECTION">;
1641
+ }>, "strip", z.ZodTypeAny, {
1642
+ type: "APPROVE_CORRECTION";
1643
+ 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
+ }, {
1653
+ type: "APPROVE_CORRECTION";
1654
+ label: {
1655
+ id: string;
1656
+ description: string;
1657
+ defaultMessage: string;
1658
+ };
1659
+ draft?: boolean | undefined;
1660
+ conditionals?: ({
1661
+ type: "SHOW";
1662
+ conditional: import(".").JSONSchema;
1663
+ } | {
1664
+ type: "ENABLE";
1665
+ conditional: import(".").JSONSchema;
1666
+ })[] | undefined;
1667
+ }>;
1668
+ /** @knipignore */
1669
+ 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;
1670
+ /** @knipignore */
1671
+ 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
+ export declare const ActionConfig: z.ZodDiscriminatedUnion<"type", AllActionConfigFields[]>;
1673
+ export type ActionConfig = InferredActionConfig;
1674
+ export declare const DeclarationActionConfig: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1675
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1676
+ id: string;
1677
+ description: string;
1678
+ defaultMessage: string;
1679
+ }>;
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
+ }, {
1701
+ type: z.ZodLiteral<"DECLARE">;
1702
+ review: z.ZodObject<{
1703
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1704
+ id: string;
1705
+ description: string;
1706
+ defaultMessage: string;
1707
+ }>;
1708
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
1709
+ }, "strip", z.ZodTypeAny, {
1710
+ title: TranslationConfig;
1711
+ fields: FieldConfig[];
1712
+ }, {
1713
+ title: {
1714
+ id: string;
1715
+ description: string;
1716
+ defaultMessage: string;
1717
+ };
1718
+ fields: import("./FieldConfig").FieldConfigInput[];
1719
+ }>;
1720
+ deduplication: z.ZodOptional<z.ZodObject<{
1721
+ id: z.ZodString;
1722
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1723
+ id: string;
1724
+ description: string;
1725
+ defaultMessage: string;
1726
+ }>;
1727
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, z.ZodTypeDef, import("./DeduplicationConfig").ClauseInput>;
1728
+ }, "strip", z.ZodTypeAny, {
1729
+ id: string;
1730
+ label: TranslationConfig;
1731
+ query: import("./DeduplicationConfig").ClauseOutput;
1732
+ }, {
1733
+ id: string;
1734
+ label: {
1735
+ id: string;
1736
+ description: string;
1737
+ defaultMessage: string;
1738
+ };
1739
+ query: import("./DeduplicationConfig").ClauseInput;
1740
+ }>>;
1741
+ }>, "strip", z.ZodTypeAny, {
1742
+ type: "DECLARE";
1743
+ label: TranslationConfig;
1744
+ conditionals: ({
1745
+ type: "SHOW";
1746
+ conditional: import(".").JSONSchema;
1747
+ } | {
1748
+ type: "ENABLE";
1749
+ conditional: import(".").JSONSchema;
1750
+ })[];
1751
+ review: {
1752
+ title: TranslationConfig;
1753
+ fields: FieldConfig[];
1754
+ };
1755
+ draft?: boolean | undefined;
1756
+ deduplication?: {
1757
+ id: string;
1758
+ label: TranslationConfig;
1759
+ query: import("./DeduplicationConfig").ClauseOutput;
1760
+ } | undefined;
1761
+ }, {
1762
+ type: "DECLARE";
1763
+ label: {
1764
+ id: string;
1765
+ description: string;
1766
+ defaultMessage: string;
1767
+ };
1768
+ review: {
1769
+ title: {
1770
+ id: string;
1771
+ description: string;
1772
+ defaultMessage: string;
1773
+ };
1774
+ fields: import("./FieldConfig").FieldConfigInput[];
1775
+ };
1776
+ draft?: boolean | undefined;
1777
+ conditionals?: ({
1778
+ type: "SHOW";
1779
+ conditional: import(".").JSONSchema;
1780
+ } | {
1781
+ type: "ENABLE";
1782
+ conditional: import(".").JSONSchema;
1783
+ })[] | undefined;
1784
+ deduplication?: {
1785
+ id: string;
1786
+ label: {
1787
+ id: string;
1788
+ description: string;
1789
+ defaultMessage: string;
1790
+ };
1791
+ query: import("./DeduplicationConfig").ClauseInput;
1792
+ } | undefined;
1793
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1794
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1795
+ id: string;
1796
+ description: string;
1797
+ defaultMessage: string;
1798
+ }>;
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
+ }, {
1820
+ type: z.ZodLiteral<"VALIDATE">;
1821
+ review: z.ZodObject<{
1822
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1823
+ id: string;
1824
+ description: string;
1825
+ defaultMessage: string;
1826
+ }>;
1827
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
1828
+ }, "strip", z.ZodTypeAny, {
1829
+ title: TranslationConfig;
1830
+ fields: FieldConfig[];
1831
+ }, {
1832
+ title: {
1833
+ id: string;
1834
+ description: string;
1835
+ defaultMessage: string;
1836
+ };
1837
+ fields: import("./FieldConfig").FieldConfigInput[];
1838
+ }>;
1839
+ deduplication: z.ZodOptional<z.ZodObject<{
1840
+ id: z.ZodString;
1841
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1842
+ id: string;
1843
+ description: string;
1844
+ defaultMessage: string;
1845
+ }>;
1846
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, z.ZodTypeDef, import("./DeduplicationConfig").ClauseInput>;
1847
+ }, "strip", z.ZodTypeAny, {
1848
+ id: string;
1849
+ label: TranslationConfig;
1850
+ query: import("./DeduplicationConfig").ClauseOutput;
1851
+ }, {
1852
+ id: string;
1853
+ label: {
1854
+ id: string;
1855
+ description: string;
1856
+ defaultMessage: string;
1857
+ };
1858
+ query: import("./DeduplicationConfig").ClauseInput;
1859
+ }>>;
1860
+ }>, "strip", z.ZodTypeAny, {
1861
+ type: "VALIDATE";
1862
+ label: TranslationConfig;
1863
+ conditionals: ({
1864
+ type: "SHOW";
1865
+ conditional: import(".").JSONSchema;
1866
+ } | {
1867
+ type: "ENABLE";
1868
+ conditional: import(".").JSONSchema;
1869
+ })[];
1870
+ review: {
1871
+ title: TranslationConfig;
1872
+ fields: FieldConfig[];
1873
+ };
1874
+ draft?: boolean | undefined;
1875
+ deduplication?: {
1876
+ id: string;
1877
+ label: TranslationConfig;
1878
+ query: import("./DeduplicationConfig").ClauseOutput;
1879
+ } | undefined;
1880
+ }, {
1881
+ type: "VALIDATE";
1882
+ label: {
1883
+ id: string;
1884
+ description: string;
1885
+ defaultMessage: string;
1886
+ };
1887
+ review: {
1888
+ title: {
1889
+ id: string;
1890
+ description: string;
1891
+ defaultMessage: string;
1892
+ };
1893
+ fields: import("./FieldConfig").FieldConfigInput[];
1894
+ };
1895
+ draft?: boolean | undefined;
1896
+ conditionals?: ({
1897
+ type: "SHOW";
1898
+ conditional: import(".").JSONSchema;
1899
+ } | {
1900
+ type: "ENABLE";
1901
+ conditional: import(".").JSONSchema;
1902
+ })[] | undefined;
1903
+ deduplication?: {
1904
+ id: string;
1905
+ label: {
1906
+ id: string;
1907
+ description: string;
1908
+ defaultMessage: string;
1909
+ };
1910
+ query: import("./DeduplicationConfig").ClauseInput;
1911
+ } | undefined;
1912
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1913
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1914
+ id: string;
1915
+ description: string;
1916
+ defaultMessage: string;
1917
+ }>;
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
+ }, {
1939
+ type: z.ZodLiteral<"REGISTER">;
1940
+ review: z.ZodObject<{
1941
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1942
+ id: string;
1943
+ description: string;
1944
+ defaultMessage: string;
1945
+ }>;
1946
+ fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
1947
+ }, "strip", z.ZodTypeAny, {
1948
+ title: TranslationConfig;
1949
+ fields: FieldConfig[];
1950
+ }, {
1951
+ title: {
1952
+ id: string;
1953
+ description: string;
1954
+ defaultMessage: string;
1955
+ };
1956
+ fields: import("./FieldConfig").FieldConfigInput[];
1957
+ }>;
1958
+ deduplication: z.ZodOptional<z.ZodObject<{
1959
+ id: z.ZodString;
1960
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
1961
+ id: string;
1962
+ description: string;
1963
+ defaultMessage: string;
1964
+ }>;
1965
+ query: z.ZodType<import("./DeduplicationConfig").ClauseOutput, z.ZodTypeDef, import("./DeduplicationConfig").ClauseInput>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ id: string;
1968
+ label: TranslationConfig;
1969
+ query: import("./DeduplicationConfig").ClauseOutput;
1970
+ }, {
1971
+ id: string;
1972
+ label: {
1973
+ id: string;
1974
+ description: string;
1975
+ defaultMessage: string;
1976
+ };
1977
+ query: import("./DeduplicationConfig").ClauseInput;
1978
+ }>>;
1979
+ }>, "strip", z.ZodTypeAny, {
1980
+ type: "REGISTER";
1981
+ label: TranslationConfig;
1982
+ conditionals: ({
1983
+ type: "SHOW";
1984
+ conditional: import(".").JSONSchema;
1985
+ } | {
1986
+ type: "ENABLE";
1987
+ conditional: import(".").JSONSchema;
1988
+ })[];
1989
+ review: {
1990
+ title: TranslationConfig;
1991
+ fields: FieldConfig[];
1992
+ };
1993
+ draft?: boolean | undefined;
1994
+ deduplication?: {
1995
+ id: string;
1996
+ label: TranslationConfig;
1997
+ query: import("./DeduplicationConfig").ClauseOutput;
1998
+ } | undefined;
1999
+ }, {
2000
+ type: "REGISTER";
2001
+ label: {
2002
+ id: string;
2003
+ description: string;
2004
+ defaultMessage: string;
2005
+ };
2006
+ review: {
2007
+ title: {
2008
+ id: string;
2009
+ description: string;
2010
+ defaultMessage: string;
2011
+ };
2012
+ fields: import("./FieldConfig").FieldConfigInput[];
2013
+ };
2014
+ draft?: boolean | undefined;
2015
+ conditionals?: ({
2016
+ type: "SHOW";
2017
+ conditional: import(".").JSONSchema;
2018
+ } | {
2019
+ type: "ENABLE";
2020
+ conditional: import(".").JSONSchema;
2021
+ })[] | undefined;
2022
+ deduplication?: {
2023
+ id: string;
2024
+ label: {
2025
+ id: string;
2026
+ description: string;
2027
+ defaultMessage: string;
2028
+ };
2029
+ query: import("./DeduplicationConfig").ClauseInput;
2030
+ } | undefined;
2031
+ }>]>;
2032
+ export type DeclarationActionConfig = z.infer<typeof DeclarationActionConfig>;
2033
+ export {};
2034
+ //# sourceMappingURL=ActionConfig.d.ts.map