[[reference-shared-types-enrich]] //////// =========================================================================================================================== || || || || || || || ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ || || ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ || || ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ || || ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ || || ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ || || ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ || || || || || || This file is autogenerated, DO NOT send pull requests that changes this file directly. || || You should update the script that does the generation, which can be found in: || || https://github.com/elastic/elastic-client-generator-js || || || || You can run the script with the following command: || || npm run elasticsearch -- --version || || || || || || || =========================================================================================================================== //////// == Shared Enrich types [discrete] [[EnrichPolicy]] === EnrichPolicy [pass] ++++
++++
interface EnrichPolicy {
  enrich_fields: <>
  indices: <>
  match_field: <>
  query?: <>
  name?: <>
  elasticsearch_version?: string
}
[pass]
++++
++++ [discrete] [[EnrichPolicyType]] === EnrichPolicyType [pass] ++++
++++
type EnrichPolicyType = 'geo_match' | 'match' | 'range'
[pass]
++++
++++ [discrete] [[EnrichSummary]] === EnrichSummary [pass] ++++
++++
interface EnrichSummary {
  config: Partial>, <>>>
}
[pass]
++++
++++