@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
@@ -567,25 +567,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
567
567
  hideLabel?: boolean | undefined;
568
568
  uncorrectable?: boolean | undefined;
569
569
  defaultValue?: {
570
- firstname?: string | undefined;
571
- surname?: string | undefined;
572
- middlename?: string | undefined;
570
+ firstname: string;
571
+ surname: string;
573
572
  } | undefined;
574
573
  configuration?: {
575
- name?: {
576
- firstname?: {
577
- required: boolean;
578
- } | undefined;
579
- surname?: {
580
- required: boolean;
581
- } | undefined;
582
- middlename?: {
583
- required: boolean;
584
- } | undefined;
585
- } | undefined;
586
574
  maxLength?: number | undefined;
587
575
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
588
576
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
577
+ includeMiddlename?: boolean | undefined;
589
578
  searchMode?: boolean | undefined;
590
579
  } | undefined;
591
580
  } | {
@@ -957,6 +946,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
957
946
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
958
947
  hideLabel?: boolean | undefined;
959
948
  uncorrectable?: boolean | undefined;
949
+ } | {
950
+ type: "PRINT_BUTTON";
951
+ id: string;
952
+ label: import("./TranslationConfig").TranslationConfig;
953
+ configuration: {
954
+ template: string;
955
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
956
+ };
957
+ parent?: {
958
+ $$field: string;
959
+ } | undefined;
960
+ validation?: {
961
+ message: import("./TranslationConfig").TranslationConfig;
962
+ validator: import(".").JSONSchema;
963
+ }[] | undefined;
964
+ required?: boolean | undefined;
965
+ conditionals?: ({
966
+ type: "SHOW";
967
+ conditional: import(".").JSONSchema;
968
+ } | {
969
+ type: "ENABLE";
970
+ conditional: import(".").JSONSchema;
971
+ } | {
972
+ type: "DISPLAY_ON_REVIEW";
973
+ conditional: import(".").JSONSchema;
974
+ })[] | undefined;
975
+ secured?: boolean | undefined;
976
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
977
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
978
+ hideLabel?: boolean | undefined;
979
+ uncorrectable?: boolean | undefined;
960
980
  })[];
961
981
  conditional?: import(".").JSONSchema | undefined;
962
982
  }[];
@@ -1528,25 +1548,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
1528
1548
  hideLabel?: boolean | undefined;
1529
1549
  uncorrectable?: boolean | undefined;
1530
1550
  defaultValue?: {
1531
- firstname?: string | undefined;
1532
- surname?: string | undefined;
1533
- middlename?: string | undefined;
1551
+ firstname: string;
1552
+ surname: string;
1534
1553
  } | undefined;
1535
1554
  configuration?: {
1536
- name?: {
1537
- firstname?: {
1538
- required: boolean;
1539
- } | undefined;
1540
- surname?: {
1541
- required: boolean;
1542
- } | undefined;
1543
- middlename?: {
1544
- required: boolean;
1545
- } | undefined;
1546
- } | undefined;
1547
1555
  maxLength?: number | undefined;
1548
1556
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1549
1557
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1558
+ includeMiddlename?: boolean | undefined;
1550
1559
  searchMode?: boolean | undefined;
1551
1560
  } | undefined;
1552
1561
  } | {
@@ -1918,6 +1927,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
1918
1927
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1919
1928
  hideLabel?: boolean | undefined;
1920
1929
  uncorrectable?: boolean | undefined;
1930
+ } | {
1931
+ type: "PRINT_BUTTON";
1932
+ id: string;
1933
+ label: import("./TranslationConfig").TranslationConfig;
1934
+ configuration: {
1935
+ template: string;
1936
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
1937
+ };
1938
+ parent?: {
1939
+ $$field: string;
1940
+ } | undefined;
1941
+ validation?: {
1942
+ message: import("./TranslationConfig").TranslationConfig;
1943
+ validator: import(".").JSONSchema;
1944
+ }[] | undefined;
1945
+ required?: boolean | undefined;
1946
+ conditionals?: ({
1947
+ type: "SHOW";
1948
+ conditional: import(".").JSONSchema;
1949
+ } | {
1950
+ type: "ENABLE";
1951
+ conditional: import(".").JSONSchema;
1952
+ } | {
1953
+ type: "DISPLAY_ON_REVIEW";
1954
+ conditional: import(".").JSONSchema;
1955
+ })[] | undefined;
1956
+ secured?: boolean | undefined;
1957
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1958
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1959
+ hideLabel?: boolean | undefined;
1960
+ uncorrectable?: boolean | undefined;
1921
1961
  })[];
1922
1962
  };
1923
1963
  draft?: boolean | undefined;
@@ -2488,25 +2528,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
2488
2528
  hideLabel?: boolean | undefined;
2489
2529
  uncorrectable?: boolean | undefined;
2490
2530
  defaultValue?: {
2491
- firstname?: string | undefined;
2492
- surname?: string | undefined;
2493
- middlename?: string | undefined;
2531
+ firstname: string;
2532
+ surname: string;
2494
2533
  } | undefined;
2495
2534
  configuration?: {
2496
- name?: {
2497
- firstname?: {
2498
- required: boolean;
2499
- } | undefined;
2500
- surname?: {
2501
- required: boolean;
2502
- } | undefined;
2503
- middlename?: {
2504
- required: boolean;
2505
- } | undefined;
2506
- } | undefined;
2507
2535
  maxLength?: number | undefined;
2508
2536
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2509
2537
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2538
+ includeMiddlename?: boolean | undefined;
2510
2539
  searchMode?: boolean | undefined;
2511
2540
  } | undefined;
2512
2541
  } | {
@@ -2878,6 +2907,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
2878
2907
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2879
2908
  hideLabel?: boolean | undefined;
2880
2909
  uncorrectable?: boolean | undefined;
2910
+ } | {
2911
+ type: "PRINT_BUTTON";
2912
+ id: string;
2913
+ label: import("./TranslationConfig").TranslationConfig;
2914
+ configuration: {
2915
+ template: string;
2916
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
2917
+ };
2918
+ parent?: {
2919
+ $$field: string;
2920
+ } | undefined;
2921
+ validation?: {
2922
+ message: import("./TranslationConfig").TranslationConfig;
2923
+ validator: import(".").JSONSchema;
2924
+ }[] | undefined;
2925
+ required?: boolean | undefined;
2926
+ conditionals?: ({
2927
+ type: "SHOW";
2928
+ conditional: import(".").JSONSchema;
2929
+ } | {
2930
+ type: "ENABLE";
2931
+ conditional: import(".").JSONSchema;
2932
+ } | {
2933
+ type: "DISPLAY_ON_REVIEW";
2934
+ conditional: import(".").JSONSchema;
2935
+ })[] | undefined;
2936
+ secured?: boolean | undefined;
2937
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2938
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2939
+ hideLabel?: boolean | undefined;
2940
+ uncorrectable?: boolean | undefined;
2881
2941
  })[];
2882
2942
  };
2883
2943
  draft?: boolean | undefined;
@@ -3448,25 +3508,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
3448
3508
  hideLabel?: boolean | undefined;
3449
3509
  uncorrectable?: boolean | undefined;
3450
3510
  defaultValue?: {
3451
- firstname?: string | undefined;
3452
- surname?: string | undefined;
3453
- middlename?: string | undefined;
3511
+ firstname: string;
3512
+ surname: string;
3454
3513
  } | undefined;
3455
3514
  configuration?: {
3456
- name?: {
3457
- firstname?: {
3458
- required: boolean;
3459
- } | undefined;
3460
- surname?: {
3461
- required: boolean;
3462
- } | undefined;
3463
- middlename?: {
3464
- required: boolean;
3465
- } | undefined;
3466
- } | undefined;
3467
3515
  maxLength?: number | undefined;
3468
3516
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3469
3517
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3518
+ includeMiddlename?: boolean | undefined;
3470
3519
  searchMode?: boolean | undefined;
3471
3520
  } | undefined;
3472
3521
  } | {
@@ -3838,6 +3887,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
3838
3887
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3839
3888
  hideLabel?: boolean | undefined;
3840
3889
  uncorrectable?: boolean | undefined;
3890
+ } | {
3891
+ type: "PRINT_BUTTON";
3892
+ id: string;
3893
+ label: import("./TranslationConfig").TranslationConfig;
3894
+ configuration: {
3895
+ template: string;
3896
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
3897
+ };
3898
+ parent?: {
3899
+ $$field: string;
3900
+ } | undefined;
3901
+ validation?: {
3902
+ message: import("./TranslationConfig").TranslationConfig;
3903
+ validator: import(".").JSONSchema;
3904
+ }[] | undefined;
3905
+ required?: boolean | undefined;
3906
+ conditionals?: ({
3907
+ type: "SHOW";
3908
+ conditional: import(".").JSONSchema;
3909
+ } | {
3910
+ type: "ENABLE";
3911
+ conditional: import(".").JSONSchema;
3912
+ } | {
3913
+ type: "DISPLAY_ON_REVIEW";
3914
+ conditional: import(".").JSONSchema;
3915
+ })[] | undefined;
3916
+ secured?: boolean | undefined;
3917
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3918
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3919
+ hideLabel?: boolean | undefined;
3920
+ uncorrectable?: boolean | undefined;
3841
3921
  })[];
3842
3922
  };
3843
3923
  draft?: boolean | undefined;
@@ -4408,25 +4488,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
4408
4488
  hideLabel?: boolean | undefined;
4409
4489
  uncorrectable?: boolean | undefined;
4410
4490
  defaultValue?: {
4411
- firstname?: string | undefined;
4412
- surname?: string | undefined;
4413
- middlename?: string | undefined;
4491
+ firstname: string;
4492
+ surname: string;
4414
4493
  } | undefined;
4415
4494
  configuration?: {
4416
- name?: {
4417
- firstname?: {
4418
- required: boolean;
4419
- } | undefined;
4420
- surname?: {
4421
- required: boolean;
4422
- } | undefined;
4423
- middlename?: {
4424
- required: boolean;
4425
- } | undefined;
4426
- } | undefined;
4427
4495
  maxLength?: number | undefined;
4428
4496
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4429
4497
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4498
+ includeMiddlename?: boolean | undefined;
4430
4499
  searchMode?: boolean | undefined;
4431
4500
  } | undefined;
4432
4501
  } | {
@@ -4798,6 +4867,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
4798
4867
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4799
4868
  hideLabel?: boolean | undefined;
4800
4869
  uncorrectable?: boolean | undefined;
4870
+ } | {
4871
+ type: "PRINT_BUTTON";
4872
+ id: string;
4873
+ label: import("./TranslationConfig").TranslationConfig;
4874
+ configuration: {
4875
+ template: string;
4876
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
4877
+ };
4878
+ parent?: {
4879
+ $$field: string;
4880
+ } | undefined;
4881
+ validation?: {
4882
+ message: import("./TranslationConfig").TranslationConfig;
4883
+ validator: import(".").JSONSchema;
4884
+ }[] | undefined;
4885
+ required?: boolean | undefined;
4886
+ conditionals?: ({
4887
+ type: "SHOW";
4888
+ conditional: import(".").JSONSchema;
4889
+ } | {
4890
+ type: "ENABLE";
4891
+ conditional: import(".").JSONSchema;
4892
+ } | {
4893
+ type: "DISPLAY_ON_REVIEW";
4894
+ conditional: import(".").JSONSchema;
4895
+ })[] | undefined;
4896
+ secured?: boolean | undefined;
4897
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4898
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4899
+ hideLabel?: boolean | undefined;
4900
+ uncorrectable?: boolean | undefined;
4801
4901
  })[];
4802
4902
  };
4803
4903
  draft?: boolean | undefined;
@@ -5416,25 +5516,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
5416
5516
  hideLabel?: boolean | undefined;
5417
5517
  uncorrectable?: boolean | undefined;
5418
5518
  defaultValue?: {
5419
- firstname?: string | undefined;
5420
- surname?: string | undefined;
5421
- middlename?: string | undefined;
5519
+ firstname: string;
5520
+ surname: string;
5422
5521
  } | undefined;
5423
5522
  configuration?: {
5424
- name?: {
5425
- firstname?: {
5426
- required: boolean;
5427
- } | undefined;
5428
- surname?: {
5429
- required: boolean;
5430
- } | undefined;
5431
- middlename?: {
5432
- required: boolean;
5433
- } | undefined;
5434
- } | undefined;
5435
5523
  maxLength?: number | undefined;
5436
5524
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5437
5525
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5526
+ includeMiddlename?: boolean | undefined;
5438
5527
  searchMode?: boolean | undefined;
5439
5528
  } | undefined;
5440
5529
  } | {
@@ -5806,6 +5895,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
5806
5895
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5807
5896
  hideLabel?: boolean | undefined;
5808
5897
  uncorrectable?: boolean | undefined;
5898
+ } | {
5899
+ type: "PRINT_BUTTON";
5900
+ id: string;
5901
+ label: import("./TranslationConfig").TranslationConfig;
5902
+ configuration: {
5903
+ template: string;
5904
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
5905
+ };
5906
+ parent?: {
5907
+ $$field: string;
5908
+ } | undefined;
5909
+ validation?: {
5910
+ message: import("./TranslationConfig").TranslationConfig;
5911
+ validator: import(".").JSONSchema;
5912
+ }[] | undefined;
5913
+ required?: boolean | undefined;
5914
+ conditionals?: ({
5915
+ type: "SHOW";
5916
+ conditional: import(".").JSONSchema;
5917
+ } | {
5918
+ type: "ENABLE";
5919
+ conditional: import(".").JSONSchema;
5920
+ } | {
5921
+ type: "DISPLAY_ON_REVIEW";
5922
+ conditional: import(".").JSONSchema;
5923
+ })[] | undefined;
5924
+ secured?: boolean | undefined;
5925
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5926
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5927
+ hideLabel?: boolean | undefined;
5928
+ uncorrectable?: boolean | undefined;
5809
5929
  })[];
5810
5930
  conditional?: import(".").JSONSchema | undefined;
5811
5931
  } | {
@@ -6379,25 +6499,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
6379
6499
  hideLabel?: boolean | undefined;
6380
6500
  uncorrectable?: boolean | undefined;
6381
6501
  defaultValue?: {
6382
- firstname?: string | undefined;
6383
- surname?: string | undefined;
6384
- middlename?: string | undefined;
6502
+ firstname: string;
6503
+ surname: string;
6385
6504
  } | undefined;
6386
6505
  configuration?: {
6387
- name?: {
6388
- firstname?: {
6389
- required: boolean;
6390
- } | undefined;
6391
- surname?: {
6392
- required: boolean;
6393
- } | undefined;
6394
- middlename?: {
6395
- required: boolean;
6396
- } | undefined;
6397
- } | undefined;
6398
6506
  maxLength?: number | undefined;
6399
6507
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6400
6508
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6509
+ includeMiddlename?: boolean | undefined;
6401
6510
  searchMode?: boolean | undefined;
6402
6511
  } | undefined;
6403
6512
  } | {
@@ -6769,6 +6878,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
6769
6878
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6770
6879
  hideLabel?: boolean | undefined;
6771
6880
  uncorrectable?: boolean | undefined;
6881
+ } | {
6882
+ type: "PRINT_BUTTON";
6883
+ id: string;
6884
+ label: import("./TranslationConfig").TranslationConfig;
6885
+ configuration: {
6886
+ template: string;
6887
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
6888
+ };
6889
+ parent?: {
6890
+ $$field: string;
6891
+ } | undefined;
6892
+ validation?: {
6893
+ message: import("./TranslationConfig").TranslationConfig;
6894
+ validator: import(".").JSONSchema;
6895
+ }[] | undefined;
6896
+ required?: boolean | undefined;
6897
+ conditionals?: ({
6898
+ type: "SHOW";
6899
+ conditional: import(".").JSONSchema;
6900
+ } | {
6901
+ type: "ENABLE";
6902
+ conditional: import(".").JSONSchema;
6903
+ } | {
6904
+ type: "DISPLAY_ON_REVIEW";
6905
+ conditional: import(".").JSONSchema;
6906
+ })[] | undefined;
6907
+ secured?: boolean | undefined;
6908
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6909
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6910
+ hideLabel?: boolean | undefined;
6911
+ uncorrectable?: boolean | undefined;
6772
6912
  })[];
6773
6913
  conditional?: import(".").JSONSchema | undefined;
6774
6914
  })[];
@@ -7345,25 +7485,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
7345
7485
  hideLabel?: boolean | undefined;
7346
7486
  uncorrectable?: boolean | undefined;
7347
7487
  defaultValue?: {
7348
- firstname?: string | undefined;
7349
- surname?: string | undefined;
7350
- middlename?: string | undefined;
7488
+ firstname: string;
7489
+ surname: string;
7351
7490
  } | undefined;
7352
7491
  configuration?: {
7353
- name?: {
7354
- firstname?: {
7355
- required: boolean;
7356
- } | undefined;
7357
- surname?: {
7358
- required: boolean;
7359
- } | undefined;
7360
- middlename?: {
7361
- required: boolean;
7362
- } | undefined;
7363
- } | undefined;
7364
7492
  maxLength?: number | undefined;
7365
7493
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7366
7494
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
7495
+ includeMiddlename?: boolean | undefined;
7367
7496
  searchMode?: boolean | undefined;
7368
7497
  } | undefined;
7369
7498
  } | {
@@ -7735,6 +7864,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
7735
7864
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7736
7865
  hideLabel?: boolean | undefined;
7737
7866
  uncorrectable?: boolean | undefined;
7867
+ } | {
7868
+ type: "PRINT_BUTTON";
7869
+ id: string;
7870
+ label: import("./TranslationConfig").TranslationConfig;
7871
+ configuration: {
7872
+ template: string;
7873
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
7874
+ };
7875
+ parent?: {
7876
+ $$field: string;
7877
+ } | undefined;
7878
+ validation?: {
7879
+ message: import("./TranslationConfig").TranslationConfig;
7880
+ validator: import(".").JSONSchema;
7881
+ }[] | undefined;
7882
+ required?: boolean | undefined;
7883
+ conditionals?: ({
7884
+ type: "SHOW";
7885
+ conditional: import(".").JSONSchema;
7886
+ } | {
7887
+ type: "ENABLE";
7888
+ conditional: import(".").JSONSchema;
7889
+ } | {
7890
+ type: "DISPLAY_ON_REVIEW";
7891
+ conditional: import(".").JSONSchema;
7892
+ })[] | undefined;
7893
+ secured?: boolean | undefined;
7894
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
7895
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7896
+ hideLabel?: boolean | undefined;
7897
+ uncorrectable?: boolean | undefined;
7738
7898
  })[];
7739
7899
  conditional?: import(".").JSONSchema | undefined;
7740
7900
  } | {
@@ -8308,25 +8468,14 @@ export declare const defineConfig: (config: EventConfigInput) => {
8308
8468
  hideLabel?: boolean | undefined;
8309
8469
  uncorrectable?: boolean | undefined;
8310
8470
  defaultValue?: {
8311
- firstname?: string | undefined;
8312
- surname?: string | undefined;
8313
- middlename?: string | undefined;
8471
+ firstname: string;
8472
+ surname: string;
8314
8473
  } | undefined;
8315
8474
  configuration?: {
8316
- name?: {
8317
- firstname?: {
8318
- required: boolean;
8319
- } | undefined;
8320
- surname?: {
8321
- required: boolean;
8322
- } | undefined;
8323
- middlename?: {
8324
- required: boolean;
8325
- } | undefined;
8326
- } | undefined;
8327
8475
  maxLength?: number | undefined;
8328
8476
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8329
8477
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8478
+ includeMiddlename?: boolean | undefined;
8330
8479
  searchMode?: boolean | undefined;
8331
8480
  } | undefined;
8332
8481
  } | {
@@ -8698,6 +8847,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
8698
8847
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8699
8848
  hideLabel?: boolean | undefined;
8700
8849
  uncorrectable?: boolean | undefined;
8850
+ } | {
8851
+ type: "PRINT_BUTTON";
8852
+ id: string;
8853
+ label: import("./TranslationConfig").TranslationConfig;
8854
+ configuration: {
8855
+ template: string;
8856
+ buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
8857
+ };
8858
+ parent?: {
8859
+ $$field: string;
8860
+ } | undefined;
8861
+ validation?: {
8862
+ message: import("./TranslationConfig").TranslationConfig;
8863
+ validator: import(".").JSONSchema;
8864
+ }[] | undefined;
8865
+ required?: boolean | undefined;
8866
+ conditionals?: ({
8867
+ type: "SHOW";
8868
+ conditional: import(".").JSONSchema;
8869
+ } | {
8870
+ type: "ENABLE";
8871
+ conditional: import(".").JSONSchema;
8872
+ } | {
8873
+ type: "DISPLAY_ON_REVIEW";
8874
+ conditional: import(".").JSONSchema;
8875
+ })[] | undefined;
8876
+ secured?: boolean | undefined;
8877
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8878
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8879
+ hideLabel?: boolean | undefined;
8880
+ uncorrectable?: boolean | undefined;
8701
8881
  })[];
8702
8882
  conditional?: import(".").JSONSchema | undefined;
8703
8883
  })[];
@@ -8756,7 +8936,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
8756
8936
  title: import("./TranslationConfig").TranslationConfig;
8757
8937
  fields: ({
8758
8938
  config: {
8759
- type: "exact" | "fuzzy" | "range" | "within";
8939
+ type: "exact" | "fuzzy" | "range";
8760
8940
  };
8761
8941
  fieldId: string;
8762
8942
  fieldType: "field";
@@ -8783,9 +8963,9 @@ export declare const defineConfig: (config: EventConfigInput) => {
8783
8963
  excludeInSearchQuery?: boolean | undefined;
8784
8964
  } | {
8785
8965
  config: {
8786
- type: "exact" | "fuzzy" | "range" | "within";
8966
+ type: "exact" | "fuzzy" | "range";
8787
8967
  };
8788
- fieldId: "event.status" | "event.updatedAt" | "event.trackingId" | "event.legalStatuses.REGISTERED.acceptedAt" | "event.legalStatuses.REGISTERED.createdAtLocation";
8968
+ fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
8789
8969
  fieldType: "event";
8790
8970
  options?: {
8791
8971
  value: string;