@opencrvs/toolkit 1.8.1-rc.6c27961 → 1.8.1-rc.6eacccb

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.
@@ -569,14 +569,25 @@ export declare function getDeclarationPages(configuration: EventConfig): {
569
569
  hideLabel?: boolean | undefined;
570
570
  uncorrectable?: boolean | undefined;
571
571
  defaultValue?: {
572
- firstname: string;
573
- surname: string;
572
+ firstname?: string | undefined;
573
+ surname?: string | undefined;
574
+ middlename?: string | undefined;
574
575
  } | undefined;
575
576
  configuration?: {
577
+ name?: {
578
+ firstname?: {
579
+ required: boolean;
580
+ } | undefined;
581
+ surname?: {
582
+ required: boolean;
583
+ } | undefined;
584
+ middlename?: {
585
+ required: boolean;
586
+ } | undefined;
587
+ } | undefined;
576
588
  maxLength?: number | undefined;
577
589
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
578
590
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
579
- includeMiddlename?: boolean | undefined;
580
591
  searchMode?: boolean | undefined;
581
592
  } | undefined;
582
593
  } | {
@@ -1512,14 +1523,25 @@ export declare function getDeclaration(configuration: EventConfig): {
1512
1523
  hideLabel?: boolean | undefined;
1513
1524
  uncorrectable?: boolean | undefined;
1514
1525
  defaultValue?: {
1515
- firstname: string;
1516
- surname: string;
1526
+ firstname?: string | undefined;
1527
+ surname?: string | undefined;
1528
+ middlename?: string | undefined;
1517
1529
  } | undefined;
1518
1530
  configuration?: {
1531
+ name?: {
1532
+ firstname?: {
1533
+ required: boolean;
1534
+ } | undefined;
1535
+ surname?: {
1536
+ required: boolean;
1537
+ } | undefined;
1538
+ middlename?: {
1539
+ required: boolean;
1540
+ } | undefined;
1541
+ } | undefined;
1519
1542
  maxLength?: number | undefined;
1520
1543
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1521
1544
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1522
- includeMiddlename?: boolean | undefined;
1523
1545
  searchMode?: boolean | undefined;
1524
1546
  } | undefined;
1525
1547
  } | {
@@ -2454,14 +2476,25 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2454
2476
  hideLabel?: boolean | undefined;
2455
2477
  uncorrectable?: boolean | undefined;
2456
2478
  defaultValue?: {
2457
- firstname: string;
2458
- surname: string;
2479
+ firstname?: string | undefined;
2480
+ surname?: string | undefined;
2481
+ middlename?: string | undefined;
2459
2482
  } | undefined;
2460
2483
  configuration?: {
2484
+ name?: {
2485
+ firstname?: {
2486
+ required: boolean;
2487
+ } | undefined;
2488
+ surname?: {
2489
+ required: boolean;
2490
+ } | undefined;
2491
+ middlename?: {
2492
+ required: boolean;
2493
+ } | undefined;
2494
+ } | undefined;
2461
2495
  maxLength?: number | undefined;
2462
2496
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2463
2497
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2464
- includeMiddlename?: boolean | undefined;
2465
2498
  searchMode?: boolean | undefined;
2466
2499
  } | undefined;
2467
2500
  } | {
@@ -3406,14 +3439,25 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3406
3439
  hideLabel?: boolean | undefined;
3407
3440
  uncorrectable?: boolean | undefined;
3408
3441
  defaultValue?: {
3409
- firstname: string;
3410
- surname: string;
3442
+ firstname?: string | undefined;
3443
+ surname?: string | undefined;
3444
+ middlename?: string | undefined;
3411
3445
  } | undefined;
3412
3446
  configuration?: {
3447
+ name?: {
3448
+ firstname?: {
3449
+ required: boolean;
3450
+ } | undefined;
3451
+ surname?: {
3452
+ required: boolean;
3453
+ } | undefined;
3454
+ middlename?: {
3455
+ required: boolean;
3456
+ } | undefined;
3457
+ } | undefined;
3413
3458
  maxLength?: number | undefined;
3414
3459
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3415
3460
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3416
- includeMiddlename?: boolean | undefined;
3417
3461
  searchMode?: boolean | undefined;
3418
3462
  } | undefined;
3419
3463
  } | {
@@ -4343,14 +4387,25 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4343
4387
  hideLabel?: boolean | undefined;
4344
4388
  uncorrectable?: boolean | undefined;
4345
4389
  defaultValue?: {
4346
- firstname: string;
4347
- surname: string;
4390
+ firstname?: string | undefined;
4391
+ surname?: string | undefined;
4392
+ middlename?: string | undefined;
4348
4393
  } | undefined;
4349
4394
  configuration?: {
4395
+ name?: {
4396
+ firstname?: {
4397
+ required: boolean;
4398
+ } | undefined;
4399
+ surname?: {
4400
+ required: boolean;
4401
+ } | undefined;
4402
+ middlename?: {
4403
+ required: boolean;
4404
+ } | undefined;
4405
+ } | undefined;
4350
4406
  maxLength?: number | undefined;
4351
4407
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4352
4408
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4353
- includeMiddlename?: boolean | undefined;
4354
4409
  searchMode?: boolean | undefined;
4355
4410
  } | undefined;
4356
4411
  } | {
@@ -4723,7 +4778,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4723
4778
  hideLabel?: boolean | undefined;
4724
4779
  uncorrectable?: boolean | undefined;
4725
4780
  })[];
4726
- export declare function getAllUniqueFields(eventConfig: EventConfig): import("./FieldConfig").Inferred[];
4781
+ export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
4727
4782
  export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
4728
4783
  /**
4729
4784
  * @TODO: Request correction should have same format as print certificate
@@ -5286,14 +5341,25 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5286
5341
  hideLabel?: boolean | undefined;
5287
5342
  uncorrectable?: boolean | undefined;
5288
5343
  defaultValue?: {
5289
- firstname: string;
5290
- surname: string;
5344
+ firstname?: string | undefined;
5345
+ surname?: string | undefined;
5346
+ middlename?: string | undefined;
5291
5347
  } | undefined;
5292
5348
  configuration?: {
5349
+ name?: {
5350
+ firstname?: {
5351
+ required: boolean;
5352
+ } | undefined;
5353
+ surname?: {
5354
+ required: boolean;
5355
+ } | undefined;
5356
+ middlename?: {
5357
+ required: boolean;
5358
+ } | undefined;
5359
+ } | undefined;
5293
5360
  maxLength?: number | undefined;
5294
5361
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5295
5362
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5296
- includeMiddlename?: boolean | undefined;
5297
5363
  searchMode?: boolean | undefined;
5298
5364
  } | undefined;
5299
5365
  } | {
@@ -6222,14 +6288,25 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6222
6288
  hideLabel?: boolean | undefined;
6223
6289
  uncorrectable?: boolean | undefined;
6224
6290
  defaultValue?: {
6225
- firstname: string;
6226
- surname: string;
6291
+ firstname?: string | undefined;
6292
+ surname?: string | undefined;
6293
+ middlename?: string | undefined;
6227
6294
  } | undefined;
6228
6295
  configuration?: {
6296
+ name?: {
6297
+ firstname?: {
6298
+ required: boolean;
6299
+ } | undefined;
6300
+ surname?: {
6301
+ required: boolean;
6302
+ } | undefined;
6303
+ middlename?: {
6304
+ required: boolean;
6305
+ } | undefined;
6306
+ } | undefined;
6229
6307
  maxLength?: number | undefined;
6230
6308
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6231
6309
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6232
- includeMiddlename?: boolean | undefined;
6233
6310
  searchMode?: boolean | undefined;
6234
6311
  } | undefined;
6235
6312
  } | {
@@ -6631,8 +6708,8 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
6631
6708
  surname: string;
6632
6709
  middlename?: string | undefined;
6633
6710
  } | {
6634
- firstname?: string | null | undefined;
6635
- surname?: string | null | undefined;
6711
+ firstname: string;
6712
+ surname: string;
6636
6713
  middlename?: string | null | undefined;
6637
6714
  } | {
6638
6715
  country: string;
@@ -6682,8 +6759,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6682
6759
  street?: string | null | undefined;
6683
6760
  zipCode?: string | null | undefined;
6684
6761
  } | {
6685
- firstname?: string | null | undefined;
6686
- surname?: string | null | undefined;
6762
+ firstname: string;
6763
+ surname: string;
6687
6764
  middlename?: string | null | undefined;
6688
6765
  } | {
6689
6766
  country: string;
@@ -6729,8 +6806,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6729
6806
  street?: string | null | undefined;
6730
6807
  zipCode?: string | null | undefined;
6731
6808
  } | {
6732
- firstname?: string | null | undefined;
6733
- surname?: string | null | undefined;
6809
+ firstname: string;
6810
+ surname: string;
6734
6811
  middlename?: string | null | undefined;
6735
6812
  } | {
6736
6813
  country: string;
@@ -6804,8 +6881,8 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
6804
6881
  surname: string;
6805
6882
  middlename?: string | undefined;
6806
6883
  } | {
6807
- firstname?: string | null | undefined;
6808
- surname?: string | null | undefined;
6884
+ firstname: string;
6885
+ surname: string;
6809
6886
  middlename?: string | null | undefined;
6810
6887
  } | {
6811
6888
  country: string;
@@ -7430,14 +7507,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7430
7507
  hideLabel?: boolean | undefined;
7431
7508
  uncorrectable?: boolean | undefined;
7432
7509
  defaultValue?: {
7433
- firstname: string;
7434
- surname: string;
7510
+ firstname?: string | undefined;
7511
+ surname?: string | undefined;
7512
+ middlename?: string | undefined;
7435
7513
  } | undefined;
7436
7514
  configuration?: {
7515
+ name?: {
7516
+ firstname?: {
7517
+ required: boolean;
7518
+ } | undefined;
7519
+ surname?: {
7520
+ required: boolean;
7521
+ } | undefined;
7522
+ middlename?: {
7523
+ required: boolean;
7524
+ } | undefined;
7525
+ } | undefined;
7437
7526
  maxLength?: number | undefined;
7438
7527
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7439
7528
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
7440
- includeMiddlename?: boolean | undefined;
7441
7529
  searchMode?: boolean | undefined;
7442
7530
  } | undefined;
7443
7531
  } | {
@@ -8380,14 +8468,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8380
8468
  hideLabel?: boolean | undefined;
8381
8469
  uncorrectable?: boolean | undefined;
8382
8470
  defaultValue?: {
8383
- firstname: string;
8384
- surname: string;
8471
+ firstname?: string | undefined;
8472
+ surname?: string | undefined;
8473
+ middlename?: string | undefined;
8385
8474
  } | undefined;
8386
8475
  configuration?: {
8476
+ name?: {
8477
+ firstname?: {
8478
+ required: boolean;
8479
+ } | undefined;
8480
+ surname?: {
8481
+ required: boolean;
8482
+ } | undefined;
8483
+ middlename?: {
8484
+ required: boolean;
8485
+ } | undefined;
8486
+ } | undefined;
8387
8487
  maxLength?: number | undefined;
8388
8488
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8389
8489
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8390
- includeMiddlename?: boolean | undefined;
8391
8490
  searchMode?: boolean | undefined;
8392
8491
  } | undefined;
8393
8492
  } | {
@@ -8762,6 +8861,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8762
8861
  })[];
8763
8862
  };
8764
8863
  draft?: boolean | undefined;
8864
+ deduplication?: {
8865
+ id: string;
8866
+ label: import("./TranslationConfig").TranslationConfig;
8867
+ query: import("./DeduplicationConfig").ClauseOutput;
8868
+ } | undefined;
8765
8869
  } | {
8766
8870
  type: "DECLARE";
8767
8871
  label: import("./TranslationConfig").TranslationConfig;
@@ -9329,14 +9433,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9329
9433
  hideLabel?: boolean | undefined;
9330
9434
  uncorrectable?: boolean | undefined;
9331
9435
  defaultValue?: {
9332
- firstname: string;
9333
- surname: string;
9436
+ firstname?: string | undefined;
9437
+ surname?: string | undefined;
9438
+ middlename?: string | undefined;
9334
9439
  } | undefined;
9335
9440
  configuration?: {
9441
+ name?: {
9442
+ firstname?: {
9443
+ required: boolean;
9444
+ } | undefined;
9445
+ surname?: {
9446
+ required: boolean;
9447
+ } | undefined;
9448
+ middlename?: {
9449
+ required: boolean;
9450
+ } | undefined;
9451
+ } | undefined;
9336
9452
  maxLength?: number | undefined;
9337
9453
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
9338
9454
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
9339
- includeMiddlename?: boolean | undefined;
9340
9455
  searchMode?: boolean | undefined;
9341
9456
  } | undefined;
9342
9457
  } | {
@@ -9711,6 +9826,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9711
9826
  })[];
9712
9827
  };
9713
9828
  draft?: boolean | undefined;
9829
+ deduplication?: {
9830
+ id: string;
9831
+ label: import("./TranslationConfig").TranslationConfig;
9832
+ query: import("./DeduplicationConfig").ClauseOutput;
9833
+ } | undefined;
9714
9834
  } | {
9715
9835
  type: "VALIDATE";
9716
9836
  label: import("./TranslationConfig").TranslationConfig;
@@ -10278,14 +10398,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10278
10398
  hideLabel?: boolean | undefined;
10279
10399
  uncorrectable?: boolean | undefined;
10280
10400
  defaultValue?: {
10281
- firstname: string;
10282
- surname: string;
10401
+ firstname?: string | undefined;
10402
+ surname?: string | undefined;
10403
+ middlename?: string | undefined;
10283
10404
  } | undefined;
10284
10405
  configuration?: {
10406
+ name?: {
10407
+ firstname?: {
10408
+ required: boolean;
10409
+ } | undefined;
10410
+ surname?: {
10411
+ required: boolean;
10412
+ } | undefined;
10413
+ middlename?: {
10414
+ required: boolean;
10415
+ } | undefined;
10416
+ } | undefined;
10285
10417
  maxLength?: number | undefined;
10286
10418
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
10287
10419
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
10288
- includeMiddlename?: boolean | undefined;
10289
10420
  searchMode?: boolean | undefined;
10290
10421
  } | undefined;
10291
10422
  } | {
@@ -10660,6 +10791,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10660
10791
  })[];
10661
10792
  };
10662
10793
  draft?: boolean | undefined;
10794
+ deduplication?: {
10795
+ id: string;
10796
+ label: import("./TranslationConfig").TranslationConfig;
10797
+ query: import("./DeduplicationConfig").ClauseOutput;
10798
+ } | undefined;
10663
10799
  } | {
10664
10800
  type: "REGISTER";
10665
10801
  label: import("./TranslationConfig").TranslationConfig;
@@ -11227,14 +11363,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11227
11363
  hideLabel?: boolean | undefined;
11228
11364
  uncorrectable?: boolean | undefined;
11229
11365
  defaultValue?: {
11230
- firstname: string;
11231
- surname: string;
11366
+ firstname?: string | undefined;
11367
+ surname?: string | undefined;
11368
+ middlename?: string | undefined;
11232
11369
  } | undefined;
11233
11370
  configuration?: {
11371
+ name?: {
11372
+ firstname?: {
11373
+ required: boolean;
11374
+ } | undefined;
11375
+ surname?: {
11376
+ required: boolean;
11377
+ } | undefined;
11378
+ middlename?: {
11379
+ required: boolean;
11380
+ } | undefined;
11381
+ } | undefined;
11234
11382
  maxLength?: number | undefined;
11235
11383
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
11236
11384
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
11237
- includeMiddlename?: boolean | undefined;
11238
11385
  searchMode?: boolean | undefined;
11239
11386
  } | undefined;
11240
11387
  } | {
@@ -11609,6 +11756,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11609
11756
  })[];
11610
11757
  };
11611
11758
  draft?: boolean | undefined;
11759
+ deduplication?: {
11760
+ id: string;
11761
+ label: import("./TranslationConfig").TranslationConfig;
11762
+ query: import("./DeduplicationConfig").ClauseOutput;
11763
+ } | undefined;
11612
11764
  } | {
11613
11765
  type: "REJECT";
11614
11766
  label: import("./TranslationConfig").TranslationConfig;
@@ -11620,6 +11772,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11620
11772
  conditional: import(".").JSONSchema;
11621
11773
  })[];
11622
11774
  draft?: boolean | undefined;
11775
+ deduplication?: {
11776
+ id: string;
11777
+ label: import("./TranslationConfig").TranslationConfig;
11778
+ query: import("./DeduplicationConfig").ClauseOutput;
11779
+ } | undefined;
11623
11780
  } | {
11624
11781
  type: "MARKED_AS_DUPLICATE";
11625
11782
  label: import("./TranslationConfig").TranslationConfig;
@@ -11631,6 +11788,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11631
11788
  conditional: import(".").JSONSchema;
11632
11789
  })[];
11633
11790
  draft?: boolean | undefined;
11791
+ deduplication?: {
11792
+ id: string;
11793
+ label: import("./TranslationConfig").TranslationConfig;
11794
+ query: import("./DeduplicationConfig").ClauseOutput;
11795
+ } | undefined;
11634
11796
  } | {
11635
11797
  type: "ARCHIVE";
11636
11798
  label: import("./TranslationConfig").TranslationConfig;
@@ -11642,6 +11804,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11642
11804
  conditional: import(".").JSONSchema;
11643
11805
  })[];
11644
11806
  draft?: boolean | undefined;
11807
+ deduplication?: {
11808
+ id: string;
11809
+ label: import("./TranslationConfig").TranslationConfig;
11810
+ query: import("./DeduplicationConfig").ClauseOutput;
11811
+ } | undefined;
11645
11812
  } | {
11646
11813
  type: "DELETE";
11647
11814
  label: import("./TranslationConfig").TranslationConfig;
@@ -11653,6 +11820,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11653
11820
  conditional: import(".").JSONSchema;
11654
11821
  })[];
11655
11822
  draft?: boolean | undefined;
11823
+ deduplication?: {
11824
+ id: string;
11825
+ label: import("./TranslationConfig").TranslationConfig;
11826
+ query: import("./DeduplicationConfig").ClauseOutput;
11827
+ } | undefined;
11656
11828
  } | {
11657
11829
  type: "PRINT_CERTIFICATE";
11658
11830
  label: import("./TranslationConfig").TranslationConfig;
@@ -12224,14 +12396,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12224
12396
  hideLabel?: boolean | undefined;
12225
12397
  uncorrectable?: boolean | undefined;
12226
12398
  defaultValue?: {
12227
- firstname: string;
12228
- surname: string;
12399
+ firstname?: string | undefined;
12400
+ surname?: string | undefined;
12401
+ middlename?: string | undefined;
12229
12402
  } | undefined;
12230
12403
  configuration?: {
12404
+ name?: {
12405
+ firstname?: {
12406
+ required: boolean;
12407
+ } | undefined;
12408
+ surname?: {
12409
+ required: boolean;
12410
+ } | undefined;
12411
+ middlename?: {
12412
+ required: boolean;
12413
+ } | undefined;
12414
+ } | undefined;
12231
12415
  maxLength?: number | undefined;
12232
12416
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
12233
12417
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
12234
- includeMiddlename?: boolean | undefined;
12235
12418
  searchMode?: boolean | undefined;
12236
12419
  } | undefined;
12237
12420
  } | {
@@ -13176,14 +13359,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13176
13359
  hideLabel?: boolean | undefined;
13177
13360
  uncorrectable?: boolean | undefined;
13178
13361
  defaultValue?: {
13179
- firstname: string;
13180
- surname: string;
13362
+ firstname?: string | undefined;
13363
+ surname?: string | undefined;
13364
+ middlename?: string | undefined;
13181
13365
  } | undefined;
13182
13366
  configuration?: {
13367
+ name?: {
13368
+ firstname?: {
13369
+ required: boolean;
13370
+ } | undefined;
13371
+ surname?: {
13372
+ required: boolean;
13373
+ } | undefined;
13374
+ middlename?: {
13375
+ required: boolean;
13376
+ } | undefined;
13377
+ } | undefined;
13183
13378
  maxLength?: number | undefined;
13184
13379
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
13185
13380
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
13186
- includeMiddlename?: boolean | undefined;
13187
13381
  searchMode?: boolean | undefined;
13188
13382
  } | undefined;
13189
13383
  } | {
@@ -13560,6 +13754,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13560
13754
  })[];
13561
13755
  };
13562
13756
  draft?: boolean | undefined;
13757
+ deduplication?: {
13758
+ id: string;
13759
+ label: import("./TranslationConfig").TranslationConfig;
13760
+ query: import("./DeduplicationConfig").ClauseOutput;
13761
+ } | undefined;
13563
13762
  } | {
13564
13763
  type: "REQUEST_CORRECTION";
13565
13764
  label: import("./TranslationConfig").TranslationConfig;
@@ -14131,14 +14330,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14131
14330
  hideLabel?: boolean | undefined;
14132
14331
  uncorrectable?: boolean | undefined;
14133
14332
  defaultValue?: {
14134
- firstname: string;
14135
- surname: string;
14333
+ firstname?: string | undefined;
14334
+ surname?: string | undefined;
14335
+ middlename?: string | undefined;
14136
14336
  } | undefined;
14137
14337
  configuration?: {
14338
+ name?: {
14339
+ firstname?: {
14340
+ required: boolean;
14341
+ } | undefined;
14342
+ surname?: {
14343
+ required: boolean;
14344
+ } | undefined;
14345
+ middlename?: {
14346
+ required: boolean;
14347
+ } | undefined;
14348
+ } | undefined;
14138
14349
  maxLength?: number | undefined;
14139
14350
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
14140
14351
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
14141
- includeMiddlename?: boolean | undefined;
14142
14352
  searchMode?: boolean | undefined;
14143
14353
  } | undefined;
14144
14354
  } | {
@@ -15083,14 +15293,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15083
15293
  hideLabel?: boolean | undefined;
15084
15294
  uncorrectable?: boolean | undefined;
15085
15295
  defaultValue?: {
15086
- firstname: string;
15087
- surname: string;
15296
+ firstname?: string | undefined;
15297
+ surname?: string | undefined;
15298
+ middlename?: string | undefined;
15088
15299
  } | undefined;
15089
15300
  configuration?: {
15301
+ name?: {
15302
+ firstname?: {
15303
+ required: boolean;
15304
+ } | undefined;
15305
+ surname?: {
15306
+ required: boolean;
15307
+ } | undefined;
15308
+ middlename?: {
15309
+ required: boolean;
15310
+ } | undefined;
15311
+ } | undefined;
15090
15312
  maxLength?: number | undefined;
15091
15313
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
15092
15314
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
15093
- includeMiddlename?: boolean | undefined;
15094
15315
  searchMode?: boolean | undefined;
15095
15316
  } | undefined;
15096
15317
  } | {
@@ -15467,6 +15688,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15467
15688
  })[];
15468
15689
  };
15469
15690
  draft?: boolean | undefined;
15691
+ deduplication?: {
15692
+ id: string;
15693
+ label: import("./TranslationConfig").TranslationConfig;
15694
+ query: import("./DeduplicationConfig").ClauseOutput;
15695
+ } | undefined;
15470
15696
  } | {
15471
15697
  type: "REJECT_CORRECTION";
15472
15698
  label: import("./TranslationConfig").TranslationConfig;
@@ -15478,6 +15704,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15478
15704
  conditional: import(".").JSONSchema;
15479
15705
  })[];
15480
15706
  draft?: boolean | undefined;
15707
+ deduplication?: {
15708
+ id: string;
15709
+ label: import("./TranslationConfig").TranslationConfig;
15710
+ query: import("./DeduplicationConfig").ClauseOutput;
15711
+ } | undefined;
15481
15712
  } | {
15482
15713
  type: "APPROVE_CORRECTION";
15483
15714
  label: import("./TranslationConfig").TranslationConfig;
@@ -15489,6 +15720,11 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15489
15720
  conditional: import(".").JSONSchema;
15490
15721
  })[];
15491
15722
  draft?: boolean | undefined;
15723
+ deduplication?: {
15724
+ id: string;
15725
+ label: import("./TranslationConfig").TranslationConfig;
15726
+ query: import("./DeduplicationConfig").ClauseOutput;
15727
+ } | undefined;
15492
15728
  })[];
15493
15729
  label: import("./TranslationConfig").TranslationConfig;
15494
15730
  summary: {
@@ -15511,11 +15747,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15511
15747
  emptyValueMessage?: import("./TranslationConfig").TranslationConfig | undefined;
15512
15748
  })[];
15513
15749
  };
15514
- deduplication: {
15515
- id: string;
15516
- label: import("./TranslationConfig").TranslationConfig;
15517
- query: import("./DeduplicationConfig").ClauseOutput;
15518
- }[];
15519
15750
  advancedSearch: {
15520
15751
  title: import("./TranslationConfig").TranslationConfig;
15521
15752
  fields: ({
@@ -15549,7 +15780,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15549
15780
  config: {
15550
15781
  type: "exact" | "fuzzy" | "range" | "within";
15551
15782
  };
15552
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
15783
+ fieldId: "event.status" | "event.updatedAt" | "event.trackingId" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
15553
15784
  fieldType: "event";
15554
15785
  options?: {
15555
15786
  value: string;