@opencrvs/toolkit 1.8.0-rc.ff2e7b6 → 1.8.0-rc.ffe8c17

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.
@@ -244,11 +244,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
244
244
  label: TranslationConfig;
245
245
  };
246
246
  label: TranslationConfig;
247
- pages: {
247
+ pages: ({
248
+ type: import("./FormConfig").PageType.FORM;
248
249
  id: string;
249
250
  title: TranslationConfig;
250
251
  fields: import("./FieldConfig").Inferred[];
251
- }[];
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
+ })[];
252
270
  review: {
253
271
  title: TranslationConfig;
254
272
  fields: import("./FieldConfig").Inferred[];
@@ -272,11 +290,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
272
290
  label: TranslationConfig;
273
291
  };
274
292
  label: TranslationConfig;
275
- pages: {
293
+ pages: ({
294
+ type: import("./FormConfig").PageType.FORM;
276
295
  id: string;
277
296
  title: TranslationConfig;
278
297
  fields: import("./FieldConfig").Inferred[];
279
- }[];
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
+ })[];
280
316
  review: {
281
317
  title: TranslationConfig;
282
318
  fields: import("./FieldConfig").Inferred[];
@@ -285,7 +321,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
285
321
  draft?: boolean | undefined;
286
322
  } | {
287
323
  type: "REJECT";
288
- comment: string;
289
324
  conditionals: ({
290
325
  type: "SHOW";
291
326
  conditional: import(".").JSONSchema;
@@ -301,21 +336,37 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
301
336
  label: TranslationConfig;
302
337
  };
303
338
  label: TranslationConfig;
304
- pages: {
339
+ pages: ({
340
+ type: import("./FormConfig").PageType.FORM;
305
341
  id: string;
306
342
  title: TranslationConfig;
307
343
  fields: import("./FieldConfig").Inferred[];
308
- }[];
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
+ })[];
309
362
  review: {
310
363
  title: TranslationConfig;
311
364
  fields: import("./FieldConfig").Inferred[];
312
365
  };
313
366
  }[];
314
- isDuplicate: boolean;
315
367
  draft?: boolean | undefined;
316
368
  } | {
317
369
  type: "MARKED_AS_DUPLICATE";
318
- comment: string;
319
370
  conditionals: ({
320
371
  type: "SHOW";
321
372
  conditional: import(".").JSONSchema;
@@ -331,21 +382,37 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
331
382
  label: TranslationConfig;
332
383
  };
333
384
  label: TranslationConfig;
334
- pages: {
385
+ pages: ({
386
+ type: import("./FormConfig").PageType.FORM;
335
387
  id: string;
336
388
  title: TranslationConfig;
337
389
  fields: import("./FieldConfig").Inferred[];
338
- }[];
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
+ })[];
339
408
  review: {
340
409
  title: TranslationConfig;
341
410
  fields: import("./FieldConfig").Inferred[];
342
411
  };
343
412
  }[];
344
- duplicates: string[];
345
413
  draft?: boolean | undefined;
346
414
  } | {
347
415
  type: "ARCHIVE";
348
- comment: string;
349
416
  conditionals: ({
350
417
  type: "SHOW";
351
418
  conditional: import(".").JSONSchema;
@@ -361,17 +428,34 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
361
428
  label: TranslationConfig;
362
429
  };
363
430
  label: TranslationConfig;
364
- pages: {
431
+ pages: ({
432
+ type: import("./FormConfig").PageType.FORM;
365
433
  id: string;
366
434
  title: TranslationConfig;
367
435
  fields: import("./FieldConfig").Inferred[];
368
- }[];
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
+ })[];
369
454
  review: {
370
455
  title: TranslationConfig;
371
456
  fields: import("./FieldConfig").Inferred[];
372
457
  };
373
458
  }[];
374
- isDuplicate: boolean;
375
459
  draft?: boolean | undefined;
376
460
  } | {
377
461
  type: "REGISTER";
@@ -390,11 +474,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
390
474
  label: TranslationConfig;
391
475
  };
392
476
  label: TranslationConfig;
393
- pages: {
477
+ pages: ({
478
+ type: import("./FormConfig").PageType.FORM;
394
479
  id: string;
395
480
  title: TranslationConfig;
396
481
  fields: import("./FieldConfig").Inferred[];
397
- }[];
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
+ })[];
398
500
  review: {
399
501
  title: TranslationConfig;
400
502
  fields: import("./FieldConfig").Inferred[];
@@ -418,11 +520,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
418
520
  label: TranslationConfig;
419
521
  };
420
522
  label: TranslationConfig;
421
- pages: {
523
+ pages: ({
524
+ type: import("./FormConfig").PageType.FORM;
422
525
  id: string;
423
526
  title: TranslationConfig;
424
527
  fields: import("./FieldConfig").Inferred[];
425
- }[];
528
+ } | {
529
+ type: import("./FormConfig").PageType.VERIFICATION;
530
+ id: string;
531
+ title: TranslationConfig;
532
+ actions: {
533
+ verify: {
534
+ label: TranslationConfig;
535
+ };
536
+ cancel: {
537
+ label: TranslationConfig;
538
+ confirmation: {
539
+ title: TranslationConfig;
540
+ body: TranslationConfig;
541
+ };
542
+ };
543
+ };
544
+ fields: import("./FieldConfig").Inferred[];
545
+ })[];
426
546
  review: {
427
547
  title: TranslationConfig;
428
548
  fields: import("./FieldConfig").Inferred[];
@@ -446,11 +566,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
446
566
  label: TranslationConfig;
447
567
  };
448
568
  label: TranslationConfig;
449
- pages: {
569
+ pages: ({
570
+ type: import("./FormConfig").PageType.FORM;
450
571
  id: string;
451
572
  title: TranslationConfig;
452
573
  fields: import("./FieldConfig").Inferred[];
453
- }[];
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
+ })[];
454
592
  review: {
455
593
  title: TranslationConfig;
456
594
  fields: import("./FieldConfig").Inferred[];
@@ -474,26 +612,80 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
474
612
  label: TranslationConfig;
475
613
  };
476
614
  label: TranslationConfig;
477
- pages: {
615
+ pages: ({
616
+ type: import("./FormConfig").PageType.FORM;
478
617
  id: string;
479
618
  title: TranslationConfig;
480
619
  fields: import("./FieldConfig").Inferred[];
481
- }[];
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
+ })[];
482
638
  review: {
483
639
  title: TranslationConfig;
484
640
  fields: import("./FieldConfig").Inferred[];
485
641
  };
486
642
  }[];
487
- onboardingForm: {
643
+ onboardingForm: ({
644
+ type: import("./FormConfig").PageType.FORM;
488
645
  id: string;
489
646
  title: TranslationConfig;
490
647
  fields: import("./FieldConfig").Inferred[];
491
- }[];
492
- additionalDetailsForm: {
648
+ } | {
649
+ type: import("./FormConfig").PageType.VERIFICATION;
493
650
  id: string;
494
651
  title: TranslationConfig;
652
+ actions: {
653
+ verify: {
654
+ label: TranslationConfig;
655
+ };
656
+ cancel: {
657
+ label: TranslationConfig;
658
+ confirmation: {
659
+ title: TranslationConfig;
660
+ body: TranslationConfig;
661
+ };
662
+ };
663
+ };
495
664
  fields: import("./FieldConfig").Inferred[];
496
- }[];
665
+ })[];
666
+ additionalDetailsForm: ({
667
+ type: import("./FormConfig").PageType.FORM;
668
+ id: string;
669
+ title: TranslationConfig;
670
+ fields: import("./FieldConfig").Inferred[];
671
+ } | {
672
+ type: import("./FormConfig").PageType.VERIFICATION;
673
+ id: string;
674
+ title: TranslationConfig;
675
+ actions: {
676
+ verify: {
677
+ label: TranslationConfig;
678
+ };
679
+ cancel: {
680
+ label: TranslationConfig;
681
+ confirmation: {
682
+ title: TranslationConfig;
683
+ body: TranslationConfig;
684
+ };
685
+ };
686
+ };
687
+ fields: import("./FieldConfig").Inferred[];
688
+ })[];
497
689
  draft?: boolean | undefined;
498
690
  } | {
499
691
  type: "REJECT_CORRECTION";
@@ -512,11 +704,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
512
704
  label: TranslationConfig;
513
705
  };
514
706
  label: TranslationConfig;
515
- pages: {
707
+ pages: ({
708
+ type: import("./FormConfig").PageType.FORM;
516
709
  id: string;
517
710
  title: TranslationConfig;
518
711
  fields: import("./FieldConfig").Inferred[];
519
- }[];
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
+ })[];
520
730
  review: {
521
731
  title: TranslationConfig;
522
732
  fields: import("./FieldConfig").Inferred[];
@@ -540,11 +750,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
540
750
  label: TranslationConfig;
541
751
  };
542
752
  label: TranslationConfig;
543
- pages: {
753
+ pages: ({
754
+ type: import("./FormConfig").PageType.FORM;
544
755
  id: string;
545
756
  title: TranslationConfig;
546
757
  fields: import("./FieldConfig").Inferred[];
547
- }[];
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
+ })[];
548
776
  review: {
549
777
  title: TranslationConfig;
550
778
  fields: import("./FieldConfig").Inferred[];
@@ -568,11 +796,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
568
796
  label: TranslationConfig;
569
797
  };
570
798
  label: TranslationConfig;
571
- pages: {
799
+ pages: ({
800
+ type: import("./FormConfig").PageType.FORM;
572
801
  id: string;
573
802
  title: TranslationConfig;
574
803
  fields: import("./FieldConfig").Inferred[];
575
- }[];
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
+ })[];
576
822
  review: {
577
823
  title: TranslationConfig;
578
824
  fields: import("./FieldConfig").Inferred[];
@@ -637,7 +883,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
637
883
  description: string;
638
884
  defaultMessage: string;
639
885
  };
640
- pages: {
886
+ pages: ({
641
887
  id: string;
642
888
  title: {
643
889
  id: string;
@@ -645,7 +891,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
645
891
  defaultMessage: string;
646
892
  };
647
893
  fields: import("./FieldConfig").Inferred[];
648
- }[];
894
+ type?: import("./FormConfig").PageType.FORM | undefined;
895
+ } | {
896
+ type: import("./FormConfig").PageType.VERIFICATION;
897
+ id: string;
898
+ title: {
899
+ id: string;
900
+ description: string;
901
+ defaultMessage: string;
902
+ };
903
+ actions: {
904
+ verify: {
905
+ label: {
906
+ id: string;
907
+ description: string;
908
+ defaultMessage: string;
909
+ };
910
+ };
911
+ cancel: {
912
+ label: {
913
+ id: string;
914
+ description: string;
915
+ defaultMessage: string;
916
+ };
917
+ confirmation: {
918
+ title: {
919
+ id: string;
920
+ description: string;
921
+ defaultMessage: string;
922
+ };
923
+ body: {
924
+ id: string;
925
+ description: string;
926
+ defaultMessage: string;
927
+ };
928
+ };
929
+ };
930
+ };
931
+ fields: import("./FieldConfig").Inferred[];
932
+ })[];
649
933
  review: {
650
934
  title: {
651
935
  id: string;
@@ -685,7 +969,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
685
969
  description: string;
686
970
  defaultMessage: string;
687
971
  };
688
- pages: {
972
+ pages: ({
689
973
  id: string;
690
974
  title: {
691
975
  id: string;
@@ -693,7 +977,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
693
977
  defaultMessage: string;
694
978
  };
695
979
  fields: import("./FieldConfig").Inferred[];
696
- }[];
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
+ })[];
697
1019
  review: {
698
1020
  title: {
699
1021
  id: string;
@@ -714,7 +1036,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
714
1036
  })[] | undefined;
715
1037
  } | {
716
1038
  type: "REJECT";
717
- comment: string;
718
1039
  label: {
719
1040
  id: string;
720
1041
  description: string;
@@ -734,7 +1055,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
734
1055
  description: string;
735
1056
  defaultMessage: string;
736
1057
  };
737
- pages: {
1058
+ pages: ({
738
1059
  id: string;
739
1060
  title: {
740
1061
  id: string;
@@ -742,7 +1063,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
742
1063
  defaultMessage: string;
743
1064
  };
744
1065
  fields: import("./FieldConfig").Inferred[];
745
- }[];
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
+ })[];
746
1105
  review: {
747
1106
  title: {
748
1107
  id: string;
@@ -753,7 +1112,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
753
1112
  };
754
1113
  active?: boolean | undefined;
755
1114
  }[];
756
- isDuplicate: boolean;
757
1115
  draft?: boolean | undefined;
758
1116
  conditionals?: ({
759
1117
  type: "SHOW";
@@ -764,7 +1122,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
764
1122
  })[] | undefined;
765
1123
  } | {
766
1124
  type: "MARKED_AS_DUPLICATE";
767
- comment: string;
768
1125
  label: {
769
1126
  id: string;
770
1127
  description: string;
@@ -784,7 +1141,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
784
1141
  description: string;
785
1142
  defaultMessage: string;
786
1143
  };
787
- pages: {
1144
+ pages: ({
788
1145
  id: string;
789
1146
  title: {
790
1147
  id: string;
@@ -792,7 +1149,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
792
1149
  defaultMessage: string;
793
1150
  };
794
1151
  fields: import("./FieldConfig").Inferred[];
795
- }[];
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
+ })[];
796
1191
  review: {
797
1192
  title: {
798
1193
  id: string;
@@ -803,7 +1198,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
803
1198
  };
804
1199
  active?: boolean | undefined;
805
1200
  }[];
806
- duplicates: string[];
807
1201
  draft?: boolean | undefined;
808
1202
  conditionals?: ({
809
1203
  type: "SHOW";
@@ -814,7 +1208,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
814
1208
  })[] | undefined;
815
1209
  } | {
816
1210
  type: "ARCHIVE";
817
- comment: string;
818
1211
  label: {
819
1212
  id: string;
820
1213
  description: string;
@@ -834,7 +1227,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
834
1227
  description: string;
835
1228
  defaultMessage: string;
836
1229
  };
837
- pages: {
1230
+ pages: ({
838
1231
  id: string;
839
1232
  title: {
840
1233
  id: string;
@@ -842,7 +1235,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
842
1235
  defaultMessage: string;
843
1236
  };
844
1237
  fields: import("./FieldConfig").Inferred[];
845
- }[];
1238
+ type?: import("./FormConfig").PageType.FORM | undefined;
1239
+ } | {
1240
+ type: import("./FormConfig").PageType.VERIFICATION;
1241
+ id: string;
1242
+ title: {
1243
+ id: string;
1244
+ description: string;
1245
+ defaultMessage: string;
1246
+ };
1247
+ actions: {
1248
+ verify: {
1249
+ label: {
1250
+ id: string;
1251
+ description: string;
1252
+ defaultMessage: string;
1253
+ };
1254
+ };
1255
+ cancel: {
1256
+ label: {
1257
+ id: string;
1258
+ description: string;
1259
+ defaultMessage: string;
1260
+ };
1261
+ confirmation: {
1262
+ title: {
1263
+ id: string;
1264
+ description: string;
1265
+ defaultMessage: string;
1266
+ };
1267
+ body: {
1268
+ id: string;
1269
+ description: string;
1270
+ defaultMessage: string;
1271
+ };
1272
+ };
1273
+ };
1274
+ };
1275
+ fields: import("./FieldConfig").Inferred[];
1276
+ })[];
846
1277
  review: {
847
1278
  title: {
848
1279
  id: string;
@@ -853,7 +1284,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
853
1284
  };
854
1285
  active?: boolean | undefined;
855
1286
  }[];
856
- isDuplicate: boolean;
857
1287
  draft?: boolean | undefined;
858
1288
  conditionals?: ({
859
1289
  type: "SHOW";
@@ -883,7 +1313,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
883
1313
  description: string;
884
1314
  defaultMessage: string;
885
1315
  };
886
- pages: {
1316
+ pages: ({
887
1317
  id: string;
888
1318
  title: {
889
1319
  id: string;
@@ -891,7 +1321,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
891
1321
  defaultMessage: string;
892
1322
  };
893
1323
  fields: import("./FieldConfig").Inferred[];
894
- }[];
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: {
1336
+ id: string;
1337
+ description: string;
1338
+ defaultMessage: string;
1339
+ };
1340
+ };
1341
+ cancel: {
1342
+ label: {
1343
+ id: string;
1344
+ description: string;
1345
+ defaultMessage: string;
1346
+ };
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
+ };
1360
+ };
1361
+ fields: import("./FieldConfig").Inferred[];
1362
+ })[];
895
1363
  review: {
896
1364
  title: {
897
1365
  id: string;
@@ -931,7 +1399,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
931
1399
  description: string;
932
1400
  defaultMessage: string;
933
1401
  };
934
- pages: {
1402
+ pages: ({
935
1403
  id: string;
936
1404
  title: {
937
1405
  id: string;
@@ -939,7 +1407,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
939
1407
  defaultMessage: string;
940
1408
  };
941
1409
  fields: import("./FieldConfig").Inferred[];
942
- }[];
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;
1418
+ };
1419
+ actions: {
1420
+ verify: {
1421
+ label: {
1422
+ id: string;
1423
+ description: string;
1424
+ defaultMessage: string;
1425
+ };
1426
+ };
1427
+ cancel: {
1428
+ label: {
1429
+ id: string;
1430
+ description: string;
1431
+ defaultMessage: string;
1432
+ };
1433
+ confirmation: {
1434
+ title: {
1435
+ id: string;
1436
+ description: string;
1437
+ defaultMessage: string;
1438
+ };
1439
+ body: {
1440
+ id: string;
1441
+ description: string;
1442
+ defaultMessage: string;
1443
+ };
1444
+ };
1445
+ };
1446
+ };
1447
+ fields: import("./FieldConfig").Inferred[];
1448
+ })[];
943
1449
  review: {
944
1450
  title: {
945
1451
  id: string;
@@ -979,7 +1485,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
979
1485
  description: string;
980
1486
  defaultMessage: string;
981
1487
  };
982
- pages: {
1488
+ pages: ({
983
1489
  id: string;
984
1490
  title: {
985
1491
  id: string;
@@ -987,7 +1493,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
987
1493
  defaultMessage: string;
988
1494
  };
989
1495
  fields: import("./FieldConfig").Inferred[];
990
- }[];
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
+ })[];
991
1535
  review: {
992
1536
  title: {
993
1537
  id: string;
@@ -1027,7 +1571,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1027
1571
  description: string;
1028
1572
  defaultMessage: string;
1029
1573
  };
1030
- pages: {
1574
+ pages: ({
1031
1575
  id: string;
1032
1576
  title: {
1033
1577
  id: string;
@@ -1035,7 +1579,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1035
1579
  defaultMessage: string;
1036
1580
  };
1037
1581
  fields: import("./FieldConfig").Inferred[];
1038
- }[];
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
+ })[];
1039
1621
  review: {
1040
1622
  title: {
1041
1623
  id: string;
@@ -1046,7 +1628,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1046
1628
  };
1047
1629
  active?: boolean | undefined;
1048
1630
  }[];
1049
- onboardingForm: {
1631
+ onboardingForm: ({
1050
1632
  id: string;
1051
1633
  title: {
1052
1634
  id: string;
@@ -1054,16 +1636,92 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1054
1636
  defaultMessage: string;
1055
1637
  };
1056
1638
  fields: import("./FieldConfig").Inferred[];
1057
- }[];
1058
- additionalDetailsForm: {
1639
+ type?: import("./FormConfig").PageType.FORM | undefined;
1640
+ } | {
1641
+ type: import("./FormConfig").PageType.VERIFICATION;
1059
1642
  id: string;
1060
1643
  title: {
1061
1644
  id: string;
1062
1645
  description: string;
1063
1646
  defaultMessage: string;
1064
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
+ };
1065
1676
  fields: import("./FieldConfig").Inferred[];
1066
- }[];
1677
+ })[];
1678
+ additionalDetailsForm: ({
1679
+ 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;
1689
+ id: string;
1690
+ title: {
1691
+ id: string;
1692
+ description: string;
1693
+ defaultMessage: string;
1694
+ };
1695
+ actions: {
1696
+ verify: {
1697
+ label: {
1698
+ id: string;
1699
+ description: string;
1700
+ defaultMessage: string;
1701
+ };
1702
+ };
1703
+ cancel: {
1704
+ label: {
1705
+ id: string;
1706
+ description: string;
1707
+ defaultMessage: string;
1708
+ };
1709
+ confirmation: {
1710
+ title: {
1711
+ id: string;
1712
+ description: string;
1713
+ defaultMessage: string;
1714
+ };
1715
+ body: {
1716
+ id: string;
1717
+ description: string;
1718
+ defaultMessage: string;
1719
+ };
1720
+ };
1721
+ };
1722
+ };
1723
+ fields: import("./FieldConfig").Inferred[];
1724
+ })[];
1067
1725
  draft?: boolean | undefined;
1068
1726
  conditionals?: ({
1069
1727
  type: "SHOW";
@@ -1093,7 +1751,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1093
1751
  description: string;
1094
1752
  defaultMessage: string;
1095
1753
  };
1096
- pages: {
1754
+ pages: ({
1097
1755
  id: string;
1098
1756
  title: {
1099
1757
  id: string;
@@ -1101,7 +1759,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1101
1759
  defaultMessage: string;
1102
1760
  };
1103
1761
  fields: import("./FieldConfig").Inferred[];
1104
- }[];
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
+ })[];
1105
1801
  review: {
1106
1802
  title: {
1107
1803
  id: string;
@@ -1141,7 +1837,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1141
1837
  description: string;
1142
1838
  defaultMessage: string;
1143
1839
  };
1144
- pages: {
1840
+ pages: ({
1145
1841
  id: string;
1146
1842
  title: {
1147
1843
  id: string;
@@ -1149,7 +1845,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1149
1845
  defaultMessage: string;
1150
1846
  };
1151
1847
  fields: import("./FieldConfig").Inferred[];
1152
- }[];
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
+ })[];
1153
1887
  review: {
1154
1888
  title: {
1155
1889
  id: string;
@@ -1189,7 +1923,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1189
1923
  description: string;
1190
1924
  defaultMessage: string;
1191
1925
  };
1192
- pages: {
1926
+ pages: ({
1193
1927
  id: string;
1194
1928
  title: {
1195
1929
  id: string;
@@ -1197,7 +1931,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1197
1931
  defaultMessage: string;
1198
1932
  };
1199
1933
  fields: import("./FieldConfig").Inferred[];
1200
- }[];
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
+ })[];
1201
1973
  review: {
1202
1974
  title: {
1203
1975
  id: string;
@@ -1302,11 +2074,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1302
2074
  label: TranslationConfig;
1303
2075
  };
1304
2076
  label: TranslationConfig;
1305
- pages: {
2077
+ pages: ({
2078
+ type: import("./FormConfig").PageType.FORM;
1306
2079
  id: string;
1307
2080
  title: TranslationConfig;
1308
2081
  fields: import("./FieldConfig").Inferred[];
1309
- }[];
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
+ })[];
1310
2100
  review: {
1311
2101
  title: TranslationConfig;
1312
2102
  fields: import("./FieldConfig").Inferred[];
@@ -1330,11 +2120,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1330
2120
  label: TranslationConfig;
1331
2121
  };
1332
2122
  label: TranslationConfig;
1333
- pages: {
2123
+ pages: ({
2124
+ type: import("./FormConfig").PageType.FORM;
1334
2125
  id: string;
1335
2126
  title: TranslationConfig;
1336
2127
  fields: import("./FieldConfig").Inferred[];
1337
- }[];
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
+ })[];
1338
2146
  review: {
1339
2147
  title: TranslationConfig;
1340
2148
  fields: import("./FieldConfig").Inferred[];
@@ -1343,7 +2151,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1343
2151
  draft?: boolean | undefined;
1344
2152
  } | {
1345
2153
  type: "REJECT";
1346
- comment: string;
1347
2154
  conditionals: ({
1348
2155
  type: "SHOW";
1349
2156
  conditional: import(".").JSONSchema;
@@ -1359,21 +2166,37 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1359
2166
  label: TranslationConfig;
1360
2167
  };
1361
2168
  label: TranslationConfig;
1362
- pages: {
2169
+ pages: ({
2170
+ type: import("./FormConfig").PageType.FORM;
1363
2171
  id: string;
1364
2172
  title: TranslationConfig;
1365
2173
  fields: import("./FieldConfig").Inferred[];
1366
- }[];
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
+ })[];
1367
2192
  review: {
1368
2193
  title: TranslationConfig;
1369
2194
  fields: import("./FieldConfig").Inferred[];
1370
2195
  };
1371
2196
  }[];
1372
- isDuplicate: boolean;
1373
2197
  draft?: boolean | undefined;
1374
2198
  } | {
1375
2199
  type: "MARKED_AS_DUPLICATE";
1376
- comment: string;
1377
2200
  conditionals: ({
1378
2201
  type: "SHOW";
1379
2202
  conditional: import(".").JSONSchema;
@@ -1389,21 +2212,37 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1389
2212
  label: TranslationConfig;
1390
2213
  };
1391
2214
  label: TranslationConfig;
1392
- pages: {
2215
+ pages: ({
2216
+ type: import("./FormConfig").PageType.FORM;
1393
2217
  id: string;
1394
2218
  title: TranslationConfig;
1395
2219
  fields: import("./FieldConfig").Inferred[];
1396
- }[];
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
+ })[];
1397
2238
  review: {
1398
2239
  title: TranslationConfig;
1399
2240
  fields: import("./FieldConfig").Inferred[];
1400
2241
  };
1401
2242
  }[];
1402
- duplicates: string[];
1403
2243
  draft?: boolean | undefined;
1404
2244
  } | {
1405
2245
  type: "ARCHIVE";
1406
- comment: string;
1407
2246
  conditionals: ({
1408
2247
  type: "SHOW";
1409
2248
  conditional: import(".").JSONSchema;
@@ -1419,17 +2258,34 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1419
2258
  label: TranslationConfig;
1420
2259
  };
1421
2260
  label: TranslationConfig;
1422
- pages: {
2261
+ pages: ({
2262
+ type: import("./FormConfig").PageType.FORM;
1423
2263
  id: string;
1424
2264
  title: TranslationConfig;
1425
2265
  fields: import("./FieldConfig").Inferred[];
1426
- }[];
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
+ })[];
1427
2284
  review: {
1428
2285
  title: TranslationConfig;
1429
2286
  fields: import("./FieldConfig").Inferred[];
1430
2287
  };
1431
2288
  }[];
1432
- isDuplicate: boolean;
1433
2289
  draft?: boolean | undefined;
1434
2290
  } | {
1435
2291
  type: "REGISTER";
@@ -1448,11 +2304,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1448
2304
  label: TranslationConfig;
1449
2305
  };
1450
2306
  label: TranslationConfig;
1451
- pages: {
2307
+ pages: ({
2308
+ type: import("./FormConfig").PageType.FORM;
1452
2309
  id: string;
1453
2310
  title: TranslationConfig;
1454
2311
  fields: import("./FieldConfig").Inferred[];
1455
- }[];
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
+ })[];
1456
2330
  review: {
1457
2331
  title: TranslationConfig;
1458
2332
  fields: import("./FieldConfig").Inferred[];
@@ -1476,11 +2350,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1476
2350
  label: TranslationConfig;
1477
2351
  };
1478
2352
  label: TranslationConfig;
1479
- pages: {
2353
+ pages: ({
2354
+ type: import("./FormConfig").PageType.FORM;
1480
2355
  id: string;
1481
2356
  title: TranslationConfig;
1482
2357
  fields: import("./FieldConfig").Inferred[];
1483
- }[];
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
+ })[];
1484
2376
  review: {
1485
2377
  title: TranslationConfig;
1486
2378
  fields: import("./FieldConfig").Inferred[];
@@ -1504,11 +2396,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1504
2396
  label: TranslationConfig;
1505
2397
  };
1506
2398
  label: TranslationConfig;
1507
- pages: {
2399
+ pages: ({
2400
+ type: import("./FormConfig").PageType.FORM;
1508
2401
  id: string;
1509
2402
  title: TranslationConfig;
1510
2403
  fields: import("./FieldConfig").Inferred[];
1511
- }[];
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
+ })[];
1512
2422
  review: {
1513
2423
  title: TranslationConfig;
1514
2424
  fields: import("./FieldConfig").Inferred[];
@@ -1532,26 +2442,80 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1532
2442
  label: TranslationConfig;
1533
2443
  };
1534
2444
  label: TranslationConfig;
1535
- pages: {
2445
+ pages: ({
2446
+ type: import("./FormConfig").PageType.FORM;
1536
2447
  id: string;
1537
2448
  title: TranslationConfig;
1538
2449
  fields: import("./FieldConfig").Inferred[];
1539
- }[];
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
+ })[];
1540
2468
  review: {
1541
2469
  title: TranslationConfig;
1542
2470
  fields: import("./FieldConfig").Inferred[];
1543
2471
  };
1544
2472
  }[];
1545
- onboardingForm: {
2473
+ onboardingForm: ({
2474
+ type: import("./FormConfig").PageType.FORM;
1546
2475
  id: string;
1547
2476
  title: TranslationConfig;
1548
2477
  fields: import("./FieldConfig").Inferred[];
1549
- }[];
1550
- additionalDetailsForm: {
2478
+ } | {
2479
+ type: import("./FormConfig").PageType.VERIFICATION;
1551
2480
  id: string;
1552
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
+ };
1553
2494
  fields: import("./FieldConfig").Inferred[];
1554
- }[];
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
+ })[];
1555
2519
  draft?: boolean | undefined;
1556
2520
  } | {
1557
2521
  type: "REJECT_CORRECTION";
@@ -1570,11 +2534,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1570
2534
  label: TranslationConfig;
1571
2535
  };
1572
2536
  label: TranslationConfig;
1573
- pages: {
2537
+ pages: ({
2538
+ type: import("./FormConfig").PageType.FORM;
1574
2539
  id: string;
1575
2540
  title: TranslationConfig;
1576
2541
  fields: import("./FieldConfig").Inferred[];
1577
- }[];
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
+ })[];
1578
2560
  review: {
1579
2561
  title: TranslationConfig;
1580
2562
  fields: import("./FieldConfig").Inferred[];
@@ -1598,11 +2580,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1598
2580
  label: TranslationConfig;
1599
2581
  };
1600
2582
  label: TranslationConfig;
1601
- pages: {
2583
+ pages: ({
2584
+ type: import("./FormConfig").PageType.FORM;
1602
2585
  id: string;
1603
2586
  title: TranslationConfig;
1604
2587
  fields: import("./FieldConfig").Inferred[];
1605
- }[];
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
+ })[];
1606
2606
  review: {
1607
2607
  title: TranslationConfig;
1608
2608
  fields: import("./FieldConfig").Inferred[];
@@ -1626,11 +2626,29 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1626
2626
  label: TranslationConfig;
1627
2627
  };
1628
2628
  label: TranslationConfig;
1629
- pages: {
2629
+ pages: ({
2630
+ type: import("./FormConfig").PageType.FORM;
1630
2631
  id: string;
1631
2632
  title: TranslationConfig;
1632
2633
  fields: import("./FieldConfig").Inferred[];
1633
- }[];
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
+ })[];
1634
2652
  review: {
1635
2653
  title: TranslationConfig;
1636
2654
  fields: import("./FieldConfig").Inferred[];
@@ -1695,7 +2713,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1695
2713
  description: string;
1696
2714
  defaultMessage: string;
1697
2715
  };
1698
- pages: {
2716
+ pages: ({
1699
2717
  id: string;
1700
2718
  title: {
1701
2719
  id: string;
@@ -1703,7 +2721,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1703
2721
  defaultMessage: string;
1704
2722
  };
1705
2723
  fields: import("./FieldConfig").Inferred[];
1706
- }[];
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
+ })[];
1707
2763
  review: {
1708
2764
  title: {
1709
2765
  id: string;
@@ -1743,7 +2799,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1743
2799
  description: string;
1744
2800
  defaultMessage: string;
1745
2801
  };
1746
- pages: {
2802
+ pages: ({
1747
2803
  id: string;
1748
2804
  title: {
1749
2805
  id: string;
@@ -1751,7 +2807,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1751
2807
  defaultMessage: string;
1752
2808
  };
1753
2809
  fields: import("./FieldConfig").Inferred[];
1754
- }[];
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
+ })[];
1755
2849
  review: {
1756
2850
  title: {
1757
2851
  id: string;
@@ -1772,7 +2866,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1772
2866
  })[] | undefined;
1773
2867
  } | {
1774
2868
  type: "REJECT";
1775
- comment: string;
1776
2869
  label: {
1777
2870
  id: string;
1778
2871
  description: string;
@@ -1792,7 +2885,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1792
2885
  description: string;
1793
2886
  defaultMessage: string;
1794
2887
  };
1795
- pages: {
2888
+ pages: ({
1796
2889
  id: string;
1797
2890
  title: {
1798
2891
  id: string;
@@ -1800,7 +2893,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1800
2893
  defaultMessage: string;
1801
2894
  };
1802
2895
  fields: import("./FieldConfig").Inferred[];
1803
- }[];
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
+ })[];
1804
2935
  review: {
1805
2936
  title: {
1806
2937
  id: string;
@@ -1811,7 +2942,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1811
2942
  };
1812
2943
  active?: boolean | undefined;
1813
2944
  }[];
1814
- isDuplicate: boolean;
1815
2945
  draft?: boolean | undefined;
1816
2946
  conditionals?: ({
1817
2947
  type: "SHOW";
@@ -1822,7 +2952,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1822
2952
  })[] | undefined;
1823
2953
  } | {
1824
2954
  type: "MARKED_AS_DUPLICATE";
1825
- comment: string;
1826
2955
  label: {
1827
2956
  id: string;
1828
2957
  description: string;
@@ -1842,7 +2971,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1842
2971
  description: string;
1843
2972
  defaultMessage: string;
1844
2973
  };
1845
- pages: {
2974
+ pages: ({
1846
2975
  id: string;
1847
2976
  title: {
1848
2977
  id: string;
@@ -1850,7 +2979,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1850
2979
  defaultMessage: string;
1851
2980
  };
1852
2981
  fields: import("./FieldConfig").Inferred[];
1853
- }[];
2982
+ type?: import("./FormConfig").PageType.FORM | undefined;
2983
+ } | {
2984
+ type: import("./FormConfig").PageType.VERIFICATION;
2985
+ id: string;
2986
+ title: {
2987
+ id: string;
2988
+ description: string;
2989
+ defaultMessage: string;
2990
+ };
2991
+ actions: {
2992
+ verify: {
2993
+ label: {
2994
+ id: string;
2995
+ description: string;
2996
+ defaultMessage: string;
2997
+ };
2998
+ };
2999
+ cancel: {
3000
+ label: {
3001
+ id: string;
3002
+ description: string;
3003
+ defaultMessage: string;
3004
+ };
3005
+ 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
+ };
3016
+ };
3017
+ };
3018
+ };
3019
+ fields: import("./FieldConfig").Inferred[];
3020
+ })[];
1854
3021
  review: {
1855
3022
  title: {
1856
3023
  id: string;
@@ -1861,7 +3028,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1861
3028
  };
1862
3029
  active?: boolean | undefined;
1863
3030
  }[];
1864
- duplicates: string[];
1865
3031
  draft?: boolean | undefined;
1866
3032
  conditionals?: ({
1867
3033
  type: "SHOW";
@@ -1872,7 +3038,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1872
3038
  })[] | undefined;
1873
3039
  } | {
1874
3040
  type: "ARCHIVE";
1875
- comment: string;
1876
3041
  label: {
1877
3042
  id: string;
1878
3043
  description: string;
@@ -1892,7 +3057,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1892
3057
  description: string;
1893
3058
  defaultMessage: string;
1894
3059
  };
1895
- pages: {
3060
+ pages: ({
1896
3061
  id: string;
1897
3062
  title: {
1898
3063
  id: string;
@@ -1900,7 +3065,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1900
3065
  defaultMessage: string;
1901
3066
  };
1902
3067
  fields: import("./FieldConfig").Inferred[];
1903
- }[];
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;
3076
+ };
3077
+ actions: {
3078
+ verify: {
3079
+ label: {
3080
+ id: string;
3081
+ description: string;
3082
+ defaultMessage: string;
3083
+ };
3084
+ };
3085
+ cancel: {
3086
+ label: {
3087
+ id: string;
3088
+ description: string;
3089
+ defaultMessage: string;
3090
+ };
3091
+ confirmation: {
3092
+ title: {
3093
+ id: string;
3094
+ description: string;
3095
+ defaultMessage: string;
3096
+ };
3097
+ body: {
3098
+ id: string;
3099
+ description: string;
3100
+ defaultMessage: string;
3101
+ };
3102
+ };
3103
+ };
3104
+ };
3105
+ fields: import("./FieldConfig").Inferred[];
3106
+ })[];
1904
3107
  review: {
1905
3108
  title: {
1906
3109
  id: string;
@@ -1911,7 +3114,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1911
3114
  };
1912
3115
  active?: boolean | undefined;
1913
3116
  }[];
1914
- isDuplicate: boolean;
1915
3117
  draft?: boolean | undefined;
1916
3118
  conditionals?: ({
1917
3119
  type: "SHOW";
@@ -1941,7 +3143,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1941
3143
  description: string;
1942
3144
  defaultMessage: string;
1943
3145
  };
1944
- pages: {
3146
+ pages: ({
1945
3147
  id: string;
1946
3148
  title: {
1947
3149
  id: string;
@@ -1949,7 +3151,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1949
3151
  defaultMessage: string;
1950
3152
  };
1951
3153
  fields: import("./FieldConfig").Inferred[];
1952
- }[];
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
+ })[];
1953
3193
  review: {
1954
3194
  title: {
1955
3195
  id: string;
@@ -1989,7 +3229,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1989
3229
  description: string;
1990
3230
  defaultMessage: string;
1991
3231
  };
1992
- pages: {
3232
+ pages: ({
1993
3233
  id: string;
1994
3234
  title: {
1995
3235
  id: string;
@@ -1997,7 +3237,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1997
3237
  defaultMessage: string;
1998
3238
  };
1999
3239
  fields: import("./FieldConfig").Inferred[];
2000
- }[];
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
+ })[];
2001
3279
  review: {
2002
3280
  title: {
2003
3281
  id: string;
@@ -2037,7 +3315,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2037
3315
  description: string;
2038
3316
  defaultMessage: string;
2039
3317
  };
2040
- pages: {
3318
+ pages: ({
2041
3319
  id: string;
2042
3320
  title: {
2043
3321
  id: string;
@@ -2045,7 +3323,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2045
3323
  defaultMessage: string;
2046
3324
  };
2047
3325
  fields: import("./FieldConfig").Inferred[];
2048
- }[];
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
+ })[];
2049
3365
  review: {
2050
3366
  title: {
2051
3367
  id: string;
@@ -2085,7 +3401,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2085
3401
  description: string;
2086
3402
  defaultMessage: string;
2087
3403
  };
2088
- pages: {
3404
+ pages: ({
2089
3405
  id: string;
2090
3406
  title: {
2091
3407
  id: string;
@@ -2093,7 +3409,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2093
3409
  defaultMessage: string;
2094
3410
  };
2095
3411
  fields: import("./FieldConfig").Inferred[];
2096
- }[];
3412
+ type?: import("./FormConfig").PageType.FORM | undefined;
3413
+ } | {
3414
+ type: import("./FormConfig").PageType.VERIFICATION;
3415
+ id: string;
3416
+ title: {
3417
+ id: string;
3418
+ description: string;
3419
+ defaultMessage: string;
3420
+ };
3421
+ actions: {
3422
+ verify: {
3423
+ label: {
3424
+ id: string;
3425
+ description: string;
3426
+ defaultMessage: string;
3427
+ };
3428
+ };
3429
+ cancel: {
3430
+ label: {
3431
+ id: string;
3432
+ description: string;
3433
+ defaultMessage: string;
3434
+ };
3435
+ confirmation: {
3436
+ title: {
3437
+ id: string;
3438
+ description: string;
3439
+ defaultMessage: string;
3440
+ };
3441
+ body: {
3442
+ id: string;
3443
+ description: string;
3444
+ defaultMessage: string;
3445
+ };
3446
+ };
3447
+ };
3448
+ };
3449
+ fields: import("./FieldConfig").Inferred[];
3450
+ })[];
2097
3451
  review: {
2098
3452
  title: {
2099
3453
  id: string;
@@ -2104,7 +3458,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2104
3458
  };
2105
3459
  active?: boolean | undefined;
2106
3460
  }[];
2107
- onboardingForm: {
3461
+ onboardingForm: ({
2108
3462
  id: string;
2109
3463
  title: {
2110
3464
  id: string;
@@ -2112,16 +3466,92 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2112
3466
  defaultMessage: string;
2113
3467
  };
2114
3468
  fields: import("./FieldConfig").Inferred[];
2115
- }[];
2116
- additionalDetailsForm: {
3469
+ type?: import("./FormConfig").PageType.FORM | undefined;
3470
+ } | {
3471
+ type: import("./FormConfig").PageType.VERIFICATION;
2117
3472
  id: string;
2118
3473
  title: {
2119
3474
  id: string;
2120
3475
  description: string;
2121
3476
  defaultMessage: string;
2122
3477
  };
3478
+ actions: {
3479
+ verify: {
3480
+ label: {
3481
+ id: string;
3482
+ description: string;
3483
+ defaultMessage: string;
3484
+ };
3485
+ };
3486
+ cancel: {
3487
+ label: {
3488
+ id: string;
3489
+ description: string;
3490
+ defaultMessage: string;
3491
+ };
3492
+ confirmation: {
3493
+ title: {
3494
+ id: string;
3495
+ description: string;
3496
+ defaultMessage: string;
3497
+ };
3498
+ body: {
3499
+ id: string;
3500
+ description: string;
3501
+ defaultMessage: string;
3502
+ };
3503
+ };
3504
+ };
3505
+ };
2123
3506
  fields: import("./FieldConfig").Inferred[];
2124
- }[];
3507
+ })[];
3508
+ additionalDetailsForm: ({
3509
+ id: string;
3510
+ title: {
3511
+ id: string;
3512
+ description: string;
3513
+ defaultMessage: string;
3514
+ };
3515
+ fields: import("./FieldConfig").Inferred[];
3516
+ type?: import("./FormConfig").PageType.FORM | undefined;
3517
+ } | {
3518
+ type: import("./FormConfig").PageType.VERIFICATION;
3519
+ id: string;
3520
+ title: {
3521
+ id: string;
3522
+ description: string;
3523
+ defaultMessage: string;
3524
+ };
3525
+ actions: {
3526
+ verify: {
3527
+ label: {
3528
+ id: string;
3529
+ description: string;
3530
+ defaultMessage: string;
3531
+ };
3532
+ };
3533
+ cancel: {
3534
+ label: {
3535
+ id: string;
3536
+ description: string;
3537
+ defaultMessage: string;
3538
+ };
3539
+ confirmation: {
3540
+ title: {
3541
+ id: string;
3542
+ description: string;
3543
+ defaultMessage: string;
3544
+ };
3545
+ body: {
3546
+ id: string;
3547
+ description: string;
3548
+ defaultMessage: string;
3549
+ };
3550
+ };
3551
+ };
3552
+ };
3553
+ fields: import("./FieldConfig").Inferred[];
3554
+ })[];
2125
3555
  draft?: boolean | undefined;
2126
3556
  conditionals?: ({
2127
3557
  type: "SHOW";
@@ -2151,7 +3581,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2151
3581
  description: string;
2152
3582
  defaultMessage: string;
2153
3583
  };
2154
- pages: {
3584
+ pages: ({
2155
3585
  id: string;
2156
3586
  title: {
2157
3587
  id: string;
@@ -2159,7 +3589,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2159
3589
  defaultMessage: string;
2160
3590
  };
2161
3591
  fields: import("./FieldConfig").Inferred[];
2162
- }[];
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
+ })[];
2163
3631
  review: {
2164
3632
  title: {
2165
3633
  id: string;
@@ -2199,7 +3667,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2199
3667
  description: string;
2200
3668
  defaultMessage: string;
2201
3669
  };
2202
- pages: {
3670
+ pages: ({
2203
3671
  id: string;
2204
3672
  title: {
2205
3673
  id: string;
@@ -2207,7 +3675,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2207
3675
  defaultMessage: string;
2208
3676
  };
2209
3677
  fields: import("./FieldConfig").Inferred[];
2210
- }[];
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
+ })[];
2211
3717
  review: {
2212
3718
  title: {
2213
3719
  id: string;
@@ -2247,7 +3753,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2247
3753
  description: string;
2248
3754
  defaultMessage: string;
2249
3755
  };
2250
- pages: {
3756
+ pages: ({
2251
3757
  id: string;
2252
3758
  title: {
2253
3759
  id: string;
@@ -2255,7 +3761,45 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2255
3761
  defaultMessage: string;
2256
3762
  };
2257
3763
  fields: import("./FieldConfig").Inferred[];
2258
- }[];
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
+ })[];
2259
3803
  review: {
2260
3804
  title: {
2261
3805
  id: string;