@opensearch-project/opensearch 2.0.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.json +13 -5
- package/ADMINS.md +13 -38
- package/CHANGELOG.md +54 -0
- package/COMPATIBILITY.md +4 -1
- package/MAINTAINERS.md +11 -73
- package/Makefile +2 -12
- package/README.md +4 -107
- package/RELEASING.md +7 -1
- package/USER_GUIDE.md +248 -0
- package/api/api/bulk.js +24 -2
- package/api/api/cat.js +320 -2
- package/api/api/clear_scroll.js +15 -2
- package/api/api/cluster.js +238 -2
- package/api/api/count.js +29 -2
- package/api/api/create.js +27 -2
- package/api/api/create_pit.js +88 -0
- package/api/api/dangling_indices.js +46 -2
- package/api/api/delete.js +24 -2
- package/api/api/delete_all_pits.js +53 -0
- package/api/api/delete_by_query.js +49 -2
- package/api/api/delete_by_query_rethrottle.js +15 -2
- package/api/api/delete_pit.js +61 -0
- package/api/api/delete_script.js +15 -2
- package/api/api/exists.js +26 -2
- package/api/api/exists_source.js +26 -2
- package/api/api/explain.js +28 -2
- package/api/api/features.js +25 -2
- package/api/api/field_caps.js +20 -2
- package/api/api/get.js +26 -2
- package/api/api/get_all_pits.js +53 -0
- package/api/api/get_script.js +17 -2
- package/api/api/get_script_context.js +12 -2
- package/api/api/get_script_languages.js +12 -2
- package/api/api/get_source.js +26 -2
- package/api/api/index.js +30 -2
- package/api/api/indices.js +816 -2
- package/api/api/info.js +12 -2
- package/api/api/ingest.js +90 -2
- package/api/api/mget.js +25 -2
- package/api/api/msearch.js +23 -2
- package/api/api/msearch_template.js +20 -2
- package/api/api/mtermvectors.js +1 -2
- package/api/api/nodes.js +92 -2
- package/api/api/ping.js +12 -2
- package/api/api/put_script.js +18 -2
- package/api/api/rank_eval.js +20 -2
- package/api/api/reindex.js +23 -2
- package/api/api/reindex_rethrottle.js +15 -2
- package/api/api/render_search_template.js +15 -2
- package/api/api/scripts_painless_execute.js +14 -2
- package/api/api/scroll.js +18 -2
- package/api/api/search.js +61 -2
- package/api/api/search_shards.js +20 -2
- package/api/api/search_template.js +28 -2
- package/api/api/shutdown.js +4 -2
- package/api/api/snapshot.js +211 -2
- package/api/api/tasks.js +57 -2
- package/api/api/terms_enum.js +2 -2
- package/api/api/termvectors.js +27 -2
- package/api/api/update.js +29 -2
- package/api/api/update_by_query.js +51 -2
- package/api/api/update_by_query_rethrottle.js +15 -2
- package/api/index.js +29 -2
- package/api/new.d.ts +65 -2
- package/api/opensearch_dashboards.d.ts +5 -2
- package/api/requestParams.d.ts +17 -2
- package/api/types.d.ts +48 -2
- package/api/utils.js +1 -2
- package/index.d.ts +605 -120
- package/index.js +2 -3
- package/index.mjs +1 -2
- package/jenkins/release.JenkinsFile +11 -0
- package/lib/Connection.d.ts +1 -2
- package/lib/Connection.js +5 -4
- package/lib/Helpers.d.ts +5 -4
- package/lib/Helpers.js +13 -17
- package/lib/Serializer.d.ts +1 -2
- package/lib/Serializer.js +2 -3
- package/lib/Transport.d.ts +10 -4
- package/lib/Transport.js +34 -7
- package/lib/aws/AwsSigv4Signer.js +176 -0
- package/lib/aws/errors.js +24 -0
- package/lib/aws/index.d.ts +39 -0
- package/lib/aws/index.js +19 -0
- package/lib/errors.d.ts +1 -2
- package/lib/errors.js +1 -2
- package/lib/pool/BaseConnectionPool.js +1 -2
- package/lib/pool/CloudConnectionPool.js +1 -2
- package/lib/pool/ConnectionPool.js +1 -2
- package/lib/pool/index.d.ts +1 -2
- package/lib/pool/index.js +1 -2
- package/package.json +36 -18
package/api/api/tasks.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -33,6 +32,8 @@
|
|
|
33
32
|
/* eslint camelcase: 0 */
|
|
34
33
|
/* eslint no-unused-vars: 0 */
|
|
35
34
|
|
|
35
|
+
/** @namespace API-Tasks */
|
|
36
|
+
|
|
36
37
|
const { handleError, snakeCaseKeys, normalizeArguments, kConfigurationError } = require('../utils');
|
|
37
38
|
const acceptedQuerystring = [
|
|
38
39
|
'nodes',
|
|
@@ -61,6 +62,24 @@ function TasksApi(transport, ConfigurationError) {
|
|
|
61
62
|
this[kConfigurationError] = ConfigurationError;
|
|
62
63
|
}
|
|
63
64
|
|
|
65
|
+
/**
|
|
66
|
+
* Cancels a task, if it can be cancelled through an API.
|
|
67
|
+
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/tasks/#task-canceling OpenSearch - Task Cancelling}
|
|
68
|
+
*
|
|
69
|
+
* @memberOf API-Tasks
|
|
70
|
+
*
|
|
71
|
+
* @param {Object} params
|
|
72
|
+
* @param {string} [params.task_id] - Cancel the task with specified task id (node_id:task_number)
|
|
73
|
+
* @param {string} [params.nodes] - A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
|
|
74
|
+
* @param {string} [params.actions] - A comma-separated list of actions that should be cancelled. Leave empty to cancel all.
|
|
75
|
+
* @param {string} [params.parent_task_id] - Cancel tasks with specified parent task id (node_id:task_number). Set to -1 to cancel all.
|
|
76
|
+
* @param {boolean} [params.wait_for_completion] - Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false
|
|
77
|
+
*
|
|
78
|
+
* @param {Object} options - Options for {@link Transport#request}
|
|
79
|
+
* @param {function} callback - Callback that handles errors and response
|
|
80
|
+
*
|
|
81
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
82
|
+
*/
|
|
64
83
|
TasksApi.prototype.cancel = function tasksCancelApi(params, options, callback) {
|
|
65
84
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
66
85
|
|
|
@@ -87,6 +106,22 @@ TasksApi.prototype.cancel = function tasksCancelApi(params, options, callback) {
|
|
|
87
106
|
return this.transport.request(request, options, callback);
|
|
88
107
|
};
|
|
89
108
|
|
|
109
|
+
/**
|
|
110
|
+
* Returns information about a task.
|
|
111
|
+
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/tasks OpenSearch - Tasks}
|
|
112
|
+
*
|
|
113
|
+
* @memberOf API-Tasks
|
|
114
|
+
*
|
|
115
|
+
* @param {Object} params
|
|
116
|
+
* @param {string} [params.task_id] - Return the task with specified id (node_id:task_number)
|
|
117
|
+
* @param {boolean} [params.wait_for_completion] - Wait for the matching tasks to complete (default: false)
|
|
118
|
+
* @param {string} [params.timeout] - Explicit operation timeoutompletion] - Should the request block until the cancellation of the task and its descendant tasks is completed. Defaults to false
|
|
119
|
+
*
|
|
120
|
+
* @param {Object} options - Options for {@link Transport#request}
|
|
121
|
+
* @param {function} callback - Callback that handles errors and response
|
|
122
|
+
*
|
|
123
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
124
|
+
*/
|
|
90
125
|
TasksApi.prototype.get = function tasksGetApi(params, options, callback) {
|
|
91
126
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
92
127
|
|
|
@@ -114,6 +149,26 @@ TasksApi.prototype.get = function tasksGetApi(params, options, callback) {
|
|
|
114
149
|
return this.transport.request(request, options, callback);
|
|
115
150
|
};
|
|
116
151
|
|
|
152
|
+
/**
|
|
153
|
+
* Returns a list of tasks.
|
|
154
|
+
* <br/> See Also: {@link https://opensearch.org/docs/latest/api-reference/tasks OpenSearch - Tasks}
|
|
155
|
+
*
|
|
156
|
+
* @memberOf API-Tasks
|
|
157
|
+
*
|
|
158
|
+
* @param {Object} params
|
|
159
|
+
* @param {string} [params.nodes] - A comma-separated list of node IDs or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes
|
|
160
|
+
* @param {string} [params.actions] - A comma-separated list of actions that should be returned. Leave empty to return all.
|
|
161
|
+
* @param {boolean} [params.detailed] - Return detailed task information (default: false)
|
|
162
|
+
* @param {string} [params.parent_task_id] - Return tasks with specified parent task id (node_id:task_number). Set to -1 to return all.
|
|
163
|
+
* @param {boolean} [params.wait_for_completion] - Wait for the matching tasks to complete (default: false)
|
|
164
|
+
* @param {string} [params.group_by] - Group tasks by nodes or parent/child relationships (options: nodes, parents, none)
|
|
165
|
+
* @param {string} [params.timeout] - Explicit operation timeout
|
|
166
|
+
*
|
|
167
|
+
* @param {Object} options - Options for {@link Transport#request}
|
|
168
|
+
* @param {function} callback - Callback that handles errors and response
|
|
169
|
+
*
|
|
170
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
171
|
+
*/
|
|
117
172
|
TasksApi.prototype.list = function tasksListApi(params, options, callback) {
|
|
118
173
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
119
174
|
|
package/api/api/terms_enum.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -37,6 +36,7 @@ const { handleError, snakeCaseKeys, normalizeArguments, kConfigurationError } =
|
|
|
37
36
|
const acceptedQuerystring = ['pretty', 'human', 'error_trace', 'source', 'filter_path'];
|
|
38
37
|
const snakeCase = { errorTrace: 'error_trace', filterPath: 'filter_path' };
|
|
39
38
|
|
|
39
|
+
// TODO: Remove. Added in ES 7.14
|
|
40
40
|
function termsEnumApi(params, options, callback) {
|
|
41
41
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
42
42
|
|
package/api/api/termvectors.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -60,6 +59,32 @@ const snakeCase = {
|
|
|
60
59
|
filterPath: 'filter_path',
|
|
61
60
|
};
|
|
62
61
|
|
|
62
|
+
/**
|
|
63
|
+
* Returns information and statistics about terms in the fields of a particular document.
|
|
64
|
+
*
|
|
65
|
+
* @memberOf API-Document
|
|
66
|
+
*
|
|
67
|
+
* @param {Object} params
|
|
68
|
+
* @param {string} params.index - The index in which the document resides.
|
|
69
|
+
* @param {string} [params.id] - The id of the document, when not specified a doc param should be supplied.
|
|
70
|
+
* @param {boolean} [params.term_statistics] - Specifies if total term frequency and document frequency should be returned.
|
|
71
|
+
* @param {boolean} [params.field_statistics] - Specifies if document count, sum of document frequencies and sum of total term frequencies should be returned.
|
|
72
|
+
* @param {string} [params.fields] - A comma-separated list of fields to return.
|
|
73
|
+
* @param {boolean} [params.offsets] - Specifies if term offsets should be returned.
|
|
74
|
+
* @param {boolean} [params.positions] - Specifies if term positions should be returned.
|
|
75
|
+
* @param {boolean} [params.payloads] - Specifies if term payloads should be returned.
|
|
76
|
+
* @param {string} [params.preference] - Specify the node or shard the operation should be performed on (default: random).
|
|
77
|
+
* @param {string} [params.routing] - Specific routing value.
|
|
78
|
+
* @param {boolean} [params.realtime] - Specifies if request is real-time as opposed to near-real-time (default: true).
|
|
79
|
+
* @param {number} [params.version] - Explicit version number for concurrency control
|
|
80
|
+
* @param {string} [params.version_type] - Specific version type (options: internal, external, external_gte, force)
|
|
81
|
+
* @param {Object} [params.body] - Define parameters and or supply a document to get termvectors for. See documentation.
|
|
82
|
+
*
|
|
83
|
+
* @param {Object} options - Options for {@link Transport#request}
|
|
84
|
+
* @param {function} callback - Callback that handles errors and response
|
|
85
|
+
*
|
|
86
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
87
|
+
*/
|
|
63
88
|
function termvectorsApi(params, options, callback) {
|
|
64
89
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
65
90
|
|
package/api/api/update.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -69,6 +68,34 @@ const snakeCase = {
|
|
|
69
68
|
filterPath: 'filter_path',
|
|
70
69
|
};
|
|
71
70
|
|
|
71
|
+
/**
|
|
72
|
+
* Update an existing document
|
|
73
|
+
* <br/> See Also: {@link https://opensearch.org/docs/2.4/api-reference/document-apis/update-document/ OpenSearch - Update Document}
|
|
74
|
+
*
|
|
75
|
+
* @memberOf API-Document
|
|
76
|
+
*
|
|
77
|
+
* @param {Object} params
|
|
78
|
+
* @param {string} params.index - Name of the index.
|
|
79
|
+
* @param {string} params.id - A unique identifier to attach to the document.
|
|
80
|
+
* @param {Object} params.body - The request definition requires either `script` or partial `doc`.
|
|
81
|
+
* @param {number} [params.if_seq_no] - Only perform the update operation if the document has the specified sequence number.
|
|
82
|
+
* @param {number} [params.if_primary_term] - Only perform the update operation if the document has the specified primary term.
|
|
83
|
+
* @param {string} [params.lang=painless] - Language of the script.
|
|
84
|
+
* @param {string} [params.routing] - Value used to assign the index operation to a specific shard.
|
|
85
|
+
* @param {string} [params._source=true] - Whether to include the '_source' field in the response body.
|
|
86
|
+
* @param {string} [params._source_excludes] - A comma-separated list of source fields to exclude in the query response.
|
|
87
|
+
* @param {string} [params._source_includes] - A comma-separated list of source fields to include in the query response.
|
|
88
|
+
* @param {string} [params.refresh=false] - If true, OpenSearch refreshes shards to make the operation visible to searching. Valid options are 'true', 'false', and 'wait_for', which tells OpenSearch to wait for a refresh before executing the operation.
|
|
89
|
+
* @param {number} [params.retry_on_conflict=0] - The amount of times OpenSearch should retry the operation if there’s a document conflict.
|
|
90
|
+
* @param {string} [params.timeout=1m] - How long to wait for a response from the cluster.
|
|
91
|
+
* @param {string} [params.wait_for_active_shards] - The number of active shards that must be available before OpenSearch processes the request. Default is 1 (only the primary shard). Set to all or a positive integer. Values greater than 1 require replicas. For example, if you specify a value of 3, the index must have two replicas distributed across two additional nodes for the operation to succeed.
|
|
92
|
+
* @param {boolean} [params.require_alias=false] - Specifies whether the target index must be an index alias.
|
|
93
|
+
*
|
|
94
|
+
* @param {Object} options - Options for {@link Transport#request}
|
|
95
|
+
* @param {function} callback - Callback that handles errors and response
|
|
96
|
+
*
|
|
97
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*} {@link https://opensearch.org/docs/2.4/api-reference/document-apis/update-document/#response Update Response}
|
|
98
|
+
*/
|
|
72
99
|
function updateApi(params, options, callback) {
|
|
73
100
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
74
101
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -102,6 +101,56 @@ const snakeCase = {
|
|
|
102
101
|
filterPath: 'filter_path',
|
|
103
102
|
};
|
|
104
103
|
|
|
104
|
+
/**
|
|
105
|
+
* Run a script to update all documents that match the query.
|
|
106
|
+
* <br/> See Also: {@link https://opensearch.org/docs/2.4/api-reference/document-apis/update-by-query/ OpenSearch - Update by query}
|
|
107
|
+
*
|
|
108
|
+
* @memberOf API-Document
|
|
109
|
+
*
|
|
110
|
+
* @param {Object} params
|
|
111
|
+
* @param {string} params.index - A comma-separated list of index names to search; use '_all' or empty string to perform the operation on all indices
|
|
112
|
+
* @param {Object} [params.body] - The search definition using the Query DSL
|
|
113
|
+
* @param {string} [params.analyzer] - The analyzer to use for the query string
|
|
114
|
+
* @param {boolean} [params.analyze_wildcard=false] - Specify whether wildcard and prefix queries should be analyzed (default: false)
|
|
115
|
+
* @param {string} [params.default_operator=OR] - The default operator for query string query (options: AND, OR)
|
|
116
|
+
* @param {string} [params.df] - The field to use as default where no field prefix is given in the query string
|
|
117
|
+
* @param {number} [params.from=0] - Starting offset
|
|
118
|
+
* @param {boolean} [params.ignore_unavailable=false] - Whether specified concrete indices should be ignored when unavailable (missing or closed)
|
|
119
|
+
* @param {boolean} [params.allow_no_indices=true] - Whether to ignore if a wildcard indices expression resolves into no concrete indices. (This includes '_all' string or when no indices have been specified)
|
|
120
|
+
* @param {string} [params.conflicts=abort] - What to do when the update by query hits version conflicts? (options: abort, proceed)
|
|
121
|
+
* @param {string} [params.expand_wildcards=open] - Whether to expand wildcard expression to concrete indices that are open, closed or both. (options: open, closed, hidden, none, all)
|
|
122
|
+
* @param {boolean} [params.lenient=false] - Specify whether format-based query failures (such as providing text to a numeric field) should be ignored
|
|
123
|
+
* @param {string} [params.pipeline] - Ingest pipeline to set on index requests made by this action. (default: none)
|
|
124
|
+
* @param {string} [params.preference] - Specify the node or shard the operation should be performed on (default: random)
|
|
125
|
+
* @param {string} [params.q] - Query in the Lucene query string syntax
|
|
126
|
+
* @param {string} [params.routing] - A comma-separated list of specific routing values
|
|
127
|
+
* @param {string} [params.scroll] - Specify how long a consistent view of the index should be maintained for scrolled search
|
|
128
|
+
* @param {string} [params.search_type=query_then_fetch] - Search operation type (options: query_then_fetch, dfs_query_then_fetch)
|
|
129
|
+
* @param {string} [params.search_timeout] - Explicit timeout for each search request. Defaults to no timeout.
|
|
130
|
+
* @param {number} [params.size] - Deprecated, please use 'max_docs' instead
|
|
131
|
+
* @param {number} [params.max_docs] - Maximum number of documents to process (default: all documents)
|
|
132
|
+
* @param {string} [params.sort] - A comma-separated list of <field>:<direction> pairs
|
|
133
|
+
* @param {string} [params._source] - True or false to return the _source field or not, or a list of fields to return
|
|
134
|
+
* @param {string} [params._source_excludes] - A list of fields to exclude from the returned _source field
|
|
135
|
+
* @param {string} [params._source_includes] - A list of fields to extract and return from the _source field
|
|
136
|
+
* @param {number} [params.terminate_after] - The maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early.
|
|
137
|
+
* @param {string} [params.stats] - Specific 'tag' of the request for logging and statistical purposes
|
|
138
|
+
* @param {boolean} [params.version] - Specify whether to return document version as part of a hit
|
|
139
|
+
* @param {boolean} [params.version_type] - Should the document increment the version number (internal) on hit or not (reindex)
|
|
140
|
+
* @param {boolean} [params.request_cache] - Specify if request cache should be used for this request or not, defaults to index level setting
|
|
141
|
+
* @param {boolean} [params.refresh=false] - Should the affected indexes be refreshed?
|
|
142
|
+
* @param {string} [params.timeout] - Time each individual bulk request should wait for shards that are unavailable.
|
|
143
|
+
* @param {string} [params.wait_for_active_shards=1] - Sets the number of shard copies that must be active before proceeding with the update by query operation. 1 means the primary shard only. Set to 'all' for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1)
|
|
144
|
+
* @param {number} [params.scroll_size=1000] - Size on the scroll request powering the update by query
|
|
145
|
+
* @param {boolean} [params.wait_for_completion=true] - Should the request should block until the update by query operation is complete.
|
|
146
|
+
* @param {number} [params.requests_per_second=-1] - The throttle to set on this request in sub-requests per second. -1 means no throttle.
|
|
147
|
+
* @param {string} [params.slices=1] - The number of slices this task should be divided into. 1 means the task isn't sliced into subtasks. Can be set to 'auto'.
|
|
148
|
+
*
|
|
149
|
+
* @param {Object} options - Options for {@link Transport#request}
|
|
150
|
+
* @param {function} callback - Callback that handles errors and response
|
|
151
|
+
*
|
|
152
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*} {@link https://opensearch.org/docs/2.4/api-reference/document-apis/update-by-query/#response Update by query Response}
|
|
153
|
+
*/
|
|
105
154
|
function updateByQueryApi(params, options, callback) {
|
|
106
155
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
107
156
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -48,6 +47,20 @@ const snakeCase = {
|
|
|
48
47
|
filterPath: 'filter_path',
|
|
49
48
|
};
|
|
50
49
|
|
|
50
|
+
/**
|
|
51
|
+
* Changes the number of requests per second for a particular Update By Query operation.
|
|
52
|
+
*
|
|
53
|
+
* @memberOf API-Document
|
|
54
|
+
*
|
|
55
|
+
* @param {Object} params
|
|
56
|
+
* @param {string} params.task_id - The task id to rethrottle
|
|
57
|
+
* @param {number} params.requests_per_second - The throttle to set on this request in floating sub-requests per second. -1 means set no throttle.
|
|
58
|
+
*
|
|
59
|
+
* @param {Object} options - Options for {@link Transport#request}
|
|
60
|
+
* @param {function} callback - Callback that handles errors and response
|
|
61
|
+
*
|
|
62
|
+
* @returns {{abort: function(), then: function(), catch: function()}|Promise<never>|*}
|
|
63
|
+
*/
|
|
51
64
|
function updateByQueryRethrottleApi(params, options, callback) {
|
|
52
65
|
[params, options, callback] = normalizeArguments(params, options, callback);
|
|
53
66
|
|
package/api/index.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -36,10 +35,13 @@ const clearScrollApi = require('./api/clear_scroll');
|
|
|
36
35
|
const ClusterApi = require('./api/cluster');
|
|
37
36
|
const countApi = require('./api/count');
|
|
38
37
|
const createApi = require('./api/create');
|
|
38
|
+
const createPitApi = require('./api/create_pit');
|
|
39
39
|
const DanglingIndicesApi = require('./api/dangling_indices');
|
|
40
40
|
const deleteApi = require('./api/delete');
|
|
41
|
+
const deleteAllPitsApi = require('./api/delete_all_pits');
|
|
41
42
|
const deleteByQueryApi = require('./api/delete_by_query');
|
|
42
43
|
const deleteByQueryRethrottleApi = require('./api/delete_by_query_rethrottle');
|
|
44
|
+
const deletePitApi = require('./api/delete_pit');
|
|
43
45
|
const deleteScriptApi = require('./api/delete_script');
|
|
44
46
|
const existsApi = require('./api/exists');
|
|
45
47
|
const existsSourceApi = require('./api/exists_source');
|
|
@@ -47,6 +49,7 @@ const explainApi = require('./api/explain');
|
|
|
47
49
|
const FeaturesApi = require('./api/features');
|
|
48
50
|
const fieldCapsApi = require('./api/field_caps');
|
|
49
51
|
const getApi = require('./api/get');
|
|
52
|
+
const getAllPitsApi = require('./api/get_all_pits');
|
|
50
53
|
const getScriptApi = require('./api/get_script');
|
|
51
54
|
const getScriptContextApi = require('./api/get_script_context');
|
|
52
55
|
const getScriptLanguagesApi = require('./api/get_script_languages');
|
|
@@ -110,15 +113,19 @@ OpenSearchAPI.prototype.bulk = bulkApi;
|
|
|
110
113
|
OpenSearchAPI.prototype.clearScroll = clearScrollApi;
|
|
111
114
|
OpenSearchAPI.prototype.count = countApi;
|
|
112
115
|
OpenSearchAPI.prototype.create = createApi;
|
|
116
|
+
OpenSearchAPI.prototype.createPit = createPitApi;
|
|
113
117
|
OpenSearchAPI.prototype.delete = deleteApi;
|
|
118
|
+
OpenSearchAPI.prototype.deleteAllPits = deleteAllPitsApi;
|
|
114
119
|
OpenSearchAPI.prototype.deleteByQuery = deleteByQueryApi;
|
|
115
120
|
OpenSearchAPI.prototype.deleteByQueryRethrottle = deleteByQueryRethrottleApi;
|
|
121
|
+
OpenSearchAPI.prototype.deletePit = deletePitApi;
|
|
116
122
|
OpenSearchAPI.prototype.deleteScript = deleteScriptApi;
|
|
117
123
|
OpenSearchAPI.prototype.exists = existsApi;
|
|
118
124
|
OpenSearchAPI.prototype.existsSource = existsSourceApi;
|
|
119
125
|
OpenSearchAPI.prototype.explain = explainApi;
|
|
120
126
|
OpenSearchAPI.prototype.fieldCaps = fieldCapsApi;
|
|
121
127
|
OpenSearchAPI.prototype.get = getApi;
|
|
128
|
+
OpenSearchAPI.prototype.getAllPits = getAllPitsApi;
|
|
122
129
|
OpenSearchAPI.prototype.getScript = getScriptApi;
|
|
123
130
|
OpenSearchAPI.prototype.getScriptContext = getScriptContextApi;
|
|
124
131
|
OpenSearchAPI.prototype.getScriptLanguages = getScriptLanguagesApi;
|
|
@@ -168,6 +175,11 @@ Object.defineProperties(OpenSearchAPI.prototype, {
|
|
|
168
175
|
return this[kCluster];
|
|
169
176
|
},
|
|
170
177
|
},
|
|
178
|
+
create_pit: {
|
|
179
|
+
get() {
|
|
180
|
+
return this.createPit;
|
|
181
|
+
},
|
|
182
|
+
},
|
|
171
183
|
danglingIndices: {
|
|
172
184
|
get() {
|
|
173
185
|
if (this[kDanglingIndices] === null) {
|
|
@@ -181,6 +193,11 @@ Object.defineProperties(OpenSearchAPI.prototype, {
|
|
|
181
193
|
return this.danglingIndices;
|
|
182
194
|
},
|
|
183
195
|
},
|
|
196
|
+
delete_all_pits: {
|
|
197
|
+
get() {
|
|
198
|
+
return this.deleteAllPits;
|
|
199
|
+
},
|
|
200
|
+
},
|
|
184
201
|
delete_by_query: {
|
|
185
202
|
get() {
|
|
186
203
|
return this.deleteByQuery;
|
|
@@ -191,6 +208,11 @@ Object.defineProperties(OpenSearchAPI.prototype, {
|
|
|
191
208
|
return this.deleteByQueryRethrottle;
|
|
192
209
|
},
|
|
193
210
|
},
|
|
211
|
+
delete_pit: {
|
|
212
|
+
get() {
|
|
213
|
+
return this.deletePit;
|
|
214
|
+
},
|
|
215
|
+
},
|
|
194
216
|
delete_script: {
|
|
195
217
|
get() {
|
|
196
218
|
return this.deleteScript;
|
|
@@ -214,6 +236,11 @@ Object.defineProperties(OpenSearchAPI.prototype, {
|
|
|
214
236
|
return this.fieldCaps;
|
|
215
237
|
},
|
|
216
238
|
},
|
|
239
|
+
get_all_pits: {
|
|
240
|
+
get() {
|
|
241
|
+
return this.getAllPits;
|
|
242
|
+
},
|
|
243
|
+
},
|
|
217
244
|
get_script: {
|
|
218
245
|
get() {
|
|
219
246
|
return this.getScript;
|
package/api/new.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -488,6 +487,22 @@ declare class Client {
|
|
|
488
487
|
options: TransportRequestOptions,
|
|
489
488
|
callback: callbackFn<T.CreateResponse, TContext>
|
|
490
489
|
): TransportRequestCallback;
|
|
490
|
+
createPit<TContext = unknown>(
|
|
491
|
+
params?: T.PointInTimeCreateRequest,
|
|
492
|
+
options?: TransportRequestOptions
|
|
493
|
+
): TransportRequestPromise<ApiResponse<T.PointInTimeCreateResponse, TContext>>;
|
|
494
|
+
createPit<TContext = unknown>(
|
|
495
|
+
callback: callbackFn<T.PointInTimeCreateResponse, TContext>
|
|
496
|
+
): TransportRequestCallback;
|
|
497
|
+
createPit<TContext = unknown>(
|
|
498
|
+
params: T.PointInTimeCreateRequest,
|
|
499
|
+
callback: callbackFn<T.PointInTimeCreateResponse, TContext>
|
|
500
|
+
): TransportRequestCallback;
|
|
501
|
+
createPit<TContext = unknown>(
|
|
502
|
+
params: T.PointInTimeCreateRequest,
|
|
503
|
+
options: TransportRequestOptions,
|
|
504
|
+
callback: callbackFn<T.PointInTimeCreateResponse, TContext>
|
|
505
|
+
): TransportRequestCallback;
|
|
491
506
|
danglingIndices: {
|
|
492
507
|
deleteDanglingIndex<TContext = unknown>(
|
|
493
508
|
params?: TODO,
|
|
@@ -551,6 +566,22 @@ declare class Client {
|
|
|
551
566
|
options: TransportRequestOptions,
|
|
552
567
|
callback: callbackFn<T.DeleteResponse, TContext>
|
|
553
568
|
): TransportRequestCallback;
|
|
569
|
+
deleteAllPits<TContext = unknown>(
|
|
570
|
+
params?: T.PointInTimeDeleteAllRequest,
|
|
571
|
+
options?: TransportRequestOptions
|
|
572
|
+
): TransportRequestPromise<ApiResponse<T.PointInTimeDeleteAllResponse, TContext>>;
|
|
573
|
+
deleteAllPits<TContext = unknown>(
|
|
574
|
+
callback: callbackFn<T.PointInTimeDeleteAllResponse, TContext>
|
|
575
|
+
): TransportRequestCallback;
|
|
576
|
+
deleteAllPits<TContext = unknown>(
|
|
577
|
+
params: T.PointInTimeDeleteAllRequest,
|
|
578
|
+
callback: callbackFn<T.PointInTimeDeleteAllResponse, TContext>
|
|
579
|
+
): TransportRequestCallback;
|
|
580
|
+
deleteAllPits<TContext = unknown>(
|
|
581
|
+
params: T.PointInTimeDeleteAllRequest,
|
|
582
|
+
options: TransportRequestOptions,
|
|
583
|
+
callback: callbackFn<T.PointInTimeDeleteAllResponse, TContext>
|
|
584
|
+
): TransportRequestCallback;
|
|
554
585
|
deleteByQuery<TContext = unknown>(
|
|
555
586
|
params: T.DeleteByQueryRequest,
|
|
556
587
|
options?: TransportRequestOptions
|
|
@@ -577,6 +608,22 @@ declare class Client {
|
|
|
577
608
|
options: TransportRequestOptions,
|
|
578
609
|
callback: callbackFn<T.DeleteByQueryRethrottleResponse, TContext>
|
|
579
610
|
): TransportRequestCallback;
|
|
611
|
+
deletePit<TContext = unknown>(
|
|
612
|
+
params?: T.PointInTimeDeleteRequest,
|
|
613
|
+
options?: TransportRequestOptions
|
|
614
|
+
): TransportRequestPromise<ApiResponse<T.PointInTimeDeleteResponse, TContext>>;
|
|
615
|
+
deletePit<TContext = unknown>(
|
|
616
|
+
callback: callbackFn<T.PointInTimeDeleteResponse, TContext>
|
|
617
|
+
): TransportRequestCallback;
|
|
618
|
+
deletePit<TContext = unknown>(
|
|
619
|
+
params: T.PointInTimeDeleteRequest,
|
|
620
|
+
callback: callbackFn<T.PointInTimeDeleteResponse, TContext>
|
|
621
|
+
): TransportRequestCallback;
|
|
622
|
+
deletePit<TContext = unknown>(
|
|
623
|
+
params: T.PointInTimeDeleteRequest,
|
|
624
|
+
options: TransportRequestOptions,
|
|
625
|
+
callback: callbackFn<T.PointInTimeDeleteResponse, TContext>
|
|
626
|
+
): TransportRequestCallback;
|
|
580
627
|
deleteScript<TContext = unknown>(
|
|
581
628
|
params: T.DeleteScriptRequest,
|
|
582
629
|
options?: TransportRequestOptions
|
|
@@ -690,6 +737,22 @@ declare class Client {
|
|
|
690
737
|
options: TransportRequestOptions,
|
|
691
738
|
callback: callbackFn<T.GetResponse<TDocument>, TContext>
|
|
692
739
|
): TransportRequestCallback;
|
|
740
|
+
getAllPits<TContext = unknown>(
|
|
741
|
+
params?: T.PointInTimeGetAllRequest,
|
|
742
|
+
options?: TransportRequestOptions
|
|
743
|
+
): TransportRequestPromise<ApiResponse<T.PointInTimeGetAllResponse, TContext>>;
|
|
744
|
+
getAllPits<TContext = unknown>(
|
|
745
|
+
callback: callbackFn<T.PointInTimeGetAllResponse, TContext>
|
|
746
|
+
): TransportRequestCallback;
|
|
747
|
+
getAllPits<TContext = unknown>(
|
|
748
|
+
params: T.PointInTimeGetAllRequest,
|
|
749
|
+
callback: callbackFn<T.PointInTimeGetAllResponse, TContext>
|
|
750
|
+
): TransportRequestCallback;
|
|
751
|
+
getAllPits<TContext = unknown>(
|
|
752
|
+
params: T.PointInTimeGetAllRequest,
|
|
753
|
+
options: TransportRequestOptions,
|
|
754
|
+
callback: callbackFn<T.PointInTimeGetAllResponse, TContext>
|
|
755
|
+
): TransportRequestCallback;
|
|
693
756
|
getScript<TContext = unknown>(
|
|
694
757
|
params: T.GetScriptRequest,
|
|
695
758
|
options?: TransportRequestOptions
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -137,14 +136,17 @@ interface OpenSearchDashboardsClient {
|
|
|
137
136
|
}
|
|
138
137
|
count<TContext = unknown>(params?: T.CountRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.CountResponse, TContext>>
|
|
139
138
|
create<TDocument = unknown, TContext = unknown>(params: T.CreateRequest<TDocument>, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.CreateResponse, TContext>>
|
|
139
|
+
createPit<TContext = unknown>(params?: T.PointInTimeCreateRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.PointInTimeCreateResponse, TContext>>
|
|
140
140
|
danglingIndices: {
|
|
141
141
|
deleteDanglingIndex<TContext = unknown>(params?: TODO, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<TODO, TContext>>
|
|
142
142
|
importDanglingIndex<TContext = unknown>(params?: TODO, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<TODO, TContext>>
|
|
143
143
|
listDanglingIndices<TContext = unknown>(params?: TODO, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<TODO, TContext>>
|
|
144
144
|
}
|
|
145
145
|
delete<TContext = unknown>(params: T.DeleteRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.DeleteResponse, TContext>>
|
|
146
|
+
deleteAllPits<TContext = unknown>(params: T.PointInTimeDeleteAllRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.PointInTimeDeleteAllResponse, TContext>>
|
|
146
147
|
deleteByQuery<TContext = unknown>(params: T.DeleteByQueryRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.DeleteByQueryResponse, TContext>>
|
|
147
148
|
deleteByQueryRethrottle<TContext = unknown>(params: T.DeleteByQueryRethrottleRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.DeleteByQueryRethrottleResponse, TContext>>
|
|
149
|
+
deletePit<TContext = unknown>(params: T.PointInTimeDeleteRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.PointInTimeDeleteResponse, TContext>>
|
|
148
150
|
deleteScript<TContext = unknown>(params: T.DeleteScriptRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.DeleteScriptResponse, TContext>>
|
|
149
151
|
exists<TContext = unknown>(params: T.ExistsRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.ExistsResponse, TContext>>
|
|
150
152
|
existsSource<TContext = unknown>(params: T.ExistsSourceRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.ExistsSourceResponse, TContext>>
|
|
@@ -155,6 +157,7 @@ interface OpenSearchDashboardsClient {
|
|
|
155
157
|
}
|
|
156
158
|
fieldCaps<TContext = unknown>(params?: T.FieldCapsRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.FieldCapsResponse, TContext>>
|
|
157
159
|
get<TDocument = unknown, TContext = unknown>(params: T.GetRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.GetResponse<TDocument>, TContext>>
|
|
160
|
+
getAllPits<TContext = unknown>(params: T.PointInTimeGetAllRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.PointInTimeGetAllResponse, TContext>>
|
|
158
161
|
getScript<TContext = unknown>(params: T.GetScriptRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.GetScriptResponse, TContext>>
|
|
159
162
|
getScriptContext<TContext = unknown>(params?: T.GetScriptContextRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.GetScriptContextResponse, TContext>>
|
|
160
163
|
getScriptLanguages<TContext = unknown>(params?: T.GetScriptLanguagesRequest, options?: TransportRequestOptions): TransportRequestPromise<ApiResponse<T.GetScriptLanguagesResponse, TContext>>
|
package/api/requestParams.d.ts
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
2
3
|
* SPDX-License-Identifier: Apache-2.0
|
|
3
4
|
*
|
|
4
5
|
* The OpenSearch Contributors require contributions made to
|
|
5
6
|
* this file be licensed under the Apache-2.0 license or a
|
|
6
7
|
* compatible open source license.
|
|
7
8
|
*
|
|
8
|
-
* Modifications Copyright OpenSearch Contributors. See
|
|
9
|
-
* GitHub history for details.
|
|
10
9
|
*/
|
|
11
10
|
|
|
12
11
|
/*
|
|
@@ -524,6 +523,14 @@ export interface Create<T = RequestBody> extends Generic {
|
|
|
524
523
|
body: T;
|
|
525
524
|
}
|
|
526
525
|
|
|
526
|
+
export interface CreatePit extends Generic {
|
|
527
|
+
index: string | string[];
|
|
528
|
+
allow_partial_pit_creation?: boolean;
|
|
529
|
+
keep_alive: string;
|
|
530
|
+
preference?: string;
|
|
531
|
+
routing?: string | string[];
|
|
532
|
+
}
|
|
533
|
+
|
|
527
534
|
export interface DanglingIndicesDeleteDanglingIndex extends Generic {
|
|
528
535
|
index_uuid: string;
|
|
529
536
|
accept_data_loss?: boolean;
|
|
@@ -561,6 +568,8 @@ export interface Delete extends Generic {
|
|
|
561
568
|
version_type?: 'internal' | 'external' | 'external_gte' | 'force';
|
|
562
569
|
}
|
|
563
570
|
|
|
571
|
+
export interface DeleteAllPits extends Generic { }
|
|
572
|
+
|
|
564
573
|
export interface DeleteByQuery<T = RequestBody> extends Generic {
|
|
565
574
|
index: string | string[];
|
|
566
575
|
_source_exclude?: string | string[];
|
|
@@ -606,6 +615,10 @@ export interface DeleteByQueryRethrottle extends Generic {
|
|
|
606
615
|
requests_per_second: number;
|
|
607
616
|
}
|
|
608
617
|
|
|
618
|
+
export interface DeletePit<T = RequestBody> extends Generic {
|
|
619
|
+
body: T;
|
|
620
|
+
}
|
|
621
|
+
|
|
609
622
|
export interface DeleteScript extends Generic {
|
|
610
623
|
id: string;
|
|
611
624
|
timeout?: string;
|
|
@@ -706,6 +719,8 @@ export interface Get extends Generic {
|
|
|
706
719
|
version_type?: 'internal' | 'external' | 'external_gte' | 'force';
|
|
707
720
|
}
|
|
708
721
|
|
|
722
|
+
export interface GetAllPits extends Generic { }
|
|
723
|
+
|
|
709
724
|
export interface GetScript extends Generic {
|
|
710
725
|
id: string;
|
|
711
726
|
cluster_manager_timeout?: string;
|