flow like the river
This commit is contained in:
commit
013fe673f3
42435 changed files with 5764238 additions and 0 deletions
5
VISUALIZACION/node_modules/@elastic/elasticsearch/.dockerignore
generated
vendored
Executable file
5
VISUALIZACION/node_modules/@elastic/elasticsearch/.dockerignore
generated
vendored
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
node_modules
|
||||
npm-debug.log
|
||||
test/benchmarks
|
||||
elasticsearch
|
||||
.git
|
||||
3
VISUALIZACION/node_modules/@elastic/elasticsearch/CHANGELOG.md
generated
vendored
Executable file
3
VISUALIZACION/node_modules/@elastic/elasticsearch/CHANGELOG.md
generated
vendored
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
303 See Other
|
||||
|
||||
Location: https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/changelog-client.html
|
||||
202
VISUALIZACION/node_modules/@elastic/elasticsearch/LICENSE
generated
vendored
Executable file
202
VISUALIZACION/node_modules/@elastic/elasticsearch/LICENSE
generated
vendored
Executable file
|
|
@ -0,0 +1,202 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2020 Elastic and contributors
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
11
VISUALIZACION/node_modules/@elastic/elasticsearch/Makefile
generated
vendored
Executable file
11
VISUALIZACION/node_modules/@elastic/elasticsearch/Makefile
generated
vendored
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
.PHONY: integration-setup
|
||||
integration-setup: integration-cleanup
|
||||
DETACH=true .ci/run-elasticsearch.sh
|
||||
|
||||
.PHONY: integration-cleanup
|
||||
integration-cleanup:
|
||||
docker container rm --force --volumes instance || true
|
||||
|
||||
.PHONY: integration
|
||||
integration: integration-setup
|
||||
npm run test:integration
|
||||
2
VISUALIZACION/node_modules/@elastic/elasticsearch/NOTICE.txt
generated
vendored
Executable file
2
VISUALIZACION/node_modules/@elastic/elasticsearch/NOTICE.txt
generated
vendored
Executable file
|
|
@ -0,0 +1,2 @@
|
|||
Elasticsearch JavaScript Client
|
||||
Copyright 2022 Elasticsearch B.V.
|
||||
147
VISUALIZACION/node_modules/@elastic/elasticsearch/README.md
generated
vendored
Executable file
147
VISUALIZACION/node_modules/@elastic/elasticsearch/README.md
generated
vendored
Executable file
|
|
@ -0,0 +1,147 @@
|
|||
<img align="right" width="auto" height="auto" src="https://www.elastic.co/static-res/images/elastic-logo-200.png">
|
||||
|
||||
# Elasticsearch Node.js client
|
||||
|
||||
[](http://standardjs.com/) [](https://buildkite.com/elastic/elasticsearch-javascript-client-integration-tests/builds?branch=main) [](https://github.com/elastic/elasticsearch-js/actions/workflows/nodejs.yml) [](https://codecov.io/gh/elastic/elasticsearch-js) [](https://www.npmjs.com/package/@elastic/elasticsearch)
|
||||
|
||||
The official Node.js client for Elasticsearch.
|
||||
|
||||
## Installation
|
||||
|
||||
Refer to the [Installation section](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_installation)
|
||||
of the getting started documentation.
|
||||
|
||||
## Connecting
|
||||
|
||||
Refer to the [Connecting section](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_connecting)
|
||||
of the getting started documentation.
|
||||
|
||||
## Usage
|
||||
|
||||
* [Creating an index](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_creating_an_index)
|
||||
* [Indexing a document](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_indexing_documents)
|
||||
* [Getting documents](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_getting_documents)
|
||||
* [Searching documents](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_searching_documents)
|
||||
* [Updating documents](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_updating_documents)
|
||||
* [Deleting documents](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_deleting_documents)
|
||||
* [Deleting an index](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/getting-started-js.html#_deleting_an_index)
|
||||
|
||||
### Node.js support
|
||||
|
||||
NOTE: The minimum supported version of Node.js is `v14`.
|
||||
|
||||
The client versioning follows the Elastic Stack versioning, this means that
|
||||
major, minor, and patch releases are done following a precise schedule that
|
||||
often does not coincide with the [Node.js release](https://nodejs.org/en/about/releases/) times.
|
||||
|
||||
To avoid support insecure and unsupported versions of Node.js, the
|
||||
client **will drop the support of EOL versions of Node.js between minor releases**.
|
||||
Typically, as soon as a Node.js version goes into EOL, the client will continue
|
||||
to support that version for at least another minor release. If you are using the client
|
||||
with a version of Node.js that will be unsupported soon, you will see a warning
|
||||
in your logs (the client will start logging the warning with two minors in advance).
|
||||
|
||||
Unless you are **always** using a supported version of Node.js,
|
||||
we recommend defining the client dependency in your
|
||||
`package.json` with the `~` instead of `^`. In this way, you will lock the
|
||||
dependency on the minor release and not the major. (for example, `~7.10.0` instead
|
||||
of `^7.10.0`).
|
||||
|
||||
| Node.js Version | Node.js EOL date | End of support |
|
||||
| --------------- |------------------| ---------------------- |
|
||||
| `8.x` | `December 2019` | `7.11` (early 2021) |
|
||||
| `10.x` | `April 2021` | `7.12` (mid 2021) |
|
||||
| `12.x` | `April 2022` | `8.2` (early 2022) |
|
||||
| `14.x` | `April 2023` | `8.8` (early 2023) |
|
||||
|
||||
### Compatibility
|
||||
|
||||
Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch.
|
||||
Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.
|
||||
|
||||
| Elasticsearch Version | Client Version |
|
||||
| --------------------- |----------------|
|
||||
| `8.x` | `8.x` |
|
||||
| `7.x` | `7.x` |
|
||||
| `6.x` | `6.x` |
|
||||
| `5.x` | `5.x` |
|
||||
|
||||
To install a specific major of the client, run the following command:
|
||||
```
|
||||
npm install @elastic/elasticsearch@<major>
|
||||
```
|
||||
|
||||
#### Browser
|
||||
|
||||
WARNING: There is no official support for the browser environment. It exposes your Elasticsearch instance to everyone, which could lead to security issues.
|
||||
We recommend that you write a lightweight proxy that uses this client instead, you can see a proxy example [here](./docs/examples/proxy).
|
||||
|
||||
## Documentation
|
||||
|
||||
* [Introduction](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/introduction.html)
|
||||
* [Usage](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-connecting.html#client-usage)
|
||||
* [Client configuration](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-configuration.html)
|
||||
* [API reference](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/api-reference.html)
|
||||
* [Authentication](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-connecting.html#authentication)
|
||||
* [Observability](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/observability.html)
|
||||
* [Creating a child client](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/child.html)
|
||||
* [Client helpers](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-helpers.html)
|
||||
* [Typescript support](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/typescript.html)
|
||||
* [Testing](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/client-testing.html)
|
||||
* [Examples](https://www.elastic.co/guide/en/elasticsearch/client/javascript-api/current/examples.html)
|
||||
|
||||
## Install multiple versions
|
||||
If you are using multiple versions of Elasticsearch, you need to use multiple versions of the client. In the past, install multiple versions of the same package was not possible, but with `npm v6.9`, you can do that via aliasing.
|
||||
|
||||
The command you must run to install different version of the client is:
|
||||
|
||||
```sh
|
||||
npm install <alias>@npm:@elastic/elasticsearch@<version>
|
||||
```
|
||||
|
||||
So for example if you need to install `7.x` and `6.x`, you will run:
|
||||
|
||||
```sh
|
||||
npm install es6@npm:@elastic/elasticsearch@6
|
||||
npm install es7@npm:@elastic/elasticsearch@7
|
||||
```
|
||||
|
||||
And your `package.json` will look like the following:
|
||||
|
||||
```json
|
||||
"dependencies": {
|
||||
"es6": "npm:@elastic/elasticsearch@^6.7.0",
|
||||
"es7": "npm:@elastic/elasticsearch@^7.0.0"
|
||||
}
|
||||
```
|
||||
|
||||
You will require the packages from your code by using the alias you have defined.
|
||||
|
||||
```js
|
||||
const { Client: Client6 } = require('es6')
|
||||
const { Client: Client7 } = require('es7')
|
||||
|
||||
const client6 = new Client6({
|
||||
cloud: { id: '<cloud-id>' },
|
||||
auth: { apiKey: 'base64EncodedKey' }
|
||||
})
|
||||
const client7 = new Client7({
|
||||
cloud: { id: '<cloud-id>' },
|
||||
auth: { apiKey: 'base64EncodedKey' }
|
||||
})
|
||||
|
||||
client6.info().then(console.log, console.log)
|
||||
client7.info().then(console.log, console.log)
|
||||
```
|
||||
|
||||
Finally, if you want to install the client for the next version of Elasticsearch
|
||||
*(the one that lives in Elasticsearch’s main branch)*, you can use the following
|
||||
command:
|
||||
|
||||
```sh
|
||||
npm install esmain@github:elastic/elasticsearch-js
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
This software is licensed under the [Apache License 2.0](./LICENSE).
|
||||
49
VISUALIZACION/node_modules/@elastic/elasticsearch/catalog-info.yaml
generated
vendored
Executable file
49
VISUALIZACION/node_modules/@elastic/elasticsearch/catalog-info.yaml
generated
vendored
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
---
|
||||
# yaml-language-server: $schema=https://json.schemastore.org/catalog-info.json
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Component
|
||||
metadata:
|
||||
name: elasticsearch-js
|
||||
spec:
|
||||
type: library
|
||||
owner: group:clients-team
|
||||
lifecycle: production
|
||||
|
||||
---
|
||||
# yaml-language-server: $schema=https://gist.githubusercontent.com/elasticmachine/988b80dae436cafea07d9a4a460a011d/raw/e57ee3bed7a6f73077a3f55a38e76e40ec87a7cf/rre.schema.json
|
||||
apiVersion: backstage.io/v1alpha1
|
||||
kind: Resource
|
||||
metadata:
|
||||
name: elasticsearch-js-integration-tests
|
||||
description: elasticsearch-js - integration tests
|
||||
spec:
|
||||
type: buildkite-pipeline
|
||||
owner: group:clients-team
|
||||
system: buildkite
|
||||
implementation:
|
||||
apiVersion: buildkite.elastic.dev/v1
|
||||
kind: Pipeline
|
||||
metadata:
|
||||
name: elasticsearch-js - integration tests
|
||||
spec:
|
||||
repository: elastic/elasticsearch-js
|
||||
pipeline_file: .buildkite/pipeline.yml
|
||||
teams:
|
||||
clients-team:
|
||||
access_level: MANAGE_BUILD_AND_READ
|
||||
everyone:
|
||||
access_level: READ_ONLY
|
||||
provider_settings:
|
||||
build_pull_requests: false
|
||||
cancel_intermediate_builds: true
|
||||
cancel_intermediate_builds_branch_filter: '!main'
|
||||
schedules:
|
||||
main_semi_daily:
|
||||
branch: 'main'
|
||||
cronline: '0 */12 * * *'
|
||||
8_8_semi_daily:
|
||||
branch: '8.8'
|
||||
cronline: '0 */12 * * *'
|
||||
8_7_daily:
|
||||
branch: '8.7'
|
||||
cronline: '@daily'
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/codecov.yml
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/codecov.yml
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
comment: off
|
||||
|
||||
coverage:
|
||||
precision: 2
|
||||
round: down
|
||||
range: "95...100"
|
||||
|
||||
status:
|
||||
project: yes
|
||||
patch: yes
|
||||
changes: no
|
||||
|
||||
ignore:
|
||||
- "api"
|
||||
27
VISUALIZACION/node_modules/@elastic/elasticsearch/index.d.ts
generated
vendored
Executable file
27
VISUALIZACION/node_modules/@elastic/elasticsearch/index.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,27 @@
|
|||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import Client from './lib/client'
|
||||
import SniffingTransport from './lib/sniffingTransport'
|
||||
|
||||
export * from '@elastic/transport'
|
||||
export * as estypes from './lib/api/types'
|
||||
export * as estypesWithBody from './lib/api/typesWithBodyKey'
|
||||
export { Client, SniffingTransport }
|
||||
export type { ClientOptions, NodeOptions } from './lib/client'
|
||||
55
VISUALIZACION/node_modules/@elastic/elasticsearch/index.js
generated
vendored
Executable file
55
VISUALIZACION/node_modules/@elastic/elasticsearch/index.js
generated
vendored
Executable file
|
|
@ -0,0 +1,55 @@
|
|||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
'use strict'
|
||||
|
||||
const {
|
||||
Diagnostic,
|
||||
Transport,
|
||||
WeightedConnectionPool,
|
||||
ClusterConnectionPool,
|
||||
BaseConnectionPool,
|
||||
CloudConnectionPool,
|
||||
BaseConnection,
|
||||
HttpConnection,
|
||||
UndiciConnection,
|
||||
Serializer,
|
||||
errors,
|
||||
events
|
||||
} = require('@elastic/transport')
|
||||
|
||||
const { default: Client } = require('./lib/client')
|
||||
const { default: SniffingTransport } = require('./lib/sniffingTransport')
|
||||
|
||||
module.exports = {
|
||||
Client,
|
||||
SniffingTransport,
|
||||
Diagnostic,
|
||||
Transport,
|
||||
WeightedConnectionPool,
|
||||
ClusterConnectionPool,
|
||||
BaseConnectionPool,
|
||||
CloudConnectionPool,
|
||||
BaseConnection,
|
||||
HttpConnection,
|
||||
UndiciConnection,
|
||||
Serializer,
|
||||
errors,
|
||||
events
|
||||
}
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/async_search.d.ts
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/async_search.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class AsyncSearch {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/async-search.html | Elasticsearch API documentation}
|
||||
*/
|
||||
delete(this: That, params: T.AsyncSearchDeleteRequest | TB.AsyncSearchDeleteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AsyncSearchDeleteResponse>;
|
||||
delete(this: That, params: T.AsyncSearchDeleteRequest | TB.AsyncSearchDeleteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AsyncSearchDeleteResponse, unknown>>;
|
||||
delete(this: That, params: T.AsyncSearchDeleteRequest | TB.AsyncSearchDeleteRequest, options?: TransportRequestOptions): Promise<T.AsyncSearchDeleteResponse>;
|
||||
/**
|
||||
* Retrieves the results of a previously submitted async search request given its ID.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/async-search.html | Elasticsearch API documentation}
|
||||
*/
|
||||
get<TDocument = unknown, TAggregations = Record<T.AggregateName, T.AggregationsAggregate>>(this: That, params: T.AsyncSearchGetRequest | TB.AsyncSearchGetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AsyncSearchGetResponse<TDocument, TAggregations>>;
|
||||
get<TDocument = unknown, TAggregations = Record<T.AggregateName, T.AggregationsAggregate>>(this: That, params: T.AsyncSearchGetRequest | TB.AsyncSearchGetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AsyncSearchGetResponse<TDocument, TAggregations>, unknown>>;
|
||||
get<TDocument = unknown, TAggregations = Record<T.AggregateName, T.AggregationsAggregate>>(this: That, params: T.AsyncSearchGetRequest | TB.AsyncSearchGetRequest, options?: TransportRequestOptions): Promise<T.AsyncSearchGetResponse<TDocument, TAggregations>>;
|
||||
/**
|
||||
* Retrieves the status of a previously submitted async search request given its ID.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/async-search.html | Elasticsearch API documentation}
|
||||
*/
|
||||
status(this: That, params: T.AsyncSearchStatusRequest | TB.AsyncSearchStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AsyncSearchStatusResponse>;
|
||||
status(this: That, params: T.AsyncSearchStatusRequest | TB.AsyncSearchStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AsyncSearchStatusResponse, unknown>>;
|
||||
status(this: That, params: T.AsyncSearchStatusRequest | TB.AsyncSearchStatusRequest, options?: TransportRequestOptions): Promise<T.AsyncSearchStatusResponse>;
|
||||
/**
|
||||
* Executes a search request asynchronously.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/async-search.html | Elasticsearch API documentation}
|
||||
*/
|
||||
submit<TDocument = unknown, TAggregations = Record<T.AggregateName, T.AggregationsAggregate>>(this: That, params?: T.AsyncSearchSubmitRequest | TB.AsyncSearchSubmitRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AsyncSearchSubmitResponse<TDocument, TAggregations>>;
|
||||
submit<TDocument = unknown, TAggregations = Record<T.AggregateName, T.AggregationsAggregate>>(this: That, params?: T.AsyncSearchSubmitRequest | TB.AsyncSearchSubmitRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AsyncSearchSubmitResponse<TDocument, TAggregations>, unknown>>;
|
||||
submit<TDocument = unknown, TAggregations = Record<T.AggregateName, T.AggregationsAggregate>>(this: That, params?: T.AsyncSearchSubmitRequest | TB.AsyncSearchSubmitRequest, options?: TransportRequestOptions): Promise<T.AsyncSearchSubmitResponse<TDocument, TAggregations>>;
|
||||
}
|
||||
export {};
|
||||
131
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/async_search.js
generated
vendored
Executable file
131
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/async_search.js
generated
vendored
Executable file
|
|
@ -0,0 +1,131 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class AsyncSearch {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async delete(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_async_search/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async get(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/_async_search/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async status(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/_async_search/status/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async submit(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['aggregations', 'aggs', 'collapse', 'explain', 'ext', 'from', 'highlight', 'track_total_hits', 'indices_boost', 'docvalue_fields', 'knn', 'min_score', 'post_filter', 'profile', 'query', 'rescore', 'script_fields', 'search_after', 'size', 'slice', 'sort', '_source', 'fields', 'suggest', 'terminate_after', 'timeout', 'track_scores', 'version', 'seq_no_primary_term', 'stored_fields', 'pit', 'runtime_mappings', 'stats'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
if (key === 'sort' && typeof params[key] === 'string' && params[key].includes(':')) { // eslint-disable-line
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
else {
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'POST';
|
||||
path = `/${encodeURIComponent(params.index.toString())}/_async_search`;
|
||||
}
|
||||
else {
|
||||
method = 'POST';
|
||||
path = '/_async_search';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = AsyncSearch;
|
||||
//# sourceMappingURL=async_search.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/async_search.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/async_search.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"async_search.js","sourceRoot":"","sources":["../../../src/api/api/async_search.ts"],"names":[],"mappings":"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"}
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.d.ts
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Autoscaling {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/autoscaling-delete-autoscaling-policy.html | Elasticsearch API documentation}
|
||||
*/
|
||||
deleteAutoscalingPolicy(this: That, params: T.AutoscalingDeleteAutoscalingPolicyRequest | TB.AutoscalingDeleteAutoscalingPolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AutoscalingDeleteAutoscalingPolicyResponse>;
|
||||
deleteAutoscalingPolicy(this: That, params: T.AutoscalingDeleteAutoscalingPolicyRequest | TB.AutoscalingDeleteAutoscalingPolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AutoscalingDeleteAutoscalingPolicyResponse, unknown>>;
|
||||
deleteAutoscalingPolicy(this: That, params: T.AutoscalingDeleteAutoscalingPolicyRequest | TB.AutoscalingDeleteAutoscalingPolicyRequest, options?: TransportRequestOptions): Promise<T.AutoscalingDeleteAutoscalingPolicyResponse>;
|
||||
/**
|
||||
* Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/autoscaling-get-autoscaling-capacity.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getAutoscalingCapacity(this: That, params?: T.AutoscalingGetAutoscalingCapacityRequest | TB.AutoscalingGetAutoscalingCapacityRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AutoscalingGetAutoscalingCapacityResponse>;
|
||||
getAutoscalingCapacity(this: That, params?: T.AutoscalingGetAutoscalingCapacityRequest | TB.AutoscalingGetAutoscalingCapacityRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AutoscalingGetAutoscalingCapacityResponse, unknown>>;
|
||||
getAutoscalingCapacity(this: That, params?: T.AutoscalingGetAutoscalingCapacityRequest | TB.AutoscalingGetAutoscalingCapacityRequest, options?: TransportRequestOptions): Promise<T.AutoscalingGetAutoscalingCapacityResponse>;
|
||||
/**
|
||||
* Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/autoscaling-get-autoscaling-capacity.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getAutoscalingPolicy(this: That, params: T.AutoscalingGetAutoscalingPolicyRequest | TB.AutoscalingGetAutoscalingPolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AutoscalingGetAutoscalingPolicyResponse>;
|
||||
getAutoscalingPolicy(this: That, params: T.AutoscalingGetAutoscalingPolicyRequest | TB.AutoscalingGetAutoscalingPolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AutoscalingGetAutoscalingPolicyResponse, unknown>>;
|
||||
getAutoscalingPolicy(this: That, params: T.AutoscalingGetAutoscalingPolicyRequest | TB.AutoscalingGetAutoscalingPolicyRequest, options?: TransportRequestOptions): Promise<T.AutoscalingGetAutoscalingPolicyResponse>;
|
||||
/**
|
||||
* Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/autoscaling-put-autoscaling-policy.html | Elasticsearch API documentation}
|
||||
*/
|
||||
putAutoscalingPolicy(this: That, params: T.AutoscalingPutAutoscalingPolicyRequest | TB.AutoscalingPutAutoscalingPolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.AutoscalingPutAutoscalingPolicyResponse>;
|
||||
putAutoscalingPolicy(this: That, params: T.AutoscalingPutAutoscalingPolicyRequest | TB.AutoscalingPutAutoscalingPolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.AutoscalingPutAutoscalingPolicyResponse, unknown>>;
|
||||
putAutoscalingPolicy(this: That, params: T.AutoscalingPutAutoscalingPolicyRequest | TB.AutoscalingPutAutoscalingPolicyRequest, options?: TransportRequestOptions): Promise<T.AutoscalingPutAutoscalingPolicyResponse>;
|
||||
}
|
||||
export {};
|
||||
109
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.js
generated
vendored
Executable file
109
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.js
generated
vendored
Executable file
|
|
@ -0,0 +1,109 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Autoscaling {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async deleteAutoscalingPolicy(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_autoscaling/policy/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async getAutoscalingCapacity(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_autoscaling/capacity';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async getAutoscalingPolicy(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/_autoscaling/policy/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async putAutoscalingPolicy(params, options) {
|
||||
var _a;
|
||||
const acceptedPath = ['name'];
|
||||
const acceptedBody = ['policy'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
let body = (_a = params.body) !== null && _a !== void 0 ? _a : undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
// @ts-expect-error
|
||||
body = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = `/_autoscaling/policy/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Autoscaling;
|
||||
//# sourceMappingURL=autoscaling.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/autoscaling.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"autoscaling.js","sourceRoot":"","sources":["../../../src/api/api/autoscaling.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAsBH,MAAqB,WAAW;IAE9B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,uBAAuB,CAAc,MAAkG,EAAE,OAAiC;QAC9K,MAAM,YAAY,GAAa,CAAC,MAAM,CAAC,CAAA;QACvC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,QAAQ,CAAA;QACvB,MAAM,IAAI,GAAG,wBAAwB,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;QACjF,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;IASD,KAAK,CAAC,sBAAsB,CAAc,MAAiG,EAAE,OAAiC;QAC5K,MAAM,YAAY,GAAa,EAAE,CAAA;QACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;QACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,KAAK,CAAA;QACpB,MAAM,IAAI,GAAG,wBAAwB,CAAA;QACrC,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;IASD,KAAK,CAAC,oBAAoB,CAAc,MAA4F,EAAE,OAAiC;QACrK,MAAM,YAAY,GAAa,CAAC,MAAM,CAAC,CAAA;QACvC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,KAAK,CAAA;QACpB,MAAM,IAAI,GAAG,wBAAwB,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;QACjF,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;IASD,KAAK,CAAC,oBAAoB,CAAc,MAA4F,EAAE,OAAiC;;QACrK,MAAM,YAAY,GAAa,CAAC,MAAM,CAAC,CAAA;QACvC,MAAM,YAAY,GAAa,CAAC,QAAQ,CAAC,CAAA;QACzC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,mBAAmB;QACnB,IAAI,IAAI,GAAQ,MAAA,MAAM,CAAC,IAAI,mCAAI,SAAS,CAAA;QAExC,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,mBAAmB;gBACnB,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aACnB;iBAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACrC,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,KAAK,CAAA;QACpB,MAAM,IAAI,GAAG,wBAAwB,kBAAkB,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;QACjF,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;CACF;AAnHD,8BAmHC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/bulk.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/bulk.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Allows to perform multiple index/update/delete operations in a single request.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-bulk.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function BulkApi<TDocument = unknown, TPartialDocument = unknown>(this: That, params: T.BulkRequest<TDocument, TPartialDocument> | TB.BulkRequest<TDocument, TPartialDocument>, options?: TransportRequestOptionsWithOutMeta): Promise<T.BulkResponse>;
|
||||
export default function BulkApi<TDocument = unknown, TPartialDocument = unknown>(this: That, params: T.BulkRequest<TDocument, TPartialDocument> | TB.BulkRequest<TDocument, TPartialDocument>, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.BulkResponse, unknown>>;
|
||||
export default function BulkApi<TDocument = unknown, TPartialDocument = unknown>(this: That, params: T.BulkRequest<TDocument, TPartialDocument> | TB.BulkRequest<TDocument, TPartialDocument>, options?: TransportRequestOptions): Promise<T.BulkResponse>;
|
||||
export {};
|
||||
54
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/bulk.js
generated
vendored
Executable file
54
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/bulk.js
generated
vendored
Executable file
|
|
@ -0,0 +1,54 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function BulkApi(params, options) {
|
||||
var _a;
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['operations'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
let body = (_a = params.body) !== null && _a !== void 0 ? _a : undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
// @ts-expect-error
|
||||
body = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'POST';
|
||||
path = `/${encodeURIComponent(params.index.toString())}/_bulk`;
|
||||
}
|
||||
else {
|
||||
method = 'POST';
|
||||
path = '/_bulk';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, bulkBody: body }, options);
|
||||
}
|
||||
exports.default = BulkApi;
|
||||
//# sourceMappingURL=bulk.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/bulk.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/bulk.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"bulk.js","sourceRoot":"","sources":["../../../src/api/api/bulk.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,OAAO,CAA+D,MAAgG,EAAE,OAAiC;;IACrO,MAAM,YAAY,GAAa,CAAC,OAAO,CAAC,CAAA;IACxC,MAAM,YAAY,GAAa,CAAC,YAAY,CAAC,CAAA;IAC7C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,IAAI,IAAI,GAAQ,MAAA,MAAM,CAAC,IAAI,mCAAI,SAAS,CAAA;IAExC,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,mBAAmB;YACnB,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACnB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,MAAM,CAAC,KAAK,IAAI,IAAI,EAAE;QACxB,MAAM,GAAG,MAAM,CAAA;QACf,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAA;KAC/D;SAAM;QACL,MAAM,GAAG,MAAM,CAAA;QACf,IAAI,GAAG,QAAQ,CAAA;KAChB;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AAC7F,CAAC;AA7BD,0BA6BC"}
|
||||
193
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cat.d.ts
generated
vendored
Executable file
193
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cat.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,193 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Cat {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Shows information about currently configured aliases to indices including filter and routing infos.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-alias.html | Elasticsearch API documentation}
|
||||
*/
|
||||
aliases(this: That, params?: T.CatAliasesRequest | TB.CatAliasesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatAliasesResponse>;
|
||||
aliases(this: That, params?: T.CatAliasesRequest | TB.CatAliasesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatAliasesResponse, unknown>>;
|
||||
aliases(this: That, params?: T.CatAliasesRequest | TB.CatAliasesRequest, options?: TransportRequestOptions): Promise<T.CatAliasesResponse>;
|
||||
/**
|
||||
* Provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-allocation.html | Elasticsearch API documentation}
|
||||
*/
|
||||
allocation(this: That, params?: T.CatAllocationRequest | TB.CatAllocationRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatAllocationResponse>;
|
||||
allocation(this: That, params?: T.CatAllocationRequest | TB.CatAllocationRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatAllocationResponse, unknown>>;
|
||||
allocation(this: That, params?: T.CatAllocationRequest | TB.CatAllocationRequest, options?: TransportRequestOptions): Promise<T.CatAllocationResponse>;
|
||||
/**
|
||||
* Returns information about existing component_templates templates.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-component-templates.html | Elasticsearch API documentation}
|
||||
*/
|
||||
componentTemplates(this: That, params?: T.CatComponentTemplatesRequest | TB.CatComponentTemplatesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatComponentTemplatesResponse>;
|
||||
componentTemplates(this: That, params?: T.CatComponentTemplatesRequest | TB.CatComponentTemplatesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatComponentTemplatesResponse, unknown>>;
|
||||
componentTemplates(this: That, params?: T.CatComponentTemplatesRequest | TB.CatComponentTemplatesRequest, options?: TransportRequestOptions): Promise<T.CatComponentTemplatesResponse>;
|
||||
/**
|
||||
* Provides quick access to the document count of the entire cluster, or individual indices.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-count.html | Elasticsearch API documentation}
|
||||
*/
|
||||
count(this: That, params?: T.CatCountRequest | TB.CatCountRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatCountResponse>;
|
||||
count(this: That, params?: T.CatCountRequest | TB.CatCountRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatCountResponse, unknown>>;
|
||||
count(this: That, params?: T.CatCountRequest | TB.CatCountRequest, options?: TransportRequestOptions): Promise<T.CatCountResponse>;
|
||||
/**
|
||||
* Shows how much heap memory is currently being used by fielddata on every data node in the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-fielddata.html | Elasticsearch API documentation}
|
||||
*/
|
||||
fielddata(this: That, params?: T.CatFielddataRequest | TB.CatFielddataRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatFielddataResponse>;
|
||||
fielddata(this: That, params?: T.CatFielddataRequest | TB.CatFielddataRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatFielddataResponse, unknown>>;
|
||||
fielddata(this: That, params?: T.CatFielddataRequest | TB.CatFielddataRequest, options?: TransportRequestOptions): Promise<T.CatFielddataResponse>;
|
||||
/**
|
||||
* Returns a concise representation of the cluster health.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-health.html | Elasticsearch API documentation}
|
||||
*/
|
||||
health(this: That, params?: T.CatHealthRequest | TB.CatHealthRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatHealthResponse>;
|
||||
health(this: That, params?: T.CatHealthRequest | TB.CatHealthRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatHealthResponse, unknown>>;
|
||||
health(this: That, params?: T.CatHealthRequest | TB.CatHealthRequest, options?: TransportRequestOptions): Promise<T.CatHealthResponse>;
|
||||
/**
|
||||
* Returns help for the Cat APIs.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat.html | Elasticsearch API documentation}
|
||||
*/
|
||||
help(this: That, params?: T.CatHelpRequest | TB.CatHelpRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatHelpResponse>;
|
||||
help(this: That, params?: T.CatHelpRequest | TB.CatHelpRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatHelpResponse, unknown>>;
|
||||
help(this: That, params?: T.CatHelpRequest | TB.CatHelpRequest, options?: TransportRequestOptions): Promise<T.CatHelpResponse>;
|
||||
/**
|
||||
* Returns information about indices: number of primaries and replicas, document counts, disk size, ...
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-indices.html | Elasticsearch API documentation}
|
||||
*/
|
||||
indices(this: That, params?: T.CatIndicesRequest | TB.CatIndicesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatIndicesResponse>;
|
||||
indices(this: That, params?: T.CatIndicesRequest | TB.CatIndicesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatIndicesResponse, unknown>>;
|
||||
indices(this: That, params?: T.CatIndicesRequest | TB.CatIndicesRequest, options?: TransportRequestOptions): Promise<T.CatIndicesResponse>;
|
||||
/**
|
||||
* Returns information about the master node.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-master.html | Elasticsearch API documentation}
|
||||
*/
|
||||
master(this: That, params?: T.CatMasterRequest | TB.CatMasterRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMasterResponse>;
|
||||
master(this: That, params?: T.CatMasterRequest | TB.CatMasterRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatMasterResponse, unknown>>;
|
||||
master(this: That, params?: T.CatMasterRequest | TB.CatMasterRequest, options?: TransportRequestOptions): Promise<T.CatMasterResponse>;
|
||||
/**
|
||||
* Gets configuration and usage information about data frame analytics jobs.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-dfanalytics.html | Elasticsearch API documentation}
|
||||
*/
|
||||
mlDataFrameAnalytics(this: That, params?: T.CatMlDataFrameAnalyticsRequest | TB.CatMlDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlDataFrameAnalyticsResponse>;
|
||||
mlDataFrameAnalytics(this: That, params?: T.CatMlDataFrameAnalyticsRequest | TB.CatMlDataFrameAnalyticsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatMlDataFrameAnalyticsResponse, unknown>>;
|
||||
mlDataFrameAnalytics(this: That, params?: T.CatMlDataFrameAnalyticsRequest | TB.CatMlDataFrameAnalyticsRequest, options?: TransportRequestOptions): Promise<T.CatMlDataFrameAnalyticsResponse>;
|
||||
/**
|
||||
* Gets configuration and usage information about datafeeds.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-datafeeds.html | Elasticsearch API documentation}
|
||||
*/
|
||||
mlDatafeeds(this: That, params?: T.CatMlDatafeedsRequest | TB.CatMlDatafeedsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlDatafeedsResponse>;
|
||||
mlDatafeeds(this: That, params?: T.CatMlDatafeedsRequest | TB.CatMlDatafeedsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatMlDatafeedsResponse, unknown>>;
|
||||
mlDatafeeds(this: That, params?: T.CatMlDatafeedsRequest | TB.CatMlDatafeedsRequest, options?: TransportRequestOptions): Promise<T.CatMlDatafeedsResponse>;
|
||||
/**
|
||||
* Gets configuration and usage information about anomaly detection jobs.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-anomaly-detectors.html | Elasticsearch API documentation}
|
||||
*/
|
||||
mlJobs(this: That, params?: T.CatMlJobsRequest | TB.CatMlJobsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlJobsResponse>;
|
||||
mlJobs(this: That, params?: T.CatMlJobsRequest | TB.CatMlJobsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatMlJobsResponse, unknown>>;
|
||||
mlJobs(this: That, params?: T.CatMlJobsRequest | TB.CatMlJobsRequest, options?: TransportRequestOptions): Promise<T.CatMlJobsResponse>;
|
||||
/**
|
||||
* Gets configuration and usage information about inference trained models.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-trained-model.html | Elasticsearch API documentation}
|
||||
*/
|
||||
mlTrainedModels(this: That, params?: T.CatMlTrainedModelsRequest | TB.CatMlTrainedModelsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatMlTrainedModelsResponse>;
|
||||
mlTrainedModels(this: That, params?: T.CatMlTrainedModelsRequest | TB.CatMlTrainedModelsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatMlTrainedModelsResponse, unknown>>;
|
||||
mlTrainedModels(this: That, params?: T.CatMlTrainedModelsRequest | TB.CatMlTrainedModelsRequest, options?: TransportRequestOptions): Promise<T.CatMlTrainedModelsResponse>;
|
||||
/**
|
||||
* Returns information about custom node attributes.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-nodeattrs.html | Elasticsearch API documentation}
|
||||
*/
|
||||
nodeattrs(this: That, params?: T.CatNodeattrsRequest | TB.CatNodeattrsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatNodeattrsResponse>;
|
||||
nodeattrs(this: That, params?: T.CatNodeattrsRequest | TB.CatNodeattrsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatNodeattrsResponse, unknown>>;
|
||||
nodeattrs(this: That, params?: T.CatNodeattrsRequest | TB.CatNodeattrsRequest, options?: TransportRequestOptions): Promise<T.CatNodeattrsResponse>;
|
||||
/**
|
||||
* Returns basic statistics about performance of cluster nodes.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-nodes.html | Elasticsearch API documentation}
|
||||
*/
|
||||
nodes(this: That, params?: T.CatNodesRequest | TB.CatNodesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatNodesResponse>;
|
||||
nodes(this: That, params?: T.CatNodesRequest | TB.CatNodesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatNodesResponse, unknown>>;
|
||||
nodes(this: That, params?: T.CatNodesRequest | TB.CatNodesRequest, options?: TransportRequestOptions): Promise<T.CatNodesResponse>;
|
||||
/**
|
||||
* Returns a concise representation of the cluster pending tasks.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-pending-tasks.html | Elasticsearch API documentation}
|
||||
*/
|
||||
pendingTasks(this: That, params?: T.CatPendingTasksRequest | TB.CatPendingTasksRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatPendingTasksResponse>;
|
||||
pendingTasks(this: That, params?: T.CatPendingTasksRequest | TB.CatPendingTasksRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatPendingTasksResponse, unknown>>;
|
||||
pendingTasks(this: That, params?: T.CatPendingTasksRequest | TB.CatPendingTasksRequest, options?: TransportRequestOptions): Promise<T.CatPendingTasksResponse>;
|
||||
/**
|
||||
* Returns information about installed plugins across nodes node.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-plugins.html | Elasticsearch API documentation}
|
||||
*/
|
||||
plugins(this: That, params?: T.CatPluginsRequest | TB.CatPluginsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatPluginsResponse>;
|
||||
plugins(this: That, params?: T.CatPluginsRequest | TB.CatPluginsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatPluginsResponse, unknown>>;
|
||||
plugins(this: That, params?: T.CatPluginsRequest | TB.CatPluginsRequest, options?: TransportRequestOptions): Promise<T.CatPluginsResponse>;
|
||||
/**
|
||||
* Returns information about index shard recoveries, both on-going completed.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-recovery.html | Elasticsearch API documentation}
|
||||
*/
|
||||
recovery(this: That, params?: T.CatRecoveryRequest | TB.CatRecoveryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatRecoveryResponse>;
|
||||
recovery(this: That, params?: T.CatRecoveryRequest | TB.CatRecoveryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatRecoveryResponse, unknown>>;
|
||||
recovery(this: That, params?: T.CatRecoveryRequest | TB.CatRecoveryRequest, options?: TransportRequestOptions): Promise<T.CatRecoveryResponse>;
|
||||
/**
|
||||
* Returns information about snapshot repositories registered in the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-repositories.html | Elasticsearch API documentation}
|
||||
*/
|
||||
repositories(this: That, params?: T.CatRepositoriesRequest | TB.CatRepositoriesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatRepositoriesResponse>;
|
||||
repositories(this: That, params?: T.CatRepositoriesRequest | TB.CatRepositoriesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatRepositoriesResponse, unknown>>;
|
||||
repositories(this: That, params?: T.CatRepositoriesRequest | TB.CatRepositoriesRequest, options?: TransportRequestOptions): Promise<T.CatRepositoriesResponse>;
|
||||
/**
|
||||
* Provides low-level information about the segments in the shards of an index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-segments.html | Elasticsearch API documentation}
|
||||
*/
|
||||
segments(this: That, params?: T.CatSegmentsRequest | TB.CatSegmentsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatSegmentsResponse>;
|
||||
segments(this: That, params?: T.CatSegmentsRequest | TB.CatSegmentsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatSegmentsResponse, unknown>>;
|
||||
segments(this: That, params?: T.CatSegmentsRequest | TB.CatSegmentsRequest, options?: TransportRequestOptions): Promise<T.CatSegmentsResponse>;
|
||||
/**
|
||||
* Provides a detailed view of shard allocation on nodes.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-shards.html | Elasticsearch API documentation}
|
||||
*/
|
||||
shards(this: That, params?: T.CatShardsRequest | TB.CatShardsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatShardsResponse>;
|
||||
shards(this: That, params?: T.CatShardsRequest | TB.CatShardsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatShardsResponse, unknown>>;
|
||||
shards(this: That, params?: T.CatShardsRequest | TB.CatShardsRequest, options?: TransportRequestOptions): Promise<T.CatShardsResponse>;
|
||||
/**
|
||||
* Returns all snapshots in a specific repository.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-snapshots.html | Elasticsearch API documentation}
|
||||
*/
|
||||
snapshots(this: That, params?: T.CatSnapshotsRequest | TB.CatSnapshotsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatSnapshotsResponse>;
|
||||
snapshots(this: That, params?: T.CatSnapshotsRequest | TB.CatSnapshotsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatSnapshotsResponse, unknown>>;
|
||||
snapshots(this: That, params?: T.CatSnapshotsRequest | TB.CatSnapshotsRequest, options?: TransportRequestOptions): Promise<T.CatSnapshotsResponse>;
|
||||
/**
|
||||
* Returns information about the tasks currently executing on one or more nodes in the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/tasks.html | Elasticsearch API documentation}
|
||||
*/
|
||||
tasks(this: That, params?: T.CatTasksRequest | TB.CatTasksRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatTasksResponse>;
|
||||
tasks(this: That, params?: T.CatTasksRequest | TB.CatTasksRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatTasksResponse, unknown>>;
|
||||
tasks(this: That, params?: T.CatTasksRequest | TB.CatTasksRequest, options?: TransportRequestOptions): Promise<T.CatTasksResponse>;
|
||||
/**
|
||||
* Returns information about existing templates.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-templates.html | Elasticsearch API documentation}
|
||||
*/
|
||||
templates(this: That, params?: T.CatTemplatesRequest | TB.CatTemplatesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatTemplatesResponse>;
|
||||
templates(this: That, params?: T.CatTemplatesRequest | TB.CatTemplatesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatTemplatesResponse, unknown>>;
|
||||
templates(this: That, params?: T.CatTemplatesRequest | TB.CatTemplatesRequest, options?: TransportRequestOptions): Promise<T.CatTemplatesResponse>;
|
||||
/**
|
||||
* Returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-thread-pool.html | Elasticsearch API documentation}
|
||||
*/
|
||||
threadPool(this: That, params?: T.CatThreadPoolRequest | TB.CatThreadPoolRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatThreadPoolResponse>;
|
||||
threadPool(this: That, params?: T.CatThreadPoolRequest | TB.CatThreadPoolRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatThreadPoolResponse, unknown>>;
|
||||
threadPool(this: That, params?: T.CatThreadPoolRequest | TB.CatThreadPoolRequest, options?: TransportRequestOptions): Promise<T.CatThreadPoolResponse>;
|
||||
/**
|
||||
* Gets configuration and usage information about transforms.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cat-transforms.html | Elasticsearch API documentation}
|
||||
*/
|
||||
transforms(this: That, params?: T.CatTransformsRequest | TB.CatTransformsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CatTransformsResponse>;
|
||||
transforms(this: That, params?: T.CatTransformsRequest | TB.CatTransformsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CatTransformsResponse, unknown>>;
|
||||
transforms(this: That, params?: T.CatTransformsRequest | TB.CatTransformsRequest, options?: TransportRequestOptions): Promise<T.CatTransformsResponse>;
|
||||
}
|
||||
export {};
|
||||
637
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cat.js
generated
vendored
Executable file
637
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cat.js
generated
vendored
Executable file
|
|
@ -0,0 +1,637 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Cat {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async aliases(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.name != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/aliases/${encodeURIComponent(params.name.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/aliases';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async allocation(params, options) {
|
||||
const acceptedPath = ['node_id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.node_id != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/allocation/${encodeURIComponent(params.node_id.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/allocation';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async componentTemplates(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.name != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/component_templates/${encodeURIComponent(params.name.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/component_templates';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async count(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/count/${encodeURIComponent(params.index.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/count';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async fielddata(params, options) {
|
||||
const acceptedPath = ['fields'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.fields != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/fielddata/${encodeURIComponent(params.fields.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/fielddata';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async health(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/health';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async help(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async indices(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/indices/${encodeURIComponent(params.index.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/indices';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async master(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/master';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async mlDataFrameAnalytics(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.id != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/ml/data_frame/analytics/${encodeURIComponent(params.id.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/ml/data_frame/analytics';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async mlDatafeeds(params, options) {
|
||||
const acceptedPath = ['datafeed_id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.datafeed_id != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/ml/datafeeds/${encodeURIComponent(params.datafeed_id.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/ml/datafeeds';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async mlJobs(params, options) {
|
||||
const acceptedPath = ['job_id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.job_id != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/ml/anomaly_detectors/${encodeURIComponent(params.job_id.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/ml/anomaly_detectors';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async mlTrainedModels(params, options) {
|
||||
const acceptedPath = ['model_id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.model_id != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/ml/trained_models/${encodeURIComponent(params.model_id.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/ml/trained_models';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async nodeattrs(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/nodeattrs';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async nodes(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/nodes';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async pendingTasks(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/pending_tasks';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async plugins(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/plugins';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async recovery(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/recovery/${encodeURIComponent(params.index.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/recovery';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async repositories(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/repositories';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async segments(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/segments/${encodeURIComponent(params.index.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/segments';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async shards(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/shards/${encodeURIComponent(params.index.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/shards';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async snapshots(params, options) {
|
||||
const acceptedPath = ['repository'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.repository != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/snapshots/${encodeURIComponent(params.repository.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/snapshots';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async tasks(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cat/tasks';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async templates(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.name != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/templates/${encodeURIComponent(params.name.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/templates';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async threadPool(params, options) {
|
||||
const acceptedPath = ['thread_pool_patterns'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.thread_pool_patterns != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/thread_pool/${encodeURIComponent(params.thread_pool_patterns.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/thread_pool';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async transforms(params, options) {
|
||||
const acceptedPath = ['transform_id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.transform_id != null) {
|
||||
method = 'GET';
|
||||
path = `/_cat/transforms/${encodeURIComponent(params.transform_id.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cat/transforms';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Cat;
|
||||
//# sourceMappingURL=cat.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cat.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cat.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
102
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/ccr.d.ts
generated
vendored
Executable file
102
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/ccr.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,102 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Ccr {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Deletes auto-follow patterns.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-delete-auto-follow-pattern.html | Elasticsearch API documentation}
|
||||
*/
|
||||
deleteAutoFollowPattern(this: That, params: T.CcrDeleteAutoFollowPatternRequest | TB.CcrDeleteAutoFollowPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrDeleteAutoFollowPatternResponse>;
|
||||
deleteAutoFollowPattern(this: That, params: T.CcrDeleteAutoFollowPatternRequest | TB.CcrDeleteAutoFollowPatternRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrDeleteAutoFollowPatternResponse, unknown>>;
|
||||
deleteAutoFollowPattern(this: That, params: T.CcrDeleteAutoFollowPatternRequest | TB.CcrDeleteAutoFollowPatternRequest, options?: TransportRequestOptions): Promise<T.CcrDeleteAutoFollowPatternResponse>;
|
||||
/**
|
||||
* Creates a new follower index configured to follow the referenced leader index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-put-follow.html | Elasticsearch API documentation}
|
||||
*/
|
||||
follow(this: That, params: T.CcrFollowRequest | TB.CcrFollowRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrFollowResponse>;
|
||||
follow(this: That, params: T.CcrFollowRequest | TB.CcrFollowRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrFollowResponse, unknown>>;
|
||||
follow(this: That, params: T.CcrFollowRequest | TB.CcrFollowRequest, options?: TransportRequestOptions): Promise<T.CcrFollowResponse>;
|
||||
/**
|
||||
* Retrieves information about all follower indices, including parameters and status for each follower index
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-get-follow-info.html | Elasticsearch API documentation}
|
||||
*/
|
||||
followInfo(this: That, params: T.CcrFollowInfoRequest | TB.CcrFollowInfoRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrFollowInfoResponse>;
|
||||
followInfo(this: That, params: T.CcrFollowInfoRequest | TB.CcrFollowInfoRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrFollowInfoResponse, unknown>>;
|
||||
followInfo(this: That, params: T.CcrFollowInfoRequest | TB.CcrFollowInfoRequest, options?: TransportRequestOptions): Promise<T.CcrFollowInfoResponse>;
|
||||
/**
|
||||
* Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-get-follow-stats.html | Elasticsearch API documentation}
|
||||
*/
|
||||
followStats(this: That, params: T.CcrFollowStatsRequest | TB.CcrFollowStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrFollowStatsResponse>;
|
||||
followStats(this: That, params: T.CcrFollowStatsRequest | TB.CcrFollowStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrFollowStatsResponse, unknown>>;
|
||||
followStats(this: That, params: T.CcrFollowStatsRequest | TB.CcrFollowStatsRequest, options?: TransportRequestOptions): Promise<T.CcrFollowStatsResponse>;
|
||||
/**
|
||||
* Removes the follower retention leases from the leader.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-post-forget-follower.html | Elasticsearch API documentation}
|
||||
*/
|
||||
forgetFollower(this: That, params: T.CcrForgetFollowerRequest | TB.CcrForgetFollowerRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrForgetFollowerResponse>;
|
||||
forgetFollower(this: That, params: T.CcrForgetFollowerRequest | TB.CcrForgetFollowerRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrForgetFollowerResponse, unknown>>;
|
||||
forgetFollower(this: That, params: T.CcrForgetFollowerRequest | TB.CcrForgetFollowerRequest, options?: TransportRequestOptions): Promise<T.CcrForgetFollowerResponse>;
|
||||
/**
|
||||
* Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-get-auto-follow-pattern.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getAutoFollowPattern(this: That, params?: T.CcrGetAutoFollowPatternRequest | TB.CcrGetAutoFollowPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrGetAutoFollowPatternResponse>;
|
||||
getAutoFollowPattern(this: That, params?: T.CcrGetAutoFollowPatternRequest | TB.CcrGetAutoFollowPatternRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrGetAutoFollowPatternResponse, unknown>>;
|
||||
getAutoFollowPattern(this: That, params?: T.CcrGetAutoFollowPatternRequest | TB.CcrGetAutoFollowPatternRequest, options?: TransportRequestOptions): Promise<T.CcrGetAutoFollowPatternResponse>;
|
||||
/**
|
||||
* Pauses an auto-follow pattern
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-pause-auto-follow-pattern.html | Elasticsearch API documentation}
|
||||
*/
|
||||
pauseAutoFollowPattern(this: That, params: T.CcrPauseAutoFollowPatternRequest | TB.CcrPauseAutoFollowPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrPauseAutoFollowPatternResponse>;
|
||||
pauseAutoFollowPattern(this: That, params: T.CcrPauseAutoFollowPatternRequest | TB.CcrPauseAutoFollowPatternRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrPauseAutoFollowPatternResponse, unknown>>;
|
||||
pauseAutoFollowPattern(this: That, params: T.CcrPauseAutoFollowPatternRequest | TB.CcrPauseAutoFollowPatternRequest, options?: TransportRequestOptions): Promise<T.CcrPauseAutoFollowPatternResponse>;
|
||||
/**
|
||||
* Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-post-pause-follow.html | Elasticsearch API documentation}
|
||||
*/
|
||||
pauseFollow(this: That, params: T.CcrPauseFollowRequest | TB.CcrPauseFollowRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrPauseFollowResponse>;
|
||||
pauseFollow(this: That, params: T.CcrPauseFollowRequest | TB.CcrPauseFollowRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrPauseFollowResponse, unknown>>;
|
||||
pauseFollow(this: That, params: T.CcrPauseFollowRequest | TB.CcrPauseFollowRequest, options?: TransportRequestOptions): Promise<T.CcrPauseFollowResponse>;
|
||||
/**
|
||||
* Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-put-auto-follow-pattern.html | Elasticsearch API documentation}
|
||||
*/
|
||||
putAutoFollowPattern(this: That, params: T.CcrPutAutoFollowPatternRequest | TB.CcrPutAutoFollowPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrPutAutoFollowPatternResponse>;
|
||||
putAutoFollowPattern(this: That, params: T.CcrPutAutoFollowPatternRequest | TB.CcrPutAutoFollowPatternRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrPutAutoFollowPatternResponse, unknown>>;
|
||||
putAutoFollowPattern(this: That, params: T.CcrPutAutoFollowPatternRequest | TB.CcrPutAutoFollowPatternRequest, options?: TransportRequestOptions): Promise<T.CcrPutAutoFollowPatternResponse>;
|
||||
/**
|
||||
* Resumes an auto-follow pattern that has been paused
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-resume-auto-follow-pattern.html | Elasticsearch API documentation}
|
||||
*/
|
||||
resumeAutoFollowPattern(this: That, params: T.CcrResumeAutoFollowPatternRequest | TB.CcrResumeAutoFollowPatternRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrResumeAutoFollowPatternResponse>;
|
||||
resumeAutoFollowPattern(this: That, params: T.CcrResumeAutoFollowPatternRequest | TB.CcrResumeAutoFollowPatternRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrResumeAutoFollowPatternResponse, unknown>>;
|
||||
resumeAutoFollowPattern(this: That, params: T.CcrResumeAutoFollowPatternRequest | TB.CcrResumeAutoFollowPatternRequest, options?: TransportRequestOptions): Promise<T.CcrResumeAutoFollowPatternResponse>;
|
||||
/**
|
||||
* Resumes a follower index that has been paused
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-post-resume-follow.html | Elasticsearch API documentation}
|
||||
*/
|
||||
resumeFollow(this: That, params: T.CcrResumeFollowRequest | TB.CcrResumeFollowRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrResumeFollowResponse>;
|
||||
resumeFollow(this: That, params: T.CcrResumeFollowRequest | TB.CcrResumeFollowRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrResumeFollowResponse, unknown>>;
|
||||
resumeFollow(this: That, params: T.CcrResumeFollowRequest | TB.CcrResumeFollowRequest, options?: TransportRequestOptions): Promise<T.CcrResumeFollowResponse>;
|
||||
/**
|
||||
* Gets all stats related to cross-cluster replication.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-get-stats.html | Elasticsearch API documentation}
|
||||
*/
|
||||
stats(this: That, params?: T.CcrStatsRequest | TB.CcrStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrStatsResponse>;
|
||||
stats(this: That, params?: T.CcrStatsRequest | TB.CcrStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrStatsResponse, unknown>>;
|
||||
stats(this: That, params?: T.CcrStatsRequest | TB.CcrStatsRequest, options?: TransportRequestOptions): Promise<T.CcrStatsResponse>;
|
||||
/**
|
||||
* Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/ccr-post-unfollow.html | Elasticsearch API documentation}
|
||||
*/
|
||||
unfollow(this: That, params: T.CcrUnfollowRequest | TB.CcrUnfollowRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CcrUnfollowResponse>;
|
||||
unfollow(this: That, params: T.CcrUnfollowRequest | TB.CcrUnfollowRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CcrUnfollowResponse, unknown>>;
|
||||
unfollow(this: That, params: T.CcrUnfollowRequest | TB.CcrUnfollowRequest, options?: TransportRequestOptions): Promise<T.CcrUnfollowResponse>;
|
||||
}
|
||||
export {};
|
||||
320
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/ccr.js
generated
vendored
Executable file
320
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/ccr.js
generated
vendored
Executable file
|
|
@ -0,0 +1,320 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Ccr {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async deleteAutoFollowPattern(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_ccr/auto_follow/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async follow(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['leader_index', 'max_outstanding_read_requests', 'max_outstanding_write_requests', 'max_read_request_operation_count', 'max_read_request_size', 'max_retry_delay', 'max_write_buffer_count', 'max_write_buffer_size', 'max_write_request_operation_count', 'max_write_request_size', 'read_poll_timeout', 'remote_cluster'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_ccr/follow`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async followInfo(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_ccr/info`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async followStats(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_ccr/stats`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async forgetFollower(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['follower_cluster', 'follower_index', 'follower_index_uuid', 'leader_remote_cluster'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_ccr/forget_follower`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async getAutoFollowPattern(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.name != null) {
|
||||
method = 'GET';
|
||||
path = `/_ccr/auto_follow/${encodeURIComponent(params.name.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_ccr/auto_follow';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async pauseAutoFollowPattern(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/_ccr/auto_follow/${encodeURIComponent(params.name.toString())}/pause`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async pauseFollow(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_ccr/pause_follow`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async putAutoFollowPattern(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const acceptedBody = ['remote_cluster', 'follow_index_pattern', 'leader_index_patterns', 'leader_index_exclusion_patterns', 'max_outstanding_read_requests', 'settings', 'max_outstanding_write_requests', 'read_poll_timeout', 'max_read_request_operation_count', 'max_read_request_size', 'max_retry_delay', 'max_write_buffer_count', 'max_write_buffer_size', 'max_write_request_operation_count', 'max_write_request_size'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = `/_ccr/auto_follow/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async resumeAutoFollowPattern(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/_ccr/auto_follow/${encodeURIComponent(params.name.toString())}/resume`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async resumeFollow(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['max_outstanding_read_requests', 'max_outstanding_write_requests', 'max_read_request_operation_count', 'max_read_request_size', 'max_retry_delay', 'max_write_buffer_count', 'max_write_buffer_size', 'max_write_request_operation_count', 'max_write_request_size', 'read_poll_timeout'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_ccr/resume_follow`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async stats(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_ccr/stats';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async unfollow(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_ccr/unfollow`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Ccr;
|
||||
//# sourceMappingURL=ccr.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/ccr.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/ccr.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Explicitly clears the search context for a scroll.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/clear-scroll-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function ClearScrollApi(this: That, params?: T.ClearScrollRequest | TB.ClearScrollRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClearScrollResponse>;
|
||||
export default function ClearScrollApi(this: That, params?: T.ClearScrollRequest | TB.ClearScrollRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClearScrollResponse, unknown>>;
|
||||
export default function ClearScrollApi(this: That, params?: T.ClearScrollRequest | TB.ClearScrollRequest, options?: TransportRequestOptions): Promise<T.ClearScrollResponse>;
|
||||
export {};
|
||||
54
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.js
generated
vendored
Executable file
54
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.js
generated
vendored
Executable file
|
|
@ -0,0 +1,54 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function ClearScrollApi(params, options) {
|
||||
const acceptedPath = [];
|
||||
const acceptedBody = ['scroll_id'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = '/_search/scroll';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = ClearScrollApi;
|
||||
//# sourceMappingURL=clear_scroll.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/clear_scroll.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"clear_scroll.js","sourceRoot":"","sources":["../../../src/api/api/clear_scroll.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,cAAc,CAAc,MAAqD,EAAE,OAAiC;IAChJ,MAAM,YAAY,GAAa,EAAE,CAAA;IACjC,MAAM,YAAY,GAAa,CAAC,WAAW,CAAC,CAAA;IAC5C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;IAClC,IAAI,IAAkC,CAAA;IACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,IAAI,GAAG,QAAQ,CAAA;KAChB;SAAM;QACL,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;KACtD;IAED,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;YACjB,mBAAmB;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACxB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,QAAQ,CAAA;IACvB,MAAM,IAAI,GAAG,iBAAiB,CAAA;IAC9B,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AA9BD,iCA8BC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Close a point in time
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/point-in-time-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function ClosePointInTimeApi(this: That, params: T.ClosePointInTimeRequest | TB.ClosePointInTimeRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClosePointInTimeResponse>;
|
||||
export default function ClosePointInTimeApi(this: That, params: T.ClosePointInTimeRequest | TB.ClosePointInTimeRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClosePointInTimeResponse, unknown>>;
|
||||
export default function ClosePointInTimeApi(this: That, params: T.ClosePointInTimeRequest | TB.ClosePointInTimeRequest, options?: TransportRequestOptions): Promise<T.ClosePointInTimeResponse>;
|
||||
export {};
|
||||
53
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.js
generated
vendored
Executable file
53
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.js
generated
vendored
Executable file
|
|
@ -0,0 +1,53 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function ClosePointInTimeApi(params, options) {
|
||||
const acceptedPath = [];
|
||||
const acceptedBody = ['id'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = '/_pit';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = ClosePointInTimeApi;
|
||||
//# sourceMappingURL=close_point_in_time.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/close_point_in_time.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"close_point_in_time.js","sourceRoot":"","sources":["../../../src/api/api/close_point_in_time.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,mBAAmB,CAAc,MAA8D,EAAE,OAAiC;IAC9J,MAAM,YAAY,GAAa,EAAE,CAAA;IACjC,MAAM,YAAY,GAAa,CAAC,IAAI,CAAC,CAAA;IACrC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;IAClC,IAAI,IAAkC,CAAA;IACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,IAAI,GAAG,QAAQ,CAAA;KAChB;SAAM;QACL,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;KACtD;IAED,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;YACjB,mBAAmB;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACxB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,QAAQ,CAAA;IACvB,MAAM,IAAI,GAAG,OAAO,CAAA;IACpB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AA7BD,sCA6BC"}
|
||||
123
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cluster.d.ts
generated
vendored
Executable file
123
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cluster.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,123 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Cluster {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Provides explanations for shard allocations in the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-allocation-explain.html | Elasticsearch API documentation}
|
||||
*/
|
||||
allocationExplain(this: That, params?: T.ClusterAllocationExplainRequest | TB.ClusterAllocationExplainRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterAllocationExplainResponse>;
|
||||
allocationExplain(this: That, params?: T.ClusterAllocationExplainRequest | TB.ClusterAllocationExplainRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterAllocationExplainResponse, unknown>>;
|
||||
allocationExplain(this: That, params?: T.ClusterAllocationExplainRequest | TB.ClusterAllocationExplainRequest, options?: TransportRequestOptions): Promise<T.ClusterAllocationExplainResponse>;
|
||||
/**
|
||||
* Deletes a component template
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/indices-component-template.html | Elasticsearch API documentation}
|
||||
*/
|
||||
deleteComponentTemplate(this: That, params: T.ClusterDeleteComponentTemplateRequest | TB.ClusterDeleteComponentTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterDeleteComponentTemplateResponse>;
|
||||
deleteComponentTemplate(this: That, params: T.ClusterDeleteComponentTemplateRequest | TB.ClusterDeleteComponentTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterDeleteComponentTemplateResponse, unknown>>;
|
||||
deleteComponentTemplate(this: That, params: T.ClusterDeleteComponentTemplateRequest | TB.ClusterDeleteComponentTemplateRequest, options?: TransportRequestOptions): Promise<T.ClusterDeleteComponentTemplateResponse>;
|
||||
/**
|
||||
* Clears cluster voting config exclusions.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/voting-config-exclusions.html | Elasticsearch API documentation}
|
||||
*/
|
||||
deleteVotingConfigExclusions(this: That, params?: T.ClusterDeleteVotingConfigExclusionsRequest | TB.ClusterDeleteVotingConfigExclusionsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterDeleteVotingConfigExclusionsResponse>;
|
||||
deleteVotingConfigExclusions(this: That, params?: T.ClusterDeleteVotingConfigExclusionsRequest | TB.ClusterDeleteVotingConfigExclusionsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterDeleteVotingConfigExclusionsResponse, unknown>>;
|
||||
deleteVotingConfigExclusions(this: That, params?: T.ClusterDeleteVotingConfigExclusionsRequest | TB.ClusterDeleteVotingConfigExclusionsRequest, options?: TransportRequestOptions): Promise<T.ClusterDeleteVotingConfigExclusionsResponse>;
|
||||
/**
|
||||
* Returns information about whether a particular component template exist
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/indices-component-template.html | Elasticsearch API documentation}
|
||||
*/
|
||||
existsComponentTemplate(this: That, params: T.ClusterExistsComponentTemplateRequest | TB.ClusterExistsComponentTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterExistsComponentTemplateResponse>;
|
||||
existsComponentTemplate(this: That, params: T.ClusterExistsComponentTemplateRequest | TB.ClusterExistsComponentTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterExistsComponentTemplateResponse, unknown>>;
|
||||
existsComponentTemplate(this: That, params: T.ClusterExistsComponentTemplateRequest | TB.ClusterExistsComponentTemplateRequest, options?: TransportRequestOptions): Promise<T.ClusterExistsComponentTemplateResponse>;
|
||||
/**
|
||||
* Returns one or more component templates
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/indices-component-template.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getComponentTemplate(this: That, params?: T.ClusterGetComponentTemplateRequest | TB.ClusterGetComponentTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterGetComponentTemplateResponse>;
|
||||
getComponentTemplate(this: That, params?: T.ClusterGetComponentTemplateRequest | TB.ClusterGetComponentTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterGetComponentTemplateResponse, unknown>>;
|
||||
getComponentTemplate(this: That, params?: T.ClusterGetComponentTemplateRequest | TB.ClusterGetComponentTemplateRequest, options?: TransportRequestOptions): Promise<T.ClusterGetComponentTemplateResponse>;
|
||||
/**
|
||||
* Returns cluster settings.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-get-settings.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getSettings(this: That, params?: T.ClusterGetSettingsRequest | TB.ClusterGetSettingsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterGetSettingsResponse>;
|
||||
getSettings(this: That, params?: T.ClusterGetSettingsRequest | TB.ClusterGetSettingsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterGetSettingsResponse, unknown>>;
|
||||
getSettings(this: That, params?: T.ClusterGetSettingsRequest | TB.ClusterGetSettingsRequest, options?: TransportRequestOptions): Promise<T.ClusterGetSettingsResponse>;
|
||||
/**
|
||||
* Returns basic information about the health of the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-health.html | Elasticsearch API documentation}
|
||||
*/
|
||||
health(this: That, params?: T.ClusterHealthRequest | TB.ClusterHealthRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterHealthResponse>;
|
||||
health(this: That, params?: T.ClusterHealthRequest | TB.ClusterHealthRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterHealthResponse, unknown>>;
|
||||
health(this: That, params?: T.ClusterHealthRequest | TB.ClusterHealthRequest, options?: TransportRequestOptions): Promise<T.ClusterHealthResponse>;
|
||||
/**
|
||||
* Returns different information about the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-info.html | Elasticsearch API documentation}
|
||||
*/
|
||||
info(this: That, params: T.ClusterInfoRequest | TB.ClusterInfoRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterInfoResponse>;
|
||||
info(this: That, params: T.ClusterInfoRequest | TB.ClusterInfoRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterInfoResponse, unknown>>;
|
||||
info(this: That, params: T.ClusterInfoRequest | TB.ClusterInfoRequest, options?: TransportRequestOptions): Promise<T.ClusterInfoResponse>;
|
||||
/**
|
||||
* Returns a list of any cluster-level changes (e.g. create index, update mapping, allocate or fail shard) which have not yet been executed.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-pending.html | Elasticsearch API documentation}
|
||||
*/
|
||||
pendingTasks(this: That, params?: T.ClusterPendingTasksRequest | TB.ClusterPendingTasksRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterPendingTasksResponse>;
|
||||
pendingTasks(this: That, params?: T.ClusterPendingTasksRequest | TB.ClusterPendingTasksRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterPendingTasksResponse, unknown>>;
|
||||
pendingTasks(this: That, params?: T.ClusterPendingTasksRequest | TB.ClusterPendingTasksRequest, options?: TransportRequestOptions): Promise<T.ClusterPendingTasksResponse>;
|
||||
/**
|
||||
* Updates the cluster voting config exclusions by node ids or node names.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/voting-config-exclusions.html | Elasticsearch API documentation}
|
||||
*/
|
||||
postVotingConfigExclusions(this: That, params?: T.ClusterPostVotingConfigExclusionsRequest | TB.ClusterPostVotingConfigExclusionsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterPostVotingConfigExclusionsResponse>;
|
||||
postVotingConfigExclusions(this: That, params?: T.ClusterPostVotingConfigExclusionsRequest | TB.ClusterPostVotingConfigExclusionsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterPostVotingConfigExclusionsResponse, unknown>>;
|
||||
postVotingConfigExclusions(this: That, params?: T.ClusterPostVotingConfigExclusionsRequest | TB.ClusterPostVotingConfigExclusionsRequest, options?: TransportRequestOptions): Promise<T.ClusterPostVotingConfigExclusionsResponse>;
|
||||
/**
|
||||
* Creates or updates a component template
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/indices-component-template.html | Elasticsearch API documentation}
|
||||
*/
|
||||
putComponentTemplate(this: That, params: T.ClusterPutComponentTemplateRequest | TB.ClusterPutComponentTemplateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterPutComponentTemplateResponse>;
|
||||
putComponentTemplate(this: That, params: T.ClusterPutComponentTemplateRequest | TB.ClusterPutComponentTemplateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterPutComponentTemplateResponse, unknown>>;
|
||||
putComponentTemplate(this: That, params: T.ClusterPutComponentTemplateRequest | TB.ClusterPutComponentTemplateRequest, options?: TransportRequestOptions): Promise<T.ClusterPutComponentTemplateResponse>;
|
||||
/**
|
||||
* Updates the cluster settings.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-update-settings.html | Elasticsearch API documentation}
|
||||
*/
|
||||
putSettings(this: That, params?: T.ClusterPutSettingsRequest | TB.ClusterPutSettingsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterPutSettingsResponse>;
|
||||
putSettings(this: That, params?: T.ClusterPutSettingsRequest | TB.ClusterPutSettingsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterPutSettingsResponse, unknown>>;
|
||||
putSettings(this: That, params?: T.ClusterPutSettingsRequest | TB.ClusterPutSettingsRequest, options?: TransportRequestOptions): Promise<T.ClusterPutSettingsResponse>;
|
||||
/**
|
||||
* Returns the information about configured remote clusters.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-remote-info.html | Elasticsearch API documentation}
|
||||
*/
|
||||
remoteInfo(this: That, params?: T.ClusterRemoteInfoRequest | TB.ClusterRemoteInfoRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterRemoteInfoResponse>;
|
||||
remoteInfo(this: That, params?: T.ClusterRemoteInfoRequest | TB.ClusterRemoteInfoRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterRemoteInfoResponse, unknown>>;
|
||||
remoteInfo(this: That, params?: T.ClusterRemoteInfoRequest | TB.ClusterRemoteInfoRequest, options?: TransportRequestOptions): Promise<T.ClusterRemoteInfoResponse>;
|
||||
/**
|
||||
* Allows to manually change the allocation of individual shards in the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-reroute.html | Elasticsearch API documentation}
|
||||
*/
|
||||
reroute(this: That, params?: T.ClusterRerouteRequest | TB.ClusterRerouteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterRerouteResponse>;
|
||||
reroute(this: That, params?: T.ClusterRerouteRequest | TB.ClusterRerouteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterRerouteResponse, unknown>>;
|
||||
reroute(this: That, params?: T.ClusterRerouteRequest | TB.ClusterRerouteRequest, options?: TransportRequestOptions): Promise<T.ClusterRerouteResponse>;
|
||||
/**
|
||||
* Returns a comprehensive information about the state of the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-state.html | Elasticsearch API documentation}
|
||||
*/
|
||||
state(this: That, params?: T.ClusterStateRequest | TB.ClusterStateRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterStateResponse>;
|
||||
state(this: That, params?: T.ClusterStateRequest | TB.ClusterStateRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterStateResponse, unknown>>;
|
||||
state(this: That, params?: T.ClusterStateRequest | TB.ClusterStateRequest, options?: TransportRequestOptions): Promise<T.ClusterStateResponse>;
|
||||
/**
|
||||
* Returns high-level overview of cluster statistics.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/cluster-stats.html | Elasticsearch API documentation}
|
||||
*/
|
||||
stats(this: That, params?: T.ClusterStatsRequest | TB.ClusterStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ClusterStatsResponse>;
|
||||
stats(this: That, params?: T.ClusterStatsRequest | TB.ClusterStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ClusterStatsResponse, unknown>>;
|
||||
stats(this: That, params?: T.ClusterStatsRequest | TB.ClusterStatsRequest, options?: TransportRequestOptions): Promise<T.ClusterStatsResponse>;
|
||||
}
|
||||
export {};
|
||||
409
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cluster.js
generated
vendored
Executable file
409
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cluster.js
generated
vendored
Executable file
|
|
@ -0,0 +1,409 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Cluster {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async allocationExplain(params, options) {
|
||||
const acceptedPath = [];
|
||||
const acceptedBody = ['current_node', 'index', 'primary', 'shard'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = body != null ? 'POST' : 'GET';
|
||||
const path = '/_cluster/allocation/explain';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async deleteComponentTemplate(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_component_template/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async deleteVotingConfigExclusions(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = '/_cluster/voting_config_exclusions';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async existsComponentTemplate(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'HEAD';
|
||||
const path = `/_component_template/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async getComponentTemplate(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.name != null) {
|
||||
method = 'GET';
|
||||
path = `/_component_template/${encodeURIComponent(params.name.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_component_template';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async getSettings(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cluster/settings';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async health(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = 'GET';
|
||||
path = `/_cluster/health/${encodeURIComponent(params.index.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cluster/health';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async info(params, options) {
|
||||
const acceptedPath = ['target'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/_info/${encodeURIComponent(params.target.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async pendingTasks(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_cluster/pending_tasks';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async postVotingConfigExclusions(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = '/_cluster/voting_config_exclusions';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async putComponentTemplate(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const acceptedBody = ['template', 'version', '_meta', 'allow_auto_create'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = `/_component_template/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async putSettings(params, options) {
|
||||
const acceptedPath = [];
|
||||
const acceptedBody = ['persistent', 'transient'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = '/_cluster/settings';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async remoteInfo(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_remote/info';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async reroute(params, options) {
|
||||
const acceptedPath = [];
|
||||
const acceptedBody = ['commands'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = '/_cluster/reroute';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async state(params, options) {
|
||||
const acceptedPath = ['metric', 'index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.metric != null && params.index != null) {
|
||||
method = 'GET';
|
||||
path = `/_cluster/state/${encodeURIComponent(params.metric.toString())}/${encodeURIComponent(params.index.toString())}`;
|
||||
}
|
||||
else if (params.metric != null) {
|
||||
method = 'GET';
|
||||
path = `/_cluster/state/${encodeURIComponent(params.metric.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cluster/state';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async stats(params, options) {
|
||||
const acceptedPath = ['node_id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.node_id != null) {
|
||||
method = 'GET';
|
||||
path = `/_cluster/stats/nodes/${encodeURIComponent(params.node_id.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_cluster/stats';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Cluster;
|
||||
//# sourceMappingURL=cluster.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cluster.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/cluster.js.map
generated
vendored
Executable file
File diff suppressed because one or more lines are too long
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/count.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/count.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns number of documents matching a query.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/search-count.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function CountApi(this: That, params?: T.CountRequest | TB.CountRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.CountResponse>;
|
||||
export default function CountApi(this: That, params?: T.CountRequest | TB.CountRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CountResponse, unknown>>;
|
||||
export default function CountApi(this: That, params?: T.CountRequest | TB.CountRequest, options?: TransportRequestOptions): Promise<T.CountResponse>;
|
||||
export {};
|
||||
62
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/count.js
generated
vendored
Executable file
62
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/count.js
generated
vendored
Executable file
|
|
@ -0,0 +1,62 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function CountApi(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['query'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = body != null ? 'POST' : 'GET';
|
||||
path = `/${encodeURIComponent(params.index.toString())}/_count`;
|
||||
}
|
||||
else {
|
||||
method = body != null ? 'POST' : 'GET';
|
||||
path = '/_count';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = CountApi;
|
||||
//# sourceMappingURL=count.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/count.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/count.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"count.js","sourceRoot":"","sources":["../../../src/api/api/count.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,QAAQ,CAAc,MAAyC,EAAE,OAAiC;IAC9H,MAAM,YAAY,GAAa,CAAC,OAAO,CAAC,CAAA;IACxC,MAAM,YAAY,GAAa,CAAC,OAAO,CAAC,CAAA;IACxC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;IAClC,IAAI,IAAkC,CAAA;IACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,IAAI,GAAG,QAAQ,CAAA;KAChB;SAAM;QACL,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;KACtD;IAED,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;YACjB,mBAAmB;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACxB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,MAAM,CAAC,KAAK,IAAI,IAAI,EAAE;QACxB,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;QACtC,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,SAAS,CAAA;KAChE;SAAM;QACL,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;QACtC,IAAI,GAAG,SAAS,CAAA;KACjB;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AArCD,2BAqCC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/create.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/create.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Creates a new document in the index. Returns a 409 response when a document with a same ID already exists in the index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-index_.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function CreateApi<TDocument = unknown>(this: That, params: T.CreateRequest<TDocument> | TB.CreateRequest<TDocument>, options?: TransportRequestOptionsWithOutMeta): Promise<T.CreateResponse>;
|
||||
export default function CreateApi<TDocument = unknown>(this: That, params: T.CreateRequest<TDocument> | TB.CreateRequest<TDocument>, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.CreateResponse, unknown>>;
|
||||
export default function CreateApi<TDocument = unknown>(this: That, params: T.CreateRequest<TDocument> | TB.CreateRequest<TDocument>, options?: TransportRequestOptions): Promise<T.CreateResponse>;
|
||||
export {};
|
||||
46
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/create.js
generated
vendored
Executable file
46
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/create.js
generated
vendored
Executable file
|
|
@ -0,0 +1,46 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function CreateApi(params, options) {
|
||||
var _a;
|
||||
const acceptedPath = ['id', 'index'];
|
||||
const acceptedBody = ['document'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
let body = (_a = params.body) !== null && _a !== void 0 ? _a : undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
// @ts-expect-error
|
||||
body = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_create/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = CreateApi;
|
||||
//# sourceMappingURL=create.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/create.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/create.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/api/api/create.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,SAAS,CAAmC,MAAgE,EAAE,OAAiC;;IAC3K,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,YAAY,GAAa,CAAC,UAAU,CAAC,CAAA;IAC3C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,IAAI,IAAI,GAAQ,MAAA,MAAM,CAAC,IAAI,mCAAI,SAAS,CAAA;IAExC,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,mBAAmB;YACnB,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACnB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,KAAK,CAAA;IACpB,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,YAAY,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IAClH,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAtBD,4BAsBC"}
|
||||
32
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.d.ts
generated
vendored
Executable file
32
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class DanglingIndices {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Deletes the specified dangling index
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/modules-gateway-dangling-indices.html | Elasticsearch API documentation}
|
||||
*/
|
||||
deleteDanglingIndex(this: That, params: T.DanglingIndicesDeleteDanglingIndexRequest | TB.DanglingIndicesDeleteDanglingIndexRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.DanglingIndicesDeleteDanglingIndexResponse>;
|
||||
deleteDanglingIndex(this: That, params: T.DanglingIndicesDeleteDanglingIndexRequest | TB.DanglingIndicesDeleteDanglingIndexRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.DanglingIndicesDeleteDanglingIndexResponse, unknown>>;
|
||||
deleteDanglingIndex(this: That, params: T.DanglingIndicesDeleteDanglingIndexRequest | TB.DanglingIndicesDeleteDanglingIndexRequest, options?: TransportRequestOptions): Promise<T.DanglingIndicesDeleteDanglingIndexResponse>;
|
||||
/**
|
||||
* Imports the specified dangling index
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/modules-gateway-dangling-indices.html | Elasticsearch API documentation}
|
||||
*/
|
||||
importDanglingIndex(this: That, params: T.DanglingIndicesImportDanglingIndexRequest | TB.DanglingIndicesImportDanglingIndexRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.DanglingIndicesImportDanglingIndexResponse>;
|
||||
importDanglingIndex(this: That, params: T.DanglingIndicesImportDanglingIndexRequest | TB.DanglingIndicesImportDanglingIndexRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.DanglingIndicesImportDanglingIndexResponse, unknown>>;
|
||||
importDanglingIndex(this: That, params: T.DanglingIndicesImportDanglingIndexRequest | TB.DanglingIndicesImportDanglingIndexRequest, options?: TransportRequestOptions): Promise<T.DanglingIndicesImportDanglingIndexResponse>;
|
||||
/**
|
||||
* Returns all dangling indices.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/modules-gateway-dangling-indices.html | Elasticsearch API documentation}
|
||||
*/
|
||||
listDanglingIndices(this: That, params?: T.DanglingIndicesListDanglingIndicesRequest | TB.DanglingIndicesListDanglingIndicesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.DanglingIndicesListDanglingIndicesResponse>;
|
||||
listDanglingIndices(this: That, params?: T.DanglingIndicesListDanglingIndicesRequest | TB.DanglingIndicesListDanglingIndicesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.DanglingIndicesListDanglingIndicesResponse, unknown>>;
|
||||
listDanglingIndices(this: That, params?: T.DanglingIndicesListDanglingIndicesRequest | TB.DanglingIndicesListDanglingIndicesRequest, options?: TransportRequestOptions): Promise<T.DanglingIndicesListDanglingIndicesResponse>;
|
||||
}
|
||||
export {};
|
||||
85
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.js
generated
vendored
Executable file
85
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.js
generated
vendored
Executable file
|
|
@ -0,0 +1,85 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class DanglingIndices {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async deleteDanglingIndex(params, options) {
|
||||
const acceptedPath = ['index_uuid'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_dangling/${encodeURIComponent(params.index_uuid.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async importDanglingIndex(params, options) {
|
||||
const acceptedPath = ['index_uuid'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/_dangling/${encodeURIComponent(params.index_uuid.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async listDanglingIndices(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_dangling';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = DanglingIndices;
|
||||
//# sourceMappingURL=dangling_indices.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/dangling_indices.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"dangling_indices.js","sourceRoot":"","sources":["../../../src/api/api/dangling_indices.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAsBH,MAAqB,eAAe;IAElC,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,mBAAmB,CAAc,MAAkG,EAAE,OAAiC;QAC1K,MAAM,YAAY,GAAa,CAAC,YAAY,CAAC,CAAA;QAC7C,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,QAAQ,CAAA;QACvB,MAAM,IAAI,GAAG,cAAc,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;QAC7E,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;IASD,KAAK,CAAC,mBAAmB,CAAc,MAAkG,EAAE,OAAiC;QAC1K,MAAM,YAAY,GAAa,CAAC,YAAY,CAAC,CAAA;QAC7C,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,MAAM,CAAA;QACrB,MAAM,IAAI,GAAG,cAAc,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;QAC7E,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;IASD,KAAK,CAAC,mBAAmB,CAAc,MAAmG,EAAE,OAAiC;QAC3K,MAAM,YAAY,GAAa,EAAE,CAAA;QACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;QACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,KAAK,CAAA;QACpB,MAAM,IAAI,GAAG,YAAY,CAAA;QACzB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;CACF;AApFD,kCAoFC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Removes a document from the index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-delete.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function DeleteApi(this: That, params: T.DeleteRequest | TB.DeleteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.DeleteResponse>;
|
||||
export default function DeleteApi(this: That, params: T.DeleteRequest | TB.DeleteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.DeleteResponse, unknown>>;
|
||||
export default function DeleteApi(this: That, params: T.DeleteRequest | TB.DeleteRequest, options?: TransportRequestOptions): Promise<T.DeleteResponse>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function DeleteApi(params, options) {
|
||||
const acceptedPath = ['id', 'index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_doc/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = DeleteApi;
|
||||
//# sourceMappingURL=delete.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"delete.js","sourceRoot":"","sources":["../../../src/api/api/delete.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,SAAS,CAAc,MAA0C,EAAE,OAAiC;IAChI,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,QAAQ,CAAA;IACvB,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,SAAS,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IAC/G,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,4BAiBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Deletes documents matching the provided query.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-delete-by-query.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function DeleteByQueryApi(this: That, params: T.DeleteByQueryRequest | TB.DeleteByQueryRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.DeleteByQueryResponse>;
|
||||
export default function DeleteByQueryApi(this: That, params: T.DeleteByQueryRequest | TB.DeleteByQueryRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.DeleteByQueryResponse, unknown>>;
|
||||
export default function DeleteByQueryApi(this: That, params: T.DeleteByQueryRequest | TB.DeleteByQueryRequest, options?: TransportRequestOptions): Promise<T.DeleteByQueryResponse>;
|
||||
export {};
|
||||
53
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.js
generated
vendored
Executable file
53
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.js
generated
vendored
Executable file
|
|
@ -0,0 +1,53 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function DeleteByQueryApi(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['max_docs', 'query', 'slice'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_delete_by_query`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = DeleteByQueryApi;
|
||||
//# sourceMappingURL=delete_by_query.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"delete_by_query.js","sourceRoot":"","sources":["../../../src/api/api/delete_by_query.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,gBAAgB,CAAc,MAAwD,EAAE,OAAiC;IACrJ,MAAM,YAAY,GAAa,CAAC,OAAO,CAAC,CAAA;IACxC,MAAM,YAAY,GAAa,CAAC,UAAU,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;IAC7D,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;IAClC,IAAI,IAAkC,CAAA;IACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,IAAI,GAAG,QAAQ,CAAA;KAChB;SAAM;QACL,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;KACtD;IAED,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;YACjB,mBAAmB;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACxB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,MAAM,CAAA;IACrB,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,mBAAmB,CAAA;IAC/E,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AA7BD,mCA6BC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Changes the number of requests per second for a particular Delete By Query operation.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-delete-by-query.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function DeleteByQueryRethrottleApi(this: That, params: T.DeleteByQueryRethrottleRequest | TB.DeleteByQueryRethrottleRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.DeleteByQueryRethrottleResponse>;
|
||||
export default function DeleteByQueryRethrottleApi(this: That, params: T.DeleteByQueryRethrottleRequest | TB.DeleteByQueryRethrottleRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.DeleteByQueryRethrottleResponse, unknown>>;
|
||||
export default function DeleteByQueryRethrottleApi(this: That, params: T.DeleteByQueryRethrottleRequest | TB.DeleteByQueryRethrottleRequest, options?: TransportRequestOptions): Promise<T.DeleteByQueryRethrottleResponse>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function DeleteByQueryRethrottleApi(params, options) {
|
||||
const acceptedPath = ['task_id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = `/_delete_by_query/${encodeURIComponent(params.task_id.toString())}/_rethrottle`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = DeleteByQueryRethrottleApi;
|
||||
//# sourceMappingURL=delete_by_query_rethrottle.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_by_query_rethrottle.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"delete_by_query_rethrottle.js","sourceRoot":"","sources":["../../../src/api/api/delete_by_query_rethrottle.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,0BAA0B,CAAc,MAA4E,EAAE,OAAiC;IACnL,MAAM,YAAY,GAAa,CAAC,SAAS,CAAC,CAAA;IAC1C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,MAAM,CAAA;IACrB,MAAM,IAAI,GAAG,qBAAqB,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,cAAc,CAAA;IAC7F,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,6CAiBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Deletes a script.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/modules-scripting.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function DeleteScriptApi(this: That, params: T.DeleteScriptRequest | TB.DeleteScriptRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.DeleteScriptResponse>;
|
||||
export default function DeleteScriptApi(this: That, params: T.DeleteScriptRequest | TB.DeleteScriptRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.DeleteScriptResponse, unknown>>;
|
||||
export default function DeleteScriptApi(this: That, params: T.DeleteScriptRequest | TB.DeleteScriptRequest, options?: TransportRequestOptions): Promise<T.DeleteScriptResponse>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function DeleteScriptApi(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_scripts/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = DeleteScriptApi;
|
||||
//# sourceMappingURL=delete_script.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/delete_script.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"delete_script.js","sourceRoot":"","sources":["../../../src/api/api/delete_script.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,eAAe,CAAc,MAAsD,EAAE,OAAiC;IAClJ,MAAM,YAAY,GAAa,CAAC,IAAI,CAAC,CAAA;IACrC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,QAAQ,CAAA;IACvB,MAAM,IAAI,GAAG,aAAa,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IACpE,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,kCAiBC"}
|
||||
46
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/enrich.d.ts
generated
vendored
Executable file
46
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/enrich.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,46 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Enrich {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Deletes an existing enrich policy and its enrich index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/delete-enrich-policy-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
deletePolicy(this: That, params: T.EnrichDeletePolicyRequest | TB.EnrichDeletePolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EnrichDeletePolicyResponse>;
|
||||
deletePolicy(this: That, params: T.EnrichDeletePolicyRequest | TB.EnrichDeletePolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EnrichDeletePolicyResponse, unknown>>;
|
||||
deletePolicy(this: That, params: T.EnrichDeletePolicyRequest | TB.EnrichDeletePolicyRequest, options?: TransportRequestOptions): Promise<T.EnrichDeletePolicyResponse>;
|
||||
/**
|
||||
* Creates the enrich index for an existing enrich policy.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/execute-enrich-policy-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
executePolicy(this: That, params: T.EnrichExecutePolicyRequest | TB.EnrichExecutePolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EnrichExecutePolicyResponse>;
|
||||
executePolicy(this: That, params: T.EnrichExecutePolicyRequest | TB.EnrichExecutePolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EnrichExecutePolicyResponse, unknown>>;
|
||||
executePolicy(this: That, params: T.EnrichExecutePolicyRequest | TB.EnrichExecutePolicyRequest, options?: TransportRequestOptions): Promise<T.EnrichExecutePolicyResponse>;
|
||||
/**
|
||||
* Gets information about an enrich policy.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/get-enrich-policy-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getPolicy(this: That, params?: T.EnrichGetPolicyRequest | TB.EnrichGetPolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EnrichGetPolicyResponse>;
|
||||
getPolicy(this: That, params?: T.EnrichGetPolicyRequest | TB.EnrichGetPolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EnrichGetPolicyResponse, unknown>>;
|
||||
getPolicy(this: That, params?: T.EnrichGetPolicyRequest | TB.EnrichGetPolicyRequest, options?: TransportRequestOptions): Promise<T.EnrichGetPolicyResponse>;
|
||||
/**
|
||||
* Creates a new enrich policy.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/put-enrich-policy-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
putPolicy(this: That, params: T.EnrichPutPolicyRequest | TB.EnrichPutPolicyRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EnrichPutPolicyResponse>;
|
||||
putPolicy(this: That, params: T.EnrichPutPolicyRequest | TB.EnrichPutPolicyRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EnrichPutPolicyResponse, unknown>>;
|
||||
putPolicy(this: That, params: T.EnrichPutPolicyRequest | TB.EnrichPutPolicyRequest, options?: TransportRequestOptions): Promise<T.EnrichPutPolicyResponse>;
|
||||
/**
|
||||
* Gets enrich coordinator statistics and information about enrich policies that are currently executing.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/enrich-stats-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
stats(this: That, params?: T.EnrichStatsRequest | TB.EnrichStatsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EnrichStatsResponse>;
|
||||
stats(this: That, params?: T.EnrichStatsRequest | TB.EnrichStatsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EnrichStatsResponse, unknown>>;
|
||||
stats(this: That, params?: T.EnrichStatsRequest | TB.EnrichStatsRequest, options?: TransportRequestOptions): Promise<T.EnrichStatsResponse>;
|
||||
}
|
||||
export {};
|
||||
142
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/enrich.js
generated
vendored
Executable file
142
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/enrich.js
generated
vendored
Executable file
|
|
@ -0,0 +1,142 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Enrich {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async deletePolicy(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_enrich/policy/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async executePolicy(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = `/_enrich/policy/${encodeURIComponent(params.name.toString())}/_execute`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async getPolicy(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.name != null) {
|
||||
method = 'GET';
|
||||
path = `/_enrich/policy/${encodeURIComponent(params.name.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_enrich/policy';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async putPolicy(params, options) {
|
||||
const acceptedPath = ['name'];
|
||||
const acceptedBody = ['geo_match', 'match', 'range'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'PUT';
|
||||
const path = `/_enrich/policy/${encodeURIComponent(params.name.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async stats(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_enrich/_stats';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Enrich;
|
||||
//# sourceMappingURL=enrich.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/enrich.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/enrich.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"enrich.js","sourceRoot":"","sources":["../../../src/api/api/enrich.ts"],"names":[],"mappings":"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"}
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/eql.d.ts
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/eql.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Eql {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/eql-search-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
delete(this: That, params: T.EqlDeleteRequest | TB.EqlDeleteRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlDeleteResponse>;
|
||||
delete(this: That, params: T.EqlDeleteRequest | TB.EqlDeleteRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EqlDeleteResponse, unknown>>;
|
||||
delete(this: That, params: T.EqlDeleteRequest | TB.EqlDeleteRequest, options?: TransportRequestOptions): Promise<T.EqlDeleteResponse>;
|
||||
/**
|
||||
* Returns async results from previously executed Event Query Language (EQL) search
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/eql-search-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
get<TEvent = unknown>(this: That, params: T.EqlGetRequest | TB.EqlGetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlGetResponse<TEvent>>;
|
||||
get<TEvent = unknown>(this: That, params: T.EqlGetRequest | TB.EqlGetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EqlGetResponse<TEvent>, unknown>>;
|
||||
get<TEvent = unknown>(this: That, params: T.EqlGetRequest | TB.EqlGetRequest, options?: TransportRequestOptions): Promise<T.EqlGetResponse<TEvent>>;
|
||||
/**
|
||||
* Returns the status of a previously submitted async or stored Event Query Language (EQL) search
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/eql-search-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getStatus(this: That, params: T.EqlGetStatusRequest | TB.EqlGetStatusRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlGetStatusResponse>;
|
||||
getStatus(this: That, params: T.EqlGetStatusRequest | TB.EqlGetStatusRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EqlGetStatusResponse, unknown>>;
|
||||
getStatus(this: That, params: T.EqlGetStatusRequest | TB.EqlGetStatusRequest, options?: TransportRequestOptions): Promise<T.EqlGetStatusResponse>;
|
||||
/**
|
||||
* Returns results matching a query expressed in Event Query Language (EQL)
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/eql-search-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
search<TEvent = unknown>(this: That, params: T.EqlSearchRequest | TB.EqlSearchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.EqlSearchResponse<TEvent>>;
|
||||
search<TEvent = unknown>(this: That, params: T.EqlSearchRequest | TB.EqlSearchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.EqlSearchResponse<TEvent>, unknown>>;
|
||||
search<TEvent = unknown>(this: That, params: T.EqlSearchRequest | TB.EqlSearchRequest, options?: TransportRequestOptions): Promise<T.EqlSearchResponse<TEvent>>;
|
||||
}
|
||||
export {};
|
||||
115
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/eql.js
generated
vendored
Executable file
115
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/eql.js
generated
vendored
Executable file
|
|
@ -0,0 +1,115 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Eql {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async delete(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'DELETE';
|
||||
const path = `/_eql/search/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async get(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/_eql/search/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async getStatus(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/_eql/search/status/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async search(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['query', 'case_sensitive', 'event_category_field', 'tiebreaker_field', 'timestamp_field', 'fetch_size', 'filter', 'keep_alive', 'keep_on_completion', 'wait_for_completion_timeout', 'size', 'fields', 'result_position', 'runtime_mappings'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = body != null ? 'POST' : 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_eql/search`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Eql;
|
||||
//# sourceMappingURL=eql.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/eql.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/eql.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"eql.js","sourceRoot":"","sources":["../../../src/api/api/eql.ts"],"names":[],"mappings":"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"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns information about whether a document exists in an index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-get.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function ExistsApi(this: That, params: T.ExistsRequest | TB.ExistsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ExistsResponse>;
|
||||
export default function ExistsApi(this: That, params: T.ExistsRequest | TB.ExistsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ExistsResponse, unknown>>;
|
||||
export default function ExistsApi(this: That, params: T.ExistsRequest | TB.ExistsRequest, options?: TransportRequestOptions): Promise<T.ExistsResponse>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function ExistsApi(params, options) {
|
||||
const acceptedPath = ['id', 'index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'HEAD';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_doc/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = ExistsApi;
|
||||
//# sourceMappingURL=exists.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"exists.js","sourceRoot":"","sources":["../../../src/api/api/exists.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,SAAS,CAAc,MAA0C,EAAE,OAAiC;IAChI,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,MAAM,CAAA;IACrB,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,SAAS,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IAC/G,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,4BAiBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns information about whether a document source exists in an index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-get.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function ExistsSourceApi(this: That, params: T.ExistsSourceRequest | TB.ExistsSourceRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ExistsSourceResponse>;
|
||||
export default function ExistsSourceApi(this: That, params: T.ExistsSourceRequest | TB.ExistsSourceRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ExistsSourceResponse, unknown>>;
|
||||
export default function ExistsSourceApi(this: That, params: T.ExistsSourceRequest | TB.ExistsSourceRequest, options?: TransportRequestOptions): Promise<T.ExistsSourceResponse>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function ExistsSourceApi(params, options) {
|
||||
const acceptedPath = ['id', 'index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'HEAD';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_source/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = ExistsSourceApi;
|
||||
//# sourceMappingURL=exists_source.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/exists_source.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"exists_source.js","sourceRoot":"","sources":["../../../src/api/api/exists_source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,eAAe,CAAc,MAAsD,EAAE,OAAiC;IAClJ,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,MAAM,CAAA;IACrB,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,YAAY,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IAClH,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,kCAiBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/explain.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/explain.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns information about why a specific matches (or doesn't match) a query.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/search-explain.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function ExplainApi<TDocument = unknown>(this: That, params: T.ExplainRequest | TB.ExplainRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.ExplainResponse<TDocument>>;
|
||||
export default function ExplainApi<TDocument = unknown>(this: That, params: T.ExplainRequest | TB.ExplainRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.ExplainResponse<TDocument>, unknown>>;
|
||||
export default function ExplainApi<TDocument = unknown>(this: That, params: T.ExplainRequest | TB.ExplainRequest, options?: TransportRequestOptions): Promise<T.ExplainResponse<TDocument>>;
|
||||
export {};
|
||||
53
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/explain.js
generated
vendored
Executable file
53
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/explain.js
generated
vendored
Executable file
|
|
@ -0,0 +1,53 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function ExplainApi(params, options) {
|
||||
const acceptedPath = ['id', 'index'];
|
||||
const acceptedBody = ['query'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = body != null ? 'POST' : 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_explain/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = ExplainApi;
|
||||
//# sourceMappingURL=explain.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/explain.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/explain.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"explain.js","sourceRoot":"","sources":["../../../src/api/api/explain.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,UAAU,CAAmC,MAA4C,EAAE,OAAiC;IACxJ,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,YAAY,GAAa,CAAC,OAAO,CAAC,CAAA;IACxC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;IAClC,IAAI,IAAkC,CAAA;IACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,IAAI,GAAG,QAAQ,CAAA;KAChB;SAAM;QACL,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;KACtD;IAED,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;YACjB,mBAAmB;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACxB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;IAC5C,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,aAAa,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IACnH,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AA7BD,6BA6BC"}
|
||||
25
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/features.d.ts
generated
vendored
Executable file
25
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/features.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Features {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/get-features-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
getFeatures(this: That, params?: T.FeaturesGetFeaturesRequest | TB.FeaturesGetFeaturesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.FeaturesGetFeaturesResponse>;
|
||||
getFeatures(this: That, params?: T.FeaturesGetFeaturesRequest | TB.FeaturesGetFeaturesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.FeaturesGetFeaturesResponse, unknown>>;
|
||||
getFeatures(this: That, params?: T.FeaturesGetFeaturesRequest | TB.FeaturesGetFeaturesRequest, options?: TransportRequestOptions): Promise<T.FeaturesGetFeaturesResponse>;
|
||||
/**
|
||||
* Resets the internal state of features, usually by deleting system indices
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/modules-snapshots.html | Elasticsearch API documentation}
|
||||
*/
|
||||
resetFeatures(this: That, params?: T.FeaturesResetFeaturesRequest | TB.FeaturesResetFeaturesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.FeaturesResetFeaturesResponse>;
|
||||
resetFeatures(this: That, params?: T.FeaturesResetFeaturesRequest | TB.FeaturesResetFeaturesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.FeaturesResetFeaturesResponse, unknown>>;
|
||||
resetFeatures(this: That, params?: T.FeaturesResetFeaturesRequest | TB.FeaturesResetFeaturesRequest, options?: TransportRequestOptions): Promise<T.FeaturesResetFeaturesResponse>;
|
||||
}
|
||||
export {};
|
||||
69
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/features.js
generated
vendored
Executable file
69
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/features.js
generated
vendored
Executable file
|
|
@ -0,0 +1,69 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Features {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async getFeatures(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_features';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async resetFeatures(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'POST';
|
||||
const path = '/_features/_reset';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Features;
|
||||
//# sourceMappingURL=features.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/features.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/features.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"features.js","sourceRoot":"","sources":["../../../src/api/api/features.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAsBH,MAAqB,QAAQ;IAE3B,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,WAAW,CAAc,MAAqE,EAAE,OAAiC;QACrI,MAAM,YAAY,GAAa,EAAE,CAAA;QACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;QACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,KAAK,CAAA;QACpB,MAAM,IAAI,GAAG,YAAY,CAAA;QACzB,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;IASD,KAAK,CAAC,aAAa,CAAc,MAAyE,EAAE,OAAiC;QAC3I,MAAM,YAAY,GAAa,EAAE,CAAA;QACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;QAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;QACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,MAAM,CAAA;QACrB,MAAM,IAAI,GAAG,mBAAmB,CAAA;QAChC,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;CACF;AA3DD,2BA2DC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns the information about the capabilities of fields among multiple indices.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/search-field-caps.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function FieldCapsApi(this: That, params?: T.FieldCapsRequest | TB.FieldCapsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.FieldCapsResponse>;
|
||||
export default function FieldCapsApi(this: That, params?: T.FieldCapsRequest | TB.FieldCapsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.FieldCapsResponse, unknown>>;
|
||||
export default function FieldCapsApi(this: That, params?: T.FieldCapsRequest | TB.FieldCapsRequest, options?: TransportRequestOptions): Promise<T.FieldCapsResponse>;
|
||||
export {};
|
||||
62
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.js
generated
vendored
Executable file
62
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.js
generated
vendored
Executable file
|
|
@ -0,0 +1,62 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function FieldCapsApi(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['fields', 'index_filter', 'runtime_mappings'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = body != null ? 'POST' : 'GET';
|
||||
path = `/${encodeURIComponent(params.index.toString())}/_field_caps`;
|
||||
}
|
||||
else {
|
||||
method = body != null ? 'POST' : 'GET';
|
||||
path = '/_field_caps';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = FieldCapsApi;
|
||||
//# sourceMappingURL=field_caps.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/field_caps.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"field_caps.js","sourceRoot":"","sources":["../../../src/api/api/field_caps.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,YAAY,CAAc,MAAiD,EAAE,OAAiC;IAC1I,MAAM,YAAY,GAAa,CAAC,OAAO,CAAC,CAAA;IACxC,MAAM,YAAY,GAAa,CAAC,QAAQ,EAAE,cAAc,EAAE,kBAAkB,CAAC,CAAA;IAC7E,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,mBAAmB;IACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;IAClC,IAAI,IAAkC,CAAA;IACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;QAChC,IAAI,GAAG,QAAQ,CAAA;KAChB;SAAM;QACL,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;KACtD;IAED,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;YACjB,mBAAmB;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SACxB;aAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YACrC,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,MAAM,CAAC,KAAK,IAAI,IAAI,EAAE;QACxB,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;QACtC,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,cAAc,CAAA;KACrE;SAAM;QACL,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;QACtC,IAAI,GAAG,cAAc,CAAA;KACtB;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AArCD,+BAqCC"}
|
||||
30
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/fleet.d.ts
generated
vendored
Executable file
30
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/fleet.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,30 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Fleet {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/get-global-checkpoints.html | Elasticsearch API documentation}
|
||||
*/
|
||||
globalCheckpoints(this: That, params: T.FleetGlobalCheckpointsRequest | TB.FleetGlobalCheckpointsRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.FleetGlobalCheckpointsResponse>;
|
||||
globalCheckpoints(this: That, params: T.FleetGlobalCheckpointsRequest | TB.FleetGlobalCheckpointsRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.FleetGlobalCheckpointsResponse, unknown>>;
|
||||
globalCheckpoints(this: That, params: T.FleetGlobalCheckpointsRequest | TB.FleetGlobalCheckpointsRequest, options?: TransportRequestOptions): Promise<T.FleetGlobalCheckpointsResponse>;
|
||||
/**
|
||||
* Multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.
|
||||
*/
|
||||
msearch<TDocument = unknown>(this: That, params: T.FleetMsearchRequest | TB.FleetMsearchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.FleetMsearchResponse<TDocument>>;
|
||||
msearch<TDocument = unknown>(this: That, params: T.FleetMsearchRequest | TB.FleetMsearchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.FleetMsearchResponse<TDocument>, unknown>>;
|
||||
msearch<TDocument = unknown>(this: That, params: T.FleetMsearchRequest | TB.FleetMsearchRequest, options?: TransportRequestOptions): Promise<T.FleetMsearchResponse<TDocument>>;
|
||||
/**
|
||||
* Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.
|
||||
*/
|
||||
search<TDocument = unknown>(this: That, params: T.FleetSearchRequest | TB.FleetSearchRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.FleetSearchResponse<TDocument>>;
|
||||
search<TDocument = unknown>(this: That, params: T.FleetSearchRequest | TB.FleetSearchRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.FleetSearchResponse<TDocument>, unknown>>;
|
||||
search<TDocument = unknown>(this: That, params: T.FleetSearchRequest | TB.FleetSearchRequest, options?: TransportRequestOptions): Promise<T.FleetSearchResponse<TDocument>>;
|
||||
}
|
||||
export {};
|
||||
113
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/fleet.js
generated
vendored
Executable file
113
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/fleet.js
generated
vendored
Executable file
|
|
@ -0,0 +1,113 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Fleet {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async globalCheckpoints(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_fleet/global_checkpoints`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
async msearch(params, options) {
|
||||
var _a;
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['searches'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
let body = (_a = params.body) !== null && _a !== void 0 ? _a : undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
// @ts-expect-error
|
||||
body = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.index != null) {
|
||||
method = body != null ? 'POST' : 'GET';
|
||||
path = `/${encodeURIComponent(params.index.toString())}/_fleet/_fleet_msearch`;
|
||||
}
|
||||
else {
|
||||
method = body != null ? 'POST' : 'GET';
|
||||
path = '/_fleet/_fleet_msearch';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, bulkBody: body }, options);
|
||||
}
|
||||
async search(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['aggregations', 'aggs', 'collapse', 'explain', 'ext', 'from', 'highlight', 'track_total_hits', 'indices_boost', 'docvalue_fields', 'min_score', 'post_filter', 'profile', 'query', 'rescore', 'script_fields', 'search_after', 'size', 'slice', 'sort', '_source', 'fields', 'suggest', 'terminate_after', 'timeout', 'track_scores', 'version', 'seq_no_primary_term', 'stored_fields', 'pit', 'runtime_mappings', 'stats'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = body != null ? 'POST' : 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_fleet/_fleet_search`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Fleet;
|
||||
//# sourceMappingURL=fleet.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/fleet.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/fleet.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"fleet.js","sourceRoot":"","sources":["../../../src/api/api/fleet.ts"],"names":[],"mappings":"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"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns a document.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-get.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function GetApi<TDocument = unknown>(this: That, params: T.GetRequest | TB.GetRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.GetResponse<TDocument>>;
|
||||
export default function GetApi<TDocument = unknown>(this: That, params: T.GetRequest | TB.GetRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.GetResponse<TDocument>, unknown>>;
|
||||
export default function GetApi<TDocument = unknown>(this: That, params: T.GetRequest | TB.GetRequest, options?: TransportRequestOptions): Promise<T.GetResponse<TDocument>>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function GetApi(params, options) {
|
||||
const acceptedPath = ['id', 'index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_doc/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = GetApi;
|
||||
//# sourceMappingURL=get.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/api/api/get.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,MAAM,CAAmC,MAAoC,EAAE,OAAiC;IAC5I,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,KAAK,CAAA;IACpB,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,SAAS,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IAC/G,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,yBAiBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns a script.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/modules-scripting.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function GetScriptApi(this: That, params: T.GetScriptRequest | TB.GetScriptRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.GetScriptResponse>;
|
||||
export default function GetScriptApi(this: That, params: T.GetScriptRequest | TB.GetScriptRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.GetScriptResponse, unknown>>;
|
||||
export default function GetScriptApi(this: That, params: T.GetScriptRequest | TB.GetScriptRequest, options?: TransportRequestOptions): Promise<T.GetScriptResponse>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function GetScriptApi(params, options) {
|
||||
const acceptedPath = ['id'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/_scripts/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = GetScriptApi;
|
||||
//# sourceMappingURL=get_script.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"get_script.js","sourceRoot":"","sources":["../../../src/api/api/get_script.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,YAAY,CAAc,MAAgD,EAAE,OAAiC;IACzI,MAAM,YAAY,GAAa,CAAC,IAAI,CAAC,CAAA;IACrC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,KAAK,CAAA;IACpB,MAAM,IAAI,GAAG,aAAa,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IACpE,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,+BAiBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns all script contexts.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/painless/8.9/painless-contexts.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function GetScriptContextApi(this: That, params?: T.GetScriptContextRequest | TB.GetScriptContextRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.GetScriptContextResponse>;
|
||||
export default function GetScriptContextApi(this: That, params?: T.GetScriptContextRequest | TB.GetScriptContextRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.GetScriptContextResponse, unknown>>;
|
||||
export default function GetScriptContextApi(this: That, params?: T.GetScriptContextRequest | TB.GetScriptContextRequest, options?: TransportRequestOptions): Promise<T.GetScriptContextResponse>;
|
||||
export {};
|
||||
40
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.js
generated
vendored
Executable file
40
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.js
generated
vendored
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function GetScriptContextApi(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_script_context';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = GetScriptContextApi;
|
||||
//# sourceMappingURL=get_script_context.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_context.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"get_script_context.js","sourceRoot":"","sources":["../../../src/api/api/get_script_context.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,mBAAmB,CAAc,MAA+D,EAAE,OAAiC;IAC/J,MAAM,YAAY,GAAa,EAAE,CAAA;IACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,KAAK,CAAA;IACpB,MAAM,IAAI,GAAG,kBAAkB,CAAA;IAC/B,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAlBD,sCAkBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns available script types, languages and contexts
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/modules-scripting.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function GetScriptLanguagesApi(this: That, params?: T.GetScriptLanguagesRequest | TB.GetScriptLanguagesRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.GetScriptLanguagesResponse>;
|
||||
export default function GetScriptLanguagesApi(this: That, params?: T.GetScriptLanguagesRequest | TB.GetScriptLanguagesRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.GetScriptLanguagesResponse, unknown>>;
|
||||
export default function GetScriptLanguagesApi(this: That, params?: T.GetScriptLanguagesRequest | TB.GetScriptLanguagesRequest, options?: TransportRequestOptions): Promise<T.GetScriptLanguagesResponse>;
|
||||
export {};
|
||||
40
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.js
generated
vendored
Executable file
40
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.js
generated
vendored
Executable file
|
|
@ -0,0 +1,40 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function GetScriptLanguagesApi(params, options) {
|
||||
const acceptedPath = [];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = '/_script_language';
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = GetScriptLanguagesApi;
|
||||
//# sourceMappingURL=get_script_languages.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_script_languages.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"get_script_languages.js","sourceRoot":"","sources":["../../../src/api/api/get_script_languages.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,qBAAqB,CAAc,MAAmE,EAAE,OAAiC;IACrK,MAAM,YAAY,GAAa,EAAE,CAAA;IACjC,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,KAAK,CAAA;IACpB,MAAM,IAAI,GAAG,mBAAmB,CAAA;IAChC,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAlBD,wCAkBC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_source.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_source.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns the source of a document.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/docs-get.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function GetSourceApi<TDocument = unknown>(this: That, params: T.GetSourceRequest | TB.GetSourceRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.GetSourceResponse<TDocument>>;
|
||||
export default function GetSourceApi<TDocument = unknown>(this: That, params: T.GetSourceRequest | TB.GetSourceRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.GetSourceResponse<TDocument>, unknown>>;
|
||||
export default function GetSourceApi<TDocument = unknown>(this: That, params: T.GetSourceRequest | TB.GetSourceRequest, options?: TransportRequestOptions): Promise<T.GetSourceResponse<TDocument>>;
|
||||
export {};
|
||||
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_source.js
generated
vendored
Executable file
39
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_source.js
generated
vendored
Executable file
|
|
@ -0,0 +1,39 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function GetSourceApi(params, options) {
|
||||
const acceptedPath = ['id', 'index'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_source/${encodeURIComponent(params.id.toString())}`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = GetSourceApi;
|
||||
//# sourceMappingURL=get_source.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_source.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/get_source.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"get_source.js","sourceRoot":"","sources":["../../../src/api/api/get_source.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,YAAY,CAAmC,MAAgD,EAAE,OAAiC;IAC9J,MAAM,YAAY,GAAa,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;IAC9C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,MAAM,MAAM,GAAG,KAAK,CAAA;IACpB,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,YAAY,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;IAClH,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAjBD,+BAiBC"}
|
||||
18
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/graph.d.ts
generated
vendored
Executable file
18
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/graph.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
export default class Graph {
|
||||
transport: Transport;
|
||||
constructor(transport: Transport);
|
||||
/**
|
||||
* Explore extracted and summarized information about the documents and terms in an index.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/graph-explore-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
explore(this: That, params: T.GraphExploreRequest | TB.GraphExploreRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.GraphExploreResponse>;
|
||||
explore(this: That, params: T.GraphExploreRequest | TB.GraphExploreRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.GraphExploreResponse, unknown>>;
|
||||
explore(this: That, params: T.GraphExploreRequest | TB.GraphExploreRequest, options?: TransportRequestOptions): Promise<T.GraphExploreResponse>;
|
||||
}
|
||||
export {};
|
||||
64
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/graph.js
generated
vendored
Executable file
64
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/graph.js
generated
vendored
Executable file
|
|
@ -0,0 +1,64 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
class Graph {
|
||||
constructor(transport) {
|
||||
Object.defineProperty(this, "transport", {
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true,
|
||||
value: void 0
|
||||
});
|
||||
this.transport = transport;
|
||||
}
|
||||
async explore(params, options) {
|
||||
const acceptedPath = ['index'];
|
||||
const acceptedBody = ['connections', 'controls', 'query', 'vertices'];
|
||||
const querystring = {};
|
||||
// @ts-expect-error
|
||||
const userBody = params === null || params === void 0 ? void 0 : params.body;
|
||||
let body;
|
||||
if (typeof userBody === 'string') {
|
||||
body = userBody;
|
||||
}
|
||||
else {
|
||||
body = userBody != null ? { ...userBody } : undefined;
|
||||
}
|
||||
for (const key in params) {
|
||||
if (acceptedBody.includes(key)) {
|
||||
body = body !== null && body !== void 0 ? body : {};
|
||||
// @ts-expect-error
|
||||
body[key] = params[key];
|
||||
}
|
||||
else if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
const method = body != null ? 'POST' : 'GET';
|
||||
const path = `/${encodeURIComponent(params.index.toString())}/_graph/explore`;
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
}
|
||||
exports.default = Graph;
|
||||
//# sourceMappingURL=graph.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/graph.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/graph.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"graph.js","sourceRoot":"","sources":["../../../src/api/api/graph.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AAsBH,MAAqB,KAAK;IAExB,YAAa,SAAoB;QADjC;;;;;WAAoB;QAElB,IAAI,CAAC,SAAS,GAAG,SAAS,CAAA;IAC5B,CAAC;IASD,KAAK,CAAC,OAAO,CAAc,MAAsD,EAAE,OAAiC;QAClH,MAAM,YAAY,GAAa,CAAC,OAAO,CAAC,CAAA;QACxC,MAAM,YAAY,GAAa,CAAC,aAAa,EAAE,UAAU,EAAE,OAAO,EAAE,UAAU,CAAC,CAAA;QAC/E,MAAM,WAAW,GAAwB,EAAE,CAAA;QAC3C,mBAAmB;QACnB,MAAM,QAAQ,GAAQ,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAA;QAClC,IAAI,IAAkC,CAAA;QACtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YAChC,IAAI,GAAG,QAAQ,CAAA;SAChB;aAAM;YACL,IAAI,GAAG,QAAQ,IAAI,IAAI,CAAC,CAAC,CAAC,EAAE,GAAG,QAAQ,EAAE,CAAC,CAAC,CAAC,SAAS,CAAA;SACtD;QAED,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;YACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBAC9B,IAAI,GAAG,IAAI,aAAJ,IAAI,cAAJ,IAAI,GAAI,EAAE,CAAA;gBACjB,mBAAmB;gBACnB,IAAI,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aACxB;iBAAM,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACrC,SAAQ;aACT;iBAAM,IAAI,GAAG,KAAK,MAAM,EAAE;gBACzB,mBAAmB;gBACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;aAC/B;SACF;QAED,MAAM,MAAM,GAAG,IAAI,IAAI,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAA;QAC5C,MAAM,IAAI,GAAG,IAAI,kBAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,iBAAiB,CAAA;QAC7E,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;IACnF,CAAC;CACF;AA3CD,wBA2CC"}
|
||||
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/health_report.d.ts
generated
vendored
Executable file
14
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/health_report.d.ts
generated
vendored
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
import { Transport, TransportRequestOptions, TransportRequestOptionsWithMeta, TransportRequestOptionsWithOutMeta, TransportResult } from '@elastic/transport';
|
||||
import * as T from '../types';
|
||||
import * as TB from '../typesWithBodyKey';
|
||||
interface That {
|
||||
transport: Transport;
|
||||
}
|
||||
/**
|
||||
* Returns the health of the cluster.
|
||||
* @see {@link https://www.elastic.co/guide/en/elasticsearch/reference/8.9/health-api.html | Elasticsearch API documentation}
|
||||
*/
|
||||
export default function HealthReportApi(this: That, params?: T.HealthReportRequest | TB.HealthReportRequest, options?: TransportRequestOptionsWithOutMeta): Promise<T.HealthReportResponse>;
|
||||
export default function HealthReportApi(this: That, params?: T.HealthReportRequest | TB.HealthReportRequest, options?: TransportRequestOptionsWithMeta): Promise<TransportResult<T.HealthReportResponse, unknown>>;
|
||||
export default function HealthReportApi(this: That, params?: T.HealthReportRequest | TB.HealthReportRequest, options?: TransportRequestOptions): Promise<T.HealthReportResponse>;
|
||||
export {};
|
||||
48
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/health_report.js
generated
vendored
Executable file
48
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/health_report.js
generated
vendored
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
"use strict";
|
||||
/*
|
||||
* Licensed to Elasticsearch B.V. under one or more contributor
|
||||
* license agreements. See the NOTICE file distributed with
|
||||
* this work for additional information regarding copyright
|
||||
* ownership. Elasticsearch B.V. licenses this file to you under
|
||||
* the Apache License, Version 2.0 (the "License"); you may
|
||||
* not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing,
|
||||
* software distributed under the License is distributed on an
|
||||
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
||||
* KIND, either express or implied. See the License for the
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
async function HealthReportApi(params, options) {
|
||||
const acceptedPath = ['feature'];
|
||||
const querystring = {};
|
||||
const body = undefined;
|
||||
params = params !== null && params !== void 0 ? params : {};
|
||||
for (const key in params) {
|
||||
if (acceptedPath.includes(key)) {
|
||||
continue;
|
||||
}
|
||||
else if (key !== 'body') {
|
||||
// @ts-expect-error
|
||||
querystring[key] = params[key];
|
||||
}
|
||||
}
|
||||
let method = '';
|
||||
let path = '';
|
||||
if (params.feature != null) {
|
||||
method = 'GET';
|
||||
path = `/_health_report/${encodeURIComponent(params.feature.toString())}`;
|
||||
}
|
||||
else {
|
||||
method = 'GET';
|
||||
path = '/_health_report';
|
||||
}
|
||||
return await this.transport.request({ path, method, querystring, body }, options);
|
||||
}
|
||||
exports.default = HealthReportApi;
|
||||
//# sourceMappingURL=health_report.js.map
|
||||
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/health_report.js.map
generated
vendored
Executable file
1
VISUALIZACION/node_modules/@elastic/elasticsearch/lib/api/api/health_report.js.map
generated
vendored
Executable file
|
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"health_report.js","sourceRoot":"","sources":["../../../src/api/api/health_report.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;AA6BY,KAAK,UAAU,eAAe,CAAc,MAAuD,EAAE,OAAiC;IACnJ,MAAM,YAAY,GAAa,CAAC,SAAS,CAAC,CAAA;IAC1C,MAAM,WAAW,GAAwB,EAAE,CAAA;IAC3C,MAAM,IAAI,GAAG,SAAS,CAAA;IAEtB,MAAM,GAAG,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,CAAA;IACrB,KAAK,MAAM,GAAG,IAAI,MAAM,EAAE;QACxB,IAAI,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAC9B,SAAQ;SACT;aAAM,IAAI,GAAG,KAAK,MAAM,EAAE;YACzB,mBAAmB;YACnB,WAAW,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA;SAC/B;KACF;IAED,IAAI,MAAM,GAAG,EAAE,CAAA;IACf,IAAI,IAAI,GAAG,EAAE,CAAA;IACb,IAAI,MAAM,CAAC,OAAO,IAAI,IAAI,EAAE;QAC1B,MAAM,GAAG,KAAK,CAAA;QACd,IAAI,GAAG,mBAAmB,kBAAkB,CAAC,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,EAAE,CAAA;KAC1E;SAAM;QACL,MAAM,GAAG,KAAK,CAAA;QACd,IAAI,GAAG,iBAAiB,CAAA;KACzB;IACD,OAAO,MAAM,IAAI,CAAC,SAAS,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,EAAE,OAAO,CAAC,CAAA;AACnF,CAAC;AAzBD,kCAyBC"}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue