From f94485ba8a3622088608785a462703a3eb7ce15a Mon Sep 17 00:00:00 2001 From: Elastic Machine Date: Fri, 3 Nov 2023 06:03:31 +0000 Subject: [PATCH] Auto-generated API code --- docs/reference.asciidoc | 2 ++ src/api/types.ts | 1 + src/api/typesWithBodyKey.ts | 1 + 3 files changed, 4 insertions(+) diff --git a/docs/reference.asciidoc b/docs/reference.asciidoc index 0c5563289..cea62abd9 100644 --- a/docs/reference.asciidoc +++ b/docs/reference.asciidoc @@ -9065,6 +9065,8 @@ client.transform.deleteTransform({ transform_id }) ** *`transform_id` (string)*: Identifier for the transform. ** *`force` (Optional, boolean)*: If this value is false, the transform must be stopped before it can be deleted. If true, the transform is deleted regardless of its current state. +** *`delete_dest_index` (Optional, boolean)*: If this value is true, the destination index is deleted together with the transform. If false, the destination +index will not be deleted ** *`timeout` (Optional, string | -1 | 0)*: Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. [discrete] diff --git a/src/api/types.ts b/src/api/types.ts index 13b4c40d4..7854e0e4d 100644 --- a/src/api/types.ts +++ b/src/api/types.ts @@ -17380,6 +17380,7 @@ export interface TransformTimeSync { export interface TransformDeleteTransformRequest extends RequestBase { transform_id: Id force?: boolean + delete_dest_index?: boolean timeout?: Duration } diff --git a/src/api/typesWithBodyKey.ts b/src/api/typesWithBodyKey.ts index 68b792bc3..c08a73a00 100644 --- a/src/api/typesWithBodyKey.ts +++ b/src/api/typesWithBodyKey.ts @@ -17790,6 +17790,7 @@ export interface TransformTimeSync { export interface TransformDeleteTransformRequest extends RequestBase { transform_id: Id force?: boolean + delete_dest_index?: boolean timeout?: Duration }