@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
@@ -569,29 +569,15 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
569
569
|
hideLabel?: boolean | undefined;
|
570
570
|
uncorrectable?: boolean | undefined;
|
571
571
|
defaultValue?: {
|
572
|
-
firstname
|
573
|
-
surname
|
574
|
-
middlename?: string | undefined;
|
572
|
+
firstname: string;
|
573
|
+
surname: string;
|
575
574
|
} | undefined;
|
576
575
|
configuration?: {
|
577
|
-
name?: {
|
578
|
-
firstname?: {
|
579
|
-
required: boolean;
|
580
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
581
|
-
} | undefined;
|
582
|
-
surname?: {
|
583
|
-
required: boolean;
|
584
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
585
|
-
} | undefined;
|
586
|
-
middlename?: {
|
587
|
-
required: boolean;
|
588
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
589
|
-
} | undefined;
|
590
|
-
} | undefined;
|
591
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
592
576
|
maxLength?: number | undefined;
|
593
577
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
594
578
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
579
|
+
includeMiddlename?: boolean | undefined;
|
580
|
+
searchMode?: boolean | undefined;
|
595
581
|
} | undefined;
|
596
582
|
} | {
|
597
583
|
type: "PHONE";
|
@@ -924,8 +910,7 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
924
910
|
postcodeOrZip?: string | undefined;
|
925
911
|
} | undefined;
|
926
912
|
configuration?: {
|
927
|
-
|
928
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
913
|
+
searchMode?: boolean | undefined;
|
929
914
|
} | undefined;
|
930
915
|
} | {
|
931
916
|
type: "DATA";
|
@@ -963,6 +948,37 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
963
948
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
964
949
|
hideLabel?: boolean | undefined;
|
965
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;
|
966
982
|
})[];
|
967
983
|
conditional?: import(".").JSONSchema | undefined;
|
968
984
|
}[];
|
@@ -1527,29 +1543,15 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
1527
1543
|
hideLabel?: boolean | undefined;
|
1528
1544
|
uncorrectable?: boolean | undefined;
|
1529
1545
|
defaultValue?: {
|
1530
|
-
firstname
|
1531
|
-
surname
|
1532
|
-
middlename?: string | undefined;
|
1546
|
+
firstname: string;
|
1547
|
+
surname: string;
|
1533
1548
|
} | undefined;
|
1534
1549
|
configuration?: {
|
1535
|
-
name?: {
|
1536
|
-
firstname?: {
|
1537
|
-
required: boolean;
|
1538
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1539
|
-
} | undefined;
|
1540
|
-
surname?: {
|
1541
|
-
required: boolean;
|
1542
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1543
|
-
} | undefined;
|
1544
|
-
middlename?: {
|
1545
|
-
required: boolean;
|
1546
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
1547
|
-
} | undefined;
|
1548
|
-
} | undefined;
|
1549
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
1550
1550
|
maxLength?: number | undefined;
|
1551
1551
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1552
1552
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
1553
|
+
includeMiddlename?: boolean | undefined;
|
1554
|
+
searchMode?: boolean | undefined;
|
1553
1555
|
} | undefined;
|
1554
1556
|
} | {
|
1555
1557
|
type: "PHONE";
|
@@ -1882,8 +1884,7 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
1882
1884
|
postcodeOrZip?: string | undefined;
|
1883
1885
|
} | undefined;
|
1884
1886
|
configuration?: {
|
1885
|
-
|
1886
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
1887
|
+
searchMode?: boolean | undefined;
|
1887
1888
|
} | undefined;
|
1888
1889
|
} | {
|
1889
1890
|
type: "DATA";
|
@@ -1921,6 +1922,37 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
1921
1922
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1922
1923
|
hideLabel?: boolean | undefined;
|
1923
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;
|
1924
1956
|
})[];
|
1925
1957
|
conditional?: import(".").JSONSchema | undefined;
|
1926
1958
|
}[];
|
@@ -2484,29 +2516,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
2484
2516
|
hideLabel?: boolean | undefined;
|
2485
2517
|
uncorrectable?: boolean | undefined;
|
2486
2518
|
defaultValue?: {
|
2487
|
-
firstname
|
2488
|
-
surname
|
2489
|
-
middlename?: string | undefined;
|
2519
|
+
firstname: string;
|
2520
|
+
surname: string;
|
2490
2521
|
} | undefined;
|
2491
2522
|
configuration?: {
|
2492
|
-
name?: {
|
2493
|
-
firstname?: {
|
2494
|
-
required: boolean;
|
2495
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2496
|
-
} | undefined;
|
2497
|
-
surname?: {
|
2498
|
-
required: boolean;
|
2499
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2500
|
-
} | undefined;
|
2501
|
-
middlename?: {
|
2502
|
-
required: boolean;
|
2503
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
2504
|
-
} | undefined;
|
2505
|
-
} | undefined;
|
2506
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
2507
2523
|
maxLength?: number | undefined;
|
2508
2524
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2509
2525
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
2526
|
+
includeMiddlename?: boolean | undefined;
|
2527
|
+
searchMode?: boolean | undefined;
|
2510
2528
|
} | undefined;
|
2511
2529
|
} | {
|
2512
2530
|
type: "PHONE";
|
@@ -2839,8 +2857,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
2839
2857
|
postcodeOrZip?: string | undefined;
|
2840
2858
|
} | undefined;
|
2841
2859
|
configuration?: {
|
2842
|
-
|
2843
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
2860
|
+
searchMode?: boolean | undefined;
|
2844
2861
|
} | undefined;
|
2845
2862
|
} | {
|
2846
2863
|
type: "DATA";
|
@@ -2878,6 +2895,37 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
2878
2895
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2879
2896
|
hideLabel?: boolean | undefined;
|
2880
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;
|
2881
2929
|
})[];
|
2882
2930
|
conditional?: import(".").JSONSchema | undefined;
|
2883
2931
|
} | {
|
@@ -3451,29 +3499,15 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
3451
3499
|
hideLabel?: boolean | undefined;
|
3452
3500
|
uncorrectable?: boolean | undefined;
|
3453
3501
|
defaultValue?: {
|
3454
|
-
firstname
|
3455
|
-
surname
|
3456
|
-
middlename?: string | undefined;
|
3502
|
+
firstname: string;
|
3503
|
+
surname: string;
|
3457
3504
|
} | undefined;
|
3458
3505
|
configuration?: {
|
3459
|
-
name?: {
|
3460
|
-
firstname?: {
|
3461
|
-
required: boolean;
|
3462
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3463
|
-
} | undefined;
|
3464
|
-
surname?: {
|
3465
|
-
required: boolean;
|
3466
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3467
|
-
} | undefined;
|
3468
|
-
middlename?: {
|
3469
|
-
required: boolean;
|
3470
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
3471
|
-
} | undefined;
|
3472
|
-
} | undefined;
|
3473
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
3474
3506
|
maxLength?: number | undefined;
|
3475
3507
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3476
3508
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
3509
|
+
includeMiddlename?: boolean | undefined;
|
3510
|
+
searchMode?: boolean | undefined;
|
3477
3511
|
} | undefined;
|
3478
3512
|
} | {
|
3479
3513
|
type: "PHONE";
|
@@ -3806,8 +3840,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
3806
3840
|
postcodeOrZip?: string | undefined;
|
3807
3841
|
} | undefined;
|
3808
3842
|
configuration?: {
|
3809
|
-
|
3810
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
3843
|
+
searchMode?: boolean | undefined;
|
3811
3844
|
} | undefined;
|
3812
3845
|
} | {
|
3813
3846
|
type: "DATA";
|
@@ -3845,6 +3878,37 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
3845
3878
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3846
3879
|
hideLabel?: boolean | undefined;
|
3847
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;
|
3848
3912
|
})[];
|
3849
3913
|
conditional?: import(".").JSONSchema | undefined;
|
3850
3914
|
})[];
|
@@ -4403,29 +4467,15 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
4403
4467
|
hideLabel?: boolean | undefined;
|
4404
4468
|
uncorrectable?: boolean | undefined;
|
4405
4469
|
defaultValue?: {
|
4406
|
-
firstname
|
4407
|
-
surname
|
4408
|
-
middlename?: string | undefined;
|
4470
|
+
firstname: string;
|
4471
|
+
surname: string;
|
4409
4472
|
} | undefined;
|
4410
4473
|
configuration?: {
|
4411
|
-
name?: {
|
4412
|
-
firstname?: {
|
4413
|
-
required: boolean;
|
4414
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4415
|
-
} | undefined;
|
4416
|
-
surname?: {
|
4417
|
-
required: boolean;
|
4418
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4419
|
-
} | undefined;
|
4420
|
-
middlename?: {
|
4421
|
-
required: boolean;
|
4422
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
4423
|
-
} | undefined;
|
4424
|
-
} | undefined;
|
4425
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
4426
4474
|
maxLength?: number | undefined;
|
4427
4475
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4428
4476
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
4477
|
+
includeMiddlename?: boolean | undefined;
|
4478
|
+
searchMode?: boolean | undefined;
|
4429
4479
|
} | undefined;
|
4430
4480
|
} | {
|
4431
4481
|
type: "PHONE";
|
@@ -4758,8 +4808,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
4758
4808
|
postcodeOrZip?: string | undefined;
|
4759
4809
|
} | undefined;
|
4760
4810
|
configuration?: {
|
4761
|
-
|
4762
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
4811
|
+
searchMode?: boolean | undefined;
|
4763
4812
|
} | undefined;
|
4764
4813
|
} | {
|
4765
4814
|
type: "DATA";
|
@@ -4797,8 +4846,39 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
4797
4846
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4798
4847
|
hideLabel?: boolean | undefined;
|
4799
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;
|
4800
4880
|
})[];
|
4801
|
-
export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
|
4881
|
+
export declare function getAllUniqueFields(eventConfig: EventConfig): import("./FieldConfig").Inferred[];
|
4802
4882
|
export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
|
4803
4883
|
/**
|
4804
4884
|
* @TODO: Request correction should have same format as print certificate
|
@@ -5361,29 +5441,15 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
5361
5441
|
hideLabel?: boolean | undefined;
|
5362
5442
|
uncorrectable?: boolean | undefined;
|
5363
5443
|
defaultValue?: {
|
5364
|
-
firstname
|
5365
|
-
surname
|
5366
|
-
middlename?: string | undefined;
|
5444
|
+
firstname: string;
|
5445
|
+
surname: string;
|
5367
5446
|
} | undefined;
|
5368
5447
|
configuration?: {
|
5369
|
-
name?: {
|
5370
|
-
firstname?: {
|
5371
|
-
required: boolean;
|
5372
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5373
|
-
} | undefined;
|
5374
|
-
surname?: {
|
5375
|
-
required: boolean;
|
5376
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5377
|
-
} | undefined;
|
5378
|
-
middlename?: {
|
5379
|
-
required: boolean;
|
5380
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
5381
|
-
} | undefined;
|
5382
|
-
} | undefined;
|
5383
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
5384
5448
|
maxLength?: number | undefined;
|
5385
5449
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5386
5450
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
5451
|
+
includeMiddlename?: boolean | undefined;
|
5452
|
+
searchMode?: boolean | undefined;
|
5387
5453
|
} | undefined;
|
5388
5454
|
} | {
|
5389
5455
|
type: "PHONE";
|
@@ -5716,8 +5782,7 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
5716
5782
|
postcodeOrZip?: string | undefined;
|
5717
5783
|
} | undefined;
|
5718
5784
|
configuration?: {
|
5719
|
-
|
5720
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
5785
|
+
searchMode?: boolean | undefined;
|
5721
5786
|
} | undefined;
|
5722
5787
|
} | {
|
5723
5788
|
type: "DATA";
|
@@ -5755,6 +5820,37 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
5755
5820
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5756
5821
|
hideLabel?: boolean | undefined;
|
5757
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;
|
5758
5854
|
})[];
|
5759
5855
|
};
|
5760
5856
|
export declare function getActionReviewFields(configuration: EventConfig, actionType: DeclarationActionType): ({
|
@@ -6312,29 +6408,15 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
6312
6408
|
hideLabel?: boolean | undefined;
|
6313
6409
|
uncorrectable?: boolean | undefined;
|
6314
6410
|
defaultValue?: {
|
6315
|
-
firstname
|
6316
|
-
surname
|
6317
|
-
middlename?: string | undefined;
|
6411
|
+
firstname: string;
|
6412
|
+
surname: string;
|
6318
6413
|
} | undefined;
|
6319
6414
|
configuration?: {
|
6320
|
-
name?: {
|
6321
|
-
firstname?: {
|
6322
|
-
required: boolean;
|
6323
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6324
|
-
} | undefined;
|
6325
|
-
surname?: {
|
6326
|
-
required: boolean;
|
6327
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6328
|
-
} | undefined;
|
6329
|
-
middlename?: {
|
6330
|
-
required: boolean;
|
6331
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
6332
|
-
} | undefined;
|
6333
|
-
} | undefined;
|
6334
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
6335
6415
|
maxLength?: number | undefined;
|
6336
6416
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6337
6417
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
6418
|
+
includeMiddlename?: boolean | undefined;
|
6419
|
+
searchMode?: boolean | undefined;
|
6338
6420
|
} | undefined;
|
6339
6421
|
} | {
|
6340
6422
|
type: "PHONE";
|
@@ -6667,8 +6749,7 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
6667
6749
|
postcodeOrZip?: string | undefined;
|
6668
6750
|
} | undefined;
|
6669
6751
|
configuration?: {
|
6670
|
-
|
6671
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
6752
|
+
searchMode?: boolean | undefined;
|
6672
6753
|
} | undefined;
|
6673
6754
|
} | {
|
6674
6755
|
type: "DATA";
|
@@ -6706,6 +6787,37 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
6706
6787
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6707
6788
|
hideLabel?: boolean | undefined;
|
6708
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;
|
6709
6821
|
})[];
|
6710
6822
|
export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate): boolean;
|
6711
6823
|
export declare function omitHiddenFields<T extends EventState | ActionUpdate>(fields: FieldConfig[], values: T, visibleVerificationPageIds?: string[]): Partial<T>;
|
@@ -6736,8 +6848,8 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
|
|
6736
6848
|
surname: string;
|
6737
6849
|
middlename?: string | undefined;
|
6738
6850
|
} | {
|
6739
|
-
firstname
|
6740
|
-
surname
|
6851
|
+
firstname?: string | null | undefined;
|
6852
|
+
surname?: string | null | undefined;
|
6741
6853
|
middlename?: string | null | undefined;
|
6742
6854
|
} | {
|
6743
6855
|
country: string;
|
@@ -6758,12 +6870,115 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
|
|
6758
6870
|
start: string;
|
6759
6871
|
end: string;
|
6760
6872
|
} | null | undefined>>;
|
6761
|
-
|
6762
|
-
|
6763
|
-
|
6764
|
-
|
6765
|
-
|
6766
|
-
|
6873
|
+
export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]): {
|
6874
|
+
id: string & import("zod").BRAND<"UUID">;
|
6875
|
+
transactionId: string;
|
6876
|
+
createdAt: string;
|
6877
|
+
eventId: string & import("zod").BRAND<"UUID">;
|
6878
|
+
action: {
|
6879
|
+
type: "DELETE" | "CREATE" | "NOTIFY" | "DECLARE" | "VALIDATE" | "REGISTER" | "DETECT_DUPLICATE" | "REJECT" | "MARKED_AS_DUPLICATE" | "ARCHIVE" | "PRINT_CERTIFICATE" | "REQUEST_CORRECTION" | "REJECT_CORRECTION" | "APPROVE_CORRECTION" | "READ" | "ASSIGN" | "UNASSIGN";
|
6880
|
+
status: "Rejected" | "Requested" | "Accepted";
|
6881
|
+
transactionId: string;
|
6882
|
+
createdByUserType: "system" | "user";
|
6883
|
+
createdAt: string;
|
6884
|
+
createdBy: string;
|
6885
|
+
createdByRole: string;
|
6886
|
+
declaration: Record<string, string | number | boolean | {
|
6887
|
+
type: string;
|
6888
|
+
path: string;
|
6889
|
+
originalFilename: string;
|
6890
|
+
} | {
|
6891
|
+
country: string;
|
6892
|
+
district: string;
|
6893
|
+
addressType: "DOMESTIC";
|
6894
|
+
province: string;
|
6895
|
+
urbanOrRural: "URBAN";
|
6896
|
+
number?: string | null | undefined;
|
6897
|
+
town?: string | null | undefined;
|
6898
|
+
residentialArea?: string | null | undefined;
|
6899
|
+
street?: string | null | undefined;
|
6900
|
+
zipCode?: string | null | undefined;
|
6901
|
+
} | {
|
6902
|
+
firstname?: string | null | undefined;
|
6903
|
+
surname?: string | null | undefined;
|
6904
|
+
middlename?: string | null | undefined;
|
6905
|
+
} | {
|
6906
|
+
country: string;
|
6907
|
+
district: string;
|
6908
|
+
addressType: "DOMESTIC";
|
6909
|
+
province: string;
|
6910
|
+
urbanOrRural: "RURAL";
|
6911
|
+
village?: string | null | undefined;
|
6912
|
+
} | {
|
6913
|
+
country: string;
|
6914
|
+
state: string;
|
6915
|
+
addressType: "INTERNATIONAL";
|
6916
|
+
district2: string;
|
6917
|
+
cityOrTown?: string | null | undefined;
|
6918
|
+
addressLine1?: string | null | undefined;
|
6919
|
+
addressLine2?: string | null | undefined;
|
6920
|
+
addressLine3?: string | null | undefined;
|
6921
|
+
postcodeOrZip?: string | null | undefined;
|
6922
|
+
} | {
|
6923
|
+
type: string;
|
6924
|
+
option: string;
|
6925
|
+
path: string;
|
6926
|
+
originalFilename: string;
|
6927
|
+
}[] | {
|
6928
|
+
start: string;
|
6929
|
+
end: string;
|
6930
|
+
} | null | undefined>;
|
6931
|
+
createdBySignature?: string | null | undefined;
|
6932
|
+
createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6933
|
+
annotation?: Record<string, string | number | boolean | {
|
6934
|
+
type: string;
|
6935
|
+
path: string;
|
6936
|
+
originalFilename: string;
|
6937
|
+
} | {
|
6938
|
+
country: string;
|
6939
|
+
district: string;
|
6940
|
+
addressType: "DOMESTIC";
|
6941
|
+
province: string;
|
6942
|
+
urbanOrRural: "URBAN";
|
6943
|
+
number?: string | null | undefined;
|
6944
|
+
town?: string | null | undefined;
|
6945
|
+
residentialArea?: string | null | undefined;
|
6946
|
+
street?: string | null | undefined;
|
6947
|
+
zipCode?: string | null | undefined;
|
6948
|
+
} | {
|
6949
|
+
firstname?: string | null | undefined;
|
6950
|
+
surname?: string | null | undefined;
|
6951
|
+
middlename?: string | null | undefined;
|
6952
|
+
} | {
|
6953
|
+
country: string;
|
6954
|
+
district: string;
|
6955
|
+
addressType: "DOMESTIC";
|
6956
|
+
province: string;
|
6957
|
+
urbanOrRural: "RURAL";
|
6958
|
+
village?: string | null | undefined;
|
6959
|
+
} | {
|
6960
|
+
country: string;
|
6961
|
+
state: string;
|
6962
|
+
addressType: "INTERNATIONAL";
|
6963
|
+
district2: string;
|
6964
|
+
cityOrTown?: string | null | undefined;
|
6965
|
+
addressLine1?: string | null | undefined;
|
6966
|
+
addressLine2?: string | null | undefined;
|
6967
|
+
addressLine3?: string | null | undefined;
|
6968
|
+
postcodeOrZip?: string | null | undefined;
|
6969
|
+
} | {
|
6970
|
+
type: string;
|
6971
|
+
option: string;
|
6972
|
+
path: string;
|
6973
|
+
originalFilename: string;
|
6974
|
+
}[] | {
|
6975
|
+
start: string;
|
6976
|
+
end: string;
|
6977
|
+
} | null | undefined> | null | undefined;
|
6978
|
+
originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
|
6979
|
+
};
|
6980
|
+
}[];
|
6981
|
+
export declare function createEmptyDraft(eventId: UUID, draftId: UUID, actionType: ActionType): Draft;
|
6767
6982
|
export declare function isVerificationPage(page: PageConfig): page is VerificationPageConfig;
|
6768
6983
|
export declare function getVisibleVerificationPageIds(pages: PageConfig[], annotation: ActionUpdate): string[];
|
6769
6984
|
export declare function getActionVerificationPageIds(actionConfig: ActionConfig, annotation: ActionUpdate): string[];
|
@@ -6806,8 +7021,8 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
|
|
6806
7021
|
surname: string;
|
6807
7022
|
middlename?: string | undefined;
|
6808
7023
|
} | {
|
6809
|
-
firstname
|
6810
|
-
surname
|
7024
|
+
firstname?: string | null | undefined;
|
7025
|
+
surname?: string | null | undefined;
|
6811
7026
|
middlename?: string | null | undefined;
|
6812
7027
|
} | {
|
6813
7028
|
country: string;
|
@@ -6846,14 +7061,6 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
|
|
6846
7061
|
end: string;
|
6847
7062
|
} | null | undefined;
|
6848
7063
|
}>;
|
6849
|
-
/**
|
6850
|
-
* Merges two documents together.
|
6851
|
-
*
|
6852
|
-
* @example deepMerge({'review.signature': { path: '/path.png', type: 'image/png' }}, { foo: 'bar'}) } => { 'review.signature': { path: '/path.png', type: 'image/png' }, foo: 'bar' }
|
6853
|
-
*
|
6854
|
-
* NOTE: When merging deep objects, the values from the second object will override the first one.
|
6855
|
-
* @example { annotation: {'review.signature': { path: '/path.png', type: 'image/png' }}, { annotation: { foo: 'bar'}) } } => { annotation: { foo: 'bar' } }
|
6856
|
-
*/
|
6857
7064
|
export declare function deepMerge<T extends Record<string, unknown>, K extends Record<string, unknown>>(currentDocument: T, actionDocument: K): T & K;
|
6858
7065
|
export declare function findLastAssignmentAction(actions: Action[]): Action | undefined;
|
6859
7066
|
/** Tell compiler that accessing record with arbitrary key might result to undefined
|
@@ -7440,29 +7647,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
7440
7647
|
hideLabel?: boolean | undefined;
|
7441
7648
|
uncorrectable?: boolean | undefined;
|
7442
7649
|
defaultValue?: {
|
7443
|
-
firstname
|
7444
|
-
surname
|
7445
|
-
middlename?: string | undefined;
|
7650
|
+
firstname: string;
|
7651
|
+
surname: string;
|
7446
7652
|
} | undefined;
|
7447
7653
|
configuration?: {
|
7448
|
-
name?: {
|
7449
|
-
firstname?: {
|
7450
|
-
required: boolean;
|
7451
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7452
|
-
} | undefined;
|
7453
|
-
surname?: {
|
7454
|
-
required: boolean;
|
7455
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7456
|
-
} | undefined;
|
7457
|
-
middlename?: {
|
7458
|
-
required: boolean;
|
7459
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
7460
|
-
} | undefined;
|
7461
|
-
} | undefined;
|
7462
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
7463
7654
|
maxLength?: number | undefined;
|
7464
7655
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7465
7656
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
7657
|
+
includeMiddlename?: boolean | undefined;
|
7658
|
+
searchMode?: boolean | undefined;
|
7466
7659
|
} | undefined;
|
7467
7660
|
} | {
|
7468
7661
|
type: "PHONE";
|
@@ -7795,21 +7988,51 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
7795
7988
|
postcodeOrZip?: string | undefined;
|
7796
7989
|
} | undefined;
|
7797
7990
|
configuration?: {
|
7798
|
-
|
7799
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
7991
|
+
searchMode?: boolean | undefined;
|
7800
7992
|
} | undefined;
|
7801
7993
|
} | {
|
7802
|
-
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";
|
7803
8031
|
id: string;
|
7804
8032
|
label: import("./TranslationConfig").TranslationConfig;
|
7805
8033
|
configuration: {
|
7806
|
-
|
7807
|
-
|
7808
|
-
label: import("./TranslationConfig").TranslationConfig;
|
7809
|
-
} | {
|
7810
|
-
fieldId: string;
|
7811
|
-
})[];
|
7812
|
-
subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
|
8034
|
+
template: string;
|
8035
|
+
buttonLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
7813
8036
|
};
|
7814
8037
|
parent?: {
|
7815
8038
|
$$field: string;
|
@@ -8405,29 +8628,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
8405
8628
|
hideLabel?: boolean | undefined;
|
8406
8629
|
uncorrectable?: boolean | undefined;
|
8407
8630
|
defaultValue?: {
|
8408
|
-
firstname
|
8409
|
-
surname
|
8410
|
-
middlename?: string | undefined;
|
8631
|
+
firstname: string;
|
8632
|
+
surname: string;
|
8411
8633
|
} | undefined;
|
8412
8634
|
configuration?: {
|
8413
|
-
name?: {
|
8414
|
-
firstname?: {
|
8415
|
-
required: boolean;
|
8416
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8417
|
-
} | undefined;
|
8418
|
-
surname?: {
|
8419
|
-
required: boolean;
|
8420
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8421
|
-
} | undefined;
|
8422
|
-
middlename?: {
|
8423
|
-
required: boolean;
|
8424
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
8425
|
-
} | undefined;
|
8426
|
-
} | undefined;
|
8427
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
8428
8635
|
maxLength?: number | undefined;
|
8429
8636
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8430
8637
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
8638
|
+
includeMiddlename?: boolean | undefined;
|
8639
|
+
searchMode?: boolean | undefined;
|
8431
8640
|
} | undefined;
|
8432
8641
|
} | {
|
8433
8642
|
type: "PHONE";
|
@@ -8760,8 +8969,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
8760
8969
|
postcodeOrZip?: string | undefined;
|
8761
8970
|
} | undefined;
|
8762
8971
|
configuration?: {
|
8763
|
-
|
8764
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
8972
|
+
searchMode?: boolean | undefined;
|
8765
8973
|
} | undefined;
|
8766
8974
|
} | {
|
8767
8975
|
type: "DATA";
|
@@ -8799,6 +9007,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
8799
9007
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8800
9008
|
hideLabel?: boolean | undefined;
|
8801
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;
|
8802
9041
|
})[];
|
8803
9042
|
};
|
8804
9043
|
draft?: boolean | undefined;
|
@@ -9369,29 +9608,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
9369
9608
|
hideLabel?: boolean | undefined;
|
9370
9609
|
uncorrectable?: boolean | undefined;
|
9371
9610
|
defaultValue?: {
|
9372
|
-
firstname
|
9373
|
-
surname
|
9374
|
-
middlename?: string | undefined;
|
9611
|
+
firstname: string;
|
9612
|
+
surname: string;
|
9375
9613
|
} | undefined;
|
9376
9614
|
configuration?: {
|
9377
|
-
name?: {
|
9378
|
-
firstname?: {
|
9379
|
-
required: boolean;
|
9380
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
9381
|
-
} | undefined;
|
9382
|
-
surname?: {
|
9383
|
-
required: boolean;
|
9384
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
9385
|
-
} | undefined;
|
9386
|
-
middlename?: {
|
9387
|
-
required: boolean;
|
9388
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
9389
|
-
} | undefined;
|
9390
|
-
} | undefined;
|
9391
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
9392
9615
|
maxLength?: number | undefined;
|
9393
9616
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
9394
9617
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
9618
|
+
includeMiddlename?: boolean | undefined;
|
9619
|
+
searchMode?: boolean | undefined;
|
9395
9620
|
} | undefined;
|
9396
9621
|
} | {
|
9397
9622
|
type: "PHONE";
|
@@ -9724,8 +9949,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
9724
9949
|
postcodeOrZip?: string | undefined;
|
9725
9950
|
} | undefined;
|
9726
9951
|
configuration?: {
|
9727
|
-
|
9728
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
9952
|
+
searchMode?: boolean | undefined;
|
9729
9953
|
} | undefined;
|
9730
9954
|
} | {
|
9731
9955
|
type: "DATA";
|
@@ -9763,6 +9987,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
9763
9987
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
9764
9988
|
hideLabel?: boolean | undefined;
|
9765
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;
|
9766
10021
|
})[];
|
9767
10022
|
};
|
9768
10023
|
draft?: boolean | undefined;
|
@@ -10333,29 +10588,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
10333
10588
|
hideLabel?: boolean | undefined;
|
10334
10589
|
uncorrectable?: boolean | undefined;
|
10335
10590
|
defaultValue?: {
|
10336
|
-
firstname
|
10337
|
-
surname
|
10338
|
-
middlename?: string | undefined;
|
10591
|
+
firstname: string;
|
10592
|
+
surname: string;
|
10339
10593
|
} | undefined;
|
10340
10594
|
configuration?: {
|
10341
|
-
name?: {
|
10342
|
-
firstname?: {
|
10343
|
-
required: boolean;
|
10344
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
10345
|
-
} | undefined;
|
10346
|
-
surname?: {
|
10347
|
-
required: boolean;
|
10348
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
10349
|
-
} | undefined;
|
10350
|
-
middlename?: {
|
10351
|
-
required: boolean;
|
10352
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
10353
|
-
} | undefined;
|
10354
|
-
} | undefined;
|
10355
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
10356
10595
|
maxLength?: number | undefined;
|
10357
10596
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
10358
10597
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
10598
|
+
includeMiddlename?: boolean | undefined;
|
10599
|
+
searchMode?: boolean | undefined;
|
10359
10600
|
} | undefined;
|
10360
10601
|
} | {
|
10361
10602
|
type: "PHONE";
|
@@ -10688,8 +10929,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
10688
10929
|
postcodeOrZip?: string | undefined;
|
10689
10930
|
} | undefined;
|
10690
10931
|
configuration?: {
|
10691
|
-
|
10692
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
10932
|
+
searchMode?: boolean | undefined;
|
10693
10933
|
} | undefined;
|
10694
10934
|
} | {
|
10695
10935
|
type: "DATA";
|
@@ -10727,6 +10967,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
10727
10967
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
10728
10968
|
hideLabel?: boolean | undefined;
|
10729
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;
|
10730
11001
|
})[];
|
10731
11002
|
};
|
10732
11003
|
draft?: boolean | undefined;
|
@@ -11297,29 +11568,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11297
11568
|
hideLabel?: boolean | undefined;
|
11298
11569
|
uncorrectable?: boolean | undefined;
|
11299
11570
|
defaultValue?: {
|
11300
|
-
firstname
|
11301
|
-
surname
|
11302
|
-
middlename?: string | undefined;
|
11571
|
+
firstname: string;
|
11572
|
+
surname: string;
|
11303
11573
|
} | undefined;
|
11304
11574
|
configuration?: {
|
11305
|
-
name?: {
|
11306
|
-
firstname?: {
|
11307
|
-
required: boolean;
|
11308
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
11309
|
-
} | undefined;
|
11310
|
-
surname?: {
|
11311
|
-
required: boolean;
|
11312
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
11313
|
-
} | undefined;
|
11314
|
-
middlename?: {
|
11315
|
-
required: boolean;
|
11316
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
11317
|
-
} | undefined;
|
11318
|
-
} | undefined;
|
11319
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
11320
11575
|
maxLength?: number | undefined;
|
11321
11576
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
11322
11577
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
11578
|
+
includeMiddlename?: boolean | undefined;
|
11579
|
+
searchMode?: boolean | undefined;
|
11323
11580
|
} | undefined;
|
11324
11581
|
} | {
|
11325
11582
|
type: "PHONE";
|
@@ -11652,8 +11909,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11652
11909
|
postcodeOrZip?: string | undefined;
|
11653
11910
|
} | undefined;
|
11654
11911
|
configuration?: {
|
11655
|
-
|
11656
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
11912
|
+
searchMode?: boolean | undefined;
|
11657
11913
|
} | undefined;
|
11658
11914
|
} | {
|
11659
11915
|
type: "DATA";
|
@@ -11691,6 +11947,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11691
11947
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
11692
11948
|
hideLabel?: boolean | undefined;
|
11693
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;
|
11694
11981
|
})[];
|
11695
11982
|
};
|
11696
11983
|
draft?: boolean | undefined;
|
@@ -12309,29 +12596,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
12309
12596
|
hideLabel?: boolean | undefined;
|
12310
12597
|
uncorrectable?: boolean | undefined;
|
12311
12598
|
defaultValue?: {
|
12312
|
-
firstname
|
12313
|
-
surname
|
12314
|
-
middlename?: string | undefined;
|
12599
|
+
firstname: string;
|
12600
|
+
surname: string;
|
12315
12601
|
} | undefined;
|
12316
12602
|
configuration?: {
|
12317
|
-
name?: {
|
12318
|
-
firstname?: {
|
12319
|
-
required: boolean;
|
12320
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
12321
|
-
} | undefined;
|
12322
|
-
surname?: {
|
12323
|
-
required: boolean;
|
12324
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
12325
|
-
} | undefined;
|
12326
|
-
middlename?: {
|
12327
|
-
required: boolean;
|
12328
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
12329
|
-
} | undefined;
|
12330
|
-
} | undefined;
|
12331
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
12332
12603
|
maxLength?: number | undefined;
|
12333
12604
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
12334
12605
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
12606
|
+
includeMiddlename?: boolean | undefined;
|
12607
|
+
searchMode?: boolean | undefined;
|
12335
12608
|
} | undefined;
|
12336
12609
|
} | {
|
12337
12610
|
type: "PHONE";
|
@@ -12664,8 +12937,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
12664
12937
|
postcodeOrZip?: string | undefined;
|
12665
12938
|
} | undefined;
|
12666
12939
|
configuration?: {
|
12667
|
-
|
12668
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
12940
|
+
searchMode?: boolean | undefined;
|
12669
12941
|
} | undefined;
|
12670
12942
|
} | {
|
12671
12943
|
type: "DATA";
|
@@ -12703,6 +12975,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
12703
12975
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
12704
12976
|
hideLabel?: boolean | undefined;
|
12705
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;
|
12706
13009
|
})[];
|
12707
13010
|
conditional?: import(".").JSONSchema | undefined;
|
12708
13011
|
} | {
|
@@ -13276,29 +13579,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
13276
13579
|
hideLabel?: boolean | undefined;
|
13277
13580
|
uncorrectable?: boolean | undefined;
|
13278
13581
|
defaultValue?: {
|
13279
|
-
firstname
|
13280
|
-
surname
|
13281
|
-
middlename?: string | undefined;
|
13582
|
+
firstname: string;
|
13583
|
+
surname: string;
|
13282
13584
|
} | undefined;
|
13283
13585
|
configuration?: {
|
13284
|
-
name?: {
|
13285
|
-
firstname?: {
|
13286
|
-
required: boolean;
|
13287
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
13288
|
-
} | undefined;
|
13289
|
-
surname?: {
|
13290
|
-
required: boolean;
|
13291
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
13292
|
-
} | undefined;
|
13293
|
-
middlename?: {
|
13294
|
-
required: boolean;
|
13295
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
13296
|
-
} | undefined;
|
13297
|
-
} | undefined;
|
13298
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
13299
13586
|
maxLength?: number | undefined;
|
13300
13587
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
13301
13588
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
13589
|
+
includeMiddlename?: boolean | undefined;
|
13590
|
+
searchMode?: boolean | undefined;
|
13302
13591
|
} | undefined;
|
13303
13592
|
} | {
|
13304
13593
|
type: "PHONE";
|
@@ -13631,8 +13920,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
13631
13920
|
postcodeOrZip?: string | undefined;
|
13632
13921
|
} | undefined;
|
13633
13922
|
configuration?: {
|
13634
|
-
|
13635
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
13923
|
+
searchMode?: boolean | undefined;
|
13636
13924
|
} | undefined;
|
13637
13925
|
} | {
|
13638
13926
|
type: "DATA";
|
@@ -13670,6 +13958,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
13670
13958
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
13671
13959
|
hideLabel?: boolean | undefined;
|
13672
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;
|
13673
13992
|
})[];
|
13674
13993
|
conditional?: import(".").JSONSchema | undefined;
|
13675
13994
|
})[];
|
@@ -14246,29 +14565,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
14246
14565
|
hideLabel?: boolean | undefined;
|
14247
14566
|
uncorrectable?: boolean | undefined;
|
14248
14567
|
defaultValue?: {
|
14249
|
-
firstname
|
14250
|
-
surname
|
14251
|
-
middlename?: string | undefined;
|
14568
|
+
firstname: string;
|
14569
|
+
surname: string;
|
14252
14570
|
} | undefined;
|
14253
14571
|
configuration?: {
|
14254
|
-
name?: {
|
14255
|
-
firstname?: {
|
14256
|
-
required: boolean;
|
14257
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
14258
|
-
} | undefined;
|
14259
|
-
surname?: {
|
14260
|
-
required: boolean;
|
14261
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
14262
|
-
} | undefined;
|
14263
|
-
middlename?: {
|
14264
|
-
required: boolean;
|
14265
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
14266
|
-
} | undefined;
|
14267
|
-
} | undefined;
|
14268
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
14269
14572
|
maxLength?: number | undefined;
|
14270
14573
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
14271
14574
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
14575
|
+
includeMiddlename?: boolean | undefined;
|
14576
|
+
searchMode?: boolean | undefined;
|
14272
14577
|
} | undefined;
|
14273
14578
|
} | {
|
14274
14579
|
type: "PHONE";
|
@@ -14601,8 +14906,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
14601
14906
|
postcodeOrZip?: string | undefined;
|
14602
14907
|
} | undefined;
|
14603
14908
|
configuration?: {
|
14604
|
-
|
14605
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
14909
|
+
searchMode?: boolean | undefined;
|
14606
14910
|
} | undefined;
|
14607
14911
|
} | {
|
14608
14912
|
type: "DATA";
|
@@ -14640,6 +14944,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
14640
14944
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
14641
14945
|
hideLabel?: boolean | undefined;
|
14642
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;
|
14643
14978
|
})[];
|
14644
14979
|
conditional?: import(".").JSONSchema | undefined;
|
14645
14980
|
} | {
|
@@ -15213,29 +15548,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15213
15548
|
hideLabel?: boolean | undefined;
|
15214
15549
|
uncorrectable?: boolean | undefined;
|
15215
15550
|
defaultValue?: {
|
15216
|
-
firstname
|
15217
|
-
surname
|
15218
|
-
middlename?: string | undefined;
|
15551
|
+
firstname: string;
|
15552
|
+
surname: string;
|
15219
15553
|
} | undefined;
|
15220
15554
|
configuration?: {
|
15221
|
-
name?: {
|
15222
|
-
firstname?: {
|
15223
|
-
required: boolean;
|
15224
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
15225
|
-
} | undefined;
|
15226
|
-
surname?: {
|
15227
|
-
required: boolean;
|
15228
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
15229
|
-
} | undefined;
|
15230
|
-
middlename?: {
|
15231
|
-
required: boolean;
|
15232
|
-
label?: import("./TranslationConfig").TranslationConfig | undefined;
|
15233
|
-
} | undefined;
|
15234
|
-
} | undefined;
|
15235
|
-
order?: ("firstname" | "surname" | "middlename")[] | undefined;
|
15236
15555
|
maxLength?: number | undefined;
|
15237
15556
|
prefix?: import("./TranslationConfig").TranslationConfig | undefined;
|
15238
15557
|
postfix?: import("./TranslationConfig").TranslationConfig | undefined;
|
15558
|
+
includeMiddlename?: boolean | undefined;
|
15559
|
+
searchMode?: boolean | undefined;
|
15239
15560
|
} | undefined;
|
15240
15561
|
} | {
|
15241
15562
|
type: "PHONE";
|
@@ -15568,8 +15889,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15568
15889
|
postcodeOrZip?: string | undefined;
|
15569
15890
|
} | undefined;
|
15570
15891
|
configuration?: {
|
15571
|
-
|
15572
|
-
fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
|
15892
|
+
searchMode?: boolean | undefined;
|
15573
15893
|
} | undefined;
|
15574
15894
|
} | {
|
15575
15895
|
type: "DATA";
|
@@ -15607,6 +15927,37 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15607
15927
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
15608
15928
|
hideLabel?: boolean | undefined;
|
15609
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;
|
15610
15961
|
})[];
|
15611
15962
|
conditional?: import(".").JSONSchema | undefined;
|
15612
15963
|
})[];
|
@@ -15665,7 +16016,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15665
16016
|
title: import("./TranslationConfig").TranslationConfig;
|
15666
16017
|
fields: ({
|
15667
16018
|
config: {
|
15668
|
-
type: "exact" | "fuzzy" | "range"
|
16019
|
+
type: "exact" | "fuzzy" | "range";
|
15669
16020
|
};
|
15670
16021
|
fieldId: string;
|
15671
16022
|
fieldType: "field";
|
@@ -15692,9 +16043,9 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15692
16043
|
excludeInSearchQuery?: boolean | undefined;
|
15693
16044
|
} | {
|
15694
16045
|
config: {
|
15695
|
-
type: "exact" | "fuzzy" | "range"
|
16046
|
+
type: "exact" | "fuzzy" | "range";
|
15696
16047
|
};
|
15697
|
-
fieldId: "
|
16048
|
+
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
15698
16049
|
fieldType: "event";
|
15699
16050
|
options?: {
|
15700
16051
|
value: string;
|
@@ -15726,5 +16077,4 @@ export declare function timePeriodToDateRange(value: SelectDateRangeValue): {
|
|
15726
16077
|
startDate: string;
|
15727
16078
|
endDate: string;
|
15728
16079
|
};
|
15729
|
-
export declare function mergeDrafts(currentDraft: Draft, incomingDraft: Draft): Draft;
|
15730
16080
|
//# sourceMappingURL=utils.d.ts.map
|