@opencrvs/toolkit 1.8.0-rc.ffe8c17 → 1.8.1-rc.a372970

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