@elastic/elasticsearch 8.14.1 → 8.15.0
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/catalog-info.yaml +9 -9
- package/lib/api/api/async_search.d.ts +8 -8
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +2 -2
- package/lib/api/api/capabilities.d.ts +14 -0
- package/lib/api/api/capabilities.js +42 -0
- package/lib/api/api/capabilities.js.map +1 -0
- package/lib/api/api/cat.d.ts +51 -51
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +2 -2
- package/lib/api/api/close_point_in_time.d.ts +2 -2
- package/lib/api/api/cluster.d.ts +24 -24
- package/lib/api/api/connector.d.ts +67 -53
- package/lib/api/api/connector.js +59 -3
- package/lib/api/api/connector.js.map +1 -1
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +2 -2
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +2 -2
- package/lib/api/api/delete_by_query.d.ts +2 -2
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +2 -2
- package/lib/api/api/enrich.d.ts +8 -8
- package/lib/api/api/eql.d.ts +7 -7
- package/lib/api/api/esql.d.ts +4 -4
- package/lib/api/api/exists.d.ts +2 -2
- package/lib/api/api/exists_source.d.ts +2 -2
- package/lib/api/api/explain.d.ts +2 -2
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/field_caps.d.ts +2 -2
- package/lib/api/api/fleet.d.ts +3 -3
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +2 -2
- package/lib/api/api/get_script_context.d.ts +1 -1
- package/lib/api/api/get_script_languages.d.ts +1 -1
- package/lib/api/api/get_source.d.ts +1 -1
- package/lib/api/api/graph.d.ts +2 -2
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +16 -16
- package/lib/api/api/index.d.ts +2 -2
- package/lib/api/api/indices.d.ts +111 -111
- package/lib/api/api/inference.d.ts +17 -17
- package/lib/api/api/inference.js +8 -7
- package/lib/api/api/inference.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +33 -12
- package/lib/api/api/ingest.js +77 -0
- package/lib/api/api/ingest.js.map +1 -1
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/license.d.ts +10 -10
- package/lib/api/api/logstash.d.ts +6 -6
- package/lib/api/api/mget.d.ts +1 -1
- package/lib/api/api/migration.d.ts +3 -3
- package/lib/api/api/ml.d.ts +131 -131
- package/lib/api/api/monitoring.d.ts +1 -1
- package/lib/api/api/msearch.d.ts +1 -1
- package/lib/api/api/msearch_template.d.ts +2 -2
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +14 -14
- package/lib/api/api/open_point_in_time.d.ts +2 -2
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/profiling.d.ts +4 -4
- package/lib/api/api/put_script.d.ts +2 -2
- package/lib/api/api/query_rules.d.ts +60 -0
- package/lib/api/api/{query_ruleset.js → query_rules.js} +97 -11
- package/lib/api/api/query_rules.js.map +1 -0
- package/lib/api/api/rank_eval.d.ts +2 -2
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +2 -2
- package/lib/api/api/render_search_template.d.ts +2 -2
- package/lib/api/api/rollup.d.ts +10 -10
- package/lib/api/api/scripts_painless_execute.d.ts +2 -2
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +2 -2
- package/lib/api/api/search_application.d.ts +11 -11
- package/lib/api/api/search_mvt.d.ts +1 -1
- package/lib/api/api/search_shards.d.ts +1 -1
- package/lib/api/api/search_template.d.ts +2 -2
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +108 -87
- package/lib/api/api/security.js +121 -3
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/simulate.d.ts +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +13 -13
- package/lib/api/api/sql.d.ts +6 -6
- package/lib/api/api/ssl.d.ts +1 -1
- package/lib/api/api/synonyms.d.ts +8 -8
- package/lib/api/api/tasks.d.ts +4 -4
- package/lib/api/api/terms_enum.d.ts +1 -1
- package/lib/api/api/termvectors.d.ts +1 -1
- package/lib/api/api/text_structure.d.ts +4 -4
- package/lib/api/api/transform.d.ts +26 -19
- package/lib/api/api/transform.js +20 -0
- package/lib/api/api/transform.js.map +1 -1
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +2 -2
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +14 -14
- package/lib/api/api/xpack.d.ts +4 -4
- package/lib/api/index.d.ts +6 -4
- package/lib/api/index.js +8 -6
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +418 -215
- package/lib/api/typesWithBodyKey.d.ts +434 -216
- package/package.json +3 -3
- package/lib/api/api/query_ruleset.d.ts +0 -39
- package/lib/api/api/query_ruleset.js.map +0 -1
|
@@ -8,32 +8,32 @@ export default class Inference {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
* Delete
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
11
|
+
* Delete an inference endpoint
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-inference-api.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
delete(this: That, params: T.InferenceDeleteRequest | TB.InferenceDeleteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.InferenceDeleteResponse>;
|
|
15
|
+
delete(this: That, params: T.InferenceDeleteRequest | TB.InferenceDeleteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.InferenceDeleteResponse, unknown>>;
|
|
16
|
+
delete(this: That, params: T.InferenceDeleteRequest | TB.InferenceDeleteRequest, options?: TransportRequestOptions): Promise<T.InferenceDeleteResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Get
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
18
|
+
* Get an inference endpoint
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-inference-api.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
get(this: That, params?: T.InferenceGetRequest | TB.InferenceGetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.InferenceGetResponse>;
|
|
22
|
+
get(this: That, params?: T.InferenceGetRequest | TB.InferenceGetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.InferenceGetResponse, unknown>>;
|
|
23
|
+
get(this: That, params?: T.InferenceGetRequest | TB.InferenceGetRequest, options?: TransportRequestOptions): Promise<T.InferenceGetResponse>;
|
|
24
24
|
/**
|
|
25
|
-
* Perform inference on
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
25
|
+
* Perform inference on the service
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/post-inference-api.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
inference(this: That, params: T.InferenceInferenceRequest | TB.InferenceInferenceRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.InferenceInferenceResponse>;
|
|
29
29
|
inference(this: That, params: T.InferenceInferenceRequest | TB.InferenceInferenceRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.InferenceInferenceResponse, unknown>>;
|
|
30
30
|
inference(this: That, params: T.InferenceInferenceRequest | TB.InferenceInferenceRequest, options?: TransportRequestOptions): Promise<T.InferenceInferenceResponse>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
32
|
+
* Create an inference endpoint
|
|
33
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-inference-api.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
35
|
+
put(this: That, params: T.InferencePutRequest | TB.InferencePutRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.InferencePutResponse>;
|
|
36
|
+
put(this: That, params: T.InferencePutRequest | TB.InferencePutRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.InferencePutResponse, unknown>>;
|
|
37
|
+
put(this: That, params: T.InferencePutRequest | TB.InferencePutRequest, options?: TransportRequestOptions): Promise<T.InferencePutResponse>;
|
|
38
38
|
}
|
|
39
39
|
export {};
|
package/lib/api/api/inference.js
CHANGED
|
@@ -28,7 +28,7 @@ class Inference {
|
|
|
28
28
|
});
|
|
29
29
|
this.transport = transport;
|
|
30
30
|
}
|
|
31
|
-
async
|
|
31
|
+
async delete(params, options) {
|
|
32
32
|
const acceptedPath = ['task_type', 'inference_id'];
|
|
33
33
|
const querystring = {};
|
|
34
34
|
const body = undefined;
|
|
@@ -52,7 +52,7 @@ class Inference {
|
|
|
52
52
|
path = `/_inference/${encodeURIComponent(params.inference_id.toString())}`;
|
|
53
53
|
}
|
|
54
54
|
const meta = {
|
|
55
|
-
name: 'inference.
|
|
55
|
+
name: 'inference.delete',
|
|
56
56
|
pathParts: {
|
|
57
57
|
task_type: params.task_type,
|
|
58
58
|
inference_id: params.inference_id
|
|
@@ -60,10 +60,11 @@ class Inference {
|
|
|
60
60
|
};
|
|
61
61
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
62
62
|
}
|
|
63
|
-
async
|
|
63
|
+
async get(params, options) {
|
|
64
64
|
const acceptedPath = ['task_type', 'inference_id'];
|
|
65
65
|
const querystring = {};
|
|
66
66
|
const body = undefined;
|
|
67
|
+
params = params !== null && params !== void 0 ? params : {};
|
|
67
68
|
for (const key in params) {
|
|
68
69
|
if (acceptedPath.includes(key)) {
|
|
69
70
|
continue;
|
|
@@ -88,7 +89,7 @@ class Inference {
|
|
|
88
89
|
path = '/_inference';
|
|
89
90
|
}
|
|
90
91
|
const meta = {
|
|
91
|
-
name: 'inference.
|
|
92
|
+
name: 'inference.get',
|
|
92
93
|
pathParts: {
|
|
93
94
|
task_type: params.task_type,
|
|
94
95
|
inference_id: params.inference_id
|
|
@@ -142,10 +143,10 @@ class Inference {
|
|
|
142
143
|
};
|
|
143
144
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
144
145
|
}
|
|
145
|
-
async
|
|
146
|
+
async put(params, options) {
|
|
146
147
|
var _a;
|
|
147
148
|
const acceptedPath = ['task_type', 'inference_id'];
|
|
148
|
-
const acceptedBody = ['
|
|
149
|
+
const acceptedBody = ['inference_config'];
|
|
149
150
|
const querystring = {};
|
|
150
151
|
// @ts-expect-error
|
|
151
152
|
let body = (_a = params.body) !== null && _a !== void 0 ? _a : undefined;
|
|
@@ -173,7 +174,7 @@ class Inference {
|
|
|
173
174
|
path = `/_inference/${encodeURIComponent(params.inference_id.toString())}`;
|
|
174
175
|
}
|
|
175
176
|
const meta = {
|
|
176
|
-
name: 'inference.
|
|
177
|
+
name: 'inference.put',
|
|
177
178
|
pathParts: {
|
|
178
179
|
task_type: params.task_type,
|
|
179
180
|
inference_id: params.inference_id
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"inference.js","sourceRoot":"","sources":["../../../src/api/api/inference.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,SAAS;IAE5B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,
|
|
1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/lib/api/api/info.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Returns basic information about the cluster.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/index.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function InfoApi(this: That, params?: T.InfoRequest | TB.InfoRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.InfoResponse>;
|
|
12
12
|
export default function InfoApi(this: That, params?: T.InfoRequest | TB.InfoRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.InfoResponse, unknown>>;
|
package/lib/api/api/ingest.d.ts
CHANGED
|
@@ -8,43 +8,64 @@ export default class Ingest {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
* Deletes a
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
11
|
+
* Deletes a geoip database configuration
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html | Elasticsearch API documentation}
|
|
13
|
+
*/
|
|
14
|
+
deleteGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
15
|
+
deleteGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
16
|
+
deleteGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
17
|
+
/**
|
|
18
|
+
* Deletes one or more existing ingest pipeline.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-pipeline-api.html | Elasticsearch API documentation}
|
|
13
20
|
*/
|
|
14
21
|
deletePipeline(this: That, params: T.IngestDeletePipelineRequest | TB.IngestDeletePipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestDeletePipelineResponse>;
|
|
15
22
|
deletePipeline(this: That, params: T.IngestDeletePipelineRequest | TB.IngestDeletePipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestDeletePipelineResponse, unknown>>;
|
|
16
23
|
deletePipeline(this: That, params: T.IngestDeletePipelineRequest | TB.IngestDeletePipelineRequest, options?: TransportRequestOptions): Promise<T.IngestDeletePipelineResponse>;
|
|
17
24
|
/**
|
|
18
|
-
*
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
25
|
+
* Gets download statistics for GeoIP2 databases used with the geoip processor.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/geoip-processor.html | Elasticsearch API documentation}
|
|
20
27
|
*/
|
|
21
28
|
geoIpStats(this: That, params?: T.IngestGeoIpStatsRequest | TB.IngestGeoIpStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestGeoIpStatsResponse>;
|
|
22
29
|
geoIpStats(this: That, params?: T.IngestGeoIpStatsRequest | TB.IngestGeoIpStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestGeoIpStatsResponse, unknown>>;
|
|
23
30
|
geoIpStats(this: That, params?: T.IngestGeoIpStatsRequest | TB.IngestGeoIpStatsRequest, options?: TransportRequestOptions): Promise<T.IngestGeoIpStatsResponse>;
|
|
24
31
|
/**
|
|
25
|
-
* Returns
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
32
|
+
* Returns geoip database configuration.
|
|
33
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html | Elasticsearch API documentation}
|
|
34
|
+
*/
|
|
35
|
+
getGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
36
|
+
getGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
37
|
+
getGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
38
|
+
/**
|
|
39
|
+
* Returns information about one or more ingest pipelines. This API returns a local reference of the pipeline.
|
|
40
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-pipeline-api.html | Elasticsearch API documentation}
|
|
27
41
|
*/
|
|
28
42
|
getPipeline(this: That, params?: T.IngestGetPipelineRequest | TB.IngestGetPipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestGetPipelineResponse>;
|
|
29
43
|
getPipeline(this: That, params?: T.IngestGetPipelineRequest | TB.IngestGetPipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestGetPipelineResponse, unknown>>;
|
|
30
44
|
getPipeline(this: That, params?: T.IngestGetPipelineRequest | TB.IngestGetPipelineRequest, options?: TransportRequestOptions): Promise<T.IngestGetPipelineResponse>;
|
|
31
45
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
46
|
+
* Extracts structured fields out of a single text field within a document. You 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.
|
|
47
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/grok-processor.html | Elasticsearch API documentation}
|
|
34
48
|
*/
|
|
35
49
|
processorGrok(this: That, params?: T.IngestProcessorGrokRequest | TB.IngestProcessorGrokRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestProcessorGrokResponse>;
|
|
36
50
|
processorGrok(this: That, params?: T.IngestProcessorGrokRequest | TB.IngestProcessorGrokRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestProcessorGrokResponse, unknown>>;
|
|
37
51
|
processorGrok(this: That, params?: T.IngestProcessorGrokRequest | TB.IngestProcessorGrokRequest, options?: TransportRequestOptions): Promise<T.IngestProcessorGrokResponse>;
|
|
38
52
|
/**
|
|
39
|
-
*
|
|
40
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
53
|
+
* Puts the configuration for a geoip database to be downloaded
|
|
54
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/TODO.html | Elasticsearch API documentation}
|
|
55
|
+
*/
|
|
56
|
+
putGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
57
|
+
putGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
58
|
+
putGeoipDatabase(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
59
|
+
/**
|
|
60
|
+
* Creates or updates an ingest pipeline. Changes made using this API take effect immediately.
|
|
61
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/ingest.html | Elasticsearch API documentation}
|
|
41
62
|
*/
|
|
42
63
|
putPipeline(this: That, params: T.IngestPutPipelineRequest | TB.IngestPutPipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestPutPipelineResponse>;
|
|
43
64
|
putPipeline(this: That, params: T.IngestPutPipelineRequest | TB.IngestPutPipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestPutPipelineResponse, unknown>>;
|
|
44
65
|
putPipeline(this: That, params: T.IngestPutPipelineRequest | TB.IngestPutPipelineRequest, options?: TransportRequestOptions): Promise<T.IngestPutPipelineResponse>;
|
|
45
66
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
67
|
+
* Executes an ingest pipeline against a set of provided documents.
|
|
68
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/simulate-pipeline-api.html | Elasticsearch API documentation}
|
|
48
69
|
*/
|
|
49
70
|
simulate(this: That, params?: T.IngestSimulateRequest | TB.IngestSimulateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.IngestSimulateResponse>;
|
|
50
71
|
simulate(this: That, params?: T.IngestSimulateRequest | TB.IngestSimulateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.IngestSimulateResponse, unknown>>;
|
package/lib/api/api/ingest.js
CHANGED
|
@@ -28,6 +28,29 @@ class Ingest {
|
|
|
28
28
|
});
|
|
29
29
|
this.transport = transport;
|
|
30
30
|
}
|
|
31
|
+
async deleteGeoipDatabase(params, options) {
|
|
32
|
+
const acceptedPath = ['id'];
|
|
33
|
+
const querystring = {};
|
|
34
|
+
const body = undefined;
|
|
35
|
+
params = params !== null && params !== void 0 ? params : {};
|
|
36
|
+
for (const key in params) {
|
|
37
|
+
if (acceptedPath.includes(key)) {
|
|
38
|
+
continue;
|
|
39
|
+
}
|
|
40
|
+
else if (key !== 'body') {
|
|
41
|
+
querystring[key] = params[key];
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
const method = 'DELETE';
|
|
45
|
+
const path = `/_ingest/geoip/database/${encodeURIComponent(params.id.toString())}`;
|
|
46
|
+
const meta = {
|
|
47
|
+
name: 'ingest.delete_geoip_database',
|
|
48
|
+
pathParts: {
|
|
49
|
+
id: params.id
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
53
|
+
}
|
|
31
54
|
async deletePipeline(params, options) {
|
|
32
55
|
const acceptedPath = ['id'];
|
|
33
56
|
const querystring = {};
|
|
@@ -72,6 +95,37 @@ class Ingest {
|
|
|
72
95
|
};
|
|
73
96
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
74
97
|
}
|
|
98
|
+
async getGeoipDatabase(params, options) {
|
|
99
|
+
const acceptedPath = ['id'];
|
|
100
|
+
const querystring = {};
|
|
101
|
+
const body = undefined;
|
|
102
|
+
params = params !== null && params !== void 0 ? params : {};
|
|
103
|
+
for (const key in params) {
|
|
104
|
+
if (acceptedPath.includes(key)) {
|
|
105
|
+
continue;
|
|
106
|
+
}
|
|
107
|
+
else if (key !== 'body') {
|
|
108
|
+
querystring[key] = params[key];
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
let method = '';
|
|
112
|
+
let path = '';
|
|
113
|
+
if (params.id != null) {
|
|
114
|
+
method = 'GET';
|
|
115
|
+
path = `/_ingest/geoip/database/${encodeURIComponent(params.id.toString())}`;
|
|
116
|
+
}
|
|
117
|
+
else {
|
|
118
|
+
method = 'GET';
|
|
119
|
+
path = '/_ingest/geoip/database';
|
|
120
|
+
}
|
|
121
|
+
const meta = {
|
|
122
|
+
name: 'ingest.get_geoip_database',
|
|
123
|
+
pathParts: {
|
|
124
|
+
id: params.id
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
128
|
+
}
|
|
75
129
|
async getPipeline(params, options) {
|
|
76
130
|
const acceptedPath = ['id'];
|
|
77
131
|
const querystring = {};
|
|
@@ -125,6 +179,29 @@ class Ingest {
|
|
|
125
179
|
};
|
|
126
180
|
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
127
181
|
}
|
|
182
|
+
async putGeoipDatabase(params, options) {
|
|
183
|
+
const acceptedPath = ['id'];
|
|
184
|
+
const querystring = {};
|
|
185
|
+
const body = undefined;
|
|
186
|
+
params = params !== null && params !== void 0 ? params : {};
|
|
187
|
+
for (const key in params) {
|
|
188
|
+
if (acceptedPath.includes(key)) {
|
|
189
|
+
continue;
|
|
190
|
+
}
|
|
191
|
+
else if (key !== 'body') {
|
|
192
|
+
querystring[key] = params[key];
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
const method = 'PUT';
|
|
196
|
+
const path = `/_ingest/geoip/database/${encodeURIComponent(params.id.toString())}`;
|
|
197
|
+
const meta = {
|
|
198
|
+
name: 'ingest.put_geoip_database',
|
|
199
|
+
pathParts: {
|
|
200
|
+
id: params.id
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
return await this.transport.request({ path, method, querystring, body, meta }, options);
|
|
204
|
+
}
|
|
128
205
|
async putPipeline(params, options) {
|
|
129
206
|
const acceptedPath = ['id'];
|
|
130
207
|
const acceptedBody = ['_meta', 'description', 'on_failure', 'processors', 'version'];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ingest.js","sourceRoot":"","sources":["../../../src/api/api/ingest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,MAAM;IAEzB,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,cAAc,CAAc,MAAsE,EAAE,OAAiC;QACzI,MAAM,YAAY,GAAa,CAAC,IAAI,CAAC,CAAA;QACrC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,QAAQ,CAAA;QACvB,MAAM,IAAI,GAAG,qBAAqB,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;QAC5E,MAAM,IAAI,GAA6B;YACrC,IAAI,EAAE,wBAAwB;YAC9B,SAAS,EAAE;gBACT,EAAE,EAAE,MAAM,CAAC,EAAE;aACd;SACF,CAAA;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MAAM,CAAC,GAAG,CAAC,CAAA;aACxB;iBAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACrC,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,IAAI,MAAM,GAAG,EAAE,CAAA;QACf,IAAI,IAAI,GAAG,EAAE,CAAA;QACb,IAAI,MAAM,CAAC,EAAE,IAAI,IAAI,EAAE;YACrB,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;YACtC,IAAI,GAAG,qBAAqB,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,YAAY,CAAA;SACjF;aAAM;YACL,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;YACtC,IAAI,GAAG,6BAA6B,CAAA;SACrC;QACD,MAAM,IAAI,GAA6B;YACrC,IAAI,EAAE,iBAAiB;YACvB,SAAS,EAAE;gBACT,EAAE,EAAE,MAAM,CAAC,EAAE;aACd;SACF,CAAA;QACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACF;AAhVD,yBAgVC"}
|
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Performs a kNN search.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/search-search.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function KnnSearchApi<TDocument = unknown>(this: That, params: T.KnnSearchRequest | TB.KnnSearchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.KnnSearchResponse<TDocument>>;
|
|
12
12
|
export default function KnnSearchApi<TDocument = unknown>(this: That, params: T.KnnSearchRequest | TB.KnnSearchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.KnnSearchResponse<TDocument>, unknown>>;
|
package/lib/api/api/license.d.ts
CHANGED
|
@@ -9,49 +9,49 @@ export default class License {
|
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
11
|
* Deletes licensing information for the cluster
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-license.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
delete(this: That, params?: T.LicenseDeleteRequest | TB.LicenseDeleteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LicenseDeleteResponse>;
|
|
15
15
|
delete(this: That, params?: T.LicenseDeleteRequest | TB.LicenseDeleteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LicenseDeleteResponse, unknown>>;
|
|
16
16
|
delete(this: That, params?: T.LicenseDeleteRequest | TB.LicenseDeleteRequest, options?: TransportRequestOptions): Promise<T.LicenseDeleteResponse>;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
18
|
+
* This API returns information about the type of license, when it was issued, and when it expires, for example. For more information about the different types of licenses, see https://www.elastic.co/subscriptions.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-license.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
get(this: That, params?: T.LicenseGetRequest | TB.LicenseGetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LicenseGetResponse>;
|
|
22
22
|
get(this: That, params?: T.LicenseGetRequest | TB.LicenseGetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LicenseGetResponse, unknown>>;
|
|
23
23
|
get(this: That, params?: T.LicenseGetRequest | TB.LicenseGetRequest, options?: TransportRequestOptions): Promise<T.LicenseGetResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Retrieves information about the status of the basic license.
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-basic-status.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
getBasicStatus(this: That, params?: T.LicenseGetBasicStatusRequest | TB.LicenseGetBasicStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LicenseGetBasicStatusResponse>;
|
|
29
29
|
getBasicStatus(this: That, params?: T.LicenseGetBasicStatusRequest | TB.LicenseGetBasicStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LicenseGetBasicStatusResponse, unknown>>;
|
|
30
30
|
getBasicStatus(this: That, params?: T.LicenseGetBasicStatusRequest | TB.LicenseGetBasicStatusRequest, options?: TransportRequestOptions): Promise<T.LicenseGetBasicStatusResponse>;
|
|
31
31
|
/**
|
|
32
32
|
* Retrieves information about the status of the trial license.
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
33
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-trial-status.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
getTrialStatus(this: That, params?: T.LicenseGetTrialStatusRequest | TB.LicenseGetTrialStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LicenseGetTrialStatusResponse>;
|
|
36
36
|
getTrialStatus(this: That, params?: T.LicenseGetTrialStatusRequest | TB.LicenseGetTrialStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LicenseGetTrialStatusResponse, unknown>>;
|
|
37
37
|
getTrialStatus(this: That, params?: T.LicenseGetTrialStatusRequest | TB.LicenseGetTrialStatusRequest, options?: TransportRequestOptions): Promise<T.LicenseGetTrialStatusResponse>;
|
|
38
38
|
/**
|
|
39
39
|
* Updates the license for the cluster.
|
|
40
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
40
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/update-license.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
post(this: That, params?: T.LicensePostRequest | TB.LicensePostRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LicensePostResponse>;
|
|
43
43
|
post(this: That, params?: T.LicensePostRequest | TB.LicensePostRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LicensePostResponse, unknown>>;
|
|
44
44
|
post(this: That, params?: T.LicensePostRequest | TB.LicensePostRequest, options?: TransportRequestOptions): Promise<T.LicensePostResponse>;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
47
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
46
|
+
* The start basic API enables you to initiate an indefinite basic license, which gives access to all the basic features. If the basic license does not support all of the features that are available with your current license, however, you are notified in the response. You must then re-submit the API request with the acknowledge parameter set to true. To check the status of your basic license, use the following API: [Get basic status](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-basic-status.html).
|
|
47
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/start-basic.html | Elasticsearch API documentation}
|
|
48
48
|
*/
|
|
49
49
|
postStartBasic(this: That, params?: T.LicensePostStartBasicRequest | TB.LicensePostStartBasicRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LicensePostStartBasicResponse>;
|
|
50
50
|
postStartBasic(this: That, params?: T.LicensePostStartBasicRequest | TB.LicensePostStartBasicRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LicensePostStartBasicResponse, unknown>>;
|
|
51
51
|
postStartBasic(this: That, params?: T.LicensePostStartBasicRequest | TB.LicensePostStartBasicRequest, options?: TransportRequestOptions): Promise<T.LicensePostStartBasicResponse>;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
54
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
53
|
+
* The start trial API enables you to start a 30-day trial, which gives access to all subscription features.
|
|
54
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/start-trial.html | Elasticsearch API documentation}
|
|
55
55
|
*/
|
|
56
56
|
postStartTrial(this: That, params?: T.LicensePostStartTrialRequest | TB.LicensePostStartTrialRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LicensePostStartTrialResponse>;
|
|
57
57
|
postStartTrial(this: That, params?: T.LicensePostStartTrialRequest | TB.LicensePostStartTrialRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LicensePostStartTrialResponse, unknown>>;
|
|
@@ -8,22 +8,22 @@ export default class Logstash {
|
|
|
8
8
|
transport: Transport;
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
|
-
* Deletes
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
11
|
+
* Deletes a pipeline used for Logstash Central Management.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/logstash-api-delete-pipeline.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
deletePipeline(this: That, params: T.LogstashDeletePipelineRequest | TB.LogstashDeletePipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LogstashDeletePipelineResponse>;
|
|
15
15
|
deletePipeline(this: That, params: T.LogstashDeletePipelineRequest | TB.LogstashDeletePipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LogstashDeletePipelineResponse, unknown>>;
|
|
16
16
|
deletePipeline(this: That, params: T.LogstashDeletePipelineRequest | TB.LogstashDeletePipelineRequest, options?: TransportRequestOptions): Promise<T.LogstashDeletePipelineResponse>;
|
|
17
17
|
/**
|
|
18
|
-
* Retrieves
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
18
|
+
* Retrieves pipelines used for Logstash Central Management.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/logstash-api-get-pipeline.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
getPipeline(this: That, params?: T.LogstashGetPipelineRequest | TB.LogstashGetPipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LogstashGetPipelineResponse>;
|
|
22
22
|
getPipeline(this: That, params?: T.LogstashGetPipelineRequest | TB.LogstashGetPipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LogstashGetPipelineResponse, unknown>>;
|
|
23
23
|
getPipeline(this: That, params?: T.LogstashGetPipelineRequest | TB.LogstashGetPipelineRequest, options?: TransportRequestOptions): Promise<T.LogstashGetPipelineResponse>;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
25
|
+
* Creates or updates a pipeline used for Logstash Central Management.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/logstash-api-put-pipeline.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
putPipeline(this: That, params: T.LogstashPutPipelineRequest | TB.LogstashPutPipelineRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.LogstashPutPipelineResponse>;
|
|
29
29
|
putPipeline(this: That, params: T.LogstashPutPipelineRequest | TB.LogstashPutPipelineRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.LogstashPutPipelineResponse, unknown>>;
|
package/lib/api/api/mget.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Allows to get multiple documents in one request.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-multi-get.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function MgetApi<TDocument = unknown>(this: That, params?: T.MgetRequest | TB.MgetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MgetResponse<TDocument>>;
|
|
12
12
|
export default function MgetApi<TDocument = unknown>(this: That, params?: T.MgetRequest | TB.MgetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MgetResponse<TDocument>, unknown>>;
|
|
@@ -9,21 +9,21 @@ export default class Migration {
|
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves information about different cluster, node, and index level settings that use deprecated features that will be removed or changed in the next major version.
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/migration-api-deprecation.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
deprecations(this: That, params?: T.MigrationDeprecationsRequest | TB.MigrationDeprecationsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MigrationDeprecationsResponse>;
|
|
15
15
|
deprecations(this: That, params?: T.MigrationDeprecationsRequest | TB.MigrationDeprecationsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MigrationDeprecationsResponse, unknown>>;
|
|
16
16
|
deprecations(this: That, params?: T.MigrationDeprecationsRequest | TB.MigrationDeprecationsRequest, options?: TransportRequestOptions): Promise<T.MigrationDeprecationsResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Find out whether system features need to be upgraded or not
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/migration-api-feature-upgrade.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
getFeatureUpgradeStatus(this: That, params?: T.MigrationGetFeatureUpgradeStatusRequest | TB.MigrationGetFeatureUpgradeStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MigrationGetFeatureUpgradeStatusResponse>;
|
|
22
22
|
getFeatureUpgradeStatus(this: That, params?: T.MigrationGetFeatureUpgradeStatusRequest | TB.MigrationGetFeatureUpgradeStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MigrationGetFeatureUpgradeStatusResponse, unknown>>;
|
|
23
23
|
getFeatureUpgradeStatus(this: That, params?: T.MigrationGetFeatureUpgradeStatusRequest | TB.MigrationGetFeatureUpgradeStatusRequest, options?: TransportRequestOptions): Promise<T.MigrationGetFeatureUpgradeStatusResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Begin upgrades for system features
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/migration-api-feature-upgrade.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
postFeatureUpgrade(this: That, params?: T.MigrationPostFeatureUpgradeRequest | TB.MigrationPostFeatureUpgradeRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.MigrationPostFeatureUpgradeResponse>;
|
|
29
29
|
postFeatureUpgrade(this: That, params?: T.MigrationPostFeatureUpgradeRequest | TB.MigrationPostFeatureUpgradeRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.MigrationPostFeatureUpgradeResponse, unknown>>;
|