@opencrvs/toolkit 1.8.1-rc.b6b235d → 1.8.1-rc.b8eea90

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.
@@ -946,6 +946,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
946
946
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
947
947
  hideLabel?: boolean | undefined;
948
948
  uncorrectable?: boolean | undefined;
949
+ } | {
950
+ type: "BUTTON";
951
+ id: string;
952
+ label: import("./TranslationConfig").TranslationConfig;
953
+ configuration: {
954
+ onClick: {
955
+ $$field: string;
956
+ };
957
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
958
+ icon?: string | undefined;
959
+ shouldHandleLoadingState?: boolean | undefined;
960
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
961
+ };
962
+ parent?: {
963
+ $$field: string;
964
+ } | undefined;
965
+ validation?: {
966
+ message: import("./TranslationConfig").TranslationConfig;
967
+ validator: import(".").JSONSchema;
968
+ }[] | undefined;
969
+ required?: boolean | undefined;
970
+ conditionals?: ({
971
+ type: "SHOW";
972
+ conditional: import(".").JSONSchema;
973
+ } | {
974
+ type: "ENABLE";
975
+ conditional: import(".").JSONSchema;
976
+ } | {
977
+ type: "DISPLAY_ON_REVIEW";
978
+ conditional: import(".").JSONSchema;
979
+ })[] | undefined;
980
+ secured?: boolean | undefined;
981
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
982
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
983
+ hideLabel?: boolean | undefined;
984
+ uncorrectable?: boolean | undefined;
985
+ } | {
986
+ type: "HTTP";
987
+ id: string;
988
+ label: import("./TranslationConfig").TranslationConfig;
989
+ configuration: {
990
+ method: "POST" | "DELETE" | "GET" | "PUT";
991
+ url: string;
992
+ params?: Record<string, string> | undefined;
993
+ headers?: Record<string, string> | undefined;
994
+ body?: Record<string, string> | undefined;
995
+ };
996
+ parent?: {
997
+ $$field: string;
998
+ } | undefined;
999
+ validation?: {
1000
+ message: import("./TranslationConfig").TranslationConfig;
1001
+ validator: import(".").JSONSchema;
1002
+ }[] | undefined;
1003
+ required?: boolean | undefined;
1004
+ conditionals?: ({
1005
+ type: "SHOW";
1006
+ conditional: import(".").JSONSchema;
1007
+ } | {
1008
+ type: "ENABLE";
1009
+ conditional: import(".").JSONSchema;
1010
+ } | {
1011
+ type: "DISPLAY_ON_REVIEW";
1012
+ conditional: import(".").JSONSchema;
1013
+ })[] | undefined;
1014
+ secured?: boolean | undefined;
1015
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1016
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1017
+ hideLabel?: boolean | undefined;
1018
+ uncorrectable?: boolean | undefined;
949
1019
  })[];
950
1020
  conditional?: import(".").JSONSchema | undefined;
951
1021
  }[];
@@ -1896,6 +1966,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
1896
1966
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1897
1967
  hideLabel?: boolean | undefined;
1898
1968
  uncorrectable?: boolean | undefined;
1969
+ } | {
1970
+ type: "BUTTON";
1971
+ id: string;
1972
+ label: import("./TranslationConfig").TranslationConfig;
1973
+ configuration: {
1974
+ onClick: {
1975
+ $$field: string;
1976
+ };
1977
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
1978
+ icon?: string | undefined;
1979
+ shouldHandleLoadingState?: boolean | undefined;
1980
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
1981
+ };
1982
+ parent?: {
1983
+ $$field: string;
1984
+ } | undefined;
1985
+ validation?: {
1986
+ message: import("./TranslationConfig").TranslationConfig;
1987
+ validator: import(".").JSONSchema;
1988
+ }[] | undefined;
1989
+ required?: boolean | undefined;
1990
+ conditionals?: ({
1991
+ type: "SHOW";
1992
+ conditional: import(".").JSONSchema;
1993
+ } | {
1994
+ type: "ENABLE";
1995
+ conditional: import(".").JSONSchema;
1996
+ } | {
1997
+ type: "DISPLAY_ON_REVIEW";
1998
+ conditional: import(".").JSONSchema;
1999
+ })[] | undefined;
2000
+ secured?: boolean | undefined;
2001
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2002
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2003
+ hideLabel?: boolean | undefined;
2004
+ uncorrectable?: boolean | undefined;
2005
+ } | {
2006
+ type: "HTTP";
2007
+ id: string;
2008
+ label: import("./TranslationConfig").TranslationConfig;
2009
+ configuration: {
2010
+ method: "POST" | "DELETE" | "GET" | "PUT";
2011
+ url: string;
2012
+ params?: Record<string, string> | undefined;
2013
+ headers?: Record<string, string> | undefined;
2014
+ body?: Record<string, string> | undefined;
2015
+ };
2016
+ parent?: {
2017
+ $$field: string;
2018
+ } | undefined;
2019
+ validation?: {
2020
+ message: import("./TranslationConfig").TranslationConfig;
2021
+ validator: import(".").JSONSchema;
2022
+ }[] | undefined;
2023
+ required?: boolean | undefined;
2024
+ conditionals?: ({
2025
+ type: "SHOW";
2026
+ conditional: import(".").JSONSchema;
2027
+ } | {
2028
+ type: "ENABLE";
2029
+ conditional: import(".").JSONSchema;
2030
+ } | {
2031
+ type: "DISPLAY_ON_REVIEW";
2032
+ conditional: import(".").JSONSchema;
2033
+ })[] | undefined;
2034
+ secured?: boolean | undefined;
2035
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2036
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2037
+ hideLabel?: boolean | undefined;
2038
+ uncorrectable?: boolean | undefined;
1899
2039
  })[];
1900
2040
  };
1901
2041
  draft?: boolean | undefined;
@@ -2845,6 +2985,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
2845
2985
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2846
2986
  hideLabel?: boolean | undefined;
2847
2987
  uncorrectable?: boolean | undefined;
2988
+ } | {
2989
+ type: "BUTTON";
2990
+ id: string;
2991
+ label: import("./TranslationConfig").TranslationConfig;
2992
+ configuration: {
2993
+ onClick: {
2994
+ $$field: string;
2995
+ };
2996
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
2997
+ icon?: string | undefined;
2998
+ shouldHandleLoadingState?: boolean | undefined;
2999
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
3000
+ };
3001
+ parent?: {
3002
+ $$field: string;
3003
+ } | undefined;
3004
+ validation?: {
3005
+ message: import("./TranslationConfig").TranslationConfig;
3006
+ validator: import(".").JSONSchema;
3007
+ }[] | undefined;
3008
+ required?: boolean | undefined;
3009
+ conditionals?: ({
3010
+ type: "SHOW";
3011
+ conditional: import(".").JSONSchema;
3012
+ } | {
3013
+ type: "ENABLE";
3014
+ conditional: import(".").JSONSchema;
3015
+ } | {
3016
+ type: "DISPLAY_ON_REVIEW";
3017
+ conditional: import(".").JSONSchema;
3018
+ })[] | undefined;
3019
+ secured?: boolean | undefined;
3020
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3021
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3022
+ hideLabel?: boolean | undefined;
3023
+ uncorrectable?: boolean | undefined;
3024
+ } | {
3025
+ type: "HTTP";
3026
+ id: string;
3027
+ label: import("./TranslationConfig").TranslationConfig;
3028
+ configuration: {
3029
+ method: "POST" | "DELETE" | "GET" | "PUT";
3030
+ url: string;
3031
+ params?: Record<string, string> | undefined;
3032
+ headers?: Record<string, string> | undefined;
3033
+ body?: Record<string, string> | undefined;
3034
+ };
3035
+ parent?: {
3036
+ $$field: string;
3037
+ } | undefined;
3038
+ validation?: {
3039
+ message: import("./TranslationConfig").TranslationConfig;
3040
+ validator: import(".").JSONSchema;
3041
+ }[] | undefined;
3042
+ required?: boolean | undefined;
3043
+ conditionals?: ({
3044
+ type: "SHOW";
3045
+ conditional: import(".").JSONSchema;
3046
+ } | {
3047
+ type: "ENABLE";
3048
+ conditional: import(".").JSONSchema;
3049
+ } | {
3050
+ type: "DISPLAY_ON_REVIEW";
3051
+ conditional: import(".").JSONSchema;
3052
+ })[] | undefined;
3053
+ secured?: boolean | undefined;
3054
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3055
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3056
+ hideLabel?: boolean | undefined;
3057
+ uncorrectable?: boolean | undefined;
2848
3058
  })[];
2849
3059
  };
2850
3060
  draft?: boolean | undefined;
@@ -3794,6 +4004,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
3794
4004
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3795
4005
  hideLabel?: boolean | undefined;
3796
4006
  uncorrectable?: boolean | undefined;
4007
+ } | {
4008
+ type: "BUTTON";
4009
+ id: string;
4010
+ label: import("./TranslationConfig").TranslationConfig;
4011
+ configuration: {
4012
+ onClick: {
4013
+ $$field: string;
4014
+ };
4015
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
4016
+ icon?: string | undefined;
4017
+ shouldHandleLoadingState?: boolean | undefined;
4018
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
4019
+ };
4020
+ parent?: {
4021
+ $$field: string;
4022
+ } | undefined;
4023
+ validation?: {
4024
+ message: import("./TranslationConfig").TranslationConfig;
4025
+ validator: import(".").JSONSchema;
4026
+ }[] | undefined;
4027
+ required?: boolean | undefined;
4028
+ conditionals?: ({
4029
+ type: "SHOW";
4030
+ conditional: import(".").JSONSchema;
4031
+ } | {
4032
+ type: "ENABLE";
4033
+ conditional: import(".").JSONSchema;
4034
+ } | {
4035
+ type: "DISPLAY_ON_REVIEW";
4036
+ conditional: import(".").JSONSchema;
4037
+ })[] | undefined;
4038
+ secured?: boolean | undefined;
4039
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4040
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4041
+ hideLabel?: boolean | undefined;
4042
+ uncorrectable?: boolean | undefined;
4043
+ } | {
4044
+ type: "HTTP";
4045
+ id: string;
4046
+ label: import("./TranslationConfig").TranslationConfig;
4047
+ configuration: {
4048
+ method: "POST" | "DELETE" | "GET" | "PUT";
4049
+ url: string;
4050
+ params?: Record<string, string> | undefined;
4051
+ headers?: Record<string, string> | undefined;
4052
+ body?: Record<string, string> | undefined;
4053
+ };
4054
+ parent?: {
4055
+ $$field: string;
4056
+ } | undefined;
4057
+ validation?: {
4058
+ message: import("./TranslationConfig").TranslationConfig;
4059
+ validator: import(".").JSONSchema;
4060
+ }[] | undefined;
4061
+ required?: boolean | undefined;
4062
+ conditionals?: ({
4063
+ type: "SHOW";
4064
+ conditional: import(".").JSONSchema;
4065
+ } | {
4066
+ type: "ENABLE";
4067
+ conditional: import(".").JSONSchema;
4068
+ } | {
4069
+ type: "DISPLAY_ON_REVIEW";
4070
+ conditional: import(".").JSONSchema;
4071
+ })[] | undefined;
4072
+ secured?: boolean | undefined;
4073
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4074
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4075
+ hideLabel?: boolean | undefined;
4076
+ uncorrectable?: boolean | undefined;
3797
4077
  })[];
3798
4078
  };
3799
4079
  draft?: boolean | undefined;
@@ -4708,17 +4988,87 @@ export declare const defineConfig: (config: EventConfigInput) => {
4708
4988
  searchMode?: boolean | undefined;
4709
4989
  } | undefined;
4710
4990
  } | {
4711
- type: "DATA";
4991
+ type: "DATA";
4992
+ id: string;
4993
+ label: import("./TranslationConfig").TranslationConfig;
4994
+ configuration: {
4995
+ data: ({
4996
+ value: string | import("./TranslationConfig").TranslationConfig;
4997
+ label: import("./TranslationConfig").TranslationConfig;
4998
+ } | {
4999
+ fieldId: string;
5000
+ })[];
5001
+ subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
5002
+ };
5003
+ parent?: {
5004
+ $$field: string;
5005
+ } | undefined;
5006
+ validation?: {
5007
+ message: import("./TranslationConfig").TranslationConfig;
5008
+ validator: import(".").JSONSchema;
5009
+ }[] | undefined;
5010
+ required?: boolean | undefined;
5011
+ conditionals?: ({
5012
+ type: "SHOW";
5013
+ conditional: import(".").JSONSchema;
5014
+ } | {
5015
+ type: "ENABLE";
5016
+ conditional: import(".").JSONSchema;
5017
+ } | {
5018
+ type: "DISPLAY_ON_REVIEW";
5019
+ conditional: import(".").JSONSchema;
5020
+ })[] | undefined;
5021
+ secured?: boolean | undefined;
5022
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5023
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5024
+ hideLabel?: boolean | undefined;
5025
+ uncorrectable?: boolean | undefined;
5026
+ } | {
5027
+ type: "BUTTON";
5028
+ id: string;
5029
+ label: import("./TranslationConfig").TranslationConfig;
5030
+ configuration: {
5031
+ onClick: {
5032
+ $$field: string;
5033
+ };
5034
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
5035
+ icon?: string | undefined;
5036
+ shouldHandleLoadingState?: boolean | undefined;
5037
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
5038
+ };
5039
+ parent?: {
5040
+ $$field: string;
5041
+ } | undefined;
5042
+ validation?: {
5043
+ message: import("./TranslationConfig").TranslationConfig;
5044
+ validator: import(".").JSONSchema;
5045
+ }[] | undefined;
5046
+ required?: boolean | undefined;
5047
+ conditionals?: ({
5048
+ type: "SHOW";
5049
+ conditional: import(".").JSONSchema;
5050
+ } | {
5051
+ type: "ENABLE";
5052
+ conditional: import(".").JSONSchema;
5053
+ } | {
5054
+ type: "DISPLAY_ON_REVIEW";
5055
+ conditional: import(".").JSONSchema;
5056
+ })[] | undefined;
5057
+ secured?: boolean | undefined;
5058
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5059
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5060
+ hideLabel?: boolean | undefined;
5061
+ uncorrectable?: boolean | undefined;
5062
+ } | {
5063
+ type: "HTTP";
4712
5064
  id: string;
4713
5065
  label: import("./TranslationConfig").TranslationConfig;
4714
5066
  configuration: {
4715
- data: ({
4716
- value: string | import("./TranslationConfig").TranslationConfig;
4717
- label: import("./TranslationConfig").TranslationConfig;
4718
- } | {
4719
- fieldId: string;
4720
- })[];
4721
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
5067
+ method: "POST" | "DELETE" | "GET" | "PUT";
5068
+ url: string;
5069
+ params?: Record<string, string> | undefined;
5070
+ headers?: Record<string, string> | undefined;
5071
+ body?: Record<string, string> | undefined;
4722
5072
  };
4723
5073
  parent?: {
4724
5074
  $$field: string;
@@ -5740,6 +6090,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
5740
6090
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5741
6091
  hideLabel?: boolean | undefined;
5742
6092
  uncorrectable?: boolean | undefined;
6093
+ } | {
6094
+ type: "BUTTON";
6095
+ id: string;
6096
+ label: import("./TranslationConfig").TranslationConfig;
6097
+ configuration: {
6098
+ onClick: {
6099
+ $$field: string;
6100
+ };
6101
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
6102
+ icon?: string | undefined;
6103
+ shouldHandleLoadingState?: boolean | undefined;
6104
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
6105
+ };
6106
+ parent?: {
6107
+ $$field: string;
6108
+ } | undefined;
6109
+ validation?: {
6110
+ message: import("./TranslationConfig").TranslationConfig;
6111
+ validator: import(".").JSONSchema;
6112
+ }[] | undefined;
6113
+ required?: boolean | undefined;
6114
+ conditionals?: ({
6115
+ type: "SHOW";
6116
+ conditional: import(".").JSONSchema;
6117
+ } | {
6118
+ type: "ENABLE";
6119
+ conditional: import(".").JSONSchema;
6120
+ } | {
6121
+ type: "DISPLAY_ON_REVIEW";
6122
+ conditional: import(".").JSONSchema;
6123
+ })[] | undefined;
6124
+ secured?: boolean | undefined;
6125
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6126
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6127
+ hideLabel?: boolean | undefined;
6128
+ uncorrectable?: boolean | undefined;
6129
+ } | {
6130
+ type: "HTTP";
6131
+ id: string;
6132
+ label: import("./TranslationConfig").TranslationConfig;
6133
+ configuration: {
6134
+ method: "POST" | "DELETE" | "GET" | "PUT";
6135
+ url: string;
6136
+ params?: Record<string, string> | undefined;
6137
+ headers?: Record<string, string> | undefined;
6138
+ body?: Record<string, string> | undefined;
6139
+ };
6140
+ parent?: {
6141
+ $$field: string;
6142
+ } | undefined;
6143
+ validation?: {
6144
+ message: import("./TranslationConfig").TranslationConfig;
6145
+ validator: import(".").JSONSchema;
6146
+ }[] | undefined;
6147
+ required?: boolean | undefined;
6148
+ conditionals?: ({
6149
+ type: "SHOW";
6150
+ conditional: import(".").JSONSchema;
6151
+ } | {
6152
+ type: "ENABLE";
6153
+ conditional: import(".").JSONSchema;
6154
+ } | {
6155
+ type: "DISPLAY_ON_REVIEW";
6156
+ conditional: import(".").JSONSchema;
6157
+ })[] | undefined;
6158
+ secured?: boolean | undefined;
6159
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6160
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6161
+ hideLabel?: boolean | undefined;
6162
+ uncorrectable?: boolean | undefined;
5743
6163
  })[];
5744
6164
  conditional?: import(".").JSONSchema | undefined;
5745
6165
  } | {
@@ -6692,6 +7112,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
6692
7112
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6693
7113
  hideLabel?: boolean | undefined;
6694
7114
  uncorrectable?: boolean | undefined;
7115
+ } | {
7116
+ type: "BUTTON";
7117
+ id: string;
7118
+ label: import("./TranslationConfig").TranslationConfig;
7119
+ configuration: {
7120
+ onClick: {
7121
+ $$field: string;
7122
+ };
7123
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
7124
+ icon?: string | undefined;
7125
+ shouldHandleLoadingState?: boolean | undefined;
7126
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
7127
+ };
7128
+ parent?: {
7129
+ $$field: string;
7130
+ } | undefined;
7131
+ validation?: {
7132
+ message: import("./TranslationConfig").TranslationConfig;
7133
+ validator: import(".").JSONSchema;
7134
+ }[] | undefined;
7135
+ required?: boolean | undefined;
7136
+ conditionals?: ({
7137
+ type: "SHOW";
7138
+ conditional: import(".").JSONSchema;
7139
+ } | {
7140
+ type: "ENABLE";
7141
+ conditional: import(".").JSONSchema;
7142
+ } | {
7143
+ type: "DISPLAY_ON_REVIEW";
7144
+ conditional: import(".").JSONSchema;
7145
+ })[] | undefined;
7146
+ secured?: boolean | undefined;
7147
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
7148
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7149
+ hideLabel?: boolean | undefined;
7150
+ uncorrectable?: boolean | undefined;
7151
+ } | {
7152
+ type: "HTTP";
7153
+ id: string;
7154
+ label: import("./TranslationConfig").TranslationConfig;
7155
+ configuration: {
7156
+ method: "POST" | "DELETE" | "GET" | "PUT";
7157
+ url: string;
7158
+ params?: Record<string, string> | undefined;
7159
+ headers?: Record<string, string> | undefined;
7160
+ body?: Record<string, string> | undefined;
7161
+ };
7162
+ parent?: {
7163
+ $$field: string;
7164
+ } | undefined;
7165
+ validation?: {
7166
+ message: import("./TranslationConfig").TranslationConfig;
7167
+ validator: import(".").JSONSchema;
7168
+ }[] | undefined;
7169
+ required?: boolean | undefined;
7170
+ conditionals?: ({
7171
+ type: "SHOW";
7172
+ conditional: import(".").JSONSchema;
7173
+ } | {
7174
+ type: "ENABLE";
7175
+ conditional: import(".").JSONSchema;
7176
+ } | {
7177
+ type: "DISPLAY_ON_REVIEW";
7178
+ conditional: import(".").JSONSchema;
7179
+ })[] | undefined;
7180
+ secured?: boolean | undefined;
7181
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
7182
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7183
+ hideLabel?: boolean | undefined;
7184
+ uncorrectable?: boolean | undefined;
6695
7185
  })[];
6696
7186
  conditional?: import(".").JSONSchema | undefined;
6697
7187
  })[];
@@ -7647,6 +8137,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
7647
8137
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7648
8138
  hideLabel?: boolean | undefined;
7649
8139
  uncorrectable?: boolean | undefined;
8140
+ } | {
8141
+ type: "BUTTON";
8142
+ id: string;
8143
+ label: import("./TranslationConfig").TranslationConfig;
8144
+ configuration: {
8145
+ onClick: {
8146
+ $$field: string;
8147
+ };
8148
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
8149
+ icon?: string | undefined;
8150
+ shouldHandleLoadingState?: boolean | undefined;
8151
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
8152
+ };
8153
+ parent?: {
8154
+ $$field: string;
8155
+ } | undefined;
8156
+ validation?: {
8157
+ message: import("./TranslationConfig").TranslationConfig;
8158
+ validator: import(".").JSONSchema;
8159
+ }[] | undefined;
8160
+ required?: boolean | undefined;
8161
+ conditionals?: ({
8162
+ type: "SHOW";
8163
+ conditional: import(".").JSONSchema;
8164
+ } | {
8165
+ type: "ENABLE";
8166
+ conditional: import(".").JSONSchema;
8167
+ } | {
8168
+ type: "DISPLAY_ON_REVIEW";
8169
+ conditional: import(".").JSONSchema;
8170
+ })[] | undefined;
8171
+ secured?: boolean | undefined;
8172
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8173
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8174
+ hideLabel?: boolean | undefined;
8175
+ uncorrectable?: boolean | undefined;
8176
+ } | {
8177
+ type: "HTTP";
8178
+ id: string;
8179
+ label: import("./TranslationConfig").TranslationConfig;
8180
+ configuration: {
8181
+ method: "POST" | "DELETE" | "GET" | "PUT";
8182
+ url: string;
8183
+ params?: Record<string, string> | undefined;
8184
+ headers?: Record<string, string> | undefined;
8185
+ body?: Record<string, string> | undefined;
8186
+ };
8187
+ parent?: {
8188
+ $$field: string;
8189
+ } | undefined;
8190
+ validation?: {
8191
+ message: import("./TranslationConfig").TranslationConfig;
8192
+ validator: import(".").JSONSchema;
8193
+ }[] | undefined;
8194
+ required?: boolean | undefined;
8195
+ conditionals?: ({
8196
+ type: "SHOW";
8197
+ conditional: import(".").JSONSchema;
8198
+ } | {
8199
+ type: "ENABLE";
8200
+ conditional: import(".").JSONSchema;
8201
+ } | {
8202
+ type: "DISPLAY_ON_REVIEW";
8203
+ conditional: import(".").JSONSchema;
8204
+ })[] | undefined;
8205
+ secured?: boolean | undefined;
8206
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8207
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8208
+ hideLabel?: boolean | undefined;
8209
+ uncorrectable?: boolean | undefined;
7650
8210
  })[];
7651
8211
  conditional?: import(".").JSONSchema | undefined;
7652
8212
  } | {
@@ -8599,6 +9159,76 @@ export declare const defineConfig: (config: EventConfigInput) => {
8599
9159
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8600
9160
  hideLabel?: boolean | undefined;
8601
9161
  uncorrectable?: boolean | undefined;
9162
+ } | {
9163
+ type: "BUTTON";
9164
+ id: string;
9165
+ label: import("./TranslationConfig").TranslationConfig;
9166
+ configuration: {
9167
+ onClick: {
9168
+ $$field: string;
9169
+ };
9170
+ buttonLabel: import("./TranslationConfig").TranslationConfig;
9171
+ icon?: string | undefined;
9172
+ shouldHandleLoadingState?: boolean | undefined;
9173
+ loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
9174
+ };
9175
+ parent?: {
9176
+ $$field: string;
9177
+ } | undefined;
9178
+ validation?: {
9179
+ message: import("./TranslationConfig").TranslationConfig;
9180
+ validator: import(".").JSONSchema;
9181
+ }[] | undefined;
9182
+ required?: boolean | undefined;
9183
+ conditionals?: ({
9184
+ type: "SHOW";
9185
+ conditional: import(".").JSONSchema;
9186
+ } | {
9187
+ type: "ENABLE";
9188
+ conditional: import(".").JSONSchema;
9189
+ } | {
9190
+ type: "DISPLAY_ON_REVIEW";
9191
+ conditional: import(".").JSONSchema;
9192
+ })[] | undefined;
9193
+ secured?: boolean | undefined;
9194
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
9195
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9196
+ hideLabel?: boolean | undefined;
9197
+ uncorrectable?: boolean | undefined;
9198
+ } | {
9199
+ type: "HTTP";
9200
+ id: string;
9201
+ label: import("./TranslationConfig").TranslationConfig;
9202
+ configuration: {
9203
+ method: "POST" | "DELETE" | "GET" | "PUT";
9204
+ url: string;
9205
+ params?: Record<string, string> | undefined;
9206
+ headers?: Record<string, string> | undefined;
9207
+ body?: Record<string, string> | undefined;
9208
+ };
9209
+ parent?: {
9210
+ $$field: string;
9211
+ } | undefined;
9212
+ validation?: {
9213
+ message: import("./TranslationConfig").TranslationConfig;
9214
+ validator: import(".").JSONSchema;
9215
+ }[] | undefined;
9216
+ required?: boolean | undefined;
9217
+ conditionals?: ({
9218
+ type: "SHOW";
9219
+ conditional: import(".").JSONSchema;
9220
+ } | {
9221
+ type: "ENABLE";
9222
+ conditional: import(".").JSONSchema;
9223
+ } | {
9224
+ type: "DISPLAY_ON_REVIEW";
9225
+ conditional: import(".").JSONSchema;
9226
+ })[] | undefined;
9227
+ secured?: boolean | undefined;
9228
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
9229
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9230
+ hideLabel?: boolean | undefined;
9231
+ uncorrectable?: boolean | undefined;
8602
9232
  })[];
8603
9233
  conditional?: import(".").JSONSchema | undefined;
8604
9234
  })[];