@opencrvs/toolkit 1.8.1-rc.b849abb → 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.
- package/dist/commons/api/router.d.ts +19 -1
- package/dist/commons/events/ActionConfig.d.ts +13593 -4629
- package/dist/commons/events/ActionDocument.d.ts +536 -0
- package/dist/commons/events/ActionInput.d.ts +26 -0
- package/dist/commons/events/AdvancedSearchConfig.d.ts +34 -34
- package/dist/commons/events/EventConfig.d.ts +7463 -3521
- package/dist/commons/events/EventDocument.d.ts +19 -0
- package/dist/commons/events/EventIndex.d.ts +122 -0
- package/dist/commons/events/FieldConfig.d.ts +1050 -362
- package/dist/commons/events/FieldType.d.ts +3 -1
- package/dist/commons/events/FieldTypeMapping.d.ts +15 -1
- package/dist/commons/events/FieldValue.d.ts +4 -0
- package/dist/commons/events/FormConfig.d.ts +6350 -2138
- package/dist/commons/events/PageConfig.d.ts +2058 -1014
- package/dist/commons/events/WorkqueueConfig.d.ts +97 -8
- package/dist/commons/events/defineConfig.d.ts +640 -10
- package/dist/commons/events/event.d.ts +8 -0
- package/dist/commons/events/field.d.ts +14 -0
- package/dist/commons/events/utils.d.ts +1138 -18
- package/dist/events/index.js +86 -7
- package/package.json +1 -1
@@ -948,6 +948,76 @@ export declare function getDeclarationPages(configuration: EventConfig): {
|
|
948
948
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
949
949
|
hideLabel?: boolean | undefined;
|
950
950
|
uncorrectable?: boolean | undefined;
|
951
|
+
} | {
|
952
|
+
type: "BUTTON";
|
953
|
+
id: string;
|
954
|
+
label: import("./TranslationConfig").TranslationConfig;
|
955
|
+
configuration: {
|
956
|
+
onClick: {
|
957
|
+
$$field: string;
|
958
|
+
};
|
959
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
960
|
+
icon?: string | undefined;
|
961
|
+
shouldHandleLoadingState?: boolean | undefined;
|
962
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
963
|
+
};
|
964
|
+
parent?: {
|
965
|
+
$$field: string;
|
966
|
+
} | undefined;
|
967
|
+
validation?: {
|
968
|
+
message: import("./TranslationConfig").TranslationConfig;
|
969
|
+
validator: import(".").JSONSchema;
|
970
|
+
}[] | undefined;
|
971
|
+
required?: boolean | undefined;
|
972
|
+
conditionals?: ({
|
973
|
+
type: "SHOW";
|
974
|
+
conditional: import(".").JSONSchema;
|
975
|
+
} | {
|
976
|
+
type: "ENABLE";
|
977
|
+
conditional: import(".").JSONSchema;
|
978
|
+
} | {
|
979
|
+
type: "DISPLAY_ON_REVIEW";
|
980
|
+
conditional: import(".").JSONSchema;
|
981
|
+
})[] | undefined;
|
982
|
+
secured?: boolean | undefined;
|
983
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
984
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
985
|
+
hideLabel?: boolean | undefined;
|
986
|
+
uncorrectable?: boolean | undefined;
|
987
|
+
} | {
|
988
|
+
type: "HTTP";
|
989
|
+
id: string;
|
990
|
+
label: import("./TranslationConfig").TranslationConfig;
|
991
|
+
configuration: {
|
992
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
993
|
+
url: string;
|
994
|
+
params?: Record<string, string> | undefined;
|
995
|
+
headers?: Record<string, string> | undefined;
|
996
|
+
body?: Record<string, string> | undefined;
|
997
|
+
};
|
998
|
+
parent?: {
|
999
|
+
$$field: string;
|
1000
|
+
} | undefined;
|
1001
|
+
validation?: {
|
1002
|
+
message: import("./TranslationConfig").TranslationConfig;
|
1003
|
+
validator: import(".").JSONSchema;
|
1004
|
+
}[] | undefined;
|
1005
|
+
required?: boolean | undefined;
|
1006
|
+
conditionals?: ({
|
1007
|
+
type: "SHOW";
|
1008
|
+
conditional: import(".").JSONSchema;
|
1009
|
+
} | {
|
1010
|
+
type: "ENABLE";
|
1011
|
+
conditional: import(".").JSONSchema;
|
1012
|
+
} | {
|
1013
|
+
type: "DISPLAY_ON_REVIEW";
|
1014
|
+
conditional: import(".").JSONSchema;
|
1015
|
+
})[] | undefined;
|
1016
|
+
secured?: boolean | undefined;
|
1017
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
1018
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1019
|
+
hideLabel?: boolean | undefined;
|
1020
|
+
uncorrectable?: boolean | undefined;
|
951
1021
|
})[];
|
952
1022
|
conditional?: import(".").JSONSchema | undefined;
|
953
1023
|
}[];
|
@@ -1891,6 +1961,76 @@ export declare function getDeclaration(configuration: EventConfig): {
|
|
1891
1961
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1892
1962
|
hideLabel?: boolean | undefined;
|
1893
1963
|
uncorrectable?: boolean | undefined;
|
1964
|
+
} | {
|
1965
|
+
type: "BUTTON";
|
1966
|
+
id: string;
|
1967
|
+
label: import("./TranslationConfig").TranslationConfig;
|
1968
|
+
configuration: {
|
1969
|
+
onClick: {
|
1970
|
+
$$field: string;
|
1971
|
+
};
|
1972
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
1973
|
+
icon?: string | undefined;
|
1974
|
+
shouldHandleLoadingState?: boolean | undefined;
|
1975
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
1976
|
+
};
|
1977
|
+
parent?: {
|
1978
|
+
$$field: string;
|
1979
|
+
} | undefined;
|
1980
|
+
validation?: {
|
1981
|
+
message: import("./TranslationConfig").TranslationConfig;
|
1982
|
+
validator: import(".").JSONSchema;
|
1983
|
+
}[] | undefined;
|
1984
|
+
required?: boolean | undefined;
|
1985
|
+
conditionals?: ({
|
1986
|
+
type: "SHOW";
|
1987
|
+
conditional: import(".").JSONSchema;
|
1988
|
+
} | {
|
1989
|
+
type: "ENABLE";
|
1990
|
+
conditional: import(".").JSONSchema;
|
1991
|
+
} | {
|
1992
|
+
type: "DISPLAY_ON_REVIEW";
|
1993
|
+
conditional: import(".").JSONSchema;
|
1994
|
+
})[] | undefined;
|
1995
|
+
secured?: boolean | undefined;
|
1996
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
1997
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
1998
|
+
hideLabel?: boolean | undefined;
|
1999
|
+
uncorrectable?: boolean | undefined;
|
2000
|
+
} | {
|
2001
|
+
type: "HTTP";
|
2002
|
+
id: string;
|
2003
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2004
|
+
configuration: {
|
2005
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
2006
|
+
url: string;
|
2007
|
+
params?: Record<string, string> | undefined;
|
2008
|
+
headers?: Record<string, string> | undefined;
|
2009
|
+
body?: Record<string, string> | undefined;
|
2010
|
+
};
|
2011
|
+
parent?: {
|
2012
|
+
$$field: string;
|
2013
|
+
} | undefined;
|
2014
|
+
validation?: {
|
2015
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2016
|
+
validator: import(".").JSONSchema;
|
2017
|
+
}[] | undefined;
|
2018
|
+
required?: boolean | undefined;
|
2019
|
+
conditionals?: ({
|
2020
|
+
type: "SHOW";
|
2021
|
+
conditional: import(".").JSONSchema;
|
2022
|
+
} | {
|
2023
|
+
type: "ENABLE";
|
2024
|
+
conditional: import(".").JSONSchema;
|
2025
|
+
} | {
|
2026
|
+
type: "DISPLAY_ON_REVIEW";
|
2027
|
+
conditional: import(".").JSONSchema;
|
2028
|
+
})[] | undefined;
|
2029
|
+
secured?: boolean | undefined;
|
2030
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
2031
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2032
|
+
hideLabel?: boolean | undefined;
|
2033
|
+
uncorrectable?: boolean | undefined;
|
1894
2034
|
})[];
|
1895
2035
|
conditional?: import(".").JSONSchema | undefined;
|
1896
2036
|
}[];
|
@@ -2833,6 +2973,76 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
2833
2973
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
2834
2974
|
hideLabel?: boolean | undefined;
|
2835
2975
|
uncorrectable?: boolean | undefined;
|
2976
|
+
} | {
|
2977
|
+
type: "BUTTON";
|
2978
|
+
id: string;
|
2979
|
+
label: import("./TranslationConfig").TranslationConfig;
|
2980
|
+
configuration: {
|
2981
|
+
onClick: {
|
2982
|
+
$$field: string;
|
2983
|
+
};
|
2984
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
2985
|
+
icon?: string | undefined;
|
2986
|
+
shouldHandleLoadingState?: boolean | undefined;
|
2987
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
2988
|
+
};
|
2989
|
+
parent?: {
|
2990
|
+
$$field: string;
|
2991
|
+
} | undefined;
|
2992
|
+
validation?: {
|
2993
|
+
message: import("./TranslationConfig").TranslationConfig;
|
2994
|
+
validator: import(".").JSONSchema;
|
2995
|
+
}[] | undefined;
|
2996
|
+
required?: boolean | undefined;
|
2997
|
+
conditionals?: ({
|
2998
|
+
type: "SHOW";
|
2999
|
+
conditional: import(".").JSONSchema;
|
3000
|
+
} | {
|
3001
|
+
type: "ENABLE";
|
3002
|
+
conditional: import(".").JSONSchema;
|
3003
|
+
} | {
|
3004
|
+
type: "DISPLAY_ON_REVIEW";
|
3005
|
+
conditional: import(".").JSONSchema;
|
3006
|
+
})[] | undefined;
|
3007
|
+
secured?: boolean | undefined;
|
3008
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3009
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3010
|
+
hideLabel?: boolean | undefined;
|
3011
|
+
uncorrectable?: boolean | undefined;
|
3012
|
+
} | {
|
3013
|
+
type: "HTTP";
|
3014
|
+
id: string;
|
3015
|
+
label: import("./TranslationConfig").TranslationConfig;
|
3016
|
+
configuration: {
|
3017
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
3018
|
+
url: string;
|
3019
|
+
params?: Record<string, string> | undefined;
|
3020
|
+
headers?: Record<string, string> | undefined;
|
3021
|
+
body?: Record<string, string> | undefined;
|
3022
|
+
};
|
3023
|
+
parent?: {
|
3024
|
+
$$field: string;
|
3025
|
+
} | undefined;
|
3026
|
+
validation?: {
|
3027
|
+
message: import("./TranslationConfig").TranslationConfig;
|
3028
|
+
validator: import(".").JSONSchema;
|
3029
|
+
}[] | undefined;
|
3030
|
+
required?: boolean | undefined;
|
3031
|
+
conditionals?: ({
|
3032
|
+
type: "SHOW";
|
3033
|
+
conditional: import(".").JSONSchema;
|
3034
|
+
} | {
|
3035
|
+
type: "ENABLE";
|
3036
|
+
conditional: import(".").JSONSchema;
|
3037
|
+
} | {
|
3038
|
+
type: "DISPLAY_ON_REVIEW";
|
3039
|
+
conditional: import(".").JSONSchema;
|
3040
|
+
})[] | undefined;
|
3041
|
+
secured?: boolean | undefined;
|
3042
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
3043
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3044
|
+
hideLabel?: boolean | undefined;
|
3045
|
+
uncorrectable?: boolean | undefined;
|
2836
3046
|
})[];
|
2837
3047
|
conditional?: import(".").JSONSchema | undefined;
|
2838
3048
|
} | {
|
@@ -3785,6 +3995,76 @@ export declare function getPrintCertificatePages(configuration: EventConfig): ({
|
|
3785
3995
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
3786
3996
|
hideLabel?: boolean | undefined;
|
3787
3997
|
uncorrectable?: boolean | undefined;
|
3998
|
+
} | {
|
3999
|
+
type: "BUTTON";
|
4000
|
+
id: string;
|
4001
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4002
|
+
configuration: {
|
4003
|
+
onClick: {
|
4004
|
+
$$field: string;
|
4005
|
+
};
|
4006
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
4007
|
+
icon?: string | undefined;
|
4008
|
+
shouldHandleLoadingState?: boolean | undefined;
|
4009
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
4010
|
+
};
|
4011
|
+
parent?: {
|
4012
|
+
$$field: string;
|
4013
|
+
} | undefined;
|
4014
|
+
validation?: {
|
4015
|
+
message: import("./TranslationConfig").TranslationConfig;
|
4016
|
+
validator: import(".").JSONSchema;
|
4017
|
+
}[] | undefined;
|
4018
|
+
required?: boolean | undefined;
|
4019
|
+
conditionals?: ({
|
4020
|
+
type: "SHOW";
|
4021
|
+
conditional: import(".").JSONSchema;
|
4022
|
+
} | {
|
4023
|
+
type: "ENABLE";
|
4024
|
+
conditional: import(".").JSONSchema;
|
4025
|
+
} | {
|
4026
|
+
type: "DISPLAY_ON_REVIEW";
|
4027
|
+
conditional: import(".").JSONSchema;
|
4028
|
+
})[] | undefined;
|
4029
|
+
secured?: boolean | undefined;
|
4030
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4031
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4032
|
+
hideLabel?: boolean | undefined;
|
4033
|
+
uncorrectable?: boolean | undefined;
|
4034
|
+
} | {
|
4035
|
+
type: "HTTP";
|
4036
|
+
id: string;
|
4037
|
+
label: import("./TranslationConfig").TranslationConfig;
|
4038
|
+
configuration: {
|
4039
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
4040
|
+
url: string;
|
4041
|
+
params?: Record<string, string> | undefined;
|
4042
|
+
headers?: Record<string, string> | undefined;
|
4043
|
+
body?: Record<string, string> | undefined;
|
4044
|
+
};
|
4045
|
+
parent?: {
|
4046
|
+
$$field: string;
|
4047
|
+
} | undefined;
|
4048
|
+
validation?: {
|
4049
|
+
message: import("./TranslationConfig").TranslationConfig;
|
4050
|
+
validator: import(".").JSONSchema;
|
4051
|
+
}[] | undefined;
|
4052
|
+
required?: boolean | undefined;
|
4053
|
+
conditionals?: ({
|
4054
|
+
type: "SHOW";
|
4055
|
+
conditional: import(".").JSONSchema;
|
4056
|
+
} | {
|
4057
|
+
type: "ENABLE";
|
4058
|
+
conditional: import(".").JSONSchema;
|
4059
|
+
} | {
|
4060
|
+
type: "DISPLAY_ON_REVIEW";
|
4061
|
+
conditional: import(".").JSONSchema;
|
4062
|
+
})[] | undefined;
|
4063
|
+
secured?: boolean | undefined;
|
4064
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
4065
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4066
|
+
hideLabel?: boolean | undefined;
|
4067
|
+
uncorrectable?: boolean | undefined;
|
3788
4068
|
})[];
|
3789
4069
|
conditional?: import(".").JSONSchema | undefined;
|
3790
4070
|
})[];
|
@@ -4722,6 +5002,76 @@ export declare const getActionAnnotationFields: (actionConfig: ActionConfig) =>
|
|
4722
5002
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
4723
5003
|
hideLabel?: boolean | undefined;
|
4724
5004
|
uncorrectable?: boolean | undefined;
|
5005
|
+
} | {
|
5006
|
+
type: "BUTTON";
|
5007
|
+
id: string;
|
5008
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5009
|
+
configuration: {
|
5010
|
+
onClick: {
|
5011
|
+
$$field: string;
|
5012
|
+
};
|
5013
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
5014
|
+
icon?: string | undefined;
|
5015
|
+
shouldHandleLoadingState?: boolean | undefined;
|
5016
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
5017
|
+
};
|
5018
|
+
parent?: {
|
5019
|
+
$$field: string;
|
5020
|
+
} | undefined;
|
5021
|
+
validation?: {
|
5022
|
+
message: import("./TranslationConfig").TranslationConfig;
|
5023
|
+
validator: import(".").JSONSchema;
|
5024
|
+
}[] | undefined;
|
5025
|
+
required?: boolean | undefined;
|
5026
|
+
conditionals?: ({
|
5027
|
+
type: "SHOW";
|
5028
|
+
conditional: import(".").JSONSchema;
|
5029
|
+
} | {
|
5030
|
+
type: "ENABLE";
|
5031
|
+
conditional: import(".").JSONSchema;
|
5032
|
+
} | {
|
5033
|
+
type: "DISPLAY_ON_REVIEW";
|
5034
|
+
conditional: import(".").JSONSchema;
|
5035
|
+
})[] | undefined;
|
5036
|
+
secured?: boolean | undefined;
|
5037
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5038
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5039
|
+
hideLabel?: boolean | undefined;
|
5040
|
+
uncorrectable?: boolean | undefined;
|
5041
|
+
} | {
|
5042
|
+
type: "HTTP";
|
5043
|
+
id: string;
|
5044
|
+
label: import("./TranslationConfig").TranslationConfig;
|
5045
|
+
configuration: {
|
5046
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
5047
|
+
url: string;
|
5048
|
+
params?: Record<string, string> | undefined;
|
5049
|
+
headers?: Record<string, string> | undefined;
|
5050
|
+
body?: Record<string, string> | undefined;
|
5051
|
+
};
|
5052
|
+
parent?: {
|
5053
|
+
$$field: string;
|
5054
|
+
} | undefined;
|
5055
|
+
validation?: {
|
5056
|
+
message: import("./TranslationConfig").TranslationConfig;
|
5057
|
+
validator: import(".").JSONSchema;
|
5058
|
+
}[] | undefined;
|
5059
|
+
required?: boolean | undefined;
|
5060
|
+
conditionals?: ({
|
5061
|
+
type: "SHOW";
|
5062
|
+
conditional: import(".").JSONSchema;
|
5063
|
+
} | {
|
5064
|
+
type: "ENABLE";
|
5065
|
+
conditional: import(".").JSONSchema;
|
5066
|
+
} | {
|
5067
|
+
type: "DISPLAY_ON_REVIEW";
|
5068
|
+
conditional: import(".").JSONSchema;
|
5069
|
+
})[] | undefined;
|
5070
|
+
secured?: boolean | undefined;
|
5071
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
5072
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5073
|
+
hideLabel?: boolean | undefined;
|
5074
|
+
uncorrectable?: boolean | undefined;
|
4725
5075
|
})[];
|
4726
5076
|
export declare function getAllUniqueFields(eventConfig: EventConfig): import("./FieldConfig").Inferred[];
|
4727
5077
|
export declare function getDeclarationFieldById(config: EventConfig, fieldId: string): FieldConfig;
|
@@ -5665,6 +6015,76 @@ export declare function getActionReview(configuration: EventConfig, actionType:
|
|
5665
6015
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
5666
6016
|
hideLabel?: boolean | undefined;
|
5667
6017
|
uncorrectable?: boolean | undefined;
|
6018
|
+
} | {
|
6019
|
+
type: "BUTTON";
|
6020
|
+
id: string;
|
6021
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6022
|
+
configuration: {
|
6023
|
+
onClick: {
|
6024
|
+
$$field: string;
|
6025
|
+
};
|
6026
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
6027
|
+
icon?: string | undefined;
|
6028
|
+
shouldHandleLoadingState?: boolean | undefined;
|
6029
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
6030
|
+
};
|
6031
|
+
parent?: {
|
6032
|
+
$$field: string;
|
6033
|
+
} | undefined;
|
6034
|
+
validation?: {
|
6035
|
+
message: import("./TranslationConfig").TranslationConfig;
|
6036
|
+
validator: import(".").JSONSchema;
|
6037
|
+
}[] | undefined;
|
6038
|
+
required?: boolean | undefined;
|
6039
|
+
conditionals?: ({
|
6040
|
+
type: "SHOW";
|
6041
|
+
conditional: import(".").JSONSchema;
|
6042
|
+
} | {
|
6043
|
+
type: "ENABLE";
|
6044
|
+
conditional: import(".").JSONSchema;
|
6045
|
+
} | {
|
6046
|
+
type: "DISPLAY_ON_REVIEW";
|
6047
|
+
conditional: import(".").JSONSchema;
|
6048
|
+
})[] | undefined;
|
6049
|
+
secured?: boolean | undefined;
|
6050
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6051
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6052
|
+
hideLabel?: boolean | undefined;
|
6053
|
+
uncorrectable?: boolean | undefined;
|
6054
|
+
} | {
|
6055
|
+
type: "HTTP";
|
6056
|
+
id: string;
|
6057
|
+
label: import("./TranslationConfig").TranslationConfig;
|
6058
|
+
configuration: {
|
6059
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
6060
|
+
url: string;
|
6061
|
+
params?: Record<string, string> | undefined;
|
6062
|
+
headers?: Record<string, string> | undefined;
|
6063
|
+
body?: Record<string, string> | undefined;
|
6064
|
+
};
|
6065
|
+
parent?: {
|
6066
|
+
$$field: string;
|
6067
|
+
} | undefined;
|
6068
|
+
validation?: {
|
6069
|
+
message: import("./TranslationConfig").TranslationConfig;
|
6070
|
+
validator: import(".").JSONSchema;
|
6071
|
+
}[] | undefined;
|
6072
|
+
required?: boolean | undefined;
|
6073
|
+
conditionals?: ({
|
6074
|
+
type: "SHOW";
|
6075
|
+
conditional: import(".").JSONSchema;
|
6076
|
+
} | {
|
6077
|
+
type: "ENABLE";
|
6078
|
+
conditional: import(".").JSONSchema;
|
6079
|
+
} | {
|
6080
|
+
type: "DISPLAY_ON_REVIEW";
|
6081
|
+
conditional: import(".").JSONSchema;
|
6082
|
+
})[] | undefined;
|
6083
|
+
secured?: boolean | undefined;
|
6084
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
6085
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6086
|
+
hideLabel?: boolean | undefined;
|
6087
|
+
uncorrectable?: boolean | undefined;
|
5668
6088
|
})[];
|
5669
6089
|
};
|
5670
6090
|
export declare function getActionReviewFields(configuration: EventConfig, actionType: DeclarationActionType): ({
|
@@ -6601,6 +7021,76 @@ export declare function getActionReviewFields(configuration: EventConfig, action
|
|
6601
7021
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
6602
7022
|
hideLabel?: boolean | undefined;
|
6603
7023
|
uncorrectable?: boolean | undefined;
|
7024
|
+
} | {
|
7025
|
+
type: "BUTTON";
|
7026
|
+
id: string;
|
7027
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7028
|
+
configuration: {
|
7029
|
+
onClick: {
|
7030
|
+
$$field: string;
|
7031
|
+
};
|
7032
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
7033
|
+
icon?: string | undefined;
|
7034
|
+
shouldHandleLoadingState?: boolean | undefined;
|
7035
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
7036
|
+
};
|
7037
|
+
parent?: {
|
7038
|
+
$$field: string;
|
7039
|
+
} | undefined;
|
7040
|
+
validation?: {
|
7041
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7042
|
+
validator: import(".").JSONSchema;
|
7043
|
+
}[] | undefined;
|
7044
|
+
required?: boolean | undefined;
|
7045
|
+
conditionals?: ({
|
7046
|
+
type: "SHOW";
|
7047
|
+
conditional: import(".").JSONSchema;
|
7048
|
+
} | {
|
7049
|
+
type: "ENABLE";
|
7050
|
+
conditional: import(".").JSONSchema;
|
7051
|
+
} | {
|
7052
|
+
type: "DISPLAY_ON_REVIEW";
|
7053
|
+
conditional: import(".").JSONSchema;
|
7054
|
+
})[] | undefined;
|
7055
|
+
secured?: boolean | undefined;
|
7056
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7057
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7058
|
+
hideLabel?: boolean | undefined;
|
7059
|
+
uncorrectable?: boolean | undefined;
|
7060
|
+
} | {
|
7061
|
+
type: "HTTP";
|
7062
|
+
id: string;
|
7063
|
+
label: import("./TranslationConfig").TranslationConfig;
|
7064
|
+
configuration: {
|
7065
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
7066
|
+
url: string;
|
7067
|
+
params?: Record<string, string> | undefined;
|
7068
|
+
headers?: Record<string, string> | undefined;
|
7069
|
+
body?: Record<string, string> | undefined;
|
7070
|
+
};
|
7071
|
+
parent?: {
|
7072
|
+
$$field: string;
|
7073
|
+
} | undefined;
|
7074
|
+
validation?: {
|
7075
|
+
message: import("./TranslationConfig").TranslationConfig;
|
7076
|
+
validator: import(".").JSONSchema;
|
7077
|
+
}[] | undefined;
|
7078
|
+
required?: boolean | undefined;
|
7079
|
+
conditionals?: ({
|
7080
|
+
type: "SHOW";
|
7081
|
+
conditional: import(".").JSONSchema;
|
7082
|
+
} | {
|
7083
|
+
type: "ENABLE";
|
7084
|
+
conditional: import(".").JSONSchema;
|
7085
|
+
} | {
|
7086
|
+
type: "DISPLAY_ON_REVIEW";
|
7087
|
+
conditional: import(".").JSONSchema;
|
7088
|
+
})[] | undefined;
|
7089
|
+
secured?: boolean | undefined;
|
7090
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
7091
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
7092
|
+
hideLabel?: boolean | undefined;
|
7093
|
+
uncorrectable?: boolean | undefined;
|
6604
7094
|
})[];
|
6605
7095
|
export declare function isPageVisible(page: PageConfig, formValues: ActionUpdate): boolean;
|
6606
7096
|
export declare function omitHiddenFields<T extends EventState | ActionUpdate>(fields: FieldConfig[], values: T, visibleVerificationPageIds?: string[]): Partial<T>;
|
@@ -7774,17 +8264,87 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
7774
8264
|
searchMode?: boolean | undefined;
|
7775
8265
|
} | undefined;
|
7776
8266
|
} | {
|
7777
|
-
type: "DATA";
|
8267
|
+
type: "DATA";
|
8268
|
+
id: string;
|
8269
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8270
|
+
configuration: {
|
8271
|
+
data: ({
|
8272
|
+
value: string | import("./TranslationConfig").TranslationConfig;
|
8273
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8274
|
+
} | {
|
8275
|
+
fieldId: string;
|
8276
|
+
})[];
|
8277
|
+
subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
|
8278
|
+
};
|
8279
|
+
parent?: {
|
8280
|
+
$$field: string;
|
8281
|
+
} | undefined;
|
8282
|
+
validation?: {
|
8283
|
+
message: import("./TranslationConfig").TranslationConfig;
|
8284
|
+
validator: import(".").JSONSchema;
|
8285
|
+
}[] | undefined;
|
8286
|
+
required?: boolean | undefined;
|
8287
|
+
conditionals?: ({
|
8288
|
+
type: "SHOW";
|
8289
|
+
conditional: import(".").JSONSchema;
|
8290
|
+
} | {
|
8291
|
+
type: "ENABLE";
|
8292
|
+
conditional: import(".").JSONSchema;
|
8293
|
+
} | {
|
8294
|
+
type: "DISPLAY_ON_REVIEW";
|
8295
|
+
conditional: import(".").JSONSchema;
|
8296
|
+
})[] | undefined;
|
8297
|
+
secured?: boolean | undefined;
|
8298
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8299
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8300
|
+
hideLabel?: boolean | undefined;
|
8301
|
+
uncorrectable?: boolean | undefined;
|
8302
|
+
} | {
|
8303
|
+
type: "BUTTON";
|
8304
|
+
id: string;
|
8305
|
+
label: import("./TranslationConfig").TranslationConfig;
|
8306
|
+
configuration: {
|
8307
|
+
onClick: {
|
8308
|
+
$$field: string;
|
8309
|
+
};
|
8310
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
8311
|
+
icon?: string | undefined;
|
8312
|
+
shouldHandleLoadingState?: boolean | undefined;
|
8313
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
8314
|
+
};
|
8315
|
+
parent?: {
|
8316
|
+
$$field: string;
|
8317
|
+
} | undefined;
|
8318
|
+
validation?: {
|
8319
|
+
message: import("./TranslationConfig").TranslationConfig;
|
8320
|
+
validator: import(".").JSONSchema;
|
8321
|
+
}[] | undefined;
|
8322
|
+
required?: boolean | undefined;
|
8323
|
+
conditionals?: ({
|
8324
|
+
type: "SHOW";
|
8325
|
+
conditional: import(".").JSONSchema;
|
8326
|
+
} | {
|
8327
|
+
type: "ENABLE";
|
8328
|
+
conditional: import(".").JSONSchema;
|
8329
|
+
} | {
|
8330
|
+
type: "DISPLAY_ON_REVIEW";
|
8331
|
+
conditional: import(".").JSONSchema;
|
8332
|
+
})[] | undefined;
|
8333
|
+
secured?: boolean | undefined;
|
8334
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
8335
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8336
|
+
hideLabel?: boolean | undefined;
|
8337
|
+
uncorrectable?: boolean | undefined;
|
8338
|
+
} | {
|
8339
|
+
type: "HTTP";
|
7778
8340
|
id: string;
|
7779
8341
|
label: import("./TranslationConfig").TranslationConfig;
|
7780
8342
|
configuration: {
|
7781
|
-
|
7782
|
-
|
7783
|
-
|
7784
|
-
|
7785
|
-
|
7786
|
-
})[];
|
7787
|
-
subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
|
8343
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
8344
|
+
url: string;
|
8345
|
+
params?: Record<string, string> | undefined;
|
8346
|
+
headers?: Record<string, string> | undefined;
|
8347
|
+
body?: Record<string, string> | undefined;
|
7788
8348
|
};
|
7789
8349
|
parent?: {
|
7790
8350
|
$$field: string;
|
@@ -8759,6 +9319,76 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
8759
9319
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
8760
9320
|
hideLabel?: boolean | undefined;
|
8761
9321
|
uncorrectable?: boolean | undefined;
|
9322
|
+
} | {
|
9323
|
+
type: "BUTTON";
|
9324
|
+
id: string;
|
9325
|
+
label: import("./TranslationConfig").TranslationConfig;
|
9326
|
+
configuration: {
|
9327
|
+
onClick: {
|
9328
|
+
$$field: string;
|
9329
|
+
};
|
9330
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
9331
|
+
icon?: string | undefined;
|
9332
|
+
shouldHandleLoadingState?: boolean | undefined;
|
9333
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
9334
|
+
};
|
9335
|
+
parent?: {
|
9336
|
+
$$field: string;
|
9337
|
+
} | undefined;
|
9338
|
+
validation?: {
|
9339
|
+
message: import("./TranslationConfig").TranslationConfig;
|
9340
|
+
validator: import(".").JSONSchema;
|
9341
|
+
}[] | undefined;
|
9342
|
+
required?: boolean | undefined;
|
9343
|
+
conditionals?: ({
|
9344
|
+
type: "SHOW";
|
9345
|
+
conditional: import(".").JSONSchema;
|
9346
|
+
} | {
|
9347
|
+
type: "ENABLE";
|
9348
|
+
conditional: import(".").JSONSchema;
|
9349
|
+
} | {
|
9350
|
+
type: "DISPLAY_ON_REVIEW";
|
9351
|
+
conditional: import(".").JSONSchema;
|
9352
|
+
})[] | undefined;
|
9353
|
+
secured?: boolean | undefined;
|
9354
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
9355
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
9356
|
+
hideLabel?: boolean | undefined;
|
9357
|
+
uncorrectable?: boolean | undefined;
|
9358
|
+
} | {
|
9359
|
+
type: "HTTP";
|
9360
|
+
id: string;
|
9361
|
+
label: import("./TranslationConfig").TranslationConfig;
|
9362
|
+
configuration: {
|
9363
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
9364
|
+
url: string;
|
9365
|
+
params?: Record<string, string> | undefined;
|
9366
|
+
headers?: Record<string, string> | undefined;
|
9367
|
+
body?: Record<string, string> | undefined;
|
9368
|
+
};
|
9369
|
+
parent?: {
|
9370
|
+
$$field: string;
|
9371
|
+
} | undefined;
|
9372
|
+
validation?: {
|
9373
|
+
message: import("./TranslationConfig").TranslationConfig;
|
9374
|
+
validator: import(".").JSONSchema;
|
9375
|
+
}[] | undefined;
|
9376
|
+
required?: boolean | undefined;
|
9377
|
+
conditionals?: ({
|
9378
|
+
type: "SHOW";
|
9379
|
+
conditional: import(".").JSONSchema;
|
9380
|
+
} | {
|
9381
|
+
type: "ENABLE";
|
9382
|
+
conditional: import(".").JSONSchema;
|
9383
|
+
} | {
|
9384
|
+
type: "DISPLAY_ON_REVIEW";
|
9385
|
+
conditional: import(".").JSONSchema;
|
9386
|
+
})[] | undefined;
|
9387
|
+
secured?: boolean | undefined;
|
9388
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
9389
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
9390
|
+
hideLabel?: boolean | undefined;
|
9391
|
+
uncorrectable?: boolean | undefined;
|
8762
9392
|
})[];
|
8763
9393
|
};
|
8764
9394
|
draft?: boolean | undefined;
|
@@ -9708,6 +10338,76 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
9708
10338
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
9709
10339
|
hideLabel?: boolean | undefined;
|
9710
10340
|
uncorrectable?: boolean | undefined;
|
10341
|
+
} | {
|
10342
|
+
type: "BUTTON";
|
10343
|
+
id: string;
|
10344
|
+
label: import("./TranslationConfig").TranslationConfig;
|
10345
|
+
configuration: {
|
10346
|
+
onClick: {
|
10347
|
+
$$field: string;
|
10348
|
+
};
|
10349
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
10350
|
+
icon?: string | undefined;
|
10351
|
+
shouldHandleLoadingState?: boolean | undefined;
|
10352
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
10353
|
+
};
|
10354
|
+
parent?: {
|
10355
|
+
$$field: string;
|
10356
|
+
} | undefined;
|
10357
|
+
validation?: {
|
10358
|
+
message: import("./TranslationConfig").TranslationConfig;
|
10359
|
+
validator: import(".").JSONSchema;
|
10360
|
+
}[] | undefined;
|
10361
|
+
required?: boolean | undefined;
|
10362
|
+
conditionals?: ({
|
10363
|
+
type: "SHOW";
|
10364
|
+
conditional: import(".").JSONSchema;
|
10365
|
+
} | {
|
10366
|
+
type: "ENABLE";
|
10367
|
+
conditional: import(".").JSONSchema;
|
10368
|
+
} | {
|
10369
|
+
type: "DISPLAY_ON_REVIEW";
|
10370
|
+
conditional: import(".").JSONSchema;
|
10371
|
+
})[] | undefined;
|
10372
|
+
secured?: boolean | undefined;
|
10373
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
10374
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
10375
|
+
hideLabel?: boolean | undefined;
|
10376
|
+
uncorrectable?: boolean | undefined;
|
10377
|
+
} | {
|
10378
|
+
type: "HTTP";
|
10379
|
+
id: string;
|
10380
|
+
label: import("./TranslationConfig").TranslationConfig;
|
10381
|
+
configuration: {
|
10382
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
10383
|
+
url: string;
|
10384
|
+
params?: Record<string, string> | undefined;
|
10385
|
+
headers?: Record<string, string> | undefined;
|
10386
|
+
body?: Record<string, string> | undefined;
|
10387
|
+
};
|
10388
|
+
parent?: {
|
10389
|
+
$$field: string;
|
10390
|
+
} | undefined;
|
10391
|
+
validation?: {
|
10392
|
+
message: import("./TranslationConfig").TranslationConfig;
|
10393
|
+
validator: import(".").JSONSchema;
|
10394
|
+
}[] | undefined;
|
10395
|
+
required?: boolean | undefined;
|
10396
|
+
conditionals?: ({
|
10397
|
+
type: "SHOW";
|
10398
|
+
conditional: import(".").JSONSchema;
|
10399
|
+
} | {
|
10400
|
+
type: "ENABLE";
|
10401
|
+
conditional: import(".").JSONSchema;
|
10402
|
+
} | {
|
10403
|
+
type: "DISPLAY_ON_REVIEW";
|
10404
|
+
conditional: import(".").JSONSchema;
|
10405
|
+
})[] | undefined;
|
10406
|
+
secured?: boolean | undefined;
|
10407
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
10408
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
10409
|
+
hideLabel?: boolean | undefined;
|
10410
|
+
uncorrectable?: boolean | undefined;
|
9711
10411
|
})[];
|
9712
10412
|
};
|
9713
10413
|
draft?: boolean | undefined;
|
@@ -10657,6 +11357,76 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
10657
11357
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
10658
11358
|
hideLabel?: boolean | undefined;
|
10659
11359
|
uncorrectable?: boolean | undefined;
|
11360
|
+
} | {
|
11361
|
+
type: "BUTTON";
|
11362
|
+
id: string;
|
11363
|
+
label: import("./TranslationConfig").TranslationConfig;
|
11364
|
+
configuration: {
|
11365
|
+
onClick: {
|
11366
|
+
$$field: string;
|
11367
|
+
};
|
11368
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
11369
|
+
icon?: string | undefined;
|
11370
|
+
shouldHandleLoadingState?: boolean | undefined;
|
11371
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
11372
|
+
};
|
11373
|
+
parent?: {
|
11374
|
+
$$field: string;
|
11375
|
+
} | undefined;
|
11376
|
+
validation?: {
|
11377
|
+
message: import("./TranslationConfig").TranslationConfig;
|
11378
|
+
validator: import(".").JSONSchema;
|
11379
|
+
}[] | undefined;
|
11380
|
+
required?: boolean | undefined;
|
11381
|
+
conditionals?: ({
|
11382
|
+
type: "SHOW";
|
11383
|
+
conditional: import(".").JSONSchema;
|
11384
|
+
} | {
|
11385
|
+
type: "ENABLE";
|
11386
|
+
conditional: import(".").JSONSchema;
|
11387
|
+
} | {
|
11388
|
+
type: "DISPLAY_ON_REVIEW";
|
11389
|
+
conditional: import(".").JSONSchema;
|
11390
|
+
})[] | undefined;
|
11391
|
+
secured?: boolean | undefined;
|
11392
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
11393
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
11394
|
+
hideLabel?: boolean | undefined;
|
11395
|
+
uncorrectable?: boolean | undefined;
|
11396
|
+
} | {
|
11397
|
+
type: "HTTP";
|
11398
|
+
id: string;
|
11399
|
+
label: import("./TranslationConfig").TranslationConfig;
|
11400
|
+
configuration: {
|
11401
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
11402
|
+
url: string;
|
11403
|
+
params?: Record<string, string> | undefined;
|
11404
|
+
headers?: Record<string, string> | undefined;
|
11405
|
+
body?: Record<string, string> | undefined;
|
11406
|
+
};
|
11407
|
+
parent?: {
|
11408
|
+
$$field: string;
|
11409
|
+
} | undefined;
|
11410
|
+
validation?: {
|
11411
|
+
message: import("./TranslationConfig").TranslationConfig;
|
11412
|
+
validator: import(".").JSONSchema;
|
11413
|
+
}[] | undefined;
|
11414
|
+
required?: boolean | undefined;
|
11415
|
+
conditionals?: ({
|
11416
|
+
type: "SHOW";
|
11417
|
+
conditional: import(".").JSONSchema;
|
11418
|
+
} | {
|
11419
|
+
type: "ENABLE";
|
11420
|
+
conditional: import(".").JSONSchema;
|
11421
|
+
} | {
|
11422
|
+
type: "DISPLAY_ON_REVIEW";
|
11423
|
+
conditional: import(".").JSONSchema;
|
11424
|
+
})[] | undefined;
|
11425
|
+
secured?: boolean | undefined;
|
11426
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
11427
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
11428
|
+
hideLabel?: boolean | undefined;
|
11429
|
+
uncorrectable?: boolean | undefined;
|
10660
11430
|
})[];
|
10661
11431
|
};
|
10662
11432
|
draft?: boolean | undefined;
|
@@ -11571,17 +12341,87 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
11571
12341
|
searchMode?: boolean | undefined;
|
11572
12342
|
} | undefined;
|
11573
12343
|
} | {
|
11574
|
-
type: "DATA";
|
12344
|
+
type: "DATA";
|
12345
|
+
id: string;
|
12346
|
+
label: import("./TranslationConfig").TranslationConfig;
|
12347
|
+
configuration: {
|
12348
|
+
data: ({
|
12349
|
+
value: string | import("./TranslationConfig").TranslationConfig;
|
12350
|
+
label: import("./TranslationConfig").TranslationConfig;
|
12351
|
+
} | {
|
12352
|
+
fieldId: string;
|
12353
|
+
})[];
|
12354
|
+
subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
|
12355
|
+
};
|
12356
|
+
parent?: {
|
12357
|
+
$$field: string;
|
12358
|
+
} | undefined;
|
12359
|
+
validation?: {
|
12360
|
+
message: import("./TranslationConfig").TranslationConfig;
|
12361
|
+
validator: import(".").JSONSchema;
|
12362
|
+
}[] | undefined;
|
12363
|
+
required?: boolean | undefined;
|
12364
|
+
conditionals?: ({
|
12365
|
+
type: "SHOW";
|
12366
|
+
conditional: import(".").JSONSchema;
|
12367
|
+
} | {
|
12368
|
+
type: "ENABLE";
|
12369
|
+
conditional: import(".").JSONSchema;
|
12370
|
+
} | {
|
12371
|
+
type: "DISPLAY_ON_REVIEW";
|
12372
|
+
conditional: import(".").JSONSchema;
|
12373
|
+
})[] | undefined;
|
12374
|
+
secured?: boolean | undefined;
|
12375
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
12376
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
12377
|
+
hideLabel?: boolean | undefined;
|
12378
|
+
uncorrectable?: boolean | undefined;
|
12379
|
+
} | {
|
12380
|
+
type: "BUTTON";
|
12381
|
+
id: string;
|
12382
|
+
label: import("./TranslationConfig").TranslationConfig;
|
12383
|
+
configuration: {
|
12384
|
+
onClick: {
|
12385
|
+
$$field: string;
|
12386
|
+
};
|
12387
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
12388
|
+
icon?: string | undefined;
|
12389
|
+
shouldHandleLoadingState?: boolean | undefined;
|
12390
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
12391
|
+
};
|
12392
|
+
parent?: {
|
12393
|
+
$$field: string;
|
12394
|
+
} | undefined;
|
12395
|
+
validation?: {
|
12396
|
+
message: import("./TranslationConfig").TranslationConfig;
|
12397
|
+
validator: import(".").JSONSchema;
|
12398
|
+
}[] | undefined;
|
12399
|
+
required?: boolean | undefined;
|
12400
|
+
conditionals?: ({
|
12401
|
+
type: "SHOW";
|
12402
|
+
conditional: import(".").JSONSchema;
|
12403
|
+
} | {
|
12404
|
+
type: "ENABLE";
|
12405
|
+
conditional: import(".").JSONSchema;
|
12406
|
+
} | {
|
12407
|
+
type: "DISPLAY_ON_REVIEW";
|
12408
|
+
conditional: import(".").JSONSchema;
|
12409
|
+
})[] | undefined;
|
12410
|
+
secured?: boolean | undefined;
|
12411
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
12412
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
12413
|
+
hideLabel?: boolean | undefined;
|
12414
|
+
uncorrectable?: boolean | undefined;
|
12415
|
+
} | {
|
12416
|
+
type: "HTTP";
|
11575
12417
|
id: string;
|
11576
12418
|
label: import("./TranslationConfig").TranslationConfig;
|
11577
12419
|
configuration: {
|
11578
|
-
|
11579
|
-
|
11580
|
-
|
11581
|
-
|
11582
|
-
|
11583
|
-
})[];
|
11584
|
-
subtitle?: import("./TranslationConfig").TranslationConfig | undefined;
|
12420
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
12421
|
+
url: string;
|
12422
|
+
params?: Record<string, string> | undefined;
|
12423
|
+
headers?: Record<string, string> | undefined;
|
12424
|
+
body?: Record<string, string> | undefined;
|
11585
12425
|
};
|
11586
12426
|
parent?: {
|
11587
12427
|
$$field: string;
|
@@ -12603,6 +13443,76 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
12603
13443
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
12604
13444
|
hideLabel?: boolean | undefined;
|
12605
13445
|
uncorrectable?: boolean | undefined;
|
13446
|
+
} | {
|
13447
|
+
type: "BUTTON";
|
13448
|
+
id: string;
|
13449
|
+
label: import("./TranslationConfig").TranslationConfig;
|
13450
|
+
configuration: {
|
13451
|
+
onClick: {
|
13452
|
+
$$field: string;
|
13453
|
+
};
|
13454
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
13455
|
+
icon?: string | undefined;
|
13456
|
+
shouldHandleLoadingState?: boolean | undefined;
|
13457
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
13458
|
+
};
|
13459
|
+
parent?: {
|
13460
|
+
$$field: string;
|
13461
|
+
} | undefined;
|
13462
|
+
validation?: {
|
13463
|
+
message: import("./TranslationConfig").TranslationConfig;
|
13464
|
+
validator: import(".").JSONSchema;
|
13465
|
+
}[] | undefined;
|
13466
|
+
required?: boolean | undefined;
|
13467
|
+
conditionals?: ({
|
13468
|
+
type: "SHOW";
|
13469
|
+
conditional: import(".").JSONSchema;
|
13470
|
+
} | {
|
13471
|
+
type: "ENABLE";
|
13472
|
+
conditional: import(".").JSONSchema;
|
13473
|
+
} | {
|
13474
|
+
type: "DISPLAY_ON_REVIEW";
|
13475
|
+
conditional: import(".").JSONSchema;
|
13476
|
+
})[] | undefined;
|
13477
|
+
secured?: boolean | undefined;
|
13478
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
13479
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
13480
|
+
hideLabel?: boolean | undefined;
|
13481
|
+
uncorrectable?: boolean | undefined;
|
13482
|
+
} | {
|
13483
|
+
type: "HTTP";
|
13484
|
+
id: string;
|
13485
|
+
label: import("./TranslationConfig").TranslationConfig;
|
13486
|
+
configuration: {
|
13487
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
13488
|
+
url: string;
|
13489
|
+
params?: Record<string, string> | undefined;
|
13490
|
+
headers?: Record<string, string> | undefined;
|
13491
|
+
body?: Record<string, string> | undefined;
|
13492
|
+
};
|
13493
|
+
parent?: {
|
13494
|
+
$$field: string;
|
13495
|
+
} | undefined;
|
13496
|
+
validation?: {
|
13497
|
+
message: import("./TranslationConfig").TranslationConfig;
|
13498
|
+
validator: import(".").JSONSchema;
|
13499
|
+
}[] | undefined;
|
13500
|
+
required?: boolean | undefined;
|
13501
|
+
conditionals?: ({
|
13502
|
+
type: "SHOW";
|
13503
|
+
conditional: import(".").JSONSchema;
|
13504
|
+
} | {
|
13505
|
+
type: "ENABLE";
|
13506
|
+
conditional: import(".").JSONSchema;
|
13507
|
+
} | {
|
13508
|
+
type: "DISPLAY_ON_REVIEW";
|
13509
|
+
conditional: import(".").JSONSchema;
|
13510
|
+
})[] | undefined;
|
13511
|
+
secured?: boolean | undefined;
|
13512
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
13513
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
13514
|
+
hideLabel?: boolean | undefined;
|
13515
|
+
uncorrectable?: boolean | undefined;
|
12606
13516
|
})[];
|
12607
13517
|
conditional?: import(".").JSONSchema | undefined;
|
12608
13518
|
} | {
|
@@ -13555,6 +14465,76 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
13555
14465
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
13556
14466
|
hideLabel?: boolean | undefined;
|
13557
14467
|
uncorrectable?: boolean | undefined;
|
14468
|
+
} | {
|
14469
|
+
type: "BUTTON";
|
14470
|
+
id: string;
|
14471
|
+
label: import("./TranslationConfig").TranslationConfig;
|
14472
|
+
configuration: {
|
14473
|
+
onClick: {
|
14474
|
+
$$field: string;
|
14475
|
+
};
|
14476
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
14477
|
+
icon?: string | undefined;
|
14478
|
+
shouldHandleLoadingState?: boolean | undefined;
|
14479
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
14480
|
+
};
|
14481
|
+
parent?: {
|
14482
|
+
$$field: string;
|
14483
|
+
} | undefined;
|
14484
|
+
validation?: {
|
14485
|
+
message: import("./TranslationConfig").TranslationConfig;
|
14486
|
+
validator: import(".").JSONSchema;
|
14487
|
+
}[] | undefined;
|
14488
|
+
required?: boolean | undefined;
|
14489
|
+
conditionals?: ({
|
14490
|
+
type: "SHOW";
|
14491
|
+
conditional: import(".").JSONSchema;
|
14492
|
+
} | {
|
14493
|
+
type: "ENABLE";
|
14494
|
+
conditional: import(".").JSONSchema;
|
14495
|
+
} | {
|
14496
|
+
type: "DISPLAY_ON_REVIEW";
|
14497
|
+
conditional: import(".").JSONSchema;
|
14498
|
+
})[] | undefined;
|
14499
|
+
secured?: boolean | undefined;
|
14500
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
14501
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
14502
|
+
hideLabel?: boolean | undefined;
|
14503
|
+
uncorrectable?: boolean | undefined;
|
14504
|
+
} | {
|
14505
|
+
type: "HTTP";
|
14506
|
+
id: string;
|
14507
|
+
label: import("./TranslationConfig").TranslationConfig;
|
14508
|
+
configuration: {
|
14509
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
14510
|
+
url: string;
|
14511
|
+
params?: Record<string, string> | undefined;
|
14512
|
+
headers?: Record<string, string> | undefined;
|
14513
|
+
body?: Record<string, string> | undefined;
|
14514
|
+
};
|
14515
|
+
parent?: {
|
14516
|
+
$$field: string;
|
14517
|
+
} | undefined;
|
14518
|
+
validation?: {
|
14519
|
+
message: import("./TranslationConfig").TranslationConfig;
|
14520
|
+
validator: import(".").JSONSchema;
|
14521
|
+
}[] | undefined;
|
14522
|
+
required?: boolean | undefined;
|
14523
|
+
conditionals?: ({
|
14524
|
+
type: "SHOW";
|
14525
|
+
conditional: import(".").JSONSchema;
|
14526
|
+
} | {
|
14527
|
+
type: "ENABLE";
|
14528
|
+
conditional: import(".").JSONSchema;
|
14529
|
+
} | {
|
14530
|
+
type: "DISPLAY_ON_REVIEW";
|
14531
|
+
conditional: import(".").JSONSchema;
|
14532
|
+
})[] | undefined;
|
14533
|
+
secured?: boolean | undefined;
|
14534
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
14535
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
14536
|
+
hideLabel?: boolean | undefined;
|
14537
|
+
uncorrectable?: boolean | undefined;
|
13558
14538
|
})[];
|
13559
14539
|
conditional?: import(".").JSONSchema | undefined;
|
13560
14540
|
})[];
|
@@ -14510,6 +15490,76 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
14510
15490
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
14511
15491
|
hideLabel?: boolean | undefined;
|
14512
15492
|
uncorrectable?: boolean | undefined;
|
15493
|
+
} | {
|
15494
|
+
type: "BUTTON";
|
15495
|
+
id: string;
|
15496
|
+
label: import("./TranslationConfig").TranslationConfig;
|
15497
|
+
configuration: {
|
15498
|
+
onClick: {
|
15499
|
+
$$field: string;
|
15500
|
+
};
|
15501
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
15502
|
+
icon?: string | undefined;
|
15503
|
+
shouldHandleLoadingState?: boolean | undefined;
|
15504
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
15505
|
+
};
|
15506
|
+
parent?: {
|
15507
|
+
$$field: string;
|
15508
|
+
} | undefined;
|
15509
|
+
validation?: {
|
15510
|
+
message: import("./TranslationConfig").TranslationConfig;
|
15511
|
+
validator: import(".").JSONSchema;
|
15512
|
+
}[] | undefined;
|
15513
|
+
required?: boolean | undefined;
|
15514
|
+
conditionals?: ({
|
15515
|
+
type: "SHOW";
|
15516
|
+
conditional: import(".").JSONSchema;
|
15517
|
+
} | {
|
15518
|
+
type: "ENABLE";
|
15519
|
+
conditional: import(".").JSONSchema;
|
15520
|
+
} | {
|
15521
|
+
type: "DISPLAY_ON_REVIEW";
|
15522
|
+
conditional: import(".").JSONSchema;
|
15523
|
+
})[] | undefined;
|
15524
|
+
secured?: boolean | undefined;
|
15525
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
15526
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
15527
|
+
hideLabel?: boolean | undefined;
|
15528
|
+
uncorrectable?: boolean | undefined;
|
15529
|
+
} | {
|
15530
|
+
type: "HTTP";
|
15531
|
+
id: string;
|
15532
|
+
label: import("./TranslationConfig").TranslationConfig;
|
15533
|
+
configuration: {
|
15534
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
15535
|
+
url: string;
|
15536
|
+
params?: Record<string, string> | undefined;
|
15537
|
+
headers?: Record<string, string> | undefined;
|
15538
|
+
body?: Record<string, string> | undefined;
|
15539
|
+
};
|
15540
|
+
parent?: {
|
15541
|
+
$$field: string;
|
15542
|
+
} | undefined;
|
15543
|
+
validation?: {
|
15544
|
+
message: import("./TranslationConfig").TranslationConfig;
|
15545
|
+
validator: import(".").JSONSchema;
|
15546
|
+
}[] | undefined;
|
15547
|
+
required?: boolean | undefined;
|
15548
|
+
conditionals?: ({
|
15549
|
+
type: "SHOW";
|
15550
|
+
conditional: import(".").JSONSchema;
|
15551
|
+
} | {
|
15552
|
+
type: "ENABLE";
|
15553
|
+
conditional: import(".").JSONSchema;
|
15554
|
+
} | {
|
15555
|
+
type: "DISPLAY_ON_REVIEW";
|
15556
|
+
conditional: import(".").JSONSchema;
|
15557
|
+
})[] | undefined;
|
15558
|
+
secured?: boolean | undefined;
|
15559
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
15560
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
15561
|
+
hideLabel?: boolean | undefined;
|
15562
|
+
uncorrectable?: boolean | undefined;
|
14513
15563
|
})[];
|
14514
15564
|
conditional?: import(".").JSONSchema | undefined;
|
14515
15565
|
} | {
|
@@ -15462,6 +16512,76 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15462
16512
|
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
15463
16513
|
hideLabel?: boolean | undefined;
|
15464
16514
|
uncorrectable?: boolean | undefined;
|
16515
|
+
} | {
|
16516
|
+
type: "BUTTON";
|
16517
|
+
id: string;
|
16518
|
+
label: import("./TranslationConfig").TranslationConfig;
|
16519
|
+
configuration: {
|
16520
|
+
onClick: {
|
16521
|
+
$$field: string;
|
16522
|
+
};
|
16523
|
+
buttonLabel: import("./TranslationConfig").TranslationConfig;
|
16524
|
+
icon?: string | undefined;
|
16525
|
+
shouldHandleLoadingState?: boolean | undefined;
|
16526
|
+
loadingLabel?: import("./TranslationConfig").TranslationConfig | undefined;
|
16527
|
+
};
|
16528
|
+
parent?: {
|
16529
|
+
$$field: string;
|
16530
|
+
} | undefined;
|
16531
|
+
validation?: {
|
16532
|
+
message: import("./TranslationConfig").TranslationConfig;
|
16533
|
+
validator: import(".").JSONSchema;
|
16534
|
+
}[] | undefined;
|
16535
|
+
required?: boolean | undefined;
|
16536
|
+
conditionals?: ({
|
16537
|
+
type: "SHOW";
|
16538
|
+
conditional: import(".").JSONSchema;
|
16539
|
+
} | {
|
16540
|
+
type: "ENABLE";
|
16541
|
+
conditional: import(".").JSONSchema;
|
16542
|
+
} | {
|
16543
|
+
type: "DISPLAY_ON_REVIEW";
|
16544
|
+
conditional: import(".").JSONSchema;
|
16545
|
+
})[] | undefined;
|
16546
|
+
secured?: boolean | undefined;
|
16547
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
16548
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
16549
|
+
hideLabel?: boolean | undefined;
|
16550
|
+
uncorrectable?: boolean | undefined;
|
16551
|
+
} | {
|
16552
|
+
type: "HTTP";
|
16553
|
+
id: string;
|
16554
|
+
label: import("./TranslationConfig").TranslationConfig;
|
16555
|
+
configuration: {
|
16556
|
+
method: "POST" | "DELETE" | "GET" | "PUT";
|
16557
|
+
url: string;
|
16558
|
+
params?: Record<string, string> | undefined;
|
16559
|
+
headers?: Record<string, string> | undefined;
|
16560
|
+
body?: Record<string, string> | undefined;
|
16561
|
+
};
|
16562
|
+
parent?: {
|
16563
|
+
$$field: string;
|
16564
|
+
} | undefined;
|
16565
|
+
validation?: {
|
16566
|
+
message: import("./TranslationConfig").TranslationConfig;
|
16567
|
+
validator: import(".").JSONSchema;
|
16568
|
+
}[] | undefined;
|
16569
|
+
required?: boolean | undefined;
|
16570
|
+
conditionals?: ({
|
16571
|
+
type: "SHOW";
|
16572
|
+
conditional: import(".").JSONSchema;
|
16573
|
+
} | {
|
16574
|
+
type: "ENABLE";
|
16575
|
+
conditional: import(".").JSONSchema;
|
16576
|
+
} | {
|
16577
|
+
type: "DISPLAY_ON_REVIEW";
|
16578
|
+
conditional: import(".").JSONSchema;
|
16579
|
+
})[] | undefined;
|
16580
|
+
secured?: boolean | undefined;
|
16581
|
+
placeholder?: import("./TranslationConfig").TranslationConfig | undefined;
|
16582
|
+
helperText?: import("./TranslationConfig").TranslationConfig | undefined;
|
16583
|
+
hideLabel?: boolean | undefined;
|
16584
|
+
uncorrectable?: boolean | undefined;
|
15465
16585
|
})[];
|
15466
16586
|
conditional?: import(".").JSONSchema | undefined;
|
15467
16587
|
})[];
|
@@ -15520,7 +16640,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15520
16640
|
title: import("./TranslationConfig").TranslationConfig;
|
15521
16641
|
fields: ({
|
15522
16642
|
config: {
|
15523
|
-
type: "exact" | "fuzzy" | "range";
|
16643
|
+
type: "exact" | "fuzzy" | "range" | "within";
|
15524
16644
|
};
|
15525
16645
|
fieldId: string;
|
15526
16646
|
fieldType: "field";
|
@@ -15547,7 +16667,7 @@ export declare function getEventConfigById(eventConfigs: EventConfig[], id: stri
|
|
15547
16667
|
excludeInSearchQuery?: boolean | undefined;
|
15548
16668
|
} | {
|
15549
16669
|
config: {
|
15550
|
-
type: "exact" | "fuzzy" | "range";
|
16670
|
+
type: "exact" | "fuzzy" | "range" | "within";
|
15551
16671
|
};
|
15552
16672
|
fieldId: "status" | "updatedAt" | "trackingId" | "legalStatuses.REGISTERED.acceptedAt" | "legalStatuses.REGISTERED.createdAtLocation";
|
15553
16673
|
fieldType: "event";
|