@opencrvs/toolkit 1.8.0-rc.fb261c5 → 1.8.0-rc.fb2e700

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