@elastic/elasticsearch 8.16.2 → 8.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/enrich.d.ts +1 -1
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/esql.d.ts +1 -1
- package/lib/api/api/graph.d.ts +1 -1
- package/lib/api/api/indices.d.ts +2 -2
- package/lib/api/api/ingest.d.ts +9 -9
- package/lib/api/api/query_rules.d.ts +8 -8
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/synonyms.d.ts +7 -7
- package/lib/api/types.d.ts +29 -11
- package/lib/api/typesWithBodyKey.d.ts +29 -11
- package/package.json +2 -2
package/lib/api/api/count.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ interface That {
|
|
|
5
5
|
transport: Transport;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Count search results. Get the number of documents matching a query.
|
|
9
9
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/search-count.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function CountApi(this: That, params?: T.CountRequest | TB.CountRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CountResponse>;
|
package/lib/api/api/enrich.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export default class Enrich {
|
|
|
15
15
|
deletePolicy(this: That, params: T.EnrichDeletePolicyRequest | TB.EnrichDeletePolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EnrichDeletePolicyResponse, unknown>>;
|
|
16
16
|
deletePolicy(this: That, params: T.EnrichDeletePolicyRequest | TB.EnrichDeletePolicyRequest, options?: TransportRequestOptions): Promise<T.EnrichDeletePolicyResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Run an enrich policy. Create the enrich index for an existing enrich policy.
|
|
19
19
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/execute-enrich-policy-api.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
executePolicy(this: That, params: T.EnrichExecutePolicyRequest | TB.EnrichExecutePolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EnrichExecutePolicyResponse>;
|
package/lib/api/api/eql.d.ts
CHANGED
|
@@ -8,28 +8,28 @@ export default class Eql {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Delete an async EQL search. Delete an async EQL search or a stored synchronous EQL search. The API also deletes results for the search.
|
|
12
12
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/eql-search-api.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
delete(this: That, params: T.EqlDeleteRequest | TB.EqlDeleteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlDeleteResponse>;
|
|
15
15
|
delete(this: That, params: T.EqlDeleteRequest | TB.EqlDeleteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EqlDeleteResponse, unknown>>;
|
|
16
16
|
delete(this: That, params: T.EqlDeleteRequest | TB.EqlDeleteRequest, options?: TransportRequestOptions): Promise<T.EqlDeleteResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Get async EQL search results. Get the current status and available results for an async EQL search or a stored synchronous EQL search.
|
|
19
19
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-async-eql-search-api.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
get<TEvent = unknown>(this: That, params: T.EqlGetRequest | TB.EqlGetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlGetResponse<TEvent>>;
|
|
22
22
|
get<TEvent = unknown>(this: That, params: T.EqlGetRequest | TB.EqlGetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EqlGetResponse<TEvent>, unknown>>;
|
|
23
23
|
get<TEvent = unknown>(this: That, params: T.EqlGetRequest | TB.EqlGetRequest, options?: TransportRequestOptions): Promise<T.EqlGetResponse<TEvent>>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Get the async EQL status. Get the current status for an async EQL search or a stored synchronous EQL search without returning results.
|
|
26
26
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-async-eql-status-api.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
getStatus(this: That, params: T.EqlGetStatusRequest | TB.EqlGetStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlGetStatusResponse>;
|
|
29
29
|
getStatus(this: That, params: T.EqlGetStatusRequest | TB.EqlGetStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EqlGetStatusResponse, unknown>>;
|
|
30
30
|
getStatus(this: That, params: T.EqlGetStatusRequest | TB.EqlGetStatusRequest, options?: TransportRequestOptions): Promise<T.EqlGetStatusResponse>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Get EQL search results. Returns search results for an Event Query Language (EQL) query. EQL assumes each document in a data stream or index corresponds to an event.
|
|
33
33
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/eql-search-api.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
search<TEvent = unknown>(this: That, params: T.EqlSearchRequest | TB.EqlSearchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlSearchResponse<TEvent>>;
|
package/lib/api/api/esql.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export default class Esql {
|
|
|
22
22
|
asyncQueryGet(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
23
23
|
asyncQueryGet(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Run an ES|QL query. Get search results for an ES|QL (Elasticsearch query language) query.
|
|
26
26
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/esql-rest.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
query(this: That, params: T.EsqlQueryRequest | TB.EsqlQueryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EsqlQueryResponse>;
|
package/lib/api/api/graph.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export default class Graph {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Explore graph analytics. Extract and summarize information about the documents and terms in an Elasticsearch data stream or index. The easiest way to understand the behavior of this API is to use the Graph UI to explore connections. An initial request to the `_explore` API contains a seed query that identifies the documents of interest and specifies the fields that define the vertices and connections you want to include in the graph. Subsequent requests enable you to spider out from one more vertices of interest. You can exclude vertices that have already been returned.
|
|
12
12
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/graph-explore-api.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
explore(this: That, params: T.GraphExploreRequest | TB.GraphExploreRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.GraphExploreResponse>;
|
package/lib/api/api/indices.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export default class Indices {
|
|
|
134
134
|
existsAlias(this: That, params: T.IndicesExistsAliasRequest | TB.IndicesExistsAliasRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesExistsAliasResponse, unknown>>;
|
|
135
135
|
existsAlias(this: That, params: T.IndicesExistsAliasRequest | TB.IndicesExistsAliasRequest, options?: TransportRequestOptions): Promise<T.IndicesExistsAliasResponse>;
|
|
136
136
|
/**
|
|
137
|
-
*
|
|
137
|
+
* Check index templates. Check whether index templates exist.
|
|
138
138
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/index-templates.html | Elasticsearch API documentation}
|
|
139
139
|
*/
|
|
140
140
|
existsIndexTemplate(this: That, params: T.IndicesExistsIndexTemplateRequest | TB.IndicesExistsIndexTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesExistsIndexTemplateResponse>;
|
|
@@ -337,7 +337,7 @@ export default class Indices {
|
|
|
337
337
|
resolveCluster(this: That, params: T.IndicesResolveClusterRequest | TB.IndicesResolveClusterRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IndicesResolveClusterResponse, unknown>>;
|
|
338
338
|
resolveCluster(this: That, params: T.IndicesResolveClusterRequest | TB.IndicesResolveClusterRequest, options?: TransportRequestOptions): Promise<T.IndicesResolveClusterResponse>;
|
|
339
339
|
/**
|
|
340
|
-
*
|
|
340
|
+
* Resolve indices. Resolve the names and/or index patterns for indices, aliases, and data streams. Multiple patterns and remote clusters are supported.
|
|
341
341
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/indices-resolve-index-api.html | Elasticsearch API documentation}
|
|
342
342
|
*/
|
|
343
343
|
resolveIndex(this: That, params: T.IndicesResolveIndexRequest | TB.IndicesResolveIndexRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IndicesResolveIndexResponse>;
|
package/lib/api/api/ingest.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export default class Ingest {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Delete GeoIP database configurations. Delete one or more IP geolocation database configurations.
|
|
12
12
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-geoip-database-api.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
deleteGeoipDatabase(this: That, params: T.IngestDeleteGeoipDatabaseRequest | TB.IngestDeleteGeoipDatabaseRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestDeleteGeoipDatabaseResponse>;
|
|
@@ -22,21 +22,21 @@ export default class Ingest {
|
|
|
22
22
|
deleteIpLocationDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
23
23
|
deleteIpLocationDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Delete pipelines. Delete one or more ingest pipelines.
|
|
26
26
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-pipeline-api.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
deletePipeline(this: That, params: T.IngestDeletePipelineRequest | TB.IngestDeletePipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestDeletePipelineResponse>;
|
|
29
29
|
deletePipeline(this: That, params: T.IngestDeletePipelineRequest | TB.IngestDeletePipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestDeletePipelineResponse, unknown>>;
|
|
30
30
|
deletePipeline(this: That, params: T.IngestDeletePipelineRequest | TB.IngestDeletePipelineRequest, options?: TransportRequestOptions): Promise<T.IngestDeletePipelineResponse>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Get GeoIP statistics. Get download statistics for GeoIP2 databases that are used with the GeoIP processor.
|
|
33
33
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/geoip-processor.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
geoIpStats(this: That, params?: T.IngestGeoIpStatsRequest | TB.IngestGeoIpStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestGeoIpStatsResponse>;
|
|
36
36
|
geoIpStats(this: That, params?: T.IngestGeoIpStatsRequest | TB.IngestGeoIpStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestGeoIpStatsResponse, unknown>>;
|
|
37
37
|
geoIpStats(this: That, params?: T.IngestGeoIpStatsRequest | TB.IngestGeoIpStatsRequest, options?: TransportRequestOptions): Promise<T.IngestGeoIpStatsResponse>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Get GeoIP database configurations. Get information about one or more IP geolocation database configurations.
|
|
40
40
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-geoip-database-api.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
getGeoipDatabase(this: That, params?: T.IngestGetGeoipDatabaseRequest | TB.IngestGetGeoipDatabaseRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestGetGeoipDatabaseResponse>;
|
|
@@ -50,21 +50,21 @@ export default class Ingest {
|
|
|
50
50
|
getIpLocationDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
51
51
|
getIpLocationDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Get pipelines. Get information about one or more ingest pipelines. This API returns a local reference of the pipeline.
|
|
54
54
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-pipeline-api.html | Elasticsearch API documentation}
|
|
55
55
|
*/
|
|
56
56
|
getPipeline(this: That, params?: T.IngestGetPipelineRequest | TB.IngestGetPipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestGetPipelineResponse>;
|
|
57
57
|
getPipeline(this: That, params?: T.IngestGetPipelineRequest | TB.IngestGetPipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestGetPipelineResponse, unknown>>;
|
|
58
58
|
getPipeline(this: That, params?: T.IngestGetPipelineRequest | TB.IngestGetPipelineRequest, options?: TransportRequestOptions): Promise<T.IngestGetPipelineResponse>;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Run a grok processor. Extract structured fields out of a single text field within a document. You must choose which field to extract matched fields from, as well as the grok pattern you expect will match. A grok pattern is like a regular expression that supports aliased expressions that can be reused.
|
|
61
61
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/grok-processor.html | Elasticsearch API documentation}
|
|
62
62
|
*/
|
|
63
63
|
processorGrok(this: That, params?: T.IngestProcessorGrokRequest | TB.IngestProcessorGrokRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestProcessorGrokResponse>;
|
|
64
64
|
processorGrok(this: That, params?: T.IngestProcessorGrokRequest | TB.IngestProcessorGrokRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestProcessorGrokResponse, unknown>>;
|
|
65
65
|
processorGrok(this: That, params?: T.IngestProcessorGrokRequest | TB.IngestProcessorGrokRequest, options?: TransportRequestOptions): Promise<T.IngestProcessorGrokResponse>;
|
|
66
66
|
/**
|
|
67
|
-
*
|
|
67
|
+
* Create or update GeoIP database configurations. Create or update IP geolocation database configurations.
|
|
68
68
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-geoip-database-api.html | Elasticsearch API documentation}
|
|
69
69
|
*/
|
|
70
70
|
putGeoipDatabase(this: That, params: T.IngestPutGeoipDatabaseRequest | TB.IngestPutGeoipDatabaseRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestPutGeoipDatabaseResponse>;
|
|
@@ -78,14 +78,14 @@ export default class Ingest {
|
|
|
78
78
|
putIpLocationDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
79
79
|
putIpLocationDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
81
|
+
* Create or update a pipeline. Changes made using this API take effect immediately.
|
|
82
82
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/ingest.html | Elasticsearch API documentation}
|
|
83
83
|
*/
|
|
84
84
|
putPipeline(this: That, params: T.IngestPutPipelineRequest | TB.IngestPutPipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestPutPipelineResponse>;
|
|
85
85
|
putPipeline(this: That, params: T.IngestPutPipelineRequest | TB.IngestPutPipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestPutPipelineResponse, unknown>>;
|
|
86
86
|
putPipeline(this: That, params: T.IngestPutPipelineRequest | TB.IngestPutPipelineRequest, options?: TransportRequestOptions): Promise<T.IngestPutPipelineResponse>;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* Simulate a pipeline. Run an ingest pipeline against a set of provided documents. You can either specify an existing pipeline to use with the provided documents or supply a pipeline definition in the body of the request.
|
|
89
89
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/simulate-pipeline-api.html | Elasticsearch API documentation}
|
|
90
90
|
*/
|
|
91
91
|
simulate(this: That, params: T.IngestSimulateRequest | TB.IngestSimulateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestSimulateResponse>;
|
|
@@ -8,56 +8,56 @@ export default class QueryRules {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Delete a query rule. Delete a query rule within a query ruleset.
|
|
12
12
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-query-rule.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
deleteRule(this: That, params: T.QueryRulesDeleteRuleRequest | TB.QueryRulesDeleteRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesDeleteRuleResponse>;
|
|
15
15
|
deleteRule(this: That, params: T.QueryRulesDeleteRuleRequest | TB.QueryRulesDeleteRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesDeleteRuleResponse, unknown>>;
|
|
16
16
|
deleteRule(this: That, params: T.QueryRulesDeleteRuleRequest | TB.QueryRulesDeleteRuleRequest, options?: TransportRequestOptions): Promise<T.QueryRulesDeleteRuleResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Delete a query ruleset.
|
|
19
19
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-query-ruleset.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
deleteRuleset(this: That, params: T.QueryRulesDeleteRulesetRequest | TB.QueryRulesDeleteRulesetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesDeleteRulesetResponse>;
|
|
22
22
|
deleteRuleset(this: That, params: T.QueryRulesDeleteRulesetRequest | TB.QueryRulesDeleteRulesetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesDeleteRulesetResponse, unknown>>;
|
|
23
23
|
deleteRuleset(this: That, params: T.QueryRulesDeleteRulesetRequest | TB.QueryRulesDeleteRulesetRequest, options?: TransportRequestOptions): Promise<T.QueryRulesDeleteRulesetResponse>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Get a query rule. Get details about a query rule within a query ruleset.
|
|
26
26
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-query-rule.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
getRule(this: That, params: T.QueryRulesGetRuleRequest | TB.QueryRulesGetRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesGetRuleResponse>;
|
|
29
29
|
getRule(this: That, params: T.QueryRulesGetRuleRequest | TB.QueryRulesGetRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesGetRuleResponse, unknown>>;
|
|
30
30
|
getRule(this: That, params: T.QueryRulesGetRuleRequest | TB.QueryRulesGetRuleRequest, options?: TransportRequestOptions): Promise<T.QueryRulesGetRuleResponse>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Get a query ruleset. Get details about a query ruleset.
|
|
33
33
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-query-ruleset.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
getRuleset(this: That, params: T.QueryRulesGetRulesetRequest | TB.QueryRulesGetRulesetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesGetRulesetResponse>;
|
|
36
36
|
getRuleset(this: That, params: T.QueryRulesGetRulesetRequest | TB.QueryRulesGetRulesetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesGetRulesetResponse, unknown>>;
|
|
37
37
|
getRuleset(this: That, params: T.QueryRulesGetRulesetRequest | TB.QueryRulesGetRulesetRequest, options?: TransportRequestOptions): Promise<T.QueryRulesGetRulesetResponse>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Get all query rulesets. Get summarized information about the query rulesets.
|
|
40
40
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/list-query-rulesets.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
listRulesets(this: That, params?: T.QueryRulesListRulesetsRequest | TB.QueryRulesListRulesetsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesListRulesetsResponse>;
|
|
43
43
|
listRulesets(this: That, params?: T.QueryRulesListRulesetsRequest | TB.QueryRulesListRulesetsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesListRulesetsResponse, unknown>>;
|
|
44
44
|
listRulesets(this: That, params?: T.QueryRulesListRulesetsRequest | TB.QueryRulesListRulesetsRequest, options?: TransportRequestOptions): Promise<T.QueryRulesListRulesetsResponse>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Create or update a query rule. Create or update a query rule within a query ruleset.
|
|
47
47
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-query-rule.html | Elasticsearch API documentation}
|
|
48
48
|
*/
|
|
49
49
|
putRule(this: That, params: T.QueryRulesPutRuleRequest | TB.QueryRulesPutRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesPutRuleResponse>;
|
|
50
50
|
putRule(this: That, params: T.QueryRulesPutRuleRequest | TB.QueryRulesPutRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesPutRuleResponse, unknown>>;
|
|
51
51
|
putRule(this: That, params: T.QueryRulesPutRuleRequest | TB.QueryRulesPutRuleRequest, options?: TransportRequestOptions): Promise<T.QueryRulesPutRuleResponse>;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Create or update a query ruleset.
|
|
54
54
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-query-ruleset.html | Elasticsearch API documentation}
|
|
55
55
|
*/
|
|
56
56
|
putRuleset(this: That, params: T.QueryRulesPutRulesetRequest | TB.QueryRulesPutRulesetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesPutRulesetResponse>;
|
|
57
57
|
putRuleset(this: That, params: T.QueryRulesPutRulesetRequest | TB.QueryRulesPutRulesetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.QueryRulesPutRulesetResponse, unknown>>;
|
|
58
58
|
putRuleset(this: That, params: T.QueryRulesPutRulesetRequest | TB.QueryRulesPutRulesetRequest, options?: TransportRequestOptions): Promise<T.QueryRulesPutRulesetResponse>;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Test a query ruleset. Evaluate match criteria against a query ruleset to identify the rules that would match that criteria.
|
|
61
61
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/test-query-ruleset.html | Elasticsearch API documentation}
|
|
62
62
|
*/
|
|
63
63
|
test(this: That, params: T.QueryRulesTestRequest | TB.QueryRulesTestRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.QueryRulesTestResponse>;
|
package/lib/api/api/sql.d.ts
CHANGED
|
@@ -8,42 +8,42 @@ export default class Sql {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Clear an SQL search cursor.
|
|
12
12
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/clear-sql-cursor-api.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
clearCursor(this: That, params: T.SqlClearCursorRequest | TB.SqlClearCursorRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlClearCursorResponse>;
|
|
15
15
|
clearCursor(this: That, params: T.SqlClearCursorRequest | TB.SqlClearCursorRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlClearCursorResponse, unknown>>;
|
|
16
16
|
clearCursor(this: That, params: T.SqlClearCursorRequest | TB.SqlClearCursorRequest, options?: TransportRequestOptions): Promise<T.SqlClearCursorResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Delete an async SQL search. Delete an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.
|
|
19
19
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-async-sql-search-api.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
deleteAsync(this: That, params: T.SqlDeleteAsyncRequest | TB.SqlDeleteAsyncRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlDeleteAsyncResponse>;
|
|
22
22
|
deleteAsync(this: That, params: T.SqlDeleteAsyncRequest | TB.SqlDeleteAsyncRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlDeleteAsyncResponse, unknown>>;
|
|
23
23
|
deleteAsync(this: That, params: T.SqlDeleteAsyncRequest | TB.SqlDeleteAsyncRequest, options?: TransportRequestOptions): Promise<T.SqlDeleteAsyncResponse>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Get async SQL search results. Get the current status and available results for an async SQL search or stored synchronous SQL search.
|
|
26
26
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-async-sql-search-api.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
getAsync(this: That, params: T.SqlGetAsyncRequest | TB.SqlGetAsyncRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlGetAsyncResponse>;
|
|
29
29
|
getAsync(this: That, params: T.SqlGetAsyncRequest | TB.SqlGetAsyncRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlGetAsyncResponse, unknown>>;
|
|
30
30
|
getAsync(this: That, params: T.SqlGetAsyncRequest | TB.SqlGetAsyncRequest, options?: TransportRequestOptions): Promise<T.SqlGetAsyncResponse>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Get the async SQL search status. Get the current status of an async SQL search or a stored synchronous SQL search.
|
|
33
33
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-async-sql-search-status-api.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
getAsyncStatus(this: That, params: T.SqlGetAsyncStatusRequest | TB.SqlGetAsyncStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlGetAsyncStatusResponse>;
|
|
36
36
|
getAsyncStatus(this: That, params: T.SqlGetAsyncStatusRequest | TB.SqlGetAsyncStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlGetAsyncStatusResponse, unknown>>;
|
|
37
37
|
getAsyncStatus(this: That, params: T.SqlGetAsyncStatusRequest | TB.SqlGetAsyncStatusRequest, options?: TransportRequestOptions): Promise<T.SqlGetAsyncStatusResponse>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Get SQL search results. Run an SQL request.
|
|
40
40
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/sql-search-api.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
query(this: That, params?: T.SqlQueryRequest | TB.SqlQueryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlQueryResponse>;
|
|
43
43
|
query(this: That, params?: T.SqlQueryRequest | TB.SqlQueryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlQueryResponse, unknown>>;
|
|
44
44
|
query(this: That, params?: T.SqlQueryRequest | TB.SqlQueryRequest, options?: TransportRequestOptions): Promise<T.SqlQueryResponse>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Translate SQL into Elasticsearch queries. Translate an SQL search into a search API request containing Query DSL.
|
|
47
47
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/sql-translate-api.html | Elasticsearch API documentation}
|
|
48
48
|
*/
|
|
49
49
|
translate(this: That, params: T.SqlTranslateRequest | TB.SqlTranslateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlTranslateResponse>;
|
|
@@ -8,49 +8,49 @@ export default class Synonyms {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
11
|
+
* Delete a synonym set.
|
|
12
12
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-synonyms-set.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
deleteSynonym(this: That, params: T.SynonymsDeleteSynonymRequest | TB.SynonymsDeleteSynonymRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsDeleteSynonymResponse>;
|
|
15
15
|
deleteSynonym(this: That, params: T.SynonymsDeleteSynonymRequest | TB.SynonymsDeleteSynonymRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsDeleteSynonymResponse, unknown>>;
|
|
16
16
|
deleteSynonym(this: That, params: T.SynonymsDeleteSynonymRequest | TB.SynonymsDeleteSynonymRequest, options?: TransportRequestOptions): Promise<T.SynonymsDeleteSynonymResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Delete a synonym rule. Delete a synonym rule from a synonym set.
|
|
19
19
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/delete-synonym-rule.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
deleteSynonymRule(this: That, params: T.SynonymsDeleteSynonymRuleRequest | TB.SynonymsDeleteSynonymRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsDeleteSynonymRuleResponse>;
|
|
22
22
|
deleteSynonymRule(this: That, params: T.SynonymsDeleteSynonymRuleRequest | TB.SynonymsDeleteSynonymRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsDeleteSynonymRuleResponse, unknown>>;
|
|
23
23
|
deleteSynonymRule(this: That, params: T.SynonymsDeleteSynonymRuleRequest | TB.SynonymsDeleteSynonymRuleRequest, options?: TransportRequestOptions): Promise<T.SynonymsDeleteSynonymRuleResponse>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Get a synonym set.
|
|
26
26
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-synonyms-set.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
getSynonym(this: That, params: T.SynonymsGetSynonymRequest | TB.SynonymsGetSynonymRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsGetSynonymResponse>;
|
|
29
29
|
getSynonym(this: That, params: T.SynonymsGetSynonymRequest | TB.SynonymsGetSynonymRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsGetSynonymResponse, unknown>>;
|
|
30
30
|
getSynonym(this: That, params: T.SynonymsGetSynonymRequest | TB.SynonymsGetSynonymRequest, options?: TransportRequestOptions): Promise<T.SynonymsGetSynonymResponse>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Get a synonym rule. Get a synonym rule from a synonym set.
|
|
33
33
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/get-synonym-rule.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
getSynonymRule(this: That, params: T.SynonymsGetSynonymRuleRequest | TB.SynonymsGetSynonymRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsGetSynonymRuleResponse>;
|
|
36
36
|
getSynonymRule(this: That, params: T.SynonymsGetSynonymRuleRequest | TB.SynonymsGetSynonymRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsGetSynonymRuleResponse, unknown>>;
|
|
37
37
|
getSynonymRule(this: That, params: T.SynonymsGetSynonymRuleRequest | TB.SynonymsGetSynonymRuleRequest, options?: TransportRequestOptions): Promise<T.SynonymsGetSynonymRuleResponse>;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Get all synonym sets. Get a summary of all defined synonym sets.
|
|
40
40
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/list-synonyms-sets.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
getSynonymsSets(this: That, params?: T.SynonymsGetSynonymsSetsRequest | TB.SynonymsGetSynonymsSetsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsGetSynonymsSetsResponse>;
|
|
43
43
|
getSynonymsSets(this: That, params?: T.SynonymsGetSynonymsSetsRequest | TB.SynonymsGetSynonymsSetsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsGetSynonymsSetsResponse, unknown>>;
|
|
44
44
|
getSynonymsSets(this: That, params?: T.SynonymsGetSynonymsSetsRequest | TB.SynonymsGetSynonymsSetsRequest, options?: TransportRequestOptions): Promise<T.SynonymsGetSynonymsSetsResponse>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Create or update a synonym set. Synonyms sets are limited to a maximum of 10,000 synonym rules per set. If you need to manage more synonym rules, you can create multiple synonym sets.
|
|
47
47
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-synonyms-set.html | Elasticsearch API documentation}
|
|
48
48
|
*/
|
|
49
49
|
putSynonym(this: That, params: T.SynonymsPutSynonymRequest | TB.SynonymsPutSynonymRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsPutSynonymResponse>;
|
|
50
50
|
putSynonym(this: That, params: T.SynonymsPutSynonymRequest | TB.SynonymsPutSynonymRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsPutSynonymResponse, unknown>>;
|
|
51
51
|
putSynonym(this: That, params: T.SynonymsPutSynonymRequest | TB.SynonymsPutSynonymRequest, options?: TransportRequestOptions): Promise<T.SynonymsPutSynonymResponse>;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
* Create or update a synonym rule. Create or update a synonym rule in a synonym set.
|
|
54
54
|
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.16/put-synonym-rule.html | Elasticsearch API documentation}
|
|
55
55
|
*/
|
|
56
56
|
putSynonymRule(this: That, params: T.SynonymsPutSynonymRuleRequest | TB.SynonymsPutSynonymRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsPutSynonymRuleResponse>;
|
package/lib/api/types.d.ts
CHANGED
|
@@ -747,6 +747,7 @@ export interface OpenPointInTimeRequest extends RequestBase {
|
|
|
747
747
|
preference?: string;
|
|
748
748
|
routing?: Routing;
|
|
749
749
|
expand_wildcards?: ExpandWildcards;
|
|
750
|
+
allow_partial_search_results?: boolean;
|
|
750
751
|
index_filter?: QueryDslQueryContainer;
|
|
751
752
|
}
|
|
752
753
|
export interface OpenPointInTimeResponse {
|
|
@@ -5583,6 +5584,7 @@ export interface AsyncSearchGetRequest extends RequestBase {
|
|
|
5583
5584
|
export type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
|
|
5584
5585
|
export interface AsyncSearchStatusRequest extends RequestBase {
|
|
5585
5586
|
id: Id;
|
|
5587
|
+
keep_alive?: Duration;
|
|
5586
5588
|
}
|
|
5587
5589
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5588
5590
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
@@ -5613,7 +5615,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5613
5615
|
pre_filter_shard_size?: long;
|
|
5614
5616
|
request_cache?: boolean;
|
|
5615
5617
|
routing?: Routing;
|
|
5616
|
-
scroll?: Duration;
|
|
5617
5618
|
search_type?: SearchType;
|
|
5618
5619
|
suggest_field?: Field;
|
|
5619
5620
|
suggest_mode?: SuggestMode;
|
|
@@ -5666,6 +5667,8 @@ export interface AutoscalingAutoscalingPolicy {
|
|
|
5666
5667
|
}
|
|
5667
5668
|
export interface AutoscalingDeleteAutoscalingPolicyRequest extends RequestBase {
|
|
5668
5669
|
name: Name;
|
|
5670
|
+
master_timeout?: Duration;
|
|
5671
|
+
timeout?: Duration;
|
|
5669
5672
|
}
|
|
5670
5673
|
export type AutoscalingDeleteAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
5671
5674
|
export interface AutoscalingGetAutoscalingCapacityAutoscalingCapacity {
|
|
@@ -5691,16 +5694,20 @@ export interface AutoscalingGetAutoscalingCapacityAutoscalingResources {
|
|
|
5691
5694
|
memory: integer;
|
|
5692
5695
|
}
|
|
5693
5696
|
export interface AutoscalingGetAutoscalingCapacityRequest extends RequestBase {
|
|
5697
|
+
master_timeout?: Duration;
|
|
5694
5698
|
}
|
|
5695
5699
|
export interface AutoscalingGetAutoscalingCapacityResponse {
|
|
5696
5700
|
policies: Record<string, AutoscalingGetAutoscalingCapacityAutoscalingDeciders>;
|
|
5697
5701
|
}
|
|
5698
5702
|
export interface AutoscalingGetAutoscalingPolicyRequest extends RequestBase {
|
|
5699
5703
|
name: Name;
|
|
5704
|
+
master_timeout?: Duration;
|
|
5700
5705
|
}
|
|
5701
5706
|
export type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy;
|
|
5702
5707
|
export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
|
|
5703
5708
|
name: Name;
|
|
5709
|
+
master_timeout?: Duration;
|
|
5710
|
+
timeout?: Duration;
|
|
5704
5711
|
policy?: AutoscalingAutoscalingPolicy;
|
|
5705
5712
|
}
|
|
5706
5713
|
export type AutoscalingPutAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
@@ -11412,10 +11419,12 @@ export interface LogstashPutPipelineRequest extends RequestBase {
|
|
|
11412
11419
|
}
|
|
11413
11420
|
export type LogstashPutPipelineResponse = boolean;
|
|
11414
11421
|
export interface MigrationDeprecationsDeprecation {
|
|
11415
|
-
details
|
|
11422
|
+
details?: string;
|
|
11416
11423
|
level: MigrationDeprecationsDeprecationLevel;
|
|
11417
11424
|
message: string;
|
|
11418
11425
|
url: string;
|
|
11426
|
+
resolve_during_rolling_upgrade: boolean;
|
|
11427
|
+
_meta?: Record<string, any>;
|
|
11419
11428
|
}
|
|
11420
11429
|
export type MigrationDeprecationsDeprecationLevel = 'none' | 'info' | 'warning' | 'critical';
|
|
11421
11430
|
export interface MigrationDeprecationsRequest extends RequestBase {
|
|
@@ -14134,7 +14143,7 @@ export interface NodesInfoNodeInfoPath {
|
|
|
14134
14143
|
logs?: string;
|
|
14135
14144
|
home?: string;
|
|
14136
14145
|
repo?: string[];
|
|
14137
|
-
data?: string[];
|
|
14146
|
+
data?: string | string[];
|
|
14138
14147
|
}
|
|
14139
14148
|
export interface NodesInfoNodeInfoRepositories {
|
|
14140
14149
|
url: NodesInfoNodeInfoRepositoriesUrl;
|
|
@@ -14430,6 +14439,7 @@ export interface QueryRulesListRulesetsQueryRulesetListItem {
|
|
|
14430
14439
|
ruleset_id: Id;
|
|
14431
14440
|
rule_total_count: integer;
|
|
14432
14441
|
rule_criteria_types_counts: Record<string, integer>;
|
|
14442
|
+
rule_type_counts: Record<string, integer>;
|
|
14433
14443
|
}
|
|
14434
14444
|
export interface QueryRulesListRulesetsRequest extends RequestBase {
|
|
14435
14445
|
from?: integer;
|
|
@@ -14753,20 +14763,24 @@ export interface SecurityAccess {
|
|
|
14753
14763
|
search?: SecuritySearchAccess[];
|
|
14754
14764
|
}
|
|
14755
14765
|
export interface SecurityApiKey {
|
|
14756
|
-
creation?: long;
|
|
14757
|
-
expiration?: long;
|
|
14758
14766
|
id: Id;
|
|
14759
|
-
invalidated?: boolean;
|
|
14760
14767
|
name: Name;
|
|
14761
|
-
|
|
14768
|
+
type: SecurityApiKeyType;
|
|
14769
|
+
creation: EpochTime<UnitMillis>;
|
|
14770
|
+
expiration?: EpochTime<UnitMillis>;
|
|
14771
|
+
invalidated: boolean;
|
|
14772
|
+
invalidation?: EpochTime<UnitMillis>;
|
|
14773
|
+
username: Username;
|
|
14774
|
+
realm: string;
|
|
14762
14775
|
realm_type?: string;
|
|
14763
|
-
|
|
14764
|
-
profile_uid?: string;
|
|
14765
|
-
metadata?: Metadata;
|
|
14776
|
+
metadata: Metadata;
|
|
14766
14777
|
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
14767
14778
|
limited_by?: Record<string, SecurityRoleDescriptor>[];
|
|
14779
|
+
access?: SecurityAccess;
|
|
14780
|
+
profile_uid?: string;
|
|
14768
14781
|
_sort?: SortResults;
|
|
14769
14782
|
}
|
|
14783
|
+
export type SecurityApiKeyType = 'rest' | 'cross_cluster';
|
|
14770
14784
|
export interface SecurityApplicationGlobalUserPrivileges {
|
|
14771
14785
|
manage: SecurityManageUserPrivileges;
|
|
14772
14786
|
}
|
|
@@ -14931,10 +14945,14 @@ export interface SecurityActivateUserProfileRequest extends RequestBase {
|
|
|
14931
14945
|
username?: string;
|
|
14932
14946
|
}
|
|
14933
14947
|
export type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
|
|
14948
|
+
export interface SecurityAuthenticateAuthenticateApiKey {
|
|
14949
|
+
id: Id;
|
|
14950
|
+
name?: Name;
|
|
14951
|
+
}
|
|
14934
14952
|
export interface SecurityAuthenticateRequest extends RequestBase {
|
|
14935
14953
|
}
|
|
14936
14954
|
export interface SecurityAuthenticateResponse {
|
|
14937
|
-
api_key?:
|
|
14955
|
+
api_key?: SecurityAuthenticateAuthenticateApiKey;
|
|
14938
14956
|
authentication_realm: SecurityRealmInfo;
|
|
14939
14957
|
email?: string | null;
|
|
14940
14958
|
full_name?: Name | null;
|
|
@@ -780,6 +780,7 @@ export interface OpenPointInTimeRequest extends RequestBase {
|
|
|
780
780
|
preference?: string;
|
|
781
781
|
routing?: Routing;
|
|
782
782
|
expand_wildcards?: ExpandWildcards;
|
|
783
|
+
allow_partial_search_results?: boolean;
|
|
783
784
|
/** @deprecated The use of the 'body' key has been deprecated, move the nested keys to the top level object. */
|
|
784
785
|
body?: {
|
|
785
786
|
index_filter?: QueryDslQueryContainer;
|
|
@@ -5659,6 +5660,7 @@ export interface AsyncSearchGetRequest extends RequestBase {
|
|
|
5659
5660
|
export type AsyncSearchGetResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = AsyncSearchAsyncSearchDocumentResponseBase<TDocument, TAggregations>;
|
|
5660
5661
|
export interface AsyncSearchStatusRequest extends RequestBase {
|
|
5661
5662
|
id: Id;
|
|
5663
|
+
keep_alive?: Duration;
|
|
5662
5664
|
}
|
|
5663
5665
|
export type AsyncSearchStatusResponse = AsyncSearchStatusStatusResponseBase;
|
|
5664
5666
|
export interface AsyncSearchStatusStatusResponseBase extends AsyncSearchAsyncSearchResponseBase {
|
|
@@ -5689,7 +5691,6 @@ export interface AsyncSearchSubmitRequest extends RequestBase {
|
|
|
5689
5691
|
pre_filter_shard_size?: long;
|
|
5690
5692
|
request_cache?: boolean;
|
|
5691
5693
|
routing?: Routing;
|
|
5692
|
-
scroll?: Duration;
|
|
5693
5694
|
search_type?: SearchType;
|
|
5694
5695
|
suggest_field?: Field;
|
|
5695
5696
|
suggest_mode?: SuggestMode;
|
|
@@ -5745,6 +5746,8 @@ export interface AutoscalingAutoscalingPolicy {
|
|
|
5745
5746
|
}
|
|
5746
5747
|
export interface AutoscalingDeleteAutoscalingPolicyRequest extends RequestBase {
|
|
5747
5748
|
name: Name;
|
|
5749
|
+
master_timeout?: Duration;
|
|
5750
|
+
timeout?: Duration;
|
|
5748
5751
|
}
|
|
5749
5752
|
export type AutoscalingDeleteAutoscalingPolicyResponse = AcknowledgedResponseBase;
|
|
5750
5753
|
export interface AutoscalingGetAutoscalingCapacityAutoscalingCapacity {
|
|
@@ -5770,16 +5773,20 @@ export interface AutoscalingGetAutoscalingCapacityAutoscalingResources {
|
|
|
5770
5773
|
memory: integer;
|
|
5771
5774
|
}
|
|
5772
5775
|
export interface AutoscalingGetAutoscalingCapacityRequest extends RequestBase {
|
|
5776
|
+
master_timeout?: Duration;
|
|
5773
5777
|
}
|
|
5774
5778
|
export interface AutoscalingGetAutoscalingCapacityResponse {
|
|
5775
5779
|
policies: Record<string, AutoscalingGetAutoscalingCapacityAutoscalingDeciders>;
|
|
5776
5780
|
}
|
|
5777
5781
|
export interface AutoscalingGetAutoscalingPolicyRequest extends RequestBase {
|
|
5778
5782
|
name: Name;
|
|
5783
|
+
master_timeout?: Duration;
|
|
5779
5784
|
}
|
|
5780
5785
|
export type AutoscalingGetAutoscalingPolicyResponse = AutoscalingAutoscalingPolicy;
|
|
5781
5786
|
export interface AutoscalingPutAutoscalingPolicyRequest extends RequestBase {
|
|
5782
5787
|
name: Name;
|
|
5788
|
+
master_timeout?: Duration;
|
|
5789
|
+
timeout?: Duration;
|
|
5783
5790
|
/** @deprecated The use of the 'body' key has been deprecated, use 'policy' instead. */
|
|
5784
5791
|
body?: AutoscalingAutoscalingPolicy;
|
|
5785
5792
|
}
|
|
@@ -11653,10 +11660,12 @@ export interface LogstashPutPipelineRequest extends RequestBase {
|
|
|
11653
11660
|
}
|
|
11654
11661
|
export type LogstashPutPipelineResponse = boolean;
|
|
11655
11662
|
export interface MigrationDeprecationsDeprecation {
|
|
11656
|
-
details
|
|
11663
|
+
details?: string;
|
|
11657
11664
|
level: MigrationDeprecationsDeprecationLevel;
|
|
11658
11665
|
message: string;
|
|
11659
11666
|
url: string;
|
|
11667
|
+
resolve_during_rolling_upgrade: boolean;
|
|
11668
|
+
_meta?: Record<string, any>;
|
|
11660
11669
|
}
|
|
11661
11670
|
export type MigrationDeprecationsDeprecationLevel = 'none' | 'info' | 'warning' | 'critical';
|
|
11662
11671
|
export interface MigrationDeprecationsRequest extends RequestBase {
|
|
@@ -14489,7 +14498,7 @@ export interface NodesInfoNodeInfoPath {
|
|
|
14489
14498
|
logs?: string;
|
|
14490
14499
|
home?: string;
|
|
14491
14500
|
repo?: string[];
|
|
14492
|
-
data?: string[];
|
|
14501
|
+
data?: string | string[];
|
|
14493
14502
|
}
|
|
14494
14503
|
export interface NodesInfoNodeInfoRepositories {
|
|
14495
14504
|
url: NodesInfoNodeInfoRepositoriesUrl;
|
|
@@ -14788,6 +14797,7 @@ export interface QueryRulesListRulesetsQueryRulesetListItem {
|
|
|
14788
14797
|
ruleset_id: Id;
|
|
14789
14798
|
rule_total_count: integer;
|
|
14790
14799
|
rule_criteria_types_counts: Record<string, integer>;
|
|
14800
|
+
rule_type_counts: Record<string, integer>;
|
|
14791
14801
|
}
|
|
14792
14802
|
export interface QueryRulesListRulesetsRequest extends RequestBase {
|
|
14793
14803
|
from?: integer;
|
|
@@ -15133,20 +15143,24 @@ export interface SecurityAccess {
|
|
|
15133
15143
|
search?: SecuritySearchAccess[];
|
|
15134
15144
|
}
|
|
15135
15145
|
export interface SecurityApiKey {
|
|
15136
|
-
creation?: long;
|
|
15137
|
-
expiration?: long;
|
|
15138
15146
|
id: Id;
|
|
15139
|
-
invalidated?: boolean;
|
|
15140
15147
|
name: Name;
|
|
15141
|
-
|
|
15148
|
+
type: SecurityApiKeyType;
|
|
15149
|
+
creation: EpochTime<UnitMillis>;
|
|
15150
|
+
expiration?: EpochTime<UnitMillis>;
|
|
15151
|
+
invalidated: boolean;
|
|
15152
|
+
invalidation?: EpochTime<UnitMillis>;
|
|
15153
|
+
username: Username;
|
|
15154
|
+
realm: string;
|
|
15142
15155
|
realm_type?: string;
|
|
15143
|
-
|
|
15144
|
-
profile_uid?: string;
|
|
15145
|
-
metadata?: Metadata;
|
|
15156
|
+
metadata: Metadata;
|
|
15146
15157
|
role_descriptors?: Record<string, SecurityRoleDescriptor>;
|
|
15147
15158
|
limited_by?: Record<string, SecurityRoleDescriptor>[];
|
|
15159
|
+
access?: SecurityAccess;
|
|
15160
|
+
profile_uid?: string;
|
|
15148
15161
|
_sort?: SortResults;
|
|
15149
15162
|
}
|
|
15163
|
+
export type SecurityApiKeyType = 'rest' | 'cross_cluster';
|
|
15150
15164
|
export interface SecurityApplicationGlobalUserPrivileges {
|
|
15151
15165
|
manage: SecurityManageUserPrivileges;
|
|
15152
15166
|
}
|
|
@@ -15314,10 +15328,14 @@ export interface SecurityActivateUserProfileRequest extends RequestBase {
|
|
|
15314
15328
|
};
|
|
15315
15329
|
}
|
|
15316
15330
|
export type SecurityActivateUserProfileResponse = SecurityUserProfileWithMetadata;
|
|
15331
|
+
export interface SecurityAuthenticateAuthenticateApiKey {
|
|
15332
|
+
id: Id;
|
|
15333
|
+
name?: Name;
|
|
15334
|
+
}
|
|
15317
15335
|
export interface SecurityAuthenticateRequest extends RequestBase {
|
|
15318
15336
|
}
|
|
15319
15337
|
export interface SecurityAuthenticateResponse {
|
|
15320
|
-
api_key?:
|
|
15338
|
+
api_key?: SecurityAuthenticateAuthenticateApiKey;
|
|
15321
15339
|
authentication_realm: SecurityRealmInfo;
|
|
15322
15340
|
email?: string | null;
|
|
15323
15341
|
full_name?: Name | null;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/elasticsearch",
|
|
3
|
-
"version": "8.16.
|
|
4
|
-
"versionCanary": "8.16.
|
|
3
|
+
"version": "8.16.3",
|
|
4
|
+
"versionCanary": "8.16.3-canary.0",
|
|
5
5
|
"description": "The official Elasticsearch client for Node.js",
|
|
6
6
|
"main": "./index.js",
|
|
7
7
|
"types": "index.d.ts",
|