@elastic/schemas 0.6.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/es/json/esql.delete_data_source.request.json +1 -0
- package/lib/cjs/es/json/esql.delete_dataset.request.json +1 -0
- package/lib/cjs/es/json/esql.get_data_source.request.json +1 -0
- package/lib/cjs/es/json/esql.get_dataset.request.json +1 -0
- package/lib/cjs/es/json/esql.put_data_source.request.json +1 -0
- package/lib/cjs/es/json/esql.put_dataset.request.json +1 -0
- package/lib/cjs/es/tools/apis/esql.delete_data_source.d.ts +3 -0
- package/lib/cjs/es/tools/apis/esql.delete_data_source.d.ts.map +1 -0
- package/lib/cjs/es/tools/apis/esql.delete_data_source.js +24 -0
- package/lib/cjs/es/tools/apis/esql.delete_data_source.js.map +1 -0
- package/lib/cjs/es/tools/apis/esql.delete_dataset.d.ts +3 -0
- package/lib/cjs/es/tools/apis/esql.delete_dataset.d.ts.map +1 -0
- package/lib/cjs/es/tools/apis/esql.delete_dataset.js +24 -0
- package/lib/cjs/es/tools/apis/esql.delete_dataset.js.map +1 -0
- package/lib/cjs/es/tools/apis/esql.get_data_source.d.ts +3 -0
- package/lib/cjs/es/tools/apis/esql.get_data_source.d.ts.map +1 -0
- package/lib/cjs/es/tools/apis/esql.get_data_source.js +24 -0
- package/lib/cjs/es/tools/apis/esql.get_data_source.js.map +1 -0
- package/lib/cjs/es/tools/apis/esql.get_dataset.d.ts +3 -0
- package/lib/cjs/es/tools/apis/esql.get_dataset.d.ts.map +1 -0
- package/lib/cjs/es/tools/apis/esql.get_dataset.js +24 -0
- package/lib/cjs/es/tools/apis/esql.get_dataset.js.map +1 -0
- package/lib/cjs/es/tools/apis/esql.put_data_source.d.ts +3 -0
- package/lib/cjs/es/tools/apis/esql.put_data_source.d.ts.map +1 -0
- package/lib/cjs/es/tools/apis/esql.put_data_source.js +24 -0
- package/lib/cjs/es/tools/apis/esql.put_data_source.js.map +1 -0
- package/lib/cjs/es/tools/apis/esql.put_dataset.d.ts +3 -0
- package/lib/cjs/es/tools/apis/esql.put_dataset.d.ts.map +1 -0
- package/lib/cjs/es/tools/apis/esql.put_dataset.js +24 -0
- package/lib/cjs/es/tools/apis/esql.put_dataset.js.map +1 -0
- package/lib/cjs/es/tools/index.d.ts.map +1 -1
- package/lib/cjs/es/tools/index.js +24 -0
- package/lib/cjs/es/tools/index.js.map +1 -1
- package/lib/cjs/es/tools/manifest.d.ts.map +1 -1
- package/lib/cjs/es/tools/manifest.js +6 -0
- package/lib/cjs/es/tools/manifest.js.map +1 -1
- package/lib/cjs/kibana/json/streams.delete-streams-name-queries-queryid.request.json +1 -1
- package/lib/cjs/kibana/json/streams.delete-streams-name.request.json +1 -1
- package/lib/cjs/kibana/json/streams.delete-streams-streamname-attachments-attachmenttype-attachmentid.request.json +1 -1
- package/lib/cjs/kibana/json/streams.get-streams-name-ingest.request.json +1 -1
- package/lib/cjs/kibana/json/streams.get-streams-name-queries.request.json +1 -1
- package/lib/cjs/kibana/json/streams.get-streams-name-query.request.json +1 -1
- package/lib/cjs/kibana/json/streams.get-streams-name-significant-events.request.json +1 -1
- package/lib/cjs/kibana/json/streams.get-streams-name.request.json +1 -1
- package/lib/cjs/kibana/json/streams.get-streams-streamname-attachments.request.json +1 -1
- package/lib/cjs/kibana/json/streams.put-streams-streamname-attachments-attachmenttype-attachmentid.request.json +1 -1
- package/lib/cjs/serverless/json/create_elasticsearch_project.request.json +1 -1
- package/lib/cjs/serverless/json/create_observability_project.request.json +1 -1
- package/lib/cjs/serverless/json/create_security_project.request.json +1 -1
- package/lib/cjs/serverless/json/get_elasticsearch_project_link_candidates.request.json +1 -1
- package/lib/cjs/serverless/json/get_observability_project_link_candidates.request.json +1 -1
- package/lib/cjs/serverless/json/get_security_project_link_candidates.request.json +1 -1
- package/lib/cjs/serverless/json/get_traffic_filter_metadata.request.json +1 -1
- package/lib/cjs/serverless/json/list_elasticsearch_projects.request.json +1 -1
- package/lib/cjs/serverless/json/list_observability_projects.request.json +1 -1
- package/lib/cjs/serverless/json/list_security_projects.request.json +1 -1
- package/lib/cjs/serverless/json/list_traffic_filters.request.json +1 -1
- package/lib/cjs/serverless/json/patch_elasticsearch_project.request.json +1 -1
- package/lib/cjs/serverless/json/patch_observability_project.request.json +1 -1
- package/lib/cjs/serverless/json/patch_security_project.request.json +1 -1
- package/lib/es/json/esql.delete_data_source.request.json +1 -0
- package/lib/es/json/esql.delete_dataset.request.json +1 -0
- package/lib/es/json/esql.get_data_source.request.json +1 -0
- package/lib/es/json/esql.get_dataset.request.json +1 -0
- package/lib/es/json/esql.put_data_source.request.json +1 -0
- package/lib/es/json/esql.put_dataset.request.json +1 -0
- package/lib/es/tools/apis/esql.delete_data_source.d.ts +3 -0
- package/lib/es/tools/apis/esql.delete_data_source.d.ts.map +1 -0
- package/lib/es/tools/apis/esql.delete_data_source.js +18 -0
- package/lib/es/tools/apis/esql.delete_data_source.js.map +1 -0
- package/lib/es/tools/apis/esql.delete_dataset.d.ts +3 -0
- package/lib/es/tools/apis/esql.delete_dataset.d.ts.map +1 -0
- package/lib/es/tools/apis/esql.delete_dataset.js +18 -0
- package/lib/es/tools/apis/esql.delete_dataset.js.map +1 -0
- package/lib/es/tools/apis/esql.get_data_source.d.ts +3 -0
- package/lib/es/tools/apis/esql.get_data_source.d.ts.map +1 -0
- package/lib/es/tools/apis/esql.get_data_source.js +18 -0
- package/lib/es/tools/apis/esql.get_data_source.js.map +1 -0
- package/lib/es/tools/apis/esql.get_dataset.d.ts +3 -0
- package/lib/es/tools/apis/esql.get_dataset.d.ts.map +1 -0
- package/lib/es/tools/apis/esql.get_dataset.js +18 -0
- package/lib/es/tools/apis/esql.get_dataset.js.map +1 -0
- package/lib/es/tools/apis/esql.put_data_source.d.ts +3 -0
- package/lib/es/tools/apis/esql.put_data_source.d.ts.map +1 -0
- package/lib/es/tools/apis/esql.put_data_source.js +18 -0
- package/lib/es/tools/apis/esql.put_data_source.js.map +1 -0
- package/lib/es/tools/apis/esql.put_dataset.d.ts +3 -0
- package/lib/es/tools/apis/esql.put_dataset.d.ts.map +1 -0
- package/lib/es/tools/apis/esql.put_dataset.js +18 -0
- package/lib/es/tools/apis/esql.put_dataset.js.map +1 -0
- package/lib/es/tools/index.d.ts.map +1 -1
- package/lib/es/tools/index.js +24 -0
- package/lib/es/tools/index.js.map +1 -1
- package/lib/es/tools/manifest.d.ts.map +1 -1
- package/lib/es/tools/manifest.js +6 -0
- package/lib/es/tools/manifest.js.map +1 -1
- package/lib/kibana/json/streams.delete-streams-name-queries-queryid.request.json +1 -1
- package/lib/kibana/json/streams.delete-streams-name.request.json +1 -1
- package/lib/kibana/json/streams.delete-streams-streamname-attachments-attachmenttype-attachmentid.request.json +1 -1
- package/lib/kibana/json/streams.get-streams-name-ingest.request.json +1 -1
- package/lib/kibana/json/streams.get-streams-name-queries.request.json +1 -1
- package/lib/kibana/json/streams.get-streams-name-query.request.json +1 -1
- package/lib/kibana/json/streams.get-streams-name-significant-events.request.json +1 -1
- package/lib/kibana/json/streams.get-streams-name.request.json +1 -1
- package/lib/kibana/json/streams.get-streams-streamname-attachments.request.json +1 -1
- package/lib/kibana/json/streams.put-streams-streamname-attachments-attachmenttype-attachmentid.request.json +1 -1
- package/lib/serverless/json/create_elasticsearch_project.request.json +1 -1
- package/lib/serverless/json/create_observability_project.request.json +1 -1
- package/lib/serverless/json/create_security_project.request.json +1 -1
- package/lib/serverless/json/get_elasticsearch_project_link_candidates.request.json +1 -1
- package/lib/serverless/json/get_observability_project_link_candidates.request.json +1 -1
- package/lib/serverless/json/get_security_project_link_candidates.request.json +1 -1
- package/lib/serverless/json/get_traffic_filter_metadata.request.json +1 -1
- package/lib/serverless/json/list_elasticsearch_projects.request.json +1 -1
- package/lib/serverless/json/list_observability_projects.request.json +1 -1
- package/lib/serverless/json/list_security_projects.request.json +1 -1
- package/lib/serverless/json/list_traffic_filters.request.json +1 -1
- package/lib/serverless/json/patch_elasticsearch_project.request.json +1 -1
- package/lib/serverless/json/patch_observability_project.request.json +1 -1
- package/lib/serverless/json/patch_security_project.request.json +1 -1
- package/package.json +1 -1
- package/src/es/json/esql._types.json +1 -1
- package/src/es/json/esql.delete_data_source.request.json +1 -0
- package/src/es/json/esql.delete_data_source.response.json +1 -0
- package/src/es/json/esql.delete_dataset.request.json +1 -0
- package/src/es/json/esql.delete_dataset.response.json +1 -0
- package/src/es/json/esql.get_data_source.request.json +1 -0
- package/src/es/json/esql.get_data_source.response.json +1 -0
- package/src/es/json/esql.get_dataset.request.json +1 -0
- package/src/es/json/esql.get_dataset.response.json +1 -0
- package/src/es/json/esql.put_data_source.request.json +1 -0
- package/src/es/json/esql.put_data_source.response.json +1 -0
- package/src/es/json/esql.put_dataset.request.json +1 -0
- package/src/es/json/esql.put_dataset.response.json +1 -0
- package/src/kibana/json/streams.delete-streams-name-queries-queryid.request.json +1 -1
- package/src/kibana/json/streams.delete-streams-name.request.json +1 -1
- package/src/kibana/json/streams.delete-streams-streamname-attachments-attachmenttype-attachmentid.request.json +1 -1
- package/src/kibana/json/streams.get-streams-name-ingest.request.json +1 -1
- package/src/kibana/json/streams.get-streams-name-queries.request.json +1 -1
- package/src/kibana/json/streams.get-streams-name-query.request.json +1 -1
- package/src/kibana/json/streams.get-streams-name-significant-events.request.json +1 -1
- package/src/kibana/json/streams.get-streams-name.request.json +1 -1
- package/src/kibana/json/streams.get-streams-streamname-attachments.request.json +1 -1
- package/src/kibana/json/streams.get-streams.request.json +1 -1
- package/src/kibana/json/streams.post-streams-disable.request.json +1 -1
- package/src/kibana/json/streams.post-streams-enable.request.json +1 -1
- package/src/kibana/json/streams.post-streams-resync.request.json +1 -1
- package/src/kibana/json/streams.put-streams-streamname-attachments-attachmenttype-attachmentid.request.json +1 -1
- package/src/serverless/json/create_elasticsearch_project.request.json +1 -1
- package/src/serverless/json/create_observability_project.request.json +1 -1
- package/src/serverless/json/create_security_project.request.json +1 -1
- package/src/serverless/json/get_elasticsearch_project.response.json +1 -1
- package/src/serverless/json/get_elasticsearch_project_link_candidates.request.json +1 -1
- package/src/serverless/json/get_elasticsearch_project_link_candidates.response.json +1 -1
- package/src/serverless/json/get_observability_project.response.json +1 -1
- package/src/serverless/json/get_observability_project_link_candidates.request.json +1 -1
- package/src/serverless/json/get_observability_project_link_candidates.response.json +1 -1
- package/src/serverless/json/get_security_project.response.json +1 -1
- package/src/serverless/json/get_security_project_link_candidates.request.json +1 -1
- package/src/serverless/json/get_security_project_link_candidates.response.json +1 -1
- package/src/serverless/json/get_traffic_filter_metadata.request.json +1 -1
- package/src/serverless/json/list_elasticsearch_projects.request.json +1 -1
- package/src/serverless/json/list_elasticsearch_projects.response.json +1 -1
- package/src/serverless/json/list_observability_projects.request.json +1 -1
- package/src/serverless/json/list_observability_projects.response.json +1 -1
- package/src/serverless/json/list_security_projects.request.json +1 -1
- package/src/serverless/json/list_security_projects.response.json +1 -1
- package/src/serverless/json/list_traffic_filters.request.json +1 -1
- package/src/serverless/json/patch_elasticsearch_project.request.json +1 -1
- package/src/serverless/json/patch_elasticsearch_project.response.json +1 -1
- package/src/serverless/json/patch_observability_project.request.json +1 -1
- package/src/serverless/json/patch_observability_project.response.json +1 -1
- package/src/serverless/json/patch_security_project.request.json +1 -1
- package/src/serverless/json/patch_security_project.response.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "patchObservabilityProject", "x-api": { "id": "observability-projects.patch-observability-project", "name": "patch-observability-project", "namespace": "observability-projects" }, "x-method": "PATCH", "x-path": "/api/v1/serverless/projects/observability/{id}", "x-destructive": true, "type": "object", "properties": { "id": { "type": "string", "description": "The ID of the project", "x-found-in": "path" }, "name": { "type": "string", "x-found-in": "body" }, "alias": { "type": "string", "x-found-in": "body" }, "traffic_filters": { "oneOf": [{ "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" } }, "required": ["id"] } }, { "type": "null" }], "x-found-in": "body" }, "linked": { "oneOf": [{ "type": "object", "properties": { "projects": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "object", "properties": { "type": { "enum": ["elasticsearch", "observability", "security", "vectordb"] } }, "required": ["type"], "additionalProperties": false }, { "type": "null" }] } } }, "additionalProperties": false }, { "type": "null" }], "x-found-in": "body" }, "product_tier": { "enum": ["complete", "logs_essentials"], "x-found-in": "body" }, "metadata": { "type": "object", "properties": { "tags": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "string" }, { "type": "null" }] } } }, "required": ["tags"], "x-found-in": "body" } }, "required": ["id"] }
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "patchObservabilityProject", "x-api": { "id": "observability-projects.patch-observability-project", "name": "patch-observability-project", "namespace": "observability-projects" }, "x-method": "PATCH", "x-path": "/api/v1/serverless/projects/observability/{id}", "x-destructive": true, "type": "object", "properties": { "id": { "type": "string", "description": "The ID of the project", "x-found-in": "path" }, "name": { "type": "string", "x-found-in": "body" }, "alias": { "type": "string", "x-found-in": "body" }, "traffic_filters": { "oneOf": [{ "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" } }, "required": ["id"] } }, { "type": "null" }], "x-found-in": "body" }, "linked": { "oneOf": [{ "type": "object", "properties": { "projects": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "object", "properties": { "type": { "enum": ["elasticsearch", "observability", "security", "vectordb"] } }, "required": ["type"], "additionalProperties": false }, { "type": "null" }] }, "minProperties": 1 } }, "additionalProperties": false }, { "type": "null" }], "x-found-in": "body" }, "product_tier": { "enum": ["complete", "logs_essentials"], "x-found-in": "body" }, "metadata": { "type": "object", "properties": { "tags": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "string" }, { "type": "null" }] }, "minProperties": 1 } }, "required": ["tags"], "x-found-in": "body" } }, "required": ["id"] }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "patchSecurityProject", "x-api": { "id": "security-projects.patch-security-project", "name": "patch-security-project", "namespace": "security-projects" }, "x-method": "PATCH", "x-path": "/api/v1/serverless/projects/security/{id}", "x-destructive": true, "type": "object", "properties": { "id": { "type": "string", "description": "The ID of the project", "x-found-in": "path" }, "name": { "type": "string", "x-found-in": "body" }, "alias": { "type": "string", "x-found-in": "body" }, "admin_features_package": { "oneOf": [{ "enum": ["standard", "enterprise"] }, { "type": "null" }], "x-found-in": "body" }, "product_types": { "oneOf": [{ "type": "array", "items": { "type": "object", "properties": { "product_line": { "enum": ["security", "cloud", "endpoint"] }, "product_tier": { "enum": ["complete", "essentials"] } }, "required": ["product_line", "product_tier"] } }, { "type": "null" }], "x-found-in": "body" }, "search_lake": { "oneOf": [{ "type": "object", "properties": { "data_retention": { "oneOf": [{ "type": "object", "properties": { "max_retention_days": { "oneOf": [{ "type": "number" }, { "type": "null" }] }, "default_retention_days": { "oneOf": [{ "type": "number" }, { "type": "null" }] } } }, { "type": "null" }] } } }, { "type": "null" }], "x-found-in": "body" }, "traffic_filters": { "oneOf": [{ "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" } }, "required": ["id"] } }, { "type": "null" }], "x-found-in": "body" }, "metadata": { "type": "object", "properties": { "tags": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "string" }, { "type": "null" }] } } }, "required": ["tags"], "x-found-in": "body" }, "linked": { "oneOf": [{ "type": "object", "properties": { "projects": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "object", "properties": { "type": { "enum": ["elasticsearch", "observability", "security", "vectordb"] } }, "required": ["type"], "additionalProperties": false }, { "type": "null" }] } } }, "additionalProperties": false }, { "type": "null" }], "x-found-in": "body" } }, "required": ["id"] }
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "patchSecurityProject", "x-api": { "id": "security-projects.patch-security-project", "name": "patch-security-project", "namespace": "security-projects" }, "x-method": "PATCH", "x-path": "/api/v1/serverless/projects/security/{id}", "x-destructive": true, "type": "object", "properties": { "id": { "type": "string", "description": "The ID of the project", "x-found-in": "path" }, "name": { "type": "string", "x-found-in": "body" }, "alias": { "type": "string", "x-found-in": "body" }, "admin_features_package": { "oneOf": [{ "enum": ["standard", "enterprise"] }, { "type": "null" }], "x-found-in": "body" }, "product_types": { "oneOf": [{ "type": "array", "items": { "type": "object", "properties": { "product_line": { "enum": ["security", "cloud", "endpoint"] }, "product_tier": { "enum": ["complete", "essentials"] } }, "required": ["product_line", "product_tier"] } }, { "type": "null" }], "x-found-in": "body" }, "search_lake": { "oneOf": [{ "type": "object", "properties": { "data_retention": { "oneOf": [{ "type": "object", "properties": { "max_retention_days": { "oneOf": [{ "type": "number" }, { "type": "null" }] }, "default_retention_days": { "oneOf": [{ "type": "number" }, { "type": "null" }] } } }, { "type": "null" }] } } }, { "type": "null" }], "x-found-in": "body" }, "traffic_filters": { "oneOf": [{ "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" } }, "required": ["id"] } }, { "type": "null" }], "x-found-in": "body" }, "metadata": { "type": "object", "properties": { "tags": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "string" }, { "type": "null" }] }, "minProperties": 1 } }, "required": ["tags"], "x-found-in": "body" }, "linked": { "oneOf": [{ "type": "object", "properties": { "projects": { "type": "object", "additionalProperties": { "oneOf": [{ "type": "object", "properties": { "type": { "enum": ["elasticsearch", "observability", "security", "vectordb"] } }, "required": ["type"], "additionalProperties": false }, { "type": "null" }] }, "minProperties": 1 } }, "additionalProperties": false }, { "type": "null" }], "x-found-in": "body" } }, "required": ["id"] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "esql.delete_data_source", "description": "Delete ES|QL data sources.\n\nDeletes one or more data sources used in ES|QL data federation.\nFails with `409` if any dataset references one of the named data sources;\ndelete the dependent datasets first.", "x-api": { "id": "esql.delete_data_source", "name": "delete-data-source", "namespace": "esql" }, "x-method": "DELETE", "x-path": "/_query/data_source/{name}", "x-urls": [{ "path": "/_query/data_source/{name}", "methods": ["DELETE"] }], "x-destructive": true, "x-availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "type": "object", "properties": { "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Period to wait for a connection to the master node.", "x-found-in": "query" }, "timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The time to wait for the request to be completed.", "x-found-in": "query" }, "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "A comma-separated list of data source names to delete.", "x-found-in": "path" }, "error_trace": { "type": "boolean", "description": "When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "filter_path": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "human": { "type": "boolean", "description": "When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "pretty": { "type": "boolean", "description": "If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" } }, "required": ["name"] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "esql.delete_dataset", "description": "Delete ES|QL datasets.\n\nDeletes one or more datasets used in ES|QL data federation.\nIf any specified dataset does not exist, the request fails and no datasets are deleted.", "x-api": { "id": "esql.delete_dataset", "name": "delete-dataset", "namespace": "esql" }, "x-method": "DELETE", "x-path": "/_query/dataset/{name}", "x-urls": [{ "path": "/_query/dataset/{name}", "methods": ["DELETE"] }], "x-destructive": true, "x-availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "type": "object", "properties": { "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Period to wait for a connection to the master node.", "x-found-in": "query" }, "timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The time to wait for the request to be completed.", "x-found-in": "query" }, "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "A comma-separated list of dataset names to delete.", "x-found-in": "path" }, "error_trace": { "type": "boolean", "description": "When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "filter_path": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "human": { "type": "boolean", "description": "When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "pretty": { "type": "boolean", "description": "If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" } }, "required": ["name"] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "esql.get_data_source", "description": "Get ES|QL data sources.\n\nReturns one or more data sources used in ES|QL data federation.\nA concrete-name miss returns `404`; a wildcard pattern or list-all request with no match\nreturns `200` with an empty array.", "x-api": { "id": "esql.get_data_source", "name": "get-data-source", "namespace": "esql" }, "x-method": "GET", "x-path": "/_query/data_source/{name}", "x-urls": [{ "path": "/_query/data_source", "methods": ["GET"] }, { "path": "/_query/data_source/{name}", "methods": ["GET"] }], "x-destructive": false, "x-availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "type": "object", "properties": { "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Period to wait for a connection to the master node.", "x-found-in": "query" }, "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "A comma-separated list of data source names or wildcard patterns. Omit to return all data sources.", "x-found-in": "path" }, "error_trace": { "type": "boolean", "description": "When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "filter_path": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "human": { "type": "boolean", "description": "When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "pretty": { "type": "boolean", "description": "If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" } } }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "esql.get_dataset", "description": "Get ES|QL datasets.\n\nReturns one or more datasets used in ES|QL data federation.\nA concrete-name miss returns `404`; a wildcard pattern or list-all request with no match\nreturns `200` with an empty array.", "x-api": { "id": "esql.get_dataset", "name": "get-dataset", "namespace": "esql" }, "x-method": "GET", "x-path": "/_query/dataset/{name}", "x-urls": [{ "path": "/_query/dataset", "methods": ["GET"] }, { "path": "/_query/dataset/{name}", "methods": ["GET"] }], "x-destructive": false, "x-availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "type": "object", "properties": { "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Period to wait for a connection to the master node.", "x-found-in": "query" }, "name": { "$ref": "./_types.json#/$defs/_types__Names", "description": "A comma-separated list of dataset names or wildcard patterns. Omit to return all datasets.", "x-found-in": "path" }, "error_trace": { "type": "boolean", "description": "When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "filter_path": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "human": { "type": "boolean", "description": "When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "pretty": { "type": "boolean", "description": "If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" } } }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "esql.put_data_source", "description": "Create or update an ES|QL data source.\n\nCreates or replaces a named, type-specific data source configuration for ES|QL data federation.\nDatasets reference data source configurations to access external data. Names must be lowercase\nand follow index or alias naming rules.", "x-api": { "id": "esql.put_data_source", "name": "put-data-source", "namespace": "esql" }, "x-method": "PUT", "x-path": "/_query/data_source/{name}", "x-urls": [{ "path": "/_query/data_source/{name}", "methods": ["PUT"] }], "x-destructive": true, "x-availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "type": "object", "properties": { "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Period to wait for a connection to the master node.", "x-found-in": "query" }, "timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The time to wait for the request to be completed.", "x-found-in": "query" }, "type": { "type": "string", "description": "The data source type. Currently, `s3` is supported.\nThe value must be lowercase and contain no whitespace.", "x-found-in": "body" }, "description": { "type": "string", "description": "A free-text description of the data source.", "x-found-in": "body" }, "settings": { "type": "object", "additionalProperties": {}, "description": "Type-specific connection and authentication settings.\nFor `s3`, connection settings include `region` and `endpoint`. Authentication settings\ninclude `auth` and the credentials required by the selected authentication method.", "x-found-in": "body" }, "name": { "type": "string", "description": "The data source name to create or update.", "x-found-in": "path" }, "error_trace": { "type": "boolean", "description": "When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "filter_path": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "human": { "type": "boolean", "description": "When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "pretty": { "type": "boolean", "description": "If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" } }, "required": ["name", "type"] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "esql.put_dataset", "description": "Create or update an ES|QL dataset.\n\nCreates or replaces a dataset that references a data source in ES|QL data federation.\nDataset names participate in the index namespace and must follow index or alias naming rules.\nReturns `404` if the referenced data source does not exist.", "x-api": { "id": "esql.put_dataset", "name": "put-dataset", "namespace": "esql" }, "x-method": "PUT", "x-path": "/_query/dataset/{name}", "x-urls": [{ "path": "/_query/dataset/{name}", "methods": ["PUT"] }], "x-destructive": true, "x-availability": { "stack": { "stability": "experimental", "visibility": "public" } }, "type": "object", "properties": { "master_timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "Period to wait for a connection to the master node.", "x-found-in": "query" }, "timeout": { "$ref": "./_types.json#/$defs/_types__Duration", "description": "The time to wait for the request to be completed.", "x-found-in": "query" }, "data_source": { "type": "string", "description": "The name of the referenced data source. The data source must already exist.", "x-found-in": "body" }, "resource": { "type": "string", "description": "The URI that identifies the data to read, resolved against the referenced data source.\nIt can include glob patterns. For example, a recursive pattern can match\nall Parquet files under the `s3://logs-bucket/access` prefix.", "x-found-in": "body" }, "description": { "type": "string", "description": "A free-text description of the dataset.", "x-found-in": "body" }, "mappings": { "$ref": "./esql._types.json#/$defs/esql._types__DatasetMapping", "description": "User-declared mapping on the dataset definition", "x-found-in": "body" }, "settings": { "type": "object", "additionalProperties": {}, "description": "Format and parsing-specific settings that configure how the resource is read.\nCommon keys include `format`, which explicitly selects a registered format, and\n`partition_detection`, which accepts `auto`, `hive`, `template`, or `none`. Additional\nkeys depend on the format reader. Compression can be inferred from the resource URI.", "x-found-in": "body" }, "name": { "type": "string", "description": "The dataset name to create or update.", "x-found-in": "path" }, "error_trace": { "type": "boolean", "description": "When set to `true` Elasticsearch will include the full stack trace of errors\nwhen they occur.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "filter_path": { "anyOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }], "description": "Comma-separated list of filters in dot notation which reduce the response\nreturned by Elasticsearch.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "human": { "type": "boolean", "description": "When set to `true` will return statistics in a format suitable for humans.\nFor example `\"exists_time\": \"1h\"` for humans and\n`\"exists_time_in_millis\": 3600000` for computers. When disabled the human\nreadable values will be omitted. This makes sense for responses being consumed\nonly by machines.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" }, "pretty": { "type": "boolean", "description": "If set to `true` the returned JSON will be \"pretty-formatted\". Only use\nthis option for debugging only.", "x-found-in": "query", "x-behavior": "CommonQueryParameters" } }, "required": ["name", "data_source", "resource"] }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.delete_data_source.d.ts","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.delete_data_source.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,mCAAmC,EAAE,eAAe,EAUhE,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import _inputSchemaRaw from '../../json/esql.delete_data_source.request.json' with { type: 'json' };
|
|
6
|
+
const _inputSchema = _inputSchemaRaw;
|
|
7
|
+
export const esql_delete_data_source_definitions = [
|
|
8
|
+
{
|
|
9
|
+
name: 'delete-data-source',
|
|
10
|
+
namespace: 'esql',
|
|
11
|
+
description: 'Delete ES|QL data sources.',
|
|
12
|
+
method: 'DELETE',
|
|
13
|
+
path: '/_query/data_source/{name}',
|
|
14
|
+
destructive: true,
|
|
15
|
+
input: _inputSchema,
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=esql.delete_data_source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.delete_data_source.js","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.delete_data_source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,eAAe,MAAM,iDAAiD,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAGnG,MAAM,YAAY,GAAG,eAA8C,CAAA;AAEnE,MAAM,CAAC,MAAM,mCAAmC,GAAsB;IACpE;QACE,IAAI,EAAE,oBAAoB;QAC1B,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,4BAA4B;QACzC,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,4BAA4B;QAClC,WAAW,EAAE,IAAI;QACjB,KAAK,EAAE,YAAY;KACpB;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.delete_dataset.d.ts","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.delete_dataset.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,+BAA+B,EAAE,eAAe,EAU5D,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import _inputSchemaRaw from '../../json/esql.delete_dataset.request.json' with { type: 'json' };
|
|
6
|
+
const _inputSchema = _inputSchemaRaw;
|
|
7
|
+
export const esql_delete_dataset_definitions = [
|
|
8
|
+
{
|
|
9
|
+
name: 'delete-dataset',
|
|
10
|
+
namespace: 'esql',
|
|
11
|
+
description: 'Delete ES|QL datasets.',
|
|
12
|
+
method: 'DELETE',
|
|
13
|
+
path: '/_query/dataset/{name}',
|
|
14
|
+
destructive: true,
|
|
15
|
+
input: _inputSchema,
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=esql.delete_dataset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.delete_dataset.js","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.delete_dataset.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,eAAe,MAAM,6CAA6C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAG/F,MAAM,YAAY,GAAG,eAA8C,CAAA;AAEnE,MAAM,CAAC,MAAM,+BAA+B,GAAsB;IAChE;QACE,IAAI,EAAE,gBAAgB;QACtB,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,wBAAwB;QACrC,MAAM,EAAE,QAAQ;QAChB,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,IAAI;QACjB,KAAK,EAAE,YAAY;KACpB;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.get_data_source.d.ts","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.get_data_source.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,gCAAgC,EAAE,eAAe,EAU7D,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import _inputSchemaRaw from '../../json/esql.get_data_source.request.json' with { type: 'json' };
|
|
6
|
+
const _inputSchema = _inputSchemaRaw;
|
|
7
|
+
export const esql_get_data_source_definitions = [
|
|
8
|
+
{
|
|
9
|
+
name: 'get-data-source',
|
|
10
|
+
namespace: 'esql',
|
|
11
|
+
description: 'Get ES|QL data sources.',
|
|
12
|
+
method: 'GET',
|
|
13
|
+
path: '/_query/data_source/{name}',
|
|
14
|
+
destructive: false,
|
|
15
|
+
input: _inputSchema,
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=esql.get_data_source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.get_data_source.js","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.get_data_source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,eAAe,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAGhG,MAAM,YAAY,GAAG,eAA8C,CAAA;AAEnE,MAAM,CAAC,MAAM,gCAAgC,GAAsB;IACjE;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,yBAAyB;QACtC,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,4BAA4B;QAClC,WAAW,EAAE,KAAK;QAClB,KAAK,EAAE,YAAY;KACpB;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.get_dataset.d.ts","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.get_dataset.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,4BAA4B,EAAE,eAAe,EAUzD,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import _inputSchemaRaw from '../../json/esql.get_dataset.request.json' with { type: 'json' };
|
|
6
|
+
const _inputSchema = _inputSchemaRaw;
|
|
7
|
+
export const esql_get_dataset_definitions = [
|
|
8
|
+
{
|
|
9
|
+
name: 'get-dataset',
|
|
10
|
+
namespace: 'esql',
|
|
11
|
+
description: 'Get ES|QL datasets.',
|
|
12
|
+
method: 'GET',
|
|
13
|
+
path: '/_query/dataset/{name}',
|
|
14
|
+
destructive: false,
|
|
15
|
+
input: _inputSchema,
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=esql.get_dataset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.get_dataset.js","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.get_dataset.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,eAAe,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAG5F,MAAM,YAAY,GAAG,eAA8C,CAAA;AAEnE,MAAM,CAAC,MAAM,4BAA4B,GAAsB;IAC7D;QACE,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,qBAAqB;QAClC,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,KAAK;QAClB,KAAK,EAAE,YAAY;KACpB;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.put_data_source.d.ts","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.put_data_source.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,gCAAgC,EAAE,eAAe,EAU7D,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import _inputSchemaRaw from '../../json/esql.put_data_source.request.json' with { type: 'json' };
|
|
6
|
+
const _inputSchema = _inputSchemaRaw;
|
|
7
|
+
export const esql_put_data_source_definitions = [
|
|
8
|
+
{
|
|
9
|
+
name: 'put-data-source',
|
|
10
|
+
namespace: 'esql',
|
|
11
|
+
description: 'Create or update an ES|QL data source.',
|
|
12
|
+
method: 'PUT',
|
|
13
|
+
path: '/_query/data_source/{name}',
|
|
14
|
+
destructive: true,
|
|
15
|
+
input: _inputSchema,
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=esql.put_data_source.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.put_data_source.js","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.put_data_source.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,eAAe,MAAM,8CAA8C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAGhG,MAAM,YAAY,GAAG,eAA8C,CAAA;AAEnE,MAAM,CAAC,MAAM,gCAAgC,GAAsB;IACjE;QACE,IAAI,EAAE,iBAAiB;QACvB,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,wCAAwC;QACrD,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,4BAA4B;QAClC,WAAW,EAAE,IAAI;QACjB,KAAK,EAAE,YAAY;KACpB;CACF,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.put_dataset.d.ts","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.put_dataset.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAIlD,eAAO,MAAM,4BAA4B,EAAE,eAAe,EAUzD,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright Elasticsearch B.V. and contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*/
|
|
5
|
+
import _inputSchemaRaw from '../../json/esql.put_dataset.request.json' with { type: 'json' };
|
|
6
|
+
const _inputSchema = _inputSchemaRaw;
|
|
7
|
+
export const esql_put_dataset_definitions = [
|
|
8
|
+
{
|
|
9
|
+
name: 'put-dataset',
|
|
10
|
+
namespace: 'esql',
|
|
11
|
+
description: 'Create or update an ES|QL dataset.',
|
|
12
|
+
method: 'PUT',
|
|
13
|
+
path: '/_query/dataset/{name}',
|
|
14
|
+
destructive: true,
|
|
15
|
+
input: _inputSchema,
|
|
16
|
+
},
|
|
17
|
+
];
|
|
18
|
+
//# sourceMappingURL=esql.put_dataset.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esql.put_dataset.js","sourceRoot":"","sources":["../../../../src/es/tools/apis/esql.put_dataset.ts"],"names":[],"mappings":"AAAA;;;GAGG;AASH,OAAO,eAAe,MAAM,0CAA0C,CAAC,OAAO,IAAI,EAAE,MAAM,EAAE,CAAA;AAG5F,MAAM,YAAY,GAAG,eAA8C,CAAA;AAEnE,MAAM,CAAC,MAAM,4BAA4B,GAAsB;IAC7D;QACE,IAAI,EAAE,aAAa;QACnB,SAAS,EAAE,MAAM;QACjB,WAAW,EAAE,oCAAoC;QACjD,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,wBAAwB;QAC9B,WAAW,EAAE,IAAI;QACjB,KAAK,EAAE,YAAY;KACpB;CACF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/es/tools/index.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/es/tools/index.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,WAAW,EAAmB,MAAM,YAAY,CAAA;AA4vE9D,eAAO,MAAM,UAAU,EAAE,WAAyD,CAAA"}
|
package/lib/es/tools/index.js
CHANGED
|
@@ -475,10 +475,26 @@ async function loadDefinitions(namespaceFile) {
|
|
|
475
475
|
const mod = await import("./apis/esql.async_query_stop.js");
|
|
476
476
|
return mod['esql_async_query_stop_definitions'];
|
|
477
477
|
}
|
|
478
|
+
case 'esql.delete_data_source': {
|
|
479
|
+
const mod = await import("./apis/esql.delete_data_source.js");
|
|
480
|
+
return mod['esql_delete_data_source_definitions'];
|
|
481
|
+
}
|
|
482
|
+
case 'esql.delete_dataset': {
|
|
483
|
+
const mod = await import("./apis/esql.delete_dataset.js");
|
|
484
|
+
return mod['esql_delete_dataset_definitions'];
|
|
485
|
+
}
|
|
478
486
|
case 'esql.delete_view': {
|
|
479
487
|
const mod = await import("./apis/esql.delete_view.js");
|
|
480
488
|
return mod['esql_delete_view_definitions'];
|
|
481
489
|
}
|
|
490
|
+
case 'esql.get_data_source': {
|
|
491
|
+
const mod = await import("./apis/esql.get_data_source.js");
|
|
492
|
+
return mod['esql_get_data_source_definitions'];
|
|
493
|
+
}
|
|
494
|
+
case 'esql.get_dataset': {
|
|
495
|
+
const mod = await import("./apis/esql.get_dataset.js");
|
|
496
|
+
return mod['esql_get_dataset_definitions'];
|
|
497
|
+
}
|
|
482
498
|
case 'esql.get_query': {
|
|
483
499
|
const mod = await import("./apis/esql.get_query.js");
|
|
484
500
|
return mod['esql_get_query_definitions'];
|
|
@@ -491,6 +507,14 @@ async function loadDefinitions(namespaceFile) {
|
|
|
491
507
|
const mod = await import("./apis/esql.list_queries.js");
|
|
492
508
|
return mod['esql_list_queries_definitions'];
|
|
493
509
|
}
|
|
510
|
+
case 'esql.put_data_source': {
|
|
511
|
+
const mod = await import("./apis/esql.put_data_source.js");
|
|
512
|
+
return mod['esql_put_data_source_definitions'];
|
|
513
|
+
}
|
|
514
|
+
case 'esql.put_dataset': {
|
|
515
|
+
const mod = await import("./apis/esql.put_dataset.js");
|
|
516
|
+
return mod['esql_put_dataset_definitions'];
|
|
517
|
+
}
|
|
494
518
|
case 'esql.put_view': {
|
|
495
519
|
const mod = await import("./apis/esql.put_view.js");
|
|
496
520
|
return mod['esql_put_view_definitions'];
|