plugin-elastic-report 0.0.0-stage → 0.1.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.
- package/ai/skills/elastic-report/SKILLS.md +32 -0
- package/client-v2.d.ts +2 -0
- package/client-v2.js +1 -0
- package/client.d.ts +2 -0
- package/client.js +1 -0
- package/dist/client/index.js +10 -0
- package/dist/client-v2/851.488fdbf5bc5b6a36.js +10 -0
- package/dist/client-v2/index.js +10 -0
- package/dist/externalVersion.js +20 -0
- package/dist/index.js +48 -0
- package/dist/locale/en-US.json +99 -0
- package/dist/locale/vi-VN.json +99 -0
- package/dist/locale/zh-CN.json +99 -0
- package/dist/node_modules/@elastic/elasticsearch/.dockerignore +11 -0
- package/dist/node_modules/@elastic/elasticsearch/LICENSE +202 -0
- package/dist/node_modules/@elastic/elasticsearch/NOTICE.txt +2 -0
- package/dist/node_modules/@elastic/elasticsearch/catalog-info.yaml +50 -0
- package/dist/node_modules/@elastic/elasticsearch/codecov.yml +14 -0
- package/dist/node_modules/@elastic/elasticsearch/index.d.ts +28 -0
- package/dist/node_modules/@elastic/elasticsearch/index.js +85525 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/async_search.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/async_search.js +155 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.js +130 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/bulk.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/bulk.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/capabilities.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/capabilities.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cat.d.ts +193 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cat.js +766 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ccr.d.ts +102 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ccr.js +395 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.js +56 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cluster.d.ts +123 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/cluster.js +482 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/connector.d.ts +245 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/connector.js +1121 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/count.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/count.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/create.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/create.js +53 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.js +100 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/enrich.d.ts +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/enrich.js +169 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/eql.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/eql.js +139 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/esql.d.ts +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/esql.js +170 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/explain.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/explain.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/features.d.ts +25 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/features.js +75 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/fleet.d.ts +50 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/fleet.js +211 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_source.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/get_source.js +46 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/graph.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/graph.js +70 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/health_report.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/health_report.js +54 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ilm.d.ts +88 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ilm.js +329 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/index.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/index.js +61 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/indices.d.ts +494 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/indices.js +2133 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/inference.d.ts +221 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/inference.js +1167 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/info.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/info.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ingest.d.ts +95 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ingest.js +389 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/knn_search.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/knn_search.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/license.d.ts +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/license.js +194 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/logstash.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/logstash.js +118 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mget.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mget.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/migration.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/migration.js +107 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ml.d.ts +522 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ml.js +2468 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/monitoring.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch_template.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/msearch_template.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mtermvectors.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/mtermvectors.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/nodes.d.ts +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/nodes.js +290 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/open_point_in_time.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/open_point_in_time.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ping.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ping.js +43 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/profiling.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/profiling.js +135 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/put_script.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/put_script.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/query_rules.d.ts +67 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/query_rules.js +260 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rank_eval.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rank_eval.js +67 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex.js +56 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex_rethrottle.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/reindex_rethrottle.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/render_search_template.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/render_search_template.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rollup.d.ts +67 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/rollup.js +263 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scripts_painless_execute.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scripts_painless_execute.js +57 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scroll.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/scroll.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search.js +75 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_application.d.ts +81 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_application.js +313 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_mvt.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_mvt.js +63 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_shards.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_shards.js +54 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_template.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/search_template.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/searchable_snapshots.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/searchable_snapshots.js +167 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/security.d.ts +459 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/security.js +1982 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/shutdown.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/shutdown.js +125 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/simulate.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/simulate.js +78 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/slm.d.ts +74 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/slm.js +253 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/snapshot.d.ts +102 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/snapshot.js +410 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/sql.d.ts +53 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/sql.js +205 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ssl.d.ts +18 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/ssl.js +54 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/streams.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/streams.js +96 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/synonyms.d.ts +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/synonyms.js +223 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/tasks.d.ts +32 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/tasks.js +109 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/terms_enum.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/terms_enum.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/termvectors.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/termvectors.js +68 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/text_structure.d.ts +39 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/text_structure.js +148 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/transform.d.ts +101 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/transform.js +386 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update.js +60 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query.js +59 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query_rethrottle.d.ts +14 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/update_by_query_rethrottle.js +45 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/watcher.d.ts +102 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/watcher.js +405 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/xpack.d.ts +25 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/api/xpack.js +75 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/index.d.ts +265 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/index.js +632 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/types.d.ts +19933 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/types.js +21 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/typesWithBodyKey.d.ts +20606 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/api/typesWithBodyKey.js +21 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/client.d.ts +152 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/client.js +369 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/helpers.d.ts +184 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/helpers.js +889 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/sniffingTransport.d.ts +4 -0
- package/dist/node_modules/@elastic/elasticsearch/lib/sniffingTransport.js +56 -0
- package/dist/node_modules/@elastic/elasticsearch/node_modules/.bin/arrow2csv +15 -0
- package/dist/node_modules/@elastic/elasticsearch/node_modules/.bin/arrow2csv.cmd +7 -0
- package/dist/node_modules/@elastic/elasticsearch/package.json +1 -0
- package/dist/node_modules/@elastic/elasticsearch/tsconfig.json +38 -0
- package/dist/server/acl-guard.js +107 -0
- package/dist/server/collections/es-report-data-views.js +79 -0
- package/dist/server/collections/es-reports.js +95 -0
- package/dist/server/index.js +58 -0
- package/dist/server/mcp/ElasticReportMcpServer.js +344 -0
- package/dist/server/mcp/ElasticReportToolCatalog.js +417 -0
- package/dist/server/plugin.js +395 -0
- package/dist/server/services/ElasticReportService.js +263 -0
- package/dist/server/services/ElasticsearchConnectionService.js +332 -0
- package/dist/server/services/ReportQueryCompiler.js +858 -0
- package/dist/shared/constants.js +81 -0
- package/dist/shared/types.js +24 -0
- package/package.json +61 -4
- package/server.d.ts +2 -0
- package/server.js +1 -0
- package/src/client/index.tsx +19 -0
- package/src/client-v2/__tests__/elastic-report.test.tsx +311 -0
- package/src/client-v2/api.ts +224 -0
- package/src/client-v2/components/ElasticBasicCharts.tsx +399 -0
- package/src/client-v2/components/ElasticReportBlock.tsx +160 -0
- package/src/client-v2/components/ElasticReportRenderer.tsx +707 -0
- package/src/client-v2/components/HighlightText.tsx +50 -0
- package/src/client-v2/components/ReportSelect.tsx +72 -0
- package/src/client-v2/index.tsx +14 -0
- package/src/client-v2/locale.ts +23 -0
- package/src/client-v2/models/ElasticReportBlockModel.tsx +85 -0
- package/src/client-v2/pages/ElasticReportManager.tsx +1047 -0
- package/src/client-v2/plugin.tsx +52 -0
- package/src/index.ts +11 -0
- package/src/locale/en-US.json +99 -0
- package/src/locale/vi-VN.json +99 -0
- package/src/locale/zh-CN.json +99 -0
- package/src/server/__tests__/query-compiler.test.ts +231 -0
- package/src/server/__tests__/report-mcp-acl.integration.test.ts +377 -0
- package/src/server/acl-guard.ts +103 -0
- package/src/server/collections/es-report-data-views.ts +58 -0
- package/src/server/collections/es-reports.ts +74 -0
- package/src/server/index.ts +15 -0
- package/src/server/mcp/ElasticReportMcpServer.ts +391 -0
- package/src/server/mcp/ElasticReportToolCatalog.ts +417 -0
- package/src/server/plugin.ts +431 -0
- package/src/server/services/ElasticReportService.ts +326 -0
- package/src/server/services/ElasticsearchConnectionService.ts +401 -0
- package/src/server/services/ReportQueryCompiler.ts +1017 -0
- package/src/shared/constants.ts +29 -0
- package/src/shared/types.ts +175 -0
- package/README.md +0 -3
|
@@ -0,0 +1,632 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Licensed to Elasticsearch B.V. under one or more contributor
|
|
4
|
+
* license agreements. See the NOTICE file distributed with
|
|
5
|
+
* this work for additional information regarding copyright
|
|
6
|
+
* ownership. Elasticsearch B.V. licenses this file to you under
|
|
7
|
+
* the Apache License, Version 2.0 (the "License"); you may
|
|
8
|
+
* not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing,
|
|
14
|
+
* software distributed under the License is distributed on an
|
|
15
|
+
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
16
|
+
* KIND, either express or implied. See the License for the
|
|
17
|
+
* specific language governing permissions and limitations
|
|
18
|
+
* under the License.
|
|
19
|
+
*/
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17;
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
const tslib_1 = require("tslib");
|
|
23
|
+
/* eslint-disable import/export */
|
|
24
|
+
/* eslint-disable @typescript-eslint/no-misused-new */
|
|
25
|
+
/* eslint-disable @typescript-eslint/no-extraneous-class */
|
|
26
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
27
|
+
// This file was automatically generated by elastic/elastic-client-generator-js
|
|
28
|
+
// DO NOT MODIFY IT BY HAND. Instead, modify the source open api file,
|
|
29
|
+
// and elastic/elastic-client-generator-js to regenerate this file again.
|
|
30
|
+
const async_search_1 = tslib_1.__importDefault(require("./api/async_search"));
|
|
31
|
+
const autoscaling_1 = tslib_1.__importDefault(require("./api/autoscaling"));
|
|
32
|
+
const bulk_1 = tslib_1.__importDefault(require("./api/bulk"));
|
|
33
|
+
const capabilities_1 = tslib_1.__importDefault(require("./api/capabilities"));
|
|
34
|
+
const cat_1 = tslib_1.__importDefault(require("./api/cat"));
|
|
35
|
+
const ccr_1 = tslib_1.__importDefault(require("./api/ccr"));
|
|
36
|
+
const clear_scroll_1 = tslib_1.__importDefault(require("./api/clear_scroll"));
|
|
37
|
+
const close_point_in_time_1 = tslib_1.__importDefault(require("./api/close_point_in_time"));
|
|
38
|
+
const cluster_1 = tslib_1.__importDefault(require("./api/cluster"));
|
|
39
|
+
const connector_1 = tslib_1.__importDefault(require("./api/connector"));
|
|
40
|
+
const count_1 = tslib_1.__importDefault(require("./api/count"));
|
|
41
|
+
const create_1 = tslib_1.__importDefault(require("./api/create"));
|
|
42
|
+
const dangling_indices_1 = tslib_1.__importDefault(require("./api/dangling_indices"));
|
|
43
|
+
const delete_1 = tslib_1.__importDefault(require("./api/delete"));
|
|
44
|
+
const delete_by_query_1 = tslib_1.__importDefault(require("./api/delete_by_query"));
|
|
45
|
+
const delete_by_query_rethrottle_1 = tslib_1.__importDefault(require("./api/delete_by_query_rethrottle"));
|
|
46
|
+
const delete_script_1 = tslib_1.__importDefault(require("./api/delete_script"));
|
|
47
|
+
const enrich_1 = tslib_1.__importDefault(require("./api/enrich"));
|
|
48
|
+
const eql_1 = tslib_1.__importDefault(require("./api/eql"));
|
|
49
|
+
const esql_1 = tslib_1.__importDefault(require("./api/esql"));
|
|
50
|
+
const exists_1 = tslib_1.__importDefault(require("./api/exists"));
|
|
51
|
+
const exists_source_1 = tslib_1.__importDefault(require("./api/exists_source"));
|
|
52
|
+
const explain_1 = tslib_1.__importDefault(require("./api/explain"));
|
|
53
|
+
const features_1 = tslib_1.__importDefault(require("./api/features"));
|
|
54
|
+
const field_caps_1 = tslib_1.__importDefault(require("./api/field_caps"));
|
|
55
|
+
const fleet_1 = tslib_1.__importDefault(require("./api/fleet"));
|
|
56
|
+
const get_1 = tslib_1.__importDefault(require("./api/get"));
|
|
57
|
+
const get_script_1 = tslib_1.__importDefault(require("./api/get_script"));
|
|
58
|
+
const get_script_context_1 = tslib_1.__importDefault(require("./api/get_script_context"));
|
|
59
|
+
const get_script_languages_1 = tslib_1.__importDefault(require("./api/get_script_languages"));
|
|
60
|
+
const get_source_1 = tslib_1.__importDefault(require("./api/get_source"));
|
|
61
|
+
const graph_1 = tslib_1.__importDefault(require("./api/graph"));
|
|
62
|
+
const health_report_1 = tslib_1.__importDefault(require("./api/health_report"));
|
|
63
|
+
const ilm_1 = tslib_1.__importDefault(require("./api/ilm"));
|
|
64
|
+
const index_1 = tslib_1.__importDefault(require("./api/index"));
|
|
65
|
+
const indices_1 = tslib_1.__importDefault(require("./api/indices"));
|
|
66
|
+
const inference_1 = tslib_1.__importDefault(require("./api/inference"));
|
|
67
|
+
const info_1 = tslib_1.__importDefault(require("./api/info"));
|
|
68
|
+
const ingest_1 = tslib_1.__importDefault(require("./api/ingest"));
|
|
69
|
+
const knn_search_1 = tslib_1.__importDefault(require("./api/knn_search"));
|
|
70
|
+
const license_1 = tslib_1.__importDefault(require("./api/license"));
|
|
71
|
+
const logstash_1 = tslib_1.__importDefault(require("./api/logstash"));
|
|
72
|
+
const mget_1 = tslib_1.__importDefault(require("./api/mget"));
|
|
73
|
+
const migration_1 = tslib_1.__importDefault(require("./api/migration"));
|
|
74
|
+
const ml_1 = tslib_1.__importDefault(require("./api/ml"));
|
|
75
|
+
const monitoring_1 = tslib_1.__importDefault(require("./api/monitoring"));
|
|
76
|
+
const msearch_1 = tslib_1.__importDefault(require("./api/msearch"));
|
|
77
|
+
const msearch_template_1 = tslib_1.__importDefault(require("./api/msearch_template"));
|
|
78
|
+
const mtermvectors_1 = tslib_1.__importDefault(require("./api/mtermvectors"));
|
|
79
|
+
const nodes_1 = tslib_1.__importDefault(require("./api/nodes"));
|
|
80
|
+
const open_point_in_time_1 = tslib_1.__importDefault(require("./api/open_point_in_time"));
|
|
81
|
+
const ping_1 = tslib_1.__importDefault(require("./api/ping"));
|
|
82
|
+
const profiling_1 = tslib_1.__importDefault(require("./api/profiling"));
|
|
83
|
+
const put_script_1 = tslib_1.__importDefault(require("./api/put_script"));
|
|
84
|
+
const query_rules_1 = tslib_1.__importDefault(require("./api/query_rules"));
|
|
85
|
+
const rank_eval_1 = tslib_1.__importDefault(require("./api/rank_eval"));
|
|
86
|
+
const reindex_1 = tslib_1.__importDefault(require("./api/reindex"));
|
|
87
|
+
const reindex_rethrottle_1 = tslib_1.__importDefault(require("./api/reindex_rethrottle"));
|
|
88
|
+
const render_search_template_1 = tslib_1.__importDefault(require("./api/render_search_template"));
|
|
89
|
+
const rollup_1 = tslib_1.__importDefault(require("./api/rollup"));
|
|
90
|
+
const scripts_painless_execute_1 = tslib_1.__importDefault(require("./api/scripts_painless_execute"));
|
|
91
|
+
const scroll_1 = tslib_1.__importDefault(require("./api/scroll"));
|
|
92
|
+
const search_1 = tslib_1.__importDefault(require("./api/search"));
|
|
93
|
+
const search_application_1 = tslib_1.__importDefault(require("./api/search_application"));
|
|
94
|
+
const search_mvt_1 = tslib_1.__importDefault(require("./api/search_mvt"));
|
|
95
|
+
const search_shards_1 = tslib_1.__importDefault(require("./api/search_shards"));
|
|
96
|
+
const search_template_1 = tslib_1.__importDefault(require("./api/search_template"));
|
|
97
|
+
const searchable_snapshots_1 = tslib_1.__importDefault(require("./api/searchable_snapshots"));
|
|
98
|
+
const security_1 = tslib_1.__importDefault(require("./api/security"));
|
|
99
|
+
const shutdown_1 = tslib_1.__importDefault(require("./api/shutdown"));
|
|
100
|
+
const simulate_1 = tslib_1.__importDefault(require("./api/simulate"));
|
|
101
|
+
const slm_1 = tslib_1.__importDefault(require("./api/slm"));
|
|
102
|
+
const snapshot_1 = tslib_1.__importDefault(require("./api/snapshot"));
|
|
103
|
+
const sql_1 = tslib_1.__importDefault(require("./api/sql"));
|
|
104
|
+
const ssl_1 = tslib_1.__importDefault(require("./api/ssl"));
|
|
105
|
+
const streams_1 = tslib_1.__importDefault(require("./api/streams"));
|
|
106
|
+
const synonyms_1 = tslib_1.__importDefault(require("./api/synonyms"));
|
|
107
|
+
const tasks_1 = tslib_1.__importDefault(require("./api/tasks"));
|
|
108
|
+
const terms_enum_1 = tslib_1.__importDefault(require("./api/terms_enum"));
|
|
109
|
+
const termvectors_1 = tslib_1.__importDefault(require("./api/termvectors"));
|
|
110
|
+
const text_structure_1 = tslib_1.__importDefault(require("./api/text_structure"));
|
|
111
|
+
const transform_1 = tslib_1.__importDefault(require("./api/transform"));
|
|
112
|
+
const update_1 = tslib_1.__importDefault(require("./api/update"));
|
|
113
|
+
const update_by_query_1 = tslib_1.__importDefault(require("./api/update_by_query"));
|
|
114
|
+
const update_by_query_rethrottle_1 = tslib_1.__importDefault(require("./api/update_by_query_rethrottle"));
|
|
115
|
+
const watcher_1 = tslib_1.__importDefault(require("./api/watcher"));
|
|
116
|
+
const xpack_1 = tslib_1.__importDefault(require("./api/xpack"));
|
|
117
|
+
const kAsyncSearch = Symbol('AsyncSearch');
|
|
118
|
+
const kAutoscaling = Symbol('Autoscaling');
|
|
119
|
+
const kCat = Symbol('Cat');
|
|
120
|
+
const kCcr = Symbol('Ccr');
|
|
121
|
+
const kCluster = Symbol('Cluster');
|
|
122
|
+
const kConnector = Symbol('Connector');
|
|
123
|
+
const kDanglingIndices = Symbol('DanglingIndices');
|
|
124
|
+
const kEnrich = Symbol('Enrich');
|
|
125
|
+
const kEql = Symbol('Eql');
|
|
126
|
+
const kEsql = Symbol('Esql');
|
|
127
|
+
const kFeatures = Symbol('Features');
|
|
128
|
+
const kFleet = Symbol('Fleet');
|
|
129
|
+
const kGraph = Symbol('Graph');
|
|
130
|
+
const kIlm = Symbol('Ilm');
|
|
131
|
+
const kIndices = Symbol('Indices');
|
|
132
|
+
const kInference = Symbol('Inference');
|
|
133
|
+
const kIngest = Symbol('Ingest');
|
|
134
|
+
const kLicense = Symbol('License');
|
|
135
|
+
const kLogstash = Symbol('Logstash');
|
|
136
|
+
const kMigration = Symbol('Migration');
|
|
137
|
+
const kMl = Symbol('Ml');
|
|
138
|
+
const kMonitoring = Symbol('Monitoring');
|
|
139
|
+
const kNodes = Symbol('Nodes');
|
|
140
|
+
const kProfiling = Symbol('Profiling');
|
|
141
|
+
const kQueryRules = Symbol('QueryRules');
|
|
142
|
+
const kRollup = Symbol('Rollup');
|
|
143
|
+
const kSearchApplication = Symbol('SearchApplication');
|
|
144
|
+
const kSearchableSnapshots = Symbol('SearchableSnapshots');
|
|
145
|
+
const kSecurity = Symbol('Security');
|
|
146
|
+
const kShutdown = Symbol('Shutdown');
|
|
147
|
+
const kSimulate = Symbol('Simulate');
|
|
148
|
+
const kSlm = Symbol('Slm');
|
|
149
|
+
const kSnapshot = Symbol('Snapshot');
|
|
150
|
+
const kSql = Symbol('Sql');
|
|
151
|
+
const kSsl = Symbol('Ssl');
|
|
152
|
+
const kStreams = Symbol('Streams');
|
|
153
|
+
const kSynonyms = Symbol('Synonyms');
|
|
154
|
+
const kTasks = Symbol('Tasks');
|
|
155
|
+
const kTextStructure = Symbol('TextStructure');
|
|
156
|
+
const kTransform = Symbol('Transform');
|
|
157
|
+
const kWatcher = Symbol('Watcher');
|
|
158
|
+
const kXpack = Symbol('Xpack');
|
|
159
|
+
class API {
|
|
160
|
+
constructor() {
|
|
161
|
+
Object.defineProperty(this, _a, {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
configurable: true,
|
|
164
|
+
writable: true,
|
|
165
|
+
value: void 0
|
|
166
|
+
});
|
|
167
|
+
Object.defineProperty(this, _b, {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
configurable: true,
|
|
170
|
+
writable: true,
|
|
171
|
+
value: void 0
|
|
172
|
+
});
|
|
173
|
+
Object.defineProperty(this, _c, {
|
|
174
|
+
enumerable: true,
|
|
175
|
+
configurable: true,
|
|
176
|
+
writable: true,
|
|
177
|
+
value: void 0
|
|
178
|
+
});
|
|
179
|
+
Object.defineProperty(this, _d, {
|
|
180
|
+
enumerable: true,
|
|
181
|
+
configurable: true,
|
|
182
|
+
writable: true,
|
|
183
|
+
value: void 0
|
|
184
|
+
});
|
|
185
|
+
Object.defineProperty(this, _e, {
|
|
186
|
+
enumerable: true,
|
|
187
|
+
configurable: true,
|
|
188
|
+
writable: true,
|
|
189
|
+
value: void 0
|
|
190
|
+
});
|
|
191
|
+
Object.defineProperty(this, _f, {
|
|
192
|
+
enumerable: true,
|
|
193
|
+
configurable: true,
|
|
194
|
+
writable: true,
|
|
195
|
+
value: void 0
|
|
196
|
+
});
|
|
197
|
+
Object.defineProperty(this, _g, {
|
|
198
|
+
enumerable: true,
|
|
199
|
+
configurable: true,
|
|
200
|
+
writable: true,
|
|
201
|
+
value: void 0
|
|
202
|
+
});
|
|
203
|
+
Object.defineProperty(this, _h, {
|
|
204
|
+
enumerable: true,
|
|
205
|
+
configurable: true,
|
|
206
|
+
writable: true,
|
|
207
|
+
value: void 0
|
|
208
|
+
});
|
|
209
|
+
Object.defineProperty(this, _j, {
|
|
210
|
+
enumerable: true,
|
|
211
|
+
configurable: true,
|
|
212
|
+
writable: true,
|
|
213
|
+
value: void 0
|
|
214
|
+
});
|
|
215
|
+
Object.defineProperty(this, _k, {
|
|
216
|
+
enumerable: true,
|
|
217
|
+
configurable: true,
|
|
218
|
+
writable: true,
|
|
219
|
+
value: void 0
|
|
220
|
+
});
|
|
221
|
+
Object.defineProperty(this, _l, {
|
|
222
|
+
enumerable: true,
|
|
223
|
+
configurable: true,
|
|
224
|
+
writable: true,
|
|
225
|
+
value: void 0
|
|
226
|
+
});
|
|
227
|
+
Object.defineProperty(this, _m, {
|
|
228
|
+
enumerable: true,
|
|
229
|
+
configurable: true,
|
|
230
|
+
writable: true,
|
|
231
|
+
value: void 0
|
|
232
|
+
});
|
|
233
|
+
Object.defineProperty(this, _o, {
|
|
234
|
+
enumerable: true,
|
|
235
|
+
configurable: true,
|
|
236
|
+
writable: true,
|
|
237
|
+
value: void 0
|
|
238
|
+
});
|
|
239
|
+
Object.defineProperty(this, _p, {
|
|
240
|
+
enumerable: true,
|
|
241
|
+
configurable: true,
|
|
242
|
+
writable: true,
|
|
243
|
+
value: void 0
|
|
244
|
+
});
|
|
245
|
+
Object.defineProperty(this, _q, {
|
|
246
|
+
enumerable: true,
|
|
247
|
+
configurable: true,
|
|
248
|
+
writable: true,
|
|
249
|
+
value: void 0
|
|
250
|
+
});
|
|
251
|
+
Object.defineProperty(this, _r, {
|
|
252
|
+
enumerable: true,
|
|
253
|
+
configurable: true,
|
|
254
|
+
writable: true,
|
|
255
|
+
value: void 0
|
|
256
|
+
});
|
|
257
|
+
Object.defineProperty(this, _s, {
|
|
258
|
+
enumerable: true,
|
|
259
|
+
configurable: true,
|
|
260
|
+
writable: true,
|
|
261
|
+
value: void 0
|
|
262
|
+
});
|
|
263
|
+
Object.defineProperty(this, _t, {
|
|
264
|
+
enumerable: true,
|
|
265
|
+
configurable: true,
|
|
266
|
+
writable: true,
|
|
267
|
+
value: void 0
|
|
268
|
+
});
|
|
269
|
+
Object.defineProperty(this, _u, {
|
|
270
|
+
enumerable: true,
|
|
271
|
+
configurable: true,
|
|
272
|
+
writable: true,
|
|
273
|
+
value: void 0
|
|
274
|
+
});
|
|
275
|
+
Object.defineProperty(this, _v, {
|
|
276
|
+
enumerable: true,
|
|
277
|
+
configurable: true,
|
|
278
|
+
writable: true,
|
|
279
|
+
value: void 0
|
|
280
|
+
});
|
|
281
|
+
Object.defineProperty(this, _w, {
|
|
282
|
+
enumerable: true,
|
|
283
|
+
configurable: true,
|
|
284
|
+
writable: true,
|
|
285
|
+
value: void 0
|
|
286
|
+
});
|
|
287
|
+
Object.defineProperty(this, _x, {
|
|
288
|
+
enumerable: true,
|
|
289
|
+
configurable: true,
|
|
290
|
+
writable: true,
|
|
291
|
+
value: void 0
|
|
292
|
+
});
|
|
293
|
+
Object.defineProperty(this, _y, {
|
|
294
|
+
enumerable: true,
|
|
295
|
+
configurable: true,
|
|
296
|
+
writable: true,
|
|
297
|
+
value: void 0
|
|
298
|
+
});
|
|
299
|
+
Object.defineProperty(this, _z, {
|
|
300
|
+
enumerable: true,
|
|
301
|
+
configurable: true,
|
|
302
|
+
writable: true,
|
|
303
|
+
value: void 0
|
|
304
|
+
});
|
|
305
|
+
Object.defineProperty(this, _0, {
|
|
306
|
+
enumerable: true,
|
|
307
|
+
configurable: true,
|
|
308
|
+
writable: true,
|
|
309
|
+
value: void 0
|
|
310
|
+
});
|
|
311
|
+
Object.defineProperty(this, _1, {
|
|
312
|
+
enumerable: true,
|
|
313
|
+
configurable: true,
|
|
314
|
+
writable: true,
|
|
315
|
+
value: void 0
|
|
316
|
+
});
|
|
317
|
+
Object.defineProperty(this, _2, {
|
|
318
|
+
enumerable: true,
|
|
319
|
+
configurable: true,
|
|
320
|
+
writable: true,
|
|
321
|
+
value: void 0
|
|
322
|
+
});
|
|
323
|
+
Object.defineProperty(this, _3, {
|
|
324
|
+
enumerable: true,
|
|
325
|
+
configurable: true,
|
|
326
|
+
writable: true,
|
|
327
|
+
value: void 0
|
|
328
|
+
});
|
|
329
|
+
Object.defineProperty(this, _4, {
|
|
330
|
+
enumerable: true,
|
|
331
|
+
configurable: true,
|
|
332
|
+
writable: true,
|
|
333
|
+
value: void 0
|
|
334
|
+
});
|
|
335
|
+
Object.defineProperty(this, _5, {
|
|
336
|
+
enumerable: true,
|
|
337
|
+
configurable: true,
|
|
338
|
+
writable: true,
|
|
339
|
+
value: void 0
|
|
340
|
+
});
|
|
341
|
+
Object.defineProperty(this, _6, {
|
|
342
|
+
enumerable: true,
|
|
343
|
+
configurable: true,
|
|
344
|
+
writable: true,
|
|
345
|
+
value: void 0
|
|
346
|
+
});
|
|
347
|
+
Object.defineProperty(this, _7, {
|
|
348
|
+
enumerable: true,
|
|
349
|
+
configurable: true,
|
|
350
|
+
writable: true,
|
|
351
|
+
value: void 0
|
|
352
|
+
});
|
|
353
|
+
Object.defineProperty(this, _8, {
|
|
354
|
+
enumerable: true,
|
|
355
|
+
configurable: true,
|
|
356
|
+
writable: true,
|
|
357
|
+
value: void 0
|
|
358
|
+
});
|
|
359
|
+
Object.defineProperty(this, _9, {
|
|
360
|
+
enumerable: true,
|
|
361
|
+
configurable: true,
|
|
362
|
+
writable: true,
|
|
363
|
+
value: void 0
|
|
364
|
+
});
|
|
365
|
+
Object.defineProperty(this, _10, {
|
|
366
|
+
enumerable: true,
|
|
367
|
+
configurable: true,
|
|
368
|
+
writable: true,
|
|
369
|
+
value: void 0
|
|
370
|
+
});
|
|
371
|
+
Object.defineProperty(this, _11, {
|
|
372
|
+
enumerable: true,
|
|
373
|
+
configurable: true,
|
|
374
|
+
writable: true,
|
|
375
|
+
value: void 0
|
|
376
|
+
});
|
|
377
|
+
Object.defineProperty(this, _12, {
|
|
378
|
+
enumerable: true,
|
|
379
|
+
configurable: true,
|
|
380
|
+
writable: true,
|
|
381
|
+
value: void 0
|
|
382
|
+
});
|
|
383
|
+
Object.defineProperty(this, _13, {
|
|
384
|
+
enumerable: true,
|
|
385
|
+
configurable: true,
|
|
386
|
+
writable: true,
|
|
387
|
+
value: void 0
|
|
388
|
+
});
|
|
389
|
+
Object.defineProperty(this, _14, {
|
|
390
|
+
enumerable: true,
|
|
391
|
+
configurable: true,
|
|
392
|
+
writable: true,
|
|
393
|
+
value: void 0
|
|
394
|
+
});
|
|
395
|
+
Object.defineProperty(this, _15, {
|
|
396
|
+
enumerable: true,
|
|
397
|
+
configurable: true,
|
|
398
|
+
writable: true,
|
|
399
|
+
value: void 0
|
|
400
|
+
});
|
|
401
|
+
Object.defineProperty(this, _16, {
|
|
402
|
+
enumerable: true,
|
|
403
|
+
configurable: true,
|
|
404
|
+
writable: true,
|
|
405
|
+
value: void 0
|
|
406
|
+
});
|
|
407
|
+
Object.defineProperty(this, _17, {
|
|
408
|
+
enumerable: true,
|
|
409
|
+
configurable: true,
|
|
410
|
+
writable: true,
|
|
411
|
+
value: void 0
|
|
412
|
+
});
|
|
413
|
+
this[kAsyncSearch] = null;
|
|
414
|
+
this[kAutoscaling] = null;
|
|
415
|
+
this[kCat] = null;
|
|
416
|
+
this[kCcr] = null;
|
|
417
|
+
this[kCluster] = null;
|
|
418
|
+
this[kConnector] = null;
|
|
419
|
+
this[kDanglingIndices] = null;
|
|
420
|
+
this[kEnrich] = null;
|
|
421
|
+
this[kEql] = null;
|
|
422
|
+
this[kEsql] = null;
|
|
423
|
+
this[kFeatures] = null;
|
|
424
|
+
this[kFleet] = null;
|
|
425
|
+
this[kGraph] = null;
|
|
426
|
+
this[kIlm] = null;
|
|
427
|
+
this[kIndices] = null;
|
|
428
|
+
this[kInference] = null;
|
|
429
|
+
this[kIngest] = null;
|
|
430
|
+
this[kLicense] = null;
|
|
431
|
+
this[kLogstash] = null;
|
|
432
|
+
this[kMigration] = null;
|
|
433
|
+
this[kMl] = null;
|
|
434
|
+
this[kMonitoring] = null;
|
|
435
|
+
this[kNodes] = null;
|
|
436
|
+
this[kProfiling] = null;
|
|
437
|
+
this[kQueryRules] = null;
|
|
438
|
+
this[kRollup] = null;
|
|
439
|
+
this[kSearchApplication] = null;
|
|
440
|
+
this[kSearchableSnapshots] = null;
|
|
441
|
+
this[kSecurity] = null;
|
|
442
|
+
this[kShutdown] = null;
|
|
443
|
+
this[kSimulate] = null;
|
|
444
|
+
this[kSlm] = null;
|
|
445
|
+
this[kSnapshot] = null;
|
|
446
|
+
this[kSql] = null;
|
|
447
|
+
this[kSsl] = null;
|
|
448
|
+
this[kStreams] = null;
|
|
449
|
+
this[kSynonyms] = null;
|
|
450
|
+
this[kTasks] = null;
|
|
451
|
+
this[kTextStructure] = null;
|
|
452
|
+
this[kTransform] = null;
|
|
453
|
+
this[kWatcher] = null;
|
|
454
|
+
this[kXpack] = null;
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
_a = kAsyncSearch, _b = kAutoscaling, _c = kCat, _d = kCcr, _e = kCluster, _f = kConnector, _g = kDanglingIndices, _h = kEnrich, _j = kEql, _k = kEsql, _l = kFeatures, _m = kFleet, _o = kGraph, _p = kIlm, _q = kIndices, _r = kInference, _s = kIngest, _t = kLicense, _u = kLogstash, _v = kMigration, _w = kMl, _x = kMonitoring, _y = kNodes, _z = kProfiling, _0 = kQueryRules, _1 = kRollup, _2 = kSearchApplication, _3 = kSearchableSnapshots, _4 = kSecurity, _5 = kShutdown, _6 = kSimulate, _7 = kSlm, _8 = kSnapshot, _9 = kSql, _10 = kSsl, _11 = kStreams, _12 = kSynonyms, _13 = kTasks, _14 = kTextStructure, _15 = kTransform, _16 = kWatcher, _17 = kXpack;
|
|
458
|
+
exports.default = API;
|
|
459
|
+
API.prototype.bulk = bulk_1.default;
|
|
460
|
+
API.prototype.capabilities = capabilities_1.default;
|
|
461
|
+
API.prototype.clearScroll = clear_scroll_1.default;
|
|
462
|
+
API.prototype.closePointInTime = close_point_in_time_1.default;
|
|
463
|
+
API.prototype.count = count_1.default;
|
|
464
|
+
API.prototype.create = create_1.default;
|
|
465
|
+
API.prototype.delete = delete_1.default;
|
|
466
|
+
API.prototype.deleteByQuery = delete_by_query_1.default;
|
|
467
|
+
API.prototype.deleteByQueryRethrottle = delete_by_query_rethrottle_1.default;
|
|
468
|
+
API.prototype.deleteScript = delete_script_1.default;
|
|
469
|
+
API.prototype.exists = exists_1.default;
|
|
470
|
+
API.prototype.existsSource = exists_source_1.default;
|
|
471
|
+
API.prototype.explain = explain_1.default;
|
|
472
|
+
API.prototype.fieldCaps = field_caps_1.default;
|
|
473
|
+
API.prototype.get = get_1.default;
|
|
474
|
+
API.prototype.getScript = get_script_1.default;
|
|
475
|
+
API.prototype.getScriptContext = get_script_context_1.default;
|
|
476
|
+
API.prototype.getScriptLanguages = get_script_languages_1.default;
|
|
477
|
+
API.prototype.getSource = get_source_1.default;
|
|
478
|
+
API.prototype.healthReport = health_report_1.default;
|
|
479
|
+
API.prototype.index = index_1.default;
|
|
480
|
+
API.prototype.info = info_1.default;
|
|
481
|
+
API.prototype.knnSearch = knn_search_1.default;
|
|
482
|
+
API.prototype.mget = mget_1.default;
|
|
483
|
+
API.prototype.msearch = msearch_1.default;
|
|
484
|
+
API.prototype.msearchTemplate = msearch_template_1.default;
|
|
485
|
+
API.prototype.mtermvectors = mtermvectors_1.default;
|
|
486
|
+
API.prototype.openPointInTime = open_point_in_time_1.default;
|
|
487
|
+
API.prototype.ping = ping_1.default;
|
|
488
|
+
API.prototype.putScript = put_script_1.default;
|
|
489
|
+
API.prototype.rankEval = rank_eval_1.default;
|
|
490
|
+
API.prototype.reindex = reindex_1.default;
|
|
491
|
+
API.prototype.reindexRethrottle = reindex_rethrottle_1.default;
|
|
492
|
+
API.prototype.renderSearchTemplate = render_search_template_1.default;
|
|
493
|
+
API.prototype.scriptsPainlessExecute = scripts_painless_execute_1.default;
|
|
494
|
+
API.prototype.scroll = scroll_1.default;
|
|
495
|
+
API.prototype.search = search_1.default;
|
|
496
|
+
API.prototype.searchMvt = search_mvt_1.default;
|
|
497
|
+
API.prototype.searchShards = search_shards_1.default;
|
|
498
|
+
API.prototype.searchTemplate = search_template_1.default;
|
|
499
|
+
API.prototype.termsEnum = terms_enum_1.default;
|
|
500
|
+
API.prototype.termvectors = termvectors_1.default;
|
|
501
|
+
API.prototype.update = update_1.default;
|
|
502
|
+
API.prototype.updateByQuery = update_by_query_1.default;
|
|
503
|
+
API.prototype.updateByQueryRethrottle = update_by_query_rethrottle_1.default;
|
|
504
|
+
Object.defineProperties(API.prototype, {
|
|
505
|
+
asyncSearch: {
|
|
506
|
+
get() { return this[kAsyncSearch] === null ? (this[kAsyncSearch] = new async_search_1.default(this.transport)) : this[kAsyncSearch]; }
|
|
507
|
+
},
|
|
508
|
+
autoscaling: {
|
|
509
|
+
get() { return this[kAutoscaling] === null ? (this[kAutoscaling] = new autoscaling_1.default(this.transport)) : this[kAutoscaling]; }
|
|
510
|
+
},
|
|
511
|
+
cat: {
|
|
512
|
+
get() { return this[kCat] === null ? (this[kCat] = new cat_1.default(this.transport)) : this[kCat]; }
|
|
513
|
+
},
|
|
514
|
+
ccr: {
|
|
515
|
+
get() { return this[kCcr] === null ? (this[kCcr] = new ccr_1.default(this.transport)) : this[kCcr]; }
|
|
516
|
+
},
|
|
517
|
+
cluster: {
|
|
518
|
+
get() { return this[kCluster] === null ? (this[kCluster] = new cluster_1.default(this.transport)) : this[kCluster]; }
|
|
519
|
+
},
|
|
520
|
+
connector: {
|
|
521
|
+
get() { return this[kConnector] === null ? (this[kConnector] = new connector_1.default(this.transport)) : this[kConnector]; }
|
|
522
|
+
},
|
|
523
|
+
danglingIndices: {
|
|
524
|
+
get() { return this[kDanglingIndices] === null ? (this[kDanglingIndices] = new dangling_indices_1.default(this.transport)) : this[kDanglingIndices]; }
|
|
525
|
+
},
|
|
526
|
+
enrich: {
|
|
527
|
+
get() { return this[kEnrich] === null ? (this[kEnrich] = new enrich_1.default(this.transport)) : this[kEnrich]; }
|
|
528
|
+
},
|
|
529
|
+
eql: {
|
|
530
|
+
get() { return this[kEql] === null ? (this[kEql] = new eql_1.default(this.transport)) : this[kEql]; }
|
|
531
|
+
},
|
|
532
|
+
esql: {
|
|
533
|
+
get() { return this[kEsql] === null ? (this[kEsql] = new esql_1.default(this.transport)) : this[kEsql]; }
|
|
534
|
+
},
|
|
535
|
+
features: {
|
|
536
|
+
get() { return this[kFeatures] === null ? (this[kFeatures] = new features_1.default(this.transport)) : this[kFeatures]; }
|
|
537
|
+
},
|
|
538
|
+
fleet: {
|
|
539
|
+
get() { return this[kFleet] === null ? (this[kFleet] = new fleet_1.default(this.transport)) : this[kFleet]; }
|
|
540
|
+
},
|
|
541
|
+
graph: {
|
|
542
|
+
get() { return this[kGraph] === null ? (this[kGraph] = new graph_1.default(this.transport)) : this[kGraph]; }
|
|
543
|
+
},
|
|
544
|
+
ilm: {
|
|
545
|
+
get() { return this[kIlm] === null ? (this[kIlm] = new ilm_1.default(this.transport)) : this[kIlm]; }
|
|
546
|
+
},
|
|
547
|
+
indices: {
|
|
548
|
+
get() { return this[kIndices] === null ? (this[kIndices] = new indices_1.default(this.transport)) : this[kIndices]; }
|
|
549
|
+
},
|
|
550
|
+
inference: {
|
|
551
|
+
get() { return this[kInference] === null ? (this[kInference] = new inference_1.default(this.transport)) : this[kInference]; }
|
|
552
|
+
},
|
|
553
|
+
ingest: {
|
|
554
|
+
get() { return this[kIngest] === null ? (this[kIngest] = new ingest_1.default(this.transport)) : this[kIngest]; }
|
|
555
|
+
},
|
|
556
|
+
license: {
|
|
557
|
+
get() { return this[kLicense] === null ? (this[kLicense] = new license_1.default(this.transport)) : this[kLicense]; }
|
|
558
|
+
},
|
|
559
|
+
logstash: {
|
|
560
|
+
get() { return this[kLogstash] === null ? (this[kLogstash] = new logstash_1.default(this.transport)) : this[kLogstash]; }
|
|
561
|
+
},
|
|
562
|
+
migration: {
|
|
563
|
+
get() { return this[kMigration] === null ? (this[kMigration] = new migration_1.default(this.transport)) : this[kMigration]; }
|
|
564
|
+
},
|
|
565
|
+
ml: {
|
|
566
|
+
get() { return this[kMl] === null ? (this[kMl] = new ml_1.default(this.transport)) : this[kMl]; }
|
|
567
|
+
},
|
|
568
|
+
monitoring: {
|
|
569
|
+
get() { return this[kMonitoring] === null ? (this[kMonitoring] = new monitoring_1.default(this.transport)) : this[kMonitoring]; }
|
|
570
|
+
},
|
|
571
|
+
nodes: {
|
|
572
|
+
get() { return this[kNodes] === null ? (this[kNodes] = new nodes_1.default(this.transport)) : this[kNodes]; }
|
|
573
|
+
},
|
|
574
|
+
profiling: {
|
|
575
|
+
get() { return this[kProfiling] === null ? (this[kProfiling] = new profiling_1.default(this.transport)) : this[kProfiling]; }
|
|
576
|
+
},
|
|
577
|
+
queryRules: {
|
|
578
|
+
get() { return this[kQueryRules] === null ? (this[kQueryRules] = new query_rules_1.default(this.transport)) : this[kQueryRules]; }
|
|
579
|
+
},
|
|
580
|
+
rollup: {
|
|
581
|
+
get() { return this[kRollup] === null ? (this[kRollup] = new rollup_1.default(this.transport)) : this[kRollup]; }
|
|
582
|
+
},
|
|
583
|
+
searchApplication: {
|
|
584
|
+
get() { return this[kSearchApplication] === null ? (this[kSearchApplication] = new search_application_1.default(this.transport)) : this[kSearchApplication]; }
|
|
585
|
+
},
|
|
586
|
+
searchableSnapshots: {
|
|
587
|
+
get() { return this[kSearchableSnapshots] === null ? (this[kSearchableSnapshots] = new searchable_snapshots_1.default(this.transport)) : this[kSearchableSnapshots]; }
|
|
588
|
+
},
|
|
589
|
+
security: {
|
|
590
|
+
get() { return this[kSecurity] === null ? (this[kSecurity] = new security_1.default(this.transport)) : this[kSecurity]; }
|
|
591
|
+
},
|
|
592
|
+
shutdown: {
|
|
593
|
+
get() { return this[kShutdown] === null ? (this[kShutdown] = new shutdown_1.default(this.transport)) : this[kShutdown]; }
|
|
594
|
+
},
|
|
595
|
+
simulate: {
|
|
596
|
+
get() { return this[kSimulate] === null ? (this[kSimulate] = new simulate_1.default(this.transport)) : this[kSimulate]; }
|
|
597
|
+
},
|
|
598
|
+
slm: {
|
|
599
|
+
get() { return this[kSlm] === null ? (this[kSlm] = new slm_1.default(this.transport)) : this[kSlm]; }
|
|
600
|
+
},
|
|
601
|
+
snapshot: {
|
|
602
|
+
get() { return this[kSnapshot] === null ? (this[kSnapshot] = new snapshot_1.default(this.transport)) : this[kSnapshot]; }
|
|
603
|
+
},
|
|
604
|
+
sql: {
|
|
605
|
+
get() { return this[kSql] === null ? (this[kSql] = new sql_1.default(this.transport)) : this[kSql]; }
|
|
606
|
+
},
|
|
607
|
+
ssl: {
|
|
608
|
+
get() { return this[kSsl] === null ? (this[kSsl] = new ssl_1.default(this.transport)) : this[kSsl]; }
|
|
609
|
+
},
|
|
610
|
+
streams: {
|
|
611
|
+
get() { return this[kStreams] === null ? (this[kStreams] = new streams_1.default(this.transport)) : this[kStreams]; }
|
|
612
|
+
},
|
|
613
|
+
synonyms: {
|
|
614
|
+
get() { return this[kSynonyms] === null ? (this[kSynonyms] = new synonyms_1.default(this.transport)) : this[kSynonyms]; }
|
|
615
|
+
},
|
|
616
|
+
tasks: {
|
|
617
|
+
get() { return this[kTasks] === null ? (this[kTasks] = new tasks_1.default(this.transport)) : this[kTasks]; }
|
|
618
|
+
},
|
|
619
|
+
textStructure: {
|
|
620
|
+
get() { return this[kTextStructure] === null ? (this[kTextStructure] = new text_structure_1.default(this.transport)) : this[kTextStructure]; }
|
|
621
|
+
},
|
|
622
|
+
transform: {
|
|
623
|
+
get() { return this[kTransform] === null ? (this[kTransform] = new transform_1.default(this.transport)) : this[kTransform]; }
|
|
624
|
+
},
|
|
625
|
+
watcher: {
|
|
626
|
+
get() { return this[kWatcher] === null ? (this[kWatcher] = new watcher_1.default(this.transport)) : this[kWatcher]; }
|
|
627
|
+
},
|
|
628
|
+
xpack: {
|
|
629
|
+
get() { return this[kXpack] === null ? (this[kXpack] = new xpack_1.default(this.transport)) : this[kXpack]; }
|
|
630
|
+
}
|
|
631
|
+
});
|
|
632
|
+
//# sourceMappingURL=index.js.map
|