From 689a6201929cfbc0f85714c7bc6be136af9c45dc Mon Sep 17 00:00:00 2001 From: Josh Mock Date: Tue, 14 Nov 2023 10:44:38 -0600 Subject: [PATCH] query should be a QueryContainer https://github.com/elastic/elasticsearch-js/issues/2074 --- specification/enrich/_types/Policy.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/specification/enrich/_types/Policy.ts b/specification/enrich/_types/Policy.ts index aad7b99c37..20b19df3de 100644 --- a/specification/enrich/_types/Policy.ts +++ b/specification/enrich/_types/Policy.ts @@ -18,6 +18,7 @@ */ import { Field, Fields, Indices, Name } from '@_types/common' +import { QueryContainer } from '@_types/query_dsl/abstractions' import { SingleKeyDictionary } from '@spec_utils/Dictionary' export class Summary { @@ -34,7 +35,7 @@ export class Policy { enrich_fields: Fields indices: Indices match_field: Field - query?: string + query?: QueryContainer | QueryContainer[] name?: Name elasticsearch_version?: string }