Auto-generated code for 8.15 (#2313)
This commit is contained in:
@ -813,7 +813,7 @@ client.reindex({ dest, source })
|
||||
** *`source` ({ index, query, remote, size, slice, sort, _source, runtime_mappings })*: The source you are copying from.
|
||||
** *`conflicts` (Optional, Enum("abort" | "proceed"))*: Set to proceed to continue reindexing even if there are conflicts.
|
||||
** *`max_docs` (Optional, number)*: The maximum number of documents to reindex.
|
||||
** *`script` (Optional, { lang, options, source } | { id })*: The script to run to update the document source or metadata when reindexing.
|
||||
** *`script` (Optional, { source, id, params, lang, options })*: The script to run to update the document source or metadata when reindexing.
|
||||
** *`size` (Optional, number)*
|
||||
** *`refresh` (Optional, boolean)*: If `true`, the request refreshes affected shards to make this operation visible to search.
|
||||
** *`requests_per_second` (Optional, float)*: The throttle for this request in sub-requests per second.
|
||||
@ -882,7 +882,7 @@ client.scriptsPainlessExecute({ ... })
|
||||
* *Request (object):*
|
||||
** *`context` (Optional, string)*: The context that the script should run in.
|
||||
** *`context_setup` (Optional, { document, index, query })*: Additional parameters for the `context`.
|
||||
** *`script` (Optional, { lang, options, source })*: The Painless script to execute.
|
||||
** *`script` (Optional, { source, id, params, lang, options })*: The Painless script to execute.
|
||||
|
||||
[discrete]
|
||||
=== scroll
|
||||
@ -1255,7 +1255,7 @@ client.update({ id, index })
|
||||
to 'noop' if no change to the document occurred.
|
||||
** *`doc` (Optional, object)*: A partial update to an existing document.
|
||||
** *`doc_as_upsert` (Optional, boolean)*: Set to true to use the contents of 'doc' as the value of 'upsert'
|
||||
** *`script` (Optional, { lang, options, source } | { id })*: Script to execute to update the document.
|
||||
** *`script` (Optional, { source, id, params, lang, options })*: Script to execute to update the document.
|
||||
** *`scripted_upsert` (Optional, boolean)*: Set to true to execute the script whether or not the document exists.
|
||||
** *`_source` (Optional, boolean | { excludes, includes })*: Set to false to disable source retrieval. You can also specify a comma-separated
|
||||
list of the fields you want to retrieve.
|
||||
@ -1298,7 +1298,7 @@ Supports wildcards (`*`).
|
||||
To search all data streams or indices, omit this parameter or use `*` or `_all`.
|
||||
** *`max_docs` (Optional, number)*: The maximum number of documents to update.
|
||||
** *`query` (Optional, { bool, boosting, common, combined_fields, constant_score, dis_max, distance_feature, exists, function_score, fuzzy, geo_bounding_box, geo_distance, geo_polygon, geo_shape, has_child, has_parent, ids, intervals, knn, match, match_all, match_bool_prefix, match_none, match_phrase, match_phrase_prefix, more_like_this, multi_match, nested, parent_id, percolate, pinned, prefix, query_string, range, rank_feature, regexp, rule, script, script_score, semantic, shape, simple_query_string, span_containing, span_field_masking, span_first, span_multi, span_near, span_not, span_or, span_term, span_within, sparse_vector, term, terms, terms_set, text_expansion, weighted_tokens, wildcard, wrapper, type })*: Specifies the documents to update using the Query DSL.
|
||||
** *`script` (Optional, { lang, options, source } | { id })*: The script to run to update the document source or metadata when updating.
|
||||
** *`script` (Optional, { source, id, params, lang, options })*: The script to run to update the document source or metadata when updating.
|
||||
** *`slice` (Optional, { field, id, max })*: Slice the request manually using the provided slice ID and total number of slices.
|
||||
** *`conflicts` (Optional, Enum("abort" | "proceed"))*: What to do if update by query hits version conflicts: `abort` or `proceed`.
|
||||
** *`allow_no_indices` (Optional, boolean)*: If `false`, the request returns an error if any wildcard expression, index alias, or `_all` value targets only missing or closed indices.
|
||||
@ -5084,6 +5084,15 @@ client.inference.put({ inference_id })
|
||||
|
||||
[discrete]
|
||||
=== ingest
|
||||
[discrete]
|
||||
==== delete_geoip_database
|
||||
Deletes a geoip database configuration
|
||||
[source,ts]
|
||||
----
|
||||
client.ingest.deleteGeoipDatabase()
|
||||
----
|
||||
|
||||
|
||||
[discrete]
|
||||
==== delete_pipeline
|
||||
Deletes one or more existing ingest pipeline.
|
||||
@ -5116,6 +5125,15 @@ client.ingest.geoIpStats()
|
||||
----
|
||||
|
||||
|
||||
[discrete]
|
||||
==== get_geoip_database
|
||||
Returns geoip database configuration.
|
||||
[source,ts]
|
||||
----
|
||||
client.ingest.getGeoipDatabase()
|
||||
----
|
||||
|
||||
|
||||
[discrete]
|
||||
==== get_pipeline
|
||||
Returns information about one or more ingest pipelines.
|
||||
@ -5151,6 +5169,15 @@ client.ingest.processorGrok()
|
||||
----
|
||||
|
||||
|
||||
[discrete]
|
||||
==== put_geoip_database
|
||||
Puts the configuration for a geoip database to be downloaded
|
||||
[source,ts]
|
||||
----
|
||||
client.ingest.putGeoipDatabase()
|
||||
----
|
||||
|
||||
|
||||
[discrete]
|
||||
==== put_pipeline
|
||||
Creates or updates an ingest pipeline.
|
||||
@ -8193,6 +8220,42 @@ client.security.authenticate()
|
||||
----
|
||||
|
||||
|
||||
[discrete]
|
||||
==== bulk_delete_role
|
||||
The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
|
||||
The bulk delete roles API cannot delete roles that are defined in roles files.
|
||||
|
||||
{ref}/security-api-bulk-delete-role.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.security.bulkDeleteRole({ names })
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== Arguments
|
||||
|
||||
* *Request (object):*
|
||||
** *`names` (string[])*: An array of role names to delete
|
||||
** *`refresh` (Optional, Enum(true | false | "wait_for"))*: If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.
|
||||
|
||||
[discrete]
|
||||
==== bulk_put_role
|
||||
The role management APIs are generally the preferred way to manage roles, rather than using file-based role management.
|
||||
The bulk create or update roles API cannot update roles that are defined in roles files.
|
||||
|
||||
{ref}/security-api-bulk-put-role.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.security.bulkPutRole({ roles })
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== Arguments
|
||||
|
||||
* *Request (object):*
|
||||
** *`roles` (Record<string, { cluster, indices, global, applications, metadata, run_as, description, transient_metadata }>)*: A dictionary of role name to RoleDescriptor objects to add or update
|
||||
** *`refresh` (Optional, Enum(true | false | "wait_for"))*: If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.
|
||||
|
||||
[discrete]
|
||||
==== bulk_update_api_keys
|
||||
Updates the attributes of multiple existing API keys.
|
||||
@ -8332,7 +8395,7 @@ client.security.createApiKey({ ... })
|
||||
* *Request (object):*
|
||||
** *`expiration` (Optional, string | -1 | 0)*: Expiration time for the API key. By default, API keys never expire.
|
||||
** *`name` (Optional, string)*: Specifies the name for this API key.
|
||||
** *`role_descriptors` (Optional, Record<string, { cluster, indices, global, applications, metadata, run_as, transient_metadata }>)*: An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.
|
||||
** *`role_descriptors` (Optional, Record<string, { cluster, indices, global, applications, metadata, run_as, description, transient_metadata }>)*: An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.
|
||||
** *`metadata` (Optional, Record<string, User-defined value>)*: Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with `_` are reserved for system usage.
|
||||
** *`refresh` (Optional, Enum(true | false | "wait_for"))*: If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.
|
||||
|
||||
@ -8961,6 +9024,7 @@ client.security.putRole({ name })
|
||||
** *`indices` (Optional, { field_security, names, privileges, query, allow_restricted_indices }[])*: A list of indices permissions entries.
|
||||
** *`metadata` (Optional, Record<string, User-defined value>)*: Optional metadata. Within the metadata object, keys that begin with an underscore (`_`) are reserved for system use.
|
||||
** *`run_as` (Optional, string[])*: A list of users that the owners of this role can impersonate. *Note*: in Serverless, the run-as feature is disabled. For API compatibility, you can still specify an empty `run_as` field, but a non-empty list will be rejected.
|
||||
** *`description` (Optional, string)*: Optional description of the role descriptor
|
||||
** *`transient_metadata` (Optional, Record<string, User-defined value>)*: Indicates roles that might be incompatible with the current cluster license, specifically roles with document and field level security. When the cluster license doesn’t allow certain features for a given role, this parameter is updated dynamically to list the incompatible features. If `enabled` is `false`, the role is ignored, but is still listed in the response from the authenticate API.
|
||||
** *`refresh` (Optional, Enum(true | false | "wait_for"))*: If `true` (the default) then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` then do nothing with refreshes.
|
||||
|
||||
@ -9050,16 +9114,65 @@ An API key's actual permission is the intersection of its assigned role descript
|
||||
** *`with_profile_uid` (Optional, boolean)*: Determines whether to also retrieve the profile uid, for the API key owner principal, if it exists.
|
||||
** *`typed_keys` (Optional, boolean)*: Determines whether aggregation names are prefixed by their respective types in the response.
|
||||
|
||||
[discrete]
|
||||
==== query_role
|
||||
Retrieves roles in a paginated manner. You can optionally filter the results with a query.
|
||||
|
||||
{ref}/security-api-query-role.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.security.queryRole({ ... })
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== Arguments
|
||||
|
||||
* *Request (object):*
|
||||
** *`query` (Optional, { bool, exists, ids, match, match_all, prefix, range, simple_query_string, term, terms, wildcard })*: A query to filter which roles to return.
|
||||
If the query parameter is missing, it is equivalent to a `match_all` query.
|
||||
The query supports a subset of query types, including `match_all`, `bool`, `term`, `terms`, `match`,
|
||||
`ids`, `prefix`, `wildcard`, `exists`, `range`, and `simple_query_string`.
|
||||
You can query the following information associated with roles: `name`, `description`, `metadata`,
|
||||
`applications.application`, `applications.privileges`, `applications.resources`.
|
||||
** *`from` (Optional, number)*: Starting document offset.
|
||||
By default, you cannot page through more than 10,000 hits using the from and size parameters.
|
||||
To page through more hits, use the `search_after` parameter.
|
||||
** *`sort` (Optional, string | { _score, _doc, _geo_distance, _script } | string | { _score, _doc, _geo_distance, _script }[])*: All public fields of a role are eligible for sorting.
|
||||
In addition, sort can also be applied to the `_doc` field to sort by index order.
|
||||
** *`size` (Optional, number)*: The number of hits to return.
|
||||
By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.
|
||||
To page through more hits, use the `search_after` parameter.
|
||||
** *`search_after` (Optional, number | number | string | boolean | null | User-defined value[])*: Search after definition
|
||||
|
||||
[discrete]
|
||||
==== query_user
|
||||
Retrieves information for Users using a subset of query DSL
|
||||
Retrieves information for Users in a paginated manner. You can optionally filter the results with a query.
|
||||
|
||||
{ref}/security-api-query-user.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.security.queryUser()
|
||||
client.security.queryUser({ ... })
|
||||
----
|
||||
|
||||
[discrete]
|
||||
==== Arguments
|
||||
|
||||
* *Request (object):*
|
||||
** *`query` (Optional, { ids, bool, exists, match, match_all, prefix, range, simple_query_string, term, terms, wildcard })*: A query to filter which users to return.
|
||||
If the query parameter is missing, it is equivalent to a `match_all` query.
|
||||
The query supports a subset of query types, including `match_all`, `bool`, `term`, `terms`, `match`,
|
||||
`ids`, `prefix`, `wildcard`, `exists`, `range`, and `simple_query_string`.
|
||||
You can query the following information associated with user: `username`, `roles`, `enabled`
|
||||
** *`from` (Optional, number)*: Starting document offset.
|
||||
By default, you cannot page through more than 10,000 hits using the from and size parameters.
|
||||
To page through more hits, use the `search_after` parameter.
|
||||
** *`sort` (Optional, string | { _score, _doc, _geo_distance, _script } | string | { _score, _doc, _geo_distance, _script }[])*: Fields eligible for sorting are: username, roles, enabled
|
||||
In addition, sort can also be applied to the `_doc` field to sort by index order.
|
||||
** *`size` (Optional, number)*: The number of hits to return.
|
||||
By default, you cannot page through more than 10,000 hits using the `from` and `size` parameters.
|
||||
To page through more hits, use the `search_after` parameter.
|
||||
** *`search_after` (Optional, number | number | string | boolean | null | User-defined value[])*: Search after definition
|
||||
** *`with_profile_uid` (Optional, boolean)*: If true will return the User Profile ID for the users in the query result, if any.
|
||||
|
||||
[discrete]
|
||||
==== saml_authenticate
|
||||
@ -9229,7 +9342,7 @@ client.security.updateApiKey({ id })
|
||||
|
||||
* *Request (object):*
|
||||
** *`id` (string)*: The ID of the API key to update.
|
||||
** *`role_descriptors` (Optional, Record<string, { cluster, indices, global, applications, metadata, run_as, transient_metadata }>)*: An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.
|
||||
** *`role_descriptors` (Optional, Record<string, { cluster, indices, global, applications, metadata, run_as, description, transient_metadata }>)*: An array of role descriptors for this API key. This parameter is optional. When it is not specified or is an empty array, then the API key will have a point in time snapshot of permissions of the authenticated user. If you supply role descriptors then the resultant permissions would be an intersection of API keys permissions and authenticated user’s permissions thereby limiting the access scope for API keys. The structure of role descriptor is the same as the request for create role API. For more details, see create or update roles API.
|
||||
** *`metadata` (Optional, Record<string, User-defined value>)*: Arbitrary metadata that you want to associate with the API key. It supports nested data structure. Within the metadata object, keys beginning with _ are reserved for system usage.
|
||||
** *`expiration` (Optional, string | -1 | 0)*: Expiration time for the API key.
|
||||
|
||||
@ -10167,8 +10280,6 @@ index will not be deleted
|
||||
[discrete]
|
||||
==== get_node_stats
|
||||
Retrieves transform usage information for transform nodes.
|
||||
|
||||
//{ref}/get-transform-node-stats.html[Endpoint documentation]
|
||||
[source,ts]
|
||||
----
|
||||
client.transform.getNodeStats()
|
||||
|
||||
@ -44,6 +44,38 @@ export default class Ingest {
|
||||
this.transport = transport
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes a geoip database configuration
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async deleteGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>
|
||||
async deleteGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>
|
||||
async deleteGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>
|
||||
async deleteGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = ['id']
|
||||
const querystring: Record<string, any> = {}
|
||||
const body = undefined
|
||||
|
||||
params = params ?? {}
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue
|
||||
} else if (key !== 'body') {
|
||||
querystring[key] = params[key]
|
||||
}
|
||||
}
|
||||
|
||||
const method = 'DELETE'
|
||||
const path = `/_ingest/geoip/database/${encodeURIComponent(params.id.toString())}`
|
||||
const meta: TransportRequestMetadata = {
|
||||
name: 'ingest.delete_geoip_database',
|
||||
pathParts: {
|
||||
id: params.id
|
||||
}
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes one or more existing ingest pipeline.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-pipeline-api.html | Elasticsearch API documentation}
|
||||
@ -106,6 +138,45 @@ export default class Ingest {
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns geoip database configuration.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async getGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>
|
||||
async getGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>
|
||||
async getGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>
|
||||
async getGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = ['id']
|
||||
const querystring: Record<string, any> = {}
|
||||
const body = undefined
|
||||
|
||||
params = params ?? {}
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue
|
||||
} else if (key !== 'body') {
|
||||
querystring[key] = params[key]
|
||||
}
|
||||
}
|
||||
|
||||
let method = ''
|
||||
let path = ''
|
||||
if (params.id != null) {
|
||||
method = 'GET'
|
||||
path = `/_ingest/geoip/database/${encodeURIComponent(params.id.toString())}`
|
||||
} else {
|
||||
method = 'GET'
|
||||
path = '/_ingest/geoip/database'
|
||||
}
|
||||
const meta: TransportRequestMetadata = {
|
||||
name: 'ingest.get_geoip_database',
|
||||
pathParts: {
|
||||
id: params.id
|
||||
}
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns information about one or more ingest pipelines. This API returns a local reference of the pipeline.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-pipeline-api.html | Elasticsearch API documentation}
|
||||
@ -176,6 +247,38 @@ export default class Ingest {
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* Puts the configuration for a geoip database to be downloaded
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async putGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>
|
||||
async putGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>
|
||||
async putGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>
|
||||
async putGeoipDatabase (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = ['id']
|
||||
const querystring: Record<string, any> = {}
|
||||
const body = undefined
|
||||
|
||||
params = params ?? {}
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue
|
||||
} else if (key !== 'body') {
|
||||
querystring[key] = params[key]
|
||||
}
|
||||
}
|
||||
|
||||
const method = 'PUT'
|
||||
const path = `/_ingest/geoip/database/${encodeURIComponent(params.id.toString())}`
|
||||
const meta: TransportRequestMetadata = {
|
||||
name: 'ingest.put_geoip_database',
|
||||
pathParts: {
|
||||
id: params.id
|
||||
}
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates or updates an ingest pipeline. Changes made using this API take effect immediately.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/ingest.html | Elasticsearch API documentation}
|
||||
|
||||
@ -115,6 +115,88 @@ export default class Security {
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. The bulk delete roles API cannot delete roles that are defined in roles files.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-bulk-delete-role.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async bulkDeleteRole (this: That, params: T.SecurityBulkDeleteRoleRequest | TB.SecurityBulkDeleteRoleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SecurityBulkDeleteRoleResponse>
|
||||
async bulkDeleteRole (this: That, params: T.SecurityBulkDeleteRoleRequest | TB.SecurityBulkDeleteRoleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SecurityBulkDeleteRoleResponse, unknown>>
|
||||
async bulkDeleteRole (this: That, params: T.SecurityBulkDeleteRoleRequest | TB.SecurityBulkDeleteRoleRequest, options?: TransportRequestOptions): Promise<T.SecurityBulkDeleteRoleResponse>
|
||||
async bulkDeleteRole (this: That, params: T.SecurityBulkDeleteRoleRequest | TB.SecurityBulkDeleteRoleRequest, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = []
|
||||
const acceptedBody: string[] = ['names']
|
||||
const querystring: Record<string, any> = {}
|
||||
// @ts-expect-error
|
||||
const userBody: any = params?.body
|
||||
let body: Record<string, any> | string
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody
|
||||
} else {
|
||||
body = userBody != null ? { ...userBody } : undefined
|
||||
}
|
||||
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body ?? {}
|
||||
// @ts-expect-error
|
||||
body[key] = params[key]
|
||||
} else if (acceptedPath.includes(key)) {
|
||||
continue
|
||||
} else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key]
|
||||
}
|
||||
}
|
||||
|
||||
const method = 'DELETE'
|
||||
const path = '/_security/role'
|
||||
const meta: TransportRequestMetadata = {
|
||||
name: 'security.bulk_delete_role'
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* The role management APIs are generally the preferred way to manage roles, rather than using file-based role management. The bulk create or update roles API cannot update roles that are defined in roles files.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-bulk-put-role.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async bulkPutRole (this: That, params: T.SecurityBulkPutRoleRequest | TB.SecurityBulkPutRoleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SecurityBulkPutRoleResponse>
|
||||
async bulkPutRole (this: That, params: T.SecurityBulkPutRoleRequest | TB.SecurityBulkPutRoleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SecurityBulkPutRoleResponse, unknown>>
|
||||
async bulkPutRole (this: That, params: T.SecurityBulkPutRoleRequest | TB.SecurityBulkPutRoleRequest, options?: TransportRequestOptions): Promise<T.SecurityBulkPutRoleResponse>
|
||||
async bulkPutRole (this: That, params: T.SecurityBulkPutRoleRequest | TB.SecurityBulkPutRoleRequest, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = []
|
||||
const acceptedBody: string[] = ['roles']
|
||||
const querystring: Record<string, any> = {}
|
||||
// @ts-expect-error
|
||||
const userBody: any = params?.body
|
||||
let body: Record<string, any> | string
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody
|
||||
} else {
|
||||
body = userBody != null ? { ...userBody } : undefined
|
||||
}
|
||||
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body ?? {}
|
||||
// @ts-expect-error
|
||||
body[key] = params[key]
|
||||
} else if (acceptedPath.includes(key)) {
|
||||
continue
|
||||
} else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key]
|
||||
}
|
||||
}
|
||||
|
||||
const method = 'POST'
|
||||
const path = '/_security/role'
|
||||
const meta: TransportRequestMetadata = {
|
||||
name: 'security.bulk_put_role'
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates the attributes of multiple existing API keys.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-bulk-update-api-keys.html | Elasticsearch API documentation}
|
||||
@ -1603,7 +1685,7 @@ export default class Security {
|
||||
async putRole (this: That, params: T.SecurityPutRoleRequest | TB.SecurityPutRoleRequest, options?: TransportRequestOptions): Promise<T.SecurityPutRoleResponse>
|
||||
async putRole (this: That, params: T.SecurityPutRoleRequest | TB.SecurityPutRoleRequest, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = ['name']
|
||||
const acceptedBody: string[] = ['applications', 'cluster', 'global', 'indices', 'metadata', 'run_as', 'transient_metadata']
|
||||
const acceptedBody: string[] = ['applications', 'cluster', 'global', 'indices', 'metadata', 'run_as', 'description', 'transient_metadata']
|
||||
const querystring: Record<string, any> = {}
|
||||
// @ts-expect-error
|
||||
const userBody: any = params?.body
|
||||
@ -1769,22 +1851,77 @@ export default class Security {
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves information for Users using a subset of query DSL
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-query-user.html | Elasticsearch API documentation}
|
||||
* Retrieves roles in a paginated manner. You can optionally filter the results with a query.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-query-role.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async queryUser (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>
|
||||
async queryUser (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>
|
||||
async queryUser (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>
|
||||
async queryUser (this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<any> {
|
||||
async queryRole (this: That, params?: T.SecurityQueryRoleRequest | TB.SecurityQueryRoleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SecurityQueryRoleResponse>
|
||||
async queryRole (this: That, params?: T.SecurityQueryRoleRequest | TB.SecurityQueryRoleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SecurityQueryRoleResponse, unknown>>
|
||||
async queryRole (this: That, params?: T.SecurityQueryRoleRequest | TB.SecurityQueryRoleRequest, options?: TransportRequestOptions): Promise<T.SecurityQueryRoleResponse>
|
||||
async queryRole (this: That, params?: T.SecurityQueryRoleRequest | TB.SecurityQueryRoleRequest, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = []
|
||||
const acceptedBody: string[] = ['query', 'from', 'sort', 'size', 'search_after']
|
||||
const querystring: Record<string, any> = {}
|
||||
const body = undefined
|
||||
// @ts-expect-error
|
||||
const userBody: any = params?.body
|
||||
let body: Record<string, any> | string
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody
|
||||
} else {
|
||||
body = userBody != null ? { ...userBody } : undefined
|
||||
}
|
||||
|
||||
params = params ?? {}
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body ?? {}
|
||||
// @ts-expect-error
|
||||
body[key] = params[key]
|
||||
} else if (acceptedPath.includes(key)) {
|
||||
continue
|
||||
} else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key]
|
||||
}
|
||||
}
|
||||
|
||||
const method = body != null ? 'POST' : 'GET'
|
||||
const path = '/_security/_query/role'
|
||||
const meta: TransportRequestMetadata = {
|
||||
name: 'security.query_role'
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body, meta }, options)
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieves information for Users in a paginated manner. You can optionally filter the results with a query.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-query-user.html | Elasticsearch API documentation}
|
||||
*/
|
||||
async queryUser (this: That, params?: T.SecurityQueryUserRequest | TB.SecurityQueryUserRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SecurityQueryUserResponse>
|
||||
async queryUser (this: That, params?: T.SecurityQueryUserRequest | TB.SecurityQueryUserRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SecurityQueryUserResponse, unknown>>
|
||||
async queryUser (this: That, params?: T.SecurityQueryUserRequest | TB.SecurityQueryUserRequest, options?: TransportRequestOptions): Promise<T.SecurityQueryUserResponse>
|
||||
async queryUser (this: That, params?: T.SecurityQueryUserRequest | TB.SecurityQueryUserRequest, options?: TransportRequestOptions): Promise<any> {
|
||||
const acceptedPath: string[] = []
|
||||
const acceptedBody: string[] = ['query', 'from', 'sort', 'size', 'search_after']
|
||||
const querystring: Record<string, any> = {}
|
||||
// @ts-expect-error
|
||||
const userBody: any = params?.body
|
||||
let body: Record<string, any> | string
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody
|
||||
} else {
|
||||
body = userBody != null ? { ...userBody } : undefined
|
||||
}
|
||||
|
||||
params = params ?? {}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body ?? {}
|
||||
// @ts-expect-error
|
||||
body[key] = params[key]
|
||||
} else if (acceptedPath.includes(key)) {
|
||||
continue
|
||||
} else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key]
|
||||
}
|
||||
}
|
||||
|
||||
303
src/api/types.ts
303
src/api/types.ts
@ -95,7 +95,7 @@ export interface BulkUpdateAction<TDocument = unknown, TPartialDocument = unknow
|
||||
detect_noop?: boolean
|
||||
doc?: TPartialDocument
|
||||
doc_as_upsert?: boolean
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
scripted_upsert?: boolean
|
||||
_source?: SearchSourceConfig
|
||||
upsert?: TDocument
|
||||
@ -494,6 +494,7 @@ export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
||||
export interface HealthReportIlmIndicatorDetails {
|
||||
ilm_status: LifecycleOperationMode
|
||||
policies: long
|
||||
stagnating_indices: integer
|
||||
}
|
||||
|
||||
export interface HealthReportImpact {
|
||||
@ -573,6 +574,7 @@ export interface HealthReportShardsAvailabilityIndicator extends HealthReportBas
|
||||
|
||||
export interface HealthReportShardsAvailabilityIndicatorDetails {
|
||||
creating_primaries: long
|
||||
creating_replicas: long
|
||||
initializing_primaries: long
|
||||
initializing_replicas: long
|
||||
restarting_primaries: long
|
||||
@ -604,7 +606,7 @@ export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
||||
export interface HealthReportSlmIndicatorDetails {
|
||||
slm_status: LifecycleOperationMode
|
||||
policies: long
|
||||
unhealthy_policies: HealthReportSlmIndicatorUnhealthyPolicies
|
||||
unhealthy_policies?: HealthReportSlmIndicatorUnhealthyPolicies
|
||||
}
|
||||
|
||||
export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
||||
@ -847,7 +849,7 @@ export interface MtermvectorsResponse {
|
||||
}
|
||||
|
||||
export interface MtermvectorsTermVectorsResult {
|
||||
_id: Id
|
||||
_id?: Id
|
||||
_index: IndexName
|
||||
_version?: VersionNumber
|
||||
took?: long
|
||||
@ -1005,7 +1007,7 @@ export interface ReindexRequest extends RequestBase {
|
||||
conflicts?: Conflicts
|
||||
dest: ReindexDestination
|
||||
max_docs?: long
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
size?: long
|
||||
source: ReindexSource
|
||||
}
|
||||
@ -1102,7 +1104,7 @@ export interface ScriptsPainlessExecutePainlessContextSetup {
|
||||
export interface ScriptsPainlessExecuteRequest extends RequestBase {
|
||||
context?: string
|
||||
context_setup?: ScriptsPainlessExecutePainlessContextSetup
|
||||
script?: InlineScript | string
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface ScriptsPainlessExecuteResponse<TResult = unknown> {
|
||||
@ -1427,6 +1429,7 @@ export interface SearchHit<TDocument = unknown> {
|
||||
_node?: string
|
||||
_routing?: string
|
||||
_source?: TDocument
|
||||
_rank?: integer
|
||||
_seq_no?: SequenceNumber
|
||||
_primary_term?: long
|
||||
_version?: VersionNumber
|
||||
@ -1830,7 +1833,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
|
||||
|
||||
export interface TermvectorsResponse {
|
||||
found: boolean
|
||||
_id: Id
|
||||
_id?: Id
|
||||
_index: IndexName
|
||||
term_vectors?: Record<Field, TermvectorsTermVector>
|
||||
took: long
|
||||
@ -1846,7 +1849,7 @@ export interface TermvectorsTerm {
|
||||
}
|
||||
|
||||
export interface TermvectorsTermVector {
|
||||
field_statistics: TermvectorsFieldStatistics
|
||||
field_statistics?: TermvectorsFieldStatistics
|
||||
terms: Record<string, TermvectorsTerm>
|
||||
}
|
||||
|
||||
@ -1874,7 +1877,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
|
||||
detect_noop?: boolean
|
||||
doc?: TPartialDocument
|
||||
doc_as_upsert?: boolean
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
scripted_upsert?: boolean
|
||||
_source?: SearchSourceConfig
|
||||
upsert?: TDocument
|
||||
@ -1918,7 +1921,7 @@ export interface UpdateByQueryRequest extends RequestBase {
|
||||
wait_for_completion?: boolean
|
||||
max_docs?: long
|
||||
query?: QueryDslQueryContainer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
slice?: SlicedScroll
|
||||
conflicts?: Conflicts
|
||||
}
|
||||
@ -2175,9 +2178,10 @@ export interface GeoDistanceSortKeys {
|
||||
ignore_unmapped?: boolean
|
||||
order?: SortOrder
|
||||
unit?: DistanceUnit
|
||||
nested?: NestedSortValue
|
||||
}
|
||||
export type GeoDistanceSort = GeoDistanceSortKeys
|
||||
& { [property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit }
|
||||
& { [property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit | NestedSortValue }
|
||||
|
||||
export type GeoDistanceType = 'arc' | 'plane'
|
||||
|
||||
@ -2283,12 +2287,6 @@ export interface InlineGetKeys<TDocument = unknown> {
|
||||
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument>
|
||||
& { [property: string]: any }
|
||||
|
||||
export interface InlineScript extends ScriptBase {
|
||||
lang?: ScriptLanguage
|
||||
options?: Record<string, string>
|
||||
source: string
|
||||
}
|
||||
|
||||
export type Ip = string
|
||||
|
||||
export interface KnnQuery extends QueryDslQueryBase {
|
||||
@ -2522,7 +2520,7 @@ export type Routing = string
|
||||
|
||||
export interface RrfRank {
|
||||
rank_constant?: long
|
||||
window_size?: long
|
||||
rank_window_size?: long
|
||||
}
|
||||
|
||||
export type ScalarValue = long | double | string | boolean | null
|
||||
@ -2531,14 +2529,16 @@ export interface ScoreSort {
|
||||
order?: SortOrder
|
||||
}
|
||||
|
||||
export type Script = InlineScript | string | StoredScriptId
|
||||
|
||||
export interface ScriptBase {
|
||||
export interface Script {
|
||||
source?: string
|
||||
id?: Id
|
||||
params?: Record<string, any>
|
||||
lang?: ScriptLanguage
|
||||
options?: Record<string, string>
|
||||
}
|
||||
|
||||
export interface ScriptField {
|
||||
script: Script
|
||||
script: Script | string
|
||||
ignore_failure?: boolean
|
||||
}
|
||||
|
||||
@ -2546,7 +2546,7 @@ export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | s
|
||||
|
||||
export interface ScriptSort {
|
||||
order?: SortOrder
|
||||
script: Script
|
||||
script: Script | string
|
||||
type?: ScriptSortType
|
||||
mode?: SortMode
|
||||
nested?: NestedSortValue
|
||||
@ -2697,10 +2697,6 @@ export interface StoredScript {
|
||||
source: string
|
||||
}
|
||||
|
||||
export interface StoredScriptId extends ScriptBase {
|
||||
id: Id
|
||||
}
|
||||
|
||||
export type SuggestMode = 'missing' | 'popular' | 'always'
|
||||
|
||||
export type SuggestionName = string
|
||||
@ -2948,7 +2944,7 @@ export interface AggregationsAutoDateHistogramAggregation extends AggregationsBu
|
||||
missing?: DateTime
|
||||
offset?: string
|
||||
params?: Record<string, any>
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_zone?: TimeZone
|
||||
}
|
||||
|
||||
@ -3018,11 +3014,11 @@ export interface AggregationsBucketPathAggregation {
|
||||
}
|
||||
|
||||
export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsBucketSortAggregation {
|
||||
@ -3095,7 +3091,7 @@ export interface AggregationsCompositeAggregationBase {
|
||||
field?: Field
|
||||
missing_bucket?: boolean
|
||||
missing_order?: AggregationsMissingOrder
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
value_type?: AggregationsValueType
|
||||
order?: SortOrder
|
||||
}
|
||||
@ -3166,7 +3162,7 @@ export interface AggregationsDateHistogramAggregation extends AggregationsBucket
|
||||
offset?: Duration
|
||||
order?: AggregationsAggregateOrder
|
||||
params?: Record<string, any>
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_zone?: TimeZone
|
||||
keyed?: boolean
|
||||
}
|
||||
@ -3207,7 +3203,7 @@ export interface AggregationsDerivativeAggregation extends AggregationsPipelineA
|
||||
export interface AggregationsDiversifiedSamplerAggregation extends AggregationsBucketAggregationBase {
|
||||
execution_hint?: AggregationsSamplerAggregationExecutionHint
|
||||
max_docs_per_value?: integer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
shard_size?: integer
|
||||
field?: Field
|
||||
}
|
||||
@ -3456,7 +3452,7 @@ export interface AggregationsHistogramAggregation extends AggregationsBucketAggr
|
||||
missing?: double
|
||||
offset?: double
|
||||
order?: AggregationsAggregateOrder
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
format?: string
|
||||
keyed?: boolean
|
||||
}
|
||||
@ -3644,7 +3640,7 @@ export interface AggregationsMedianAbsoluteDeviationAggregation extends Aggregat
|
||||
export interface AggregationsMetricAggregationBase {
|
||||
field?: Field
|
||||
missing?: AggregationsMissing
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsMinAggregate extends AggregationsSingleMetricAggregateBase {
|
||||
@ -3798,7 +3794,7 @@ export interface AggregationsRangeAggregation extends AggregationsBucketAggregat
|
||||
field?: Field
|
||||
missing?: integer
|
||||
ranges?: AggregationsAggregationRange[]
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
keyed?: boolean
|
||||
format?: string
|
||||
}
|
||||
@ -3856,7 +3852,7 @@ export interface AggregationsSamplerAggregation extends AggregationsBucketAggreg
|
||||
export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash'
|
||||
|
||||
export interface AggregationsScriptedHeuristic {
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsScriptedMetricAggregate extends AggregationsAggregateBase {
|
||||
@ -3864,11 +3860,11 @@ export interface AggregationsScriptedMetricAggregate extends AggregationsAggrega
|
||||
}
|
||||
|
||||
export interface AggregationsScriptedMetricAggregation extends AggregationsMetricAggregationBase {
|
||||
combine_script?: Script
|
||||
init_script?: Script
|
||||
map_script?: Script
|
||||
combine_script?: Script | string
|
||||
init_script?: Script | string
|
||||
map_script?: Script | string
|
||||
params?: Record<string, any>
|
||||
reduce_script?: Script
|
||||
reduce_script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
||||
@ -4081,7 +4077,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
||||
missing_bucket?: boolean
|
||||
value_type?: string
|
||||
order?: AggregationsAggregateOrder
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
shard_min_doc_count?: long
|
||||
shard_size?: integer
|
||||
show_term_doc_count_error?: boolean
|
||||
@ -4108,7 +4104,7 @@ export interface AggregationsTermsPartition {
|
||||
|
||||
export interface AggregationsTestPopulation {
|
||||
field: Field
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
filter?: QueryDslQueryContainer
|
||||
}
|
||||
|
||||
@ -4181,7 +4177,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
|
||||
buckets?: integer
|
||||
shard_size?: integer
|
||||
initial_buffer?: integer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
|
||||
@ -4205,7 +4201,7 @@ export interface AggregationsWeightedAverageAggregation {
|
||||
export interface AggregationsWeightedAverageValue {
|
||||
field?: Field
|
||||
missing?: double
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
||||
@ -4253,7 +4249,7 @@ export interface AnalysisCompoundWordTokenFilterBase extends AnalysisTokenFilter
|
||||
export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
|
||||
type: 'condition'
|
||||
filter: string[]
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface AnalysisCustomAnalyzer {
|
||||
@ -4648,7 +4644,7 @@ export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
|
||||
|
||||
export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
|
||||
type: 'predicate_token_filter'
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilterBase {
|
||||
@ -4685,7 +4681,7 @@ export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Dani
|
||||
|
||||
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
||||
type: 'snowball'
|
||||
language: AnalysisSnowballLanguage
|
||||
language?: AnalysisSnowballLanguage
|
||||
}
|
||||
|
||||
export interface AnalysisStandardAnalyzer {
|
||||
@ -4932,8 +4928,9 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase {
|
||||
|
||||
export interface MappingDenseVectorIndexOptions {
|
||||
type: string
|
||||
m: integer
|
||||
ef_construction: integer
|
||||
m?: integer
|
||||
ef_construction?: integer
|
||||
confidence_interval?: float
|
||||
}
|
||||
|
||||
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
||||
@ -4966,7 +4963,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
||||
null_value?: FieldValue
|
||||
boost?: double
|
||||
coerce?: boolean
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
on_script_error?: MappingOnScriptError
|
||||
ignore_malformed?: boolean
|
||||
time_series_metric?: MappingTimeSeriesMetricType
|
||||
@ -5044,7 +5041,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
||||
null_value?: GeoLocation
|
||||
index?: boolean
|
||||
on_script_error?: MappingOnScriptError
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
type: 'geo_point'
|
||||
}
|
||||
|
||||
@ -5110,7 +5107,7 @@ export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
||||
ignore_malformed?: boolean
|
||||
null_value?: string
|
||||
on_script_error?: MappingOnScriptError
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_series_dimension?: boolean
|
||||
type: 'ip'
|
||||
}
|
||||
@ -5130,7 +5127,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
||||
eager_global_ordinals?: boolean
|
||||
index?: boolean
|
||||
index_options?: MappingIndexOptions
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
on_script_error?: MappingOnScriptError
|
||||
normalizer?: string
|
||||
norms?: boolean
|
||||
@ -5175,7 +5172,7 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase
|
||||
ignore_malformed?: boolean
|
||||
index?: boolean
|
||||
on_script_error?: MappingOnScriptError
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_series_metric?: MappingTimeSeriesMetricType
|
||||
time_series_dimension?: boolean
|
||||
}
|
||||
@ -5235,7 +5232,7 @@ export interface MappingRuntimeField {
|
||||
input_field?: Field
|
||||
target_field?: Field
|
||||
target_index?: IndexName
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
type: MappingRuntimeFieldType
|
||||
}
|
||||
|
||||
@ -5625,7 +5622,7 @@ export interface QueryDslIntervalsFilter {
|
||||
not_containing?: QueryDslIntervalsContainer
|
||||
not_overlapping?: QueryDslIntervalsContainer
|
||||
overlapping?: QueryDslIntervalsContainer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslIntervalsFuzzy {
|
||||
@ -5982,17 +5979,17 @@ export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
||||
}
|
||||
|
||||
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslScriptScoreFunction {
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslScriptScoreQuery extends QueryDslQueryBase {
|
||||
min_score?: float
|
||||
query: QueryDslQueryContainer
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslSemanticQuery extends QueryDslQueryBase {
|
||||
@ -6126,7 +6123,7 @@ export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup
|
||||
|
||||
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
||||
minimum_should_match_field?: Field
|
||||
minimum_should_match_script?: Script
|
||||
minimum_should_match_script?: Script | string
|
||||
terms: string[]
|
||||
}
|
||||
|
||||
@ -6420,28 +6417,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
||||
export type CatAliasesResponse = CatAliasesAliasesRecord[]
|
||||
|
||||
export interface CatAllocationAllocationRecord {
|
||||
shards?: string
|
||||
s?: string
|
||||
'disk.indices'?: ByteSize | null
|
||||
di?: ByteSize | null
|
||||
diskIndices?: ByteSize | null
|
||||
'disk.used'?: ByteSize | null
|
||||
du?: ByteSize | null
|
||||
diskUsed?: ByteSize | null
|
||||
'disk.avail'?: ByteSize | null
|
||||
da?: ByteSize | null
|
||||
diskAvail?: ByteSize | null
|
||||
'disk.total'?: ByteSize | null
|
||||
dt?: ByteSize | null
|
||||
diskTotal?: ByteSize | null
|
||||
'disk.percent'?: Percentage | null
|
||||
dp?: Percentage | null
|
||||
diskPercent?: Percentage | null
|
||||
host?: Host | null
|
||||
h?: Host | null
|
||||
ip?: Ip | null
|
||||
node?: string
|
||||
n?: string
|
||||
shards: string
|
||||
s: string
|
||||
'shards.undesired': string | null
|
||||
'write_load.forecast': double | null
|
||||
wlf: double | null
|
||||
writeLoadForecast: double | null
|
||||
'disk.indices.forecast': ByteSize | null
|
||||
dif: ByteSize | null
|
||||
diskIndicesForecast: ByteSize | null
|
||||
'disk.indices': ByteSize | null
|
||||
di: ByteSize | null
|
||||
diskIndices: ByteSize | null
|
||||
'disk.used': ByteSize | null
|
||||
du: ByteSize | null
|
||||
diskUsed: ByteSize | null
|
||||
'disk.avail': ByteSize | null
|
||||
da: ByteSize | null
|
||||
diskAvail: ByteSize | null
|
||||
'disk.total': ByteSize | null
|
||||
dt: ByteSize | null
|
||||
diskTotal: ByteSize | null
|
||||
'disk.percent': Percentage | null
|
||||
dp: Percentage | null
|
||||
diskPercent: Percentage | null
|
||||
host: Host | null
|
||||
h: Host | null
|
||||
ip: Ip | null
|
||||
node: string
|
||||
n: string
|
||||
'node.role': string | null
|
||||
r: string | null
|
||||
role: string | null
|
||||
nodeRole: string | null
|
||||
}
|
||||
|
||||
export interface CatAllocationRequest extends CatCatRequestBase {
|
||||
@ -10565,8 +10573,8 @@ export interface IndicesSettingsSimilarityLmj {
|
||||
|
||||
export interface IndicesSettingsSimilarityScripted {
|
||||
type: 'scripted'
|
||||
script: Script
|
||||
weight_script?: Script
|
||||
script: Script | string
|
||||
weight_script?: Script | string
|
||||
}
|
||||
|
||||
export interface IndicesSlowlogSettings {
|
||||
@ -16334,7 +16342,7 @@ export interface SearchApplicationSearchApplication {
|
||||
}
|
||||
|
||||
export interface SearchApplicationSearchApplicationTemplate {
|
||||
script: InlineScript | string
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface SearchApplicationDeleteRequest extends RequestBase {
|
||||
@ -16502,6 +16510,11 @@ export interface SecurityApplicationPrivileges {
|
||||
resources: string[]
|
||||
}
|
||||
|
||||
export interface SecurityBulkError {
|
||||
count: integer
|
||||
details: Record<string, ErrorCause>
|
||||
}
|
||||
|
||||
export interface SecurityClusterNode {
|
||||
name: Name
|
||||
}
|
||||
@ -16551,24 +16564,26 @@ export interface SecurityRealmInfo {
|
||||
}
|
||||
|
||||
export interface SecurityRoleDescriptor {
|
||||
cluster?: string[]
|
||||
cluster?: SecurityClusterPrivilege[]
|
||||
indices?: SecurityIndicesPrivileges[]
|
||||
index?: SecurityIndicesPrivileges[]
|
||||
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege
|
||||
applications?: SecurityApplicationPrivileges[]
|
||||
metadata?: Metadata
|
||||
run_as?: string[]
|
||||
description?: string
|
||||
transient_metadata?: Record<string, any>
|
||||
}
|
||||
|
||||
export interface SecurityRoleDescriptorRead {
|
||||
cluster: string[]
|
||||
cluster: SecurityClusterPrivilege[]
|
||||
indices: SecurityIndicesPrivileges[]
|
||||
index: SecurityIndicesPrivileges[]
|
||||
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege
|
||||
applications?: SecurityApplicationPrivileges[]
|
||||
metadata?: Metadata
|
||||
run_as?: string[]
|
||||
description?: string
|
||||
transient_metadata?: Record<string, any>
|
||||
}
|
||||
|
||||
@ -16589,23 +16604,23 @@ export interface SecurityRoleMappingRule {
|
||||
|
||||
export interface SecurityRoleTemplate {
|
||||
format?: SecurityTemplateFormat
|
||||
template: Script
|
||||
template: Script | string
|
||||
}
|
||||
|
||||
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer
|
||||
|
||||
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
||||
export interface SecurityRoleTemplateQuery {
|
||||
template?: SecurityRoleTemplateScript | SecurityRoleTemplateInlineQuery
|
||||
}
|
||||
|
||||
export interface SecurityRoleTemplateScript {
|
||||
source?: SecurityRoleTemplateInlineQuery
|
||||
id?: Id
|
||||
params?: Record<string, any>
|
||||
lang?: ScriptLanguage
|
||||
options?: Record<string, string>
|
||||
source: SecurityRoleTemplateInlineQuery
|
||||
}
|
||||
|
||||
export interface SecurityRoleTemplateQuery {
|
||||
template?: SecurityRoleTemplateScript
|
||||
}
|
||||
|
||||
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId
|
||||
|
||||
export type SecurityTemplateFormat = 'string' | 'json'
|
||||
|
||||
export interface SecurityUser {
|
||||
@ -16686,6 +16701,29 @@ export interface SecurityAuthenticateToken {
|
||||
type?: string
|
||||
}
|
||||
|
||||
export interface SecurityBulkDeleteRoleRequest extends RequestBase {
|
||||
refresh?: Refresh
|
||||
names: string[]
|
||||
}
|
||||
|
||||
export interface SecurityBulkDeleteRoleResponse {
|
||||
deleted?: string[]
|
||||
not_found?: string[]
|
||||
errors?: SecurityBulkError
|
||||
}
|
||||
|
||||
export interface SecurityBulkPutRoleRequest extends RequestBase {
|
||||
refresh?: Refresh
|
||||
roles: Record<string, SecurityRoleDescriptor>
|
||||
}
|
||||
|
||||
export interface SecurityBulkPutRoleResponse {
|
||||
created?: string[]
|
||||
updated?: string[]
|
||||
noop?: string[]
|
||||
errors?: SecurityBulkError
|
||||
}
|
||||
|
||||
export interface SecurityChangePasswordRequest extends RequestBase {
|
||||
username?: Username
|
||||
refresh?: Refresh
|
||||
@ -17179,6 +17217,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
||||
indices?: SecurityIndicesPrivileges[]
|
||||
metadata?: Metadata
|
||||
run_as?: string[]
|
||||
description?: string
|
||||
transient_metadata?: Record<string, any>
|
||||
}
|
||||
|
||||
@ -17277,6 +17316,72 @@ export interface SecurityQueryApiKeysResponse {
|
||||
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleQueryRole extends SecurityRoleDescriptor {
|
||||
_sort?: SortResults
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleRequest extends RequestBase {
|
||||
query?: SecurityQueryRoleRoleQueryContainer
|
||||
from?: integer
|
||||
sort?: Sort
|
||||
size?: integer
|
||||
search_after?: SortResults
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleResponse {
|
||||
total: integer
|
||||
count: integer
|
||||
roles: SecurityQueryRoleQueryRole[]
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleRoleQueryContainer {
|
||||
bool?: QueryDslBoolQuery
|
||||
exists?: QueryDslExistsQuery
|
||||
ids?: QueryDslIdsQuery
|
||||
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>
|
||||
match_all?: QueryDslMatchAllQuery
|
||||
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>
|
||||
range?: Partial<Record<Field, QueryDslRangeQuery>>
|
||||
simple_query_string?: QueryDslSimpleQueryStringQuery
|
||||
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>
|
||||
terms?: QueryDslTermsQuery
|
||||
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserQueryUser extends SecurityUser {
|
||||
_sort?: SortResults
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserRequest extends RequestBase {
|
||||
with_profile_uid?: boolean
|
||||
query?: SecurityQueryUserUserQueryContainer
|
||||
from?: integer
|
||||
sort?: Sort
|
||||
size?: integer
|
||||
search_after?: SortResults
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserResponse {
|
||||
total: integer
|
||||
count: integer
|
||||
users: SecurityQueryUserQueryUser[]
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserUserQueryContainer {
|
||||
ids?: QueryDslIdsQuery
|
||||
bool?: QueryDslBoolQuery
|
||||
exists?: QueryDslExistsQuery
|
||||
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>
|
||||
match_all?: QueryDslMatchAllQuery
|
||||
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>
|
||||
range?: Partial<Record<Field, QueryDslRangeQuery>>
|
||||
simple_query_string?: QueryDslSimpleQueryStringQuery
|
||||
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>
|
||||
terms?: QueryDslTermsQuery
|
||||
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>
|
||||
}
|
||||
|
||||
export interface SecuritySamlAuthenticateRequest extends RequestBase {
|
||||
content: string
|
||||
ids: Ids
|
||||
@ -18438,9 +18543,9 @@ export interface TransformGetTransformStatsTransformIndexerStats {
|
||||
export interface TransformGetTransformStatsTransformProgress {
|
||||
docs_indexed: long
|
||||
docs_processed: long
|
||||
docs_remaining: long
|
||||
percent_complete: double
|
||||
total_docs: long
|
||||
docs_remaining?: long
|
||||
percent_complete?: double
|
||||
total_docs?: long
|
||||
}
|
||||
|
||||
export interface TransformGetTransformStatsTransformStats {
|
||||
|
||||
@ -96,7 +96,7 @@ export interface BulkUpdateAction<TDocument = unknown, TPartialDocument = unknow
|
||||
detect_noop?: boolean
|
||||
doc?: TPartialDocument
|
||||
doc_as_upsert?: boolean
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
scripted_upsert?: boolean
|
||||
_source?: SearchSourceConfig
|
||||
upsert?: TDocument
|
||||
@ -515,6 +515,7 @@ export interface HealthReportIlmIndicator extends HealthReportBaseIndicator {
|
||||
export interface HealthReportIlmIndicatorDetails {
|
||||
ilm_status: LifecycleOperationMode
|
||||
policies: long
|
||||
stagnating_indices: integer
|
||||
}
|
||||
|
||||
export interface HealthReportImpact {
|
||||
@ -594,6 +595,7 @@ export interface HealthReportShardsAvailabilityIndicator extends HealthReportBas
|
||||
|
||||
export interface HealthReportShardsAvailabilityIndicatorDetails {
|
||||
creating_primaries: long
|
||||
creating_replicas: long
|
||||
initializing_primaries: long
|
||||
initializing_replicas: long
|
||||
restarting_primaries: long
|
||||
@ -625,7 +627,7 @@ export interface HealthReportSlmIndicator extends HealthReportBaseIndicator {
|
||||
export interface HealthReportSlmIndicatorDetails {
|
||||
slm_status: LifecycleOperationMode
|
||||
policies: long
|
||||
unhealthy_policies: HealthReportSlmIndicatorUnhealthyPolicies
|
||||
unhealthy_policies?: HealthReportSlmIndicatorUnhealthyPolicies
|
||||
}
|
||||
|
||||
export interface HealthReportSlmIndicatorUnhealthyPolicies {
|
||||
@ -880,7 +882,7 @@ export interface MtermvectorsResponse {
|
||||
}
|
||||
|
||||
export interface MtermvectorsTermVectorsResult {
|
||||
_id: Id
|
||||
_id?: Id
|
||||
_index: IndexName
|
||||
_version?: VersionNumber
|
||||
took?: long
|
||||
@ -1046,7 +1048,7 @@ export interface ReindexRequest extends RequestBase {
|
||||
conflicts?: Conflicts
|
||||
dest: ReindexDestination
|
||||
max_docs?: long
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
size?: long
|
||||
source: ReindexSource
|
||||
}
|
||||
@ -1149,7 +1151,7 @@ export interface ScriptsPainlessExecuteRequest extends RequestBase {
|
||||
body?: {
|
||||
context?: string
|
||||
context_setup?: ScriptsPainlessExecutePainlessContextSetup
|
||||
script?: InlineScript | string
|
||||
script?: Script | string
|
||||
}
|
||||
}
|
||||
|
||||
@ -1482,6 +1484,7 @@ export interface SearchHit<TDocument = unknown> {
|
||||
_node?: string
|
||||
_routing?: string
|
||||
_source?: TDocument
|
||||
_rank?: integer
|
||||
_seq_no?: SequenceNumber
|
||||
_primary_term?: long
|
||||
_version?: VersionNumber
|
||||
@ -1897,7 +1900,7 @@ export interface TermvectorsRequest<TDocument = unknown> extends RequestBase {
|
||||
|
||||
export interface TermvectorsResponse {
|
||||
found: boolean
|
||||
_id: Id
|
||||
_id?: Id
|
||||
_index: IndexName
|
||||
term_vectors?: Record<Field, TermvectorsTermVector>
|
||||
took: long
|
||||
@ -1913,7 +1916,7 @@ export interface TermvectorsTerm {
|
||||
}
|
||||
|
||||
export interface TermvectorsTermVector {
|
||||
field_statistics: TermvectorsFieldStatistics
|
||||
field_statistics?: TermvectorsFieldStatistics
|
||||
terms: Record<string, TermvectorsTerm>
|
||||
}
|
||||
|
||||
@ -1943,7 +1946,7 @@ export interface UpdateRequest<TDocument = unknown, TPartialDocument = unknown>
|
||||
detect_noop?: boolean
|
||||
doc?: TPartialDocument
|
||||
doc_as_upsert?: boolean
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
scripted_upsert?: boolean
|
||||
_source?: SearchSourceConfig
|
||||
upsert?: TDocument
|
||||
@ -1990,7 +1993,7 @@ export interface UpdateByQueryRequest extends RequestBase {
|
||||
body?: {
|
||||
max_docs?: long
|
||||
query?: QueryDslQueryContainer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
slice?: SlicedScroll
|
||||
conflicts?: Conflicts
|
||||
}
|
||||
@ -2248,9 +2251,10 @@ export interface GeoDistanceSortKeys {
|
||||
ignore_unmapped?: boolean
|
||||
order?: SortOrder
|
||||
unit?: DistanceUnit
|
||||
nested?: NestedSortValue
|
||||
}
|
||||
export type GeoDistanceSort = GeoDistanceSortKeys
|
||||
& { [property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit }
|
||||
& { [property: string]: GeoLocation | GeoLocation[] | SortMode | GeoDistanceType | boolean | SortOrder | DistanceUnit | NestedSortValue }
|
||||
|
||||
export type GeoDistanceType = 'arc' | 'plane'
|
||||
|
||||
@ -2356,12 +2360,6 @@ export interface InlineGetKeys<TDocument = unknown> {
|
||||
export type InlineGet<TDocument = unknown> = InlineGetKeys<TDocument>
|
||||
& { [property: string]: any }
|
||||
|
||||
export interface InlineScript extends ScriptBase {
|
||||
lang?: ScriptLanguage
|
||||
options?: Record<string, string>
|
||||
source: string
|
||||
}
|
||||
|
||||
export type Ip = string
|
||||
|
||||
export interface KnnQuery extends QueryDslQueryBase {
|
||||
@ -2595,7 +2593,7 @@ export type Routing = string
|
||||
|
||||
export interface RrfRank {
|
||||
rank_constant?: long
|
||||
window_size?: long
|
||||
rank_window_size?: long
|
||||
}
|
||||
|
||||
export type ScalarValue = long | double | string | boolean | null
|
||||
@ -2604,14 +2602,16 @@ export interface ScoreSort {
|
||||
order?: SortOrder
|
||||
}
|
||||
|
||||
export type Script = InlineScript | string | StoredScriptId
|
||||
|
||||
export interface ScriptBase {
|
||||
export interface Script {
|
||||
source?: string
|
||||
id?: Id
|
||||
params?: Record<string, any>
|
||||
lang?: ScriptLanguage
|
||||
options?: Record<string, string>
|
||||
}
|
||||
|
||||
export interface ScriptField {
|
||||
script: Script
|
||||
script: Script | string
|
||||
ignore_failure?: boolean
|
||||
}
|
||||
|
||||
@ -2619,7 +2619,7 @@ export type ScriptLanguage = 'painless' | 'expression' | 'mustache' | 'java' | s
|
||||
|
||||
export interface ScriptSort {
|
||||
order?: SortOrder
|
||||
script: Script
|
||||
script: Script | string
|
||||
type?: ScriptSortType
|
||||
mode?: SortMode
|
||||
nested?: NestedSortValue
|
||||
@ -2770,10 +2770,6 @@ export interface StoredScript {
|
||||
source: string
|
||||
}
|
||||
|
||||
export interface StoredScriptId extends ScriptBase {
|
||||
id: Id
|
||||
}
|
||||
|
||||
export type SuggestMode = 'missing' | 'popular' | 'always'
|
||||
|
||||
export type SuggestionName = string
|
||||
@ -3021,7 +3017,7 @@ export interface AggregationsAutoDateHistogramAggregation extends AggregationsBu
|
||||
missing?: DateTime
|
||||
offset?: string
|
||||
params?: Record<string, any>
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_zone?: TimeZone
|
||||
}
|
||||
|
||||
@ -3091,11 +3087,11 @@ export interface AggregationsBucketPathAggregation {
|
||||
}
|
||||
|
||||
export interface AggregationsBucketScriptAggregation extends AggregationsPipelineAggregationBase {
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsBucketSelectorAggregation extends AggregationsPipelineAggregationBase {
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsBucketSortAggregation {
|
||||
@ -3168,7 +3164,7 @@ export interface AggregationsCompositeAggregationBase {
|
||||
field?: Field
|
||||
missing_bucket?: boolean
|
||||
missing_order?: AggregationsMissingOrder
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
value_type?: AggregationsValueType
|
||||
order?: SortOrder
|
||||
}
|
||||
@ -3239,7 +3235,7 @@ export interface AggregationsDateHistogramAggregation extends AggregationsBucket
|
||||
offset?: Duration
|
||||
order?: AggregationsAggregateOrder
|
||||
params?: Record<string, any>
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_zone?: TimeZone
|
||||
keyed?: boolean
|
||||
}
|
||||
@ -3280,7 +3276,7 @@ export interface AggregationsDerivativeAggregation extends AggregationsPipelineA
|
||||
export interface AggregationsDiversifiedSamplerAggregation extends AggregationsBucketAggregationBase {
|
||||
execution_hint?: AggregationsSamplerAggregationExecutionHint
|
||||
max_docs_per_value?: integer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
shard_size?: integer
|
||||
field?: Field
|
||||
}
|
||||
@ -3529,7 +3525,7 @@ export interface AggregationsHistogramAggregation extends AggregationsBucketAggr
|
||||
missing?: double
|
||||
offset?: double
|
||||
order?: AggregationsAggregateOrder
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
format?: string
|
||||
keyed?: boolean
|
||||
}
|
||||
@ -3717,7 +3713,7 @@ export interface AggregationsMedianAbsoluteDeviationAggregation extends Aggregat
|
||||
export interface AggregationsMetricAggregationBase {
|
||||
field?: Field
|
||||
missing?: AggregationsMissing
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsMinAggregate extends AggregationsSingleMetricAggregateBase {
|
||||
@ -3871,7 +3867,7 @@ export interface AggregationsRangeAggregation extends AggregationsBucketAggregat
|
||||
field?: Field
|
||||
missing?: integer
|
||||
ranges?: AggregationsAggregationRange[]
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
keyed?: boolean
|
||||
format?: string
|
||||
}
|
||||
@ -3929,7 +3925,7 @@ export interface AggregationsSamplerAggregation extends AggregationsBucketAggreg
|
||||
export type AggregationsSamplerAggregationExecutionHint = 'map' | 'global_ordinals' | 'bytes_hash'
|
||||
|
||||
export interface AggregationsScriptedHeuristic {
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsScriptedMetricAggregate extends AggregationsAggregateBase {
|
||||
@ -3937,11 +3933,11 @@ export interface AggregationsScriptedMetricAggregate extends AggregationsAggrega
|
||||
}
|
||||
|
||||
export interface AggregationsScriptedMetricAggregation extends AggregationsMetricAggregationBase {
|
||||
combine_script?: Script
|
||||
init_script?: Script
|
||||
map_script?: Script
|
||||
combine_script?: Script | string
|
||||
init_script?: Script | string
|
||||
map_script?: Script | string
|
||||
params?: Record<string, any>
|
||||
reduce_script?: Script
|
||||
reduce_script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsSerialDifferencingAggregation extends AggregationsPipelineAggregationBase {
|
||||
@ -4154,7 +4150,7 @@ export interface AggregationsTermsAggregation extends AggregationsBucketAggregat
|
||||
missing_bucket?: boolean
|
||||
value_type?: string
|
||||
order?: AggregationsAggregateOrder
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
shard_min_doc_count?: long
|
||||
shard_size?: integer
|
||||
show_term_doc_count_error?: boolean
|
||||
@ -4181,7 +4177,7 @@ export interface AggregationsTermsPartition {
|
||||
|
||||
export interface AggregationsTestPopulation {
|
||||
field: Field
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
filter?: QueryDslQueryContainer
|
||||
}
|
||||
|
||||
@ -4254,7 +4250,7 @@ export interface AggregationsVariableWidthHistogramAggregation {
|
||||
buckets?: integer
|
||||
shard_size?: integer
|
||||
initial_buffer?: integer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsVariableWidthHistogramBucketKeys extends AggregationsMultiBucketBase {
|
||||
@ -4278,7 +4274,7 @@ export interface AggregationsWeightedAverageAggregation {
|
||||
export interface AggregationsWeightedAverageValue {
|
||||
field?: Field
|
||||
missing?: double
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface AggregationsWeightedAvgAggregate extends AggregationsSingleMetricAggregateBase {
|
||||
@ -4326,7 +4322,7 @@ export interface AnalysisCompoundWordTokenFilterBase extends AnalysisTokenFilter
|
||||
export interface AnalysisConditionTokenFilter extends AnalysisTokenFilterBase {
|
||||
type: 'condition'
|
||||
filter: string[]
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface AnalysisCustomAnalyzer {
|
||||
@ -4721,7 +4717,7 @@ export interface AnalysisPorterStemTokenFilter extends AnalysisTokenFilterBase {
|
||||
|
||||
export interface AnalysisPredicateTokenFilter extends AnalysisTokenFilterBase {
|
||||
type: 'predicate_token_filter'
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface AnalysisRemoveDuplicatesTokenFilter extends AnalysisTokenFilterBase {
|
||||
@ -4758,7 +4754,7 @@ export type AnalysisSnowballLanguage = 'Armenian' | 'Basque' | 'Catalan' | 'Dani
|
||||
|
||||
export interface AnalysisSnowballTokenFilter extends AnalysisTokenFilterBase {
|
||||
type: 'snowball'
|
||||
language: AnalysisSnowballLanguage
|
||||
language?: AnalysisSnowballLanguage
|
||||
}
|
||||
|
||||
export interface AnalysisStandardAnalyzer {
|
||||
@ -5005,8 +5001,9 @@ export interface MappingDateRangeProperty extends MappingRangePropertyBase {
|
||||
|
||||
export interface MappingDenseVectorIndexOptions {
|
||||
type: string
|
||||
m: integer
|
||||
ef_construction: integer
|
||||
m?: integer
|
||||
ef_construction?: integer
|
||||
confidence_interval?: float
|
||||
}
|
||||
|
||||
export interface MappingDenseVectorProperty extends MappingPropertyBase {
|
||||
@ -5039,7 +5036,7 @@ export interface MappingDynamicProperty extends MappingDocValuesPropertyBase {
|
||||
null_value?: FieldValue
|
||||
boost?: double
|
||||
coerce?: boolean
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
on_script_error?: MappingOnScriptError
|
||||
ignore_malformed?: boolean
|
||||
time_series_metric?: MappingTimeSeriesMetricType
|
||||
@ -5117,7 +5114,7 @@ export interface MappingGeoPointProperty extends MappingDocValuesPropertyBase {
|
||||
null_value?: GeoLocation
|
||||
index?: boolean
|
||||
on_script_error?: MappingOnScriptError
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
type: 'geo_point'
|
||||
}
|
||||
|
||||
@ -5183,7 +5180,7 @@ export interface MappingIpProperty extends MappingDocValuesPropertyBase {
|
||||
ignore_malformed?: boolean
|
||||
null_value?: string
|
||||
on_script_error?: MappingOnScriptError
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_series_dimension?: boolean
|
||||
type: 'ip'
|
||||
}
|
||||
@ -5203,7 +5200,7 @@ export interface MappingKeywordProperty extends MappingDocValuesPropertyBase {
|
||||
eager_global_ordinals?: boolean
|
||||
index?: boolean
|
||||
index_options?: MappingIndexOptions
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
on_script_error?: MappingOnScriptError
|
||||
normalizer?: string
|
||||
norms?: boolean
|
||||
@ -5248,7 +5245,7 @@ export interface MappingNumberPropertyBase extends MappingDocValuesPropertyBase
|
||||
ignore_malformed?: boolean
|
||||
index?: boolean
|
||||
on_script_error?: MappingOnScriptError
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
time_series_metric?: MappingTimeSeriesMetricType
|
||||
time_series_dimension?: boolean
|
||||
}
|
||||
@ -5308,7 +5305,7 @@ export interface MappingRuntimeField {
|
||||
input_field?: Field
|
||||
target_field?: Field
|
||||
target_index?: IndexName
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
type: MappingRuntimeFieldType
|
||||
}
|
||||
|
||||
@ -5698,7 +5695,7 @@ export interface QueryDslIntervalsFilter {
|
||||
not_containing?: QueryDslIntervalsContainer
|
||||
not_overlapping?: QueryDslIntervalsContainer
|
||||
overlapping?: QueryDslIntervalsContainer
|
||||
script?: Script
|
||||
script?: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslIntervalsFuzzy {
|
||||
@ -6055,17 +6052,17 @@ export interface QueryDslRuleQuery extends QueryDslQueryBase {
|
||||
}
|
||||
|
||||
export interface QueryDslScriptQuery extends QueryDslQueryBase {
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslScriptScoreFunction {
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslScriptScoreQuery extends QueryDslQueryBase {
|
||||
min_score?: float
|
||||
query: QueryDslQueryContainer
|
||||
script: Script
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface QueryDslSemanticQuery extends QueryDslQueryBase {
|
||||
@ -6199,7 +6196,7 @@ export type QueryDslTermsQueryField = FieldValue[] | QueryDslTermsLookup
|
||||
|
||||
export interface QueryDslTermsSetQuery extends QueryDslQueryBase {
|
||||
minimum_should_match_field?: Field
|
||||
minimum_should_match_script?: Script
|
||||
minimum_should_match_script?: Script | string
|
||||
terms: string[]
|
||||
}
|
||||
|
||||
@ -6497,28 +6494,39 @@ export interface CatAliasesRequest extends CatCatRequestBase {
|
||||
export type CatAliasesResponse = CatAliasesAliasesRecord[]
|
||||
|
||||
export interface CatAllocationAllocationRecord {
|
||||
shards?: string
|
||||
s?: string
|
||||
'disk.indices'?: ByteSize | null
|
||||
di?: ByteSize | null
|
||||
diskIndices?: ByteSize | null
|
||||
'disk.used'?: ByteSize | null
|
||||
du?: ByteSize | null
|
||||
diskUsed?: ByteSize | null
|
||||
'disk.avail'?: ByteSize | null
|
||||
da?: ByteSize | null
|
||||
diskAvail?: ByteSize | null
|
||||
'disk.total'?: ByteSize | null
|
||||
dt?: ByteSize | null
|
||||
diskTotal?: ByteSize | null
|
||||
'disk.percent'?: Percentage | null
|
||||
dp?: Percentage | null
|
||||
diskPercent?: Percentage | null
|
||||
host?: Host | null
|
||||
h?: Host | null
|
||||
ip?: Ip | null
|
||||
node?: string
|
||||
n?: string
|
||||
shards: string
|
||||
s: string
|
||||
'shards.undesired': string | null
|
||||
'write_load.forecast': double | null
|
||||
wlf: double | null
|
||||
writeLoadForecast: double | null
|
||||
'disk.indices.forecast': ByteSize | null
|
||||
dif: ByteSize | null
|
||||
diskIndicesForecast: ByteSize | null
|
||||
'disk.indices': ByteSize | null
|
||||
di: ByteSize | null
|
||||
diskIndices: ByteSize | null
|
||||
'disk.used': ByteSize | null
|
||||
du: ByteSize | null
|
||||
diskUsed: ByteSize | null
|
||||
'disk.avail': ByteSize | null
|
||||
da: ByteSize | null
|
||||
diskAvail: ByteSize | null
|
||||
'disk.total': ByteSize | null
|
||||
dt: ByteSize | null
|
||||
diskTotal: ByteSize | null
|
||||
'disk.percent': Percentage | null
|
||||
dp: Percentage | null
|
||||
diskPercent: Percentage | null
|
||||
host: Host | null
|
||||
h: Host | null
|
||||
ip: Ip | null
|
||||
node: string
|
||||
n: string
|
||||
'node.role': string | null
|
||||
r: string | null
|
||||
role: string | null
|
||||
nodeRole: string | null
|
||||
}
|
||||
|
||||
export interface CatAllocationRequest extends CatCatRequestBase {
|
||||
@ -10739,8 +10747,8 @@ export interface IndicesSettingsSimilarityLmj {
|
||||
|
||||
export interface IndicesSettingsSimilarityScripted {
|
||||
type: 'scripted'
|
||||
script: Script
|
||||
weight_script?: Script
|
||||
script: Script | string
|
||||
weight_script?: Script | string
|
||||
}
|
||||
|
||||
export interface IndicesSlowlogSettings {
|
||||
@ -16698,7 +16706,7 @@ export interface SearchApplicationSearchApplication {
|
||||
}
|
||||
|
||||
export interface SearchApplicationSearchApplicationTemplate {
|
||||
script: InlineScript | string
|
||||
script: Script | string
|
||||
}
|
||||
|
||||
export interface SearchApplicationDeleteRequest extends RequestBase {
|
||||
@ -16873,6 +16881,11 @@ export interface SecurityApplicationPrivileges {
|
||||
resources: string[]
|
||||
}
|
||||
|
||||
export interface SecurityBulkError {
|
||||
count: integer
|
||||
details: Record<string, ErrorCause>
|
||||
}
|
||||
|
||||
export interface SecurityClusterNode {
|
||||
name: Name
|
||||
}
|
||||
@ -16922,24 +16935,26 @@ export interface SecurityRealmInfo {
|
||||
}
|
||||
|
||||
export interface SecurityRoleDescriptor {
|
||||
cluster?: string[]
|
||||
cluster?: SecurityClusterPrivilege[]
|
||||
indices?: SecurityIndicesPrivileges[]
|
||||
index?: SecurityIndicesPrivileges[]
|
||||
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege
|
||||
applications?: SecurityApplicationPrivileges[]
|
||||
metadata?: Metadata
|
||||
run_as?: string[]
|
||||
description?: string
|
||||
transient_metadata?: Record<string, any>
|
||||
}
|
||||
|
||||
export interface SecurityRoleDescriptorRead {
|
||||
cluster: string[]
|
||||
cluster: SecurityClusterPrivilege[]
|
||||
indices: SecurityIndicesPrivileges[]
|
||||
index: SecurityIndicesPrivileges[]
|
||||
global?: SecurityGlobalPrivilege[] | SecurityGlobalPrivilege
|
||||
applications?: SecurityApplicationPrivileges[]
|
||||
metadata?: Metadata
|
||||
run_as?: string[]
|
||||
description?: string
|
||||
transient_metadata?: Record<string, any>
|
||||
}
|
||||
|
||||
@ -16960,23 +16975,23 @@ export interface SecurityRoleMappingRule {
|
||||
|
||||
export interface SecurityRoleTemplate {
|
||||
format?: SecurityTemplateFormat
|
||||
template: Script
|
||||
template: Script | string
|
||||
}
|
||||
|
||||
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer
|
||||
|
||||
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
||||
export interface SecurityRoleTemplateQuery {
|
||||
template?: SecurityRoleTemplateScript | SecurityRoleTemplateInlineQuery
|
||||
}
|
||||
|
||||
export interface SecurityRoleTemplateScript {
|
||||
source?: SecurityRoleTemplateInlineQuery
|
||||
id?: Id
|
||||
params?: Record<string, any>
|
||||
lang?: ScriptLanguage
|
||||
options?: Record<string, string>
|
||||
source: SecurityRoleTemplateInlineQuery
|
||||
}
|
||||
|
||||
export interface SecurityRoleTemplateQuery {
|
||||
template?: SecurityRoleTemplateScript
|
||||
}
|
||||
|
||||
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId
|
||||
|
||||
export type SecurityTemplateFormat = 'string' | 'json'
|
||||
|
||||
export interface SecurityUser {
|
||||
@ -17060,6 +17075,35 @@ export interface SecurityAuthenticateToken {
|
||||
type?: string
|
||||
}
|
||||
|
||||
export interface SecurityBulkDeleteRoleRequest extends RequestBase {
|
||||
refresh?: Refresh
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
names: string[]
|
||||
}
|
||||
}
|
||||
|
||||
export interface SecurityBulkDeleteRoleResponse {
|
||||
deleted?: string[]
|
||||
not_found?: string[]
|
||||
errors?: SecurityBulkError
|
||||
}
|
||||
|
||||
export interface SecurityBulkPutRoleRequest extends RequestBase {
|
||||
refresh?: Refresh
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
roles: Record<string, SecurityRoleDescriptor>
|
||||
}
|
||||
}
|
||||
|
||||
export interface SecurityBulkPutRoleResponse {
|
||||
created?: string[]
|
||||
updated?: string[]
|
||||
noop?: string[]
|
||||
errors?: SecurityBulkError
|
||||
}
|
||||
|
||||
export interface SecurityChangePasswordRequest extends RequestBase {
|
||||
username?: Username
|
||||
refresh?: Refresh
|
||||
@ -17580,6 +17624,7 @@ export interface SecurityPutRoleRequest extends RequestBase {
|
||||
indices?: SecurityIndicesPrivileges[]
|
||||
metadata?: Metadata
|
||||
run_as?: string[]
|
||||
description?: string
|
||||
transient_metadata?: Record<string, any>
|
||||
}
|
||||
}
|
||||
@ -17689,6 +17734,78 @@ export interface SecurityQueryApiKeysResponse {
|
||||
aggregations?: Record<AggregateName, SecurityQueryApiKeysApiKeyAggregate>
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleQueryRole extends SecurityRoleDescriptor {
|
||||
_sort?: SortResults
|
||||
name: string
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleRequest extends RequestBase {
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
query?: SecurityQueryRoleRoleQueryContainer
|
||||
from?: integer
|
||||
sort?: Sort
|
||||
size?: integer
|
||||
search_after?: SortResults
|
||||
}
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleResponse {
|
||||
total: integer
|
||||
count: integer
|
||||
roles: SecurityQueryRoleQueryRole[]
|
||||
}
|
||||
|
||||
export interface SecurityQueryRoleRoleQueryContainer {
|
||||
bool?: QueryDslBoolQuery
|
||||
exists?: QueryDslExistsQuery
|
||||
ids?: QueryDslIdsQuery
|
||||
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>
|
||||
match_all?: QueryDslMatchAllQuery
|
||||
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>
|
||||
range?: Partial<Record<Field, QueryDslRangeQuery>>
|
||||
simple_query_string?: QueryDslSimpleQueryStringQuery
|
||||
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>
|
||||
terms?: QueryDslTermsQuery
|
||||
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserQueryUser extends SecurityUser {
|
||||
_sort?: SortResults
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserRequest extends RequestBase {
|
||||
with_profile_uid?: boolean
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
query?: SecurityQueryUserUserQueryContainer
|
||||
from?: integer
|
||||
sort?: Sort
|
||||
size?: integer
|
||||
search_after?: SortResults
|
||||
}
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserResponse {
|
||||
total: integer
|
||||
count: integer
|
||||
users: SecurityQueryUserQueryUser[]
|
||||
}
|
||||
|
||||
export interface SecurityQueryUserUserQueryContainer {
|
||||
ids?: QueryDslIdsQuery
|
||||
bool?: QueryDslBoolQuery
|
||||
exists?: QueryDslExistsQuery
|
||||
match?: Partial<Record<Field, QueryDslMatchQuery | string | float | boolean>>
|
||||
match_all?: QueryDslMatchAllQuery
|
||||
prefix?: Partial<Record<Field, QueryDslPrefixQuery | string>>
|
||||
range?: Partial<Record<Field, QueryDslRangeQuery>>
|
||||
simple_query_string?: QueryDslSimpleQueryStringQuery
|
||||
term?: Partial<Record<Field, QueryDslTermQuery | FieldValue>>
|
||||
terms?: QueryDslTermsQuery
|
||||
wildcard?: Partial<Record<Field, QueryDslWildcardQuery | string>>
|
||||
}
|
||||
|
||||
export interface SecuritySamlAuthenticateRequest extends RequestBase {
|
||||
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
||||
body?: {
|
||||
@ -18909,9 +19026,9 @@ export interface TransformGetTransformStatsTransformIndexerStats {
|
||||
export interface TransformGetTransformStatsTransformProgress {
|
||||
docs_indexed: long
|
||||
docs_processed: long
|
||||
docs_remaining: long
|
||||
percent_complete: double
|
||||
total_docs: long
|
||||
docs_remaining?: long
|
||||
percent_complete?: double
|
||||
total_docs?: long
|
||||
}
|
||||
|
||||
export interface TransformGetTransformStatsTransformStats {
|
||||
|
||||
Reference in New Issue
Block a user