@elastic/elasticsearch 8.10.0 → 8.11.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/README.md +9 -2
- package/catalog-info.yaml +4 -4
- package/lib/api/api/async_search.d.ts +4 -4
- package/lib/api/api/autoscaling.d.ts +4 -4
- package/lib/api/api/bulk.d.ts +1 -1
- package/lib/api/api/cat.d.ts +26 -26
- package/lib/api/api/ccr.d.ts +13 -13
- package/lib/api/api/clear_scroll.d.ts +1 -1
- package/lib/api/api/close_point_in_time.d.ts +1 -1
- package/lib/api/api/cluster.d.ts +16 -16
- package/lib/api/api/count.d.ts +1 -1
- package/lib/api/api/create.d.ts +1 -1
- package/lib/api/api/dangling_indices.d.ts +3 -3
- package/lib/api/api/delete.d.ts +1 -1
- package/lib/api/api/delete_by_query.d.ts +1 -1
- package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/delete_script.d.ts +1 -1
- package/lib/api/api/enrich.d.ts +5 -5
- package/lib/api/api/eql.d.ts +4 -4
- package/lib/api/api/exists.d.ts +1 -1
- package/lib/api/api/exists_source.d.ts +1 -1
- package/lib/api/api/explain.d.ts +1 -1
- package/lib/api/api/features.d.ts +2 -2
- package/lib/api/api/field_caps.d.ts +1 -1
- package/lib/api/api/fleet.d.ts +1 -1
- package/lib/api/api/get.d.ts +1 -1
- package/lib/api/api/get_script.d.ts +1 -1
- 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 +1 -1
- package/lib/api/api/health_report.d.ts +1 -1
- package/lib/api/api/ilm.d.ts +11 -11
- package/lib/api/api/index.d.ts +1 -1
- package/lib/api/api/indices.d.ts +62 -62
- package/lib/api/api/indices.js +1 -1
- package/lib/api/api/indices.js.map +1 -1
- package/lib/api/api/info.d.ts +1 -1
- package/lib/api/api/ingest.d.ts +6 -6
- package/lib/api/api/knn_search.d.ts +1 -1
- package/lib/api/api/license.d.ts +7 -7
- package/lib/api/api/logstash.d.ts +3 -3
- 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 +73 -73
- package/lib/api/api/ml.js +2 -2
- package/lib/api/api/ml.js.map +1 -1
- 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 +1 -1
- package/lib/api/api/mtermvectors.d.ts +1 -1
- package/lib/api/api/nodes.d.ts +7 -7
- package/lib/api/api/open_point_in_time.d.ts +1 -1
- package/lib/api/api/ping.d.ts +1 -1
- package/lib/api/api/put_script.d.ts +1 -1
- package/lib/api/api/query_ruleset.d.ts +4 -4
- package/lib/api/api/rank_eval.d.ts +1 -1
- package/lib/api/api/reindex.d.ts +1 -1
- package/lib/api/api/reindex_rethrottle.d.ts +1 -1
- package/lib/api/api/render_search_template.d.ts +1 -1
- package/lib/api/api/rollup.d.ts +8 -8
- package/lib/api/api/scripts_painless_execute.d.ts +1 -1
- package/lib/api/api/scroll.d.ts +1 -1
- package/lib/api/api/search.d.ts +1 -1
- package/lib/api/api/search_application.d.ts +9 -9
- 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 +1 -1
- package/lib/api/api/searchable_snapshots.d.ts +4 -4
- package/lib/api/api/security.d.ts +57 -57
- package/lib/api/api/security.js +1 -1
- package/lib/api/api/security.js.map +1 -1
- package/lib/api/api/slm.d.ts +9 -9
- package/lib/api/api/snapshot.d.ts +12 -12
- 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 +7 -7
- package/lib/api/api/tasks.d.ts +3 -3
- 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 +1 -1
- package/lib/api/api/transform.d.ts +11 -11
- package/lib/api/api/update.d.ts +1 -1
- package/lib/api/api/update_by_query.d.ts +1 -1
- package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
- package/lib/api/api/watcher.d.ts +13 -13
- package/lib/api/api/xpack.d.ts +2 -2
- package/lib/api/types.d.ts +59 -37
- package/lib/api/typesWithBodyKey.d.ts +59 -37
- package/lib/client.d.ts +2 -0
- package/lib/client.js +7 -2
- package/lib/client.js.map +1 -1
- package/lib/helpers.js +10 -5
- package/lib/helpers.js.map +1 -1
- package/package.json +4 -4
- package/.tool-versions +0 -1
|
@@ -9,77 +9,77 @@ export default class Transform {
|
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
11
|
* Deletes an existing transform.
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/delete-transform.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
deleteTransform(this: That, params: T.TransformDeleteTransformRequest | TB.TransformDeleteTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformDeleteTransformResponse>;
|
|
15
15
|
deleteTransform(this: That, params: T.TransformDeleteTransformRequest | TB.TransformDeleteTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformDeleteTransformResponse, unknown>>;
|
|
16
16
|
deleteTransform(this: That, params: T.TransformDeleteTransformRequest | TB.TransformDeleteTransformRequest, options?: TransportRequestOptions): Promise<T.TransformDeleteTransformResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Retrieves configuration information for transforms.
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/get-transform.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
getTransform(this: That, params?: T.TransformGetTransformRequest | TB.TransformGetTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformGetTransformResponse>;
|
|
22
22
|
getTransform(this: That, params?: T.TransformGetTransformRequest | TB.TransformGetTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformGetTransformResponse, unknown>>;
|
|
23
23
|
getTransform(this: That, params?: T.TransformGetTransformRequest | TB.TransformGetTransformRequest, options?: TransportRequestOptions): Promise<T.TransformGetTransformResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Retrieves usage information for transforms.
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/get-transform-stats.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
getTransformStats(this: That, params: T.TransformGetTransformStatsRequest | TB.TransformGetTransformStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformGetTransformStatsResponse>;
|
|
29
29
|
getTransformStats(this: That, params: T.TransformGetTransformStatsRequest | TB.TransformGetTransformStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformGetTransformStatsResponse, unknown>>;
|
|
30
30
|
getTransformStats(this: That, params: T.TransformGetTransformStatsRequest | TB.TransformGetTransformStatsRequest, options?: TransportRequestOptions): Promise<T.TransformGetTransformStatsResponse>;
|
|
31
31
|
/**
|
|
32
32
|
* Previews a transform.
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
33
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/preview-transform.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
previewTransform<TTransform = unknown>(this: That, params?: T.TransformPreviewTransformRequest | TB.TransformPreviewTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformPreviewTransformResponse<TTransform>>;
|
|
36
36
|
previewTransform<TTransform = unknown>(this: That, params?: T.TransformPreviewTransformRequest | TB.TransformPreviewTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformPreviewTransformResponse<TTransform>, unknown>>;
|
|
37
37
|
previewTransform<TTransform = unknown>(this: That, params?: T.TransformPreviewTransformRequest | TB.TransformPreviewTransformRequest, options?: TransportRequestOptions): Promise<T.TransformPreviewTransformResponse<TTransform>>;
|
|
38
38
|
/**
|
|
39
39
|
* Instantiates a transform.
|
|
40
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
40
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/put-transform.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
putTransform(this: That, params: T.TransformPutTransformRequest | TB.TransformPutTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformPutTransformResponse>;
|
|
43
43
|
putTransform(this: That, params: T.TransformPutTransformRequest | TB.TransformPutTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformPutTransformResponse, unknown>>;
|
|
44
44
|
putTransform(this: That, params: T.TransformPutTransformRequest | TB.TransformPutTransformRequest, options?: TransportRequestOptions): Promise<T.TransformPutTransformResponse>;
|
|
45
45
|
/**
|
|
46
46
|
* Resets an existing transform.
|
|
47
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
47
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/reset-transform.html | Elasticsearch API documentation}
|
|
48
48
|
*/
|
|
49
49
|
resetTransform(this: That, params: T.TransformResetTransformRequest | TB.TransformResetTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformResetTransformResponse>;
|
|
50
50
|
resetTransform(this: That, params: T.TransformResetTransformRequest | TB.TransformResetTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformResetTransformResponse, unknown>>;
|
|
51
51
|
resetTransform(this: That, params: T.TransformResetTransformRequest | TB.TransformResetTransformRequest, options?: TransportRequestOptions): Promise<T.TransformResetTransformResponse>;
|
|
52
52
|
/**
|
|
53
53
|
* Schedules now a transform.
|
|
54
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
54
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/schedule-now-transform.html | Elasticsearch API documentation}
|
|
55
55
|
*/
|
|
56
56
|
scheduleNowTransform(this: That, params: T.TransformScheduleNowTransformRequest | TB.TransformScheduleNowTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformScheduleNowTransformResponse>;
|
|
57
57
|
scheduleNowTransform(this: That, params: T.TransformScheduleNowTransformRequest | TB.TransformScheduleNowTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformScheduleNowTransformResponse, unknown>>;
|
|
58
58
|
scheduleNowTransform(this: That, params: T.TransformScheduleNowTransformRequest | TB.TransformScheduleNowTransformRequest, options?: TransportRequestOptions): Promise<T.TransformScheduleNowTransformResponse>;
|
|
59
59
|
/**
|
|
60
60
|
* Starts one or more transforms.
|
|
61
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
61
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/start-transform.html | Elasticsearch API documentation}
|
|
62
62
|
*/
|
|
63
63
|
startTransform(this: That, params: T.TransformStartTransformRequest | TB.TransformStartTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformStartTransformResponse>;
|
|
64
64
|
startTransform(this: That, params: T.TransformStartTransformRequest | TB.TransformStartTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformStartTransformResponse, unknown>>;
|
|
65
65
|
startTransform(this: That, params: T.TransformStartTransformRequest | TB.TransformStartTransformRequest, options?: TransportRequestOptions): Promise<T.TransformStartTransformResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* Stops one or more transforms.
|
|
68
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
68
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/stop-transform.html | Elasticsearch API documentation}
|
|
69
69
|
*/
|
|
70
70
|
stopTransform(this: That, params: T.TransformStopTransformRequest | TB.TransformStopTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformStopTransformResponse>;
|
|
71
71
|
stopTransform(this: That, params: T.TransformStopTransformRequest | TB.TransformStopTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformStopTransformResponse, unknown>>;
|
|
72
72
|
stopTransform(this: That, params: T.TransformStopTransformRequest | TB.TransformStopTransformRequest, options?: TransportRequestOptions): Promise<T.TransformStopTransformResponse>;
|
|
73
73
|
/**
|
|
74
74
|
* Updates certain properties of a transform.
|
|
75
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
75
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/update-transform.html | Elasticsearch API documentation}
|
|
76
76
|
*/
|
|
77
77
|
updateTransform(this: That, params: T.TransformUpdateTransformRequest | TB.TransformUpdateTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformUpdateTransformResponse>;
|
|
78
78
|
updateTransform(this: That, params: T.TransformUpdateTransformRequest | TB.TransformUpdateTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformUpdateTransformResponse, unknown>>;
|
|
79
79
|
updateTransform(this: That, params: T.TransformUpdateTransformRequest | TB.TransformUpdateTransformRequest, options?: TransportRequestOptions): Promise<T.TransformUpdateTransformResponse>;
|
|
80
80
|
/**
|
|
81
81
|
* Upgrades all transforms.
|
|
82
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
82
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/upgrade-transforms.html | Elasticsearch API documentation}
|
|
83
83
|
*/
|
|
84
84
|
upgradeTransforms(this: That, params?: T.TransformUpgradeTransformsRequest | TB.TransformUpgradeTransformsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformUpgradeTransformsResponse>;
|
|
85
85
|
upgradeTransforms(this: That, params?: T.TransformUpgradeTransformsRequest | TB.TransformUpgradeTransformsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformUpgradeTransformsResponse, unknown>>;
|
package/lib/api/api/update.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Updates a document with a script or partial document.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/docs-update.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function UpdateApi<TDocument = unknown, TPartialDocument = unknown, TDocumentR = unknown>(this: That, params: T.UpdateRequest<TDocument, TPartialDocument> | TB.UpdateRequest<TDocument, TPartialDocument>, options?: TransportRequestOptionsWithOutMeta): Promise<T.UpdateResponse<TDocumentR>>;
|
|
12
12
|
export default function UpdateApi<TDocument = unknown, TPartialDocument = unknown, TDocumentR = unknown>(this: That, params: T.UpdateRequest<TDocument, TPartialDocument> | TB.UpdateRequest<TDocument, TPartialDocument>, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.UpdateResponse<TDocumentR>, unknown>>;
|
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Performs an update on every document in the index without changing the source, for example to pick up a mapping change.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/docs-update-by-query.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function UpdateByQueryApi(this: That, params: T.UpdateByQueryRequest | TB.UpdateByQueryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.UpdateByQueryResponse>;
|
|
12
12
|
export default function UpdateByQueryApi(this: That, params: T.UpdateByQueryRequest | TB.UpdateByQueryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.UpdateByQueryResponse, unknown>>;
|
|
@@ -6,7 +6,7 @@ interface That {
|
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* Changes the number of requests per second for a particular Update By Query operation.
|
|
9
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
9
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/docs-update-by-query.html | Elasticsearch API documentation}
|
|
10
10
|
*/
|
|
11
11
|
export default function UpdateByQueryRethrottleApi(this: That, params: T.UpdateByQueryRethrottleRequest | TB.UpdateByQueryRethrottleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.UpdateByQueryRethrottleResponse>;
|
|
12
12
|
export default function UpdateByQueryRethrottleApi(this: That, params: T.UpdateByQueryRethrottleRequest | TB.UpdateByQueryRethrottleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.UpdateByQueryRethrottleResponse, unknown>>;
|
package/lib/api/api/watcher.d.ts
CHANGED
|
@@ -9,91 +9,91 @@ export default class Watcher {
|
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
11
|
* Acknowledges a watch, manually throttling the execution of the watch's actions.
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-ack-watch.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
ackWatch(this: That, params: T.WatcherAckWatchRequest | TB.WatcherAckWatchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherAckWatchResponse>;
|
|
15
15
|
ackWatch(this: That, params: T.WatcherAckWatchRequest | TB.WatcherAckWatchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherAckWatchResponse, unknown>>;
|
|
16
16
|
ackWatch(this: That, params: T.WatcherAckWatchRequest | TB.WatcherAckWatchRequest, options?: TransportRequestOptions): Promise<T.WatcherAckWatchResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Activates a currently inactive watch.
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-activate-watch.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
activateWatch(this: That, params: T.WatcherActivateWatchRequest | TB.WatcherActivateWatchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherActivateWatchResponse>;
|
|
22
22
|
activateWatch(this: That, params: T.WatcherActivateWatchRequest | TB.WatcherActivateWatchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherActivateWatchResponse, unknown>>;
|
|
23
23
|
activateWatch(this: That, params: T.WatcherActivateWatchRequest | TB.WatcherActivateWatchRequest, options?: TransportRequestOptions): Promise<T.WatcherActivateWatchResponse>;
|
|
24
24
|
/**
|
|
25
25
|
* Deactivates a currently active watch.
|
|
26
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
26
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-deactivate-watch.html | Elasticsearch API documentation}
|
|
27
27
|
*/
|
|
28
28
|
deactivateWatch(this: That, params: T.WatcherDeactivateWatchRequest | TB.WatcherDeactivateWatchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherDeactivateWatchResponse>;
|
|
29
29
|
deactivateWatch(this: That, params: T.WatcherDeactivateWatchRequest | TB.WatcherDeactivateWatchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherDeactivateWatchResponse, unknown>>;
|
|
30
30
|
deactivateWatch(this: That, params: T.WatcherDeactivateWatchRequest | TB.WatcherDeactivateWatchRequest, options?: TransportRequestOptions): Promise<T.WatcherDeactivateWatchResponse>;
|
|
31
31
|
/**
|
|
32
32
|
* Removes a watch from Watcher.
|
|
33
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
33
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-delete-watch.html | Elasticsearch API documentation}
|
|
34
34
|
*/
|
|
35
35
|
deleteWatch(this: That, params: T.WatcherDeleteWatchRequest | TB.WatcherDeleteWatchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherDeleteWatchResponse>;
|
|
36
36
|
deleteWatch(this: That, params: T.WatcherDeleteWatchRequest | TB.WatcherDeleteWatchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherDeleteWatchResponse, unknown>>;
|
|
37
37
|
deleteWatch(this: That, params: T.WatcherDeleteWatchRequest | TB.WatcherDeleteWatchRequest, options?: TransportRequestOptions): Promise<T.WatcherDeleteWatchResponse>;
|
|
38
38
|
/**
|
|
39
39
|
* Forces the execution of a stored watch.
|
|
40
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
40
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-execute-watch.html | Elasticsearch API documentation}
|
|
41
41
|
*/
|
|
42
42
|
executeWatch(this: That, params?: T.WatcherExecuteWatchRequest | TB.WatcherExecuteWatchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherExecuteWatchResponse>;
|
|
43
43
|
executeWatch(this: That, params?: T.WatcherExecuteWatchRequest | TB.WatcherExecuteWatchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherExecuteWatchResponse, unknown>>;
|
|
44
44
|
executeWatch(this: That, params?: T.WatcherExecuteWatchRequest | TB.WatcherExecuteWatchRequest, options?: TransportRequestOptions): Promise<T.WatcherExecuteWatchResponse>;
|
|
45
45
|
/**
|
|
46
46
|
* Retrieve settings for the watcher system index
|
|
47
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
47
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-get-settings.html | Elasticsearch API documentation}
|
|
48
48
|
*/
|
|
49
49
|
getSettings(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
50
50
|
getSettings(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
|
51
51
|
getSettings(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
|
|
52
52
|
/**
|
|
53
53
|
* Retrieves a watch by its ID.
|
|
54
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
54
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-get-watch.html | Elasticsearch API documentation}
|
|
55
55
|
*/
|
|
56
56
|
getWatch(this: That, params: T.WatcherGetWatchRequest | TB.WatcherGetWatchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherGetWatchResponse>;
|
|
57
57
|
getWatch(this: That, params: T.WatcherGetWatchRequest | TB.WatcherGetWatchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherGetWatchResponse, unknown>>;
|
|
58
58
|
getWatch(this: That, params: T.WatcherGetWatchRequest | TB.WatcherGetWatchRequest, options?: TransportRequestOptions): Promise<T.WatcherGetWatchResponse>;
|
|
59
59
|
/**
|
|
60
60
|
* Creates a new watch, or updates an existing one.
|
|
61
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
61
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-put-watch.html | Elasticsearch API documentation}
|
|
62
62
|
*/
|
|
63
63
|
putWatch(this: That, params: T.WatcherPutWatchRequest | TB.WatcherPutWatchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherPutWatchResponse>;
|
|
64
64
|
putWatch(this: That, params: T.WatcherPutWatchRequest | TB.WatcherPutWatchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherPutWatchResponse, unknown>>;
|
|
65
65
|
putWatch(this: That, params: T.WatcherPutWatchRequest | TB.WatcherPutWatchRequest, options?: TransportRequestOptions): Promise<T.WatcherPutWatchResponse>;
|
|
66
66
|
/**
|
|
67
67
|
* Retrieves stored watches.
|
|
68
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
68
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-query-watches.html | Elasticsearch API documentation}
|
|
69
69
|
*/
|
|
70
70
|
queryWatches(this: That, params?: T.WatcherQueryWatchesRequest | TB.WatcherQueryWatchesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherQueryWatchesResponse>;
|
|
71
71
|
queryWatches(this: That, params?: T.WatcherQueryWatchesRequest | TB.WatcherQueryWatchesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherQueryWatchesResponse, unknown>>;
|
|
72
72
|
queryWatches(this: That, params?: T.WatcherQueryWatchesRequest | TB.WatcherQueryWatchesRequest, options?: TransportRequestOptions): Promise<T.WatcherQueryWatchesResponse>;
|
|
73
73
|
/**
|
|
74
74
|
* Starts Watcher if it is not already running.
|
|
75
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
75
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-start.html | Elasticsearch API documentation}
|
|
76
76
|
*/
|
|
77
77
|
start(this: That, params?: T.WatcherStartRequest | TB.WatcherStartRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherStartResponse>;
|
|
78
78
|
start(this: That, params?: T.WatcherStartRequest | TB.WatcherStartRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherStartResponse, unknown>>;
|
|
79
79
|
start(this: That, params?: T.WatcherStartRequest | TB.WatcherStartRequest, options?: TransportRequestOptions): Promise<T.WatcherStartResponse>;
|
|
80
80
|
/**
|
|
81
81
|
* Retrieves the current Watcher metrics.
|
|
82
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
82
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-stats.html | Elasticsearch API documentation}
|
|
83
83
|
*/
|
|
84
84
|
stats(this: That, params?: T.WatcherStatsRequest | TB.WatcherStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherStatsResponse>;
|
|
85
85
|
stats(this: That, params?: T.WatcherStatsRequest | TB.WatcherStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherStatsResponse, unknown>>;
|
|
86
86
|
stats(this: That, params?: T.WatcherStatsRequest | TB.WatcherStatsRequest, options?: TransportRequestOptions): Promise<T.WatcherStatsResponse>;
|
|
87
87
|
/**
|
|
88
88
|
* Stops Watcher if it is running.
|
|
89
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
89
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-stop.html | Elasticsearch API documentation}
|
|
90
90
|
*/
|
|
91
91
|
stop(this: That, params?: T.WatcherStopRequest | TB.WatcherStopRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.WatcherStopResponse>;
|
|
92
92
|
stop(this: That, params?: T.WatcherStopRequest | TB.WatcherStopRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.WatcherStopResponse, unknown>>;
|
|
93
93
|
stop(this: That, params?: T.WatcherStopRequest | TB.WatcherStopRequest, options?: TransportRequestOptions): Promise<T.WatcherStopResponse>;
|
|
94
94
|
/**
|
|
95
95
|
* Update settings for the watcher system index
|
|
96
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
96
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/watcher-api-update-settings.html | Elasticsearch API documentation}
|
|
97
97
|
*/
|
|
98
98
|
updateSettings(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
|
|
99
99
|
updateSettings(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
|
package/lib/api/api/xpack.d.ts
CHANGED
|
@@ -9,14 +9,14 @@ export default class Xpack {
|
|
|
9
9
|
constructor(transport: Transport);
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves information about the installed X-Pack features.
|
|
12
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
12
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/info-api.html | Elasticsearch API documentation}
|
|
13
13
|
*/
|
|
14
14
|
info(this: That, params?: T.XpackInfoRequest | TB.XpackInfoRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.XpackInfoResponse>;
|
|
15
15
|
info(this: That, params?: T.XpackInfoRequest | TB.XpackInfoRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.XpackInfoResponse, unknown>>;
|
|
16
16
|
info(this: That, params?: T.XpackInfoRequest | TB.XpackInfoRequest, options?: TransportRequestOptions): Promise<T.XpackInfoResponse>;
|
|
17
17
|
/**
|
|
18
18
|
* Retrieves usage information about the installed X-Pack features.
|
|
19
|
-
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.
|
|
19
|
+
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.11/usage-api.html | Elasticsearch API documentation}
|
|
20
20
|
*/
|
|
21
21
|
usage(this: That, params?: T.XpackUsageRequest | TB.XpackUsageRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.XpackUsageResponse>;
|
|
22
22
|
usage(this: That, params?: T.XpackUsageRequest | TB.XpackUsageRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.XpackUsageResponse, unknown>>;
|
package/lib/api/types.d.ts
CHANGED
|
@@ -588,7 +588,7 @@ export type MgetResponseItem<TDocument = unknown> = GetGetResult<TDocument> | Mg
|
|
|
588
588
|
export interface MsearchMultiSearchItem<TDocument = unknown> extends SearchResponseBody<TDocument> {
|
|
589
589
|
status?: integer;
|
|
590
590
|
}
|
|
591
|
-
export interface MsearchMultiSearchResult<TDocument = unknown
|
|
591
|
+
export interface MsearchMultiSearchResult<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> {
|
|
592
592
|
took: long;
|
|
593
593
|
responses: MsearchResponseItem<TDocument>[];
|
|
594
594
|
}
|
|
@@ -656,7 +656,7 @@ export interface MsearchRequest extends RequestBase {
|
|
|
656
656
|
searches?: MsearchRequestItem[];
|
|
657
657
|
}
|
|
658
658
|
export type MsearchRequestItem = MsearchMultisearchHeader | MsearchMultisearchBody;
|
|
659
|
-
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
659
|
+
export type MsearchResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
660
660
|
export type MsearchResponseItem<TDocument = unknown> = MsearchMultiSearchItem<TDocument> | ErrorResponseBase;
|
|
661
661
|
export interface MsearchTemplateRequest extends RequestBase {
|
|
662
662
|
index?: Indices;
|
|
@@ -668,7 +668,7 @@ export interface MsearchTemplateRequest extends RequestBase {
|
|
|
668
668
|
search_templates?: MsearchTemplateRequestItem[];
|
|
669
669
|
}
|
|
670
670
|
export type MsearchTemplateRequestItem = MsearchMultisearchHeader | MsearchTemplateTemplateConfig;
|
|
671
|
-
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument>;
|
|
671
|
+
export type MsearchTemplateResponse<TDocument = unknown, TAggregations = Record<AggregateName, AggregationsAggregate>> = MsearchMultiSearchResult<TDocument, TAggregations>;
|
|
672
672
|
export interface MsearchTemplateTemplateConfig {
|
|
673
673
|
explain?: boolean;
|
|
674
674
|
id?: Id;
|
|
@@ -1725,6 +1725,9 @@ export interface ClusterStatistics {
|
|
|
1725
1725
|
skipped: integer;
|
|
1726
1726
|
successful: integer;
|
|
1727
1727
|
total: integer;
|
|
1728
|
+
running: integer;
|
|
1729
|
+
partial: integer;
|
|
1730
|
+
failed: integer;
|
|
1728
1731
|
details?: Record<ClusterAlias, ClusterDetails>;
|
|
1729
1732
|
}
|
|
1730
1733
|
export interface CompletionStats {
|
|
@@ -1923,6 +1926,7 @@ export interface KnnQuery {
|
|
|
1923
1926
|
num_candidates: long;
|
|
1924
1927
|
boost?: float;
|
|
1925
1928
|
filter?: QueryDslQueryContainer | QueryDslQueryContainer[];
|
|
1929
|
+
similarity?: float;
|
|
1926
1930
|
}
|
|
1927
1931
|
export interface LatLonGeoLocation {
|
|
1928
1932
|
lat: double;
|
|
@@ -3751,7 +3755,7 @@ export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
|
|
|
3751
3755
|
type: 'path_hierarchy';
|
|
3752
3756
|
buffer_size: SpecUtilsStringified<integer>;
|
|
3753
3757
|
delimiter: string;
|
|
3754
|
-
replacement
|
|
3758
|
+
replacement?: string;
|
|
3755
3759
|
reverse: SpecUtilsStringified<boolean>;
|
|
3756
3760
|
skip: SpecUtilsStringified<integer>;
|
|
3757
3761
|
}
|
|
@@ -4107,7 +4111,7 @@ export interface MappingFieldMapping {
|
|
|
4107
4111
|
export interface MappingFieldNamesField {
|
|
4108
4112
|
enabled: boolean;
|
|
4109
4113
|
}
|
|
4110
|
-
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'match_only_text';
|
|
4114
|
+
export type MappingFieldType = 'none' | 'geo_point' | 'geo_shape' | 'ip' | 'binary' | 'keyword' | 'text' | 'search_as_you_type' | 'date' | 'date_nanos' | 'boolean' | 'completion' | 'nested' | 'object' | 'murmur3' | 'token_count' | 'percolator' | 'integer' | 'long' | 'short' | 'byte' | 'float' | 'half_float' | 'scaled_float' | 'double' | 'integer_range' | 'float_range' | 'long_range' | 'double_range' | 'date_range' | 'ip_range' | 'alias' | 'join' | 'rank_feature' | 'rank_features' | 'flattened' | 'shape' | 'histogram' | 'constant_keyword' | 'aggregate_metric_double' | 'dense_vector' | 'sparse_vector' | 'match_only_text';
|
|
4111
4115
|
export interface MappingFlattenedProperty extends MappingPropertyBase {
|
|
4112
4116
|
boost?: double;
|
|
4113
4117
|
depth_limit?: integer;
|
|
@@ -4239,7 +4243,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
|
|
|
4239
4243
|
null_value?: string;
|
|
4240
4244
|
type: 'point';
|
|
4241
4245
|
}
|
|
4242
|
-
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty;
|
|
4246
|
+
export type MappingProperty = MappingBinaryProperty | MappingBooleanProperty | MappingDynamicProperty | MappingJoinProperty | MappingKeywordProperty | MappingMatchOnlyTextProperty | MappingPercolatorProperty | MappingRankFeatureProperty | MappingRankFeaturesProperty | MappingSearchAsYouTypeProperty | MappingTextProperty | MappingVersionProperty | MappingWildcardProperty | MappingDateNanosProperty | MappingDateProperty | MappingAggregateMetricDoubleProperty | MappingDenseVectorProperty | MappingSparseVectorProperty | MappingFlattenedProperty | MappingNestedProperty | MappingObjectProperty | MappingCompletionProperty | MappingConstantKeywordProperty | MappingFieldAliasProperty | MappingHistogramProperty | MappingIpProperty | MappingMurmur3HashProperty | MappingTokenCountProperty | MappingGeoPointProperty | MappingGeoShapeProperty | MappingPointProperty | MappingShapeProperty | MappingByteNumberProperty | MappingDoubleNumberProperty | MappingFloatNumberProperty | MappingHalfFloatNumberProperty | MappingIntegerNumberProperty | MappingLongNumberProperty | MappingScaledFloatNumberProperty | MappingShortNumberProperty | MappingUnsignedLongNumberProperty | MappingDateRangeProperty | MappingDoubleRangeProperty | MappingFloatRangeProperty | MappingIntegerRangeProperty | MappingIpRangeProperty | MappingLongRangeProperty;
|
|
4243
4247
|
export interface MappingPropertyBase {
|
|
4244
4248
|
meta?: Record<string, string>;
|
|
4245
4249
|
properties?: Record<PropertyName, MappingProperty>;
|
|
@@ -4316,6 +4320,9 @@ export interface MappingSourceField {
|
|
|
4316
4320
|
mode?: MappingSourceFieldMode;
|
|
4317
4321
|
}
|
|
4318
4322
|
export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
|
|
4323
|
+
export interface MappingSparseVectorProperty extends MappingPropertyBase {
|
|
4324
|
+
type: 'sparse_vector';
|
|
4325
|
+
}
|
|
4319
4326
|
export interface MappingSuggestContext {
|
|
4320
4327
|
name: Name;
|
|
4321
4328
|
path?: Field;
|
|
@@ -7113,7 +7120,7 @@ export interface ClusterComponentTemplateSummary {
|
|
|
7113
7120
|
settings?: Record<IndexName, IndicesIndexSettings>;
|
|
7114
7121
|
mappings?: MappingTypeMapping;
|
|
7115
7122
|
aliases?: Record<string, IndicesAliasDefinition>;
|
|
7116
|
-
lifecycle?:
|
|
7123
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
7117
7124
|
}
|
|
7118
7125
|
export interface ClusterAllocationExplainAllocationDecision {
|
|
7119
7126
|
decider: string;
|
|
@@ -8190,13 +8197,6 @@ export interface IndicesAliasDefinition {
|
|
|
8190
8197
|
export interface IndicesCacheQueries {
|
|
8191
8198
|
enabled: boolean;
|
|
8192
8199
|
}
|
|
8193
|
-
export interface IndicesDataLifecycle {
|
|
8194
|
-
data_retention?: Duration;
|
|
8195
|
-
}
|
|
8196
|
-
export interface IndicesDataLifecycleWithRollover {
|
|
8197
|
-
data_retention?: Duration;
|
|
8198
|
-
rollover?: IndicesDlmRolloverConditions;
|
|
8199
|
-
}
|
|
8200
8200
|
export interface IndicesDataStream {
|
|
8201
8201
|
_meta?: Metadata;
|
|
8202
8202
|
allow_custom_routing?: boolean;
|
|
@@ -8204,7 +8204,7 @@ export interface IndicesDataStream {
|
|
|
8204
8204
|
hidden: boolean;
|
|
8205
8205
|
ilm_policy?: Name;
|
|
8206
8206
|
indices: IndicesDataStreamIndex[];
|
|
8207
|
-
lifecycle?:
|
|
8207
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8208
8208
|
name: DataStreamName;
|
|
8209
8209
|
replicated?: boolean;
|
|
8210
8210
|
status: HealthStatus;
|
|
@@ -8216,13 +8216,14 @@ export interface IndicesDataStreamIndex {
|
|
|
8216
8216
|
index_name: IndexName;
|
|
8217
8217
|
index_uuid: Uuid;
|
|
8218
8218
|
}
|
|
8219
|
-
export interface
|
|
8220
|
-
|
|
8219
|
+
export interface IndicesDataStreamLifecycle {
|
|
8220
|
+
data_retention?: Duration;
|
|
8221
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
8221
8222
|
}
|
|
8222
|
-
export interface
|
|
8223
|
-
|
|
8223
|
+
export interface IndicesDataStreamLifecycleDownsampling {
|
|
8224
|
+
rounds: IndicesDownsamplingRound[];
|
|
8224
8225
|
}
|
|
8225
|
-
export interface
|
|
8226
|
+
export interface IndicesDataStreamLifecycleRolloverConditions {
|
|
8226
8227
|
min_age?: Duration;
|
|
8227
8228
|
max_age?: string;
|
|
8228
8229
|
min_docs?: long;
|
|
@@ -8234,9 +8235,24 @@ export interface IndicesDlmRolloverConditions {
|
|
|
8234
8235
|
min_primary_shard_docs?: long;
|
|
8235
8236
|
max_primary_shard_docs?: long;
|
|
8236
8237
|
}
|
|
8238
|
+
export interface IndicesDataStreamLifecycleWithRollover {
|
|
8239
|
+
data_retention?: Duration;
|
|
8240
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
8241
|
+
rollover?: IndicesDataStreamLifecycleRolloverConditions;
|
|
8242
|
+
}
|
|
8243
|
+
export interface IndicesDataStreamTimestampField {
|
|
8244
|
+
name: Field;
|
|
8245
|
+
}
|
|
8246
|
+
export interface IndicesDataStreamVisibility {
|
|
8247
|
+
hidden?: boolean;
|
|
8248
|
+
}
|
|
8237
8249
|
export interface IndicesDownsampleConfig {
|
|
8238
8250
|
fixed_interval: DurationLarge;
|
|
8239
8251
|
}
|
|
8252
|
+
export interface IndicesDownsamplingRound {
|
|
8253
|
+
after: Duration;
|
|
8254
|
+
config: IndicesDownsampleConfig;
|
|
8255
|
+
}
|
|
8240
8256
|
export interface IndicesFielddataFrequencyFilter {
|
|
8241
8257
|
max: double;
|
|
8242
8258
|
min: double;
|
|
@@ -8371,7 +8387,7 @@ export interface IndicesIndexState {
|
|
|
8371
8387
|
settings?: IndicesIndexSettings;
|
|
8372
8388
|
defaults?: IndicesIndexSettings;
|
|
8373
8389
|
data_stream?: DataStreamName;
|
|
8374
|
-
lifecycle?:
|
|
8390
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
8375
8391
|
}
|
|
8376
8392
|
export interface IndicesIndexTemplate {
|
|
8377
8393
|
index_patterns: Names;
|
|
@@ -8391,7 +8407,7 @@ export interface IndicesIndexTemplateSummary {
|
|
|
8391
8407
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
8392
8408
|
mappings?: MappingTypeMapping;
|
|
8393
8409
|
settings?: IndicesIndexSettings;
|
|
8394
|
-
lifecycle?:
|
|
8410
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8395
8411
|
}
|
|
8396
8412
|
export interface IndicesIndexVersioning {
|
|
8397
8413
|
created?: VersionString;
|
|
@@ -8809,14 +8825,14 @@ export interface IndicesExistsTemplateRequest extends RequestBase {
|
|
|
8809
8825
|
master_timeout?: Duration;
|
|
8810
8826
|
}
|
|
8811
8827
|
export type IndicesExistsTemplateResponse = boolean;
|
|
8812
|
-
export interface
|
|
8828
|
+
export interface IndicesExplainDataLifecycleDataStreamLifecycleExplain {
|
|
8813
8829
|
index: IndexName;
|
|
8814
|
-
|
|
8830
|
+
managed_by_lifecycle: boolean;
|
|
8815
8831
|
index_creation_date_millis?: EpochTime<UnitMillis>;
|
|
8816
8832
|
time_since_index_creation?: Duration;
|
|
8817
8833
|
rollover_date_millis?: EpochTime<UnitMillis>;
|
|
8818
8834
|
time_since_rollover?: Duration;
|
|
8819
|
-
lifecycle?:
|
|
8835
|
+
lifecycle?: IndicesDataStreamLifecycleWithRollover;
|
|
8820
8836
|
generation_time?: Duration;
|
|
8821
8837
|
error?: string;
|
|
8822
8838
|
}
|
|
@@ -8826,7 +8842,7 @@ export interface IndicesExplainDataLifecycleRequest extends RequestBase {
|
|
|
8826
8842
|
master_timeout?: Duration;
|
|
8827
8843
|
}
|
|
8828
8844
|
export interface IndicesExplainDataLifecycleResponse {
|
|
8829
|
-
indices: Record<IndexName,
|
|
8845
|
+
indices: Record<IndexName, IndicesExplainDataLifecycleDataStreamLifecycleExplain>;
|
|
8830
8846
|
}
|
|
8831
8847
|
export interface IndicesFieldUsageStatsFieldSummary {
|
|
8832
8848
|
any: uint;
|
|
@@ -8926,9 +8942,9 @@ export interface IndicesGetAliasRequest extends RequestBase {
|
|
|
8926
8942
|
local?: boolean;
|
|
8927
8943
|
}
|
|
8928
8944
|
export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
|
|
8929
|
-
export interface
|
|
8945
|
+
export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
|
|
8930
8946
|
name: DataStreamName;
|
|
8931
|
-
lifecycle?:
|
|
8947
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
8932
8948
|
}
|
|
8933
8949
|
export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
8934
8950
|
name: DataStreamNames;
|
|
@@ -8936,7 +8952,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
|
|
|
8936
8952
|
include_defaults?: boolean;
|
|
8937
8953
|
}
|
|
8938
8954
|
export interface IndicesGetDataLifecycleResponse {
|
|
8939
|
-
data_streams:
|
|
8955
|
+
data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
|
|
8940
8956
|
}
|
|
8941
8957
|
export interface IndicesGetDataStreamRequest extends RequestBase {
|
|
8942
8958
|
name?: DataStreamNames;
|
|
@@ -9056,13 +9072,14 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
|
|
|
9056
9072
|
master_timeout?: Duration;
|
|
9057
9073
|
timeout?: Duration;
|
|
9058
9074
|
data_retention?: Duration;
|
|
9075
|
+
downsampling?: IndicesDataStreamLifecycleDownsampling;
|
|
9059
9076
|
}
|
|
9060
9077
|
export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
|
|
9061
9078
|
export interface IndicesPutIndexTemplateIndexTemplateMapping {
|
|
9062
9079
|
aliases?: Record<IndexName, IndicesAlias>;
|
|
9063
9080
|
mappings?: MappingTypeMapping;
|
|
9064
9081
|
settings?: IndicesIndexSettings;
|
|
9065
|
-
lifecycle?:
|
|
9082
|
+
lifecycle?: IndicesDataStreamLifecycle;
|
|
9066
9083
|
}
|
|
9067
9084
|
export interface IndicesPutIndexTemplateRequest extends RequestBase {
|
|
9068
9085
|
name: Name;
|
|
@@ -11980,6 +11997,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
|
|
|
11980
11997
|
metadata?: any;
|
|
11981
11998
|
model_type?: MlTrainedModelType;
|
|
11982
11999
|
model_size_bytes?: long;
|
|
12000
|
+
platform_architecture?: string;
|
|
11983
12001
|
tags?: string[];
|
|
11984
12002
|
}
|
|
11985
12003
|
export type MlPutTrainedModelResponse = MlTrainedModelConfig;
|
|
@@ -12032,6 +12050,7 @@ export interface MlPutTrainedModelVocabularyRequest extends RequestBase {
|
|
|
12032
12050
|
model_id: Id;
|
|
12033
12051
|
vocabulary: string[];
|
|
12034
12052
|
merges?: string[];
|
|
12053
|
+
scores?: double[];
|
|
12035
12054
|
}
|
|
12036
12055
|
export type MlPutTrainedModelVocabularyResponse = AcknowledgedResponseBase;
|
|
12037
12056
|
export interface MlResetJobRequest extends RequestBase {
|
|
@@ -12074,6 +12093,7 @@ export interface MlStartDatafeedResponse {
|
|
|
12074
12093
|
export interface MlStartTrainedModelDeploymentRequest extends RequestBase {
|
|
12075
12094
|
model_id: Id;
|
|
12076
12095
|
cache_size?: ByteSize;
|
|
12096
|
+
deployment_id?: string;
|
|
12077
12097
|
number_of_allocations?: integer;
|
|
12078
12098
|
priority?: MlTrainingPriority;
|
|
12079
12099
|
queue_capacity?: integer;
|
|
@@ -13467,7 +13487,7 @@ export interface SecurityRoleMapping {
|
|
|
13467
13487
|
metadata: Metadata;
|
|
13468
13488
|
roles: string[];
|
|
13469
13489
|
rules: SecurityRoleMappingRule;
|
|
13470
|
-
role_templates?:
|
|
13490
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13471
13491
|
}
|
|
13472
13492
|
export interface SecurityRoleMappingRule {
|
|
13473
13493
|
any?: SecurityRoleMappingRule[];
|
|
@@ -13475,6 +13495,10 @@ export interface SecurityRoleMappingRule {
|
|
|
13475
13495
|
field?: SecurityFieldRule;
|
|
13476
13496
|
except?: SecurityRoleMappingRule;
|
|
13477
13497
|
}
|
|
13498
|
+
export interface SecurityRoleTemplate {
|
|
13499
|
+
format?: SecurityTemplateFormat;
|
|
13500
|
+
template: Script;
|
|
13501
|
+
}
|
|
13478
13502
|
export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
|
|
13479
13503
|
export interface SecurityRoleTemplateInlineScript extends ScriptBase {
|
|
13480
13504
|
lang?: ScriptLanguage;
|
|
@@ -13485,6 +13509,7 @@ export interface SecurityRoleTemplateQuery {
|
|
|
13485
13509
|
template?: SecurityRoleTemplateScript;
|
|
13486
13510
|
}
|
|
13487
13511
|
export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
|
|
13512
|
+
export type SecurityTemplateFormat = 'string' | 'json';
|
|
13488
13513
|
export interface SecurityTransientMetadataConfig {
|
|
13489
13514
|
enabled: boolean;
|
|
13490
13515
|
}
|
|
@@ -13747,14 +13772,9 @@ export interface SecurityGetRoleRole {
|
|
|
13747
13772
|
run_as: string[];
|
|
13748
13773
|
transient_metadata: SecurityTransientMetadataConfig;
|
|
13749
13774
|
applications: SecurityApplicationPrivileges[];
|
|
13750
|
-
role_templates?:
|
|
13775
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13751
13776
|
global?: Record<string, Record<string, Record<string, string[]>>>;
|
|
13752
13777
|
}
|
|
13753
|
-
export interface SecurityGetRoleRoleTemplate {
|
|
13754
|
-
format?: SecurityGetRoleTemplateFormat;
|
|
13755
|
-
template: Script;
|
|
13756
|
-
}
|
|
13757
|
-
export type SecurityGetRoleTemplateFormat = 'string' | 'json';
|
|
13758
13778
|
export interface SecurityGetRoleMappingRequest extends RequestBase {
|
|
13759
13779
|
name?: Names;
|
|
13760
13780
|
}
|
|
@@ -13967,6 +13987,7 @@ export interface SecurityPutRoleMappingRequest extends RequestBase {
|
|
|
13967
13987
|
enabled?: boolean;
|
|
13968
13988
|
metadata?: Metadata;
|
|
13969
13989
|
roles?: string[];
|
|
13990
|
+
role_templates?: SecurityRoleTemplate[];
|
|
13970
13991
|
rules?: SecurityRoleMappingRule;
|
|
13971
13992
|
run_as?: string[];
|
|
13972
13993
|
}
|
|
@@ -14814,6 +14835,7 @@ export interface TransformTimeSync {
|
|
|
14814
14835
|
export interface TransformDeleteTransformRequest extends RequestBase {
|
|
14815
14836
|
transform_id: Id;
|
|
14816
14837
|
force?: boolean;
|
|
14838
|
+
delete_dest_index?: boolean;
|
|
14817
14839
|
timeout?: Duration;
|
|
14818
14840
|
}
|
|
14819
14841
|
export type TransformDeleteTransformResponse = AcknowledgedResponseBase;
|