/*
 * Copyright OpenSearch Contributors
 * SPDX-License-Identifier: Apache-2.0
 *
 * The OpenSearch Contributors require contributions made to
 * this file be licensed under the Apache-2.0 license or a
 * compatible open source license.
 *
 */

/*
 * This file was generated from the OpenSearch API Spec. Do NOT edit it
 * manually. If you want to make changes, either update the spec or
 * modify the API generator.
 */

import { ApiResponse } from '../../lib/Transport'
import * as AsynchronousSearch_Common from '../_types/asynchronous_search._common'
import * as Global from '../_types/_global'

export interface AsynchronousSearch_Search_Request extends Global.Params {
  body?: AsynchronousSearch_Common.Search;
  index?: string;
  keep_alive?: string;
  keep_on_completion?: boolean;
  wait_for_completion_timeout?: string;
}

export interface AsynchronousSearch_Search_Response extends ApiResponse {
  body: AsynchronousSearch_Search_ResponseBody;
}

export type AsynchronousSearch_Search_ResponseBody = AsynchronousSearch_Common.ResponseBody

