@opencrvs/toolkit 1.8.0-rc.f7910f3 → 1.8.0-rc.f872339

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