@opencrvs/toolkit 1.8.1-rc.4fba37a → 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.
- package/dist/commons/api/router.d.ts +395 -412
- package/dist/commons/conditionals/conditionals.test.d.ts +2 -0
- package/dist/commons/conditionals/validate-address.test.d.ts +2 -0
- package/dist/commons/conditionals/validate.d.ts +2 -11
- package/dist/commons/conditionals/validate.test.d.ts +2 -0
- package/dist/commons/events/ActionConfig.d.ts +9396 -8676
- package/dist/commons/events/ActionDocument.d.ts +716 -1252
- package/dist/commons/events/ActionInput.d.ts +600 -626
- package/dist/commons/events/AdvancedSearchConfig.d.ts +65 -83
- package/dist/commons/events/CompositeFieldValue.d.ts +6 -6
- package/dist/commons/events/CountryConfigQueryInput.d.ts +88 -88
- package/dist/commons/events/Draft.d.ts +56 -56
- package/dist/commons/events/EventConfig.d.ts +2213 -1443
- package/dist/commons/events/EventDocument.d.ts +432 -451
- package/dist/commons/events/EventIndex.d.ts +62 -184
- package/dist/commons/events/EventMetadata.d.ts +9 -9
- package/dist/commons/events/FieldConfig.d.ts +251 -944
- package/dist/commons/events/FieldType.d.ts +2 -6
- package/dist/commons/events/FieldTypeMapping.d.ts +25 -18
- package/dist/commons/events/FieldValue.d.ts +12 -12
- package/dist/commons/events/FormConfig.d.ts +3874 -3574
- package/dist/commons/events/PageConfig.d.ts +544 -524
- package/dist/commons/events/WorkqueueConfig.d.ts +164 -288
- package/dist/commons/events/defineConfig.d.ts +327 -183
- package/dist/commons/events/event.d.ts +6 -68
- package/dist/commons/events/field.d.ts +0 -14
- package/dist/commons/events/test.utils.d.ts +13 -14
- package/dist/commons/events/utils.d.ts +701 -351
- package/dist/commons/events/utils.test.d.ts +2 -0
- package/dist/conditionals/index.js +2 -3
- package/dist/events/index.js +881 -1101
- package/package.json +1 -1
- package/tsconfig.json +1 -1
@@ -567,29 +567,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
567
567
|
hideLabel?: boolean | undefined;
|
568
568
|
uncorrectable?: boolean | undefined;
|
569
569
|
defaultValue?: {
|
570
|
-
firstname
|
571
|
-
surname
|
572
|
-
middlename?: string | undefined;
|
570
|
+
firstname: string;
|
571
|
+
surname: string;
|
573
572
|
} | undefined;
|
574
573
|
configuration?: {
|
575
|
-
name?: {
|
576
|
-
firstname?: {
|
577
|
-
required: boolean;
|
578
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
579
|
-
} | undefined;
|
580
|
-
surname?: {
|
581
|
-
required: boolean;
|
582
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
583
|
-
} | undefined;
|
584
|
-
middlename?: {
|
585
|
-
required: boolean;
|
586
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
587
|
-
} | undefined;
|
588
|
-
} | undefined;
|
589
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
590
574
|
maxLength?: number | undefined;
|
591
575
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
592
576
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
577
|
+
includeMiddlename?: boolean | undefined;
|
578
|
+
searchMode?: boolean | undefined;
|
593
579
|
} | undefined;
|
594
580
|
} | {
|
595
581
|
type: "PHONE";
|
@@ -922,8 +908,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
922
908
|
postcodeOrZip?: string | undefined;
|
923
909
|
} | undefined;
|
924
910
|
configuration?: {
|
925
|
-
|
926
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
911
|
+
searchMode?: boolean | undefined;
|
927
912
|
} | undefined;
|
928
913
|
} | {
|
929
914
|
type: "DATA";
|
@@ -961,6 +946,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
961
946
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
962
947
|
hideLabel?: boolean | undefined;
|
963
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;
|
964
980
|
})[];
|
965
981
|
conditional?: import(".").JSONSchema | undefined;
|
966
982
|
}[];
|
@@ -1532,29 +1548,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1532
1548
|
hideLabel?: boolean | undefined;
|
1533
1549
|
uncorrectable?: boolean | undefined;
|
1534
1550
|
defaultValue?: {
|
1535
|
-
firstname
|
1536
|
-
surname
|
1537
|
-
middlename?: string | undefined;
|
1551
|
+
firstname: string;
|
1552
|
+
surname: string;
|
1538
1553
|
} | undefined;
|
1539
1554
|
configuration?: {
|
1540
|
-
name?: {
|
1541
|
-
firstname?: {
|
1542
|
-
required: boolean;
|
1543
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1544
|
-
} | undefined;
|
1545
|
-
surname?: {
|
1546
|
-
required: boolean;
|
1547
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1548
|
-
} | undefined;
|
1549
|
-
middlename?: {
|
1550
|
-
required: boolean;
|
1551
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1552
|
-
} | undefined;
|
1553
|
-
} | undefined;
|
1554
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
1555
1555
|
maxLength?: number | undefined;
|
1556
1556
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1557
1557
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1558
|
+
includeMiddlename?: boolean | undefined;
|
1559
|
+
searchMode?: boolean | undefined;
|
1558
1560
|
} | undefined;
|
1559
1561
|
} | {
|
1560
1562
|
type: "PHONE";
|
@@ -1887,8 +1889,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1887
1889
|
postcodeOrZip?: string | undefined;
|
1888
1890
|
} | undefined;
|
1889
1891
|
configuration?: {
|
1890
|
-
|
1891
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
1892
|
+
searchMode?: boolean | undefined;
|
1892
1893
|
} | undefined;
|
1893
1894
|
} | {
|
1894
1895
|
type: "DATA";
|
@@ -1926,6 +1927,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
1926
1927
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1927
1928
|
hideLabel?: boolean | undefined;
|
1928
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;
|
1929
1961
|
})[];
|
1930
1962
|
};
|
1931
1963
|
draft?: boolean | undefined;
|
@@ -2496,29 +2528,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2496
2528
|
hideLabel?: boolean | undefined;
|
2497
2529
|
uncorrectable?: boolean | undefined;
|
2498
2530
|
defaultValue?: {
|
2499
|
-
firstname
|
2500
|
-
surname
|
2501
|
-
middlename?: string | undefined;
|
2531
|
+
firstname: string;
|
2532
|
+
surname: string;
|
2502
2533
|
} | undefined;
|
2503
2534
|
configuration?: {
|
2504
|
-
name?: {
|
2505
|
-
firstname?: {
|
2506
|
-
required: boolean;
|
2507
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2508
|
-
} | undefined;
|
2509
|
-
surname?: {
|
2510
|
-
required: boolean;
|
2511
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2512
|
-
} | undefined;
|
2513
|
-
middlename?: {
|
2514
|
-
required: boolean;
|
2515
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2516
|
-
} | undefined;
|
2517
|
-
} | undefined;
|
2518
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2519
2535
|
maxLength?: number | undefined;
|
2520
2536
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2521
2537
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2538
|
+
includeMiddlename?: boolean | undefined;
|
2539
|
+
searchMode?: boolean | undefined;
|
2522
2540
|
} | undefined;
|
2523
2541
|
} | {
|
2524
2542
|
type: "PHONE";
|
@@ -2851,8 +2869,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2851
2869
|
postcodeOrZip?: string | undefined;
|
2852
2870
|
} | undefined;
|
2853
2871
|
configuration?: {
|
2854
|
-
|
2855
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
2872
|
+
searchMode?: boolean | undefined;
|
2856
2873
|
} | undefined;
|
2857
2874
|
} | {
|
2858
2875
|
type: "DATA";
|
@@ -2890,6 +2907,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
2890
2907
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2891
2908
|
hideLabel?: boolean | undefined;
|
2892
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;
|
2893
2941
|
})[];
|
2894
2942
|
};
|
2895
2943
|
draft?: boolean | undefined;
|
@@ -3460,29 +3508,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3460
3508
|
hideLabel?: boolean | undefined;
|
3461
3509
|
uncorrectable?: boolean | undefined;
|
3462
3510
|
defaultValue?: {
|
3463
|
-
firstname
|
3464
|
-
surname
|
3465
|
-
middlename?: string | undefined;
|
3511
|
+
firstname: string;
|
3512
|
+
surname: string;
|
3466
3513
|
} | undefined;
|
3467
3514
|
configuration?: {
|
3468
|
-
name?: {
|
3469
|
-
firstname?: {
|
3470
|
-
required: boolean;
|
3471
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3472
|
-
} | undefined;
|
3473
|
-
surname?: {
|
3474
|
-
required: boolean;
|
3475
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3476
|
-
} | undefined;
|
3477
|
-
middlename?: {
|
3478
|
-
required: boolean;
|
3479
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3480
|
-
} | undefined;
|
3481
|
-
} | undefined;
|
3482
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3483
3515
|
maxLength?: number | undefined;
|
3484
3516
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3485
3517
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3518
|
+
includeMiddlename?: boolean | undefined;
|
3519
|
+
searchMode?: boolean | undefined;
|
3486
3520
|
} | undefined;
|
3487
3521
|
} | {
|
3488
3522
|
type: "PHONE";
|
@@ -3815,8 +3849,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3815
3849
|
postcodeOrZip?: string | undefined;
|
3816
3850
|
} | undefined;
|
3817
3851
|
configuration?: {
|
3818
|
-
|
3819
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
3852
|
+
searchMode?: boolean | undefined;
|
3820
3853
|
} | undefined;
|
3821
3854
|
} | {
|
3822
3855
|
type: "DATA";
|
@@ -3854,6 +3887,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
3854
3887
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3855
3888
|
hideLabel?: boolean | undefined;
|
3856
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;
|
3857
3921
|
})[];
|
3858
3922
|
};
|
3859
3923
|
draft?: boolean | undefined;
|
@@ -4424,29 +4488,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4424
4488
|
hideLabel?: boolean | undefined;
|
4425
4489
|
uncorrectable?: boolean | undefined;
|
4426
4490
|
defaultValue?: {
|
4427
|
-
firstname
|
4428
|
-
surname
|
4429
|
-
middlename?: string | undefined;
|
4491
|
+
firstname: string;
|
4492
|
+
surname: string;
|
4430
4493
|
} | undefined;
|
4431
4494
|
configuration?: {
|
4432
|
-
name?: {
|
4433
|
-
firstname?: {
|
4434
|
-
required: boolean;
|
4435
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4436
|
-
} | undefined;
|
4437
|
-
surname?: {
|
4438
|
-
required: boolean;
|
4439
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4440
|
-
} | undefined;
|
4441
|
-
middlename?: {
|
4442
|
-
required: boolean;
|
4443
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4444
|
-
} | undefined;
|
4445
|
-
} | undefined;
|
4446
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
4447
4495
|
maxLength?: number | undefined;
|
4448
4496
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4449
4497
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4498
|
+
includeMiddlename?: boolean | undefined;
|
4499
|
+
searchMode?: boolean | undefined;
|
4450
4500
|
} | undefined;
|
4451
4501
|
} | {
|
4452
4502
|
type: "PHONE";
|
@@ -4779,8 +4829,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4779
4829
|
postcodeOrZip?: string | undefined;
|
4780
4830
|
} | undefined;
|
4781
4831
|
configuration?: {
|
4782
|
-
|
4783
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4832
|
+
searchMode?: boolean | undefined;
|
4784
4833
|
} | undefined;
|
4785
4834
|
} | {
|
4786
4835
|
type: "DATA";
|
@@ -4818,6 +4867,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
4818
4867
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4819
4868
|
hideLabel?: boolean | undefined;
|
4820
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;
|
4821
4901
|
})[];
|
4822
4902
|
};
|
4823
4903
|
draft?: boolean | undefined;
|
@@ -5436,29 +5516,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5436
5516
|
hideLabel?: boolean | undefined;
|
5437
5517
|
uncorrectable?: boolean | undefined;
|
5438
5518
|
defaultValue?: {
|
5439
|
-
firstname
|
5440
|
-
surname
|
5441
|
-
middlename?: string | undefined;
|
5519
|
+
firstname: string;
|
5520
|
+
surname: string;
|
5442
5521
|
} | undefined;
|
5443
5522
|
configuration?: {
|
5444
|
-
name?: {
|
5445
|
-
firstname?: {
|
5446
|
-
required: boolean;
|
5447
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5448
|
-
} | undefined;
|
5449
|
-
surname?: {
|
5450
|
-
required: boolean;
|
5451
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5452
|
-
} | undefined;
|
5453
|
-
middlename?: {
|
5454
|
-
required: boolean;
|
5455
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5456
|
-
} | undefined;
|
5457
|
-
} | undefined;
|
5458
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
5459
5523
|
maxLength?: number | undefined;
|
5460
5524
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5461
5525
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5526
|
+
includeMiddlename?: boolean | undefined;
|
5527
|
+
searchMode?: boolean | undefined;
|
5462
5528
|
} | undefined;
|
5463
5529
|
} | {
|
5464
5530
|
type: "PHONE";
|
@@ -5791,8 +5857,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5791
5857
|
postcodeOrZip?: string | undefined;
|
5792
5858
|
} | undefined;
|
5793
5859
|
configuration?: {
|
5794
|
-
|
5795
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5860
|
+
searchMode?: boolean | undefined;
|
5796
5861
|
} | undefined;
|
5797
5862
|
} | {
|
5798
5863
|
type: "DATA";
|
@@ -5830,6 +5895,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
5830
5895
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5831
5896
|
hideLabel?: boolean | undefined;
|
5832
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;
|
5833
5929
|
})[];
|
5834
5930
|
conditional?: import(".").JSONSchema | undefined;
|
5835
5931
|
} | {
|
@@ -6403,29 +6499,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6403
6499
|
hideLabel?: boolean | undefined;
|
6404
6500
|
uncorrectable?: boolean | undefined;
|
6405
6501
|
defaultValue?: {
|
6406
|
-
firstname
|
6407
|
-
surname
|
6408
|
-
middlename?: string | undefined;
|
6502
|
+
firstname: string;
|
6503
|
+
surname: string;
|
6409
6504
|
} | undefined;
|
6410
6505
|
configuration?: {
|
6411
|
-
name?: {
|
6412
|
-
firstname?: {
|
6413
|
-
required: boolean;
|
6414
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6415
|
-
} | undefined;
|
6416
|
-
surname?: {
|
6417
|
-
required: boolean;
|
6418
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6419
|
-
} | undefined;
|
6420
|
-
middlename?: {
|
6421
|
-
required: boolean;
|
6422
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6423
|
-
} | undefined;
|
6424
|
-
} | undefined;
|
6425
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6426
6506
|
maxLength?: number | undefined;
|
6427
6507
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6428
6508
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6509
|
+
includeMiddlename?: boolean | undefined;
|
6510
|
+
searchMode?: boolean | undefined;
|
6429
6511
|
} | undefined;
|
6430
6512
|
} | {
|
6431
6513
|
type: "PHONE";
|
@@ -6758,8 +6840,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6758
6840
|
postcodeOrZip?: string | undefined;
|
6759
6841
|
} | undefined;
|
6760
6842
|
configuration?: {
|
6761
|
-
|
6762
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
6843
|
+
searchMode?: boolean | undefined;
|
6763
6844
|
} | undefined;
|
6764
6845
|
} | {
|
6765
6846
|
type: "DATA";
|
@@ -6797,6 +6878,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
6797
6878
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6798
6879
|
hideLabel?: boolean | undefined;
|
6799
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;
|
6800
6912
|
})[];
|
6801
6913
|
conditional?: import(".").JSONSchema | undefined;
|
6802
6914
|
})[];
|
@@ -7373,29 +7485,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7373
7485
|
hideLabel?: boolean | undefined;
|
7374
7486
|
uncorrectable?: boolean | undefined;
|
7375
7487
|
defaultValue?: {
|
7376
|
-
firstname
|
7377
|
-
surname
|
7378
|
-
middlename?: string | undefined;
|
7488
|
+
firstname: string;
|
7489
|
+
surname: string;
|
7379
7490
|
} | undefined;
|
7380
7491
|
configuration?: {
|
7381
|
-
name?: {
|
7382
|
-
firstname?: {
|
7383
|
-
required: boolean;
|
7384
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7385
|
-
} | undefined;
|
7386
|
-
surname?: {
|
7387
|
-
required: boolean;
|
7388
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7389
|
-
} | undefined;
|
7390
|
-
middlename?: {
|
7391
|
-
required: boolean;
|
7392
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7393
|
-
} | undefined;
|
7394
|
-
} | undefined;
|
7395
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7396
7492
|
maxLength?: number | undefined;
|
7397
7493
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7398
7494
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7495
|
+
includeMiddlename?: boolean | undefined;
|
7496
|
+
searchMode?: boolean | undefined;
|
7399
7497
|
} | undefined;
|
7400
7498
|
} | {
|
7401
7499
|
type: "PHONE";
|
@@ -7728,8 +7826,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7728
7826
|
postcodeOrZip?: string | undefined;
|
7729
7827
|
} | undefined;
|
7730
7828
|
configuration?: {
|
7731
|
-
|
7732
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
7829
|
+
searchMode?: boolean | undefined;
|
7733
7830
|
} | undefined;
|
7734
7831
|
} | {
|
7735
7832
|
type: "DATA";
|
@@ -7767,6 +7864,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
7767
7864
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7768
7865
|
hideLabel?: boolean | undefined;
|
7769
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;
|
7770
7898
|
})[];
|
7771
7899
|
conditional?: import(".").JSONSchema | undefined;
|
7772
7900
|
} | {
|
@@ -8340,29 +8468,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8340
8468
|
hideLabel?: boolean | undefined;
|
8341
8469
|
uncorrectable?: boolean | undefined;
|
8342
8470
|
defaultValue?: {
|
8343
|
-
firstname
|
8344
|
-
surname
|
8345
|
-
middlename?: string | undefined;
|
8471
|
+
firstname: string;
|
8472
|
+
surname: string;
|
8346
8473
|
} | undefined;
|
8347
8474
|
configuration?: {
|
8348
|
-
name?: {
|
8349
|
-
firstname?: {
|
8350
|
-
required: boolean;
|
8351
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8352
|
-
} | undefined;
|
8353
|
-
surname?: {
|
8354
|
-
required: boolean;
|
8355
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8356
|
-
} | undefined;
|
8357
|
-
middlename?: {
|
8358
|
-
required: boolean;
|
8359
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8360
|
-
} | undefined;
|
8361
|
-
} | undefined;
|
8362
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
8363
8475
|
maxLength?: number | undefined;
|
8364
8476
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8365
8477
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8478
|
+
includeMiddlename?: boolean | undefined;
|
8479
|
+
searchMode?: boolean | undefined;
|
8366
8480
|
} | undefined;
|
8367
8481
|
} | {
|
8368
8482
|
type: "PHONE";
|
@@ -8695,8 +8809,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8695
8809
|
postcodeOrZip?: string | undefined;
|
8696
8810
|
} | undefined;
|
8697
8811
|
configuration?: {
|
8698
|
-
|
8699
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
8812
|
+
searchMode?: boolean | undefined;
|
8700
8813
|
} | undefined;
|
8701
8814
|
} | {
|
8702
8815
|
type: "DATA";
|
@@ -8734,6 +8847,37 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8734
8847
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8735
8848
|
hideLabel?: boolean | undefined;
|
8736
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;
|
8737
8881
|
})[];
|
8738
8882
|
conditional?: import(".").JSONSchema | undefined;
|
8739
8883
|
})[];
|
@@ -8792,7 +8936,7 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8792
8936
|
title: import("./TranslationConfig").TranslationConfig;
|
8793
8937
|
fields: ({
|
8794
8938
|
config: {
|
8795
|
-
type: "exact" | "fuzzy" | "range"
|
8939
|
+
type: "exact" | "fuzzy" | "range";
|
8796
8940
|
};
|
8797
8941
|
fieldId: string;
|
8798
8942
|
fieldType: "field";
|
@@ -8819,9 +8963,9 @@ export declare const defineConfig: (config: EventConfigInput) => {
|
|
8819
8963
|
excludeInSearchQuery?: boolean | undefined;
|
8820
8964
|
} | {
|
8821
8965
|
config: {
|
8822
|
-
type: "exact" | "fuzzy" | "range"
|
8966
|
+
type: "exact" | "fuzzy" | "range";
|
8823
8967
|
};
|
8824
|
-
fieldId: "
|
8968
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
8825
8969
|
fieldType: "event";
|
8826
8970
|
options?: {
|
8827
8971
|
value: string;
|