@opencrvs/toolkit 1.8.1-rc.38ac682 → 1.8.1-rc.3a45fd9

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 (40) hide show
  1. package/build.sh +5 -0
  2. package/dist/commons/api/router.d.ts +409 -392
  3. package/dist/commons/conditionals/validate.d.ts +11 -2
  4. package/dist/commons/events/ActionConfig.d.ts +3441 -5805
  5. package/dist/commons/events/ActionDocument.d.ts +1252 -716
  6. package/dist/commons/events/ActionInput.d.ts +626 -600
  7. package/dist/commons/events/AdvancedSearchConfig.d.ts +83 -65
  8. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  9. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  10. package/dist/commons/events/Draft.d.ts +48 -48
  11. package/dist/commons/events/EventConfig.d.ts +1401 -2663
  12. package/dist/commons/events/EventDocument.d.ts +451 -432
  13. package/dist/commons/events/EventIndex.d.ts +184 -62
  14. package/dist/commons/events/EventMetadata.d.ts +9 -9
  15. package/dist/commons/events/FieldConfig.d.ts +254 -343
  16. package/dist/commons/events/FieldType.d.ts +1 -2
  17. package/dist/commons/events/FieldTypeMapping.d.ts +18 -25
  18. package/dist/commons/events/FieldValue.d.ts +12 -12
  19. package/dist/commons/events/FormConfig.d.ts +1296 -2388
  20. package/dist/commons/events/PageConfig.d.ts +264 -508
  21. package/dist/commons/events/WorkqueueConfig.d.ts +288 -164
  22. package/dist/commons/events/defineConfig.d.ts +129 -309
  23. package/dist/commons/events/event.d.ts +68 -6
  24. package/dist/commons/events/field.d.ts +14 -0
  25. package/dist/commons/events/test.utils.d.ts +12 -12
  26. package/dist/commons/events/utils.d.ts +248 -568
  27. package/dist/commons/notification/UserNotifications.d.ts +543 -0
  28. package/dist/commons/notification/index.d.ts +2 -0
  29. package/dist/conditionals/index.js +3 -2
  30. package/dist/events/index.js +258 -114
  31. package/dist/notification/index.d.ts +2 -0
  32. package/dist/notification/index.d.ts.map +1 -0
  33. package/dist/notification/index.js +5354 -0
  34. package/package.json +1 -1
  35. package/tsconfig.json +3 -2
  36. package/tsconfig.tsbuildinfo +1 -1
  37. package/dist/commons/conditionals/conditionals.test.d.ts +0 -2
  38. package/dist/commons/conditionals/validate-address.test.d.ts +0 -2
  39. package/dist/commons/conditionals/validate.test.d.ts +0 -2
  40. package/dist/commons/events/utils.test.d.ts +0 -2
@@ -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
  } | {
@@ -948,37 +959,6 @@ export declare function getDeclarationPages(configuration: EventConfig): {
948
959
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
949
960
  hideLabel?: boolean | undefined;
950
961
  uncorrectable?: boolean | undefined;
951
- } | {
952
- type: "PRINT_BUTTON";
953
- id: string;
954
- label: import("./TranslationConfig").TranslationConfig;
955
- configuration: {
956
- template: string;
957
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
958
- };
959
- parent?: {
960
- $$field: string;
961
- } | undefined;
962
- validation?: {
963
- message: import("./TranslationConfig").TranslationConfig;
964
- validator: import(".").JSONSchema;
965
- }[] | undefined;
966
- required?: boolean | undefined;
967
- conditionals?: ({
968
- type: "SHOW";
969
- conditional: import(".").JSONSchema;
970
- } | {
971
- type: "ENABLE";
972
- conditional: import(".").JSONSchema;
973
- } | {
974
- type: "DISPLAY_ON_REVIEW";
975
- conditional: import(".").JSONSchema;
976
- })[] | undefined;
977
- secured?: boolean | undefined;
978
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
979
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
980
- hideLabel?: boolean | undefined;
981
- uncorrectable?: boolean | undefined;
982
962
  })[];
983
963
  conditional?: import(".").JSONSchema | undefined;
984
964
  }[];
@@ -1543,14 +1523,25 @@ export declare function getDeclaration(configuration: EventConfig): {
1543
1523
  hideLabel?: boolean | undefined;
1544
1524
  uncorrectable?: boolean | undefined;
1545
1525
  defaultValue?: {
1546
- firstname: string;
1547
- surname: string;
1526
+ firstname?: string | undefined;
1527
+ surname?: string | undefined;
1528
+ middlename?: string | undefined;
1548
1529
  } | undefined;
1549
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;
1550
1542
  maxLength?: number | undefined;
1551
1543
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1552
1544
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1553
- includeMiddlename?: boolean | undefined;
1554
1545
  searchMode?: boolean | undefined;
1555
1546
  } | undefined;
1556
1547
  } | {
@@ -1922,37 +1913,6 @@ export declare function getDeclaration(configuration: EventConfig): {
1922
1913
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1923
1914
  hideLabel?: boolean | undefined;
1924
1915
  uncorrectable?: boolean | undefined;
1925
- } | {
1926
- type: "PRINT_BUTTON";
1927
- id: string;
1928
- label: import("./TranslationConfig").TranslationConfig;
1929
- configuration: {
1930
- template: string;
1931
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
1932
- };
1933
- parent?: {
1934
- $$field: string;
1935
- } | undefined;
1936
- validation?: {
1937
- message: import("./TranslationConfig").TranslationConfig;
1938
- validator: import(".").JSONSchema;
1939
- }[] | undefined;
1940
- required?: boolean | undefined;
1941
- conditionals?: ({
1942
- type: "SHOW";
1943
- conditional: import(".").JSONSchema;
1944
- } | {
1945
- type: "ENABLE";
1946
- conditional: import(".").JSONSchema;
1947
- } | {
1948
- type: "DISPLAY_ON_REVIEW";
1949
- conditional: import(".").JSONSchema;
1950
- })[] | undefined;
1951
- secured?: boolean | undefined;
1952
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1953
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1954
- hideLabel?: boolean | undefined;
1955
- uncorrectable?: boolean | undefined;
1956
1916
  })[];
1957
1917
  conditional?: import(".").JSONSchema | undefined;
1958
1918
  }[];
@@ -2516,14 +2476,25 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2516
2476
  hideLabel?: boolean | undefined;
2517
2477
  uncorrectable?: boolean | undefined;
2518
2478
  defaultValue?: {
2519
- firstname: string;
2520
- surname: string;
2479
+ firstname?: string | undefined;
2480
+ surname?: string | undefined;
2481
+ middlename?: string | undefined;
2521
2482
  } | undefined;
2522
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;
2523
2495
  maxLength?: number | undefined;
2524
2496
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2525
2497
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2526
- includeMiddlename?: boolean | undefined;
2527
2498
  searchMode?: boolean | undefined;
2528
2499
  } | undefined;
2529
2500
  } | {
@@ -2895,37 +2866,6 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2895
2866
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2896
2867
  hideLabel?: boolean | undefined;
2897
2868
  uncorrectable?: boolean | undefined;
2898
- } | {
2899
- type: "PRINT_BUTTON";
2900
- id: string;
2901
- label: import("./TranslationConfig").TranslationConfig;
2902
- configuration: {
2903
- template: string;
2904
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
2905
- };
2906
- parent?: {
2907
- $$field: string;
2908
- } | undefined;
2909
- validation?: {
2910
- message: import("./TranslationConfig").TranslationConfig;
2911
- validator: import(".").JSONSchema;
2912
- }[] | undefined;
2913
- required?: boolean | undefined;
2914
- conditionals?: ({
2915
- type: "SHOW";
2916
- conditional: import(".").JSONSchema;
2917
- } | {
2918
- type: "ENABLE";
2919
- conditional: import(".").JSONSchema;
2920
- } | {
2921
- type: "DISPLAY_ON_REVIEW";
2922
- conditional: import(".").JSONSchema;
2923
- })[] | undefined;
2924
- secured?: boolean | undefined;
2925
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2926
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2927
- hideLabel?: boolean | undefined;
2928
- uncorrectable?: boolean | undefined;
2929
2869
  })[];
2930
2870
  conditional?: import(".").JSONSchema | undefined;
2931
2871
  } | {
@@ -3499,14 +3439,25 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3499
3439
  hideLabel?: boolean | undefined;
3500
3440
  uncorrectable?: boolean | undefined;
3501
3441
  defaultValue?: {
3502
- firstname: string;
3503
- surname: string;
3442
+ firstname?: string | undefined;
3443
+ surname?: string | undefined;
3444
+ middlename?: string | undefined;
3504
3445
  } | undefined;
3505
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;
3506
3458
  maxLength?: number | undefined;
3507
3459
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3508
3460
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3509
- includeMiddlename?: boolean | undefined;
3510
3461
  searchMode?: boolean | undefined;
3511
3462
  } | undefined;
3512
3463
  } | {
@@ -3878,37 +3829,6 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3878
3829
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3879
3830
  hideLabel?: boolean | undefined;
3880
3831
  uncorrectable?: boolean | undefined;
3881
- } | {
3882
- type: "PRINT_BUTTON";
3883
- id: string;
3884
- label: import("./TranslationConfig").TranslationConfig;
3885
- configuration: {
3886
- template: string;
3887
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
3888
- };
3889
- parent?: {
3890
- $$field: string;
3891
- } | undefined;
3892
- validation?: {
3893
- message: import("./TranslationConfig").TranslationConfig;
3894
- validator: import(".").JSONSchema;
3895
- }[] | undefined;
3896
- required?: boolean | undefined;
3897
- conditionals?: ({
3898
- type: "SHOW";
3899
- conditional: import(".").JSONSchema;
3900
- } | {
3901
- type: "ENABLE";
3902
- conditional: import(".").JSONSchema;
3903
- } | {
3904
- type: "DISPLAY_ON_REVIEW";
3905
- conditional: import(".").JSONSchema;
3906
- })[] | undefined;
3907
- secured?: boolean | undefined;
3908
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3909
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3910
- hideLabel?: boolean | undefined;
3911
- uncorrectable?: boolean | undefined;
3912
3832
  })[];
3913
3833
  conditional?: import(".").JSONSchema | undefined;
3914
3834
  })[];
@@ -4467,14 +4387,25 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4467
4387
  hideLabel?: boolean | undefined;
4468
4388
  uncorrectable?: boolean | undefined;
4469
4389
  defaultValue?: {
4470
- firstname: string;
4471
- surname: string;
4390
+ firstname?: string | undefined;
4391
+ surname?: string | undefined;
4392
+ middlename?: string | undefined;
4472
4393
  } | undefined;
4473
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;
4474
4406
  maxLength?: number | undefined;
4475
4407
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4476
4408
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4477
- includeMiddlename?: boolean | undefined;
4478
4409
  searchMode?: boolean | undefined;
4479
4410
  } | undefined;
4480
4411
  } | {
@@ -4846,39 +4777,8 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4846
4777
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4847
4778
  hideLabel?: boolean | undefined;
4848
4779
  uncorrectable?: boolean | undefined;
4849
- } | {
4850
- type: "PRINT_BUTTON";
4851
- id: string;
4852
- label: import("./TranslationConfig").TranslationConfig;
4853
- configuration: {
4854
- template: string;
4855
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
4856
- };
4857
- parent?: {
4858
- $$field: string;
4859
- } | undefined;
4860
- validation?: {
4861
- message: import("./TranslationConfig").TranslationConfig;
4862
- validator: import(".").JSONSchema;
4863
- }[] | undefined;
4864
- required?: boolean | undefined;
4865
- conditionals?: ({
4866
- type: "SHOW";
4867
- conditional: import(".").JSONSchema;
4868
- } | {
4869
- type: "ENABLE";
4870
- conditional: import(".").JSONSchema;
4871
- } | {
4872
- type: "DISPLAY_ON_REVIEW";
4873
- conditional: import(".").JSONSchema;
4874
- })[] | undefined;
4875
- secured?: boolean | undefined;
4876
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4877
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4878
- hideLabel?: boolean | undefined;
4879
- uncorrectable?: boolean | undefined;
4880
4780
  })[];
4881
- export declare function getAllUniqueFields(eventConfig: EventConfig): import("./FieldConfig").Inferred[];
4781
+ export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
4882
4782
  export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
4883
4783
  /**
4884
4784
  * @TODO: Request correction should have same format as print certificate
@@ -5441,14 +5341,25 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5441
5341
  hideLabel?: boolean | undefined;
5442
5342
  uncorrectable?: boolean | undefined;
5443
5343
  defaultValue?: {
5444
- firstname: string;
5445
- surname: string;
5344
+ firstname?: string | undefined;
5345
+ surname?: string | undefined;
5346
+ middlename?: string | undefined;
5446
5347
  } | undefined;
5447
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;
5448
5360
  maxLength?: number | undefined;
5449
5361
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5450
5362
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5451
- includeMiddlename?: boolean | undefined;
5452
5363
  searchMode?: boolean | undefined;
5453
5364
  } | undefined;
5454
5365
  } | {
@@ -5820,37 +5731,6 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5820
5731
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5821
5732
  hideLabel?: boolean | undefined;
5822
5733
  uncorrectable?: boolean | undefined;
5823
- } | {
5824
- type: "PRINT_BUTTON";
5825
- id: string;
5826
- label: import("./TranslationConfig").TranslationConfig;
5827
- configuration: {
5828
- template: string;
5829
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
5830
- };
5831
- parent?: {
5832
- $$field: string;
5833
- } | undefined;
5834
- validation?: {
5835
- message: import("./TranslationConfig").TranslationConfig;
5836
- validator: import(".").JSONSchema;
5837
- }[] | undefined;
5838
- required?: boolean | undefined;
5839
- conditionals?: ({
5840
- type: "SHOW";
5841
- conditional: import(".").JSONSchema;
5842
- } | {
5843
- type: "ENABLE";
5844
- conditional: import(".").JSONSchema;
5845
- } | {
5846
- type: "DISPLAY_ON_REVIEW";
5847
- conditional: import(".").JSONSchema;
5848
- })[] | undefined;
5849
- secured?: boolean | undefined;
5850
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5851
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5852
- hideLabel?: boolean | undefined;
5853
- uncorrectable?: boolean | undefined;
5854
5734
  })[];
5855
5735
  };
5856
5736
  export declare function getActionReviewFields(configuration: EventConfig, actionType: DeclarationActionType): ({
@@ -6408,14 +6288,25 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6408
6288
  hideLabel?: boolean | undefined;
6409
6289
  uncorrectable?: boolean | undefined;
6410
6290
  defaultValue?: {
6411
- firstname: string;
6412
- surname: string;
6291
+ firstname?: string | undefined;
6292
+ surname?: string | undefined;
6293
+ middlename?: string | undefined;
6413
6294
  } | undefined;
6414
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;
6415
6307
  maxLength?: number | undefined;
6416
6308
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6417
6309
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6418
- includeMiddlename?: boolean | undefined;
6419
6310
  searchMode?: boolean | undefined;
6420
6311
  } | undefined;
6421
6312
  } | {
@@ -6787,37 +6678,6 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6787
6678
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6788
6679
  hideLabel?: boolean | undefined;
6789
6680
  uncorrectable?: boolean | undefined;
6790
- } | {
6791
- type: "PRINT_BUTTON";
6792
- id: string;
6793
- label: import("./TranslationConfig").TranslationConfig;
6794
- configuration: {
6795
- template: string;
6796
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
6797
- };
6798
- parent?: {
6799
- $$field: string;
6800
- } | undefined;
6801
- validation?: {
6802
- message: import("./TranslationConfig").TranslationConfig;
6803
- validator: import(".").JSONSchema;
6804
- }[] | undefined;
6805
- required?: boolean | undefined;
6806
- conditionals?: ({
6807
- type: "SHOW";
6808
- conditional: import(".").JSONSchema;
6809
- } | {
6810
- type: "ENABLE";
6811
- conditional: import(".").JSONSchema;
6812
- } | {
6813
- type: "DISPLAY_ON_REVIEW";
6814
- conditional: import(".").JSONSchema;
6815
- })[] | undefined;
6816
- secured?: boolean | undefined;
6817
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6818
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6819
- hideLabel?: boolean | undefined;
6820
- uncorrectable?: boolean | undefined;
6821
6681
  })[];
6822
6682
  export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate): boolean;
6823
6683
  export declare function omitHiddenFields<T extends EventState | ActionUpdate>(fields: FieldConfig[], values: T, visibleVerificationPageIds?: string[]): Partial<T>;
@@ -6848,8 +6708,8 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
6848
6708
  surname: string;
6849
6709
  middlename?: string | undefined;
6850
6710
  } | {
6851
- firstname?: string | null | undefined;
6852
- surname?: string | null | undefined;
6711
+ firstname: string;
6712
+ surname: string;
6853
6713
  middlename?: string | null | undefined;
6854
6714
  } | {
6855
6715
  country: string;
@@ -6899,8 +6759,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6899
6759
  street?: string | null | undefined;
6900
6760
  zipCode?: string | null | undefined;
6901
6761
  } | {
6902
- firstname?: string | null | undefined;
6903
- surname?: string | null | undefined;
6762
+ firstname: string;
6763
+ surname: string;
6904
6764
  middlename?: string | null | undefined;
6905
6765
  } | {
6906
6766
  country: string;
@@ -6946,8 +6806,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6946
6806
  street?: string | null | undefined;
6947
6807
  zipCode?: string | null | undefined;
6948
6808
  } | {
6949
- firstname?: string | null | undefined;
6950
- surname?: string | null | undefined;
6809
+ firstname: string;
6810
+ surname: string;
6951
6811
  middlename?: string | null | undefined;
6952
6812
  } | {
6953
6813
  country: string;
@@ -7021,8 +6881,8 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
7021
6881
  surname: string;
7022
6882
  middlename?: string | undefined;
7023
6883
  } | {
7024
- firstname?: string | null | undefined;
7025
- surname?: string | null | undefined;
6884
+ firstname: string;
6885
+ surname: string;
7026
6886
  middlename?: string | null | undefined;
7027
6887
  } | {
7028
6888
  country: string;
@@ -7647,14 +7507,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7647
7507
  hideLabel?: boolean | undefined;
7648
7508
  uncorrectable?: boolean | undefined;
7649
7509
  defaultValue?: {
7650
- firstname: string;
7651
- surname: string;
7510
+ firstname?: string | undefined;
7511
+ surname?: string | undefined;
7512
+ middlename?: string | undefined;
7652
7513
  } | undefined;
7653
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;
7654
7526
  maxLength?: number | undefined;
7655
7527
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7656
7528
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
7657
- includeMiddlename?: boolean | undefined;
7658
7529
  searchMode?: boolean | undefined;
7659
7530
  } | undefined;
7660
7531
  } | {
@@ -7986,53 +7857,22 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7986
7857
  addressLine2?: string | undefined;
7987
7858
  addressLine3?: string | undefined;
7988
7859
  postcodeOrZip?: string | undefined;
7989
- } | undefined;
7990
- configuration?: {
7991
- searchMode?: boolean | undefined;
7992
- } | undefined;
7993
- } | {
7994
- type: "DATA";
7995
- id: string;
7996
- label: import("./TranslationConfig").TranslationConfig;
7997
- configuration: {
7998
- data: ({
7999
- value: string | import("./TranslationConfig").TranslationConfig;
8000
- label: import("./TranslationConfig").TranslationConfig;
8001
- } | {
8002
- fieldId: string;
8003
- })[];
8004
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
8005
- };
8006
- parent?: {
8007
- $$field: string;
8008
- } | undefined;
8009
- validation?: {
8010
- message: import("./TranslationConfig").TranslationConfig;
8011
- validator: import(".").JSONSchema;
8012
- }[] | undefined;
8013
- required?: boolean | undefined;
8014
- conditionals?: ({
8015
- type: "SHOW";
8016
- conditional: import(".").JSONSchema;
8017
- } | {
8018
- type: "ENABLE";
8019
- conditional: import(".").JSONSchema;
8020
- } | {
8021
- type: "DISPLAY_ON_REVIEW";
8022
- conditional: import(".").JSONSchema;
8023
- })[] | undefined;
8024
- secured?: boolean | undefined;
8025
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8026
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8027
- hideLabel?: boolean | undefined;
8028
- uncorrectable?: boolean | undefined;
7860
+ } | undefined;
7861
+ configuration?: {
7862
+ searchMode?: boolean | undefined;
7863
+ } | undefined;
8029
7864
  } | {
8030
- type: "PRINT_BUTTON";
7865
+ type: "DATA";
8031
7866
  id: string;
8032
7867
  label: import("./TranslationConfig").TranslationConfig;
8033
7868
  configuration: {
8034
- template: string;
8035
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
7869
+ data: ({
7870
+ value: string | import("./TranslationConfig").TranslationConfig;
7871
+ label: import("./TranslationConfig").TranslationConfig;
7872
+ } | {
7873
+ fieldId: string;
7874
+ })[];
7875
+ subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
8036
7876
  };
8037
7877
  parent?: {
8038
7878
  $$field: string;
@@ -8628,14 +8468,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8628
8468
  hideLabel?: boolean | undefined;
8629
8469
  uncorrectable?: boolean | undefined;
8630
8470
  defaultValue?: {
8631
- firstname: string;
8632
- surname: string;
8471
+ firstname?: string | undefined;
8472
+ surname?: string | undefined;
8473
+ middlename?: string | undefined;
8633
8474
  } | undefined;
8634
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;
8635
8487
  maxLength?: number | undefined;
8636
8488
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8637
8489
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8638
- includeMiddlename?: boolean | undefined;
8639
8490
  searchMode?: boolean | undefined;
8640
8491
  } | undefined;
8641
8492
  } | {
@@ -9007,37 +8858,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9007
8858
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9008
8859
  hideLabel?: boolean | undefined;
9009
8860
  uncorrectable?: boolean | undefined;
9010
- } | {
9011
- type: "PRINT_BUTTON";
9012
- id: string;
9013
- label: import("./TranslationConfig").TranslationConfig;
9014
- configuration: {
9015
- template: string;
9016
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
9017
- };
9018
- parent?: {
9019
- $$field: string;
9020
- } | undefined;
9021
- validation?: {
9022
- message: import("./TranslationConfig").TranslationConfig;
9023
- validator: import(".").JSONSchema;
9024
- }[] | undefined;
9025
- required?: boolean | undefined;
9026
- conditionals?: ({
9027
- type: "SHOW";
9028
- conditional: import(".").JSONSchema;
9029
- } | {
9030
- type: "ENABLE";
9031
- conditional: import(".").JSONSchema;
9032
- } | {
9033
- type: "DISPLAY_ON_REVIEW";
9034
- conditional: import(".").JSONSchema;
9035
- })[] | undefined;
9036
- secured?: boolean | undefined;
9037
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
9038
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9039
- hideLabel?: boolean | undefined;
9040
- uncorrectable?: boolean | undefined;
9041
8861
  })[];
9042
8862
  };
9043
8863
  draft?: boolean | undefined;
@@ -9608,14 +9428,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9608
9428
  hideLabel?: boolean | undefined;
9609
9429
  uncorrectable?: boolean | undefined;
9610
9430
  defaultValue?: {
9611
- firstname: string;
9612
- surname: string;
9431
+ firstname?: string | undefined;
9432
+ surname?: string | undefined;
9433
+ middlename?: string | undefined;
9613
9434
  } | undefined;
9614
9435
  configuration?: {
9436
+ name?: {
9437
+ firstname?: {
9438
+ required: boolean;
9439
+ } | undefined;
9440
+ surname?: {
9441
+ required: boolean;
9442
+ } | undefined;
9443
+ middlename?: {
9444
+ required: boolean;
9445
+ } | undefined;
9446
+ } | undefined;
9615
9447
  maxLength?: number | undefined;
9616
9448
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
9617
9449
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
9618
- includeMiddlename?: boolean | undefined;
9619
9450
  searchMode?: boolean | undefined;
9620
9451
  } | undefined;
9621
9452
  } | {
@@ -9987,37 +9818,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9987
9818
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9988
9819
  hideLabel?: boolean | undefined;
9989
9820
  uncorrectable?: boolean | undefined;
9990
- } | {
9991
- type: "PRINT_BUTTON";
9992
- id: string;
9993
- label: import("./TranslationConfig").TranslationConfig;
9994
- configuration: {
9995
- template: string;
9996
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
9997
- };
9998
- parent?: {
9999
- $$field: string;
10000
- } | undefined;
10001
- validation?: {
10002
- message: import("./TranslationConfig").TranslationConfig;
10003
- validator: import(".").JSONSchema;
10004
- }[] | undefined;
10005
- required?: boolean | undefined;
10006
- conditionals?: ({
10007
- type: "SHOW";
10008
- conditional: import(".").JSONSchema;
10009
- } | {
10010
- type: "ENABLE";
10011
- conditional: import(".").JSONSchema;
10012
- } | {
10013
- type: "DISPLAY_ON_REVIEW";
10014
- conditional: import(".").JSONSchema;
10015
- })[] | undefined;
10016
- secured?: boolean | undefined;
10017
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
10018
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
10019
- hideLabel?: boolean | undefined;
10020
- uncorrectable?: boolean | undefined;
10021
9821
  })[];
10022
9822
  };
10023
9823
  draft?: boolean | undefined;
@@ -10588,14 +10388,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10588
10388
  hideLabel?: boolean | undefined;
10589
10389
  uncorrectable?: boolean | undefined;
10590
10390
  defaultValue?: {
10591
- firstname: string;
10592
- surname: string;
10391
+ firstname?: string | undefined;
10392
+ surname?: string | undefined;
10393
+ middlename?: string | undefined;
10593
10394
  } | undefined;
10594
10395
  configuration?: {
10396
+ name?: {
10397
+ firstname?: {
10398
+ required: boolean;
10399
+ } | undefined;
10400
+ surname?: {
10401
+ required: boolean;
10402
+ } | undefined;
10403
+ middlename?: {
10404
+ required: boolean;
10405
+ } | undefined;
10406
+ } | undefined;
10595
10407
  maxLength?: number | undefined;
10596
10408
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
10597
10409
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
10598
- includeMiddlename?: boolean | undefined;
10599
10410
  searchMode?: boolean | undefined;
10600
10411
  } | undefined;
10601
10412
  } | {
@@ -10967,37 +10778,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10967
10778
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
10968
10779
  hideLabel?: boolean | undefined;
10969
10780
  uncorrectable?: boolean | undefined;
10970
- } | {
10971
- type: "PRINT_BUTTON";
10972
- id: string;
10973
- label: import("./TranslationConfig").TranslationConfig;
10974
- configuration: {
10975
- template: string;
10976
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
10977
- };
10978
- parent?: {
10979
- $$field: string;
10980
- } | undefined;
10981
- validation?: {
10982
- message: import("./TranslationConfig").TranslationConfig;
10983
- validator: import(".").JSONSchema;
10984
- }[] | undefined;
10985
- required?: boolean | undefined;
10986
- conditionals?: ({
10987
- type: "SHOW";
10988
- conditional: import(".").JSONSchema;
10989
- } | {
10990
- type: "ENABLE";
10991
- conditional: import(".").JSONSchema;
10992
- } | {
10993
- type: "DISPLAY_ON_REVIEW";
10994
- conditional: import(".").JSONSchema;
10995
- })[] | undefined;
10996
- secured?: boolean | undefined;
10997
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
10998
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
10999
- hideLabel?: boolean | undefined;
11000
- uncorrectable?: boolean | undefined;
11001
10781
  })[];
11002
10782
  };
11003
10783
  draft?: boolean | undefined;
@@ -11568,14 +11348,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11568
11348
  hideLabel?: boolean | undefined;
11569
11349
  uncorrectable?: boolean | undefined;
11570
11350
  defaultValue?: {
11571
- firstname: string;
11572
- surname: string;
11351
+ firstname?: string | undefined;
11352
+ surname?: string | undefined;
11353
+ middlename?: string | undefined;
11573
11354
  } | undefined;
11574
11355
  configuration?: {
11356
+ name?: {
11357
+ firstname?: {
11358
+ required: boolean;
11359
+ } | undefined;
11360
+ surname?: {
11361
+ required: boolean;
11362
+ } | undefined;
11363
+ middlename?: {
11364
+ required: boolean;
11365
+ } | undefined;
11366
+ } | undefined;
11575
11367
  maxLength?: number | undefined;
11576
11368
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
11577
11369
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
11578
- includeMiddlename?: boolean | undefined;
11579
11370
  searchMode?: boolean | undefined;
11580
11371
  } | undefined;
11581
11372
  } | {
@@ -11947,37 +11738,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11947
11738
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
11948
11739
  hideLabel?: boolean | undefined;
11949
11740
  uncorrectable?: boolean | undefined;
11950
- } | {
11951
- type: "PRINT_BUTTON";
11952
- id: string;
11953
- label: import("./TranslationConfig").TranslationConfig;
11954
- configuration: {
11955
- template: string;
11956
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
11957
- };
11958
- parent?: {
11959
- $$field: string;
11960
- } | undefined;
11961
- validation?: {
11962
- message: import("./TranslationConfig").TranslationConfig;
11963
- validator: import(".").JSONSchema;
11964
- }[] | undefined;
11965
- required?: boolean | undefined;
11966
- conditionals?: ({
11967
- type: "SHOW";
11968
- conditional: import(".").JSONSchema;
11969
- } | {
11970
- type: "ENABLE";
11971
- conditional: import(".").JSONSchema;
11972
- } | {
11973
- type: "DISPLAY_ON_REVIEW";
11974
- conditional: import(".").JSONSchema;
11975
- })[] | undefined;
11976
- secured?: boolean | undefined;
11977
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
11978
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
11979
- hideLabel?: boolean | undefined;
11980
- uncorrectable?: boolean | undefined;
11981
11741
  })[];
11982
11742
  };
11983
11743
  draft?: boolean | undefined;
@@ -12596,14 +12356,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12596
12356
  hideLabel?: boolean | undefined;
12597
12357
  uncorrectable?: boolean | undefined;
12598
12358
  defaultValue?: {
12599
- firstname: string;
12600
- surname: string;
12359
+ firstname?: string | undefined;
12360
+ surname?: string | undefined;
12361
+ middlename?: string | undefined;
12601
12362
  } | undefined;
12602
12363
  configuration?: {
12364
+ name?: {
12365
+ firstname?: {
12366
+ required: boolean;
12367
+ } | undefined;
12368
+ surname?: {
12369
+ required: boolean;
12370
+ } | undefined;
12371
+ middlename?: {
12372
+ required: boolean;
12373
+ } | undefined;
12374
+ } | undefined;
12603
12375
  maxLength?: number | undefined;
12604
12376
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
12605
12377
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
12606
- includeMiddlename?: boolean | undefined;
12607
12378
  searchMode?: boolean | undefined;
12608
12379
  } | undefined;
12609
12380
  } | {
@@ -12975,37 +12746,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12975
12746
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
12976
12747
  hideLabel?: boolean | undefined;
12977
12748
  uncorrectable?: boolean | undefined;
12978
- } | {
12979
- type: "PRINT_BUTTON";
12980
- id: string;
12981
- label: import("./TranslationConfig").TranslationConfig;
12982
- configuration: {
12983
- template: string;
12984
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
12985
- };
12986
- parent?: {
12987
- $$field: string;
12988
- } | undefined;
12989
- validation?: {
12990
- message: import("./TranslationConfig").TranslationConfig;
12991
- validator: import(".").JSONSchema;
12992
- }[] | undefined;
12993
- required?: boolean | undefined;
12994
- conditionals?: ({
12995
- type: "SHOW";
12996
- conditional: import(".").JSONSchema;
12997
- } | {
12998
- type: "ENABLE";
12999
- conditional: import(".").JSONSchema;
13000
- } | {
13001
- type: "DISPLAY_ON_REVIEW";
13002
- conditional: import(".").JSONSchema;
13003
- })[] | undefined;
13004
- secured?: boolean | undefined;
13005
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
13006
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
13007
- hideLabel?: boolean | undefined;
13008
- uncorrectable?: boolean | undefined;
13009
12749
  })[];
13010
12750
  conditional?: import(".").JSONSchema | undefined;
13011
12751
  } | {
@@ -13579,14 +13319,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13579
13319
  hideLabel?: boolean | undefined;
13580
13320
  uncorrectable?: boolean | undefined;
13581
13321
  defaultValue?: {
13582
- firstname: string;
13583
- surname: string;
13322
+ firstname?: string | undefined;
13323
+ surname?: string | undefined;
13324
+ middlename?: string | undefined;
13584
13325
  } | undefined;
13585
13326
  configuration?: {
13327
+ name?: {
13328
+ firstname?: {
13329
+ required: boolean;
13330
+ } | undefined;
13331
+ surname?: {
13332
+ required: boolean;
13333
+ } | undefined;
13334
+ middlename?: {
13335
+ required: boolean;
13336
+ } | undefined;
13337
+ } | undefined;
13586
13338
  maxLength?: number | undefined;
13587
13339
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
13588
13340
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
13589
- includeMiddlename?: boolean | undefined;
13590
13341
  searchMode?: boolean | undefined;
13591
13342
  } | undefined;
13592
13343
  } | {
@@ -13958,37 +13709,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13958
13709
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
13959
13710
  hideLabel?: boolean | undefined;
13960
13711
  uncorrectable?: boolean | undefined;
13961
- } | {
13962
- type: "PRINT_BUTTON";
13963
- id: string;
13964
- label: import("./TranslationConfig").TranslationConfig;
13965
- configuration: {
13966
- template: string;
13967
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
13968
- };
13969
- parent?: {
13970
- $$field: string;
13971
- } | undefined;
13972
- validation?: {
13973
- message: import("./TranslationConfig").TranslationConfig;
13974
- validator: import(".").JSONSchema;
13975
- }[] | undefined;
13976
- required?: boolean | undefined;
13977
- conditionals?: ({
13978
- type: "SHOW";
13979
- conditional: import(".").JSONSchema;
13980
- } | {
13981
- type: "ENABLE";
13982
- conditional: import(".").JSONSchema;
13983
- } | {
13984
- type: "DISPLAY_ON_REVIEW";
13985
- conditional: import(".").JSONSchema;
13986
- })[] | undefined;
13987
- secured?: boolean | undefined;
13988
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
13989
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
13990
- hideLabel?: boolean | undefined;
13991
- uncorrectable?: boolean | undefined;
13992
13712
  })[];
13993
13713
  conditional?: import(".").JSONSchema | undefined;
13994
13714
  })[];
@@ -14565,14 +14285,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14565
14285
  hideLabel?: boolean | undefined;
14566
14286
  uncorrectable?: boolean | undefined;
14567
14287
  defaultValue?: {
14568
- firstname: string;
14569
- surname: string;
14288
+ firstname?: string | undefined;
14289
+ surname?: string | undefined;
14290
+ middlename?: string | undefined;
14570
14291
  } | undefined;
14571
14292
  configuration?: {
14293
+ name?: {
14294
+ firstname?: {
14295
+ required: boolean;
14296
+ } | undefined;
14297
+ surname?: {
14298
+ required: boolean;
14299
+ } | undefined;
14300
+ middlename?: {
14301
+ required: boolean;
14302
+ } | undefined;
14303
+ } | undefined;
14572
14304
  maxLength?: number | undefined;
14573
14305
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
14574
14306
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
14575
- includeMiddlename?: boolean | undefined;
14576
14307
  searchMode?: boolean | undefined;
14577
14308
  } | undefined;
14578
14309
  } | {
@@ -14944,37 +14675,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14944
14675
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
14945
14676
  hideLabel?: boolean | undefined;
14946
14677
  uncorrectable?: boolean | undefined;
14947
- } | {
14948
- type: "PRINT_BUTTON";
14949
- id: string;
14950
- label: import("./TranslationConfig").TranslationConfig;
14951
- configuration: {
14952
- template: string;
14953
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
14954
- };
14955
- parent?: {
14956
- $$field: string;
14957
- } | undefined;
14958
- validation?: {
14959
- message: import("./TranslationConfig").TranslationConfig;
14960
- validator: import(".").JSONSchema;
14961
- }[] | undefined;
14962
- required?: boolean | undefined;
14963
- conditionals?: ({
14964
- type: "SHOW";
14965
- conditional: import(".").JSONSchema;
14966
- } | {
14967
- type: "ENABLE";
14968
- conditional: import(".").JSONSchema;
14969
- } | {
14970
- type: "DISPLAY_ON_REVIEW";
14971
- conditional: import(".").JSONSchema;
14972
- })[] | undefined;
14973
- secured?: boolean | undefined;
14974
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
14975
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
14976
- hideLabel?: boolean | undefined;
14977
- uncorrectable?: boolean | undefined;
14978
14678
  })[];
14979
14679
  conditional?: import(".").JSONSchema | undefined;
14980
14680
  } | {
@@ -15548,14 +15248,25 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15548
15248
  hideLabel?: boolean | undefined;
15549
15249
  uncorrectable?: boolean | undefined;
15550
15250
  defaultValue?: {
15551
- firstname: string;
15552
- surname: string;
15251
+ firstname?: string | undefined;
15252
+ surname?: string | undefined;
15253
+ middlename?: string | undefined;
15553
15254
  } | undefined;
15554
15255
  configuration?: {
15256
+ name?: {
15257
+ firstname?: {
15258
+ required: boolean;
15259
+ } | undefined;
15260
+ surname?: {
15261
+ required: boolean;
15262
+ } | undefined;
15263
+ middlename?: {
15264
+ required: boolean;
15265
+ } | undefined;
15266
+ } | undefined;
15555
15267
  maxLength?: number | undefined;
15556
15268
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
15557
15269
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
15558
- includeMiddlename?: boolean | undefined;
15559
15270
  searchMode?: boolean | undefined;
15560
15271
  } | undefined;
15561
15272
  } | {
@@ -15927,37 +15638,6 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15927
15638
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
15928
15639
  hideLabel?: boolean | undefined;
15929
15640
  uncorrectable?: boolean | undefined;
15930
- } | {
15931
- type: "PRINT_BUTTON";
15932
- id: string;
15933
- label: import("./TranslationConfig").TranslationConfig;
15934
- configuration: {
15935
- template: string;
15936
- buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
15937
- };
15938
- parent?: {
15939
- $$field: string;
15940
- } | undefined;
15941
- validation?: {
15942
- message: import("./TranslationConfig").TranslationConfig;
15943
- validator: import(".").JSONSchema;
15944
- }[] | undefined;
15945
- required?: boolean | undefined;
15946
- conditionals?: ({
15947
- type: "SHOW";
15948
- conditional: import(".").JSONSchema;
15949
- } | {
15950
- type: "ENABLE";
15951
- conditional: import(".").JSONSchema;
15952
- } | {
15953
- type: "DISPLAY_ON_REVIEW";
15954
- conditional: import(".").JSONSchema;
15955
- })[] | undefined;
15956
- secured?: boolean | undefined;
15957
- placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
15958
- helperText?: import("./TranslationConfig").TranslationConfig | undefined;
15959
- hideLabel?: boolean | undefined;
15960
- uncorrectable?: boolean | undefined;
15961
15641
  })[];
15962
15642
  conditional?: import(".").JSONSchema | undefined;
15963
15643
  })[];
@@ -16016,7 +15696,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
16016
15696
  title: import("./TranslationConfig").TranslationConfig;
16017
15697
  fields: ({
16018
15698
  config: {
16019
- type: "exact" | "fuzzy" | "range";
15699
+ type: "exact" | "fuzzy" | "range" | "within";
16020
15700
  };
16021
15701
  fieldId: string;
16022
15702
  fieldType: "field";
@@ -16043,9 +15723,9 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
16043
15723
  excludeInSearchQuery?: boolean | undefined;
16044
15724
  } | {
16045
15725
  config: {
16046
- type: "exact" | "fuzzy" | "range";
15726
+ type: "exact" | "fuzzy" | "range" | "within";
16047
15727
  };
16048
- fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
15728
+ fieldId: "event.status" | "event.updatedAt" | "event.trackingId" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
16049
15729
  fieldType: "event";
16050
15730
  options?: {
16051
15731
  value: string;