@elastic/elasticsearch 8.14.1 → 8.15.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 (109) hide show
  1. package/catalog-info.yaml +9 -9
  2. package/lib/api/api/async_search.d.ts +8 -8
  3. package/lib/api/api/autoscaling.d.ts +4 -4
  4. package/lib/api/api/bulk.d.ts +2 -2
  5. package/lib/api/api/capabilities.d.ts +14 -0
  6. package/lib/api/api/capabilities.js +42 -0
  7. package/lib/api/api/capabilities.js.map +1 -0
  8. package/lib/api/api/cat.d.ts +51 -51
  9. package/lib/api/api/ccr.d.ts +13 -13
  10. package/lib/api/api/clear_scroll.d.ts +2 -2
  11. package/lib/api/api/close_point_in_time.d.ts +2 -2
  12. package/lib/api/api/cluster.d.ts +24 -24
  13. package/lib/api/api/connector.d.ts +67 -53
  14. package/lib/api/api/connector.js +59 -3
  15. package/lib/api/api/connector.js.map +1 -1
  16. package/lib/api/api/count.d.ts +1 -1
  17. package/lib/api/api/create.d.ts +2 -2
  18. package/lib/api/api/dangling_indices.d.ts +3 -3
  19. package/lib/api/api/delete.d.ts +2 -2
  20. package/lib/api/api/delete_by_query.d.ts +2 -2
  21. package/lib/api/api/delete_by_query_rethrottle.d.ts +1 -1
  22. package/lib/api/api/delete_script.d.ts +2 -2
  23. package/lib/api/api/enrich.d.ts +8 -8
  24. package/lib/api/api/eql.d.ts +7 -7
  25. package/lib/api/api/esql.d.ts +4 -4
  26. package/lib/api/api/exists.d.ts +2 -2
  27. package/lib/api/api/exists_source.d.ts +2 -2
  28. package/lib/api/api/explain.d.ts +2 -2
  29. package/lib/api/api/features.d.ts +2 -2
  30. package/lib/api/api/field_caps.d.ts +2 -2
  31. package/lib/api/api/fleet.d.ts +3 -3
  32. package/lib/api/api/get.d.ts +1 -1
  33. package/lib/api/api/get_script.d.ts +2 -2
  34. package/lib/api/api/get_script_context.d.ts +1 -1
  35. package/lib/api/api/get_script_languages.d.ts +1 -1
  36. package/lib/api/api/get_source.d.ts +1 -1
  37. package/lib/api/api/graph.d.ts +2 -2
  38. package/lib/api/api/health_report.d.ts +1 -1
  39. package/lib/api/api/ilm.d.ts +16 -16
  40. package/lib/api/api/index.d.ts +2 -2
  41. package/lib/api/api/indices.d.ts +111 -111
  42. package/lib/api/api/inference.d.ts +17 -17
  43. package/lib/api/api/inference.js +8 -7
  44. package/lib/api/api/inference.js.map +1 -1
  45. package/lib/api/api/info.d.ts +1 -1
  46. package/lib/api/api/ingest.d.ts +33 -12
  47. package/lib/api/api/ingest.js +92 -0
  48. package/lib/api/api/ingest.js.map +1 -1
  49. package/lib/api/api/knn_search.d.ts +1 -1
  50. package/lib/api/api/license.d.ts +10 -10
  51. package/lib/api/api/logstash.d.ts +6 -6
  52. package/lib/api/api/mget.d.ts +1 -1
  53. package/lib/api/api/migration.d.ts +3 -3
  54. package/lib/api/api/ml.d.ts +131 -131
  55. package/lib/api/api/monitoring.d.ts +1 -1
  56. package/lib/api/api/msearch.d.ts +1 -1
  57. package/lib/api/api/msearch_template.d.ts +2 -2
  58. package/lib/api/api/mtermvectors.d.ts +1 -1
  59. package/lib/api/api/nodes.d.ts +14 -14
  60. package/lib/api/api/open_point_in_time.d.ts +2 -2
  61. package/lib/api/api/ping.d.ts +1 -1
  62. package/lib/api/api/profiling.d.ts +4 -4
  63. package/lib/api/api/put_script.d.ts +2 -2
  64. package/lib/api/api/query_rules.d.ts +60 -0
  65. package/lib/api/api/{query_ruleset.js → query_rules.js} +97 -11
  66. package/lib/api/api/query_rules.js.map +1 -0
  67. package/lib/api/api/rank_eval.d.ts +2 -2
  68. package/lib/api/api/reindex.d.ts +1 -1
  69. package/lib/api/api/reindex_rethrottle.d.ts +2 -2
  70. package/lib/api/api/render_search_template.d.ts +2 -2
  71. package/lib/api/api/rollup.d.ts +10 -10
  72. package/lib/api/api/scripts_painless_execute.d.ts +2 -2
  73. package/lib/api/api/scroll.d.ts +1 -1
  74. package/lib/api/api/search.d.ts +2 -2
  75. package/lib/api/api/search_application.d.ts +11 -11
  76. package/lib/api/api/search_mvt.d.ts +1 -1
  77. package/lib/api/api/search_shards.d.ts +1 -1
  78. package/lib/api/api/search_template.d.ts +2 -2
  79. package/lib/api/api/searchable_snapshots.d.ts +4 -4
  80. package/lib/api/api/security.d.ts +108 -87
  81. package/lib/api/api/security.js +121 -3
  82. package/lib/api/api/security.js.map +1 -1
  83. package/lib/api/api/simulate.d.ts +1 -1
  84. package/lib/api/api/slm.d.ts +9 -9
  85. package/lib/api/api/snapshot.d.ts +13 -13
  86. package/lib/api/api/sql.d.ts +6 -6
  87. package/lib/api/api/ssl.d.ts +1 -1
  88. package/lib/api/api/synonyms.d.ts +8 -8
  89. package/lib/api/api/tasks.d.ts +4 -4
  90. package/lib/api/api/terms_enum.d.ts +1 -1
  91. package/lib/api/api/termvectors.d.ts +1 -1
  92. package/lib/api/api/text_structure.d.ts +4 -4
  93. package/lib/api/api/transform.d.ts +26 -19
  94. package/lib/api/api/transform.js +20 -0
  95. package/lib/api/api/transform.js.map +1 -1
  96. package/lib/api/api/update.d.ts +1 -1
  97. package/lib/api/api/update_by_query.d.ts +2 -2
  98. package/lib/api/api/update_by_query_rethrottle.d.ts +1 -1
  99. package/lib/api/api/watcher.d.ts +14 -14
  100. package/lib/api/api/xpack.d.ts +4 -4
  101. package/lib/api/index.d.ts +6 -4
  102. package/lib/api/index.js +8 -6
  103. package/lib/api/index.js.map +1 -1
  104. package/lib/api/types.d.ts +672 -249
  105. package/lib/api/typesWithBodyKey.d.ts +691 -250
  106. package/lib/helpers.d.ts +1 -0
  107. package/package.json +5 -4
  108. package/lib/api/api/query_ruleset.d.ts +0 -39
  109. package/lib/api/api/query_ruleset.js.map +0 -1
@@ -9,42 +9,42 @@ export default class Sql {
9
9
  constructor(transport: Transport);
10
10
  /**
11
11
  * Clears the SQL cursor
12
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/clear-sql-cursor-api.html | Elasticsearch API documentation}
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/clear-sql-cursor-api.html | Elasticsearch API documentation}
13
13
  */
14
14
  clearCursor(this: That, params: T.SqlClearCursorRequest | TB.SqlClearCursorRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlClearCursorResponse>;
15
15
  clearCursor(this: That, params: T.SqlClearCursorRequest | TB.SqlClearCursorRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlClearCursorResponse, unknown>>;
16
16
  clearCursor(this: That, params: T.SqlClearCursorRequest | TB.SqlClearCursorRequest, options?: TransportRequestOptions): Promise<T.SqlClearCursorResponse>;
17
17
  /**
18
18
  * Deletes an async SQL search or a stored synchronous SQL search. If the search is still running, the API cancels it.
19
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-async-sql-search-api.html | Elasticsearch API documentation}
19
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-async-sql-search-api.html | Elasticsearch API documentation}
20
20
  */
21
21
  deleteAsync(this: That, params: T.SqlDeleteAsyncRequest | TB.SqlDeleteAsyncRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlDeleteAsyncResponse>;
22
22
  deleteAsync(this: That, params: T.SqlDeleteAsyncRequest | TB.SqlDeleteAsyncRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlDeleteAsyncResponse, unknown>>;
23
23
  deleteAsync(this: That, params: T.SqlDeleteAsyncRequest | TB.SqlDeleteAsyncRequest, options?: TransportRequestOptions): Promise<T.SqlDeleteAsyncResponse>;
24
24
  /**
25
25
  * Returns the current status and available results for an async SQL search or stored synchronous SQL search
26
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-sql-search-api.html | Elasticsearch API documentation}
26
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-async-sql-search-api.html | Elasticsearch API documentation}
27
27
  */
28
28
  getAsync(this: That, params: T.SqlGetAsyncRequest | TB.SqlGetAsyncRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlGetAsyncResponse>;
29
29
  getAsync(this: That, params: T.SqlGetAsyncRequest | TB.SqlGetAsyncRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlGetAsyncResponse, unknown>>;
30
30
  getAsync(this: That, params: T.SqlGetAsyncRequest | TB.SqlGetAsyncRequest, options?: TransportRequestOptions): Promise<T.SqlGetAsyncResponse>;
31
31
  /**
32
32
  * Returns the current status of an async SQL search or a stored synchronous SQL search
33
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-async-sql-search-status-api.html | Elasticsearch API documentation}
33
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-async-sql-search-status-api.html | Elasticsearch API documentation}
34
34
  */
35
35
  getAsyncStatus(this: That, params: T.SqlGetAsyncStatusRequest | TB.SqlGetAsyncStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlGetAsyncStatusResponse>;
36
36
  getAsyncStatus(this: That, params: T.SqlGetAsyncStatusRequest | TB.SqlGetAsyncStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlGetAsyncStatusResponse, unknown>>;
37
37
  getAsyncStatus(this: That, params: T.SqlGetAsyncStatusRequest | TB.SqlGetAsyncStatusRequest, options?: TransportRequestOptions): Promise<T.SqlGetAsyncStatusResponse>;
38
38
  /**
39
39
  * Executes a SQL request
40
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/sql-search-api.html | Elasticsearch API documentation}
40
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/sql-search-api.html | Elasticsearch API documentation}
41
41
  */
42
42
  query(this: That, params?: T.SqlQueryRequest | TB.SqlQueryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlQueryResponse>;
43
43
  query(this: That, params?: T.SqlQueryRequest | TB.SqlQueryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlQueryResponse, unknown>>;
44
44
  query(this: That, params?: T.SqlQueryRequest | TB.SqlQueryRequest, options?: TransportRequestOptions): Promise<T.SqlQueryResponse>;
45
45
  /**
46
46
  * Translates SQL into Elasticsearch queries
47
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/sql-translate-api.html | Elasticsearch API documentation}
47
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/sql-translate-api.html | Elasticsearch API documentation}
48
48
  */
49
49
  translate(this: That, params: T.SqlTranslateRequest | TB.SqlTranslateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SqlTranslateResponse>;
50
50
  translate(this: That, params: T.SqlTranslateRequest | TB.SqlTranslateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SqlTranslateResponse, unknown>>;
@@ -9,7 +9,7 @@ export default class Ssl {
9
9
  constructor(transport: Transport);
10
10
  /**
11
11
  * Retrieves information about the X.509 certificates used to encrypt communications in the cluster.
12
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/security-api-ssl.html | Elasticsearch API documentation}
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/security-api-ssl.html | Elasticsearch API documentation}
13
13
  */
14
14
  certificates(this: That, params?: T.SslCertificatesRequest | TB.SslCertificatesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SslCertificatesResponse>;
15
15
  certificates(this: That, params?: T.SslCertificatesRequest | TB.SslCertificatesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SslCertificatesResponse, unknown>>;
@@ -9,49 +9,49 @@ export default class Synonyms {
9
9
  constructor(transport: Transport);
10
10
  /**
11
11
  * Deletes a synonym set
12
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-synonyms-set.html | Elasticsearch API documentation}
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-synonyms-set.html | Elasticsearch API documentation}
13
13
  */
14
14
  deleteSynonym(this: That, params: T.SynonymsDeleteSynonymRequest | TB.SynonymsDeleteSynonymRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsDeleteSynonymResponse>;
15
15
  deleteSynonym(this: That, params: T.SynonymsDeleteSynonymRequest | TB.SynonymsDeleteSynonymRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsDeleteSynonymResponse, unknown>>;
16
16
  deleteSynonym(this: That, params: T.SynonymsDeleteSynonymRequest | TB.SynonymsDeleteSynonymRequest, options?: TransportRequestOptions): Promise<T.SynonymsDeleteSynonymResponse>;
17
17
  /**
18
18
  * Deletes a synonym rule in a synonym set
19
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-synonym-rule.html | Elasticsearch API documentation}
19
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/delete-synonym-rule.html | Elasticsearch API documentation}
20
20
  */
21
21
  deleteSynonymRule(this: That, params: T.SynonymsDeleteSynonymRuleRequest | TB.SynonymsDeleteSynonymRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsDeleteSynonymRuleResponse>;
22
22
  deleteSynonymRule(this: That, params: T.SynonymsDeleteSynonymRuleRequest | TB.SynonymsDeleteSynonymRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsDeleteSynonymRuleResponse, unknown>>;
23
23
  deleteSynonymRule(this: That, params: T.SynonymsDeleteSynonymRuleRequest | TB.SynonymsDeleteSynonymRuleRequest, options?: TransportRequestOptions): Promise<T.SynonymsDeleteSynonymRuleResponse>;
24
24
  /**
25
25
  * Retrieves a synonym set
26
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-synonyms-set.html | Elasticsearch API documentation}
26
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-synonyms-set.html | Elasticsearch API documentation}
27
27
  */
28
28
  getSynonym(this: That, params: T.SynonymsGetSynonymRequest | TB.SynonymsGetSynonymRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsGetSynonymResponse>;
29
29
  getSynonym(this: That, params: T.SynonymsGetSynonymRequest | TB.SynonymsGetSynonymRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsGetSynonymResponse, unknown>>;
30
30
  getSynonym(this: That, params: T.SynonymsGetSynonymRequest | TB.SynonymsGetSynonymRequest, options?: TransportRequestOptions): Promise<T.SynonymsGetSynonymResponse>;
31
31
  /**
32
32
  * Retrieves a synonym rule from a synonym set
33
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-synonym-rule.html | Elasticsearch API documentation}
33
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-synonym-rule.html | Elasticsearch API documentation}
34
34
  */
35
35
  getSynonymRule(this: That, params: T.SynonymsGetSynonymRuleRequest | TB.SynonymsGetSynonymRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsGetSynonymRuleResponse>;
36
36
  getSynonymRule(this: That, params: T.SynonymsGetSynonymRuleRequest | TB.SynonymsGetSynonymRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsGetSynonymRuleResponse, unknown>>;
37
37
  getSynonymRule(this: That, params: T.SynonymsGetSynonymRuleRequest | TB.SynonymsGetSynonymRuleRequest, options?: TransportRequestOptions): Promise<T.SynonymsGetSynonymRuleResponse>;
38
38
  /**
39
39
  * Retrieves a summary of all defined synonym sets
40
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/list-synonyms-sets.html | Elasticsearch API documentation}
40
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/list-synonyms-sets.html | Elasticsearch API documentation}
41
41
  */
42
42
  getSynonymsSets(this: That, params?: T.SynonymsGetSynonymsSetsRequest | TB.SynonymsGetSynonymsSetsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsGetSynonymsSetsResponse>;
43
43
  getSynonymsSets(this: That, params?: T.SynonymsGetSynonymsSetsRequest | TB.SynonymsGetSynonymsSetsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsGetSynonymsSetsResponse, unknown>>;
44
44
  getSynonymsSets(this: That, params?: T.SynonymsGetSynonymsSetsRequest | TB.SynonymsGetSynonymsSetsRequest, options?: TransportRequestOptions): Promise<T.SynonymsGetSynonymsSetsResponse>;
45
45
  /**
46
- * Creates or updates a synonyms set
47
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-synonyms-set.html | Elasticsearch API documentation}
46
+ * Creates or updates a synonym set.
47
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-synonyms-set.html | Elasticsearch API documentation}
48
48
  */
49
49
  putSynonym(this: That, params: T.SynonymsPutSynonymRequest | TB.SynonymsPutSynonymRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsPutSynonymResponse>;
50
50
  putSynonym(this: That, params: T.SynonymsPutSynonymRequest | TB.SynonymsPutSynonymRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsPutSynonymResponse, unknown>>;
51
51
  putSynonym(this: That, params: T.SynonymsPutSynonymRequest | TB.SynonymsPutSynonymRequest, options?: TransportRequestOptions): Promise<T.SynonymsPutSynonymResponse>;
52
52
  /**
53
53
  * Creates or updates a synonym rule in a synonym set
54
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-synonym-rule.html | Elasticsearch API documentation}
54
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-synonym-rule.html | Elasticsearch API documentation}
55
55
  */
56
56
  putSynonymRule(this: That, params: T.SynonymsPutSynonymRuleRequest | TB.SynonymsPutSynonymRuleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.SynonymsPutSynonymRuleResponse>;
57
57
  putSynonymRule(this: That, params: T.SynonymsPutSynonymRuleRequest | TB.SynonymsPutSynonymRuleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.SynonymsPutSynonymRuleResponse, unknown>>;
@@ -9,21 +9,21 @@ export default class Tasks {
9
9
  constructor(transport: Transport);
10
10
  /**
11
11
  * Cancels a task, if it can be cancelled through an API.
12
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html | Elasticsearch API documentation}
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/tasks.html | Elasticsearch API documentation}
13
13
  */
14
14
  cancel(this: That, params?: T.TasksCancelRequest | TB.TasksCancelRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TasksCancelResponse>;
15
15
  cancel(this: That, params?: T.TasksCancelRequest | TB.TasksCancelRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TasksCancelResponse, unknown>>;
16
16
  cancel(this: That, params?: T.TasksCancelRequest | TB.TasksCancelRequest, options?: TransportRequestOptions): Promise<T.TasksCancelResponse>;
17
17
  /**
18
18
  * Returns information about a task.
19
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html | Elasticsearch API documentation}
19
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/tasks.html | Elasticsearch API documentation}
20
20
  */
21
21
  get(this: That, params: T.TasksGetRequest | TB.TasksGetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TasksGetResponse>;
22
22
  get(this: That, params: T.TasksGetRequest | TB.TasksGetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TasksGetResponse, unknown>>;
23
23
  get(this: That, params: T.TasksGetRequest | TB.TasksGetRequest, options?: TransportRequestOptions): Promise<T.TasksGetResponse>;
24
24
  /**
25
- * Returns a list of tasks.
26
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/tasks.html | Elasticsearch API documentation}
25
+ * The task management API returns information about tasks currently executing on one or more nodes in the cluster.
26
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/tasks.html | Elasticsearch API documentation}
27
27
  */
28
28
  list(this: That, params?: T.TasksListRequest | TB.TasksListRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TasksListResponse>;
29
29
  list(this: That, params?: T.TasksListRequest | TB.TasksListRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TasksListResponse, unknown>>;
@@ -6,7 +6,7 @@ interface That {
6
6
  }
7
7
  /**
8
8
  * The terms enum API can be used to discover terms in the index that begin with the provided string. It is designed for low-latency look-ups used in auto-complete scenarios.
9
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/search-terms-enum.html | Elasticsearch API documentation}
9
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/search-terms-enum.html | Elasticsearch API documentation}
10
10
  */
11
11
  export default function TermsEnumApi(this: That, params: T.TermsEnumRequest | TB.TermsEnumRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TermsEnumResponse>;
12
12
  export default function TermsEnumApi(this: That, params: T.TermsEnumRequest | TB.TermsEnumRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TermsEnumResponse, unknown>>;
@@ -6,7 +6,7 @@ interface That {
6
6
  }
7
7
  /**
8
8
  * Returns information and statistics about terms in the fields of a particular document.
9
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/docs-termvectors.html | Elasticsearch API documentation}
9
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docs-termvectors.html | Elasticsearch API documentation}
10
10
  */
11
11
  export default function TermvectorsApi<TDocument = unknown>(this: That, params: T.TermvectorsRequest<TDocument> | TB.TermvectorsRequest<TDocument>, options?: TransportRequestOptionsWithOutMeta): Promise<T.TermvectorsResponse>;
12
12
  export default function TermvectorsApi<TDocument = unknown>(this: That, params: T.TermvectorsRequest<TDocument> | TB.TermvectorsRequest<TDocument>, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TermvectorsResponse, unknown>>;
@@ -9,28 +9,28 @@ export default class TextStructure {
9
9
  constructor(transport: Transport);
10
10
  /**
11
11
  * Finds the structure of a text field in an index.
12
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/find-field-structure.html | Elasticsearch API documentation}
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/find-field-structure.html | Elasticsearch API documentation}
13
13
  */
14
14
  findFieldStructure(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
15
15
  findFieldStructure(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
16
16
  findFieldStructure(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
17
17
  /**
18
18
  * Finds the structure of a list of messages. The messages must contain data that is suitable to be ingested into Elasticsearch.
19
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/find-message-structure.html | Elasticsearch API documentation}
19
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/find-message-structure.html | Elasticsearch API documentation}
20
20
  */
21
21
  findMessageStructure(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
22
22
  findMessageStructure(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
23
23
  findMessageStructure(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
24
24
  /**
25
25
  * Finds the structure of a text file. The text file must contain data that is suitable to be ingested into Elasticsearch.
26
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/find-structure.html | Elasticsearch API documentation}
26
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/find-structure.html | Elasticsearch API documentation}
27
27
  */
28
28
  findStructure<TJsonDocument = unknown>(this: That, params: T.TextStructureFindStructureRequest<TJsonDocument> | TB.TextStructureFindStructureRequest<TJsonDocument>, options?: TransportRequestOptionsWithOutMeta): Promise<T.TextStructureFindStructureResponse>;
29
29
  findStructure<TJsonDocument = unknown>(this: That, params: T.TextStructureFindStructureRequest<TJsonDocument> | TB.TextStructureFindStructureRequest<TJsonDocument>, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TextStructureFindStructureResponse, unknown>>;
30
30
  findStructure<TJsonDocument = unknown>(this: That, params: T.TextStructureFindStructureRequest<TJsonDocument> | TB.TextStructureFindStructureRequest<TJsonDocument>, options?: TransportRequestOptions): Promise<T.TextStructureFindStructureResponse>;
31
31
  /**
32
32
  * Tests a Grok pattern on some text.
33
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/test-grok-pattern.html | Elasticsearch API documentation}
33
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/test-grok-pattern.html | Elasticsearch API documentation}
34
34
  */
35
35
  testGrokPattern(this: That, params: T.TextStructureTestGrokPatternRequest | TB.TextStructureTestGrokPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TextStructureTestGrokPatternResponse>;
36
36
  testGrokPattern(this: That, params: T.TextStructureTestGrokPatternRequest | TB.TextStructureTestGrokPatternRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TextStructureTestGrokPatternResponse, unknown>>;
@@ -8,78 +8,85 @@ export default class Transform {
8
8
  transport: Transport;
9
9
  constructor(transport: Transport);
10
10
  /**
11
- * Deletes an existing transform.
12
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/delete-transform.html | Elasticsearch API documentation}
11
+ * Deletes a transform.
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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
+ /**
18
+ * Retrieves transform usage information for transform nodes.
19
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-transform-node-stats.html | Elasticsearch API documentation}
20
+ */
21
+ getNodeStats(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithOutMeta): Promise<T.TODO>;
22
+ getNodeStats(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TODO, unknown>>;
23
+ getNodeStats(this: That, params?: T.TODO | TB.TODO, options?: TransportRequestOptions): Promise<T.TODO>;
17
24
  /**
18
25
  * Retrieves configuration information for transforms.
19
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-transform.html | Elasticsearch API documentation}
26
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-transform.html | Elasticsearch API documentation}
20
27
  */
21
28
  getTransform(this: That, params?: T.TransformGetTransformRequest | TB.TransformGetTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformGetTransformResponse>;
22
29
  getTransform(this: That, params?: T.TransformGetTransformRequest | TB.TransformGetTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformGetTransformResponse, unknown>>;
23
30
  getTransform(this: That, params?: T.TransformGetTransformRequest | TB.TransformGetTransformRequest, options?: TransportRequestOptions): Promise<T.TransformGetTransformResponse>;
24
31
  /**
25
32
  * Retrieves usage information for transforms.
26
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/get-transform-stats.html | Elasticsearch API documentation}
33
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/get-transform-stats.html | Elasticsearch API documentation}
27
34
  */
28
35
  getTransformStats(this: That, params: T.TransformGetTransformStatsRequest | TB.TransformGetTransformStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformGetTransformStatsResponse>;
29
36
  getTransformStats(this: That, params: T.TransformGetTransformStatsRequest | TB.TransformGetTransformStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformGetTransformStatsResponse, unknown>>;
30
37
  getTransformStats(this: That, params: T.TransformGetTransformStatsRequest | TB.TransformGetTransformStatsRequest, options?: TransportRequestOptions): Promise<T.TransformGetTransformStatsResponse>;
31
38
  /**
32
- * Previews a transform.
33
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/preview-transform.html | Elasticsearch API documentation}
39
+ * Previews a transform. It returns a maximum of 100 results. The calculations are based on all the current data in the source index. It also generates a list of mappings and settings for the destination index. These values are determined based on the field types of the source index and the transform aggregations.
40
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/preview-transform.html | Elasticsearch API documentation}
34
41
  */
35
42
  previewTransform<TTransform = unknown>(this: That, params?: T.TransformPreviewTransformRequest | TB.TransformPreviewTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformPreviewTransformResponse<TTransform>>;
36
43
  previewTransform<TTransform = unknown>(this: That, params?: T.TransformPreviewTransformRequest | TB.TransformPreviewTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformPreviewTransformResponse<TTransform>, unknown>>;
37
44
  previewTransform<TTransform = unknown>(this: That, params?: T.TransformPreviewTransformRequest | TB.TransformPreviewTransformRequest, options?: TransportRequestOptions): Promise<T.TransformPreviewTransformResponse<TTransform>>;
38
45
  /**
39
- * Instantiates a transform.
40
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/put-transform.html | Elasticsearch API documentation}
46
+ * Creates a transform. A transform copies data from source indices, transforms it, and persists it into an entity-centric destination index. You can also think of the destination index as a two-dimensional tabular data structure (known as a data frame). The ID for each document in the data frame is generated from a hash of the entity, so there is a unique row per entity. You must choose either the latest or pivot method for your transform; you cannot use both in a single transform. If you choose to use the pivot method for your transform, the entities are defined by the set of `group_by` fields in the pivot object. If you choose to use the latest method, the entities are defined by the `unique_key` field values in the latest object. You must have `create_index`, `index`, and `read` privileges on the destination index and `read` and `view_index_metadata` privileges on the source indices. When Elasticsearch security features are enabled, the transform remembers which roles the user that created it had at the time of creation and uses those same roles. If those roles do not have the required privileges on the source and destination indices, the transform fails when it attempts unauthorized operations. NOTE: You must use Kibana or this API to create a transform. Do not add a transform directly into any `.transform-internal*` indices using the Elasticsearch index API. If Elasticsearch security features are enabled, do not give users any privileges on `.transform-internal*` indices. If you used transforms prior to 7.5, also do not give users any privileges on `.data-frame-internal*` indices.
47
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/put-transform.html | Elasticsearch API documentation}
41
48
  */
42
49
  putTransform(this: That, params: T.TransformPutTransformRequest | TB.TransformPutTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformPutTransformResponse>;
43
50
  putTransform(this: That, params: T.TransformPutTransformRequest | TB.TransformPutTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformPutTransformResponse, unknown>>;
44
51
  putTransform(this: That, params: T.TransformPutTransformRequest | TB.TransformPutTransformRequest, options?: TransportRequestOptions): Promise<T.TransformPutTransformResponse>;
45
52
  /**
46
- * Resets an existing transform.
47
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/reset-transform.html | Elasticsearch API documentation}
53
+ * Resets a transform. Before you can reset it, you must stop it; alternatively, use the `force` query parameter. If the destination index was created by the transform, it is deleted.
54
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/reset-transform.html | Elasticsearch API documentation}
48
55
  */
49
56
  resetTransform(this: That, params: T.TransformResetTransformRequest | TB.TransformResetTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformResetTransformResponse>;
50
57
  resetTransform(this: That, params: T.TransformResetTransformRequest | TB.TransformResetTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformResetTransformResponse, unknown>>;
51
58
  resetTransform(this: That, params: T.TransformResetTransformRequest | TB.TransformResetTransformRequest, options?: TransportRequestOptions): Promise<T.TransformResetTransformResponse>;
52
59
  /**
53
- * Schedules now a transform.
54
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/schedule-now-transform.html | Elasticsearch API documentation}
60
+ * Schedules now a transform. If you _schedule_now a transform, it will process the new data instantly, without waiting for the configured frequency interval. After _schedule_now API is called, the transform will be processed again at now + frequency unless _schedule_now API is called again in the meantime.
61
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/schedule-now-transform.html | Elasticsearch API documentation}
55
62
  */
56
63
  scheduleNowTransform(this: That, params: T.TransformScheduleNowTransformRequest | TB.TransformScheduleNowTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformScheduleNowTransformResponse>;
57
64
  scheduleNowTransform(this: That, params: T.TransformScheduleNowTransformRequest | TB.TransformScheduleNowTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformScheduleNowTransformResponse, unknown>>;
58
65
  scheduleNowTransform(this: That, params: T.TransformScheduleNowTransformRequest | TB.TransformScheduleNowTransformRequest, options?: TransportRequestOptions): Promise<T.TransformScheduleNowTransformResponse>;
59
66
  /**
60
- * Starts one or more transforms.
61
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/start-transform.html | Elasticsearch API documentation}
67
+ * Starts a transform. When you start a transform, it creates the destination index if it does not already exist. The `number_of_shards` is set to `1` and the `auto_expand_replicas` is set to `0-1`. If it is a pivot transform, it deduces the mapping definitions for the destination index from the source indices and the transform aggregations. If fields in the destination index are derived from scripts (as in the case of `scripted_metric` or `bucket_script` aggregations), the transform uses dynamic mappings unless an index template exists. If it is a latest transform, it does not deduce mapping definitions; it uses dynamic mappings. To use explicit mappings, create the destination index before you start the transform. Alternatively, you can create an index template, though it does not affect the deduced mappings in a pivot transform. When the transform starts, a series of validations occur to ensure its success. If you deferred validation when you created the transform, they occur when you start the transform—with the exception of privilege checks. When Elasticsearch security features are enabled, the transform remembers which roles the user that created it had at the time of creation and uses those same roles. If those roles do not have the required privileges on the source and destination indices, the transform fails when it attempts unauthorized operations.
68
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/start-transform.html | Elasticsearch API documentation}
62
69
  */
63
70
  startTransform(this: That, params: T.TransformStartTransformRequest | TB.TransformStartTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformStartTransformResponse>;
64
71
  startTransform(this: That, params: T.TransformStartTransformRequest | TB.TransformStartTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformStartTransformResponse, unknown>>;
65
72
  startTransform(this: That, params: T.TransformStartTransformRequest | TB.TransformStartTransformRequest, options?: TransportRequestOptions): Promise<T.TransformStartTransformResponse>;
66
73
  /**
67
74
  * Stops one or more transforms.
68
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/stop-transform.html | Elasticsearch API documentation}
75
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/stop-transform.html | Elasticsearch API documentation}
69
76
  */
70
77
  stopTransform(this: That, params: T.TransformStopTransformRequest | TB.TransformStopTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformStopTransformResponse>;
71
78
  stopTransform(this: That, params: T.TransformStopTransformRequest | TB.TransformStopTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformStopTransformResponse, unknown>>;
72
79
  stopTransform(this: That, params: T.TransformStopTransformRequest | TB.TransformStopTransformRequest, options?: TransportRequestOptions): Promise<T.TransformStopTransformResponse>;
73
80
  /**
74
- * Updates certain properties of a transform.
75
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/update-transform.html | Elasticsearch API documentation}
81
+ * Updates certain properties of a transform. All updated properties except `description` do not take effect until after the transform starts the next checkpoint, thus there is data consistency in each checkpoint. To use this API, you must have `read` and `view_index_metadata` privileges for the source indices. You must also have `index` and `read` privileges for the destination index. When Elasticsearch security features are enabled, the transform remembers which roles the user who updated it had at the time of update and runs with those privileges.
82
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/update-transform.html | Elasticsearch API documentation}
76
83
  */
77
84
  updateTransform(this: That, params: T.TransformUpdateTransformRequest | TB.TransformUpdateTransformRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformUpdateTransformResponse>;
78
85
  updateTransform(this: That, params: T.TransformUpdateTransformRequest | TB.TransformUpdateTransformRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformUpdateTransformResponse, unknown>>;
79
86
  updateTransform(this: That, params: T.TransformUpdateTransformRequest | TB.TransformUpdateTransformRequest, options?: TransportRequestOptions): Promise<T.TransformUpdateTransformResponse>;
80
87
  /**
81
- * Upgrades all transforms.
82
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/upgrade-transforms.html | Elasticsearch API documentation}
88
+ * Upgrades all transforms. This API identifies transforms that have a legacy configuration format and upgrades them to the latest version. It also cleans up the internal data structures that store the transform state and checkpoints. The upgrade does not affect the source and destination indices. The upgrade also does not affect the roles that transforms use when Elasticsearch security features are enabled; the role used to read source data and write to the destination index remains unchanged.
89
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/upgrade-transforms.html | Elasticsearch API documentation}
83
90
  */
84
91
  upgradeTransforms(this: That, params?: T.TransformUpgradeTransformsRequest | TB.TransformUpgradeTransformsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.TransformUpgradeTransformsResponse>;
85
92
  upgradeTransforms(this: That, params?: T.TransformUpgradeTransformsRequest | TB.TransformUpgradeTransformsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.TransformUpgradeTransformsResponse, unknown>>;
@@ -51,6 +51,26 @@ class Transform {
51
51
  };
52
52
  return await this.transport.request({ path, method, querystring, body, meta }, options);
53
53
  }
54
+ async getNodeStats(params, options) {
55
+ const acceptedPath = [];
56
+ const querystring = {};
57
+ const body = undefined;
58
+ params = params !== null && params !== void 0 ? params : {};
59
+ for (const key in params) {
60
+ if (acceptedPath.includes(key)) {
61
+ continue;
62
+ }
63
+ else if (key !== 'body') {
64
+ querystring[key] = params[key];
65
+ }
66
+ }
67
+ const method = 'GET';
68
+ const path = '/_transform/_node_stats';
69
+ const meta = {
70
+ name: 'transform.get_node_stats'
71
+ };
72
+ return await this.transport.request({ path, method, querystring, body, meta }, options);
73
+ }
54
74
  async getTransform(params, options) {
55
75
  const acceptedPath = ['transform_id'];
56
76
  const querystring = {};
@@ -1 +1 @@
1
- {"version":3,"file":"transform.js","sourceRoot":"","sources":["../../../src/api/api/transform.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAuBH,MAAqB,SAAS;IAE5B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,eAAe,CAAc,MAA8E,EAAE,OAAiC;QAClJ,MAAM,YAAY,GAAa,CAAC,cAAc,CAAC,CAAA;QAC/C,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,QAAQ,CAAA;QACvB,MAAM,IAAI,GAAG,eAAe,kBAAkB,CAAC,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;QAChF,MAAM,IAAI,GAA6B;YACrC,IAAI,EAAE,4BAA4B;YAClC,SAAS,EAAE;gBACT,YAAY,EAAE,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,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,MAAM,CAAA;QACrB,MAAM,IAAI,GAAG,sBAAsB,CAAA;QACnC,MAAM,IAAI,GAA6B;YACrC,IAAI,EAAE,8BAA8B;SACrC,CAAA;QACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACzF,CAAC;CACF;AApbD,4BAobC"}
@@ -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.14/docs-update.html | Elasticsearch API documentation}
9
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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>>;
@@ -5,8 +5,8 @@ interface That {
5
5
  transport: Transport;
6
6
  }
7
7
  /**
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.14/docs-update-by-query.html | Elasticsearch API documentation}
8
+ * Updates documents that match the specified query. If no query is specified, performs an update on every document in the data stream or index without modifying the source, which is useful for picking up mapping changes.
9
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/docs-update-by-query.html | Elasticsearch API documentation}
9
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-ack-watch.html | Elasticsearch API documentation}
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-activate-watch.html | Elasticsearch API documentation}
19
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-deactivate-watch.html | Elasticsearch API documentation}
26
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-delete-watch.html | Elasticsearch API documentation}
33
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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
- * Forces the execution of a stored watch.
40
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/watcher-api-execute-watch.html | Elasticsearch API documentation}
39
+ * This API can be used to force execution of the watch outside of its triggering logic or to simulate the watch execution for debugging purposes. For testing and debugging purposes, you also have fine-grained control on how the watch runs. You can execute the watch without executing all of its actions or alternatively by simulating them. You can also force execution by ignoring the watch condition and control whether a watch record would be written to the watch history after execution.
40
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-get-settings.html | Elasticsearch API documentation}
47
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-get-watch.html | Elasticsearch API documentation}
54
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-put-watch.html | Elasticsearch API documentation}
61
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-query-watches.html | Elasticsearch API documentation}
68
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-start.html | Elasticsearch API documentation}
75
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-stats.html | Elasticsearch API documentation}
82
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-stop.html | Elasticsearch API documentation}
89
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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.14/watcher-api-update-settings.html | Elasticsearch API documentation}
96
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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>>;
@@ -8,15 +8,15 @@ export default class Xpack {
8
8
  transport: Transport;
9
9
  constructor(transport: Transport);
10
10
  /**
11
- * Retrieves information about the installed X-Pack features.
12
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/info-api.html | Elasticsearch API documentation}
11
+ * Provides general information about the installed X-Pack features.
12
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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
- * Retrieves usage information about the installed X-Pack features.
19
- * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.14/usage-api.html | Elasticsearch API documentation}
18
+ * This API provides information about which features are currently enabled and available under the current license and some usage statistics.
19
+ * @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.15/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>>;