@opencrvs/toolkit 1.8.1-rc.0377f8e → 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.
@@ -957,6 +957,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
957
957
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
958
958
  hideLabel?: boolean | undefined;
959
959
  uncorrectable?: boolean | undefined;
960
+ } | {
961
+ type: "BUTTON";
962
+ id: string;
963
+ label: import("./TranslationConfig").TranslationConfig;
964
+ configuration: {
965
+ text: import("./TranslationConfig").TranslationConfig;
966
+ loading?: boolean | undefined;
967
+ icon?: string | undefined;
968
+ };
969
+ parent?: {
970
+ $$field: string;
971
+ } | undefined;
972
+ validation?: {
973
+ message: import("./TranslationConfig").TranslationConfig;
974
+ validator: import(".").JSONSchema;
975
+ }[] | undefined;
976
+ required?: boolean | undefined;
977
+ conditionals?: ({
978
+ type: "SHOW";
979
+ conditional: import(".").JSONSchema;
980
+ } | {
981
+ type: "ENABLE";
982
+ conditional: import(".").JSONSchema;
983
+ } | {
984
+ type: "DISPLAY_ON_REVIEW";
985
+ conditional: import(".").JSONSchema;
986
+ })[] | undefined;
987
+ secured?: boolean | undefined;
988
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
989
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
990
+ hideLabel?: boolean | undefined;
991
+ uncorrectable?: boolean | undefined;
992
+ } | {
993
+ type: "HTTP";
994
+ id: string;
995
+ label: import("./TranslationConfig").TranslationConfig;
996
+ configuration: {
997
+ method: "POST" | "DELETE" | "GET" | "PUT";
998
+ trigger: {
999
+ $$field: string;
1000
+ };
1001
+ url: string;
1002
+ timeout: number;
1003
+ params?: Record<string, string> | undefined;
1004
+ headers?: Record<string, string> | undefined;
1005
+ body?: Record<string, string> | undefined;
1006
+ };
1007
+ parent?: {
1008
+ $$field: string;
1009
+ } | undefined;
1010
+ validation?: {
1011
+ message: import("./TranslationConfig").TranslationConfig;
1012
+ validator: import(".").JSONSchema;
1013
+ }[] | undefined;
1014
+ required?: boolean | undefined;
1015
+ conditionals?: ({
1016
+ type: "SHOW";
1017
+ conditional: import(".").JSONSchema;
1018
+ } | {
1019
+ type: "ENABLE";
1020
+ conditional: import(".").JSONSchema;
1021
+ } | {
1022
+ type: "DISPLAY_ON_REVIEW";
1023
+ conditional: import(".").JSONSchema;
1024
+ })[] | undefined;
1025
+ secured?: boolean | undefined;
1026
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
1027
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1028
+ hideLabel?: boolean | undefined;
1029
+ uncorrectable?: boolean | undefined;
1030
+ defaultValue?: {
1031
+ error: {
1032
+ message: string;
1033
+ statusCode: number | null;
1034
+ } | null;
1035
+ loading: boolean;
1036
+ data?: any;
1037
+ trackingValue?: string | undefined;
1038
+ } | undefined;
960
1039
  })[];
961
1040
  conditional?: import(".").JSONSchema | undefined;
962
1041
  }[];
@@ -1918,6 +1997,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
1918
1997
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
1919
1998
  hideLabel?: boolean | undefined;
1920
1999
  uncorrectable?: boolean | undefined;
2000
+ } | {
2001
+ type: "BUTTON";
2002
+ id: string;
2003
+ label: import("./TranslationConfig").TranslationConfig;
2004
+ configuration: {
2005
+ text: import("./TranslationConfig").TranslationConfig;
2006
+ loading?: boolean | undefined;
2007
+ icon?: string | undefined;
2008
+ };
2009
+ parent?: {
2010
+ $$field: string;
2011
+ } | undefined;
2012
+ validation?: {
2013
+ message: import("./TranslationConfig").TranslationConfig;
2014
+ validator: import(".").JSONSchema;
2015
+ }[] | undefined;
2016
+ required?: boolean | undefined;
2017
+ conditionals?: ({
2018
+ type: "SHOW";
2019
+ conditional: import(".").JSONSchema;
2020
+ } | {
2021
+ type: "ENABLE";
2022
+ conditional: import(".").JSONSchema;
2023
+ } | {
2024
+ type: "DISPLAY_ON_REVIEW";
2025
+ conditional: import(".").JSONSchema;
2026
+ })[] | undefined;
2027
+ secured?: boolean | undefined;
2028
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2029
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2030
+ hideLabel?: boolean | undefined;
2031
+ uncorrectable?: boolean | undefined;
2032
+ } | {
2033
+ type: "HTTP";
2034
+ id: string;
2035
+ label: import("./TranslationConfig").TranslationConfig;
2036
+ configuration: {
2037
+ method: "POST" | "DELETE" | "GET" | "PUT";
2038
+ trigger: {
2039
+ $$field: string;
2040
+ };
2041
+ url: string;
2042
+ timeout: number;
2043
+ params?: Record<string, string> | undefined;
2044
+ headers?: Record<string, string> | undefined;
2045
+ body?: Record<string, string> | undefined;
2046
+ };
2047
+ parent?: {
2048
+ $$field: string;
2049
+ } | undefined;
2050
+ validation?: {
2051
+ message: import("./TranslationConfig").TranslationConfig;
2052
+ validator: import(".").JSONSchema;
2053
+ }[] | undefined;
2054
+ required?: boolean | undefined;
2055
+ conditionals?: ({
2056
+ type: "SHOW";
2057
+ conditional: import(".").JSONSchema;
2058
+ } | {
2059
+ type: "ENABLE";
2060
+ conditional: import(".").JSONSchema;
2061
+ } | {
2062
+ type: "DISPLAY_ON_REVIEW";
2063
+ conditional: import(".").JSONSchema;
2064
+ })[] | undefined;
2065
+ secured?: boolean | undefined;
2066
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
2067
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2068
+ hideLabel?: boolean | undefined;
2069
+ uncorrectable?: boolean | undefined;
2070
+ defaultValue?: {
2071
+ error: {
2072
+ message: string;
2073
+ statusCode: number | null;
2074
+ } | null;
2075
+ loading: boolean;
2076
+ data?: any;
2077
+ trackingValue?: string | undefined;
2078
+ } | undefined;
1921
2079
  })[];
1922
2080
  };
1923
2081
  draft?: boolean | undefined;
@@ -2878,6 +3036,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
2878
3036
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
2879
3037
  hideLabel?: boolean | undefined;
2880
3038
  uncorrectable?: boolean | undefined;
3039
+ } | {
3040
+ type: "BUTTON";
3041
+ id: string;
3042
+ label: import("./TranslationConfig").TranslationConfig;
3043
+ configuration: {
3044
+ text: import("./TranslationConfig").TranslationConfig;
3045
+ loading?: boolean | undefined;
3046
+ icon?: string | undefined;
3047
+ };
3048
+ parent?: {
3049
+ $$field: string;
3050
+ } | undefined;
3051
+ validation?: {
3052
+ message: import("./TranslationConfig").TranslationConfig;
3053
+ validator: import(".").JSONSchema;
3054
+ }[] | undefined;
3055
+ required?: boolean | undefined;
3056
+ conditionals?: ({
3057
+ type: "SHOW";
3058
+ conditional: import(".").JSONSchema;
3059
+ } | {
3060
+ type: "ENABLE";
3061
+ conditional: import(".").JSONSchema;
3062
+ } | {
3063
+ type: "DISPLAY_ON_REVIEW";
3064
+ conditional: import(".").JSONSchema;
3065
+ })[] | undefined;
3066
+ secured?: boolean | undefined;
3067
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3068
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3069
+ hideLabel?: boolean | undefined;
3070
+ uncorrectable?: boolean | undefined;
3071
+ } | {
3072
+ type: "HTTP";
3073
+ id: string;
3074
+ label: import("./TranslationConfig").TranslationConfig;
3075
+ configuration: {
3076
+ method: "POST" | "DELETE" | "GET" | "PUT";
3077
+ trigger: {
3078
+ $$field: string;
3079
+ };
3080
+ url: string;
3081
+ timeout: number;
3082
+ params?: Record<string, string> | undefined;
3083
+ headers?: Record<string, string> | undefined;
3084
+ body?: Record<string, string> | undefined;
3085
+ };
3086
+ parent?: {
3087
+ $$field: string;
3088
+ } | undefined;
3089
+ validation?: {
3090
+ message: import("./TranslationConfig").TranslationConfig;
3091
+ validator: import(".").JSONSchema;
3092
+ }[] | undefined;
3093
+ required?: boolean | undefined;
3094
+ conditionals?: ({
3095
+ type: "SHOW";
3096
+ conditional: import(".").JSONSchema;
3097
+ } | {
3098
+ type: "ENABLE";
3099
+ conditional: import(".").JSONSchema;
3100
+ } | {
3101
+ type: "DISPLAY_ON_REVIEW";
3102
+ conditional: import(".").JSONSchema;
3103
+ })[] | undefined;
3104
+ secured?: boolean | undefined;
3105
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
3106
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3107
+ hideLabel?: boolean | undefined;
3108
+ uncorrectable?: boolean | undefined;
3109
+ defaultValue?: {
3110
+ error: {
3111
+ message: string;
3112
+ statusCode: number | null;
3113
+ } | null;
3114
+ loading: boolean;
3115
+ data?: any;
3116
+ trackingValue?: string | undefined;
3117
+ } | undefined;
2881
3118
  })[];
2882
3119
  };
2883
3120
  draft?: boolean | undefined;
@@ -3838,6 +4075,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
3838
4075
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
3839
4076
  hideLabel?: boolean | undefined;
3840
4077
  uncorrectable?: boolean | undefined;
4078
+ } | {
4079
+ type: "BUTTON";
4080
+ id: string;
4081
+ label: import("./TranslationConfig").TranslationConfig;
4082
+ configuration: {
4083
+ text: import("./TranslationConfig").TranslationConfig;
4084
+ loading?: boolean | undefined;
4085
+ icon?: string | undefined;
4086
+ };
4087
+ parent?: {
4088
+ $$field: string;
4089
+ } | undefined;
4090
+ validation?: {
4091
+ message: import("./TranslationConfig").TranslationConfig;
4092
+ validator: import(".").JSONSchema;
4093
+ }[] | undefined;
4094
+ required?: boolean | undefined;
4095
+ conditionals?: ({
4096
+ type: "SHOW";
4097
+ conditional: import(".").JSONSchema;
4098
+ } | {
4099
+ type: "ENABLE";
4100
+ conditional: import(".").JSONSchema;
4101
+ } | {
4102
+ type: "DISPLAY_ON_REVIEW";
4103
+ conditional: import(".").JSONSchema;
4104
+ })[] | undefined;
4105
+ secured?: boolean | undefined;
4106
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4107
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4108
+ hideLabel?: boolean | undefined;
4109
+ uncorrectable?: boolean | undefined;
4110
+ } | {
4111
+ type: "HTTP";
4112
+ id: string;
4113
+ label: import("./TranslationConfig").TranslationConfig;
4114
+ configuration: {
4115
+ method: "POST" | "DELETE" | "GET" | "PUT";
4116
+ trigger: {
4117
+ $$field: string;
4118
+ };
4119
+ url: string;
4120
+ timeout: number;
4121
+ params?: Record<string, string> | undefined;
4122
+ headers?: Record<string, string> | undefined;
4123
+ body?: Record<string, string> | undefined;
4124
+ };
4125
+ parent?: {
4126
+ $$field: string;
4127
+ } | undefined;
4128
+ validation?: {
4129
+ message: import("./TranslationConfig").TranslationConfig;
4130
+ validator: import(".").JSONSchema;
4131
+ }[] | undefined;
4132
+ required?: boolean | undefined;
4133
+ conditionals?: ({
4134
+ type: "SHOW";
4135
+ conditional: import(".").JSONSchema;
4136
+ } | {
4137
+ type: "ENABLE";
4138
+ conditional: import(".").JSONSchema;
4139
+ } | {
4140
+ type: "DISPLAY_ON_REVIEW";
4141
+ conditional: import(".").JSONSchema;
4142
+ })[] | undefined;
4143
+ secured?: boolean | undefined;
4144
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
4145
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4146
+ hideLabel?: boolean | undefined;
4147
+ uncorrectable?: boolean | undefined;
4148
+ defaultValue?: {
4149
+ error: {
4150
+ message: string;
4151
+ statusCode: number | null;
4152
+ } | null;
4153
+ loading: boolean;
4154
+ data?: any;
4155
+ trackingValue?: string | undefined;
4156
+ } | undefined;
3841
4157
  })[];
3842
4158
  };
3843
4159
  draft?: boolean | undefined;
@@ -4763,17 +5079,87 @@ export declare const defineConfig: (config: EventConfigInput) => {
4763
5079
  searchMode?: boolean | undefined;
4764
5080
  } | undefined;
4765
5081
  } | {
4766
- type: "DATA";
5082
+ type: "DATA";
5083
+ id: string;
5084
+ label: import("./TranslationConfig").TranslationConfig;
5085
+ configuration: {
5086
+ data: ({
5087
+ value: string | import("./TranslationConfig").TranslationConfig;
5088
+ label: import("./TranslationConfig").TranslationConfig;
5089
+ } | {
5090
+ fieldId: string;
5091
+ })[];
5092
+ subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
5093
+ };
5094
+ parent?: {
5095
+ $$field: string;
5096
+ } | undefined;
5097
+ validation?: {
5098
+ message: import("./TranslationConfig").TranslationConfig;
5099
+ validator: import(".").JSONSchema;
5100
+ }[] | undefined;
5101
+ required?: boolean | undefined;
5102
+ conditionals?: ({
5103
+ type: "SHOW";
5104
+ conditional: import(".").JSONSchema;
5105
+ } | {
5106
+ type: "ENABLE";
5107
+ conditional: import(".").JSONSchema;
5108
+ } | {
5109
+ type: "DISPLAY_ON_REVIEW";
5110
+ conditional: import(".").JSONSchema;
5111
+ })[] | undefined;
5112
+ secured?: boolean | undefined;
5113
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5114
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5115
+ hideLabel?: boolean | undefined;
5116
+ uncorrectable?: boolean | undefined;
5117
+ } | {
5118
+ type: "BUTTON";
5119
+ id: string;
5120
+ label: import("./TranslationConfig").TranslationConfig;
5121
+ configuration: {
5122
+ text: import("./TranslationConfig").TranslationConfig;
5123
+ loading?: boolean | undefined;
5124
+ icon?: string | undefined;
5125
+ };
5126
+ parent?: {
5127
+ $$field: string;
5128
+ } | undefined;
5129
+ validation?: {
5130
+ message: import("./TranslationConfig").TranslationConfig;
5131
+ validator: import(".").JSONSchema;
5132
+ }[] | undefined;
5133
+ required?: boolean | undefined;
5134
+ conditionals?: ({
5135
+ type: "SHOW";
5136
+ conditional: import(".").JSONSchema;
5137
+ } | {
5138
+ type: "ENABLE";
5139
+ conditional: import(".").JSONSchema;
5140
+ } | {
5141
+ type: "DISPLAY_ON_REVIEW";
5142
+ conditional: import(".").JSONSchema;
5143
+ })[] | undefined;
5144
+ secured?: boolean | undefined;
5145
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
5146
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5147
+ hideLabel?: boolean | undefined;
5148
+ uncorrectable?: boolean | undefined;
5149
+ } | {
5150
+ type: "HTTP";
4767
5151
  id: string;
4768
5152
  label: import("./TranslationConfig").TranslationConfig;
4769
5153
  configuration: {
4770
- data: ({
4771
- value: string | import("./TranslationConfig").TranslationConfig;
4772
- label: import("./TranslationConfig").TranslationConfig;
4773
- } | {
4774
- fieldId: string;
4775
- })[];
4776
- subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
5154
+ method: "POST" | "DELETE" | "GET" | "PUT";
5155
+ trigger: {
5156
+ $$field: string;
5157
+ };
5158
+ url: string;
5159
+ timeout: number;
5160
+ params?: Record<string, string> | undefined;
5161
+ headers?: Record<string, string> | undefined;
5162
+ body?: Record<string, string> | undefined;
4777
5163
  };
4778
5164
  parent?: {
4779
5165
  $$field: string;
@@ -4798,6 +5184,15 @@ export declare const defineConfig: (config: EventConfigInput) => {
4798
5184
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
4799
5185
  hideLabel?: boolean | undefined;
4800
5186
  uncorrectable?: boolean | undefined;
5187
+ defaultValue?: {
5188
+ error: {
5189
+ message: string;
5190
+ statusCode: number | null;
5191
+ } | null;
5192
+ loading: boolean;
5193
+ data?: any;
5194
+ trackingValue?: string | undefined;
5195
+ } | undefined;
4801
5196
  })[];
4802
5197
  };
4803
5198
  draft?: boolean | undefined;
@@ -5806,6 +6201,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
5806
6201
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
5807
6202
  hideLabel?: boolean | undefined;
5808
6203
  uncorrectable?: boolean | undefined;
6204
+ } | {
6205
+ type: "BUTTON";
6206
+ id: string;
6207
+ label: import("./TranslationConfig").TranslationConfig;
6208
+ configuration: {
6209
+ text: import("./TranslationConfig").TranslationConfig;
6210
+ loading?: boolean | undefined;
6211
+ icon?: string | undefined;
6212
+ };
6213
+ parent?: {
6214
+ $$field: string;
6215
+ } | undefined;
6216
+ validation?: {
6217
+ message: import("./TranslationConfig").TranslationConfig;
6218
+ validator: import(".").JSONSchema;
6219
+ }[] | undefined;
6220
+ required?: boolean | undefined;
6221
+ conditionals?: ({
6222
+ type: "SHOW";
6223
+ conditional: import(".").JSONSchema;
6224
+ } | {
6225
+ type: "ENABLE";
6226
+ conditional: import(".").JSONSchema;
6227
+ } | {
6228
+ type: "DISPLAY_ON_REVIEW";
6229
+ conditional: import(".").JSONSchema;
6230
+ })[] | undefined;
6231
+ secured?: boolean | undefined;
6232
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6233
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6234
+ hideLabel?: boolean | undefined;
6235
+ uncorrectable?: boolean | undefined;
6236
+ } | {
6237
+ type: "HTTP";
6238
+ id: string;
6239
+ label: import("./TranslationConfig").TranslationConfig;
6240
+ configuration: {
6241
+ method: "POST" | "DELETE" | "GET" | "PUT";
6242
+ trigger: {
6243
+ $$field: string;
6244
+ };
6245
+ url: string;
6246
+ timeout: number;
6247
+ params?: Record<string, string> | undefined;
6248
+ headers?: Record<string, string> | undefined;
6249
+ body?: Record<string, string> | undefined;
6250
+ };
6251
+ parent?: {
6252
+ $$field: string;
6253
+ } | undefined;
6254
+ validation?: {
6255
+ message: import("./TranslationConfig").TranslationConfig;
6256
+ validator: import(".").JSONSchema;
6257
+ }[] | undefined;
6258
+ required?: boolean | undefined;
6259
+ conditionals?: ({
6260
+ type: "SHOW";
6261
+ conditional: import(".").JSONSchema;
6262
+ } | {
6263
+ type: "ENABLE";
6264
+ conditional: import(".").JSONSchema;
6265
+ } | {
6266
+ type: "DISPLAY_ON_REVIEW";
6267
+ conditional: import(".").JSONSchema;
6268
+ })[] | undefined;
6269
+ secured?: boolean | undefined;
6270
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
6271
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6272
+ hideLabel?: boolean | undefined;
6273
+ uncorrectable?: boolean | undefined;
6274
+ defaultValue?: {
6275
+ error: {
6276
+ message: string;
6277
+ statusCode: number | null;
6278
+ } | null;
6279
+ loading: boolean;
6280
+ data?: any;
6281
+ trackingValue?: string | undefined;
6282
+ } | undefined;
5809
6283
  })[];
5810
6284
  conditional?: import(".").JSONSchema | undefined;
5811
6285
  } | {
@@ -6769,6 +7243,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
6769
7243
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
6770
7244
  hideLabel?: boolean | undefined;
6771
7245
  uncorrectable?: boolean | undefined;
7246
+ } | {
7247
+ type: "BUTTON";
7248
+ id: string;
7249
+ label: import("./TranslationConfig").TranslationConfig;
7250
+ configuration: {
7251
+ text: import("./TranslationConfig").TranslationConfig;
7252
+ loading?: boolean | undefined;
7253
+ icon?: string | undefined;
7254
+ };
7255
+ parent?: {
7256
+ $$field: string;
7257
+ } | undefined;
7258
+ validation?: {
7259
+ message: import("./TranslationConfig").TranslationConfig;
7260
+ validator: import(".").JSONSchema;
7261
+ }[] | undefined;
7262
+ required?: boolean | undefined;
7263
+ conditionals?: ({
7264
+ type: "SHOW";
7265
+ conditional: import(".").JSONSchema;
7266
+ } | {
7267
+ type: "ENABLE";
7268
+ conditional: import(".").JSONSchema;
7269
+ } | {
7270
+ type: "DISPLAY_ON_REVIEW";
7271
+ conditional: import(".").JSONSchema;
7272
+ })[] | undefined;
7273
+ secured?: boolean | undefined;
7274
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
7275
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7276
+ hideLabel?: boolean | undefined;
7277
+ uncorrectable?: boolean | undefined;
7278
+ } | {
7279
+ type: "HTTP";
7280
+ id: string;
7281
+ label: import("./TranslationConfig").TranslationConfig;
7282
+ configuration: {
7283
+ method: "POST" | "DELETE" | "GET" | "PUT";
7284
+ trigger: {
7285
+ $$field: string;
7286
+ };
7287
+ url: string;
7288
+ timeout: number;
7289
+ params?: Record<string, string> | undefined;
7290
+ headers?: Record<string, string> | undefined;
7291
+ body?: Record<string, string> | undefined;
7292
+ };
7293
+ parent?: {
7294
+ $$field: string;
7295
+ } | undefined;
7296
+ validation?: {
7297
+ message: import("./TranslationConfig").TranslationConfig;
7298
+ validator: import(".").JSONSchema;
7299
+ }[] | undefined;
7300
+ required?: boolean | undefined;
7301
+ conditionals?: ({
7302
+ type: "SHOW";
7303
+ conditional: import(".").JSONSchema;
7304
+ } | {
7305
+ type: "ENABLE";
7306
+ conditional: import(".").JSONSchema;
7307
+ } | {
7308
+ type: "DISPLAY_ON_REVIEW";
7309
+ conditional: import(".").JSONSchema;
7310
+ })[] | undefined;
7311
+ secured?: boolean | undefined;
7312
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
7313
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7314
+ hideLabel?: boolean | undefined;
7315
+ uncorrectable?: boolean | undefined;
7316
+ defaultValue?: {
7317
+ error: {
7318
+ message: string;
7319
+ statusCode: number | null;
7320
+ } | null;
7321
+ loading: boolean;
7322
+ data?: any;
7323
+ trackingValue?: string | undefined;
7324
+ } | undefined;
6772
7325
  })[];
6773
7326
  conditional?: import(".").JSONSchema | undefined;
6774
7327
  })[];
@@ -7735,6 +8288,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
7735
8288
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
7736
8289
  hideLabel?: boolean | undefined;
7737
8290
  uncorrectable?: boolean | undefined;
8291
+ } | {
8292
+ type: "BUTTON";
8293
+ id: string;
8294
+ label: import("./TranslationConfig").TranslationConfig;
8295
+ configuration: {
8296
+ text: import("./TranslationConfig").TranslationConfig;
8297
+ loading?: boolean | undefined;
8298
+ icon?: string | undefined;
8299
+ };
8300
+ parent?: {
8301
+ $$field: string;
8302
+ } | undefined;
8303
+ validation?: {
8304
+ message: import("./TranslationConfig").TranslationConfig;
8305
+ validator: import(".").JSONSchema;
8306
+ }[] | undefined;
8307
+ required?: boolean | undefined;
8308
+ conditionals?: ({
8309
+ type: "SHOW";
8310
+ conditional: import(".").JSONSchema;
8311
+ } | {
8312
+ type: "ENABLE";
8313
+ conditional: import(".").JSONSchema;
8314
+ } | {
8315
+ type: "DISPLAY_ON_REVIEW";
8316
+ conditional: import(".").JSONSchema;
8317
+ })[] | undefined;
8318
+ secured?: boolean | undefined;
8319
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8320
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8321
+ hideLabel?: boolean | undefined;
8322
+ uncorrectable?: boolean | undefined;
8323
+ } | {
8324
+ type: "HTTP";
8325
+ id: string;
8326
+ label: import("./TranslationConfig").TranslationConfig;
8327
+ configuration: {
8328
+ method: "POST" | "DELETE" | "GET" | "PUT";
8329
+ trigger: {
8330
+ $$field: string;
8331
+ };
8332
+ url: string;
8333
+ timeout: number;
8334
+ params?: Record<string, string> | undefined;
8335
+ headers?: Record<string, string> | undefined;
8336
+ body?: Record<string, string> | undefined;
8337
+ };
8338
+ parent?: {
8339
+ $$field: string;
8340
+ } | undefined;
8341
+ validation?: {
8342
+ message: import("./TranslationConfig").TranslationConfig;
8343
+ validator: import(".").JSONSchema;
8344
+ }[] | undefined;
8345
+ required?: boolean | undefined;
8346
+ conditionals?: ({
8347
+ type: "SHOW";
8348
+ conditional: import(".").JSONSchema;
8349
+ } | {
8350
+ type: "ENABLE";
8351
+ conditional: import(".").JSONSchema;
8352
+ } | {
8353
+ type: "DISPLAY_ON_REVIEW";
8354
+ conditional: import(".").JSONSchema;
8355
+ })[] | undefined;
8356
+ secured?: boolean | undefined;
8357
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
8358
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8359
+ hideLabel?: boolean | undefined;
8360
+ uncorrectable?: boolean | undefined;
8361
+ defaultValue?: {
8362
+ error: {
8363
+ message: string;
8364
+ statusCode: number | null;
8365
+ } | null;
8366
+ loading: boolean;
8367
+ data?: any;
8368
+ trackingValue?: string | undefined;
8369
+ } | undefined;
7738
8370
  })[];
7739
8371
  conditional?: import(".").JSONSchema | undefined;
7740
8372
  } | {
@@ -8698,6 +9330,85 @@ export declare const defineConfig: (config: EventConfigInput) => {
8698
9330
  helperText?: import("./TranslationConfig").TranslationConfig | undefined;
8699
9331
  hideLabel?: boolean | undefined;
8700
9332
  uncorrectable?: boolean | undefined;
9333
+ } | {
9334
+ type: "BUTTON";
9335
+ id: string;
9336
+ label: import("./TranslationConfig").TranslationConfig;
9337
+ configuration: {
9338
+ text: import("./TranslationConfig").TranslationConfig;
9339
+ loading?: boolean | undefined;
9340
+ icon?: string | undefined;
9341
+ };
9342
+ parent?: {
9343
+ $$field: string;
9344
+ } | undefined;
9345
+ validation?: {
9346
+ message: import("./TranslationConfig").TranslationConfig;
9347
+ validator: import(".").JSONSchema;
9348
+ }[] | undefined;
9349
+ required?: boolean | undefined;
9350
+ conditionals?: ({
9351
+ type: "SHOW";
9352
+ conditional: import(".").JSONSchema;
9353
+ } | {
9354
+ type: "ENABLE";
9355
+ conditional: import(".").JSONSchema;
9356
+ } | {
9357
+ type: "DISPLAY_ON_REVIEW";
9358
+ conditional: import(".").JSONSchema;
9359
+ })[] | undefined;
9360
+ secured?: boolean | undefined;
9361
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
9362
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9363
+ hideLabel?: boolean | undefined;
9364
+ uncorrectable?: boolean | undefined;
9365
+ } | {
9366
+ type: "HTTP";
9367
+ id: string;
9368
+ label: import("./TranslationConfig").TranslationConfig;
9369
+ configuration: {
9370
+ method: "POST" | "DELETE" | "GET" | "PUT";
9371
+ trigger: {
9372
+ $$field: string;
9373
+ };
9374
+ url: string;
9375
+ timeout: number;
9376
+ params?: Record<string, string> | undefined;
9377
+ headers?: Record<string, string> | undefined;
9378
+ body?: Record<string, string> | undefined;
9379
+ };
9380
+ parent?: {
9381
+ $$field: string;
9382
+ } | undefined;
9383
+ validation?: {
9384
+ message: import("./TranslationConfig").TranslationConfig;
9385
+ validator: import(".").JSONSchema;
9386
+ }[] | undefined;
9387
+ required?: boolean | undefined;
9388
+ conditionals?: ({
9389
+ type: "SHOW";
9390
+ conditional: import(".").JSONSchema;
9391
+ } | {
9392
+ type: "ENABLE";
9393
+ conditional: import(".").JSONSchema;
9394
+ } | {
9395
+ type: "DISPLAY_ON_REVIEW";
9396
+ conditional: import(".").JSONSchema;
9397
+ })[] | undefined;
9398
+ secured?: boolean | undefined;
9399
+ placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
9400
+ helperText?: import("./TranslationConfig").TranslationConfig | undefined;
9401
+ hideLabel?: boolean | undefined;
9402
+ uncorrectable?: boolean | undefined;
9403
+ defaultValue?: {
9404
+ error: {
9405
+ message: string;
9406
+ statusCode: number | null;
9407
+ } | null;
9408
+ loading: boolean;
9409
+ data?: any;
9410
+ trackingValue?: string | undefined;
9411
+ } | undefined;
8701
9412
  })[];
8702
9413
  conditional?: import(".").JSONSchema | undefined;
8703
9414
  })[];