@opencrvs/toolkit 1.8.0-rc.f7e8fb5 → 1.8.0-rc.f8e4107

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/README.md +1 -1
  2. package/dist/commons/api/router.d.ts +6649 -9067
  3. package/dist/commons/conditionals/conditionals.d.ts +91 -3
  4. package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
  5. package/dist/commons/conditionals/validate.d.ts +41 -17
  6. package/dist/commons/conditionals/validate.test.d.ts +2 -0
  7. package/dist/commons/events/ActionConfig.d.ts +1123 -2056
  8. package/dist/commons/events/ActionDocument.d.ts +9644 -363
  9. package/dist/commons/events/ActionInput.d.ts +5329 -472
  10. package/dist/commons/events/ActionType.d.ts +26 -11
  11. package/dist/commons/events/AdvancedSearchConfig.d.ts +107 -14
  12. package/dist/commons/events/CompositeFieldValue.d.ts +152 -2
  13. package/dist/commons/events/Conditional.d.ts +21 -5
  14. package/dist/commons/events/Draft.d.ts +361 -53
  15. package/dist/commons/events/EventConfig.d.ts +634 -1223
  16. package/dist/commons/events/EventConfigInput.d.ts +6 -3
  17. package/dist/commons/events/EventDocument.d.ts +3495 -499
  18. package/dist/commons/events/EventIndex.d.ts +752 -7
  19. package/dist/commons/events/EventMetadata.d.ts +9 -3
  20. package/dist/commons/events/FieldConfig.d.ts +571 -119
  21. package/dist/commons/events/FieldType.d.ts +2 -1
  22. package/dist/commons/events/FieldTypeMapping.d.ts +154 -3
  23. package/dist/commons/events/FieldValue.d.ts +76 -2
  24. package/dist/commons/events/FormConfig.d.ts +633 -48
  25. package/dist/commons/events/PageConfig.d.ts +335 -0
  26. package/dist/commons/events/TemplateConfig.d.ts +5 -5
  27. package/dist/commons/events/defineConfig.d.ts +94 -215
  28. package/dist/commons/events/index.d.ts +2 -1
  29. package/dist/commons/events/test.utils.d.ts +140 -213
  30. package/dist/commons/events/utils.d.ts +125 -86
  31. package/dist/commons/events/utils.test.d.ts +2 -0
  32. package/dist/conditionals/index.js +215 -81
  33. package/dist/events/index.js +1949 -1232
  34. package/package.json +1 -1
@@ -128,6 +128,67 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
128
128
  defaultMessage: string;
129
129
  }>;
130
130
  actions: z.ZodArray<z.ZodDiscriminatedUnion<"type", import("./ActionConfig").AllActionConfigFields[]>, "many">;
131
+ declaration: z.ZodObject<{
132
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
133
+ id: string;
134
+ description: string;
135
+ defaultMessage: string;
136
+ }>;
137
+ pages: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
138
+ id: z.ZodString;
139
+ title: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
140
+ id: string;
141
+ description: string;
142
+ defaultMessage: string;
143
+ }>;
144
+ fields: z.ZodArray<z.ZodType<import("./FieldConfig").Inferred, any, import("./FieldConfig").InferredInput>, "many">;
145
+ conditional: z.ZodOptional<z.ZodType<import(".").JSONSchema, z.ZodTypeDef, import(".").JSONSchema>>;
146
+ }, {
147
+ type: z.ZodDefault<z.ZodLiteral<"FORM">>;
148
+ }>, "strip", z.ZodTypeAny, {
149
+ type: "FORM";
150
+ id: string;
151
+ title: TranslationConfig;
152
+ fields: import("./FieldConfig").Inferred[];
153
+ conditional?: import(".").JSONSchema | undefined;
154
+ }, {
155
+ id: string;
156
+ title: {
157
+ id: string;
158
+ description: string;
159
+ defaultMessage: string;
160
+ };
161
+ fields: import("./FieldConfig").InferredInput[];
162
+ type?: "FORM" | undefined;
163
+ conditional?: import(".").JSONSchema | undefined;
164
+ }>, "many">;
165
+ }, "strip", z.ZodTypeAny, {
166
+ label: TranslationConfig;
167
+ pages: {
168
+ type: "FORM";
169
+ id: string;
170
+ title: TranslationConfig;
171
+ fields: import("./FieldConfig").Inferred[];
172
+ conditional?: import(".").JSONSchema | undefined;
173
+ }[];
174
+ }, {
175
+ label: {
176
+ id: string;
177
+ description: string;
178
+ defaultMessage: string;
179
+ };
180
+ pages: {
181
+ id: string;
182
+ title: {
183
+ id: string;
184
+ description: string;
185
+ defaultMessage: string;
186
+ };
187
+ fields: import("./FieldConfig").InferredInput[];
188
+ type?: "FORM" | undefined;
189
+ conditional?: import(".").JSONSchema | undefined;
190
+ }[];
191
+ }>;
131
192
  workqueues: z.ZodArray<z.ZodObject<{
132
193
  id: z.ZodString;
133
194
  filters: z.ZodArray<z.ZodObject<{
@@ -186,31 +247,65 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
186
247
  }>;
187
248
  fields: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
188
249
  fieldId: z.ZodString;
189
- config: z.ZodOptional<z.ZodObject<{
250
+ config: z.ZodObject<{
190
251
  type: z.ZodEnum<["FUZZY", "EXACT", "RANGE"]>;
191
252
  }, "strip", z.ZodTypeAny, {
192
253
  type: "FUZZY" | "EXACT" | "RANGE";
193
254
  }, {
194
255
  type: "FUZZY" | "EXACT" | "RANGE";
195
- }>>;
256
+ }>;
257
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
258
+ value: z.ZodString;
259
+ label: z.ZodObject<import("./TranslationConfig").MessageDescriptorZod, "strip", z.ZodTypeAny, TranslationConfig, {
260
+ id: string;
261
+ description: string;
262
+ defaultMessage: string;
263
+ }>;
264
+ }, "strip", z.ZodTypeAny, {
265
+ value: string;
266
+ label: TranslationConfig;
267
+ }, {
268
+ value: string;
269
+ label: {
270
+ id: string;
271
+ description: string;
272
+ defaultMessage: string;
273
+ };
274
+ }>, "many">>;
196
275
  }, "strip", z.ZodTypeAny, {
197
- fieldId: string;
198
- config?: {
276
+ config: {
199
277
  type: "FUZZY" | "EXACT" | "RANGE";
200
- } | undefined;
201
- }, {
278
+ };
202
279
  fieldId: string;
203
- config?: {
280
+ options?: {
281
+ value: string;
282
+ label: TranslationConfig;
283
+ }[] | undefined;
284
+ }, {
285
+ config: {
204
286
  type: "FUZZY" | "EXACT" | "RANGE";
205
- } | undefined;
287
+ };
288
+ fieldId: string;
289
+ options?: {
290
+ value: string;
291
+ label: {
292
+ id: string;
293
+ description: string;
294
+ defaultMessage: string;
295
+ };
296
+ }[] | undefined;
206
297
  }>, "many">>>;
207
298
  }, "strip", z.ZodTypeAny, {
208
299
  title: TranslationConfig;
209
300
  fields: {
210
- fieldId: string;
211
- config?: {
301
+ config: {
212
302
  type: "FUZZY" | "EXACT" | "RANGE";
213
- } | undefined;
303
+ };
304
+ fieldId: string;
305
+ options?: {
306
+ value: string;
307
+ label: TranslationConfig;
308
+ }[] | undefined;
214
309
  }[];
215
310
  }, {
216
311
  title: {
@@ -219,14 +314,32 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
219
314
  defaultMessage: string;
220
315
  };
221
316
  fields?: {
222
- fieldId: string;
223
- config?: {
317
+ config: {
224
318
  type: "FUZZY" | "EXACT" | "RANGE";
225
- } | undefined;
319
+ };
320
+ fieldId: string;
321
+ options?: {
322
+ value: string;
323
+ label: {
324
+ id: string;
325
+ description: string;
326
+ defaultMessage: string;
327
+ };
328
+ }[] | undefined;
226
329
  }[] | undefined;
227
330
  }>, "many">>>;
228
331
  }, "strip", z.ZodTypeAny, {
229
332
  id: string;
333
+ declaration: {
334
+ label: TranslationConfig;
335
+ pages: {
336
+ type: "FORM";
337
+ id: string;
338
+ title: TranslationConfig;
339
+ fields: import("./FieldConfig").Inferred[];
340
+ conditional?: import(".").JSONSchema | undefined;
341
+ }[];
342
+ };
230
343
  actions: ({
231
344
  type: "DECLARE";
232
345
  conditionals: ({
@@ -237,23 +350,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
237
350
  conditional: import(".").JSONSchema;
238
351
  })[];
239
352
  label: TranslationConfig;
240
- forms: {
241
- active: boolean;
242
- version: {
243
- id: string;
244
- label: TranslationConfig;
245
- };
246
- label: TranslationConfig;
247
- pages: {
248
- id: string;
249
- title: TranslationConfig;
250
- fields: import("./FieldConfig").Inferred[];
251
- }[];
252
- review: {
253
- title: TranslationConfig;
254
- fields: import("./FieldConfig").Inferred[];
255
- };
256
- }[];
353
+ review: {
354
+ title: TranslationConfig;
355
+ fields: import("./FieldConfig").Inferred[];
356
+ };
257
357
  draft?: boolean | undefined;
258
358
  } | {
259
359
  type: "VALIDATE";
@@ -265,23 +365,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
265
365
  conditional: import(".").JSONSchema;
266
366
  })[];
267
367
  label: TranslationConfig;
268
- forms: {
269
- active: boolean;
270
- version: {
271
- id: string;
272
- label: TranslationConfig;
273
- };
274
- label: TranslationConfig;
275
- pages: {
276
- id: string;
277
- title: TranslationConfig;
278
- fields: import("./FieldConfig").Inferred[];
279
- }[];
280
- review: {
281
- title: TranslationConfig;
282
- fields: import("./FieldConfig").Inferred[];
283
- };
284
- }[];
368
+ review: {
369
+ title: TranslationConfig;
370
+ fields: import("./FieldConfig").Inferred[];
371
+ };
285
372
  draft?: boolean | undefined;
286
373
  } | {
287
374
  type: "REJECT";
@@ -293,23 +380,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
293
380
  conditional: import(".").JSONSchema;
294
381
  })[];
295
382
  label: TranslationConfig;
296
- forms: {
297
- active: boolean;
298
- version: {
299
- id: string;
300
- label: TranslationConfig;
301
- };
302
- label: TranslationConfig;
303
- pages: {
304
- id: string;
305
- title: TranslationConfig;
306
- fields: import("./FieldConfig").Inferred[];
307
- }[];
308
- review: {
309
- title: TranslationConfig;
310
- fields: import("./FieldConfig").Inferred[];
311
- };
312
- }[];
313
383
  draft?: boolean | undefined;
314
384
  } | {
315
385
  type: "MARKED_AS_DUPLICATE";
@@ -321,23 +391,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
321
391
  conditional: import(".").JSONSchema;
322
392
  })[];
323
393
  label: TranslationConfig;
324
- forms: {
325
- active: boolean;
326
- version: {
327
- id: string;
328
- label: TranslationConfig;
329
- };
330
- label: TranslationConfig;
331
- pages: {
332
- id: string;
333
- title: TranslationConfig;
334
- fields: import("./FieldConfig").Inferred[];
335
- }[];
336
- review: {
337
- title: TranslationConfig;
338
- fields: import("./FieldConfig").Inferred[];
339
- };
340
- }[];
341
394
  draft?: boolean | undefined;
342
395
  } | {
343
396
  type: "ARCHIVE";
@@ -349,23 +402,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
349
402
  conditional: import(".").JSONSchema;
350
403
  })[];
351
404
  label: TranslationConfig;
352
- forms: {
353
- active: boolean;
354
- version: {
355
- id: string;
356
- label: TranslationConfig;
357
- };
358
- label: TranslationConfig;
359
- pages: {
360
- id: string;
361
- title: TranslationConfig;
362
- fields: import("./FieldConfig").Inferred[];
363
- }[];
364
- review: {
365
- title: TranslationConfig;
366
- fields: import("./FieldConfig").Inferred[];
367
- };
368
- }[];
369
405
  draft?: boolean | undefined;
370
406
  } | {
371
407
  type: "REGISTER";
@@ -377,23 +413,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
377
413
  conditional: import(".").JSONSchema;
378
414
  })[];
379
415
  label: TranslationConfig;
380
- forms: {
381
- active: boolean;
382
- version: {
383
- id: string;
384
- label: TranslationConfig;
385
- };
386
- label: TranslationConfig;
387
- pages: {
388
- id: string;
389
- title: TranslationConfig;
390
- fields: import("./FieldConfig").Inferred[];
391
- }[];
392
- review: {
393
- title: TranslationConfig;
394
- fields: import("./FieldConfig").Inferred[];
395
- };
396
- }[];
416
+ review: {
417
+ title: TranslationConfig;
418
+ fields: import("./FieldConfig").Inferred[];
419
+ };
397
420
  draft?: boolean | undefined;
398
421
  } | {
399
422
  type: "DELETE";
@@ -405,23 +428,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
405
428
  conditional: import(".").JSONSchema;
406
429
  })[];
407
430
  label: TranslationConfig;
408
- forms: {
409
- active: boolean;
410
- version: {
411
- id: string;
412
- label: TranslationConfig;
413
- };
414
- label: TranslationConfig;
415
- pages: {
416
- id: string;
417
- title: TranslationConfig;
418
- fields: import("./FieldConfig").Inferred[];
419
- }[];
420
- review: {
421
- title: TranslationConfig;
422
- fields: import("./FieldConfig").Inferred[];
423
- };
424
- }[];
425
431
  draft?: boolean | undefined;
426
432
  } | {
427
433
  type: "PRINT_CERTIFICATE";
@@ -433,23 +439,34 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
433
439
  conditional: import(".").JSONSchema;
434
440
  })[];
435
441
  label: TranslationConfig;
436
- forms: {
437
- active: boolean;
438
- version: {
439
- id: string;
440
- label: TranslationConfig;
441
- };
442
+ printForm: {
442
443
  label: TranslationConfig;
443
- pages: {
444
+ pages: ({
445
+ type: "FORM";
444
446
  id: string;
445
447
  title: TranslationConfig;
446
448
  fields: import("./FieldConfig").Inferred[];
447
- }[];
448
- review: {
449
+ conditional?: import(".").JSONSchema | undefined;
450
+ } | {
451
+ type: "VERIFICATION";
452
+ id: string;
449
453
  title: TranslationConfig;
450
- fields: import("./FieldConfig").Inferred[];
451
- };
452
- }[];
454
+ actions: {
455
+ verify: {
456
+ label: TranslationConfig;
457
+ };
458
+ cancel: {
459
+ label: TranslationConfig;
460
+ confirmation: {
461
+ title: TranslationConfig;
462
+ body: TranslationConfig;
463
+ };
464
+ };
465
+ };
466
+ fields: import("./FieldConfig").Inferred[];
467
+ conditional?: import(".").JSONSchema | undefined;
468
+ })[];
469
+ };
453
470
  draft?: boolean | undefined;
454
471
  } | {
455
472
  type: "REQUEST_CORRECTION";
@@ -461,33 +478,56 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
461
478
  conditional: import(".").JSONSchema;
462
479
  })[];
463
480
  label: TranslationConfig;
464
- forms: {
465
- active: boolean;
466
- version: {
467
- id: string;
468
- label: TranslationConfig;
469
- };
470
- label: TranslationConfig;
471
- pages: {
472
- id: string;
473
- title: TranslationConfig;
474
- fields: import("./FieldConfig").Inferred[];
475
- }[];
476
- review: {
477
- title: TranslationConfig;
478
- fields: import("./FieldConfig").Inferred[];
481
+ onboardingForm: ({
482
+ type: "FORM";
483
+ id: string;
484
+ title: TranslationConfig;
485
+ fields: import("./FieldConfig").Inferred[];
486
+ conditional?: import(".").JSONSchema | undefined;
487
+ } | {
488
+ type: "VERIFICATION";
489
+ id: string;
490
+ title: TranslationConfig;
491
+ actions: {
492
+ verify: {
493
+ label: TranslationConfig;
494
+ };
495
+ cancel: {
496
+ label: TranslationConfig;
497
+ confirmation: {
498
+ title: TranslationConfig;
499
+ body: TranslationConfig;
500
+ };
501
+ };
479
502
  };
480
- }[];
481
- onboardingForm: {
503
+ fields: import("./FieldConfig").Inferred[];
504
+ conditional?: import(".").JSONSchema | undefined;
505
+ })[];
506
+ additionalDetailsForm: ({
507
+ type: "FORM";
482
508
  id: string;
483
509
  title: TranslationConfig;
484
510
  fields: import("./FieldConfig").Inferred[];
485
- }[];
486
- additionalDetailsForm: {
511
+ conditional?: import(".").JSONSchema | undefined;
512
+ } | {
513
+ type: "VERIFICATION";
487
514
  id: string;
488
515
  title: TranslationConfig;
516
+ actions: {
517
+ verify: {
518
+ label: TranslationConfig;
519
+ };
520
+ cancel: {
521
+ label: TranslationConfig;
522
+ confirmation: {
523
+ title: TranslationConfig;
524
+ body: TranslationConfig;
525
+ };
526
+ };
527
+ };
489
528
  fields: import("./FieldConfig").Inferred[];
490
- }[];
529
+ conditional?: import(".").JSONSchema | undefined;
530
+ })[];
491
531
  draft?: boolean | undefined;
492
532
  } | {
493
533
  type: "REJECT_CORRECTION";
@@ -499,23 +539,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
499
539
  conditional: import(".").JSONSchema;
500
540
  })[];
501
541
  label: TranslationConfig;
502
- forms: {
503
- active: boolean;
504
- version: {
505
- id: string;
506
- label: TranslationConfig;
507
- };
508
- label: TranslationConfig;
509
- pages: {
510
- id: string;
511
- title: TranslationConfig;
512
- fields: import("./FieldConfig").Inferred[];
513
- }[];
514
- review: {
515
- title: TranslationConfig;
516
- fields: import("./FieldConfig").Inferred[];
517
- };
518
- }[];
519
542
  draft?: boolean | undefined;
520
543
  } | {
521
544
  type: "APPROVE_CORRECTION";
@@ -527,51 +550,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
527
550
  conditional: import(".").JSONSchema;
528
551
  })[];
529
552
  label: TranslationConfig;
530
- forms: {
531
- active: boolean;
532
- version: {
533
- id: string;
534
- label: TranslationConfig;
535
- };
536
- label: TranslationConfig;
537
- pages: {
538
- id: string;
539
- title: TranslationConfig;
540
- fields: import("./FieldConfig").Inferred[];
541
- }[];
542
- review: {
543
- title: TranslationConfig;
544
- fields: import("./FieldConfig").Inferred[];
545
- };
546
- }[];
547
- draft?: boolean | undefined;
548
- } | {
549
- type: "CUSTOM";
550
- conditionals: ({
551
- type: "SHOW";
552
- conditional: import(".").JSONSchema;
553
- } | {
554
- type: "ENABLE";
555
- conditional: import(".").JSONSchema;
556
- })[];
557
- label: TranslationConfig;
558
- forms: {
559
- active: boolean;
560
- version: {
561
- id: string;
562
- label: TranslationConfig;
563
- };
564
- label: TranslationConfig;
565
- pages: {
566
- id: string;
567
- title: TranslationConfig;
568
- fields: import("./FieldConfig").Inferred[];
569
- }[];
570
- review: {
571
- title: TranslationConfig;
572
- fields: import("./FieldConfig").Inferred[];
573
- };
574
- }[];
575
553
  draft?: boolean | undefined;
576
554
  })[];
577
555
  label: TranslationConfig;
@@ -602,54 +580,51 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
602
580
  advancedSearch: {
603
581
  title: TranslationConfig;
604
582
  fields: {
605
- fieldId: string;
606
- config?: {
583
+ config: {
607
584
  type: "FUZZY" | "EXACT" | "RANGE";
608
- } | undefined;
609
- }[];
585
+ };
586
+ fieldId: string;
587
+ options?: {
588
+ value: string;
589
+ label: TranslationConfig;
590
+ }[] | undefined;
591
+ }[];
610
592
  }[];
611
593
  }, {
612
594
  id: string;
613
- actions: ({
614
- type: "DECLARE";
595
+ declaration: {
615
596
  label: {
616
597
  id: string;
617
598
  description: string;
618
599
  defaultMessage: string;
619
600
  };
620
- forms: {
621
- version: {
622
- id: string;
623
- label: {
624
- id: string;
625
- description: string;
626
- defaultMessage: string;
627
- };
628
- };
629
- label: {
601
+ pages: {
602
+ id: string;
603
+ title: {
630
604
  id: string;
631
605
  description: string;
632
606
  defaultMessage: string;
633
607
  };
634
- pages: {
608
+ fields: import("./FieldConfig").InferredInput[];
609
+ type?: "FORM" | undefined;
610
+ conditional?: import(".").JSONSchema | undefined;
611
+ }[];
612
+ };
613
+ actions: ({
614
+ type: "DECLARE";
615
+ label: {
616
+ id: string;
617
+ description: string;
618
+ defaultMessage: string;
619
+ };
620
+ review: {
621
+ title: {
635
622
  id: string;
636
- title: {
637
- id: string;
638
- description: string;
639
- defaultMessage: string;
640
- };
641
- fields: import("./FieldConfig").Inferred[];
642
- }[];
643
- review: {
644
- title: {
645
- id: string;
646
- description: string;
647
- defaultMessage: string;
648
- };
649
- fields: import("./FieldConfig").Inferred[];
623
+ description: string;
624
+ defaultMessage: string;
650
625
  };
651
- active?: boolean | undefined;
652
- }[];
626
+ fields: import("./FieldConfig").InferredInput[];
627
+ };
653
628
  draft?: boolean | undefined;
654
629
  conditionals?: ({
655
630
  type: "SHOW";
@@ -665,39 +640,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
665
640
  description: string;
666
641
  defaultMessage: string;
667
642
  };
668
- forms: {
669
- version: {
670
- id: string;
671
- label: {
672
- id: string;
673
- description: string;
674
- defaultMessage: string;
675
- };
676
- };
677
- label: {
643
+ review: {
644
+ title: {
678
645
  id: string;
679
646
  description: string;
680
647
  defaultMessage: string;
681
648
  };
682
- pages: {
683
- id: string;
684
- title: {
685
- id: string;
686
- description: string;
687
- defaultMessage: string;
688
- };
689
- fields: import("./FieldConfig").Inferred[];
690
- }[];
691
- review: {
692
- title: {
693
- id: string;
694
- description: string;
695
- defaultMessage: string;
696
- };
697
- fields: import("./FieldConfig").Inferred[];
698
- };
699
- active?: boolean | undefined;
700
- }[];
649
+ fields: import("./FieldConfig").InferredInput[];
650
+ };
701
651
  draft?: boolean | undefined;
702
652
  conditionals?: ({
703
653
  type: "SHOW";
@@ -713,39 +663,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
713
663
  description: string;
714
664
  defaultMessage: string;
715
665
  };
716
- forms: {
717
- version: {
718
- id: string;
719
- label: {
720
- id: string;
721
- description: string;
722
- defaultMessage: string;
723
- };
724
- };
725
- label: {
726
- id: string;
727
- description: string;
728
- defaultMessage: string;
729
- };
730
- pages: {
731
- id: string;
732
- title: {
733
- id: string;
734
- description: string;
735
- defaultMessage: string;
736
- };
737
- fields: import("./FieldConfig").Inferred[];
738
- }[];
739
- review: {
740
- title: {
741
- id: string;
742
- description: string;
743
- defaultMessage: string;
744
- };
745
- fields: import("./FieldConfig").Inferred[];
746
- };
747
- active?: boolean | undefined;
748
- }[];
749
666
  draft?: boolean | undefined;
750
667
  conditionals?: ({
751
668
  type: "SHOW";
@@ -761,39 +678,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
761
678
  description: string;
762
679
  defaultMessage: string;
763
680
  };
764
- forms: {
765
- version: {
766
- id: string;
767
- label: {
768
- id: string;
769
- description: string;
770
- defaultMessage: string;
771
- };
772
- };
773
- label: {
774
- id: string;
775
- description: string;
776
- defaultMessage: string;
777
- };
778
- pages: {
779
- id: string;
780
- title: {
781
- id: string;
782
- description: string;
783
- defaultMessage: string;
784
- };
785
- fields: import("./FieldConfig").Inferred[];
786
- }[];
787
- review: {
788
- title: {
789
- id: string;
790
- description: string;
791
- defaultMessage: string;
792
- };
793
- fields: import("./FieldConfig").Inferred[];
794
- };
795
- active?: boolean | undefined;
796
- }[];
797
681
  draft?: boolean | undefined;
798
682
  conditionals?: ({
799
683
  type: "SHOW";
@@ -809,39 +693,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
809
693
  description: string;
810
694
  defaultMessage: string;
811
695
  };
812
- forms: {
813
- version: {
814
- id: string;
815
- label: {
816
- id: string;
817
- description: string;
818
- defaultMessage: string;
819
- };
820
- };
821
- label: {
822
- id: string;
823
- description: string;
824
- defaultMessage: string;
825
- };
826
- pages: {
827
- id: string;
828
- title: {
829
- id: string;
830
- description: string;
831
- defaultMessage: string;
832
- };
833
- fields: import("./FieldConfig").Inferred[];
834
- }[];
835
- review: {
836
- title: {
837
- id: string;
838
- description: string;
839
- defaultMessage: string;
840
- };
841
- fields: import("./FieldConfig").Inferred[];
842
- };
843
- active?: boolean | undefined;
844
- }[];
845
696
  draft?: boolean | undefined;
846
697
  conditionals?: ({
847
698
  type: "SHOW";
@@ -857,39 +708,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
857
708
  description: string;
858
709
  defaultMessage: string;
859
710
  };
860
- forms: {
861
- version: {
862
- id: string;
863
- label: {
864
- id: string;
865
- description: string;
866
- defaultMessage: string;
867
- };
868
- };
869
- label: {
711
+ review: {
712
+ title: {
870
713
  id: string;
871
714
  description: string;
872
715
  defaultMessage: string;
873
716
  };
874
- pages: {
875
- id: string;
876
- title: {
877
- id: string;
878
- description: string;
879
- defaultMessage: string;
880
- };
881
- fields: import("./FieldConfig").Inferred[];
882
- }[];
883
- review: {
884
- title: {
885
- id: string;
886
- description: string;
887
- defaultMessage: string;
888
- };
889
- fields: import("./FieldConfig").Inferred[];
890
- };
891
- active?: boolean | undefined;
892
- }[];
717
+ fields: import("./FieldConfig").InferredInput[];
718
+ };
893
719
  draft?: boolean | undefined;
894
720
  conditionals?: ({
895
721
  type: "SHOW";
@@ -905,39 +731,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
905
731
  description: string;
906
732
  defaultMessage: string;
907
733
  };
908
- forms: {
909
- version: {
910
- id: string;
911
- label: {
912
- id: string;
913
- description: string;
914
- defaultMessage: string;
915
- };
916
- };
917
- label: {
918
- id: string;
919
- description: string;
920
- defaultMessage: string;
921
- };
922
- pages: {
923
- id: string;
924
- title: {
925
- id: string;
926
- description: string;
927
- defaultMessage: string;
928
- };
929
- fields: import("./FieldConfig").Inferred[];
930
- }[];
931
- review: {
932
- title: {
933
- id: string;
934
- description: string;
935
- defaultMessage: string;
936
- };
937
- fields: import("./FieldConfig").Inferred[];
938
- };
939
- active?: boolean | undefined;
940
- }[];
941
734
  draft?: boolean | undefined;
942
735
  conditionals?: ({
943
736
  type: "SHOW";
@@ -953,39 +746,62 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
953
746
  description: string;
954
747
  defaultMessage: string;
955
748
  };
956
- forms: {
957
- version: {
958
- id: string;
959
- label: {
960
- id: string;
961
- description: string;
962
- defaultMessage: string;
963
- };
964
- };
749
+ printForm: {
965
750
  label: {
966
751
  id: string;
967
752
  description: string;
968
753
  defaultMessage: string;
969
754
  };
970
- pages: {
755
+ pages: ({
971
756
  id: string;
972
757
  title: {
973
758
  id: string;
974
759
  description: string;
975
760
  defaultMessage: string;
976
761
  };
977
- fields: import("./FieldConfig").Inferred[];
978
- }[];
979
- review: {
762
+ fields: import("./FieldConfig").InferredInput[];
763
+ type?: "FORM" | undefined;
764
+ conditional?: import(".").JSONSchema | undefined;
765
+ } | {
766
+ type: "VERIFICATION";
767
+ id: string;
980
768
  title: {
981
769
  id: string;
982
770
  description: string;
983
771
  defaultMessage: string;
984
772
  };
985
- fields: import("./FieldConfig").Inferred[];
986
- };
987
- active?: boolean | undefined;
988
- }[];
773
+ actions: {
774
+ verify: {
775
+ label: {
776
+ id: string;
777
+ description: string;
778
+ defaultMessage: string;
779
+ };
780
+ };
781
+ cancel: {
782
+ label: {
783
+ id: string;
784
+ description: string;
785
+ defaultMessage: string;
786
+ };
787
+ confirmation: {
788
+ title: {
789
+ id: string;
790
+ description: string;
791
+ defaultMessage: string;
792
+ };
793
+ body: {
794
+ id: string;
795
+ description: string;
796
+ defaultMessage: string;
797
+ };
798
+ };
799
+ };
800
+ };
801
+ fields: import("./FieldConfig").InferredInput[];
802
+ conditional?: import(".").JSONSchema | undefined;
803
+ })[];
804
+ };
989
805
  draft?: boolean | undefined;
990
806
  conditionals?: ({
991
807
  type: "SHOW";
@@ -1001,105 +817,104 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1001
817
  description: string;
1002
818
  defaultMessage: string;
1003
819
  };
1004
- forms: {
1005
- version: {
1006
- id: string;
1007
- label: {
1008
- id: string;
1009
- description: string;
1010
- defaultMessage: string;
1011
- };
1012
- };
1013
- label: {
820
+ onboardingForm: ({
821
+ id: string;
822
+ title: {
1014
823
  id: string;
1015
824
  description: string;
1016
825
  defaultMessage: string;
1017
826
  };
1018
- pages: {
1019
- id: string;
1020
- title: {
1021
- id: string;
1022
- description: string;
1023
- defaultMessage: string;
1024
- };
1025
- fields: import("./FieldConfig").Inferred[];
1026
- }[];
1027
- review: {
1028
- title: {
1029
- id: string;
1030
- description: string;
1031
- defaultMessage: string;
1032
- };
1033
- fields: import("./FieldConfig").Inferred[];
1034
- };
1035
- active?: boolean | undefined;
1036
- }[];
1037
- onboardingForm: {
827
+ fields: import("./FieldConfig").InferredInput[];
828
+ type?: "FORM" | undefined;
829
+ conditional?: import(".").JSONSchema | undefined;
830
+ } | {
831
+ type: "VERIFICATION";
1038
832
  id: string;
1039
833
  title: {
1040
834
  id: string;
1041
835
  description: string;
1042
836
  defaultMessage: string;
1043
837
  };
1044
- fields: import("./FieldConfig").Inferred[];
1045
- }[];
1046
- additionalDetailsForm: {
838
+ actions: {
839
+ verify: {
840
+ label: {
841
+ id: string;
842
+ description: string;
843
+ defaultMessage: string;
844
+ };
845
+ };
846
+ cancel: {
847
+ label: {
848
+ id: string;
849
+ description: string;
850
+ defaultMessage: string;
851
+ };
852
+ confirmation: {
853
+ title: {
854
+ id: string;
855
+ description: string;
856
+ defaultMessage: string;
857
+ };
858
+ body: {
859
+ id: string;
860
+ description: string;
861
+ defaultMessage: string;
862
+ };
863
+ };
864
+ };
865
+ };
866
+ fields: import("./FieldConfig").InferredInput[];
867
+ conditional?: import(".").JSONSchema | undefined;
868
+ })[];
869
+ additionalDetailsForm: ({
1047
870
  id: string;
1048
871
  title: {
1049
872
  id: string;
1050
873
  description: string;
1051
874
  defaultMessage: string;
1052
875
  };
1053
- fields: import("./FieldConfig").Inferred[];
1054
- }[];
1055
- draft?: boolean | undefined;
1056
- conditionals?: ({
1057
- type: "SHOW";
1058
- conditional: import(".").JSONSchema;
876
+ fields: import("./FieldConfig").InferredInput[];
877
+ type?: "FORM" | undefined;
878
+ conditional?: import(".").JSONSchema | undefined;
1059
879
  } | {
1060
- type: "ENABLE";
1061
- conditional: import(".").JSONSchema;
1062
- })[] | undefined;
1063
- } | {
1064
- type: "REJECT_CORRECTION";
1065
- label: {
880
+ type: "VERIFICATION";
1066
881
  id: string;
1067
- description: string;
1068
- defaultMessage: string;
1069
- };
1070
- forms: {
1071
- version: {
1072
- id: string;
1073
- label: {
1074
- id: string;
1075
- description: string;
1076
- defaultMessage: string;
1077
- };
1078
- };
1079
- label: {
882
+ title: {
1080
883
  id: string;
1081
884
  description: string;
1082
885
  defaultMessage: string;
1083
886
  };
1084
- pages: {
1085
- id: string;
1086
- title: {
1087
- id: string;
1088
- description: string;
1089
- defaultMessage: string;
1090
- };
1091
- fields: import("./FieldConfig").Inferred[];
1092
- }[];
1093
- review: {
1094
- title: {
1095
- id: string;
1096
- description: string;
1097
- defaultMessage: string;
1098
- };
1099
- fields: import("./FieldConfig").Inferred[];
1100
- };
1101
- active?: boolean | undefined;
1102
- }[];
887
+ actions: {
888
+ verify: {
889
+ label: {
890
+ id: string;
891
+ description: string;
892
+ defaultMessage: string;
893
+ };
894
+ };
895
+ cancel: {
896
+ label: {
897
+ id: string;
898
+ description: string;
899
+ defaultMessage: string;
900
+ };
901
+ confirmation: {
902
+ title: {
903
+ id: string;
904
+ description: string;
905
+ defaultMessage: string;
906
+ };
907
+ body: {
908
+ id: string;
909
+ description: string;
910
+ defaultMessage: string;
911
+ };
912
+ };
913
+ };
914
+ };
915
+ fields: import("./FieldConfig").InferredInput[];
916
+ conditional?: import(".").JSONSchema | undefined;
917
+ })[];
1103
918
  draft?: boolean | undefined;
1104
919
  conditionals?: ({
1105
920
  type: "SHOW";
@@ -1109,45 +924,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1109
924
  conditional: import(".").JSONSchema;
1110
925
  })[] | undefined;
1111
926
  } | {
1112
- type: "APPROVE_CORRECTION";
927
+ type: "REJECT_CORRECTION";
1113
928
  label: {
1114
929
  id: string;
1115
930
  description: string;
1116
931
  defaultMessage: string;
1117
932
  };
1118
- forms: {
1119
- version: {
1120
- id: string;
1121
- label: {
1122
- id: string;
1123
- description: string;
1124
- defaultMessage: string;
1125
- };
1126
- };
1127
- label: {
1128
- id: string;
1129
- description: string;
1130
- defaultMessage: string;
1131
- };
1132
- pages: {
1133
- id: string;
1134
- title: {
1135
- id: string;
1136
- description: string;
1137
- defaultMessage: string;
1138
- };
1139
- fields: import("./FieldConfig").Inferred[];
1140
- }[];
1141
- review: {
1142
- title: {
1143
- id: string;
1144
- description: string;
1145
- defaultMessage: string;
1146
- };
1147
- fields: import("./FieldConfig").Inferred[];
1148
- };
1149
- active?: boolean | undefined;
1150
- }[];
1151
933
  draft?: boolean | undefined;
1152
934
  conditionals?: ({
1153
935
  type: "SHOW";
@@ -1157,45 +939,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1157
939
  conditional: import(".").JSONSchema;
1158
940
  })[] | undefined;
1159
941
  } | {
1160
- type: "CUSTOM";
942
+ type: "APPROVE_CORRECTION";
1161
943
  label: {
1162
944
  id: string;
1163
945
  description: string;
1164
946
  defaultMessage: string;
1165
947
  };
1166
- forms: {
1167
- version: {
1168
- id: string;
1169
- label: {
1170
- id: string;
1171
- description: string;
1172
- defaultMessage: string;
1173
- };
1174
- };
1175
- label: {
1176
- id: string;
1177
- description: string;
1178
- defaultMessage: string;
1179
- };
1180
- pages: {
1181
- id: string;
1182
- title: {
1183
- id: string;
1184
- description: string;
1185
- defaultMessage: string;
1186
- };
1187
- fields: import("./FieldConfig").Inferred[];
1188
- }[];
1189
- review: {
1190
- title: {
1191
- id: string;
1192
- description: string;
1193
- defaultMessage: string;
1194
- };
1195
- fields: import("./FieldConfig").Inferred[];
1196
- };
1197
- active?: boolean | undefined;
1198
- }[];
1199
948
  draft?: boolean | undefined;
1200
949
  conditionals?: ({
1201
950
  type: "SHOW";
@@ -1265,41 +1014,46 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1265
1014
  defaultMessage: string;
1266
1015
  };
1267
1016
  fields?: {
1268
- fieldId: string;
1269
- config?: {
1017
+ config: {
1270
1018
  type: "FUZZY" | "EXACT" | "RANGE";
1271
- } | undefined;
1019
+ };
1020
+ fieldId: string;
1021
+ options?: {
1022
+ value: string;
1023
+ label: {
1024
+ id: string;
1025
+ description: string;
1026
+ defaultMessage: string;
1027
+ };
1028
+ }[] | undefined;
1272
1029
  }[] | undefined;
1273
1030
  }[] | undefined;
1274
1031
  }>, {
1275
1032
  id: string;
1033
+ declaration: {
1034
+ label: TranslationConfig;
1035
+ pages: {
1036
+ type: "FORM";
1037
+ id: string;
1038
+ title: TranslationConfig;
1039
+ fields: import("./FieldConfig").Inferred[];
1040
+ conditional?: import(".").JSONSchema | undefined;
1041
+ }[];
1042
+ };
1276
1043
  actions: ({
1277
1044
  type: "DECLARE";
1278
1045
  conditionals: ({
1279
1046
  type: "SHOW";
1280
- conditional: import(".").JSONSchema;
1281
- } | {
1282
- type: "ENABLE";
1283
- conditional: import(".").JSONSchema;
1284
- })[];
1285
- label: TranslationConfig;
1286
- forms: {
1287
- active: boolean;
1288
- version: {
1289
- id: string;
1290
- label: TranslationConfig;
1291
- };
1292
- label: TranslationConfig;
1293
- pages: {
1294
- id: string;
1295
- title: TranslationConfig;
1296
- fields: import("./FieldConfig").Inferred[];
1297
- }[];
1298
- review: {
1299
- title: TranslationConfig;
1300
- fields: import("./FieldConfig").Inferred[];
1301
- };
1302
- }[];
1047
+ conditional: import(".").JSONSchema;
1048
+ } | {
1049
+ type: "ENABLE";
1050
+ conditional: import(".").JSONSchema;
1051
+ })[];
1052
+ label: TranslationConfig;
1053
+ review: {
1054
+ title: TranslationConfig;
1055
+ fields: import("./FieldConfig").Inferred[];
1056
+ };
1303
1057
  draft?: boolean | undefined;
1304
1058
  } | {
1305
1059
  type: "VALIDATE";
@@ -1311,23 +1065,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1311
1065
  conditional: import(".").JSONSchema;
1312
1066
  })[];
1313
1067
  label: TranslationConfig;
1314
- forms: {
1315
- active: boolean;
1316
- version: {
1317
- id: string;
1318
- label: TranslationConfig;
1319
- };
1320
- label: TranslationConfig;
1321
- pages: {
1322
- id: string;
1323
- title: TranslationConfig;
1324
- fields: import("./FieldConfig").Inferred[];
1325
- }[];
1326
- review: {
1327
- title: TranslationConfig;
1328
- fields: import("./FieldConfig").Inferred[];
1329
- };
1330
- }[];
1068
+ review: {
1069
+ title: TranslationConfig;
1070
+ fields: import("./FieldConfig").Inferred[];
1071
+ };
1331
1072
  draft?: boolean | undefined;
1332
1073
  } | {
1333
1074
  type: "REJECT";
@@ -1339,23 +1080,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1339
1080
  conditional: import(".").JSONSchema;
1340
1081
  })[];
1341
1082
  label: TranslationConfig;
1342
- forms: {
1343
- active: boolean;
1344
- version: {
1345
- id: string;
1346
- label: TranslationConfig;
1347
- };
1348
- label: TranslationConfig;
1349
- pages: {
1350
- id: string;
1351
- title: TranslationConfig;
1352
- fields: import("./FieldConfig").Inferred[];
1353
- }[];
1354
- review: {
1355
- title: TranslationConfig;
1356
- fields: import("./FieldConfig").Inferred[];
1357
- };
1358
- }[];
1359
1083
  draft?: boolean | undefined;
1360
1084
  } | {
1361
1085
  type: "MARKED_AS_DUPLICATE";
@@ -1367,23 +1091,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1367
1091
  conditional: import(".").JSONSchema;
1368
1092
  })[];
1369
1093
  label: TranslationConfig;
1370
- forms: {
1371
- active: boolean;
1372
- version: {
1373
- id: string;
1374
- label: TranslationConfig;
1375
- };
1376
- label: TranslationConfig;
1377
- pages: {
1378
- id: string;
1379
- title: TranslationConfig;
1380
- fields: import("./FieldConfig").Inferred[];
1381
- }[];
1382
- review: {
1383
- title: TranslationConfig;
1384
- fields: import("./FieldConfig").Inferred[];
1385
- };
1386
- }[];
1387
1094
  draft?: boolean | undefined;
1388
1095
  } | {
1389
1096
  type: "ARCHIVE";
@@ -1395,23 +1102,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1395
1102
  conditional: import(".").JSONSchema;
1396
1103
  })[];
1397
1104
  label: TranslationConfig;
1398
- forms: {
1399
- active: boolean;
1400
- version: {
1401
- id: string;
1402
- label: TranslationConfig;
1403
- };
1404
- label: TranslationConfig;
1405
- pages: {
1406
- id: string;
1407
- title: TranslationConfig;
1408
- fields: import("./FieldConfig").Inferred[];
1409
- }[];
1410
- review: {
1411
- title: TranslationConfig;
1412
- fields: import("./FieldConfig").Inferred[];
1413
- };
1414
- }[];
1415
1105
  draft?: boolean | undefined;
1416
1106
  } | {
1417
1107
  type: "REGISTER";
@@ -1423,23 +1113,10 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1423
1113
  conditional: import(".").JSONSchema;
1424
1114
  })[];
1425
1115
  label: TranslationConfig;
1426
- forms: {
1427
- active: boolean;
1428
- version: {
1429
- id: string;
1430
- label: TranslationConfig;
1431
- };
1432
- label: TranslationConfig;
1433
- pages: {
1434
- id: string;
1435
- title: TranslationConfig;
1436
- fields: import("./FieldConfig").Inferred[];
1437
- }[];
1438
- review: {
1439
- title: TranslationConfig;
1440
- fields: import("./FieldConfig").Inferred[];
1441
- };
1442
- }[];
1116
+ review: {
1117
+ title: TranslationConfig;
1118
+ fields: import("./FieldConfig").Inferred[];
1119
+ };
1443
1120
  draft?: boolean | undefined;
1444
1121
  } | {
1445
1122
  type: "DELETE";
@@ -1451,23 +1128,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1451
1128
  conditional: import(".").JSONSchema;
1452
1129
  })[];
1453
1130
  label: TranslationConfig;
1454
- forms: {
1455
- active: boolean;
1456
- version: {
1457
- id: string;
1458
- label: TranslationConfig;
1459
- };
1460
- label: TranslationConfig;
1461
- pages: {
1462
- id: string;
1463
- title: TranslationConfig;
1464
- fields: import("./FieldConfig").Inferred[];
1465
- }[];
1466
- review: {
1467
- title: TranslationConfig;
1468
- fields: import("./FieldConfig").Inferred[];
1469
- };
1470
- }[];
1471
1131
  draft?: boolean | undefined;
1472
1132
  } | {
1473
1133
  type: "PRINT_CERTIFICATE";
@@ -1479,23 +1139,34 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1479
1139
  conditional: import(".").JSONSchema;
1480
1140
  })[];
1481
1141
  label: TranslationConfig;
1482
- forms: {
1483
- active: boolean;
1484
- version: {
1485
- id: string;
1486
- label: TranslationConfig;
1487
- };
1142
+ printForm: {
1488
1143
  label: TranslationConfig;
1489
- pages: {
1144
+ pages: ({
1145
+ type: "FORM";
1490
1146
  id: string;
1491
1147
  title: TranslationConfig;
1492
1148
  fields: import("./FieldConfig").Inferred[];
1493
- }[];
1494
- review: {
1149
+ conditional?: import(".").JSONSchema | undefined;
1150
+ } | {
1151
+ type: "VERIFICATION";
1152
+ id: string;
1495
1153
  title: TranslationConfig;
1496
- fields: import("./FieldConfig").Inferred[];
1497
- };
1498
- }[];
1154
+ actions: {
1155
+ verify: {
1156
+ label: TranslationConfig;
1157
+ };
1158
+ cancel: {
1159
+ label: TranslationConfig;
1160
+ confirmation: {
1161
+ title: TranslationConfig;
1162
+ body: TranslationConfig;
1163
+ };
1164
+ };
1165
+ };
1166
+ fields: import("./FieldConfig").Inferred[];
1167
+ conditional?: import(".").JSONSchema | undefined;
1168
+ })[];
1169
+ };
1499
1170
  draft?: boolean | undefined;
1500
1171
  } | {
1501
1172
  type: "REQUEST_CORRECTION";
@@ -1507,33 +1178,56 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1507
1178
  conditional: import(".").JSONSchema;
1508
1179
  })[];
1509
1180
  label: TranslationConfig;
1510
- forms: {
1511
- active: boolean;
1512
- version: {
1513
- id: string;
1514
- label: TranslationConfig;
1515
- };
1516
- label: TranslationConfig;
1517
- pages: {
1518
- id: string;
1519
- title: TranslationConfig;
1520
- fields: import("./FieldConfig").Inferred[];
1521
- }[];
1522
- review: {
1523
- title: TranslationConfig;
1524
- fields: import("./FieldConfig").Inferred[];
1181
+ onboardingForm: ({
1182
+ type: "FORM";
1183
+ id: string;
1184
+ title: TranslationConfig;
1185
+ fields: import("./FieldConfig").Inferred[];
1186
+ conditional?: import(".").JSONSchema | undefined;
1187
+ } | {
1188
+ type: "VERIFICATION";
1189
+ id: string;
1190
+ title: TranslationConfig;
1191
+ actions: {
1192
+ verify: {
1193
+ label: TranslationConfig;
1194
+ };
1195
+ cancel: {
1196
+ label: TranslationConfig;
1197
+ confirmation: {
1198
+ title: TranslationConfig;
1199
+ body: TranslationConfig;
1200
+ };
1201
+ };
1525
1202
  };
1526
- }[];
1527
- onboardingForm: {
1203
+ fields: import("./FieldConfig").Inferred[];
1204
+ conditional?: import(".").JSONSchema | undefined;
1205
+ })[];
1206
+ additionalDetailsForm: ({
1207
+ type: "FORM";
1528
1208
  id: string;
1529
1209
  title: TranslationConfig;
1530
1210
  fields: import("./FieldConfig").Inferred[];
1531
- }[];
1532
- additionalDetailsForm: {
1211
+ conditional?: import(".").JSONSchema | undefined;
1212
+ } | {
1213
+ type: "VERIFICATION";
1533
1214
  id: string;
1534
1215
  title: TranslationConfig;
1216
+ actions: {
1217
+ verify: {
1218
+ label: TranslationConfig;
1219
+ };
1220
+ cancel: {
1221
+ label: TranslationConfig;
1222
+ confirmation: {
1223
+ title: TranslationConfig;
1224
+ body: TranslationConfig;
1225
+ };
1226
+ };
1227
+ };
1535
1228
  fields: import("./FieldConfig").Inferred[];
1536
- }[];
1229
+ conditional?: import(".").JSONSchema | undefined;
1230
+ })[];
1537
1231
  draft?: boolean | undefined;
1538
1232
  } | {
1539
1233
  type: "REJECT_CORRECTION";
@@ -1545,23 +1239,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1545
1239
  conditional: import(".").JSONSchema;
1546
1240
  })[];
1547
1241
  label: TranslationConfig;
1548
- forms: {
1549
- active: boolean;
1550
- version: {
1551
- id: string;
1552
- label: TranslationConfig;
1553
- };
1554
- label: TranslationConfig;
1555
- pages: {
1556
- id: string;
1557
- title: TranslationConfig;
1558
- fields: import("./FieldConfig").Inferred[];
1559
- }[];
1560
- review: {
1561
- title: TranslationConfig;
1562
- fields: import("./FieldConfig").Inferred[];
1563
- };
1564
- }[];
1565
1242
  draft?: boolean | undefined;
1566
1243
  } | {
1567
1244
  type: "APPROVE_CORRECTION";
@@ -1573,51 +1250,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1573
1250
  conditional: import(".").JSONSchema;
1574
1251
  })[];
1575
1252
  label: TranslationConfig;
1576
- forms: {
1577
- active: boolean;
1578
- version: {
1579
- id: string;
1580
- label: TranslationConfig;
1581
- };
1582
- label: TranslationConfig;
1583
- pages: {
1584
- id: string;
1585
- title: TranslationConfig;
1586
- fields: import("./FieldConfig").Inferred[];
1587
- }[];
1588
- review: {
1589
- title: TranslationConfig;
1590
- fields: import("./FieldConfig").Inferred[];
1591
- };
1592
- }[];
1593
- draft?: boolean | undefined;
1594
- } | {
1595
- type: "CUSTOM";
1596
- conditionals: ({
1597
- type: "SHOW";
1598
- conditional: import(".").JSONSchema;
1599
- } | {
1600
- type: "ENABLE";
1601
- conditional: import(".").JSONSchema;
1602
- })[];
1603
- label: TranslationConfig;
1604
- forms: {
1605
- active: boolean;
1606
- version: {
1607
- id: string;
1608
- label: TranslationConfig;
1609
- };
1610
- label: TranslationConfig;
1611
- pages: {
1612
- id: string;
1613
- title: TranslationConfig;
1614
- fields: import("./FieldConfig").Inferred[];
1615
- }[];
1616
- review: {
1617
- title: TranslationConfig;
1618
- fields: import("./FieldConfig").Inferred[];
1619
- };
1620
- }[];
1621
1253
  draft?: boolean | undefined;
1622
1254
  })[];
1623
1255
  label: TranslationConfig;
@@ -1648,54 +1280,51 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1648
1280
  advancedSearch: {
1649
1281
  title: TranslationConfig;
1650
1282
  fields: {
1651
- fieldId: string;
1652
- config?: {
1283
+ config: {
1653
1284
  type: "FUZZY" | "EXACT" | "RANGE";
1654
- } | undefined;
1285
+ };
1286
+ fieldId: string;
1287
+ options?: {
1288
+ value: string;
1289
+ label: TranslationConfig;
1290
+ }[] | undefined;
1655
1291
  }[];
1656
1292
  }[];
1657
1293
  }, {
1658
1294
  id: string;
1659
- actions: ({
1660
- type: "DECLARE";
1295
+ declaration: {
1661
1296
  label: {
1662
1297
  id: string;
1663
1298
  description: string;
1664
1299
  defaultMessage: string;
1665
1300
  };
1666
- forms: {
1667
- version: {
1668
- id: string;
1669
- label: {
1670
- id: string;
1671
- description: string;
1672
- defaultMessage: string;
1673
- };
1674
- };
1675
- label: {
1301
+ pages: {
1302
+ id: string;
1303
+ title: {
1676
1304
  id: string;
1677
1305
  description: string;
1678
1306
  defaultMessage: string;
1679
1307
  };
1680
- pages: {
1308
+ fields: import("./FieldConfig").InferredInput[];
1309
+ type?: "FORM" | undefined;
1310
+ conditional?: import(".").JSONSchema | undefined;
1311
+ }[];
1312
+ };
1313
+ actions: ({
1314
+ type: "DECLARE";
1315
+ label: {
1316
+ id: string;
1317
+ description: string;
1318
+ defaultMessage: string;
1319
+ };
1320
+ review: {
1321
+ title: {
1681
1322
  id: string;
1682
- title: {
1683
- id: string;
1684
- description: string;
1685
- defaultMessage: string;
1686
- };
1687
- fields: import("./FieldConfig").Inferred[];
1688
- }[];
1689
- review: {
1690
- title: {
1691
- id: string;
1692
- description: string;
1693
- defaultMessage: string;
1694
- };
1695
- fields: import("./FieldConfig").Inferred[];
1323
+ description: string;
1324
+ defaultMessage: string;
1696
1325
  };
1697
- active?: boolean | undefined;
1698
- }[];
1326
+ fields: import("./FieldConfig").InferredInput[];
1327
+ };
1699
1328
  draft?: boolean | undefined;
1700
1329
  conditionals?: ({
1701
1330
  type: "SHOW";
@@ -1711,39 +1340,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1711
1340
  description: string;
1712
1341
  defaultMessage: string;
1713
1342
  };
1714
- forms: {
1715
- version: {
1716
- id: string;
1717
- label: {
1718
- id: string;
1719
- description: string;
1720
- defaultMessage: string;
1721
- };
1722
- };
1723
- label: {
1343
+ review: {
1344
+ title: {
1724
1345
  id: string;
1725
1346
  description: string;
1726
1347
  defaultMessage: string;
1727
1348
  };
1728
- pages: {
1729
- id: string;
1730
- title: {
1731
- id: string;
1732
- description: string;
1733
- defaultMessage: string;
1734
- };
1735
- fields: import("./FieldConfig").Inferred[];
1736
- }[];
1737
- review: {
1738
- title: {
1739
- id: string;
1740
- description: string;
1741
- defaultMessage: string;
1742
- };
1743
- fields: import("./FieldConfig").Inferred[];
1744
- };
1745
- active?: boolean | undefined;
1746
- }[];
1349
+ fields: import("./FieldConfig").InferredInput[];
1350
+ };
1747
1351
  draft?: boolean | undefined;
1748
1352
  conditionals?: ({
1749
1353
  type: "SHOW";
@@ -1757,41 +1361,8 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1757
1361
  label: {
1758
1362
  id: string;
1759
1363
  description: string;
1760
- defaultMessage: string;
1761
- };
1762
- forms: {
1763
- version: {
1764
- id: string;
1765
- label: {
1766
- id: string;
1767
- description: string;
1768
- defaultMessage: string;
1769
- };
1770
- };
1771
- label: {
1772
- id: string;
1773
- description: string;
1774
- defaultMessage: string;
1775
- };
1776
- pages: {
1777
- id: string;
1778
- title: {
1779
- id: string;
1780
- description: string;
1781
- defaultMessage: string;
1782
- };
1783
- fields: import("./FieldConfig").Inferred[];
1784
- }[];
1785
- review: {
1786
- title: {
1787
- id: string;
1788
- description: string;
1789
- defaultMessage: string;
1790
- };
1791
- fields: import("./FieldConfig").Inferred[];
1792
- };
1793
- active?: boolean | undefined;
1794
- }[];
1364
+ defaultMessage: string;
1365
+ };
1795
1366
  draft?: boolean | undefined;
1796
1367
  conditionals?: ({
1797
1368
  type: "SHOW";
@@ -1807,39 +1378,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1807
1378
  description: string;
1808
1379
  defaultMessage: string;
1809
1380
  };
1810
- forms: {
1811
- version: {
1812
- id: string;
1813
- label: {
1814
- id: string;
1815
- description: string;
1816
- defaultMessage: string;
1817
- };
1818
- };
1819
- label: {
1820
- id: string;
1821
- description: string;
1822
- defaultMessage: string;
1823
- };
1824
- pages: {
1825
- id: string;
1826
- title: {
1827
- id: string;
1828
- description: string;
1829
- defaultMessage: string;
1830
- };
1831
- fields: import("./FieldConfig").Inferred[];
1832
- }[];
1833
- review: {
1834
- title: {
1835
- id: string;
1836
- description: string;
1837
- defaultMessage: string;
1838
- };
1839
- fields: import("./FieldConfig").Inferred[];
1840
- };
1841
- active?: boolean | undefined;
1842
- }[];
1843
1381
  draft?: boolean | undefined;
1844
1382
  conditionals?: ({
1845
1383
  type: "SHOW";
@@ -1855,39 +1393,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1855
1393
  description: string;
1856
1394
  defaultMessage: string;
1857
1395
  };
1858
- forms: {
1859
- version: {
1860
- id: string;
1861
- label: {
1862
- id: string;
1863
- description: string;
1864
- defaultMessage: string;
1865
- };
1866
- };
1867
- label: {
1868
- id: string;
1869
- description: string;
1870
- defaultMessage: string;
1871
- };
1872
- pages: {
1873
- id: string;
1874
- title: {
1875
- id: string;
1876
- description: string;
1877
- defaultMessage: string;
1878
- };
1879
- fields: import("./FieldConfig").Inferred[];
1880
- }[];
1881
- review: {
1882
- title: {
1883
- id: string;
1884
- description: string;
1885
- defaultMessage: string;
1886
- };
1887
- fields: import("./FieldConfig").Inferred[];
1888
- };
1889
- active?: boolean | undefined;
1890
- }[];
1891
1396
  draft?: boolean | undefined;
1892
1397
  conditionals?: ({
1893
1398
  type: "SHOW";
@@ -1903,39 +1408,14 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1903
1408
  description: string;
1904
1409
  defaultMessage: string;
1905
1410
  };
1906
- forms: {
1907
- version: {
1908
- id: string;
1909
- label: {
1910
- id: string;
1911
- description: string;
1912
- defaultMessage: string;
1913
- };
1914
- };
1915
- label: {
1411
+ review: {
1412
+ title: {
1916
1413
  id: string;
1917
1414
  description: string;
1918
1415
  defaultMessage: string;
1919
1416
  };
1920
- pages: {
1921
- id: string;
1922
- title: {
1923
- id: string;
1924
- description: string;
1925
- defaultMessage: string;
1926
- };
1927
- fields: import("./FieldConfig").Inferred[];
1928
- }[];
1929
- review: {
1930
- title: {
1931
- id: string;
1932
- description: string;
1933
- defaultMessage: string;
1934
- };
1935
- fields: import("./FieldConfig").Inferred[];
1936
- };
1937
- active?: boolean | undefined;
1938
- }[];
1417
+ fields: import("./FieldConfig").InferredInput[];
1418
+ };
1939
1419
  draft?: boolean | undefined;
1940
1420
  conditionals?: ({
1941
1421
  type: "SHOW";
@@ -1951,39 +1431,6 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1951
1431
  description: string;
1952
1432
  defaultMessage: string;
1953
1433
  };
1954
- forms: {
1955
- version: {
1956
- id: string;
1957
- label: {
1958
- id: string;
1959
- description: string;
1960
- defaultMessage: string;
1961
- };
1962
- };
1963
- label: {
1964
- id: string;
1965
- description: string;
1966
- defaultMessage: string;
1967
- };
1968
- pages: {
1969
- id: string;
1970
- title: {
1971
- id: string;
1972
- description: string;
1973
- defaultMessage: string;
1974
- };
1975
- fields: import("./FieldConfig").Inferred[];
1976
- }[];
1977
- review: {
1978
- title: {
1979
- id: string;
1980
- description: string;
1981
- defaultMessage: string;
1982
- };
1983
- fields: import("./FieldConfig").Inferred[];
1984
- };
1985
- active?: boolean | undefined;
1986
- }[];
1987
1434
  draft?: boolean | undefined;
1988
1435
  conditionals?: ({
1989
1436
  type: "SHOW";
@@ -1999,39 +1446,62 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
1999
1446
  description: string;
2000
1447
  defaultMessage: string;
2001
1448
  };
2002
- forms: {
2003
- version: {
2004
- id: string;
2005
- label: {
2006
- id: string;
2007
- description: string;
2008
- defaultMessage: string;
2009
- };
2010
- };
1449
+ printForm: {
2011
1450
  label: {
2012
1451
  id: string;
2013
1452
  description: string;
2014
1453
  defaultMessage: string;
2015
1454
  };
2016
- pages: {
1455
+ pages: ({
2017
1456
  id: string;
2018
1457
  title: {
2019
1458
  id: string;
2020
1459
  description: string;
2021
1460
  defaultMessage: string;
2022
1461
  };
2023
- fields: import("./FieldConfig").Inferred[];
2024
- }[];
2025
- review: {
1462
+ fields: import("./FieldConfig").InferredInput[];
1463
+ type?: "FORM" | undefined;
1464
+ conditional?: import(".").JSONSchema | undefined;
1465
+ } | {
1466
+ type: "VERIFICATION";
1467
+ id: string;
2026
1468
  title: {
2027
1469
  id: string;
2028
1470
  description: string;
2029
1471
  defaultMessage: string;
2030
1472
  };
2031
- fields: import("./FieldConfig").Inferred[];
2032
- };
2033
- active?: boolean | undefined;
2034
- }[];
1473
+ actions: {
1474
+ verify: {
1475
+ label: {
1476
+ id: string;
1477
+ description: string;
1478
+ defaultMessage: string;
1479
+ };
1480
+ };
1481
+ cancel: {
1482
+ label: {
1483
+ id: string;
1484
+ description: string;
1485
+ defaultMessage: string;
1486
+ };
1487
+ confirmation: {
1488
+ title: {
1489
+ id: string;
1490
+ description: string;
1491
+ defaultMessage: string;
1492
+ };
1493
+ body: {
1494
+ id: string;
1495
+ description: string;
1496
+ defaultMessage: string;
1497
+ };
1498
+ };
1499
+ };
1500
+ };
1501
+ fields: import("./FieldConfig").InferredInput[];
1502
+ conditional?: import(".").JSONSchema | undefined;
1503
+ })[];
1504
+ };
2035
1505
  draft?: boolean | undefined;
2036
1506
  conditionals?: ({
2037
1507
  type: "SHOW";
@@ -2047,105 +1517,104 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2047
1517
  description: string;
2048
1518
  defaultMessage: string;
2049
1519
  };
2050
- forms: {
2051
- version: {
2052
- id: string;
2053
- label: {
2054
- id: string;
2055
- description: string;
2056
- defaultMessage: string;
2057
- };
2058
- };
2059
- label: {
1520
+ onboardingForm: ({
1521
+ id: string;
1522
+ title: {
2060
1523
  id: string;
2061
1524
  description: string;
2062
1525
  defaultMessage: string;
2063
1526
  };
2064
- pages: {
2065
- id: string;
2066
- title: {
2067
- id: string;
2068
- description: string;
2069
- defaultMessage: string;
2070
- };
2071
- fields: import("./FieldConfig").Inferred[];
2072
- }[];
2073
- review: {
2074
- title: {
2075
- id: string;
2076
- description: string;
2077
- defaultMessage: string;
2078
- };
2079
- fields: import("./FieldConfig").Inferred[];
2080
- };
2081
- active?: boolean | undefined;
2082
- }[];
2083
- onboardingForm: {
1527
+ fields: import("./FieldConfig").InferredInput[];
1528
+ type?: "FORM" | undefined;
1529
+ conditional?: import(".").JSONSchema | undefined;
1530
+ } | {
1531
+ type: "VERIFICATION";
2084
1532
  id: string;
2085
1533
  title: {
2086
1534
  id: string;
2087
1535
  description: string;
2088
1536
  defaultMessage: string;
2089
1537
  };
2090
- fields: import("./FieldConfig").Inferred[];
2091
- }[];
2092
- additionalDetailsForm: {
1538
+ actions: {
1539
+ verify: {
1540
+ label: {
1541
+ id: string;
1542
+ description: string;
1543
+ defaultMessage: string;
1544
+ };
1545
+ };
1546
+ cancel: {
1547
+ label: {
1548
+ id: string;
1549
+ description: string;
1550
+ defaultMessage: string;
1551
+ };
1552
+ confirmation: {
1553
+ title: {
1554
+ id: string;
1555
+ description: string;
1556
+ defaultMessage: string;
1557
+ };
1558
+ body: {
1559
+ id: string;
1560
+ description: string;
1561
+ defaultMessage: string;
1562
+ };
1563
+ };
1564
+ };
1565
+ };
1566
+ fields: import("./FieldConfig").InferredInput[];
1567
+ conditional?: import(".").JSONSchema | undefined;
1568
+ })[];
1569
+ additionalDetailsForm: ({
2093
1570
  id: string;
2094
1571
  title: {
2095
1572
  id: string;
2096
1573
  description: string;
2097
1574
  defaultMessage: string;
2098
1575
  };
2099
- fields: import("./FieldConfig").Inferred[];
2100
- }[];
2101
- draft?: boolean | undefined;
2102
- conditionals?: ({
2103
- type: "SHOW";
2104
- conditional: import(".").JSONSchema;
1576
+ fields: import("./FieldConfig").InferredInput[];
1577
+ type?: "FORM" | undefined;
1578
+ conditional?: import(".").JSONSchema | undefined;
2105
1579
  } | {
2106
- type: "ENABLE";
2107
- conditional: import(".").JSONSchema;
2108
- })[] | undefined;
2109
- } | {
2110
- type: "REJECT_CORRECTION";
2111
- label: {
1580
+ type: "VERIFICATION";
2112
1581
  id: string;
2113
- description: string;
2114
- defaultMessage: string;
2115
- };
2116
- forms: {
2117
- version: {
2118
- id: string;
2119
- label: {
2120
- id: string;
2121
- description: string;
2122
- defaultMessage: string;
2123
- };
2124
- };
2125
- label: {
1582
+ title: {
2126
1583
  id: string;
2127
1584
  description: string;
2128
1585
  defaultMessage: string;
2129
1586
  };
2130
- pages: {
2131
- id: string;
2132
- title: {
2133
- id: string;
2134
- description: string;
2135
- defaultMessage: string;
2136
- };
2137
- fields: import("./FieldConfig").Inferred[];
2138
- }[];
2139
- review: {
2140
- title: {
2141
- id: string;
2142
- description: string;
2143
- defaultMessage: string;
2144
- };
2145
- fields: import("./FieldConfig").Inferred[];
2146
- };
2147
- active?: boolean | undefined;
2148
- }[];
1587
+ actions: {
1588
+ verify: {
1589
+ label: {
1590
+ id: string;
1591
+ description: string;
1592
+ defaultMessage: string;
1593
+ };
1594
+ };
1595
+ cancel: {
1596
+ label: {
1597
+ id: string;
1598
+ description: string;
1599
+ defaultMessage: string;
1600
+ };
1601
+ confirmation: {
1602
+ title: {
1603
+ id: string;
1604
+ description: string;
1605
+ defaultMessage: string;
1606
+ };
1607
+ body: {
1608
+ id: string;
1609
+ description: string;
1610
+ defaultMessage: string;
1611
+ };
1612
+ };
1613
+ };
1614
+ };
1615
+ fields: import("./FieldConfig").InferredInput[];
1616
+ conditional?: import(".").JSONSchema | undefined;
1617
+ })[];
2149
1618
  draft?: boolean | undefined;
2150
1619
  conditionals?: ({
2151
1620
  type: "SHOW";
@@ -2155,45 +1624,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2155
1624
  conditional: import(".").JSONSchema;
2156
1625
  })[] | undefined;
2157
1626
  } | {
2158
- type: "APPROVE_CORRECTION";
1627
+ type: "REJECT_CORRECTION";
2159
1628
  label: {
2160
1629
  id: string;
2161
1630
  description: string;
2162
1631
  defaultMessage: string;
2163
1632
  };
2164
- forms: {
2165
- version: {
2166
- id: string;
2167
- label: {
2168
- id: string;
2169
- description: string;
2170
- defaultMessage: string;
2171
- };
2172
- };
2173
- label: {
2174
- id: string;
2175
- description: string;
2176
- defaultMessage: string;
2177
- };
2178
- pages: {
2179
- id: string;
2180
- title: {
2181
- id: string;
2182
- description: string;
2183
- defaultMessage: string;
2184
- };
2185
- fields: import("./FieldConfig").Inferred[];
2186
- }[];
2187
- review: {
2188
- title: {
2189
- id: string;
2190
- description: string;
2191
- defaultMessage: string;
2192
- };
2193
- fields: import("./FieldConfig").Inferred[];
2194
- };
2195
- active?: boolean | undefined;
2196
- }[];
2197
1633
  draft?: boolean | undefined;
2198
1634
  conditionals?: ({
2199
1635
  type: "SHOW";
@@ -2203,45 +1639,12 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2203
1639
  conditional: import(".").JSONSchema;
2204
1640
  })[] | undefined;
2205
1641
  } | {
2206
- type: "CUSTOM";
1642
+ type: "APPROVE_CORRECTION";
2207
1643
  label: {
2208
1644
  id: string;
2209
1645
  description: string;
2210
1646
  defaultMessage: string;
2211
1647
  };
2212
- forms: {
2213
- version: {
2214
- id: string;
2215
- label: {
2216
- id: string;
2217
- description: string;
2218
- defaultMessage: string;
2219
- };
2220
- };
2221
- label: {
2222
- id: string;
2223
- description: string;
2224
- defaultMessage: string;
2225
- };
2226
- pages: {
2227
- id: string;
2228
- title: {
2229
- id: string;
2230
- description: string;
2231
- defaultMessage: string;
2232
- };
2233
- fields: import("./FieldConfig").Inferred[];
2234
- }[];
2235
- review: {
2236
- title: {
2237
- id: string;
2238
- description: string;
2239
- defaultMessage: string;
2240
- };
2241
- fields: import("./FieldConfig").Inferred[];
2242
- };
2243
- active?: boolean | undefined;
2244
- }[];
2245
1648
  draft?: boolean | undefined;
2246
1649
  conditionals?: ({
2247
1650
  type: "SHOW";
@@ -2311,10 +1714,18 @@ export declare const EventConfig: z.ZodEffects<z.ZodObject<{
2311
1714
  defaultMessage: string;
2312
1715
  };
2313
1716
  fields?: {
2314
- fieldId: string;
2315
- config?: {
1717
+ config: {
2316
1718
  type: "FUZZY" | "EXACT" | "RANGE";
2317
- } | undefined;
1719
+ };
1720
+ fieldId: string;
1721
+ options?: {
1722
+ value: string;
1723
+ label: {
1724
+ id: string;
1725
+ description: string;
1726
+ defaultMessage: string;
1727
+ };
1728
+ }[] | undefined;
2318
1729
  }[] | undefined;
2319
1730
  }[] | undefined;
2320
1731
  }>;