Files
elasticsearch-js/docs/reference-shared-types--global-render-search-template.asciidoc
2024-12-05 14:46:52 -06:00

67 lines
3.8 KiB
Plaintext

[[reference-shared-types--global-render-search-template]]
////////
===========================================================================================================================
|| ||
|| ||
|| ||
|| ██████╗ ███████╗ █████╗ ██████╗ ███╗ ███╗███████╗ ||
|| ██╔══██╗██╔════╝██╔══██╗██╔══██╗████╗ ████║██╔════╝ ||
|| ██████╔╝█████╗ ███████║██║ ██║██╔████╔██║█████╗ ||
|| ██╔══██╗██╔══╝ ██╔══██║██║ ██║██║╚██╔╝██║██╔══╝ ||
|| ██║ ██║███████╗██║ ██║██████╔╝██║ ╚═╝ ██║███████╗ ||
|| ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═════╝ ╚═╝ ╚═╝╚══════╝ ||
|| ||
|| ||
|| 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 <version> ||
|| ||
|| ||
|| ||
===========================================================================================================================
////////
== Shared RenderSearchTemplate types
[discrete]
[[RenderSearchTemplateRequest]]
=== RenderSearchTemplateRequest
[pass]
++++
<pre>
++++
interface RenderSearchTemplateRequest extends <<RequestBase>> {
id?: <<Id>>
file?: string
params?: Record<string, any>
source?: string
}
[pass]
++++
</pre>
++++
[discrete]
[[RenderSearchTemplateResponse]]
=== RenderSearchTemplateResponse
[pass]
++++
<pre>
++++
interface RenderSearchTemplateResponse {
template_output: Record<string, any>
}
[pass]
++++
</pre>
++++