@opencrvs/toolkit 1.8.0-rc.ff62f9e → 1.8.0-rc.ffb4f66

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