@opencrvs/toolkit 1.8.0-rc.faeb298 → 1.8.0-rc.fb0e687

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