@opencrvs/toolkit 1.8.1-rc.38b4f18 → 1.8.1-rc.448a7dd

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 (31) hide show
  1. package/dist/commons/api/router.d.ts +391 -392
  2. package/dist/commons/conditionals/validate.d.ts +11 -2
  3. package/dist/commons/events/ActionConfig.d.ts +3924 -642
  4. package/dist/commons/events/ActionDocument.d.ts +736 -736
  5. package/dist/commons/events/ActionInput.d.ts +600 -600
  6. package/dist/commons/events/AdvancedSearchConfig.d.ts +49 -31
  7. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  8. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  9. package/dist/commons/events/Draft.d.ts +48 -48
  10. package/dist/commons/events/EventConfig.d.ts +1259 -240
  11. package/dist/commons/events/EventDocument.d.ts +432 -432
  12. package/dist/commons/events/EventIndex.d.ts +62 -62
  13. package/dist/commons/events/EventMetadata.d.ts +9 -9
  14. package/dist/commons/events/FieldConfig.d.ts +517 -71
  15. package/dist/commons/events/FieldTypeMapping.d.ts +16 -16
  16. package/dist/commons/events/FieldValue.d.ts +12 -12
  17. package/dist/commons/events/FormConfig.d.ts +1956 -378
  18. package/dist/commons/events/PageConfig.d.ts +524 -82
  19. package/dist/commons/events/WorkqueueConfig.d.ts +199 -164
  20. package/dist/commons/events/defineConfig.d.ts +181 -46
  21. package/dist/commons/events/event.d.ts +61 -7
  22. package/dist/commons/events/test.utils.d.ts +12 -12
  23. package/dist/commons/events/utils.d.ts +330 -90
  24. package/dist/conditionals/index.js +3 -2
  25. package/dist/events/index.js +252 -95
  26. package/package.json +1 -1
  27. package/tsconfig.json +1 -1
  28. package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
  29. package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
  30. package/dist/commons/conditionals/validate.test.d.ts +0 -2
  31. package/dist/commons/events/utils.test.d.ts +0 -2
@@ -569,15 +569,29 @@ 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
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
581
+ } | undefined;
582
+ surname?: {
583
+ required: boolean;
584
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
585
+ } | undefined;
586
+ middlename?: {
587
+ required: boolean;
588
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
589
+ } | undefined;
590
+ } | undefined;
591
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
576
592
  maxLength?: number | undefined;
577
593
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
578
594
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
579
- includeMiddlename?: boolean | undefined;
580
- searchMode?: boolean | undefined;
581
595
  } | undefined;
582
596
  } | {
583
597
  type: "PHONE";
@@ -910,7 +924,8 @@ export declare function getDeclarationPages(configuration: EventConfig): {
910
924
  postcodeOrZip?: string | undefined;
911
925
  } | undefined;
912
926
  configuration?: {
913
- searchMode?: boolean | undefined;
927
+ lineSeparator?: string | undefined;
928
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
914
929
  } | undefined;
915
930
  } | {
916
931
  type: "DATA";
@@ -1512,15 +1527,29 @@ export declare function getDeclaration(configuration: EventConfig): {
1512
1527
  hideLabel?: boolean | undefined;
1513
1528
  uncorrectable?: boolean | undefined;
1514
1529
  defaultValue?: {
1515
- firstname: string;
1516
- surname: string;
1530
+ firstname?: string | undefined;
1531
+ surname?: string | undefined;
1532
+ middlename?: string | undefined;
1517
1533
  } | undefined;
1518
1534
  configuration?: {
1535
+ name?: {
1536
+ firstname?: {
1537
+ required: boolean;
1538
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
1539
+ } | undefined;
1540
+ surname?: {
1541
+ required: boolean;
1542
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
1543
+ } | undefined;
1544
+ middlename?: {
1545
+ required: boolean;
1546
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
1547
+ } | undefined;
1548
+ } | undefined;
1549
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
1519
1550
  maxLength?: number | undefined;
1520
1551
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1521
1552
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1522
- includeMiddlename?: boolean | undefined;
1523
- searchMode?: boolean | undefined;
1524
1553
  } | undefined;
1525
1554
  } | {
1526
1555
  type: "PHONE";
@@ -1853,7 +1882,8 @@ export declare function getDeclaration(configuration: EventConfig): {
1853
1882
  postcodeOrZip?: string | undefined;
1854
1883
  } | undefined;
1855
1884
  configuration?: {
1856
- searchMode?: boolean | undefined;
1885
+ lineSeparator?: string | undefined;
1886
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
1857
1887
  } | undefined;
1858
1888
  } | {
1859
1889
  type: "DATA";
@@ -2454,15 +2484,29 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2454
2484
  hideLabel?: boolean | undefined;
2455
2485
  uncorrectable?: boolean | undefined;
2456
2486
  defaultValue?: {
2457
- firstname: string;
2458
- surname: string;
2487
+ firstname?: string | undefined;
2488
+ surname?: string | undefined;
2489
+ middlename?: string | undefined;
2459
2490
  } | undefined;
2460
2491
  configuration?: {
2492
+ name?: {
2493
+ firstname?: {
2494
+ required: boolean;
2495
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
2496
+ } | undefined;
2497
+ surname?: {
2498
+ required: boolean;
2499
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
2500
+ } | undefined;
2501
+ middlename?: {
2502
+ required: boolean;
2503
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
2504
+ } | undefined;
2505
+ } | undefined;
2506
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
2461
2507
  maxLength?: number | undefined;
2462
2508
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2463
2509
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2464
- includeMiddlename?: boolean | undefined;
2465
- searchMode?: boolean | undefined;
2466
2510
  } | undefined;
2467
2511
  } | {
2468
2512
  type: "PHONE";
@@ -2795,7 +2839,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2795
2839
  postcodeOrZip?: string | undefined;
2796
2840
  } | undefined;
2797
2841
  configuration?: {
2798
- searchMode?: boolean | undefined;
2842
+ lineSeparator?: string | undefined;
2843
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
2799
2844
  } | undefined;
2800
2845
  } | {
2801
2846
  type: "DATA";
@@ -3406,15 +3451,29 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3406
3451
  hideLabel?: boolean | undefined;
3407
3452
  uncorrectable?: boolean | undefined;
3408
3453
  defaultValue?: {
3409
- firstname: string;
3410
- surname: string;
3454
+ firstname?: string | undefined;
3455
+ surname?: string | undefined;
3456
+ middlename?: string | undefined;
3411
3457
  } | undefined;
3412
3458
  configuration?: {
3459
+ name?: {
3460
+ firstname?: {
3461
+ required: boolean;
3462
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
3463
+ } | undefined;
3464
+ surname?: {
3465
+ required: boolean;
3466
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
3467
+ } | undefined;
3468
+ middlename?: {
3469
+ required: boolean;
3470
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
3471
+ } | undefined;
3472
+ } | undefined;
3473
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
3413
3474
  maxLength?: number | undefined;
3414
3475
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3415
3476
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3416
- includeMiddlename?: boolean | undefined;
3417
- searchMode?: boolean | undefined;
3418
3477
  } | undefined;
3419
3478
  } | {
3420
3479
  type: "PHONE";
@@ -3747,7 +3806,8 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3747
3806
  postcodeOrZip?: string | undefined;
3748
3807
  } | undefined;
3749
3808
  configuration?: {
3750
- searchMode?: boolean | undefined;
3809
+ lineSeparator?: string | undefined;
3810
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
3751
3811
  } | undefined;
3752
3812
  } | {
3753
3813
  type: "DATA";
@@ -4343,15 +4403,29 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4343
4403
  hideLabel?: boolean | undefined;
4344
4404
  uncorrectable?: boolean | undefined;
4345
4405
  defaultValue?: {
4346
- firstname: string;
4347
- surname: string;
4406
+ firstname?: string | undefined;
4407
+ surname?: string | undefined;
4408
+ middlename?: string | undefined;
4348
4409
  } | undefined;
4349
4410
  configuration?: {
4411
+ name?: {
4412
+ firstname?: {
4413
+ required: boolean;
4414
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
4415
+ } | undefined;
4416
+ surname?: {
4417
+ required: boolean;
4418
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
4419
+ } | undefined;
4420
+ middlename?: {
4421
+ required: boolean;
4422
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
4423
+ } | undefined;
4424
+ } | undefined;
4425
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
4350
4426
  maxLength?: number | undefined;
4351
4427
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4352
4428
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4353
- includeMiddlename?: boolean | undefined;
4354
- searchMode?: boolean | undefined;
4355
4429
  } | undefined;
4356
4430
  } | {
4357
4431
  type: "PHONE";
@@ -4684,7 +4758,8 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4684
4758
  postcodeOrZip?: string | undefined;
4685
4759
  } | undefined;
4686
4760
  configuration?: {
4687
- searchMode?: boolean | undefined;
4761
+ lineSeparator?: string | undefined;
4762
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
4688
4763
  } | undefined;
4689
4764
  } | {
4690
4765
  type: "DATA";
@@ -4723,7 +4798,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4723
4798
  hideLabel?: boolean | undefined;
4724
4799
  uncorrectable?: boolean | undefined;
4725
4800
  })[];
4726
- export declare function getAllUniqueFields(eventConfig: EventConfig): import("./FieldConfig").Inferred[];
4801
+ export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
4727
4802
  export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
4728
4803
  /**
4729
4804
  * @TODO: Request correction should have same format as print certificate
@@ -5286,15 +5361,29 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5286
5361
  hideLabel?: boolean | undefined;
5287
5362
  uncorrectable?: boolean | undefined;
5288
5363
  defaultValue?: {
5289
- firstname: string;
5290
- surname: string;
5364
+ firstname?: string | undefined;
5365
+ surname?: string | undefined;
5366
+ middlename?: string | undefined;
5291
5367
  } | undefined;
5292
5368
  configuration?: {
5369
+ name?: {
5370
+ firstname?: {
5371
+ required: boolean;
5372
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
5373
+ } | undefined;
5374
+ surname?: {
5375
+ required: boolean;
5376
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
5377
+ } | undefined;
5378
+ middlename?: {
5379
+ required: boolean;
5380
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
5381
+ } | undefined;
5382
+ } | undefined;
5383
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
5293
5384
  maxLength?: number | undefined;
5294
5385
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5295
5386
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5296
- includeMiddlename?: boolean | undefined;
5297
- searchMode?: boolean | undefined;
5298
5387
  } | undefined;
5299
5388
  } | {
5300
5389
  type: "PHONE";
@@ -5627,7 +5716,8 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5627
5716
  postcodeOrZip?: string | undefined;
5628
5717
  } | undefined;
5629
5718
  configuration?: {
5630
- searchMode?: boolean | undefined;
5719
+ lineSeparator?: string | undefined;
5720
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
5631
5721
  } | undefined;
5632
5722
  } | {
5633
5723
  type: "DATA";
@@ -6222,15 +6312,29 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6222
6312
  hideLabel?: boolean | undefined;
6223
6313
  uncorrectable?: boolean | undefined;
6224
6314
  defaultValue?: {
6225
- firstname: string;
6226
- surname: string;
6315
+ firstname?: string | undefined;
6316
+ surname?: string | undefined;
6317
+ middlename?: string | undefined;
6227
6318
  } | undefined;
6228
6319
  configuration?: {
6320
+ name?: {
6321
+ firstname?: {
6322
+ required: boolean;
6323
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
6324
+ } | undefined;
6325
+ surname?: {
6326
+ required: boolean;
6327
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
6328
+ } | undefined;
6329
+ middlename?: {
6330
+ required: boolean;
6331
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
6332
+ } | undefined;
6333
+ } | undefined;
6334
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
6229
6335
  maxLength?: number | undefined;
6230
6336
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6231
6337
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6232
- includeMiddlename?: boolean | undefined;
6233
- searchMode?: boolean | undefined;
6234
6338
  } | undefined;
6235
6339
  } | {
6236
6340
  type: "PHONE";
@@ -6563,7 +6667,8 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6563
6667
  postcodeOrZip?: string | undefined;
6564
6668
  } | undefined;
6565
6669
  configuration?: {
6566
- searchMode?: boolean | undefined;
6670
+ lineSeparator?: string | undefined;
6671
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
6567
6672
  } | undefined;
6568
6673
  } | {
6569
6674
  type: "DATA";
@@ -6631,8 +6736,8 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
6631
6736
  surname: string;
6632
6737
  middlename?: string | undefined;
6633
6738
  } | {
6634
- firstname?: string | null | undefined;
6635
- surname?: string | null | undefined;
6739
+ firstname: string;
6740
+ surname: string;
6636
6741
  middlename?: string | null | undefined;
6637
6742
  } | {
6638
6743
  country: string;
@@ -6682,8 +6787,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6682
6787
  street?: string | null | undefined;
6683
6788
  zipCode?: string | null | undefined;
6684
6789
  } | {
6685
- firstname?: string | null | undefined;
6686
- surname?: string | null | undefined;
6790
+ firstname: string;
6791
+ surname: string;
6687
6792
  middlename?: string | null | undefined;
6688
6793
  } | {
6689
6794
  country: string;
@@ -6729,8 +6834,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6729
6834
  street?: string | null | undefined;
6730
6835
  zipCode?: string | null | undefined;
6731
6836
  } | {
6732
- firstname?: string | null | undefined;
6733
- surname?: string | null | undefined;
6837
+ firstname: string;
6838
+ surname: string;
6734
6839
  middlename?: string | null | undefined;
6735
6840
  } | {
6736
6841
  country: string;
@@ -6804,8 +6909,8 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
6804
6909
  surname: string;
6805
6910
  middlename?: string | undefined;
6806
6911
  } | {
6807
- firstname?: string | null | undefined;
6808
- surname?: string | null | undefined;
6912
+ firstname: string;
6913
+ surname: string;
6809
6914
  middlename?: string | null | undefined;
6810
6915
  } | {
6811
6916
  country: string;
@@ -7430,15 +7535,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7430
7535
  hideLabel?: boolean | undefined;
7431
7536
  uncorrectable?: boolean | undefined;
7432
7537
  defaultValue?: {
7433
- firstname: string;
7434
- surname: string;
7538
+ firstname?: string | undefined;
7539
+ surname?: string | undefined;
7540
+ middlename?: string | undefined;
7435
7541
  } | undefined;
7436
7542
  configuration?: {
7543
+ name?: {
7544
+ firstname?: {
7545
+ required: boolean;
7546
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
7547
+ } | undefined;
7548
+ surname?: {
7549
+ required: boolean;
7550
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
7551
+ } | undefined;
7552
+ middlename?: {
7553
+ required: boolean;
7554
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
7555
+ } | undefined;
7556
+ } | undefined;
7557
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
7437
7558
  maxLength?: number | undefined;
7438
7559
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7439
7560
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
7440
- includeMiddlename?: boolean | undefined;
7441
- searchMode?: boolean | undefined;
7442
7561
  } | undefined;
7443
7562
  } | {
7444
7563
  type: "PHONE";
@@ -7771,7 +7890,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7771
7890
  postcodeOrZip?: string | undefined;
7772
7891
  } | undefined;
7773
7892
  configuration?: {
7774
- searchMode?: boolean | undefined;
7893
+ lineSeparator?: string | undefined;
7894
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
7775
7895
  } | undefined;
7776
7896
  } | {
7777
7897
  type: "DATA";
@@ -8380,15 +8500,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8380
8500
  hideLabel?: boolean | undefined;
8381
8501
  uncorrectable?: boolean | undefined;
8382
8502
  defaultValue?: {
8383
- firstname: string;
8384
- surname: string;
8503
+ firstname?: string | undefined;
8504
+ surname?: string | undefined;
8505
+ middlename?: string | undefined;
8385
8506
  } | undefined;
8386
8507
  configuration?: {
8508
+ name?: {
8509
+ firstname?: {
8510
+ required: boolean;
8511
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
8512
+ } | undefined;
8513
+ surname?: {
8514
+ required: boolean;
8515
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
8516
+ } | undefined;
8517
+ middlename?: {
8518
+ required: boolean;
8519
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
8520
+ } | undefined;
8521
+ } | undefined;
8522
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
8387
8523
  maxLength?: number | undefined;
8388
8524
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8389
8525
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8390
- includeMiddlename?: boolean | undefined;
8391
- searchMode?: boolean | undefined;
8392
8526
  } | undefined;
8393
8527
  } | {
8394
8528
  type: "PHONE";
@@ -8721,7 +8855,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8721
8855
  postcodeOrZip?: string | undefined;
8722
8856
  } | undefined;
8723
8857
  configuration?: {
8724
- searchMode?: boolean | undefined;
8858
+ lineSeparator?: string | undefined;
8859
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
8725
8860
  } | undefined;
8726
8861
  } | {
8727
8862
  type: "DATA";
@@ -9329,15 +9464,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9329
9464
  hideLabel?: boolean | undefined;
9330
9465
  uncorrectable?: boolean | undefined;
9331
9466
  defaultValue?: {
9332
- firstname: string;
9333
- surname: string;
9467
+ firstname?: string | undefined;
9468
+ surname?: string | undefined;
9469
+ middlename?: string | undefined;
9334
9470
  } | undefined;
9335
9471
  configuration?: {
9472
+ name?: {
9473
+ firstname?: {
9474
+ required: boolean;
9475
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
9476
+ } | undefined;
9477
+ surname?: {
9478
+ required: boolean;
9479
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
9480
+ } | undefined;
9481
+ middlename?: {
9482
+ required: boolean;
9483
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
9484
+ } | undefined;
9485
+ } | undefined;
9486
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
9336
9487
  maxLength?: number | undefined;
9337
9488
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
9338
9489
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
9339
- includeMiddlename?: boolean | undefined;
9340
- searchMode?: boolean | undefined;
9341
9490
  } | undefined;
9342
9491
  } | {
9343
9492
  type: "PHONE";
@@ -9670,7 +9819,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9670
9819
  postcodeOrZip?: string | undefined;
9671
9820
  } | undefined;
9672
9821
  configuration?: {
9673
- searchMode?: boolean | undefined;
9822
+ lineSeparator?: string | undefined;
9823
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
9674
9824
  } | undefined;
9675
9825
  } | {
9676
9826
  type: "DATA";
@@ -10278,15 +10428,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10278
10428
  hideLabel?: boolean | undefined;
10279
10429
  uncorrectable?: boolean | undefined;
10280
10430
  defaultValue?: {
10281
- firstname: string;
10282
- surname: string;
10431
+ firstname?: string | undefined;
10432
+ surname?: string | undefined;
10433
+ middlename?: string | undefined;
10283
10434
  } | undefined;
10284
10435
  configuration?: {
10436
+ name?: {
10437
+ firstname?: {
10438
+ required: boolean;
10439
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
10440
+ } | undefined;
10441
+ surname?: {
10442
+ required: boolean;
10443
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
10444
+ } | undefined;
10445
+ middlename?: {
10446
+ required: boolean;
10447
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
10448
+ } | undefined;
10449
+ } | undefined;
10450
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
10285
10451
  maxLength?: number | undefined;
10286
10452
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
10287
10453
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
10288
- includeMiddlename?: boolean | undefined;
10289
- searchMode?: boolean | undefined;
10290
10454
  } | undefined;
10291
10455
  } | {
10292
10456
  type: "PHONE";
@@ -10619,7 +10783,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10619
10783
  postcodeOrZip?: string | undefined;
10620
10784
  } | undefined;
10621
10785
  configuration?: {
10622
- searchMode?: boolean | undefined;
10786
+ lineSeparator?: string | undefined;
10787
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
10623
10788
  } | undefined;
10624
10789
  } | {
10625
10790
  type: "DATA";
@@ -11227,15 +11392,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11227
11392
  hideLabel?: boolean | undefined;
11228
11393
  uncorrectable?: boolean | undefined;
11229
11394
  defaultValue?: {
11230
- firstname: string;
11231
- surname: string;
11395
+ firstname?: string | undefined;
11396
+ surname?: string | undefined;
11397
+ middlename?: string | undefined;
11232
11398
  } | undefined;
11233
11399
  configuration?: {
11400
+ name?: {
11401
+ firstname?: {
11402
+ required: boolean;
11403
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
11404
+ } | undefined;
11405
+ surname?: {
11406
+ required: boolean;
11407
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
11408
+ } | undefined;
11409
+ middlename?: {
11410
+ required: boolean;
11411
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
11412
+ } | undefined;
11413
+ } | undefined;
11414
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
11234
11415
  maxLength?: number | undefined;
11235
11416
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
11236
11417
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
11237
- includeMiddlename?: boolean | undefined;
11238
- searchMode?: boolean | undefined;
11239
11418
  } | undefined;
11240
11419
  } | {
11241
11420
  type: "PHONE";
@@ -11568,7 +11747,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11568
11747
  postcodeOrZip?: string | undefined;
11569
11748
  } | undefined;
11570
11749
  configuration?: {
11571
- searchMode?: boolean | undefined;
11750
+ lineSeparator?: string | undefined;
11751
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
11572
11752
  } | undefined;
11573
11753
  } | {
11574
11754
  type: "DATA";
@@ -12224,15 +12404,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12224
12404
  hideLabel?: boolean | undefined;
12225
12405
  uncorrectable?: boolean | undefined;
12226
12406
  defaultValue?: {
12227
- firstname: string;
12228
- surname: string;
12407
+ firstname?: string | undefined;
12408
+ surname?: string | undefined;
12409
+ middlename?: string | undefined;
12229
12410
  } | undefined;
12230
12411
  configuration?: {
12412
+ name?: {
12413
+ firstname?: {
12414
+ required: boolean;
12415
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
12416
+ } | undefined;
12417
+ surname?: {
12418
+ required: boolean;
12419
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
12420
+ } | undefined;
12421
+ middlename?: {
12422
+ required: boolean;
12423
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
12424
+ } | undefined;
12425
+ } | undefined;
12426
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
12231
12427
  maxLength?: number | undefined;
12232
12428
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
12233
12429
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
12234
- includeMiddlename?: boolean | undefined;
12235
- searchMode?: boolean | undefined;
12236
12430
  } | undefined;
12237
12431
  } | {
12238
12432
  type: "PHONE";
@@ -12565,7 +12759,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12565
12759
  postcodeOrZip?: string | undefined;
12566
12760
  } | undefined;
12567
12761
  configuration?: {
12568
- searchMode?: boolean | undefined;
12762
+ lineSeparator?: string | undefined;
12763
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
12569
12764
  } | undefined;
12570
12765
  } | {
12571
12766
  type: "DATA";
@@ -13176,15 +13371,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13176
13371
  hideLabel?: boolean | undefined;
13177
13372
  uncorrectable?: boolean | undefined;
13178
13373
  defaultValue?: {
13179
- firstname: string;
13180
- surname: string;
13374
+ firstname?: string | undefined;
13375
+ surname?: string | undefined;
13376
+ middlename?: string | undefined;
13181
13377
  } | undefined;
13182
13378
  configuration?: {
13379
+ name?: {
13380
+ firstname?: {
13381
+ required: boolean;
13382
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
13383
+ } | undefined;
13384
+ surname?: {
13385
+ required: boolean;
13386
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
13387
+ } | undefined;
13388
+ middlename?: {
13389
+ required: boolean;
13390
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
13391
+ } | undefined;
13392
+ } | undefined;
13393
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
13183
13394
  maxLength?: number | undefined;
13184
13395
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
13185
13396
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
13186
- includeMiddlename?: boolean | undefined;
13187
- searchMode?: boolean | undefined;
13188
13397
  } | undefined;
13189
13398
  } | {
13190
13399
  type: "PHONE";
@@ -13517,7 +13726,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13517
13726
  postcodeOrZip?: string | undefined;
13518
13727
  } | undefined;
13519
13728
  configuration?: {
13520
- searchMode?: boolean | undefined;
13729
+ lineSeparator?: string | undefined;
13730
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
13521
13731
  } | undefined;
13522
13732
  } | {
13523
13733
  type: "DATA";
@@ -14131,15 +14341,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14131
14341
  hideLabel?: boolean | undefined;
14132
14342
  uncorrectable?: boolean | undefined;
14133
14343
  defaultValue?: {
14134
- firstname: string;
14135
- surname: string;
14344
+ firstname?: string | undefined;
14345
+ surname?: string | undefined;
14346
+ middlename?: string | undefined;
14136
14347
  } | undefined;
14137
14348
  configuration?: {
14349
+ name?: {
14350
+ firstname?: {
14351
+ required: boolean;
14352
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
14353
+ } | undefined;
14354
+ surname?: {
14355
+ required: boolean;
14356
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
14357
+ } | undefined;
14358
+ middlename?: {
14359
+ required: boolean;
14360
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
14361
+ } | undefined;
14362
+ } | undefined;
14363
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
14138
14364
  maxLength?: number | undefined;
14139
14365
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
14140
14366
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
14141
- includeMiddlename?: boolean | undefined;
14142
- searchMode?: boolean | undefined;
14143
14367
  } | undefined;
14144
14368
  } | {
14145
14369
  type: "PHONE";
@@ -14472,7 +14696,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14472
14696
  postcodeOrZip?: string | undefined;
14473
14697
  } | undefined;
14474
14698
  configuration?: {
14475
- searchMode?: boolean | undefined;
14699
+ lineSeparator?: string | undefined;
14700
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
14476
14701
  } | undefined;
14477
14702
  } | {
14478
14703
  type: "DATA";
@@ -15083,15 +15308,29 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15083
15308
  hideLabel?: boolean | undefined;
15084
15309
  uncorrectable?: boolean | undefined;
15085
15310
  defaultValue?: {
15086
- firstname: string;
15087
- surname: string;
15311
+ firstname?: string | undefined;
15312
+ surname?: string | undefined;
15313
+ middlename?: string | undefined;
15088
15314
  } | undefined;
15089
15315
  configuration?: {
15316
+ name?: {
15317
+ firstname?: {
15318
+ required: boolean;
15319
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
15320
+ } | undefined;
15321
+ surname?: {
15322
+ required: boolean;
15323
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
15324
+ } | undefined;
15325
+ middlename?: {
15326
+ required: boolean;
15327
+ label?: import("./TranslationConfig").TranslationConfig | undefined;
15328
+ } | undefined;
15329
+ } | undefined;
15330
+ order?: ("firstname" | "surname" | "middlename")[] | undefined;
15090
15331
  maxLength?: number | undefined;
15091
15332
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
15092
15333
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
15093
- includeMiddlename?: boolean | undefined;
15094
- searchMode?: boolean | undefined;
15095
15334
  } | undefined;
15096
15335
  } | {
15097
15336
  type: "PHONE";
@@ -15424,7 +15663,8 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15424
15663
  postcodeOrZip?: string | undefined;
15425
15664
  } | undefined;
15426
15665
  configuration?: {
15427
- searchMode?: boolean | undefined;
15666
+ lineSeparator?: string | undefined;
15667
+ fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
15428
15668
  } | undefined;
15429
15669
  } | {
15430
15670
  type: "DATA";
@@ -15549,7 +15789,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15549
15789
  config: {
15550
15790
  type: "exact" | "fuzzy" | "range" | "within";
15551
15791
  };
15552
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
15792
+ fieldId: "event.status" | "event.updatedAt" | "event.trackingId" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
15553
15793
  fieldType: "event";
15554
15794
  options?: {
15555
15795
  value: string;