@opencrvs/toolkit 1.8.1-rc.4f4b65a → 1.8.1-rc.5130256

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 (33) hide show
  1. package/dist/commons/api/router.d.ts +392 -409
  2. package/dist/commons/conditionals/conditionals.test.d.ts +2 -0
  3. package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
  4. package/dist/commons/conditionals/validate.d.ts +2 -11
  5. package/dist/commons/conditionals/validate.test.d.ts +2 -0
  6. package/dist/commons/events/ActionConfig.d.ts +5805 -3441
  7. package/dist/commons/events/ActionDocument.d.ts +716 -1252
  8. package/dist/commons/events/ActionInput.d.ts +600 -626
  9. package/dist/commons/events/AdvancedSearchConfig.d.ts +65 -83
  10. package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
  11. package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
  12. package/dist/commons/events/Draft.d.ts +48 -48
  13. package/dist/commons/events/EventConfig.d.ts +2663 -1401
  14. package/dist/commons/events/EventDocument.d.ts +432 -451
  15. package/dist/commons/events/EventIndex.d.ts +62 -184
  16. package/dist/commons/events/EventMetadata.d.ts +9 -9
  17. package/dist/commons/events/FieldConfig.d.ts +343 -254
  18. package/dist/commons/events/FieldType.d.ts +2 -1
  19. package/dist/commons/events/FieldTypeMapping.d.ts +25 -18
  20. package/dist/commons/events/FieldValue.d.ts +12 -12
  21. package/dist/commons/events/FormConfig.d.ts +2388 -1296
  22. package/dist/commons/events/PageConfig.d.ts +508 -264
  23. package/dist/commons/events/WorkqueueConfig.d.ts +164 -288
  24. package/dist/commons/events/defineConfig.d.ts +309 -129
  25. package/dist/commons/events/event.d.ts +6 -68
  26. package/dist/commons/events/field.d.ts +0 -14
  27. package/dist/commons/events/test.utils.d.ts +12 -12
  28. package/dist/commons/events/utils.d.ts +564 -244
  29. package/dist/commons/events/utils.test.d.ts +2 -0
  30. package/dist/conditionals/index.js +2 -3
  31. package/dist/events/index.js +115 -259
  32. package/package.json +1 -1
  33. package/tsconfig.json +1 -1
@@ -569,25 +569,14 @@ export declare function getDeclarationPages(configuration: EventConfig): {
569
569
  hideLabel?: boolean | undefined;
570
570
  uncorrectable?: boolean | undefined;
571
571
  defaultValue?: {
572
- firstname?: string | undefined;
573
- surname?: string | undefined;
574
- middlename?: string | undefined;
572
+ firstname: string;
573
+ surname: string;
575
574
  } | undefined;
576
575
  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;
588
576
  maxLength?: number | undefined;
589
577
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
590
578
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
579
+ includeMiddlename?: boolean | undefined;
591
580
  searchMode?: boolean | undefined;
592
581
  } | undefined;
593
582
  } | {
@@ -959,6 +948,37 @@ export declare function getDeclarationPages(configuration: EventConfig): {
959
948
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
960
949
  hideLabel?: boolean | undefined;
961
950
  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;
962
982
  })[];
963
983
  conditional?: import(".").JSONSchema | undefined;
964
984
  }[];
@@ -1523,25 +1543,14 @@ export declare function getDeclaration(configuration: EventConfig): {
1523
1543
  hideLabel?: boolean | undefined;
1524
1544
  uncorrectable?: boolean | undefined;
1525
1545
  defaultValue?: {
1526
- firstname?: string | undefined;
1527
- surname?: string | undefined;
1528
- middlename?: string | undefined;
1546
+ firstname: string;
1547
+ surname: string;
1529
1548
  } | undefined;
1530
1549
  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;
1542
1550
  maxLength?: number | undefined;
1543
1551
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1544
1552
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1553
+ includeMiddlename?: boolean | undefined;
1545
1554
  searchMode?: boolean | undefined;
1546
1555
  } | undefined;
1547
1556
  } | {
@@ -1913,6 +1922,37 @@ export declare function getDeclaration(configuration: EventConfig): {
1913
1922
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1914
1923
  hideLabel?: boolean | undefined;
1915
1924
  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;
1916
1956
  })[];
1917
1957
  conditional?: import(".").JSONSchema | undefined;
1918
1958
  }[];
@@ -2476,25 +2516,14 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2476
2516
  hideLabel?: boolean | undefined;
2477
2517
  uncorrectable?: boolean | undefined;
2478
2518
  defaultValue?: {
2479
- firstname?: string | undefined;
2480
- surname?: string | undefined;
2481
- middlename?: string | undefined;
2519
+ firstname: string;
2520
+ surname: string;
2482
2521
  } | undefined;
2483
2522
  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;
2495
2523
  maxLength?: number | undefined;
2496
2524
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2497
2525
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2526
+ includeMiddlename?: boolean | undefined;
2498
2527
  searchMode?: boolean | undefined;
2499
2528
  } | undefined;
2500
2529
  } | {
@@ -2866,6 +2895,37 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2866
2895
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2867
2896
  hideLabel?: boolean | undefined;
2868
2897
  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;
2869
2929
  })[];
2870
2930
  conditional?: import(".").JSONSchema | undefined;
2871
2931
  } | {
@@ -3439,25 +3499,14 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3439
3499
  hideLabel?: boolean | undefined;
3440
3500
  uncorrectable?: boolean | undefined;
3441
3501
  defaultValue?: {
3442
- firstname?: string | undefined;
3443
- surname?: string | undefined;
3444
- middlename?: string | undefined;
3502
+ firstname: string;
3503
+ surname: string;
3445
3504
  } | undefined;
3446
3505
  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;
3458
3506
  maxLength?: number | undefined;
3459
3507
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3460
3508
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3509
+ includeMiddlename?: boolean | undefined;
3461
3510
  searchMode?: boolean | undefined;
3462
3511
  } | undefined;
3463
3512
  } | {
@@ -3829,6 +3878,37 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3829
3878
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3830
3879
  hideLabel?: boolean | undefined;
3831
3880
  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;
3832
3912
  })[];
3833
3913
  conditional?: import(".").JSONSchema | undefined;
3834
3914
  })[];
@@ -4387,25 +4467,14 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4387
4467
  hideLabel?: boolean | undefined;
4388
4468
  uncorrectable?: boolean | undefined;
4389
4469
  defaultValue?: {
4390
- firstname?: string | undefined;
4391
- surname?: string | undefined;
4392
- middlename?: string | undefined;
4470
+ firstname: string;
4471
+ surname: string;
4393
4472
  } | undefined;
4394
4473
  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;
4406
4474
  maxLength?: number | undefined;
4407
4475
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4408
4476
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4477
+ includeMiddlename?: boolean | undefined;
4409
4478
  searchMode?: boolean | undefined;
4410
4479
  } | undefined;
4411
4480
  } | {
@@ -4777,8 +4846,39 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4777
4846
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4778
4847
  hideLabel?: boolean | undefined;
4779
4848
  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;
4780
4880
  })[];
4781
- export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
4881
+ export declare function getAllUniqueFields(eventConfig: EventConfig): import("./FieldConfig").Inferred[];
4782
4882
  export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
4783
4883
  /**
4784
4884
  * @TODO: Request correction should have same format as print certificate
@@ -5341,25 +5441,14 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5341
5441
  hideLabel?: boolean | undefined;
5342
5442
  uncorrectable?: boolean | undefined;
5343
5443
  defaultValue?: {
5344
- firstname?: string | undefined;
5345
- surname?: string | undefined;
5346
- middlename?: string | undefined;
5444
+ firstname: string;
5445
+ surname: string;
5347
5446
  } | undefined;
5348
5447
  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;
5360
5448
  maxLength?: number | undefined;
5361
5449
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5362
5450
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5451
+ includeMiddlename?: boolean | undefined;
5363
5452
  searchMode?: boolean | undefined;
5364
5453
  } | undefined;
5365
5454
  } | {
@@ -5731,6 +5820,37 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5731
5820
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5732
5821
  hideLabel?: boolean | undefined;
5733
5822
  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;
5734
5854
  })[];
5735
5855
  };
5736
5856
  export declare function getActionReviewFields(configuration: EventConfig, actionType: DeclarationActionType): ({
@@ -6288,25 +6408,14 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6288
6408
  hideLabel?: boolean | undefined;
6289
6409
  uncorrectable?: boolean | undefined;
6290
6410
  defaultValue?: {
6291
- firstname?: string | undefined;
6292
- surname?: string | undefined;
6293
- middlename?: string | undefined;
6411
+ firstname: string;
6412
+ surname: string;
6294
6413
  } | undefined;
6295
6414
  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;
6307
6415
  maxLength?: number | undefined;
6308
6416
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6309
6417
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6418
+ includeMiddlename?: boolean | undefined;
6310
6419
  searchMode?: boolean | undefined;
6311
6420
  } | undefined;
6312
6421
  } | {
@@ -6678,6 +6787,37 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6678
6787
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6679
6788
  hideLabel?: boolean | undefined;
6680
6789
  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;
6681
6821
  })[];
6682
6822
  export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate): boolean;
6683
6823
  export declare function omitHiddenFields<T extends EventState | ActionUpdate>(fields: FieldConfig[], values: T, visibleVerificationPageIds?: string[]): Partial<T>;
@@ -6708,8 +6848,8 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
6708
6848
  surname: string;
6709
6849
  middlename?: string | undefined;
6710
6850
  } | {
6711
- firstname: string;
6712
- surname: string;
6851
+ firstname?: string | null | undefined;
6852
+ surname?: string | null | undefined;
6713
6853
  middlename?: string | null | undefined;
6714
6854
  } | {
6715
6855
  country: string;
@@ -6759,8 +6899,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6759
6899
  street?: string | null | undefined;
6760
6900
  zipCode?: string | null | undefined;
6761
6901
  } | {
6762
- firstname: string;
6763
- surname: string;
6902
+ firstname?: string | null | undefined;
6903
+ surname?: string | null | undefined;
6764
6904
  middlename?: string | null | undefined;
6765
6905
  } | {
6766
6906
  country: string;
@@ -6806,8 +6946,8 @@ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]):
6806
6946
  street?: string | null | undefined;
6807
6947
  zipCode?: string | null | undefined;
6808
6948
  } | {
6809
- firstname: string;
6810
- surname: string;
6949
+ firstname?: string | null | undefined;
6950
+ surname?: string | null | undefined;
6811
6951
  middlename?: string | null | undefined;
6812
6952
  } | {
6813
6953
  country: string;
@@ -6881,8 +7021,8 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
6881
7021
  surname: string;
6882
7022
  middlename?: string | undefined;
6883
7023
  } | {
6884
- firstname: string;
6885
- surname: string;
7024
+ firstname?: string | null | undefined;
7025
+ surname?: string | null | undefined;
6886
7026
  middlename?: string | null | undefined;
6887
7027
  } | {
6888
7028
  country: string;
@@ -7507,25 +7647,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7507
7647
  hideLabel?: boolean | undefined;
7508
7648
  uncorrectable?: boolean | undefined;
7509
7649
  defaultValue?: {
7510
- firstname?: string | undefined;
7511
- surname?: string | undefined;
7512
- middlename?: string | undefined;
7650
+ firstname: string;
7651
+ surname: string;
7513
7652
  } | undefined;
7514
7653
  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;
7526
7654
  maxLength?: number | undefined;
7527
7655
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7528
7656
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
7657
+ includeMiddlename?: boolean | undefined;
7529
7658
  searchMode?: boolean | undefined;
7530
7659
  } | undefined;
7531
7660
  } | {
@@ -7862,17 +7991,48 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7862
7991
  searchMode?: boolean | undefined;
7863
7992
  } | undefined;
7864
7993
  } | {
7865
- type: "DATA";
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;
8029
+ } | {
8030
+ type: "PRINT_BUTTON";
7866
8031
  id: string;
7867
8032
  label: import("./TranslationConfig").TranslationConfig;
7868
8033
  configuration: {
7869
- data: ({
7870
- value: string | import("./TranslationConfig").TranslationConfig;
7871
- label: import("./TranslationConfig").TranslationConfig;
7872
- } | {
7873
- fieldId: string;
7874
- })[];
7875
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
8034
+ template: string;
8035
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
7876
8036
  };
7877
8037
  parent?: {
7878
8038
  $$field: string;
@@ -8468,25 +8628,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8468
8628
  hideLabel?: boolean | undefined;
8469
8629
  uncorrectable?: boolean | undefined;
8470
8630
  defaultValue?: {
8471
- firstname?: string | undefined;
8472
- surname?: string | undefined;
8473
- middlename?: string | undefined;
8631
+ firstname: string;
8632
+ surname: string;
8474
8633
  } | undefined;
8475
8634
  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;
8487
8635
  maxLength?: number | undefined;
8488
8636
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8489
8637
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8638
+ includeMiddlename?: boolean | undefined;
8490
8639
  searchMode?: boolean | undefined;
8491
8640
  } | undefined;
8492
8641
  } | {
@@ -8858,6 +9007,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8858
9007
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8859
9008
  hideLabel?: boolean | undefined;
8860
9009
  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;
8861
9041
  })[];
8862
9042
  };
8863
9043
  draft?: boolean | undefined;
@@ -9428,25 +9608,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9428
9608
  hideLabel?: boolean | undefined;
9429
9609
  uncorrectable?: boolean | undefined;
9430
9610
  defaultValue?: {
9431
- firstname?: string | undefined;
9432
- surname?: string | undefined;
9433
- middlename?: string | undefined;
9611
+ firstname: string;
9612
+ surname: string;
9434
9613
  } | undefined;
9435
9614
  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;
9447
9615
  maxLength?: number | undefined;
9448
9616
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
9449
9617
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
9618
+ includeMiddlename?: boolean | undefined;
9450
9619
  searchMode?: boolean | undefined;
9451
9620
  } | undefined;
9452
9621
  } | {
@@ -9818,6 +9987,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9818
9987
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9819
9988
  hideLabel?: boolean | undefined;
9820
9989
  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;
9821
10021
  })[];
9822
10022
  };
9823
10023
  draft?: boolean | undefined;
@@ -10388,25 +10588,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10388
10588
  hideLabel?: boolean | undefined;
10389
10589
  uncorrectable?: boolean | undefined;
10390
10590
  defaultValue?: {
10391
- firstname?: string | undefined;
10392
- surname?: string | undefined;
10393
- middlename?: string | undefined;
10591
+ firstname: string;
10592
+ surname: string;
10394
10593
  } | undefined;
10395
10594
  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;
10407
10595
  maxLength?: number | undefined;
10408
10596
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
10409
10597
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
10598
+ includeMiddlename?: boolean | undefined;
10410
10599
  searchMode?: boolean | undefined;
10411
10600
  } | undefined;
10412
10601
  } | {
@@ -10778,6 +10967,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10778
10967
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
10779
10968
  hideLabel?: boolean | undefined;
10780
10969
  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;
10781
11001
  })[];
10782
11002
  };
10783
11003
  draft?: boolean | undefined;
@@ -11348,25 +11568,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11348
11568
  hideLabel?: boolean | undefined;
11349
11569
  uncorrectable?: boolean | undefined;
11350
11570
  defaultValue?: {
11351
- firstname?: string | undefined;
11352
- surname?: string | undefined;
11353
- middlename?: string | undefined;
11571
+ firstname: string;
11572
+ surname: string;
11354
11573
  } | undefined;
11355
11574
  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;
11367
11575
  maxLength?: number | undefined;
11368
11576
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
11369
11577
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
11578
+ includeMiddlename?: boolean | undefined;
11370
11579
  searchMode?: boolean | undefined;
11371
11580
  } | undefined;
11372
11581
  } | {
@@ -11738,6 +11947,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11738
11947
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
11739
11948
  hideLabel?: boolean | undefined;
11740
11949
  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;
11741
11981
  })[];
11742
11982
  };
11743
11983
  draft?: boolean | undefined;
@@ -12356,25 +12596,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12356
12596
  hideLabel?: boolean | undefined;
12357
12597
  uncorrectable?: boolean | undefined;
12358
12598
  defaultValue?: {
12359
- firstname?: string | undefined;
12360
- surname?: string | undefined;
12361
- middlename?: string | undefined;
12599
+ firstname: string;
12600
+ surname: string;
12362
12601
  } | undefined;
12363
12602
  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;
12375
12603
  maxLength?: number | undefined;
12376
12604
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
12377
12605
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
12606
+ includeMiddlename?: boolean | undefined;
12378
12607
  searchMode?: boolean | undefined;
12379
12608
  } | undefined;
12380
12609
  } | {
@@ -12746,6 +12975,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12746
12975
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
12747
12976
  hideLabel?: boolean | undefined;
12748
12977
  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;
12749
13009
  })[];
12750
13010
  conditional?: import(".").JSONSchema | undefined;
12751
13011
  } | {
@@ -13319,25 +13579,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13319
13579
  hideLabel?: boolean | undefined;
13320
13580
  uncorrectable?: boolean | undefined;
13321
13581
  defaultValue?: {
13322
- firstname?: string | undefined;
13323
- surname?: string | undefined;
13324
- middlename?: string | undefined;
13582
+ firstname: string;
13583
+ surname: string;
13325
13584
  } | undefined;
13326
13585
  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;
13338
13586
  maxLength?: number | undefined;
13339
13587
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
13340
13588
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
13589
+ includeMiddlename?: boolean | undefined;
13341
13590
  searchMode?: boolean | undefined;
13342
13591
  } | undefined;
13343
13592
  } | {
@@ -13709,6 +13958,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13709
13958
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
13710
13959
  hideLabel?: boolean | undefined;
13711
13960
  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;
13712
13992
  })[];
13713
13993
  conditional?: import(".").JSONSchema | undefined;
13714
13994
  })[];
@@ -14285,25 +14565,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14285
14565
  hideLabel?: boolean | undefined;
14286
14566
  uncorrectable?: boolean | undefined;
14287
14567
  defaultValue?: {
14288
- firstname?: string | undefined;
14289
- surname?: string | undefined;
14290
- middlename?: string | undefined;
14568
+ firstname: string;
14569
+ surname: string;
14291
14570
  } | undefined;
14292
14571
  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;
14304
14572
  maxLength?: number | undefined;
14305
14573
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
14306
14574
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
14575
+ includeMiddlename?: boolean | undefined;
14307
14576
  searchMode?: boolean | undefined;
14308
14577
  } | undefined;
14309
14578
  } | {
@@ -14675,6 +14944,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14675
14944
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
14676
14945
  hideLabel?: boolean | undefined;
14677
14946
  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;
14678
14978
  })[];
14679
14979
  conditional?: import(".").JSONSchema | undefined;
14680
14980
  } | {
@@ -15248,25 +15548,14 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15248
15548
  hideLabel?: boolean | undefined;
15249
15549
  uncorrectable?: boolean | undefined;
15250
15550
  defaultValue?: {
15251
- firstname?: string | undefined;
15252
- surname?: string | undefined;
15253
- middlename?: string | undefined;
15551
+ firstname: string;
15552
+ surname: string;
15254
15553
  } | undefined;
15255
15554
  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;
15267
15555
  maxLength?: number | undefined;
15268
15556
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
15269
15557
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
15558
+ includeMiddlename?: boolean | undefined;
15270
15559
  searchMode?: boolean | undefined;
15271
15560
  } | undefined;
15272
15561
  } | {
@@ -15638,6 +15927,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15638
15927
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
15639
15928
  hideLabel?: boolean | undefined;
15640
15929
  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;
15641
15961
  })[];
15642
15962
  conditional?: import(".").JSONSchema | undefined;
15643
15963
  })[];
@@ -15696,7 +16016,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15696
16016
  title: import("./TranslationConfig").TranslationConfig;
15697
16017
  fields: ({
15698
16018
  config: {
15699
- type: "exact" | "fuzzy" | "range" | "within";
16019
+ type: "exact" | "fuzzy" | "range";
15700
16020
  };
15701
16021
  fieldId: string;
15702
16022
  fieldType: "field";
@@ -15723,9 +16043,9 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15723
16043
  excludeInSearchQuery?: boolean | undefined;
15724
16044
  } | {
15725
16045
  config: {
15726
- type: "exact" | "fuzzy" | "range" | "within";
16046
+ type: "exact" | "fuzzy" | "range";
15727
16047
  };
15728
- fieldId: "event.status" | "event.updatedAt" | "event.trackingId" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
16048
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
15729
16049
  fieldType: "event";
15730
16050
  options?: {
15731
16051
  value: string;