@opencrvs/toolkit 1.9.2-rc.fd254a6 → 1.9.3-rc.0c896f8

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.
@@ -73,6 +73,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
73
73
  id: string;
74
74
  title: import("../commons").TranslationConfig;
75
75
  fields: import("../commons").FieldConfig[];
76
+ requireCompletionToContinue: boolean;
76
77
  conditional?: import("../commons").JSONSchema | undefined;
77
78
  }[];
78
79
  };
@@ -138,6 +139,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
138
139
  id: string;
139
140
  title: import("../commons").TranslationConfig;
140
141
  fields: import("../commons").FieldConfig[];
142
+ requireCompletionToContinue: boolean;
141
143
  conditional?: import("../commons").JSONSchema | undefined;
142
144
  } | {
143
145
  type: "VERIFICATION";
@@ -156,6 +158,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
156
158
  };
157
159
  };
158
160
  fields: import("../commons").FieldConfig[];
161
+ requireCompletionToContinue: boolean;
159
162
  conditional?: import("../commons").JSONSchema | undefined;
160
163
  })[];
161
164
  };
@@ -169,6 +172,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
169
172
  id: string;
170
173
  title: import("../commons").TranslationConfig;
171
174
  fields: import("../commons").FieldConfig[];
175
+ requireCompletionToContinue: boolean;
172
176
  conditional?: import("../commons").JSONSchema | undefined;
173
177
  } | {
174
178
  type: "VERIFICATION";
@@ -187,6 +191,7 @@ export declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
187
191
  };
188
192
  };
189
193
  fields: import("../commons").FieldConfig[];
194
+ requireCompletionToContinue: boolean;
190
195
  conditional?: import("../commons").JSONSchema | undefined;
191
196
  })[];
192
197
  };
@@ -117,6 +117,8 @@ export declare function createFieldConditionals(fieldId: string): {
117
117
  days: (days: number) => {
118
118
  inPast: () => JSONSchema;
119
119
  inFuture: () => JSONSchema;
120
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
121
+ fromNow: () => JSONSchema;
120
122
  };
121
123
  date: (date: string | FieldReference) => JSONSchema;
122
124
  now: () => JSONSchema;
@@ -125,6 +127,8 @@ export declare function createFieldConditionals(fieldId: string): {
125
127
  days: (days: number) => {
126
128
  inPast: () => JSONSchema;
127
129
  inFuture: () => JSONSchema;
130
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
131
+ fromNow: () => JSONSchema;
128
132
  };
129
133
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
130
134
  now: () => JSONSchema;
@@ -172,6 +176,8 @@ export declare function createFieldConditionals(fieldId: string): {
172
176
  days: (days: number) => {
173
177
  inPast: () => JSONSchema;
174
178
  inFuture: () => JSONSchema;
179
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
180
+ fromNow: () => JSONSchema;
175
181
  };
176
182
  date: (date: string | FieldReference) => JSONSchema;
177
183
  now: () => JSONSchema;
@@ -180,6 +186,8 @@ export declare function createFieldConditionals(fieldId: string): {
180
186
  days: (days: number) => {
181
187
  inPast: () => JSONSchema;
182
188
  inFuture: () => JSONSchema;
189
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
190
+ fromNow: () => JSONSchema;
183
191
  };
184
192
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
185
193
  now: () => JSONSchema;
@@ -241,6 +249,8 @@ export declare function createFieldConditionals(fieldId: string): {
241
249
  days: (days: number) => {
242
250
  inPast: () => JSONSchema;
243
251
  inFuture: () => JSONSchema;
252
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
253
+ fromNow: () => JSONSchema;
244
254
  };
245
255
  date: (date: string | FieldReference) => JSONSchema;
246
256
  now: () => JSONSchema;
@@ -249,6 +259,8 @@ export declare function createFieldConditionals(fieldId: string): {
249
259
  days: (days: number) => {
250
260
  inPast: () => JSONSchema;
251
261
  inFuture: () => JSONSchema;
262
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
263
+ fromNow: () => JSONSchema;
252
264
  };
253
265
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
254
266
  now: () => JSONSchema;
@@ -305,6 +317,8 @@ export declare function createFieldConditionals(fieldId: string): {
305
317
  days: (days: number) => {
306
318
  inPast: () => JSONSchema;
307
319
  inFuture: () => JSONSchema;
320
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
321
+ fromNow: () => JSONSchema;
308
322
  };
309
323
  date: (date: string | FieldReference) => JSONSchema;
310
324
  now: () => JSONSchema;
@@ -313,6 +327,8 @@ export declare function createFieldConditionals(fieldId: string): {
313
327
  days: (days: number) => {
314
328
  inPast: () => JSONSchema;
315
329
  inFuture: () => JSONSchema;
330
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
331
+ fromNow: () => JSONSchema;
316
332
  };
317
333
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
318
334
  now: () => JSONSchema;
@@ -368,6 +384,8 @@ export declare function createFieldConditionals(fieldId: string): {
368
384
  days: (days: number) => {
369
385
  inPast: () => JSONSchema;
370
386
  inFuture: () => JSONSchema;
387
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
388
+ fromNow: () => JSONSchema;
371
389
  };
372
390
  date: (date: string | FieldReference) => JSONSchema;
373
391
  now: () => JSONSchema;
@@ -376,6 +394,8 @@ export declare function createFieldConditionals(fieldId: string): {
376
394
  days: (days: number) => {
377
395
  inPast: () => JSONSchema;
378
396
  inFuture: () => JSONSchema;
397
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
398
+ fromNow: () => JSONSchema;
379
399
  };
380
400
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
381
401
  now: () => JSONSchema;
@@ -421,6 +441,8 @@ export declare function createFieldConditionals(fieldId: string): {
421
441
  days: (days: number) => {
422
442
  inPast: () => JSONSchema;
423
443
  inFuture: () => JSONSchema;
444
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
445
+ fromNow: () => JSONSchema;
424
446
  };
425
447
  date: (date: string | FieldReference) => JSONSchema;
426
448
  now: () => JSONSchema;
@@ -429,6 +451,8 @@ export declare function createFieldConditionals(fieldId: string): {
429
451
  days: (days: number) => {
430
452
  inPast: () => JSONSchema;
431
453
  inFuture: () => JSONSchema;
454
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
455
+ fromNow: () => JSONSchema;
432
456
  };
433
457
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
434
458
  now: () => JSONSchema;
@@ -491,6 +515,8 @@ export declare function createFieldConditionals(fieldId: string): {
491
515
  days: (days: number) => {
492
516
  inPast: () => JSONSchema;
493
517
  inFuture: () => JSONSchema;
518
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
519
+ fromNow: () => JSONSchema;
494
520
  };
495
521
  date: (date: string | FieldReference) => JSONSchema;
496
522
  now: () => JSONSchema;
@@ -499,6 +525,8 @@ export declare function createFieldConditionals(fieldId: string): {
499
525
  days: (days: number) => {
500
526
  inPast: () => JSONSchema;
501
527
  inFuture: () => JSONSchema;
528
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
529
+ fromNow: () => JSONSchema;
502
530
  };
503
531
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
504
532
  now: () => JSONSchema;
@@ -546,6 +574,8 @@ export declare function createFieldConditionals(fieldId: string): {
546
574
  days: (days: number) => {
547
575
  inPast: () => JSONSchema;
548
576
  inFuture: () => JSONSchema;
577
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
578
+ fromNow: () => JSONSchema;
549
579
  };
550
580
  date: (date: string | FieldReference) => JSONSchema;
551
581
  now: () => JSONSchema;
@@ -554,6 +584,8 @@ export declare function createFieldConditionals(fieldId: string): {
554
584
  days: (days: number) => {
555
585
  inPast: () => JSONSchema;
556
586
  inFuture: () => JSONSchema;
587
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
588
+ fromNow: () => JSONSchema;
557
589
  };
558
590
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
559
591
  now: () => JSONSchema;
@@ -616,6 +648,8 @@ export declare function createFieldConditionals(fieldId: string): {
616
648
  days: (days: number) => {
617
649
  inPast: () => JSONSchema;
618
650
  inFuture: () => JSONSchema;
651
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
652
+ fromNow: () => JSONSchema;
619
653
  };
620
654
  date: (date: string | FieldReference) => JSONSchema;
621
655
  now: () => JSONSchema;
@@ -624,6 +658,8 @@ export declare function createFieldConditionals(fieldId: string): {
624
658
  days: (days: number) => {
625
659
  inPast: () => JSONSchema;
626
660
  inFuture: () => JSONSchema;
661
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
662
+ fromNow: () => JSONSchema;
627
663
  };
628
664
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
629
665
  now: () => JSONSchema;
@@ -671,6 +707,8 @@ export declare function createFieldConditionals(fieldId: string): {
671
707
  days: (days: number) => {
672
708
  inPast: () => JSONSchema;
673
709
  inFuture: () => JSONSchema;
710
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
711
+ fromNow: () => JSONSchema;
674
712
  };
675
713
  date: (date: string | FieldReference) => JSONSchema;
676
714
  now: () => JSONSchema;
@@ -679,6 +717,8 @@ export declare function createFieldConditionals(fieldId: string): {
679
717
  days: (days: number) => {
680
718
  inPast: () => JSONSchema;
681
719
  inFuture: () => JSONSchema;
720
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
721
+ fromNow: () => JSONSchema;
682
722
  };
683
723
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
684
724
  now: () => JSONSchema;
@@ -724,6 +764,8 @@ export declare function createFieldConditionals(fieldId: string): {
724
764
  days: (days: number) => {
725
765
  inPast: () => JSONSchema;
726
766
  inFuture: () => JSONSchema;
767
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
768
+ fromNow: () => JSONSchema;
727
769
  };
728
770
  date: (date: string | FieldReference) => JSONSchema;
729
771
  now: () => JSONSchema;
@@ -732,6 +774,8 @@ export declare function createFieldConditionals(fieldId: string): {
732
774
  days: (days: number) => {
733
775
  inPast: () => JSONSchema;
734
776
  inFuture: () => JSONSchema;
777
+ fromDate: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
778
+ fromNow: () => JSONSchema;
735
779
  };
736
780
  date: (date: `${string}-${string}-${string}` | FieldReference) => JSONSchema;
737
781
  now: () => JSONSchema;
@@ -6,7 +6,7 @@ import { FieldUpdateValue, FieldValue } from '../events/FieldValue';
6
6
  import { TranslationConfig } from '../events/TranslationConfig';
7
7
  import { ITokenPayload } from '../authentication';
8
8
  import { UUID } from '../uuid';
9
- import { ActionType } from '../client';
9
+ import { ActionType, EventDocument } from '../client';
10
10
  export declare function validate(schema: JSONSchema, data: ConditionalParameters): boolean;
11
11
  export declare function validateValue(schema: JSONSchema, data: unknown): boolean;
12
12
  export declare function isOnline(): boolean;
@@ -17,6 +17,7 @@ export type ValidatorContext = {
17
17
  leafAdminStructureLocationIds?: Array<{
18
18
  id: UUID;
19
19
  }>;
20
+ event?: EventDocument;
20
21
  };
21
22
  export declare function isFieldVisible(field: FieldConfig, form: Partial<ActionUpdate | EventState>, context: ValidatorContext): boolean;
22
23
  export declare function isFieldEnabled(field: FieldConfig, form: ActionUpdate | EventState, context: ValidatorContext): boolean;
@@ -498,6 +498,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
498
498
  description: string;
499
499
  defaultMessage: string;
500
500
  }>;
501
+ requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
501
502
  fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
502
503
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
503
504
  }, {
@@ -507,6 +508,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
507
508
  id: string;
508
509
  title: TranslationConfig;
509
510
  fields: FieldConfig[];
511
+ requireCompletionToContinue: boolean;
510
512
  conditional?: import(".").JSONSchema | undefined;
511
513
  }, {
512
514
  id: string;
@@ -518,6 +520,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
518
520
  fields: import("./FieldConfig").FieldConfigInput[];
519
521
  type?: "FORM" | undefined;
520
522
  conditional?: import(".").JSONSchema | undefined;
523
+ requireCompletionToContinue?: boolean | undefined;
521
524
  }> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
522
525
  id: z.ZodString;
523
526
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -525,6 +528,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
525
528
  description: string;
526
529
  defaultMessage: string;
527
530
  }>;
531
+ requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
528
532
  fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
529
533
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
530
534
  }, {
@@ -660,6 +664,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
660
664
  };
661
665
  };
662
666
  fields: FieldConfig[];
667
+ requireCompletionToContinue: boolean;
663
668
  conditional?: import(".").JSONSchema | undefined;
664
669
  }, {
665
670
  type: "VERIFICATION";
@@ -699,6 +704,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
699
704
  };
700
705
  fields: import("./FieldConfig").FieldConfigInput[];
701
706
  conditional?: import(".").JSONSchema | undefined;
707
+ requireCompletionToContinue?: boolean | undefined;
702
708
  }>)[]>, "many">;
703
709
  }, "strip", z.ZodTypeAny, {
704
710
  label: TranslationConfig;
@@ -707,6 +713,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
707
713
  id: string;
708
714
  title: TranslationConfig;
709
715
  fields: FieldConfig[];
716
+ requireCompletionToContinue: boolean;
710
717
  conditional?: import(".").JSONSchema | undefined;
711
718
  } | {
712
719
  type: "VERIFICATION";
@@ -725,6 +732,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
725
732
  };
726
733
  };
727
734
  fields: FieldConfig[];
735
+ requireCompletionToContinue: boolean;
728
736
  conditional?: import(".").JSONSchema | undefined;
729
737
  })[];
730
738
  }, {
@@ -743,6 +751,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
743
751
  fields: import("./FieldConfig").FieldConfigInput[];
744
752
  type?: "FORM" | undefined;
745
753
  conditional?: import(".").JSONSchema | undefined;
754
+ requireCompletionToContinue?: boolean | undefined;
746
755
  } | {
747
756
  type: "VERIFICATION";
748
757
  id: string;
@@ -781,6 +790,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
781
790
  };
782
791
  fields: import("./FieldConfig").FieldConfigInput[];
783
792
  conditional?: import(".").JSONSchema | undefined;
793
+ requireCompletionToContinue?: boolean | undefined;
784
794
  })[];
785
795
  }>;
786
796
  }>, "strip", z.ZodTypeAny, {
@@ -793,6 +803,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
793
803
  id: string;
794
804
  title: TranslationConfig;
795
805
  fields: FieldConfig[];
806
+ requireCompletionToContinue: boolean;
796
807
  conditional?: import(".").JSONSchema | undefined;
797
808
  } | {
798
809
  type: "VERIFICATION";
@@ -811,6 +822,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
811
822
  };
812
823
  };
813
824
  fields: FieldConfig[];
825
+ requireCompletionToContinue: boolean;
814
826
  conditional?: import(".").JSONSchema | undefined;
815
827
  })[];
816
828
  };
@@ -837,6 +849,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
837
849
  fields: import("./FieldConfig").FieldConfigInput[];
838
850
  type?: "FORM" | undefined;
839
851
  conditional?: import(".").JSONSchema | undefined;
852
+ requireCompletionToContinue?: boolean | undefined;
840
853
  } | {
841
854
  type: "VERIFICATION";
842
855
  id: string;
@@ -875,6 +888,7 @@ declare const PrintCertificateActionConfig: z.ZodObject<z.objectUtil.extendShape
875
888
  };
876
889
  fields: import("./FieldConfig").FieldConfigInput[];
877
890
  conditional?: import(".").JSONSchema | undefined;
891
+ requireCompletionToContinue?: boolean | undefined;
878
892
  })[];
879
893
  };
880
894
  }>;
@@ -899,6 +913,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
899
913
  description: string;
900
914
  defaultMessage: string;
901
915
  }>;
916
+ requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
902
917
  fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
903
918
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
904
919
  }, {
@@ -908,6 +923,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
908
923
  id: string;
909
924
  title: TranslationConfig;
910
925
  fields: FieldConfig[];
926
+ requireCompletionToContinue: boolean;
911
927
  conditional?: import(".").JSONSchema | undefined;
912
928
  }, {
913
929
  id: string;
@@ -919,6 +935,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
919
935
  fields: import("./FieldConfig").FieldConfigInput[];
920
936
  type?: "FORM" | undefined;
921
937
  conditional?: import(".").JSONSchema | undefined;
938
+ requireCompletionToContinue?: boolean | undefined;
922
939
  }> | z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
923
940
  id: z.ZodString;
924
941
  title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
@@ -926,6 +943,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
926
943
  description: string;
927
944
  defaultMessage: string;
928
945
  }>;
946
+ requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
929
947
  fields: z.ZodArray<z.ZodType<FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
930
948
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
931
949
  }, {
@@ -1061,6 +1079,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1061
1079
  };
1062
1080
  };
1063
1081
  fields: FieldConfig[];
1082
+ requireCompletionToContinue: boolean;
1064
1083
  conditional?: import(".").JSONSchema | undefined;
1065
1084
  }, {
1066
1085
  type: "VERIFICATION";
@@ -1100,6 +1119,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1100
1119
  };
1101
1120
  fields: import("./FieldConfig").FieldConfigInput[];
1102
1121
  conditional?: import(".").JSONSchema | undefined;
1122
+ requireCompletionToContinue?: boolean | undefined;
1103
1123
  }>)[]>, "many">;
1104
1124
  }, "strip", z.ZodTypeAny, {
1105
1125
  label: TranslationConfig;
@@ -1108,6 +1128,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1108
1128
  id: string;
1109
1129
  title: TranslationConfig;
1110
1130
  fields: FieldConfig[];
1131
+ requireCompletionToContinue: boolean;
1111
1132
  conditional?: import(".").JSONSchema | undefined;
1112
1133
  } | {
1113
1134
  type: "VERIFICATION";
@@ -1126,6 +1147,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1126
1147
  };
1127
1148
  };
1128
1149
  fields: FieldConfig[];
1150
+ requireCompletionToContinue: boolean;
1129
1151
  conditional?: import(".").JSONSchema | undefined;
1130
1152
  })[];
1131
1153
  }, {
@@ -1144,6 +1166,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1144
1166
  fields: import("./FieldConfig").FieldConfigInput[];
1145
1167
  type?: "FORM" | undefined;
1146
1168
  conditional?: import(".").JSONSchema | undefined;
1169
+ requireCompletionToContinue?: boolean | undefined;
1147
1170
  } | {
1148
1171
  type: "VERIFICATION";
1149
1172
  id: string;
@@ -1182,6 +1205,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1182
1205
  };
1183
1206
  fields: import("./FieldConfig").FieldConfigInput[];
1184
1207
  conditional?: import(".").JSONSchema | undefined;
1208
+ requireCompletionToContinue?: boolean | undefined;
1185
1209
  })[];
1186
1210
  }>;
1187
1211
  }>, "strip", z.ZodTypeAny, {
@@ -1194,6 +1218,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1194
1218
  id: string;
1195
1219
  title: TranslationConfig;
1196
1220
  fields: FieldConfig[];
1221
+ requireCompletionToContinue: boolean;
1197
1222
  conditional?: import(".").JSONSchema | undefined;
1198
1223
  } | {
1199
1224
  type: "VERIFICATION";
@@ -1212,6 +1237,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1212
1237
  };
1213
1238
  };
1214
1239
  fields: FieldConfig[];
1240
+ requireCompletionToContinue: boolean;
1215
1241
  conditional?: import(".").JSONSchema | undefined;
1216
1242
  })[];
1217
1243
  };
@@ -1238,6 +1264,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1238
1264
  fields: import("./FieldConfig").FieldConfigInput[];
1239
1265
  type?: "FORM" | undefined;
1240
1266
  conditional?: import(".").JSONSchema | undefined;
1267
+ requireCompletionToContinue?: boolean | undefined;
1241
1268
  } | {
1242
1269
  type: "VERIFICATION";
1243
1270
  id: string;
@@ -1276,6 +1303,7 @@ declare const RequestCorrectionConfig: z.ZodObject<z.objectUtil.extendShape<{
1276
1303
  };
1277
1304
  fields: import("./FieldConfig").FieldConfigInput[];
1278
1305
  conditional?: import(".").JSONSchema | undefined;
1306
+ requireCompletionToContinue?: boolean | undefined;
1279
1307
  })[];
1280
1308
  };
1281
1309
  }>;
@@ -212,6 +212,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
212
212
  description: string;
213
213
  defaultMessage: string;
214
214
  }>;
215
+ requireCompletionToContinue: z.ZodDefault<z.ZodBoolean>;
215
216
  fields: z.ZodArray<z.ZodType<import("./FieldConfig").FieldConfig, z.ZodTypeDef, import("./FieldConfig").FieldConfigInput>, "many">;
216
217
  conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
217
218
  }, {
@@ -221,6 +222,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
221
222
  id: string;
222
223
  title: TranslationConfig;
223
224
  fields: import("./FieldConfig").FieldConfig[];
225
+ requireCompletionToContinue: boolean;
224
226
  conditional?: import(".").JSONSchema | undefined;
225
227
  }, {
226
228
  id: string;
@@ -232,6 +234,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
232
234
  fields: import("./FieldConfig").FieldConfigInput[];
233
235
  type?: "FORM" | undefined;
234
236
  conditional?: import(".").JSONSchema | undefined;
237
+ requireCompletionToContinue?: boolean | undefined;
235
238
  }>, "many">;
236
239
  }, "strip", z.ZodTypeAny, {
237
240
  label: TranslationConfig;
@@ -240,6 +243,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
240
243
  id: string;
241
244
  title: TranslationConfig;
242
245
  fields: import("./FieldConfig").FieldConfig[];
246
+ requireCompletionToContinue: boolean;
243
247
  conditional?: import(".").JSONSchema | undefined;
244
248
  }[];
245
249
  }, {
@@ -258,6 +262,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
258
262
  fields: import("./FieldConfig").FieldConfigInput[];
259
263
  type?: "FORM" | undefined;
260
264
  conditional?: import(".").JSONSchema | undefined;
265
+ requireCompletionToContinue?: boolean | undefined;
261
266
  }[];
262
267
  }>;
263
268
  advancedSearch: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -924,6 +929,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
924
929
  id: string;
925
930
  title: TranslationConfig;
926
931
  fields: import("./FieldConfig").FieldConfig[];
932
+ requireCompletionToContinue: boolean;
927
933
  conditional?: import(".").JSONSchema | undefined;
928
934
  }[];
929
935
  };
@@ -989,6 +995,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
989
995
  id: string;
990
996
  title: TranslationConfig;
991
997
  fields: import("./FieldConfig").FieldConfig[];
998
+ requireCompletionToContinue: boolean;
992
999
  conditional?: import(".").JSONSchema | undefined;
993
1000
  } | {
994
1001
  type: "VERIFICATION";
@@ -1007,6 +1014,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1007
1014
  };
1008
1015
  };
1009
1016
  fields: import("./FieldConfig").FieldConfig[];
1017
+ requireCompletionToContinue: boolean;
1010
1018
  conditional?: import(".").JSONSchema | undefined;
1011
1019
  })[];
1012
1020
  };
@@ -1020,6 +1028,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1020
1028
  id: string;
1021
1029
  title: TranslationConfig;
1022
1030
  fields: import("./FieldConfig").FieldConfig[];
1031
+ requireCompletionToContinue: boolean;
1023
1032
  conditional?: import(".").JSONSchema | undefined;
1024
1033
  } | {
1025
1034
  type: "VERIFICATION";
@@ -1038,6 +1047,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1038
1047
  };
1039
1048
  };
1040
1049
  fields: import("./FieldConfig").FieldConfig[];
1050
+ requireCompletionToContinue: boolean;
1041
1051
  conditional?: import(".").JSONSchema | undefined;
1042
1052
  })[];
1043
1053
  };
@@ -1157,6 +1167,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1157
1167
  fields: import("./FieldConfig").FieldConfigInput[];
1158
1168
  type?: "FORM" | undefined;
1159
1169
  conditional?: import(".").JSONSchema | undefined;
1170
+ requireCompletionToContinue?: boolean | undefined;
1160
1171
  }[];
1161
1172
  };
1162
1173
  actions: ({
@@ -1290,6 +1301,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1290
1301
  fields: import("./FieldConfig").FieldConfigInput[];
1291
1302
  type?: "FORM" | undefined;
1292
1303
  conditional?: import(".").JSONSchema | undefined;
1304
+ requireCompletionToContinue?: boolean | undefined;
1293
1305
  } | {
1294
1306
  type: "VERIFICATION";
1295
1307
  id: string;
@@ -1328,6 +1340,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1328
1340
  };
1329
1341
  fields: import("./FieldConfig").FieldConfigInput[];
1330
1342
  conditional?: import(".").JSONSchema | undefined;
1343
+ requireCompletionToContinue?: boolean | undefined;
1331
1344
  })[];
1332
1345
  };
1333
1346
  } | {
@@ -1353,6 +1366,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1353
1366
  fields: import("./FieldConfig").FieldConfigInput[];
1354
1367
  type?: "FORM" | undefined;
1355
1368
  conditional?: import(".").JSONSchema | undefined;
1369
+ requireCompletionToContinue?: boolean | undefined;
1356
1370
  } | {
1357
1371
  type: "VERIFICATION";
1358
1372
  id: string;
@@ -1391,6 +1405,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1391
1405
  };
1392
1406
  fields: import("./FieldConfig").FieldConfigInput[];
1393
1407
  conditional?: import(".").JSONSchema | undefined;
1408
+ requireCompletionToContinue?: boolean | undefined;
1394
1409
  })[];
1395
1410
  };
1396
1411
  } | {
@@ -1568,6 +1583,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1568
1583
  id: string;
1569
1584
  title: TranslationConfig;
1570
1585
  fields: import("./FieldConfig").FieldConfig[];
1586
+ requireCompletionToContinue: boolean;
1571
1587
  conditional?: import(".").JSONSchema | undefined;
1572
1588
  }[];
1573
1589
  };
@@ -1633,6 +1649,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1633
1649
  id: string;
1634
1650
  title: TranslationConfig;
1635
1651
  fields: import("./FieldConfig").FieldConfig[];
1652
+ requireCompletionToContinue: boolean;
1636
1653
  conditional?: import(".").JSONSchema | undefined;
1637
1654
  } | {
1638
1655
  type: "VERIFICATION";
@@ -1651,6 +1668,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1651
1668
  };
1652
1669
  };
1653
1670
  fields: import("./FieldConfig").FieldConfig[];
1671
+ requireCompletionToContinue: boolean;
1654
1672
  conditional?: import(".").JSONSchema | undefined;
1655
1673
  })[];
1656
1674
  };
@@ -1664,6 +1682,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1664
1682
  id: string;
1665
1683
  title: TranslationConfig;
1666
1684
  fields: import("./FieldConfig").FieldConfig[];
1685
+ requireCompletionToContinue: boolean;
1667
1686
  conditional?: import(".").JSONSchema | undefined;
1668
1687
  } | {
1669
1688
  type: "VERIFICATION";
@@ -1682,6 +1701,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1682
1701
  };
1683
1702
  };
1684
1703
  fields: import("./FieldConfig").FieldConfig[];
1704
+ requireCompletionToContinue: boolean;
1685
1705
  conditional?: import(".").JSONSchema | undefined;
1686
1706
  })[];
1687
1707
  };
@@ -1801,6 +1821,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1801
1821
  fields: import("./FieldConfig").FieldConfigInput[];
1802
1822
  type?: "FORM" | undefined;
1803
1823
  conditional?: import(".").JSONSchema | undefined;
1824
+ requireCompletionToContinue?: boolean | undefined;
1804
1825
  }[];
1805
1826
  };
1806
1827
  actions: ({
@@ -1934,6 +1955,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1934
1955
  fields: import("./FieldConfig").FieldConfigInput[];
1935
1956
  type?: "FORM" | undefined;
1936
1957
  conditional?: import(".").JSONSchema | undefined;
1958
+ requireCompletionToContinue?: boolean | undefined;
1937
1959
  } | {
1938
1960
  type: "VERIFICATION";
1939
1961
  id: string;
@@ -1972,6 +1994,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1972
1994
  };
1973
1995
  fields: import("./FieldConfig").FieldConfigInput[];
1974
1996
  conditional?: import(".").JSONSchema | undefined;
1997
+ requireCompletionToContinue?: boolean | undefined;
1975
1998
  })[];
1976
1999
  };
1977
2000
  } | {
@@ -1997,6 +2020,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1997
2020
  fields: import("./FieldConfig").FieldConfigInput[];
1998
2021
  type?: "FORM" | undefined;
1999
2022
  conditional?: import(".").JSONSchema | undefined;
2023
+ requireCompletionToContinue?: boolean | undefined;
2000
2024
  } | {
2001
2025
  type: "VERIFICATION";
2002
2026
  id: string;
@@ -2035,6 +2059,7 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2035
2059
  };
2036
2060
  fields: import("./FieldConfig").FieldConfigInput[];
2037
2061
  conditional?: import(".").JSONSchema | undefined;
2062
+ requireCompletionToContinue?: boolean | undefined;
2038
2063
  })[];
2039
2064
  };
2040
2065
  } | {