@elastic/elasticsearch 8.10.1 → 8.11.1

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.
Files changed (96) hide show
  1. package/.dockerignore +2 -0
  2. package/README.md +9 -2
  3. package/catalog-info.yaml +4 -4
  4. package/lib/api/api/async_search.d.ts +4 -4
  5. package/lib/api/api/autoscaling.d.ts +4 -4
  6. package/lib/api/api/bulk.d.ts +1 -1
  7. package/lib/api/api/cat.d.ts +26 -26
  8. package/lib/api/api/ccr.d.ts +13 -13
  9. package/lib/api/api/clear_scroll.d.ts +1 -1
  10. package/lib/api/api/close_point_in_time.d.ts +1 -1
  11. package/lib/api/api/cluster.d.ts +16 -16
  12. package/lib/api/api/count.d.ts +1 -1
  13. package/lib/api/api/create.d.ts +1 -1
  14. package/lib/api/api/dangling_indices.d.ts +3 -3
  15. package/lib/api/api/delete.d.ts +1 -1
  16. package/lib/api/api/delete_by_query.d.ts +1 -1
  17. package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
  18. package/lib/api/api/delete_script.d.ts +1 -1
  19. package/lib/api/api/enrich.d.ts +5 -5
  20. package/lib/api/api/eql.d.ts +4 -4
  21. package/lib/api/api/exists.d.ts +1 -1
  22. package/lib/api/api/exists_source.d.ts +1 -1
  23. package/lib/api/api/explain.d.ts +1 -1
  24. package/lib/api/api/features.d.ts +2 -2
  25. package/lib/api/api/field_caps.d.ts +1 -1
  26. package/lib/api/api/fleet.d.ts +1 -1
  27. package/lib/api/api/get.d.ts +1 -1
  28. package/lib/api/api/get_script.d.ts +1 -1
  29. package/lib/api/api/get_script_context.d.ts +1 -1
  30. package/lib/api/api/get_script_languages.d.ts +1 -1
  31. package/lib/api/api/get_source.d.ts +1 -1
  32. package/lib/api/api/graph.d.ts +1 -1
  33. package/lib/api/api/health_report.d.ts +1 -1
  34. package/lib/api/api/ilm.d.ts +11 -11
  35. package/lib/api/api/index.d.ts +1 -1
  36. package/lib/api/api/indices.d.ts +62 -62
  37. package/lib/api/api/indices.js +1 -1
  38. package/lib/api/api/indices.js.map +1 -1
  39. package/lib/api/api/info.d.ts +1 -1
  40. package/lib/api/api/ingest.d.ts +6 -6
  41. package/lib/api/api/knn_search.d.ts +1 -1
  42. package/lib/api/api/license.d.ts +7 -7
  43. package/lib/api/api/logstash.d.ts +3 -3
  44. package/lib/api/api/mget.d.ts +1 -1
  45. package/lib/api/api/migration.d.ts +3 -3
  46. package/lib/api/api/ml.d.ts +73 -73
  47. package/lib/api/api/ml.js +1 -1
  48. package/lib/api/api/ml.js.map +1 -1
  49. package/lib/api/api/monitoring.d.ts +1 -1
  50. package/lib/api/api/msearch.d.ts +1 -1
  51. package/lib/api/api/msearch_template.d.ts +1 -1
  52. package/lib/api/api/mtermvectors.d.ts +1 -1
  53. package/lib/api/api/nodes.d.ts +7 -7
  54. package/lib/api/api/open_point_in_time.d.ts +1 -1
  55. package/lib/api/api/ping.d.ts +1 -1
  56. package/lib/api/api/put_script.d.ts +1 -1
  57. package/lib/api/api/query_ruleset.d.ts +4 -4
  58. package/lib/api/api/rank_eval.d.ts +1 -1
  59. package/lib/api/api/reindex.d.ts +1 -1
  60. package/lib/api/api/reindex_rethrottle.d.ts +1 -1
  61. package/lib/api/api/render_search_template.d.ts +1 -1
  62. package/lib/api/api/rollup.d.ts +8 -8
  63. package/lib/api/api/scripts_painless_execute.d.ts +1 -1
  64. package/lib/api/api/scroll.d.ts +1 -1
  65. package/lib/api/api/search.d.ts +1 -1
  66. package/lib/api/api/search_application.d.ts +9 -9
  67. package/lib/api/api/search_mvt.d.ts +1 -1
  68. package/lib/api/api/search_shards.d.ts +1 -1
  69. package/lib/api/api/search_template.d.ts +1 -1
  70. package/lib/api/api/searchable_snapshots.d.ts +4 -4
  71. package/lib/api/api/security.d.ts +57 -57
  72. package/lib/api/api/security.js +1 -1
  73. package/lib/api/api/security.js.map +1 -1
  74. package/lib/api/api/slm.d.ts +9 -9
  75. package/lib/api/api/snapshot.d.ts +12 -12
  76. package/lib/api/api/sql.d.ts +6 -6
  77. package/lib/api/api/ssl.d.ts +1 -1
  78. package/lib/api/api/synonyms.d.ts +7 -7
  79. package/lib/api/api/tasks.d.ts +3 -3
  80. package/lib/api/api/terms_enum.d.ts +1 -1
  81. package/lib/api/api/termvectors.d.ts +1 -1
  82. package/lib/api/api/text_structure.d.ts +1 -1
  83. package/lib/api/api/transform.d.ts +11 -11
  84. package/lib/api/api/update.d.ts +1 -1
  85. package/lib/api/api/update_by_query.d.ts +1 -1
  86. package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
  87. package/lib/api/api/watcher.d.ts +13 -13
  88. package/lib/api/api/xpack.d.ts +2 -2
  89. package/lib/api/types.d.ts +54 -41
  90. package/lib/api/typesWithBodyKey.d.ts +54 -41
  91. package/lib/client.d.ts +2 -0
  92. package/lib/client.js +7 -2
  93. package/lib/client.js.map +1 -1
  94. package/lib/helpers.js +7 -3
  95. package/lib/helpers.js.map +1 -1
  96. package/package.json +4 -4
@@ -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.10/delete-transform.html | Elasticsearch API documentation}
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.10/get-transform.html | Elasticsearch API documentation}
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.10/get-transform-stats.html | Elasticsearch API documentation}
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.10/preview-transform.html | Elasticsearch API documentation}
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.10/put-transform.html | Elasticsearch API documentation}
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.10/reset-transform.html | Elasticsearch API documentation}
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.10/schedule-now-transform.html | Elasticsearch API documentation}
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.10/start-transform.html | Elasticsearch API documentation}
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.10/stop-transform.html | Elasticsearch API documentation}
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.10/update-transform.html | Elasticsearch API documentation}
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.10/upgrade-transforms.html | Elasticsearch API documentation}
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>>;
@@ -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.10/docs-update.html | Elasticsearch API documentation}
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.10/docs-update-by-query.html | Elasticsearch API documentation}
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.10/docs-update-by-query.html | Elasticsearch API documentation}
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>>;
@@ -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.10/watcher-api-ack-watch.html | Elasticsearch API documentation}
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.10/watcher-api-activate-watch.html | Elasticsearch API documentation}
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.10/watcher-api-deactivate-watch.html | Elasticsearch API documentation}
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.10/watcher-api-delete-watch.html | Elasticsearch API documentation}
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.10/watcher-api-execute-watch.html | Elasticsearch API documentation}
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.10/watcher-api-get-settings.html | Elasticsearch API documentation}
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.10/watcher-api-get-watch.html | Elasticsearch API documentation}
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.10/watcher-api-put-watch.html | Elasticsearch API documentation}
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.10/watcher-api-query-watches.html | Elasticsearch API documentation}
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.10/watcher-api-start.html | Elasticsearch API documentation}
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.10/watcher-api-stats.html | Elasticsearch API documentation}
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.10/watcher-api-stop.html | Elasticsearch API documentation}
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.10/watcher-api-update-settings.html | Elasticsearch API documentation}
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>>;
@@ -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.10/info-api.html | Elasticsearch API documentation}
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.10/usage-api.html | Elasticsearch API documentation}
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>>;
@@ -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 {
@@ -3752,7 +3755,7 @@ export interface AnalysisPathHierarchyTokenizer extends AnalysisTokenizerBase {
3752
3755
  type: 'path_hierarchy';
3753
3756
  buffer_size: SpecUtilsStringified<integer>;
3754
3757
  delimiter: string;
3755
- replacement: string;
3758
+ replacement?: string;
3756
3759
  reverse: SpecUtilsStringified<boolean>;
3757
3760
  skip: SpecUtilsStringified<integer>;
3758
3761
  }
@@ -4108,7 +4111,7 @@ export interface MappingFieldMapping {
4108
4111
  export interface MappingFieldNamesField {
4109
4112
  enabled: boolean;
4110
4113
  }
4111
- 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';
4112
4115
  export interface MappingFlattenedProperty extends MappingPropertyBase {
4113
4116
  boost?: double;
4114
4117
  depth_limit?: integer;
@@ -4240,7 +4243,7 @@ export interface MappingPointProperty extends MappingDocValuesPropertyBase {
4240
4243
  null_value?: string;
4241
4244
  type: 'point';
4242
4245
  }
4243
- 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;
4244
4247
  export interface MappingPropertyBase {
4245
4248
  meta?: Record<string, string>;
4246
4249
  properties?: Record<PropertyName, MappingProperty>;
@@ -4317,6 +4320,9 @@ export interface MappingSourceField {
4317
4320
  mode?: MappingSourceFieldMode;
4318
4321
  }
4319
4322
  export type MappingSourceFieldMode = 'disabled' | 'stored' | 'synthetic';
4323
+ export interface MappingSparseVectorProperty extends MappingPropertyBase {
4324
+ type: 'sparse_vector';
4325
+ }
4320
4326
  export interface MappingSuggestContext {
4321
4327
  name: Name;
4322
4328
  path?: Field;
@@ -7114,7 +7120,7 @@ export interface ClusterComponentTemplateSummary {
7114
7120
  settings?: Record<IndexName, IndicesIndexSettings>;
7115
7121
  mappings?: MappingTypeMapping;
7116
7122
  aliases?: Record<string, IndicesAliasDefinition>;
7117
- lifecycle?: IndicesDataLifecycleWithRollover;
7123
+ lifecycle?: IndicesDataStreamLifecycleWithRollover;
7118
7124
  }
7119
7125
  export interface ClusterAllocationExplainAllocationDecision {
7120
7126
  decider: string;
@@ -8191,13 +8197,6 @@ export interface IndicesAliasDefinition {
8191
8197
  export interface IndicesCacheQueries {
8192
8198
  enabled: boolean;
8193
8199
  }
8194
- export interface IndicesDataLifecycle {
8195
- data_retention?: Duration;
8196
- }
8197
- export interface IndicesDataLifecycleWithRollover {
8198
- data_retention?: Duration;
8199
- rollover?: IndicesDlmRolloverConditions;
8200
- }
8201
8200
  export interface IndicesDataStream {
8202
8201
  _meta?: Metadata;
8203
8202
  allow_custom_routing?: boolean;
@@ -8205,7 +8204,7 @@ export interface IndicesDataStream {
8205
8204
  hidden: boolean;
8206
8205
  ilm_policy?: Name;
8207
8206
  indices: IndicesDataStreamIndex[];
8208
- lifecycle?: IndicesDataLifecycleWithRollover;
8207
+ lifecycle?: IndicesDataStreamLifecycleWithRollover;
8209
8208
  name: DataStreamName;
8210
8209
  replicated?: boolean;
8211
8210
  status: HealthStatus;
@@ -8217,13 +8216,14 @@ export interface IndicesDataStreamIndex {
8217
8216
  index_name: IndexName;
8218
8217
  index_uuid: Uuid;
8219
8218
  }
8220
- export interface IndicesDataStreamTimestampField {
8221
- name: Field;
8219
+ export interface IndicesDataStreamLifecycle {
8220
+ data_retention?: Duration;
8221
+ downsampling?: IndicesDataStreamLifecycleDownsampling;
8222
8222
  }
8223
- export interface IndicesDataStreamVisibility {
8224
- hidden?: boolean;
8223
+ export interface IndicesDataStreamLifecycleDownsampling {
8224
+ rounds: IndicesDownsamplingRound[];
8225
8225
  }
8226
- export interface IndicesDlmRolloverConditions {
8226
+ export interface IndicesDataStreamLifecycleRolloverConditions {
8227
8227
  min_age?: Duration;
8228
8228
  max_age?: string;
8229
8229
  min_docs?: long;
@@ -8235,9 +8235,24 @@ export interface IndicesDlmRolloverConditions {
8235
8235
  min_primary_shard_docs?: long;
8236
8236
  max_primary_shard_docs?: long;
8237
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
+ }
8238
8249
  export interface IndicesDownsampleConfig {
8239
8250
  fixed_interval: DurationLarge;
8240
8251
  }
8252
+ export interface IndicesDownsamplingRound {
8253
+ after: Duration;
8254
+ config: IndicesDownsampleConfig;
8255
+ }
8241
8256
  export interface IndicesFielddataFrequencyFilter {
8242
8257
  max: double;
8243
8258
  min: double;
@@ -8372,7 +8387,7 @@ export interface IndicesIndexState {
8372
8387
  settings?: IndicesIndexSettings;
8373
8388
  defaults?: IndicesIndexSettings;
8374
8389
  data_stream?: DataStreamName;
8375
- lifecycle?: IndicesDataLifecycle;
8390
+ lifecycle?: IndicesDataStreamLifecycle;
8376
8391
  }
8377
8392
  export interface IndicesIndexTemplate {
8378
8393
  index_patterns: Names;
@@ -8392,7 +8407,7 @@ export interface IndicesIndexTemplateSummary {
8392
8407
  aliases?: Record<IndexName, IndicesAlias>;
8393
8408
  mappings?: MappingTypeMapping;
8394
8409
  settings?: IndicesIndexSettings;
8395
- lifecycle?: IndicesDataLifecycleWithRollover;
8410
+ lifecycle?: IndicesDataStreamLifecycleWithRollover;
8396
8411
  }
8397
8412
  export interface IndicesIndexVersioning {
8398
8413
  created?: VersionString;
@@ -8810,14 +8825,14 @@ export interface IndicesExistsTemplateRequest extends RequestBase {
8810
8825
  master_timeout?: Duration;
8811
8826
  }
8812
8827
  export type IndicesExistsTemplateResponse = boolean;
8813
- export interface IndicesExplainDataLifecycleDataLifecycleExplain {
8828
+ export interface IndicesExplainDataLifecycleDataStreamLifecycleExplain {
8814
8829
  index: IndexName;
8815
- managed_by_dlm: boolean;
8830
+ managed_by_lifecycle: boolean;
8816
8831
  index_creation_date_millis?: EpochTime<UnitMillis>;
8817
8832
  time_since_index_creation?: Duration;
8818
8833
  rollover_date_millis?: EpochTime<UnitMillis>;
8819
8834
  time_since_rollover?: Duration;
8820
- lifecycle?: IndicesDataLifecycleWithRollover;
8835
+ lifecycle?: IndicesDataStreamLifecycleWithRollover;
8821
8836
  generation_time?: Duration;
8822
8837
  error?: string;
8823
8838
  }
@@ -8827,7 +8842,7 @@ export interface IndicesExplainDataLifecycleRequest extends RequestBase {
8827
8842
  master_timeout?: Duration;
8828
8843
  }
8829
8844
  export interface IndicesExplainDataLifecycleResponse {
8830
- indices: Record<IndexName, IndicesExplainDataLifecycleDataLifecycleExplain>;
8845
+ indices: Record<IndexName, IndicesExplainDataLifecycleDataStreamLifecycleExplain>;
8831
8846
  }
8832
8847
  export interface IndicesFieldUsageStatsFieldSummary {
8833
8848
  any: uint;
@@ -8927,9 +8942,9 @@ export interface IndicesGetAliasRequest extends RequestBase {
8927
8942
  local?: boolean;
8928
8943
  }
8929
8944
  export type IndicesGetAliasResponse = Record<IndexName, IndicesGetAliasIndexAliases>;
8930
- export interface IndicesGetDataLifecycleDataStreamLifecycle {
8945
+ export interface IndicesGetDataLifecycleDataStreamWithLifecycle {
8931
8946
  name: DataStreamName;
8932
- lifecycle?: IndicesDataLifecycle;
8947
+ lifecycle?: IndicesDataStreamLifecycle;
8933
8948
  }
8934
8949
  export interface IndicesGetDataLifecycleRequest extends RequestBase {
8935
8950
  name: DataStreamNames;
@@ -8937,7 +8952,7 @@ export interface IndicesGetDataLifecycleRequest extends RequestBase {
8937
8952
  include_defaults?: boolean;
8938
8953
  }
8939
8954
  export interface IndicesGetDataLifecycleResponse {
8940
- data_streams: IndicesGetDataLifecycleDataStreamLifecycle[];
8955
+ data_streams: IndicesGetDataLifecycleDataStreamWithLifecycle[];
8941
8956
  }
8942
8957
  export interface IndicesGetDataStreamRequest extends RequestBase {
8943
8958
  name?: DataStreamNames;
@@ -9057,13 +9072,14 @@ export interface IndicesPutDataLifecycleRequest extends RequestBase {
9057
9072
  master_timeout?: Duration;
9058
9073
  timeout?: Duration;
9059
9074
  data_retention?: Duration;
9075
+ downsampling?: IndicesDataStreamLifecycleDownsampling;
9060
9076
  }
9061
9077
  export type IndicesPutDataLifecycleResponse = AcknowledgedResponseBase;
9062
9078
  export interface IndicesPutIndexTemplateIndexTemplateMapping {
9063
9079
  aliases?: Record<IndexName, IndicesAlias>;
9064
9080
  mappings?: MappingTypeMapping;
9065
9081
  settings?: IndicesIndexSettings;
9066
- lifecycle?: IndicesDataLifecycle;
9082
+ lifecycle?: IndicesDataStreamLifecycle;
9067
9083
  }
9068
9084
  export interface IndicesPutIndexTemplateRequest extends RequestBase {
9069
9085
  name: Name;
@@ -11981,6 +11997,7 @@ export interface MlPutTrainedModelRequest extends RequestBase {
11981
11997
  metadata?: any;
11982
11998
  model_type?: MlTrainedModelType;
11983
11999
  model_size_bytes?: long;
12000
+ platform_architecture?: string;
11984
12001
  tags?: string[];
11985
12002
  }
11986
12003
  export type MlPutTrainedModelResponse = MlTrainedModelConfig;
@@ -13412,11 +13429,9 @@ export interface SecurityCreatedStatus {
13412
13429
  created: boolean;
13413
13430
  }
13414
13431
  export interface SecurityFieldRule {
13415
- username?: Name;
13432
+ username?: Names;
13416
13433
  dn?: Names;
13417
13434
  groups?: Names;
13418
- metadata?: any;
13419
- realm?: SecurityRealm;
13420
13435
  }
13421
13436
  export interface SecurityFieldSecurity {
13422
13437
  except?: Fields;
@@ -13438,9 +13453,6 @@ export type SecurityIndicesPrivilegesQuery = string | QueryDslQueryContainer | S
13438
13453
  export interface SecurityManageUserPrivileges {
13439
13454
  applications: string[];
13440
13455
  }
13441
- export interface SecurityRealm {
13442
- name: Name;
13443
- }
13444
13456
  export interface SecurityRealmInfo {
13445
13457
  name: Name;
13446
13458
  type: string;
@@ -13470,7 +13482,7 @@ export interface SecurityRoleMapping {
13470
13482
  metadata: Metadata;
13471
13483
  roles: string[];
13472
13484
  rules: SecurityRoleMappingRule;
13473
- role_templates?: SecurityGetRoleRoleTemplate[];
13485
+ role_templates?: SecurityRoleTemplate[];
13474
13486
  }
13475
13487
  export interface SecurityRoleMappingRule {
13476
13488
  any?: SecurityRoleMappingRule[];
@@ -13478,6 +13490,10 @@ export interface SecurityRoleMappingRule {
13478
13490
  field?: SecurityFieldRule;
13479
13491
  except?: SecurityRoleMappingRule;
13480
13492
  }
13493
+ export interface SecurityRoleTemplate {
13494
+ format?: SecurityTemplateFormat;
13495
+ template: Script;
13496
+ }
13481
13497
  export type SecurityRoleTemplateInlineQuery = string | QueryDslQueryContainer;
13482
13498
  export interface SecurityRoleTemplateInlineScript extends ScriptBase {
13483
13499
  lang?: ScriptLanguage;
@@ -13488,6 +13504,7 @@ export interface SecurityRoleTemplateQuery {
13488
13504
  template?: SecurityRoleTemplateScript;
13489
13505
  }
13490
13506
  export type SecurityRoleTemplateScript = SecurityRoleTemplateInlineScript | SecurityRoleTemplateInlineQuery | StoredScriptId;
13507
+ export type SecurityTemplateFormat = 'string' | 'json';
13491
13508
  export interface SecurityTransientMetadataConfig {
13492
13509
  enabled: boolean;
13493
13510
  }
@@ -13750,14 +13767,9 @@ export interface SecurityGetRoleRole {
13750
13767
  run_as: string[];
13751
13768
  transient_metadata: SecurityTransientMetadataConfig;
13752
13769
  applications: SecurityApplicationPrivileges[];
13753
- role_templates?: SecurityGetRoleRoleTemplate[];
13770
+ role_templates?: SecurityRoleTemplate[];
13754
13771
  global?: Record<string, Record<string, Record<string, string[]>>>;
13755
13772
  }
13756
- export interface SecurityGetRoleRoleTemplate {
13757
- format?: SecurityGetRoleTemplateFormat;
13758
- template: Script;
13759
- }
13760
- export type SecurityGetRoleTemplateFormat = 'string' | 'json';
13761
13773
  export interface SecurityGetRoleMappingRequest extends RequestBase {
13762
13774
  name?: Names;
13763
13775
  }
@@ -13970,6 +13982,7 @@ export interface SecurityPutRoleMappingRequest extends RequestBase {
13970
13982
  enabled?: boolean;
13971
13983
  metadata?: Metadata;
13972
13984
  roles?: string[];
13985
+ role_templates?: SecurityRoleTemplate[];
13973
13986
  rules?: SecurityRoleMappingRule;
13974
13987
  run_as?: string[];
13975
13988
  }
@@ -14644,7 +14657,7 @@ export interface SynonymsPutSynonymResponse {
14644
14657
  export interface SynonymsPutSynonymRuleRequest extends RequestBase {
14645
14658
  set_id: Id;
14646
14659
  rule_id: Id;
14647
- synonyms: SynonymsSynonymString[];
14660
+ synonyms: SynonymsSynonymString;
14648
14661
  }
14649
14662
  export type SynonymsPutSynonymRuleResponse = SynonymsSynonymsUpdateResult;
14650
14663
  export type TasksGroupBy = 'nodes' | 'parents' | 'none';