@opencrvs/toolkit 1.8.1-rc.032a7f2 → 1.8.1-rc.06c1a33

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.
@@ -577,21 +577,18 @@ export declare function getDeclarationPages(configuration: EventConfig): {
577
577
  name?: {
578
578
  firstname?: {
579
579
  required: boolean;
580
- label?: import("./TranslationConfig").TranslationConfig | undefined;
581
580
  } | undefined;
582
581
  surname?: {
583
582
  required: boolean;
584
- label?: import("./TranslationConfig").TranslationConfig | undefined;
585
583
  } | undefined;
586
584
  middlename?: {
587
585
  required: boolean;
588
- label?: import("./TranslationConfig").TranslationConfig | undefined;
589
586
  } | undefined;
590
587
  } | undefined;
591
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
592
588
  maxLength?: number | undefined;
593
589
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
594
590
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
591
+ searchMode?: boolean | undefined;
595
592
  } | undefined;
596
593
  } | {
597
594
  type: "PHONE";
@@ -924,8 +921,7 @@ export declare function getDeclarationPages(configuration: EventConfig): {
924
921
  postcodeOrZip?: string | undefined;
925
922
  } | undefined;
926
923
  configuration?: {
927
- lineSeparator?: string | undefined;
928
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
924
+ searchMode?: boolean | undefined;
929
925
  } | undefined;
930
926
  } | {
931
927
  type: "DATA";
@@ -963,6 +959,85 @@ export declare function getDeclarationPages(configuration: EventConfig): {
963
959
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
964
960
  hideLabel?: boolean | undefined;
965
961
  uncorrectable?: boolean | undefined;
962
+ } | {
963
+ type: "BUTTON";
964
+ id: string;
965
+ label: import("./TranslationConfig").TranslationConfig;
966
+ configuration: {
967
+ text: import("./TranslationConfig").TranslationConfig;
968
+ loading?: boolean | undefined;
969
+ icon?: string | undefined;
970
+ };
971
+ parent?: {
972
+ $$field: string;
973
+ } | undefined;
974
+ validation?: {
975
+ message: import("./TranslationConfig").TranslationConfig;
976
+ validator: import(".").JSONSchema;
977
+ }[] | undefined;
978
+ required?: boolean | undefined;
979
+ conditionals?: ({
980
+ type: "SHOW";
981
+ conditional: import(".").JSONSchema;
982
+ } | {
983
+ type: "ENABLE";
984
+ conditional: import(".").JSONSchema;
985
+ } | {
986
+ type: "DISPLAY_ON_REVIEW";
987
+ conditional: import(".").JSONSchema;
988
+ })[] | undefined;
989
+ secured?: boolean | undefined;
990
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
991
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
992
+ hideLabel?: boolean | undefined;
993
+ uncorrectable?: boolean | undefined;
994
+ } | {
995
+ type: "HTTP";
996
+ id: string;
997
+ label: import("./TranslationConfig").TranslationConfig;
998
+ configuration: {
999
+ method: "POST" | "DELETE" | "GET" | "PUT";
1000
+ trigger: {
1001
+ $$field: string;
1002
+ };
1003
+ url: string;
1004
+ timeout: number;
1005
+ params?: Record<string, string> | undefined;
1006
+ headers?: Record<string, string> | undefined;
1007
+ body?: Record<string, string> | undefined;
1008
+ };
1009
+ parent?: {
1010
+ $$field: string;
1011
+ } | undefined;
1012
+ validation?: {
1013
+ message: import("./TranslationConfig").TranslationConfig;
1014
+ validator: import(".").JSONSchema;
1015
+ }[] | undefined;
1016
+ required?: boolean | undefined;
1017
+ conditionals?: ({
1018
+ type: "SHOW";
1019
+ conditional: import(".").JSONSchema;
1020
+ } | {
1021
+ type: "ENABLE";
1022
+ conditional: import(".").JSONSchema;
1023
+ } | {
1024
+ type: "DISPLAY_ON_REVIEW";
1025
+ conditional: import(".").JSONSchema;
1026
+ })[] | undefined;
1027
+ secured?: boolean | undefined;
1028
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1029
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1030
+ hideLabel?: boolean | undefined;
1031
+ uncorrectable?: boolean | undefined;
1032
+ defaultValue?: {
1033
+ error: {
1034
+ message: string;
1035
+ statusCode: number | null;
1036
+ } | null;
1037
+ loading: boolean;
1038
+ data?: any;
1039
+ trackingValue?: string | undefined;
1040
+ } | undefined;
966
1041
  })[];
967
1042
  conditional?: import(".").JSONSchema | undefined;
968
1043
  }[];
@@ -1535,21 +1610,18 @@ export declare function getDeclaration(configuration: EventConfig): {
1535
1610
  name?: {
1536
1611
  firstname?: {
1537
1612
  required: boolean;
1538
- label?: import("./TranslationConfig").TranslationConfig | undefined;
1539
1613
  } | undefined;
1540
1614
  surname?: {
1541
1615
  required: boolean;
1542
- label?: import("./TranslationConfig").TranslationConfig | undefined;
1543
1616
  } | undefined;
1544
1617
  middlename?: {
1545
1618
  required: boolean;
1546
- label?: import("./TranslationConfig").TranslationConfig | undefined;
1547
1619
  } | undefined;
1548
1620
  } | undefined;
1549
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
1550
1621
  maxLength?: number | undefined;
1551
1622
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
1552
1623
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
1624
+ searchMode?: boolean | undefined;
1553
1625
  } | undefined;
1554
1626
  } | {
1555
1627
  type: "PHONE";
@@ -1882,8 +1954,7 @@ export declare function getDeclaration(configuration: EventConfig): {
1882
1954
  postcodeOrZip?: string | undefined;
1883
1955
  } | undefined;
1884
1956
  configuration?: {
1885
- lineSeparator?: string | undefined;
1886
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
1957
+ searchMode?: boolean | undefined;
1887
1958
  } | undefined;
1888
1959
  } | {
1889
1960
  type: "DATA";
@@ -1921,6 +1992,85 @@ export declare function getDeclaration(configuration: EventConfig): {
1921
1992
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1922
1993
  hideLabel?: boolean | undefined;
1923
1994
  uncorrectable?: boolean | undefined;
1995
+ } | {
1996
+ type: "BUTTON";
1997
+ id: string;
1998
+ label: import("./TranslationConfig").TranslationConfig;
1999
+ configuration: {
2000
+ text: import("./TranslationConfig").TranslationConfig;
2001
+ loading?: boolean | undefined;
2002
+ icon?: string | undefined;
2003
+ };
2004
+ parent?: {
2005
+ $$field: string;
2006
+ } | undefined;
2007
+ validation?: {
2008
+ message: import("./TranslationConfig").TranslationConfig;
2009
+ validator: import(".").JSONSchema;
2010
+ }[] | undefined;
2011
+ required?: boolean | undefined;
2012
+ conditionals?: ({
2013
+ type: "SHOW";
2014
+ conditional: import(".").JSONSchema;
2015
+ } | {
2016
+ type: "ENABLE";
2017
+ conditional: import(".").JSONSchema;
2018
+ } | {
2019
+ type: "DISPLAY_ON_REVIEW";
2020
+ conditional: import(".").JSONSchema;
2021
+ })[] | undefined;
2022
+ secured?: boolean | undefined;
2023
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2024
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2025
+ hideLabel?: boolean | undefined;
2026
+ uncorrectable?: boolean | undefined;
2027
+ } | {
2028
+ type: "HTTP";
2029
+ id: string;
2030
+ label: import("./TranslationConfig").TranslationConfig;
2031
+ configuration: {
2032
+ method: "POST" | "DELETE" | "GET" | "PUT";
2033
+ trigger: {
2034
+ $$field: string;
2035
+ };
2036
+ url: string;
2037
+ timeout: number;
2038
+ params?: Record<string, string> | undefined;
2039
+ headers?: Record<string, string> | undefined;
2040
+ body?: Record<string, string> | undefined;
2041
+ };
2042
+ parent?: {
2043
+ $$field: string;
2044
+ } | undefined;
2045
+ validation?: {
2046
+ message: import("./TranslationConfig").TranslationConfig;
2047
+ validator: import(".").JSONSchema;
2048
+ }[] | undefined;
2049
+ required?: boolean | undefined;
2050
+ conditionals?: ({
2051
+ type: "SHOW";
2052
+ conditional: import(".").JSONSchema;
2053
+ } | {
2054
+ type: "ENABLE";
2055
+ conditional: import(".").JSONSchema;
2056
+ } | {
2057
+ type: "DISPLAY_ON_REVIEW";
2058
+ conditional: import(".").JSONSchema;
2059
+ })[] | undefined;
2060
+ secured?: boolean | undefined;
2061
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2062
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2063
+ hideLabel?: boolean | undefined;
2064
+ uncorrectable?: boolean | undefined;
2065
+ defaultValue?: {
2066
+ error: {
2067
+ message: string;
2068
+ statusCode: number | null;
2069
+ } | null;
2070
+ loading: boolean;
2071
+ data?: any;
2072
+ trackingValue?: string | undefined;
2073
+ } | undefined;
1924
2074
  })[];
1925
2075
  conditional?: import(".").JSONSchema | undefined;
1926
2076
  }[];
@@ -2492,21 +2642,18 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2492
2642
  name?: {
2493
2643
  firstname?: {
2494
2644
  required: boolean;
2495
- label?: import("./TranslationConfig").TranslationConfig | undefined;
2496
2645
  } | undefined;
2497
2646
  surname?: {
2498
2647
  required: boolean;
2499
- label?: import("./TranslationConfig").TranslationConfig | undefined;
2500
2648
  } | undefined;
2501
2649
  middlename?: {
2502
2650
  required: boolean;
2503
- label?: import("./TranslationConfig").TranslationConfig | undefined;
2504
2651
  } | undefined;
2505
2652
  } | undefined;
2506
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
2507
2653
  maxLength?: number | undefined;
2508
2654
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
2509
2655
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
2656
+ searchMode?: boolean | undefined;
2510
2657
  } | undefined;
2511
2658
  } | {
2512
2659
  type: "PHONE";
@@ -2839,8 +2986,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2839
2986
  postcodeOrZip?: string | undefined;
2840
2987
  } | undefined;
2841
2988
  configuration?: {
2842
- lineSeparator?: string | undefined;
2843
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
2989
+ searchMode?: boolean | undefined;
2844
2990
  } | undefined;
2845
2991
  } | {
2846
2992
  type: "DATA";
@@ -2878,6 +3024,85 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
2878
3024
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2879
3025
  hideLabel?: boolean | undefined;
2880
3026
  uncorrectable?: boolean | undefined;
3027
+ } | {
3028
+ type: "BUTTON";
3029
+ id: string;
3030
+ label: import("./TranslationConfig").TranslationConfig;
3031
+ configuration: {
3032
+ text: import("./TranslationConfig").TranslationConfig;
3033
+ loading?: boolean | undefined;
3034
+ icon?: string | undefined;
3035
+ };
3036
+ parent?: {
3037
+ $$field: string;
3038
+ } | undefined;
3039
+ validation?: {
3040
+ message: import("./TranslationConfig").TranslationConfig;
3041
+ validator: import(".").JSONSchema;
3042
+ }[] | undefined;
3043
+ required?: boolean | undefined;
3044
+ conditionals?: ({
3045
+ type: "SHOW";
3046
+ conditional: import(".").JSONSchema;
3047
+ } | {
3048
+ type: "ENABLE";
3049
+ conditional: import(".").JSONSchema;
3050
+ } | {
3051
+ type: "DISPLAY_ON_REVIEW";
3052
+ conditional: import(".").JSONSchema;
3053
+ })[] | undefined;
3054
+ secured?: boolean | undefined;
3055
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3056
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3057
+ hideLabel?: boolean | undefined;
3058
+ uncorrectable?: boolean | undefined;
3059
+ } | {
3060
+ type: "HTTP";
3061
+ id: string;
3062
+ label: import("./TranslationConfig").TranslationConfig;
3063
+ configuration: {
3064
+ method: "POST" | "DELETE" | "GET" | "PUT";
3065
+ trigger: {
3066
+ $$field: string;
3067
+ };
3068
+ url: string;
3069
+ timeout: number;
3070
+ params?: Record<string, string> | undefined;
3071
+ headers?: Record<string, string> | undefined;
3072
+ body?: Record<string, string> | undefined;
3073
+ };
3074
+ parent?: {
3075
+ $$field: string;
3076
+ } | undefined;
3077
+ validation?: {
3078
+ message: import("./TranslationConfig").TranslationConfig;
3079
+ validator: import(".").JSONSchema;
3080
+ }[] | undefined;
3081
+ required?: boolean | undefined;
3082
+ conditionals?: ({
3083
+ type: "SHOW";
3084
+ conditional: import(".").JSONSchema;
3085
+ } | {
3086
+ type: "ENABLE";
3087
+ conditional: import(".").JSONSchema;
3088
+ } | {
3089
+ type: "DISPLAY_ON_REVIEW";
3090
+ conditional: import(".").JSONSchema;
3091
+ })[] | undefined;
3092
+ secured?: boolean | undefined;
3093
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3094
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3095
+ hideLabel?: boolean | undefined;
3096
+ uncorrectable?: boolean | undefined;
3097
+ defaultValue?: {
3098
+ error: {
3099
+ message: string;
3100
+ statusCode: number | null;
3101
+ } | null;
3102
+ loading: boolean;
3103
+ data?: any;
3104
+ trackingValue?: string | undefined;
3105
+ } | undefined;
2881
3106
  })[];
2882
3107
  conditional?: import(".").JSONSchema | undefined;
2883
3108
  } | {
@@ -3459,21 +3684,18 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3459
3684
  name?: {
3460
3685
  firstname?: {
3461
3686
  required: boolean;
3462
- label?: import("./TranslationConfig").TranslationConfig | undefined;
3463
3687
  } | undefined;
3464
3688
  surname?: {
3465
3689
  required: boolean;
3466
- label?: import("./TranslationConfig").TranslationConfig | undefined;
3467
3690
  } | undefined;
3468
3691
  middlename?: {
3469
3692
  required: boolean;
3470
- label?: import("./TranslationConfig").TranslationConfig | undefined;
3471
3693
  } | undefined;
3472
3694
  } | undefined;
3473
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
3474
3695
  maxLength?: number | undefined;
3475
3696
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
3476
3697
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
3698
+ searchMode?: boolean | undefined;
3477
3699
  } | undefined;
3478
3700
  } | {
3479
3701
  type: "PHONE";
@@ -3806,8 +4028,7 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3806
4028
  postcodeOrZip?: string | undefined;
3807
4029
  } | undefined;
3808
4030
  configuration?: {
3809
- lineSeparator?: string | undefined;
3810
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
4031
+ searchMode?: boolean | undefined;
3811
4032
  } | undefined;
3812
4033
  } | {
3813
4034
  type: "DATA";
@@ -3845,6 +4066,85 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
3845
4066
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3846
4067
  hideLabel?: boolean | undefined;
3847
4068
  uncorrectable?: boolean | undefined;
4069
+ } | {
4070
+ type: "BUTTON";
4071
+ id: string;
4072
+ label: import("./TranslationConfig").TranslationConfig;
4073
+ configuration: {
4074
+ text: import("./TranslationConfig").TranslationConfig;
4075
+ loading?: boolean | undefined;
4076
+ icon?: string | undefined;
4077
+ };
4078
+ parent?: {
4079
+ $$field: string;
4080
+ } | undefined;
4081
+ validation?: {
4082
+ message: import("./TranslationConfig").TranslationConfig;
4083
+ validator: import(".").JSONSchema;
4084
+ }[] | undefined;
4085
+ required?: boolean | undefined;
4086
+ conditionals?: ({
4087
+ type: "SHOW";
4088
+ conditional: import(".").JSONSchema;
4089
+ } | {
4090
+ type: "ENABLE";
4091
+ conditional: import(".").JSONSchema;
4092
+ } | {
4093
+ type: "DISPLAY_ON_REVIEW";
4094
+ conditional: import(".").JSONSchema;
4095
+ })[] | undefined;
4096
+ secured?: boolean | undefined;
4097
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4098
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4099
+ hideLabel?: boolean | undefined;
4100
+ uncorrectable?: boolean | undefined;
4101
+ } | {
4102
+ type: "HTTP";
4103
+ id: string;
4104
+ label: import("./TranslationConfig").TranslationConfig;
4105
+ configuration: {
4106
+ method: "POST" | "DELETE" | "GET" | "PUT";
4107
+ trigger: {
4108
+ $$field: string;
4109
+ };
4110
+ url: string;
4111
+ timeout: number;
4112
+ params?: Record<string, string> | undefined;
4113
+ headers?: Record<string, string> | undefined;
4114
+ body?: Record<string, string> | undefined;
4115
+ };
4116
+ parent?: {
4117
+ $$field: string;
4118
+ } | undefined;
4119
+ validation?: {
4120
+ message: import("./TranslationConfig").TranslationConfig;
4121
+ validator: import(".").JSONSchema;
4122
+ }[] | undefined;
4123
+ required?: boolean | undefined;
4124
+ conditionals?: ({
4125
+ type: "SHOW";
4126
+ conditional: import(".").JSONSchema;
4127
+ } | {
4128
+ type: "ENABLE";
4129
+ conditional: import(".").JSONSchema;
4130
+ } | {
4131
+ type: "DISPLAY_ON_REVIEW";
4132
+ conditional: import(".").JSONSchema;
4133
+ })[] | undefined;
4134
+ secured?: boolean | undefined;
4135
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4136
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4137
+ hideLabel?: boolean | undefined;
4138
+ uncorrectable?: boolean | undefined;
4139
+ defaultValue?: {
4140
+ error: {
4141
+ message: string;
4142
+ statusCode: number | null;
4143
+ } | null;
4144
+ loading: boolean;
4145
+ data?: any;
4146
+ trackingValue?: string | undefined;
4147
+ } | undefined;
3848
4148
  })[];
3849
4149
  conditional?: import(".").JSONSchema | undefined;
3850
4150
  })[];
@@ -4411,21 +4711,18 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4411
4711
  name?: {
4412
4712
  firstname?: {
4413
4713
  required: boolean;
4414
- label?: import("./TranslationConfig").TranslationConfig | undefined;
4415
4714
  } | undefined;
4416
4715
  surname?: {
4417
4716
  required: boolean;
4418
- label?: import("./TranslationConfig").TranslationConfig | undefined;
4419
4717
  } | undefined;
4420
4718
  middlename?: {
4421
4719
  required: boolean;
4422
- label?: import("./TranslationConfig").TranslationConfig | undefined;
4423
4720
  } | undefined;
4424
4721
  } | undefined;
4425
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
4426
4722
  maxLength?: number | undefined;
4427
4723
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
4428
4724
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
4725
+ searchMode?: boolean | undefined;
4429
4726
  } | undefined;
4430
4727
  } | {
4431
4728
  type: "PHONE";
@@ -4758,8 +5055,7 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4758
5055
  postcodeOrZip?: string | undefined;
4759
5056
  } | undefined;
4760
5057
  configuration?: {
4761
- lineSeparator?: string | undefined;
4762
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
5058
+ searchMode?: boolean | undefined;
4763
5059
  } | undefined;
4764
5060
  } | {
4765
5061
  type: "DATA";
@@ -4797,22 +5093,101 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
4797
5093
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4798
5094
  hideLabel?: boolean | undefined;
4799
5095
  uncorrectable?: boolean | undefined;
4800
- })[];
4801
- export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
4802
- export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
4803
- /**
4804
- * @TODO: Request correction should have same format as print certificate
4805
- */
4806
- export declare const findRecordActionPages: (config: EventConfig, actionType: ActionType) => PageConfig[];
4807
- export declare function getActionReview(configuration: EventConfig, actionType: ActionType): {
4808
- title: import("./TranslationConfig").TranslationConfig;
4809
- fields: ({
4810
- type: "DIVIDER";
4811
- id: string;
4812
- label: import("./TranslationConfig").TranslationConfig;
4813
- parent?: {
4814
- $$field: string;
4815
- } | undefined;
5096
+ } | {
5097
+ type: "BUTTON";
5098
+ id: string;
5099
+ label: import("./TranslationConfig").TranslationConfig;
5100
+ configuration: {
5101
+ text: import("./TranslationConfig").TranslationConfig;
5102
+ loading?: boolean | undefined;
5103
+ icon?: string | undefined;
5104
+ };
5105
+ parent?: {
5106
+ $$field: string;
5107
+ } | undefined;
5108
+ validation?: {
5109
+ message: import("./TranslationConfig").TranslationConfig;
5110
+ validator: import(".").JSONSchema;
5111
+ }[] | undefined;
5112
+ required?: boolean | undefined;
5113
+ conditionals?: ({
5114
+ type: "SHOW";
5115
+ conditional: import(".").JSONSchema;
5116
+ } | {
5117
+ type: "ENABLE";
5118
+ conditional: import(".").JSONSchema;
5119
+ } | {
5120
+ type: "DISPLAY_ON_REVIEW";
5121
+ conditional: import(".").JSONSchema;
5122
+ })[] | undefined;
5123
+ secured?: boolean | undefined;
5124
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5125
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5126
+ hideLabel?: boolean | undefined;
5127
+ uncorrectable?: boolean | undefined;
5128
+ } | {
5129
+ type: "HTTP";
5130
+ id: string;
5131
+ label: import("./TranslationConfig").TranslationConfig;
5132
+ configuration: {
5133
+ method: "POST" | "DELETE" | "GET" | "PUT";
5134
+ trigger: {
5135
+ $$field: string;
5136
+ };
5137
+ url: string;
5138
+ timeout: number;
5139
+ params?: Record<string, string> | undefined;
5140
+ headers?: Record<string, string> | undefined;
5141
+ body?: Record<string, string> | undefined;
5142
+ };
5143
+ parent?: {
5144
+ $$field: string;
5145
+ } | undefined;
5146
+ validation?: {
5147
+ message: import("./TranslationConfig").TranslationConfig;
5148
+ validator: import(".").JSONSchema;
5149
+ }[] | undefined;
5150
+ required?: boolean | undefined;
5151
+ conditionals?: ({
5152
+ type: "SHOW";
5153
+ conditional: import(".").JSONSchema;
5154
+ } | {
5155
+ type: "ENABLE";
5156
+ conditional: import(".").JSONSchema;
5157
+ } | {
5158
+ type: "DISPLAY_ON_REVIEW";
5159
+ conditional: import(".").JSONSchema;
5160
+ })[] | undefined;
5161
+ secured?: boolean | undefined;
5162
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5163
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5164
+ hideLabel?: boolean | undefined;
5165
+ uncorrectable?: boolean | undefined;
5166
+ defaultValue?: {
5167
+ error: {
5168
+ message: string;
5169
+ statusCode: number | null;
5170
+ } | null;
5171
+ loading: boolean;
5172
+ data?: any;
5173
+ trackingValue?: string | undefined;
5174
+ } | undefined;
5175
+ })[];
5176
+ export declare function getAllUniqueFields(eventConfig: EventConfig): FieldConfig[];
5177
+ export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
5178
+ /**
5179
+ * @TODO: Request correction should have same format as print certificate
5180
+ */
5181
+ export declare const findRecordActionPages: (config: EventConfig, actionType: ActionType) => PageConfig[];
5182
+ export declare function getActionReview(configuration: EventConfig, actionType: ActionType): {
5183
+ title: import("./TranslationConfig").TranslationConfig;
5184
+ fields: ({
5185
+ type: "DIVIDER";
5186
+ id: string;
5187
+ label: import("./TranslationConfig").TranslationConfig;
5188
+ parent?: {
5189
+ $$field: string;
5190
+ } | undefined;
4816
5191
  validation?: {
4817
5192
  message: import("./TranslationConfig").TranslationConfig;
4818
5193
  validator: import(".").JSONSchema;
@@ -5369,21 +5744,18 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5369
5744
  name?: {
5370
5745
  firstname?: {
5371
5746
  required: boolean;
5372
- label?: import("./TranslationConfig").TranslationConfig | undefined;
5373
5747
  } | undefined;
5374
5748
  surname?: {
5375
5749
  required: boolean;
5376
- label?: import("./TranslationConfig").TranslationConfig | undefined;
5377
5750
  } | undefined;
5378
5751
  middlename?: {
5379
5752
  required: boolean;
5380
- label?: import("./TranslationConfig").TranslationConfig | undefined;
5381
5753
  } | undefined;
5382
5754
  } | undefined;
5383
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
5384
5755
  maxLength?: number | undefined;
5385
5756
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
5386
5757
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
5758
+ searchMode?: boolean | undefined;
5387
5759
  } | undefined;
5388
5760
  } | {
5389
5761
  type: "PHONE";
@@ -5716,8 +6088,7 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5716
6088
  postcodeOrZip?: string | undefined;
5717
6089
  } | undefined;
5718
6090
  configuration?: {
5719
- lineSeparator?: string | undefined;
5720
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
6091
+ searchMode?: boolean | undefined;
5721
6092
  } | undefined;
5722
6093
  } | {
5723
6094
  type: "DATA";
@@ -5755,6 +6126,85 @@ export declare function getActionReview(configuration: EventConfig, actionType:
5755
6126
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5756
6127
  hideLabel?: boolean | undefined;
5757
6128
  uncorrectable?: boolean | undefined;
6129
+ } | {
6130
+ type: "BUTTON";
6131
+ id: string;
6132
+ label: import("./TranslationConfig").TranslationConfig;
6133
+ configuration: {
6134
+ text: import("./TranslationConfig").TranslationConfig;
6135
+ loading?: boolean | undefined;
6136
+ icon?: string | undefined;
6137
+ };
6138
+ parent?: {
6139
+ $$field: string;
6140
+ } | undefined;
6141
+ validation?: {
6142
+ message: import("./TranslationConfig").TranslationConfig;
6143
+ validator: import(".").JSONSchema;
6144
+ }[] | undefined;
6145
+ required?: boolean | undefined;
6146
+ conditionals?: ({
6147
+ type: "SHOW";
6148
+ conditional: import(".").JSONSchema;
6149
+ } | {
6150
+ type: "ENABLE";
6151
+ conditional: import(".").JSONSchema;
6152
+ } | {
6153
+ type: "DISPLAY_ON_REVIEW";
6154
+ conditional: import(".").JSONSchema;
6155
+ })[] | undefined;
6156
+ secured?: boolean | undefined;
6157
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6158
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6159
+ hideLabel?: boolean | undefined;
6160
+ uncorrectable?: boolean | undefined;
6161
+ } | {
6162
+ type: "HTTP";
6163
+ id: string;
6164
+ label: import("./TranslationConfig").TranslationConfig;
6165
+ configuration: {
6166
+ method: "POST" | "DELETE" | "GET" | "PUT";
6167
+ trigger: {
6168
+ $$field: string;
6169
+ };
6170
+ url: string;
6171
+ timeout: number;
6172
+ params?: Record<string, string> | undefined;
6173
+ headers?: Record<string, string> | undefined;
6174
+ body?: Record<string, string> | undefined;
6175
+ };
6176
+ parent?: {
6177
+ $$field: string;
6178
+ } | undefined;
6179
+ validation?: {
6180
+ message: import("./TranslationConfig").TranslationConfig;
6181
+ validator: import(".").JSONSchema;
6182
+ }[] | undefined;
6183
+ required?: boolean | undefined;
6184
+ conditionals?: ({
6185
+ type: "SHOW";
6186
+ conditional: import(".").JSONSchema;
6187
+ } | {
6188
+ type: "ENABLE";
6189
+ conditional: import(".").JSONSchema;
6190
+ } | {
6191
+ type: "DISPLAY_ON_REVIEW";
6192
+ conditional: import(".").JSONSchema;
6193
+ })[] | undefined;
6194
+ secured?: boolean | undefined;
6195
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6196
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6197
+ hideLabel?: boolean | undefined;
6198
+ uncorrectable?: boolean | undefined;
6199
+ defaultValue?: {
6200
+ error: {
6201
+ message: string;
6202
+ statusCode: number | null;
6203
+ } | null;
6204
+ loading: boolean;
6205
+ data?: any;
6206
+ trackingValue?: string | undefined;
6207
+ } | undefined;
5758
6208
  })[];
5759
6209
  };
5760
6210
  export declare function getActionReviewFields(configuration: EventConfig, actionType: DeclarationActionType): ({
@@ -6320,21 +6770,18 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6320
6770
  name?: {
6321
6771
  firstname?: {
6322
6772
  required: boolean;
6323
- label?: import("./TranslationConfig").TranslationConfig | undefined;
6324
6773
  } | undefined;
6325
6774
  surname?: {
6326
6775
  required: boolean;
6327
- label?: import("./TranslationConfig").TranslationConfig | undefined;
6328
6776
  } | undefined;
6329
6777
  middlename?: {
6330
6778
  required: boolean;
6331
- label?: import("./TranslationConfig").TranslationConfig | undefined;
6332
6779
  } | undefined;
6333
6780
  } | undefined;
6334
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
6335
6781
  maxLength?: number | undefined;
6336
6782
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
6337
6783
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
6784
+ searchMode?: boolean | undefined;
6338
6785
  } | undefined;
6339
6786
  } | {
6340
6787
  type: "PHONE";
@@ -6667,8 +7114,7 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6667
7114
  postcodeOrZip?: string | undefined;
6668
7115
  } | undefined;
6669
7116
  configuration?: {
6670
- lineSeparator?: string | undefined;
6671
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
7117
+ searchMode?: boolean | undefined;
6672
7118
  } | undefined;
6673
7119
  } | {
6674
7120
  type: "DATA";
@@ -6706,6 +7152,85 @@ export declare function getActionReviewFields(configuration: EventConfig, action
6706
7152
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6707
7153
  hideLabel?: boolean | undefined;
6708
7154
  uncorrectable?: boolean | undefined;
7155
+ } | {
7156
+ type: "BUTTON";
7157
+ id: string;
7158
+ label: import("./TranslationConfig").TranslationConfig;
7159
+ configuration: {
7160
+ text: import("./TranslationConfig").TranslationConfig;
7161
+ loading?: boolean | undefined;
7162
+ icon?: string | undefined;
7163
+ };
7164
+ parent?: {
7165
+ $$field: string;
7166
+ } | undefined;
7167
+ validation?: {
7168
+ message: import("./TranslationConfig").TranslationConfig;
7169
+ validator: import(".").JSONSchema;
7170
+ }[] | undefined;
7171
+ required?: boolean | undefined;
7172
+ conditionals?: ({
7173
+ type: "SHOW";
7174
+ conditional: import(".").JSONSchema;
7175
+ } | {
7176
+ type: "ENABLE";
7177
+ conditional: import(".").JSONSchema;
7178
+ } | {
7179
+ type: "DISPLAY_ON_REVIEW";
7180
+ conditional: import(".").JSONSchema;
7181
+ })[] | undefined;
7182
+ secured?: boolean | undefined;
7183
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
7184
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7185
+ hideLabel?: boolean | undefined;
7186
+ uncorrectable?: boolean | undefined;
7187
+ } | {
7188
+ type: "HTTP";
7189
+ id: string;
7190
+ label: import("./TranslationConfig").TranslationConfig;
7191
+ configuration: {
7192
+ method: "POST" | "DELETE" | "GET" | "PUT";
7193
+ trigger: {
7194
+ $$field: string;
7195
+ };
7196
+ url: string;
7197
+ timeout: number;
7198
+ params?: Record<string, string> | undefined;
7199
+ headers?: Record<string, string> | undefined;
7200
+ body?: Record<string, string> | undefined;
7201
+ };
7202
+ parent?: {
7203
+ $$field: string;
7204
+ } | undefined;
7205
+ validation?: {
7206
+ message: import("./TranslationConfig").TranslationConfig;
7207
+ validator: import(".").JSONSchema;
7208
+ }[] | undefined;
7209
+ required?: boolean | undefined;
7210
+ conditionals?: ({
7211
+ type: "SHOW";
7212
+ conditional: import(".").JSONSchema;
7213
+ } | {
7214
+ type: "ENABLE";
7215
+ conditional: import(".").JSONSchema;
7216
+ } | {
7217
+ type: "DISPLAY_ON_REVIEW";
7218
+ conditional: import(".").JSONSchema;
7219
+ })[] | undefined;
7220
+ secured?: boolean | undefined;
7221
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
7222
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7223
+ hideLabel?: boolean | undefined;
7224
+ uncorrectable?: boolean | undefined;
7225
+ defaultValue?: {
7226
+ error: {
7227
+ message: string;
7228
+ statusCode: number | null;
7229
+ } | null;
7230
+ loading: boolean;
7231
+ data?: any;
7232
+ trackingValue?: string | undefined;
7233
+ } | undefined;
6709
7234
  })[];
6710
7235
  export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate): boolean;
6711
7236
  export declare function omitHiddenFields<T extends EventState | ActionUpdate>(fields: FieldConfig[], values: T, visibleVerificationPageIds?: string[]): Partial<T>;
@@ -6755,15 +7280,140 @@ export declare function omitHiddenPaginatedFields(formConfig: FormConfig, declar
6755
7280
  path: string;
6756
7281
  originalFilename: string;
6757
7282
  }[] | {
7283
+ error: {
7284
+ message: string;
7285
+ statusCode: number | null;
7286
+ } | null;
7287
+ loading: boolean;
7288
+ data?: any;
7289
+ trackingValue?: string | undefined;
7290
+ } | {
6758
7291
  start: string;
6759
7292
  end: string;
6760
7293
  } | null | undefined>>;
6761
- /**
6762
- *
6763
- * @returns a draft for the event that has been created since the last non-read action.
6764
- */
6765
- export declare function findActiveDraftForEvent(event: EventDocument, draft: Draft): Draft | undefined;
6766
- export declare function createEmptyDraft(eventId: UUID, draftId: UUID, actionType: Exclude<ActionType, 'DELETE'>): Draft;
7294
+ export declare function findActiveDrafts(event: EventDocument, drafts: Draft[]): {
7295
+ id: string & import("zod").BRAND<"UUID">;
7296
+ transactionId: string;
7297
+ createdAt: string;
7298
+ eventId: string & import("zod").BRAND<"UUID">;
7299
+ action: {
7300
+ 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";
7301
+ status: "Rejected" | "Requested" | "Accepted";
7302
+ transactionId: string;
7303
+ createdByUserType: "system" | "user";
7304
+ createdAt: string;
7305
+ createdBy: string;
7306
+ createdByRole: string;
7307
+ declaration: Record<string, string | number | boolean | {
7308
+ type: string;
7309
+ path: string;
7310
+ originalFilename: string;
7311
+ } | {
7312
+ country: string;
7313
+ district: string;
7314
+ addressType: "DOMESTIC";
7315
+ province: string;
7316
+ urbanOrRural: "URBAN";
7317
+ number?: string | null | undefined;
7318
+ town?: string | null | undefined;
7319
+ residentialArea?: string | null | undefined;
7320
+ street?: string | null | undefined;
7321
+ zipCode?: string | null | undefined;
7322
+ } | {
7323
+ firstname: string;
7324
+ surname: string;
7325
+ middlename?: string | null | undefined;
7326
+ } | {
7327
+ country: string;
7328
+ district: string;
7329
+ addressType: "DOMESTIC";
7330
+ province: string;
7331
+ urbanOrRural: "RURAL";
7332
+ village?: string | null | undefined;
7333
+ } | {
7334
+ country: string;
7335
+ state: string;
7336
+ addressType: "INTERNATIONAL";
7337
+ district2: string;
7338
+ cityOrTown?: string | null | undefined;
7339
+ addressLine1?: string | null | undefined;
7340
+ addressLine2?: string | null | undefined;
7341
+ addressLine3?: string | null | undefined;
7342
+ postcodeOrZip?: string | null | undefined;
7343
+ } | {
7344
+ type: string;
7345
+ option: string;
7346
+ path: string;
7347
+ originalFilename: string;
7348
+ }[] | {
7349
+ data?: any;
7350
+ error?: {
7351
+ message: string;
7352
+ statusCode: number | null;
7353
+ } | null | undefined;
7354
+ loading?: boolean | null | undefined;
7355
+ } | {
7356
+ start: string;
7357
+ end: string;
7358
+ } | null | undefined>;
7359
+ createdBySignature?: string | null | undefined;
7360
+ createdAtLocation?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7361
+ annotation?: Record<string, string | number | boolean | {
7362
+ type: string;
7363
+ path: string;
7364
+ originalFilename: string;
7365
+ } | {
7366
+ country: string;
7367
+ district: string;
7368
+ addressType: "DOMESTIC";
7369
+ province: string;
7370
+ urbanOrRural: "URBAN";
7371
+ number?: string | null | undefined;
7372
+ town?: string | null | undefined;
7373
+ residentialArea?: string | null | undefined;
7374
+ street?: string | null | undefined;
7375
+ zipCode?: string | null | undefined;
7376
+ } | {
7377
+ firstname: string;
7378
+ surname: string;
7379
+ middlename?: string | null | undefined;
7380
+ } | {
7381
+ country: string;
7382
+ district: string;
7383
+ addressType: "DOMESTIC";
7384
+ province: string;
7385
+ urbanOrRural: "RURAL";
7386
+ village?: string | null | undefined;
7387
+ } | {
7388
+ country: string;
7389
+ state: string;
7390
+ addressType: "INTERNATIONAL";
7391
+ district2: string;
7392
+ cityOrTown?: string | null | undefined;
7393
+ addressLine1?: string | null | undefined;
7394
+ addressLine2?: string | null | undefined;
7395
+ addressLine3?: string | null | undefined;
7396
+ postcodeOrZip?: string | null | undefined;
7397
+ } | {
7398
+ type: string;
7399
+ option: string;
7400
+ path: string;
7401
+ originalFilename: string;
7402
+ }[] | {
7403
+ data?: any;
7404
+ error?: {
7405
+ message: string;
7406
+ statusCode: number | null;
7407
+ } | null | undefined;
7408
+ loading?: boolean | null | undefined;
7409
+ } | {
7410
+ start: string;
7411
+ end: string;
7412
+ } | null | undefined> | null | undefined;
7413
+ originalActionId?: (string & import("zod").BRAND<"UUID">) | null | undefined;
7414
+ };
7415
+ }[];
7416
+ export declare function createEmptyDraft(eventId: UUID, draftId: UUID, actionType: ActionType): Draft;
6767
7417
  export declare function isVerificationPage(page: PageConfig): page is VerificationPageConfig;
6768
7418
  export declare function getVisibleVerificationPageIds(pages: PageConfig[], annotation: ActionUpdate): string[];
6769
7419
  export declare function getActionVerificationPageIds(actionConfig: ActionConfig, annotation: ActionUpdate): string[];
@@ -6842,18 +7492,25 @@ export declare function omitHiddenAnnotationFields(actionConfig: ActionConfig, d
6842
7492
  path: string;
6843
7493
  originalFilename: string;
6844
7494
  }[] | {
7495
+ error: {
7496
+ message: string;
7497
+ statusCode: number | null;
7498
+ } | null;
7499
+ loading: boolean;
7500
+ data?: any;
7501
+ trackingValue?: string | undefined;
7502
+ } | {
7503
+ data?: any;
7504
+ error?: {
7505
+ message: string;
7506
+ statusCode: number | null;
7507
+ } | null | undefined;
7508
+ loading?: boolean | null | undefined;
7509
+ } | {
6845
7510
  start: string;
6846
7511
  end: string;
6847
7512
  } | null | undefined;
6848
7513
  }>;
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
7514
  export declare function deepMerge<T extends Record<string, unknown>, K extends Record<string, unknown>>(currentDocument: T, actionDocument: K): T & K;
6858
7515
  export declare function findLastAssignmentAction(actions: Action[]): Action | undefined;
6859
7516
  /** Tell compiler that accessing record with arbitrary key might result to undefined
@@ -7448,21 +8105,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7448
8105
  name?: {
7449
8106
  firstname?: {
7450
8107
  required: boolean;
7451
- label?: import("./TranslationConfig").TranslationConfig | undefined;
7452
8108
  } | undefined;
7453
8109
  surname?: {
7454
8110
  required: boolean;
7455
- label?: import("./TranslationConfig").TranslationConfig | undefined;
7456
8111
  } | undefined;
7457
8112
  middlename?: {
7458
8113
  required: boolean;
7459
- label?: import("./TranslationConfig").TranslationConfig | undefined;
7460
8114
  } | undefined;
7461
8115
  } | undefined;
7462
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
7463
8116
  maxLength?: number | undefined;
7464
8117
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
7465
8118
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
8119
+ searchMode?: boolean | undefined;
7466
8120
  } | undefined;
7467
8121
  } | {
7468
8122
  type: "PHONE";
@@ -7795,21 +8449,90 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7795
8449
  postcodeOrZip?: string | undefined;
7796
8450
  } | undefined;
7797
8451
  configuration?: {
7798
- lineSeparator?: string | undefined;
7799
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
8452
+ searchMode?: boolean | undefined;
8453
+ } | undefined;
8454
+ } | {
8455
+ type: "DATA";
8456
+ id: string;
8457
+ label: import("./TranslationConfig").TranslationConfig;
8458
+ configuration: {
8459
+ data: ({
8460
+ value: string | import("./TranslationConfig").TranslationConfig;
8461
+ label: import("./TranslationConfig").TranslationConfig;
8462
+ } | {
8463
+ fieldId: string;
8464
+ })[];
8465
+ subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
8466
+ };
8467
+ parent?: {
8468
+ $$field: string;
7800
8469
  } | undefined;
8470
+ validation?: {
8471
+ message: import("./TranslationConfig").TranslationConfig;
8472
+ validator: import(".").JSONSchema;
8473
+ }[] | undefined;
8474
+ required?: boolean | undefined;
8475
+ conditionals?: ({
8476
+ type: "SHOW";
8477
+ conditional: import(".").JSONSchema;
8478
+ } | {
8479
+ type: "ENABLE";
8480
+ conditional: import(".").JSONSchema;
8481
+ } | {
8482
+ type: "DISPLAY_ON_REVIEW";
8483
+ conditional: import(".").JSONSchema;
8484
+ })[] | undefined;
8485
+ secured?: boolean | undefined;
8486
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8487
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8488
+ hideLabel?: boolean | undefined;
8489
+ uncorrectable?: boolean | undefined;
8490
+ } | {
8491
+ type: "BUTTON";
8492
+ id: string;
8493
+ label: import("./TranslationConfig").TranslationConfig;
8494
+ configuration: {
8495
+ text: import("./TranslationConfig").TranslationConfig;
8496
+ loading?: boolean | undefined;
8497
+ icon?: string | undefined;
8498
+ };
8499
+ parent?: {
8500
+ $$field: string;
8501
+ } | undefined;
8502
+ validation?: {
8503
+ message: import("./TranslationConfig").TranslationConfig;
8504
+ validator: import(".").JSONSchema;
8505
+ }[] | undefined;
8506
+ required?: boolean | undefined;
8507
+ conditionals?: ({
8508
+ type: "SHOW";
8509
+ conditional: import(".").JSONSchema;
8510
+ } | {
8511
+ type: "ENABLE";
8512
+ conditional: import(".").JSONSchema;
8513
+ } | {
8514
+ type: "DISPLAY_ON_REVIEW";
8515
+ conditional: import(".").JSONSchema;
8516
+ })[] | undefined;
8517
+ secured?: boolean | undefined;
8518
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8519
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8520
+ hideLabel?: boolean | undefined;
8521
+ uncorrectable?: boolean | undefined;
7801
8522
  } | {
7802
- type: "DATA";
8523
+ type: "HTTP";
7803
8524
  id: string;
7804
8525
  label: import("./TranslationConfig").TranslationConfig;
7805
8526
  configuration: {
7806
- data: ({
7807
- value: string | import("./TranslationConfig").TranslationConfig;
7808
- label: import("./TranslationConfig").TranslationConfig;
7809
- } | {
7810
- fieldId: string;
7811
- })[];
7812
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
8527
+ method: "POST" | "DELETE" | "GET" | "PUT";
8528
+ trigger: {
8529
+ $$field: string;
8530
+ };
8531
+ url: string;
8532
+ timeout: number;
8533
+ params?: Record<string, string> | undefined;
8534
+ headers?: Record<string, string> | undefined;
8535
+ body?: Record<string, string> | undefined;
7813
8536
  };
7814
8537
  parent?: {
7815
8538
  $$field: string;
@@ -7834,6 +8557,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
7834
8557
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7835
8558
  hideLabel?: boolean | undefined;
7836
8559
  uncorrectable?: boolean | undefined;
8560
+ defaultValue?: {
8561
+ error: {
8562
+ message: string;
8563
+ statusCode: number | null;
8564
+ } | null;
8565
+ loading: boolean;
8566
+ data?: any;
8567
+ trackingValue?: string | undefined;
8568
+ } | undefined;
7837
8569
  })[];
7838
8570
  conditional?: import(".").JSONSchema | undefined;
7839
8571
  }[];
@@ -8413,21 +9145,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8413
9145
  name?: {
8414
9146
  firstname?: {
8415
9147
  required: boolean;
8416
- label?: import("./TranslationConfig").TranslationConfig | undefined;
8417
9148
  } | undefined;
8418
9149
  surname?: {
8419
9150
  required: boolean;
8420
- label?: import("./TranslationConfig").TranslationConfig | undefined;
8421
9151
  } | undefined;
8422
9152
  middlename?: {
8423
9153
  required: boolean;
8424
- label?: import("./TranslationConfig").TranslationConfig | undefined;
8425
9154
  } | undefined;
8426
9155
  } | undefined;
8427
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
8428
9156
  maxLength?: number | undefined;
8429
9157
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
8430
9158
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
9159
+ searchMode?: boolean | undefined;
8431
9160
  } | undefined;
8432
9161
  } | {
8433
9162
  type: "PHONE";
@@ -8760,8 +9489,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8760
9489
  postcodeOrZip?: string | undefined;
8761
9490
  } | undefined;
8762
9491
  configuration?: {
8763
- lineSeparator?: string | undefined;
8764
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
9492
+ searchMode?: boolean | undefined;
8765
9493
  } | undefined;
8766
9494
  } | {
8767
9495
  type: "DATA";
@@ -8799,6 +9527,85 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
8799
9527
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8800
9528
  hideLabel?: boolean | undefined;
8801
9529
  uncorrectable?: boolean | undefined;
9530
+ } | {
9531
+ type: "BUTTON";
9532
+ id: string;
9533
+ label: import("./TranslationConfig").TranslationConfig;
9534
+ configuration: {
9535
+ text: import("./TranslationConfig").TranslationConfig;
9536
+ loading?: boolean | undefined;
9537
+ icon?: string | undefined;
9538
+ };
9539
+ parent?: {
9540
+ $$field: string;
9541
+ } | undefined;
9542
+ validation?: {
9543
+ message: import("./TranslationConfig").TranslationConfig;
9544
+ validator: import(".").JSONSchema;
9545
+ }[] | undefined;
9546
+ required?: boolean | undefined;
9547
+ conditionals?: ({
9548
+ type: "SHOW";
9549
+ conditional: import(".").JSONSchema;
9550
+ } | {
9551
+ type: "ENABLE";
9552
+ conditional: import(".").JSONSchema;
9553
+ } | {
9554
+ type: "DISPLAY_ON_REVIEW";
9555
+ conditional: import(".").JSONSchema;
9556
+ })[] | undefined;
9557
+ secured?: boolean | undefined;
9558
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
9559
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9560
+ hideLabel?: boolean | undefined;
9561
+ uncorrectable?: boolean | undefined;
9562
+ } | {
9563
+ type: "HTTP";
9564
+ id: string;
9565
+ label: import("./TranslationConfig").TranslationConfig;
9566
+ configuration: {
9567
+ method: "POST" | "DELETE" | "GET" | "PUT";
9568
+ trigger: {
9569
+ $$field: string;
9570
+ };
9571
+ url: string;
9572
+ timeout: number;
9573
+ params?: Record<string, string> | undefined;
9574
+ headers?: Record<string, string> | undefined;
9575
+ body?: Record<string, string> | undefined;
9576
+ };
9577
+ parent?: {
9578
+ $$field: string;
9579
+ } | undefined;
9580
+ validation?: {
9581
+ message: import("./TranslationConfig").TranslationConfig;
9582
+ validator: import(".").JSONSchema;
9583
+ }[] | undefined;
9584
+ required?: boolean | undefined;
9585
+ conditionals?: ({
9586
+ type: "SHOW";
9587
+ conditional: import(".").JSONSchema;
9588
+ } | {
9589
+ type: "ENABLE";
9590
+ conditional: import(".").JSONSchema;
9591
+ } | {
9592
+ type: "DISPLAY_ON_REVIEW";
9593
+ conditional: import(".").JSONSchema;
9594
+ })[] | undefined;
9595
+ secured?: boolean | undefined;
9596
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
9597
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9598
+ hideLabel?: boolean | undefined;
9599
+ uncorrectable?: boolean | undefined;
9600
+ defaultValue?: {
9601
+ error: {
9602
+ message: string;
9603
+ statusCode: number | null;
9604
+ } | null;
9605
+ loading: boolean;
9606
+ data?: any;
9607
+ trackingValue?: string | undefined;
9608
+ } | undefined;
8802
9609
  })[];
8803
9610
  };
8804
9611
  draft?: boolean | undefined;
@@ -9377,21 +10184,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9377
10184
  name?: {
9378
10185
  firstname?: {
9379
10186
  required: boolean;
9380
- label?: import("./TranslationConfig").TranslationConfig | undefined;
9381
10187
  } | undefined;
9382
10188
  surname?: {
9383
10189
  required: boolean;
9384
- label?: import("./TranslationConfig").TranslationConfig | undefined;
9385
10190
  } | undefined;
9386
10191
  middlename?: {
9387
10192
  required: boolean;
9388
- label?: import("./TranslationConfig").TranslationConfig | undefined;
9389
10193
  } | undefined;
9390
10194
  } | undefined;
9391
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
9392
10195
  maxLength?: number | undefined;
9393
10196
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
9394
10197
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
10198
+ searchMode?: boolean | undefined;
9395
10199
  } | undefined;
9396
10200
  } | {
9397
10201
  type: "PHONE";
@@ -9724,8 +10528,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9724
10528
  postcodeOrZip?: string | undefined;
9725
10529
  } | undefined;
9726
10530
  configuration?: {
9727
- lineSeparator?: string | undefined;
9728
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
10531
+ searchMode?: boolean | undefined;
9729
10532
  } | undefined;
9730
10533
  } | {
9731
10534
  type: "DATA";
@@ -9763,6 +10566,85 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
9763
10566
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9764
10567
  hideLabel?: boolean | undefined;
9765
10568
  uncorrectable?: boolean | undefined;
10569
+ } | {
10570
+ type: "BUTTON";
10571
+ id: string;
10572
+ label: import("./TranslationConfig").TranslationConfig;
10573
+ configuration: {
10574
+ text: import("./TranslationConfig").TranslationConfig;
10575
+ loading?: boolean | undefined;
10576
+ icon?: string | undefined;
10577
+ };
10578
+ parent?: {
10579
+ $$field: string;
10580
+ } | undefined;
10581
+ validation?: {
10582
+ message: import("./TranslationConfig").TranslationConfig;
10583
+ validator: import(".").JSONSchema;
10584
+ }[] | undefined;
10585
+ required?: boolean | undefined;
10586
+ conditionals?: ({
10587
+ type: "SHOW";
10588
+ conditional: import(".").JSONSchema;
10589
+ } | {
10590
+ type: "ENABLE";
10591
+ conditional: import(".").JSONSchema;
10592
+ } | {
10593
+ type: "DISPLAY_ON_REVIEW";
10594
+ conditional: import(".").JSONSchema;
10595
+ })[] | undefined;
10596
+ secured?: boolean | undefined;
10597
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
10598
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
10599
+ hideLabel?: boolean | undefined;
10600
+ uncorrectable?: boolean | undefined;
10601
+ } | {
10602
+ type: "HTTP";
10603
+ id: string;
10604
+ label: import("./TranslationConfig").TranslationConfig;
10605
+ configuration: {
10606
+ method: "POST" | "DELETE" | "GET" | "PUT";
10607
+ trigger: {
10608
+ $$field: string;
10609
+ };
10610
+ url: string;
10611
+ timeout: number;
10612
+ params?: Record<string, string> | undefined;
10613
+ headers?: Record<string, string> | undefined;
10614
+ body?: Record<string, string> | undefined;
10615
+ };
10616
+ parent?: {
10617
+ $$field: string;
10618
+ } | undefined;
10619
+ validation?: {
10620
+ message: import("./TranslationConfig").TranslationConfig;
10621
+ validator: import(".").JSONSchema;
10622
+ }[] | undefined;
10623
+ required?: boolean | undefined;
10624
+ conditionals?: ({
10625
+ type: "SHOW";
10626
+ conditional: import(".").JSONSchema;
10627
+ } | {
10628
+ type: "ENABLE";
10629
+ conditional: import(".").JSONSchema;
10630
+ } | {
10631
+ type: "DISPLAY_ON_REVIEW";
10632
+ conditional: import(".").JSONSchema;
10633
+ })[] | undefined;
10634
+ secured?: boolean | undefined;
10635
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
10636
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
10637
+ hideLabel?: boolean | undefined;
10638
+ uncorrectable?: boolean | undefined;
10639
+ defaultValue?: {
10640
+ error: {
10641
+ message: string;
10642
+ statusCode: number | null;
10643
+ } | null;
10644
+ loading: boolean;
10645
+ data?: any;
10646
+ trackingValue?: string | undefined;
10647
+ } | undefined;
9766
10648
  })[];
9767
10649
  };
9768
10650
  draft?: boolean | undefined;
@@ -10341,21 +11223,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10341
11223
  name?: {
10342
11224
  firstname?: {
10343
11225
  required: boolean;
10344
- label?: import("./TranslationConfig").TranslationConfig | undefined;
10345
11226
  } | undefined;
10346
11227
  surname?: {
10347
11228
  required: boolean;
10348
- label?: import("./TranslationConfig").TranslationConfig | undefined;
10349
11229
  } | undefined;
10350
11230
  middlename?: {
10351
11231
  required: boolean;
10352
- label?: import("./TranslationConfig").TranslationConfig | undefined;
10353
11232
  } | undefined;
10354
11233
  } | undefined;
10355
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
10356
11234
  maxLength?: number | undefined;
10357
11235
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
10358
11236
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
11237
+ searchMode?: boolean | undefined;
10359
11238
  } | undefined;
10360
11239
  } | {
10361
11240
  type: "PHONE";
@@ -10688,8 +11567,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10688
11567
  postcodeOrZip?: string | undefined;
10689
11568
  } | undefined;
10690
11569
  configuration?: {
10691
- lineSeparator?: string | undefined;
10692
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
11570
+ searchMode?: boolean | undefined;
10693
11571
  } | undefined;
10694
11572
  } | {
10695
11573
  type: "DATA";
@@ -10727,6 +11605,85 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
10727
11605
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
10728
11606
  hideLabel?: boolean | undefined;
10729
11607
  uncorrectable?: boolean | undefined;
11608
+ } | {
11609
+ type: "BUTTON";
11610
+ id: string;
11611
+ label: import("./TranslationConfig").TranslationConfig;
11612
+ configuration: {
11613
+ text: import("./TranslationConfig").TranslationConfig;
11614
+ loading?: boolean | undefined;
11615
+ icon?: string | undefined;
11616
+ };
11617
+ parent?: {
11618
+ $$field: string;
11619
+ } | undefined;
11620
+ validation?: {
11621
+ message: import("./TranslationConfig").TranslationConfig;
11622
+ validator: import(".").JSONSchema;
11623
+ }[] | undefined;
11624
+ required?: boolean | undefined;
11625
+ conditionals?: ({
11626
+ type: "SHOW";
11627
+ conditional: import(".").JSONSchema;
11628
+ } | {
11629
+ type: "ENABLE";
11630
+ conditional: import(".").JSONSchema;
11631
+ } | {
11632
+ type: "DISPLAY_ON_REVIEW";
11633
+ conditional: import(".").JSONSchema;
11634
+ })[] | undefined;
11635
+ secured?: boolean | undefined;
11636
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
11637
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
11638
+ hideLabel?: boolean | undefined;
11639
+ uncorrectable?: boolean | undefined;
11640
+ } | {
11641
+ type: "HTTP";
11642
+ id: string;
11643
+ label: import("./TranslationConfig").TranslationConfig;
11644
+ configuration: {
11645
+ method: "POST" | "DELETE" | "GET" | "PUT";
11646
+ trigger: {
11647
+ $$field: string;
11648
+ };
11649
+ url: string;
11650
+ timeout: number;
11651
+ params?: Record<string, string> | undefined;
11652
+ headers?: Record<string, string> | undefined;
11653
+ body?: Record<string, string> | undefined;
11654
+ };
11655
+ parent?: {
11656
+ $$field: string;
11657
+ } | undefined;
11658
+ validation?: {
11659
+ message: import("./TranslationConfig").TranslationConfig;
11660
+ validator: import(".").JSONSchema;
11661
+ }[] | undefined;
11662
+ required?: boolean | undefined;
11663
+ conditionals?: ({
11664
+ type: "SHOW";
11665
+ conditional: import(".").JSONSchema;
11666
+ } | {
11667
+ type: "ENABLE";
11668
+ conditional: import(".").JSONSchema;
11669
+ } | {
11670
+ type: "DISPLAY_ON_REVIEW";
11671
+ conditional: import(".").JSONSchema;
11672
+ })[] | undefined;
11673
+ secured?: boolean | undefined;
11674
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
11675
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
11676
+ hideLabel?: boolean | undefined;
11677
+ uncorrectable?: boolean | undefined;
11678
+ defaultValue?: {
11679
+ error: {
11680
+ message: string;
11681
+ statusCode: number | null;
11682
+ } | null;
11683
+ loading: boolean;
11684
+ data?: any;
11685
+ trackingValue?: string | undefined;
11686
+ } | undefined;
10730
11687
  })[];
10731
11688
  };
10732
11689
  draft?: boolean | undefined;
@@ -11305,21 +12262,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11305
12262
  name?: {
11306
12263
  firstname?: {
11307
12264
  required: boolean;
11308
- label?: import("./TranslationConfig").TranslationConfig | undefined;
11309
12265
  } | undefined;
11310
12266
  surname?: {
11311
12267
  required: boolean;
11312
- label?: import("./TranslationConfig").TranslationConfig | undefined;
11313
12268
  } | undefined;
11314
12269
  middlename?: {
11315
12270
  required: boolean;
11316
- label?: import("./TranslationConfig").TranslationConfig | undefined;
11317
12271
  } | undefined;
11318
12272
  } | undefined;
11319
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
11320
12273
  maxLength?: number | undefined;
11321
12274
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
11322
12275
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
12276
+ searchMode?: boolean | undefined;
11323
12277
  } | undefined;
11324
12278
  } | {
11325
12279
  type: "PHONE";
@@ -11652,21 +12606,90 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11652
12606
  postcodeOrZip?: string | undefined;
11653
12607
  } | undefined;
11654
12608
  configuration?: {
11655
- lineSeparator?: string | undefined;
11656
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
12609
+ searchMode?: boolean | undefined;
12610
+ } | undefined;
12611
+ } | {
12612
+ type: "DATA";
12613
+ id: string;
12614
+ label: import("./TranslationConfig").TranslationConfig;
12615
+ configuration: {
12616
+ data: ({
12617
+ value: string | import("./TranslationConfig").TranslationConfig;
12618
+ label: import("./TranslationConfig").TranslationConfig;
12619
+ } | {
12620
+ fieldId: string;
12621
+ })[];
12622
+ subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
12623
+ };
12624
+ parent?: {
12625
+ $$field: string;
12626
+ } | undefined;
12627
+ validation?: {
12628
+ message: import("./TranslationConfig").TranslationConfig;
12629
+ validator: import(".").JSONSchema;
12630
+ }[] | undefined;
12631
+ required?: boolean | undefined;
12632
+ conditionals?: ({
12633
+ type: "SHOW";
12634
+ conditional: import(".").JSONSchema;
12635
+ } | {
12636
+ type: "ENABLE";
12637
+ conditional: import(".").JSONSchema;
12638
+ } | {
12639
+ type: "DISPLAY_ON_REVIEW";
12640
+ conditional: import(".").JSONSchema;
12641
+ })[] | undefined;
12642
+ secured?: boolean | undefined;
12643
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
12644
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
12645
+ hideLabel?: boolean | undefined;
12646
+ uncorrectable?: boolean | undefined;
12647
+ } | {
12648
+ type: "BUTTON";
12649
+ id: string;
12650
+ label: import("./TranslationConfig").TranslationConfig;
12651
+ configuration: {
12652
+ text: import("./TranslationConfig").TranslationConfig;
12653
+ loading?: boolean | undefined;
12654
+ icon?: string | undefined;
12655
+ };
12656
+ parent?: {
12657
+ $$field: string;
11657
12658
  } | undefined;
12659
+ validation?: {
12660
+ message: import("./TranslationConfig").TranslationConfig;
12661
+ validator: import(".").JSONSchema;
12662
+ }[] | undefined;
12663
+ required?: boolean | undefined;
12664
+ conditionals?: ({
12665
+ type: "SHOW";
12666
+ conditional: import(".").JSONSchema;
12667
+ } | {
12668
+ type: "ENABLE";
12669
+ conditional: import(".").JSONSchema;
12670
+ } | {
12671
+ type: "DISPLAY_ON_REVIEW";
12672
+ conditional: import(".").JSONSchema;
12673
+ })[] | undefined;
12674
+ secured?: boolean | undefined;
12675
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
12676
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
12677
+ hideLabel?: boolean | undefined;
12678
+ uncorrectable?: boolean | undefined;
11658
12679
  } | {
11659
- type: "DATA";
12680
+ type: "HTTP";
11660
12681
  id: string;
11661
12682
  label: import("./TranslationConfig").TranslationConfig;
11662
12683
  configuration: {
11663
- data: ({
11664
- value: string | import("./TranslationConfig").TranslationConfig;
11665
- label: import("./TranslationConfig").TranslationConfig;
11666
- } | {
11667
- fieldId: string;
11668
- })[];
11669
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
12684
+ method: "POST" | "DELETE" | "GET" | "PUT";
12685
+ trigger: {
12686
+ $$field: string;
12687
+ };
12688
+ url: string;
12689
+ timeout: number;
12690
+ params?: Record<string, string> | undefined;
12691
+ headers?: Record<string, string> | undefined;
12692
+ body?: Record<string, string> | undefined;
11670
12693
  };
11671
12694
  parent?: {
11672
12695
  $$field: string;
@@ -11691,6 +12714,15 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
11691
12714
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
11692
12715
  hideLabel?: boolean | undefined;
11693
12716
  uncorrectable?: boolean | undefined;
12717
+ defaultValue?: {
12718
+ error: {
12719
+ message: string;
12720
+ statusCode: number | null;
12721
+ } | null;
12722
+ loading: boolean;
12723
+ data?: any;
12724
+ trackingValue?: string | undefined;
12725
+ } | undefined;
11694
12726
  })[];
11695
12727
  };
11696
12728
  draft?: boolean | undefined;
@@ -12317,21 +13349,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12317
13349
  name?: {
12318
13350
  firstname?: {
12319
13351
  required: boolean;
12320
- label?: import("./TranslationConfig").TranslationConfig | undefined;
12321
13352
  } | undefined;
12322
13353
  surname?: {
12323
13354
  required: boolean;
12324
- label?: import("./TranslationConfig").TranslationConfig | undefined;
12325
13355
  } | undefined;
12326
13356
  middlename?: {
12327
13357
  required: boolean;
12328
- label?: import("./TranslationConfig").TranslationConfig | undefined;
12329
13358
  } | undefined;
12330
13359
  } | undefined;
12331
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
12332
13360
  maxLength?: number | undefined;
12333
13361
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
12334
13362
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
13363
+ searchMode?: boolean | undefined;
12335
13364
  } | undefined;
12336
13365
  } | {
12337
13366
  type: "PHONE";
@@ -12664,8 +13693,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12664
13693
  postcodeOrZip?: string | undefined;
12665
13694
  } | undefined;
12666
13695
  configuration?: {
12667
- lineSeparator?: string | undefined;
12668
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
13696
+ searchMode?: boolean | undefined;
12669
13697
  } | undefined;
12670
13698
  } | {
12671
13699
  type: "DATA";
@@ -12703,6 +13731,85 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
12703
13731
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
12704
13732
  hideLabel?: boolean | undefined;
12705
13733
  uncorrectable?: boolean | undefined;
13734
+ } | {
13735
+ type: "BUTTON";
13736
+ id: string;
13737
+ label: import("./TranslationConfig").TranslationConfig;
13738
+ configuration: {
13739
+ text: import("./TranslationConfig").TranslationConfig;
13740
+ loading?: boolean | undefined;
13741
+ icon?: string | undefined;
13742
+ };
13743
+ parent?: {
13744
+ $$field: string;
13745
+ } | undefined;
13746
+ validation?: {
13747
+ message: import("./TranslationConfig").TranslationConfig;
13748
+ validator: import(".").JSONSchema;
13749
+ }[] | undefined;
13750
+ required?: boolean | undefined;
13751
+ conditionals?: ({
13752
+ type: "SHOW";
13753
+ conditional: import(".").JSONSchema;
13754
+ } | {
13755
+ type: "ENABLE";
13756
+ conditional: import(".").JSONSchema;
13757
+ } | {
13758
+ type: "DISPLAY_ON_REVIEW";
13759
+ conditional: import(".").JSONSchema;
13760
+ })[] | undefined;
13761
+ secured?: boolean | undefined;
13762
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
13763
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
13764
+ hideLabel?: boolean | undefined;
13765
+ uncorrectable?: boolean | undefined;
13766
+ } | {
13767
+ type: "HTTP";
13768
+ id: string;
13769
+ label: import("./TranslationConfig").TranslationConfig;
13770
+ configuration: {
13771
+ method: "POST" | "DELETE" | "GET" | "PUT";
13772
+ trigger: {
13773
+ $$field: string;
13774
+ };
13775
+ url: string;
13776
+ timeout: number;
13777
+ params?: Record<string, string> | undefined;
13778
+ headers?: Record<string, string> | undefined;
13779
+ body?: Record<string, string> | undefined;
13780
+ };
13781
+ parent?: {
13782
+ $$field: string;
13783
+ } | undefined;
13784
+ validation?: {
13785
+ message: import("./TranslationConfig").TranslationConfig;
13786
+ validator: import(".").JSONSchema;
13787
+ }[] | undefined;
13788
+ required?: boolean | undefined;
13789
+ conditionals?: ({
13790
+ type: "SHOW";
13791
+ conditional: import(".").JSONSchema;
13792
+ } | {
13793
+ type: "ENABLE";
13794
+ conditional: import(".").JSONSchema;
13795
+ } | {
13796
+ type: "DISPLAY_ON_REVIEW";
13797
+ conditional: import(".").JSONSchema;
13798
+ })[] | undefined;
13799
+ secured?: boolean | undefined;
13800
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
13801
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
13802
+ hideLabel?: boolean | undefined;
13803
+ uncorrectable?: boolean | undefined;
13804
+ defaultValue?: {
13805
+ error: {
13806
+ message: string;
13807
+ statusCode: number | null;
13808
+ } | null;
13809
+ loading: boolean;
13810
+ data?: any;
13811
+ trackingValue?: string | undefined;
13812
+ } | undefined;
12706
13813
  })[];
12707
13814
  conditional?: import(".").JSONSchema | undefined;
12708
13815
  } | {
@@ -13284,21 +14391,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13284
14391
  name?: {
13285
14392
  firstname?: {
13286
14393
  required: boolean;
13287
- label?: import("./TranslationConfig").TranslationConfig | undefined;
13288
14394
  } | undefined;
13289
14395
  surname?: {
13290
14396
  required: boolean;
13291
- label?: import("./TranslationConfig").TranslationConfig | undefined;
13292
14397
  } | undefined;
13293
14398
  middlename?: {
13294
14399
  required: boolean;
13295
- label?: import("./TranslationConfig").TranslationConfig | undefined;
13296
14400
  } | undefined;
13297
14401
  } | undefined;
13298
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
13299
14402
  maxLength?: number | undefined;
13300
14403
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
13301
14404
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
14405
+ searchMode?: boolean | undefined;
13302
14406
  } | undefined;
13303
14407
  } | {
13304
14408
  type: "PHONE";
@@ -13631,8 +14735,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13631
14735
  postcodeOrZip?: string | undefined;
13632
14736
  } | undefined;
13633
14737
  configuration?: {
13634
- lineSeparator?: string | undefined;
13635
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
14738
+ searchMode?: boolean | undefined;
13636
14739
  } | undefined;
13637
14740
  } | {
13638
14741
  type: "DATA";
@@ -13670,6 +14773,85 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
13670
14773
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
13671
14774
  hideLabel?: boolean | undefined;
13672
14775
  uncorrectable?: boolean | undefined;
14776
+ } | {
14777
+ type: "BUTTON";
14778
+ id: string;
14779
+ label: import("./TranslationConfig").TranslationConfig;
14780
+ configuration: {
14781
+ text: import("./TranslationConfig").TranslationConfig;
14782
+ loading?: boolean | undefined;
14783
+ icon?: string | undefined;
14784
+ };
14785
+ parent?: {
14786
+ $$field: string;
14787
+ } | undefined;
14788
+ validation?: {
14789
+ message: import("./TranslationConfig").TranslationConfig;
14790
+ validator: import(".").JSONSchema;
14791
+ }[] | undefined;
14792
+ required?: boolean | undefined;
14793
+ conditionals?: ({
14794
+ type: "SHOW";
14795
+ conditional: import(".").JSONSchema;
14796
+ } | {
14797
+ type: "ENABLE";
14798
+ conditional: import(".").JSONSchema;
14799
+ } | {
14800
+ type: "DISPLAY_ON_REVIEW";
14801
+ conditional: import(".").JSONSchema;
14802
+ })[] | undefined;
14803
+ secured?: boolean | undefined;
14804
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
14805
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
14806
+ hideLabel?: boolean | undefined;
14807
+ uncorrectable?: boolean | undefined;
14808
+ } | {
14809
+ type: "HTTP";
14810
+ id: string;
14811
+ label: import("./TranslationConfig").TranslationConfig;
14812
+ configuration: {
14813
+ method: "POST" | "DELETE" | "GET" | "PUT";
14814
+ trigger: {
14815
+ $$field: string;
14816
+ };
14817
+ url: string;
14818
+ timeout: number;
14819
+ params?: Record<string, string> | undefined;
14820
+ headers?: Record<string, string> | undefined;
14821
+ body?: Record<string, string> | undefined;
14822
+ };
14823
+ parent?: {
14824
+ $$field: string;
14825
+ } | undefined;
14826
+ validation?: {
14827
+ message: import("./TranslationConfig").TranslationConfig;
14828
+ validator: import(".").JSONSchema;
14829
+ }[] | undefined;
14830
+ required?: boolean | undefined;
14831
+ conditionals?: ({
14832
+ type: "SHOW";
14833
+ conditional: import(".").JSONSchema;
14834
+ } | {
14835
+ type: "ENABLE";
14836
+ conditional: import(".").JSONSchema;
14837
+ } | {
14838
+ type: "DISPLAY_ON_REVIEW";
14839
+ conditional: import(".").JSONSchema;
14840
+ })[] | undefined;
14841
+ secured?: boolean | undefined;
14842
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
14843
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
14844
+ hideLabel?: boolean | undefined;
14845
+ uncorrectable?: boolean | undefined;
14846
+ defaultValue?: {
14847
+ error: {
14848
+ message: string;
14849
+ statusCode: number | null;
14850
+ } | null;
14851
+ loading: boolean;
14852
+ data?: any;
14853
+ trackingValue?: string | undefined;
14854
+ } | undefined;
13673
14855
  })[];
13674
14856
  conditional?: import(".").JSONSchema | undefined;
13675
14857
  })[];
@@ -14254,21 +15436,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14254
15436
  name?: {
14255
15437
  firstname?: {
14256
15438
  required: boolean;
14257
- label?: import("./TranslationConfig").TranslationConfig | undefined;
14258
15439
  } | undefined;
14259
15440
  surname?: {
14260
15441
  required: boolean;
14261
- label?: import("./TranslationConfig").TranslationConfig | undefined;
14262
15442
  } | undefined;
14263
15443
  middlename?: {
14264
15444
  required: boolean;
14265
- label?: import("./TranslationConfig").TranslationConfig | undefined;
14266
15445
  } | undefined;
14267
15446
  } | undefined;
14268
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
14269
15447
  maxLength?: number | undefined;
14270
15448
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
14271
15449
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
15450
+ searchMode?: boolean | undefined;
14272
15451
  } | undefined;
14273
15452
  } | {
14274
15453
  type: "PHONE";
@@ -14601,8 +15780,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14601
15780
  postcodeOrZip?: string | undefined;
14602
15781
  } | undefined;
14603
15782
  configuration?: {
14604
- lineSeparator?: string | undefined;
14605
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
15783
+ searchMode?: boolean | undefined;
14606
15784
  } | undefined;
14607
15785
  } | {
14608
15786
  type: "DATA";
@@ -14640,6 +15818,85 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
14640
15818
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
14641
15819
  hideLabel?: boolean | undefined;
14642
15820
  uncorrectable?: boolean | undefined;
15821
+ } | {
15822
+ type: "BUTTON";
15823
+ id: string;
15824
+ label: import("./TranslationConfig").TranslationConfig;
15825
+ configuration: {
15826
+ text: import("./TranslationConfig").TranslationConfig;
15827
+ loading?: boolean | undefined;
15828
+ icon?: string | undefined;
15829
+ };
15830
+ parent?: {
15831
+ $$field: string;
15832
+ } | undefined;
15833
+ validation?: {
15834
+ message: import("./TranslationConfig").TranslationConfig;
15835
+ validator: import(".").JSONSchema;
15836
+ }[] | undefined;
15837
+ required?: boolean | undefined;
15838
+ conditionals?: ({
15839
+ type: "SHOW";
15840
+ conditional: import(".").JSONSchema;
15841
+ } | {
15842
+ type: "ENABLE";
15843
+ conditional: import(".").JSONSchema;
15844
+ } | {
15845
+ type: "DISPLAY_ON_REVIEW";
15846
+ conditional: import(".").JSONSchema;
15847
+ })[] | undefined;
15848
+ secured?: boolean | undefined;
15849
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
15850
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
15851
+ hideLabel?: boolean | undefined;
15852
+ uncorrectable?: boolean | undefined;
15853
+ } | {
15854
+ type: "HTTP";
15855
+ id: string;
15856
+ label: import("./TranslationConfig").TranslationConfig;
15857
+ configuration: {
15858
+ method: "POST" | "DELETE" | "GET" | "PUT";
15859
+ trigger: {
15860
+ $$field: string;
15861
+ };
15862
+ url: string;
15863
+ timeout: number;
15864
+ params?: Record<string, string> | undefined;
15865
+ headers?: Record<string, string> | undefined;
15866
+ body?: Record<string, string> | undefined;
15867
+ };
15868
+ parent?: {
15869
+ $$field: string;
15870
+ } | undefined;
15871
+ validation?: {
15872
+ message: import("./TranslationConfig").TranslationConfig;
15873
+ validator: import(".").JSONSchema;
15874
+ }[] | undefined;
15875
+ required?: boolean | undefined;
15876
+ conditionals?: ({
15877
+ type: "SHOW";
15878
+ conditional: import(".").JSONSchema;
15879
+ } | {
15880
+ type: "ENABLE";
15881
+ conditional: import(".").JSONSchema;
15882
+ } | {
15883
+ type: "DISPLAY_ON_REVIEW";
15884
+ conditional: import(".").JSONSchema;
15885
+ })[] | undefined;
15886
+ secured?: boolean | undefined;
15887
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
15888
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
15889
+ hideLabel?: boolean | undefined;
15890
+ uncorrectable?: boolean | undefined;
15891
+ defaultValue?: {
15892
+ error: {
15893
+ message: string;
15894
+ statusCode: number | null;
15895
+ } | null;
15896
+ loading: boolean;
15897
+ data?: any;
15898
+ trackingValue?: string | undefined;
15899
+ } | undefined;
14643
15900
  })[];
14644
15901
  conditional?: import(".").JSONSchema | undefined;
14645
15902
  } | {
@@ -15221,21 +16478,18 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15221
16478
  name?: {
15222
16479
  firstname?: {
15223
16480
  required: boolean;
15224
- label?: import("./TranslationConfig").TranslationConfig | undefined;
15225
16481
  } | undefined;
15226
16482
  surname?: {
15227
16483
  required: boolean;
15228
- label?: import("./TranslationConfig").TranslationConfig | undefined;
15229
16484
  } | undefined;
15230
16485
  middlename?: {
15231
16486
  required: boolean;
15232
- label?: import("./TranslationConfig").TranslationConfig | undefined;
15233
16487
  } | undefined;
15234
16488
  } | undefined;
15235
- order?: ("firstname" | "surname" | "middlename")[] | undefined;
15236
16489
  maxLength?: number | undefined;
15237
16490
  prefix?: import("./TranslationConfig").TranslationConfig | undefined;
15238
16491
  postfix?: import("./TranslationConfig").TranslationConfig | undefined;
16492
+ searchMode?: boolean | undefined;
15239
16493
  } | undefined;
15240
16494
  } | {
15241
16495
  type: "PHONE";
@@ -15568,8 +16822,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15568
16822
  postcodeOrZip?: string | undefined;
15569
16823
  } | undefined;
15570
16824
  configuration?: {
15571
- lineSeparator?: string | undefined;
15572
- fields?: ("number" | "country" | "district" | "state" | "addressType" | "province" | "urbanOrRural" | "town" | "residentialArea" | "street" | "zipCode" | "village" | "district2" | "cityOrTown" | "addressLine1" | "addressLine2" | "addressLine3" | "postcodeOrZip")[] | undefined;
16825
+ searchMode?: boolean | undefined;
15573
16826
  } | undefined;
15574
16827
  } | {
15575
16828
  type: "DATA";
@@ -15607,6 +16860,85 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
15607
16860
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
15608
16861
  hideLabel?: boolean | undefined;
15609
16862
  uncorrectable?: boolean | undefined;
16863
+ } | {
16864
+ type: "BUTTON";
16865
+ id: string;
16866
+ label: import("./TranslationConfig").TranslationConfig;
16867
+ configuration: {
16868
+ text: import("./TranslationConfig").TranslationConfig;
16869
+ loading?: boolean | undefined;
16870
+ icon?: string | undefined;
16871
+ };
16872
+ parent?: {
16873
+ $$field: string;
16874
+ } | undefined;
16875
+ validation?: {
16876
+ message: import("./TranslationConfig").TranslationConfig;
16877
+ validator: import(".").JSONSchema;
16878
+ }[] | undefined;
16879
+ required?: boolean | undefined;
16880
+ conditionals?: ({
16881
+ type: "SHOW";
16882
+ conditional: import(".").JSONSchema;
16883
+ } | {
16884
+ type: "ENABLE";
16885
+ conditional: import(".").JSONSchema;
16886
+ } | {
16887
+ type: "DISPLAY_ON_REVIEW";
16888
+ conditional: import(".").JSONSchema;
16889
+ })[] | undefined;
16890
+ secured?: boolean | undefined;
16891
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
16892
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
16893
+ hideLabel?: boolean | undefined;
16894
+ uncorrectable?: boolean | undefined;
16895
+ } | {
16896
+ type: "HTTP";
16897
+ id: string;
16898
+ label: import("./TranslationConfig").TranslationConfig;
16899
+ configuration: {
16900
+ method: "POST" | "DELETE" | "GET" | "PUT";
16901
+ trigger: {
16902
+ $$field: string;
16903
+ };
16904
+ url: string;
16905
+ timeout: number;
16906
+ params?: Record<string, string> | undefined;
16907
+ headers?: Record<string, string> | undefined;
16908
+ body?: Record<string, string> | undefined;
16909
+ };
16910
+ parent?: {
16911
+ $$field: string;
16912
+ } | undefined;
16913
+ validation?: {
16914
+ message: import("./TranslationConfig").TranslationConfig;
16915
+ validator: import(".").JSONSchema;
16916
+ }[] | undefined;
16917
+ required?: boolean | undefined;
16918
+ conditionals?: ({
16919
+ type: "SHOW";
16920
+ conditional: import(".").JSONSchema;
16921
+ } | {
16922
+ type: "ENABLE";
16923
+ conditional: import(".").JSONSchema;
16924
+ } | {
16925
+ type: "DISPLAY_ON_REVIEW";
16926
+ conditional: import(".").JSONSchema;
16927
+ })[] | undefined;
16928
+ secured?: boolean | undefined;
16929
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
16930
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
16931
+ hideLabel?: boolean | undefined;
16932
+ uncorrectable?: boolean | undefined;
16933
+ defaultValue?: {
16934
+ error: {
16935
+ message: string;
16936
+ statusCode: number | null;
16937
+ } | null;
16938
+ loading: boolean;
16939
+ data?: any;
16940
+ trackingValue?: string | undefined;
16941
+ } | undefined;
15610
16942
  })[];
15611
16943
  conditional?: import(".").JSONSchema | undefined;
15612
16944
  })[];
@@ -15726,5 +17058,4 @@ export declare function timePeriodToDateRange(value: SelectDateRangeValue): {
15726
17058
  startDate: string;
15727
17059
  endDate: string;
15728
17060
  };
15729
- export declare function mergeDrafts(currentDraft: Draft, incomingDraft: Draft): Draft;
15730
17061
  //# sourceMappingURL=utils.d.ts.map