@opensearch-project/opensearch 3.5.1 → 3.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/OpenSearchApi.d.ts +366 -0
- package/api/OpenSearchApi.js +202 -135
- package/api/_core/bulk.d.ts +3 -8
- package/api/_core/bulk.js +3 -3
- package/api/_core/bulkStream.d.ts +2 -7
- package/api/_core/bulkStream.js +2 -2
- package/api/_core/clearScroll.js +3 -3
- package/api/_core/count.js +3 -3
- package/api/_core/create.js +4 -4
- package/api/_core/createPit.d.ts +7 -4
- package/api/_core/createPit.js +8 -4
- package/api/_core/delete.js +4 -4
- package/api/_core/deleteAllPits.js +1 -1
- package/api/_core/deleteByQuery.js +3 -3
- package/api/_core/deleteByQueryRethrottle.js +1 -1
- package/api/_core/deletePit.js +1 -1
- package/api/_core/deleteScript.js +1 -1
- package/api/_core/exists.js +4 -4
- package/api/_core/existsSource.js +4 -4
- package/api/_core/explain.d.ts +4 -2
- package/api/_core/explain.js +3 -3
- package/api/_core/fieldCaps.js +4 -4
- package/api/_core/get.d.ts +3 -1
- package/api/_core/get.js +5 -5
- package/api/_core/getAllPits.js +1 -1
- package/api/_core/getScript.js +1 -1
- package/api/_core/getScriptContext.js +1 -1
- package/api/_core/getScriptLanguages.js +1 -1
- package/api/_core/getSource.d.ts +1 -1
- package/api/_core/getSource.js +5 -5
- package/api/_core/index.js +4 -4
- package/api/_core/info.js +1 -1
- package/api/_core/mget.js +4 -4
- package/api/_core/msearch.d.ts +1 -0
- package/api/_core/msearch.js +3 -2
- package/api/_core/msearchTemplate.js +2 -2
- package/api/_core/mtermvectors.js +9 -9
- package/api/_core/ping.js +1 -1
- package/api/_core/putScript.js +1 -1
- package/api/_core/rankEval.js +2 -2
- package/api/_core/reindex.js +1 -1
- package/api/_core/reindexRethrottle.js +1 -1
- package/api/_core/renderSearchTemplate.js +1 -1
- package/api/_core/scriptsPainlessExecute.d.ts +1 -1
- package/api/_core/scriptsPainlessExecute.js +1 -1
- package/api/_core/scroll.d.ts +1 -1
- package/api/_core/scroll.js +1 -1
- package/api/_core/search.d.ts +7 -3
- package/api/_core/search.js +4 -3
- package/api/_core/searchShards.d.ts +5 -0
- package/api/_core/searchShards.js +3 -2
- package/api/_core/searchTemplate.d.ts +4 -17
- package/api/_core/searchTemplate.js +5 -3
- package/api/_core/termvectors.js +9 -9
- package/api/_core/update.js +2 -2
- package/api/_core/updateByQuery.js +3 -3
- package/api/_core/updateByQueryRethrottle.js +1 -1
- package/api/_types/_common.aggregations.d.ts +288 -386
- package/api/_types/_common.analysis.d.ts +12 -5
- package/api/_types/_common.d.ts +80 -54
- package/api/_types/_common.mapping.d.ts +35 -3
- package/api/_types/_common.query_dsl.d.ts +54 -26
- package/api/_types/_core.bulk.d.ts +33 -9
- package/api/_types/_core.explain.d.ts +1 -7
- package/api/_types/_core.get.d.ts +7 -3
- package/api/_types/_core.msearch.d.ts +1 -1
- package/api/_types/_core.pit.d.ts +2 -2
- package/api/_types/_core.search.d.ts +82 -33
- package/api/_types/asynchronous_search._common.d.ts +3 -4
- package/api/_types/cat._common.d.ts +19 -0
- package/api/_types/cat.indices.d.ts +28 -0
- package/api/_types/cat.nodes.d.ts +13 -0
- package/api/_types/cat.shards.d.ts +13 -0
- package/api/_types/cat.thread_pool.d.ts +1 -0
- package/api/_types/cluster._common.d.ts +2 -0
- package/api/_types/cluster.allocation_explain.d.ts +3 -0
- package/api/_types/cluster.decommission_awareness.d.ts +1 -3
- package/api/_types/cluster.pending_tasks.d.ts +2 -0
- package/api/_types/cluster.stats.d.ts +3 -3
- package/api/_types/cluster.weighted_routing.d.ts +1 -8
- package/api/_types/flow_framework.common.d.ts +5 -2
- package/api/_types/geospatial._common.d.ts +153 -0
- package/api/_types/index.d.ts +22 -0
- package/api/_types/indices._common.d.ts +75 -19
- package/api/_types/indices.modify_data_stream.d.ts +33 -0
- package/api/_types/ingest._common.d.ts +37 -0
- package/api/_types/ingestion._common.d.ts +70 -0
- package/api/_types/insights._common.d.ts +8 -35
- package/api/_types/ism._common.d.ts +3 -3
- package/api/_types/knn._common.d.ts +45 -6
- package/api/_types/list._common.d.ts +19 -0
- package/api/_types/ltr._common.d.ts +63 -2
- package/api/_types/ml._common.d.ts +218 -168
- package/api/_types/neural._common.d.ts +229 -0
- package/api/_types/nodes._common.d.ts +1 -1
- package/api/_types/nodes.info.d.ts +8 -2
- package/api/_types/nodes.stats.d.ts +51 -2
- package/api/_types/observability._common.d.ts +0 -16
- package/api/_types/ppl._common.d.ts +19 -0
- package/api/_types/query._common.d.ts +0 -20
- package/api/_types/replication._common.d.ts +4 -1
- package/api/_types/rollups._common.d.ts +2 -0
- package/api/_types/search_pipeline._common.d.ts +52 -1
- package/api/_types/search_relevance._common.d.ts +132 -0
- package/api/_types/security._common.d.ts +31 -22
- package/api/_types/security_analytics.alerts.d.ts +59 -0
- package/api/_types/security_analytics.findings.d.ts +65 -0
- package/api/_types/sm._common.d.ts +3 -39
- package/api/_types/sql._common.d.ts +8 -0
- package/api/_types/transforms._common.d.ts +0 -23
- package/api/_types/ubi._common.d.ts +19 -0
- package/api/_types/wlm._common.d.ts +5 -3
- package/api/asynchronousSearch/_api.js +12 -4
- package/api/asynchronousSearch/delete.js +1 -1
- package/api/asynchronousSearch/get.js +1 -1
- package/api/asynchronousSearch/search.js +1 -1
- package/api/asynchronousSearch/stats.js +1 -1
- package/api/cat/_api.js +58 -30
- package/api/cat/aliases.d.ts +2 -1
- package/api/cat/aliases.js +2 -2
- package/api/cat/allPitSegments.d.ts +2 -1
- package/api/cat/allPitSegments.js +2 -2
- package/api/cat/allocation.d.ts +2 -1
- package/api/cat/allocation.js +2 -2
- package/api/cat/clusterManager.d.ts +2 -1
- package/api/cat/clusterManager.js +2 -2
- package/api/cat/count.d.ts +2 -1
- package/api/cat/count.js +3 -3
- package/api/cat/fielddata.d.ts +2 -1
- package/api/cat/fielddata.js +2 -2
- package/api/cat/health.d.ts +2 -1
- package/api/cat/health.js +2 -2
- package/api/cat/help.js +1 -1
- package/api/cat/indices.d.ts +2 -1
- package/api/cat/indices.js +2 -2
- package/api/cat/master.d.ts +2 -1
- package/api/cat/master.js +2 -2
- package/api/cat/nodeattrs.d.ts +2 -1
- package/api/cat/nodeattrs.js +2 -2
- package/api/cat/nodes.d.ts +2 -1
- package/api/cat/nodes.js +3 -3
- package/api/cat/pendingTasks.d.ts +2 -1
- package/api/cat/pendingTasks.js +3 -3
- package/api/cat/pitSegments.d.ts +2 -1
- package/api/cat/pitSegments.js +2 -2
- package/api/cat/plugins.d.ts +2 -1
- package/api/cat/plugins.js +2 -2
- package/api/cat/recovery.d.ts +2 -1
- package/api/cat/recovery.js +3 -3
- package/api/cat/repositories.d.ts +2 -1
- package/api/cat/repositories.js +2 -2
- package/api/cat/segmentReplication.d.ts +2 -1
- package/api/cat/segmentReplication.js +3 -3
- package/api/cat/segments.d.ts +2 -1
- package/api/cat/segments.js +2 -2
- package/api/cat/shards.d.ts +2 -1
- package/api/cat/shards.js +3 -3
- package/api/cat/snapshots.d.ts +2 -1
- package/api/cat/snapshots.js +3 -3
- package/api/cat/tasks.d.ts +2 -1
- package/api/cat/tasks.js +3 -3
- package/api/cat/templates.d.ts +2 -1
- package/api/cat/templates.js +2 -2
- package/api/cat/threadPool.d.ts +2 -1
- package/api/cat/threadPool.js +2 -2
- package/api/cluster/_api.js +63 -38
- package/api/cluster/allocationExplain.js +1 -1
- package/api/cluster/deleteComponentTemplate.js +2 -2
- package/api/cluster/deleteDecommissionAwareness.js +1 -1
- package/api/cluster/deleteVotingConfigExclusions.js +1 -1
- package/api/cluster/deleteWeightedRouting.d.ts +5 -2
- package/api/cluster/deleteWeightedRouting.js +1 -1
- package/api/cluster/existsComponentTemplate.js +3 -3
- package/api/cluster/getComponentTemplate.js +2 -2
- package/api/cluster/getDecommissionAwareness.d.ts +1 -1
- package/api/cluster/getDecommissionAwareness.js +1 -1
- package/api/cluster/getSettings.js +2 -2
- package/api/cluster/getWeightedRouting.d.ts +3 -1
- package/api/cluster/getWeightedRouting.js +1 -1
- package/api/cluster/health.d.ts +2 -1
- package/api/cluster/health.js +3 -3
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.js +1 -1
- package/api/cluster/putComponentTemplate.js +3 -3
- package/api/cluster/putDecommissionAwareness.js +1 -1
- package/api/cluster/putSettings.js +2 -2
- package/api/cluster/putWeightedRouting.d.ts +5 -2
- package/api/cluster/putWeightedRouting.js +1 -1
- package/api/cluster/remoteInfo.js +1 -1
- package/api/cluster/reroute.js +2 -2
- package/api/cluster/state.js +3 -3
- package/api/cluster/stats.js +3 -3
- package/api/danglingIndices/_api.js +13 -6
- package/api/danglingIndices/deleteDanglingIndex.js +1 -1
- package/api/danglingIndices/importDanglingIndex.js +1 -1
- package/api/danglingIndices/listDanglingIndices.d.ts +2 -2
- package/api/danglingIndices/listDanglingIndices.js +1 -1
- package/api/flowFramework/_api.js +27 -13
- package/api/flowFramework/create.js +7 -7
- package/api/flowFramework/delete.js +4 -4
- package/api/flowFramework/deprovision.js +4 -4
- package/api/flowFramework/get.js +3 -3
- package/api/flowFramework/getStatus.js +4 -4
- package/api/flowFramework/getSteps.js +3 -3
- package/api/flowFramework/provision.js +3 -3
- package/api/flowFramework/search.js +1 -1
- package/api/flowFramework/searchState.js +1 -1
- package/api/flowFramework/update.js +8 -8
- package/api/geospatial/_api.js +57 -0
- package/api/geospatial/deleteIp2GeoDatasource.d.ts +30 -0
- package/api/geospatial/deleteIp2GeoDatasource.js +49 -0
- package/api/geospatial/geojsonUploadPost.d.ts +30 -0
- package/api/geospatial/geojsonUploadPost.js +49 -0
- package/api/geospatial/geojsonUploadPut.d.ts +30 -0
- package/api/geospatial/geojsonUploadPut.js +49 -0
- package/api/geospatial/getIp2GeoDatasource.d.ts +31 -0
- package/api/geospatial/getIp2GeoDatasource.js +48 -0
- package/api/geospatial/getUploadStats.d.ts +28 -0
- package/api/geospatial/getUploadStats.js +45 -0
- package/api/geospatial/putIp2GeoDatasource.d.ts +32 -0
- package/api/geospatial/putIp2GeoDatasource.js +53 -0
- package/api/geospatial/putIp2GeoDatasourceSettings.d.ts +32 -0
- package/api/geospatial/putIp2GeoDatasourceSettings.js +50 -0
- package/api/http/_api.js +22 -9
- package/api/index.d.ts +168 -10
- package/api/indices/_api.js +134 -78
- package/api/indices/addBlock.js +1 -1
- package/api/indices/analyze.js +1 -1
- package/api/indices/clearCache.js +3 -3
- package/api/indices/clone.js +1 -1
- package/api/indices/close.js +2 -2
- package/api/indices/create.js +2 -2
- package/api/indices/createDataStream.js +1 -1
- package/api/indices/dataStreamsStats.js +2 -2
- package/api/indices/delete.js +2 -2
- package/api/indices/deleteAlias.js +3 -3
- package/api/indices/deleteDataStream.js +2 -2
- package/api/indices/deleteIndexTemplate.js +2 -2
- package/api/indices/deleteTemplate.js +1 -1
- package/api/indices/exists.js +2 -2
- package/api/indices/existsAlias.js +3 -3
- package/api/indices/existsIndexTemplate.js +2 -2
- package/api/indices/existsTemplate.js +1 -1
- package/api/indices/flush.js +2 -2
- package/api/indices/forcemerge.js +1 -1
- package/api/indices/get.js +2 -2
- package/api/indices/getAlias.js +3 -3
- package/api/indices/getDataStream.js +2 -2
- package/api/indices/getFieldMapping.js +3 -3
- package/api/indices/getIndexTemplate.js +2 -2
- package/api/indices/getMapping.js +2 -2
- package/api/indices/getSettings.js +3 -3
- package/api/indices/getTemplate.js +2 -2
- package/api/indices/getUpgrade.js +2 -2
- package/api/indices/modifyDataStream.d.ts +37 -0
- package/api/indices/modifyDataStream.js +50 -0
- package/api/indices/open.js +2 -2
- package/api/indices/putAlias.js +2 -2
- package/api/indices/putIndexTemplate.js +1 -1
- package/api/indices/putMapping.js +1 -1
- package/api/indices/putSettings.js +3 -3
- package/api/indices/putTemplate.js +1 -1
- package/api/indices/recovery.js +2 -2
- package/api/indices/refresh.js +2 -2
- package/api/indices/resolveIndex.js +1 -1
- package/api/indices/rollover.js +2 -2
- package/api/indices/segments.js +2 -2
- package/api/indices/shardStores.js +5 -5
- package/api/indices/shrink.js +1 -1
- package/api/indices/simulateIndexTemplate.js +1 -1
- package/api/indices/simulateTemplate.js +3 -3
- package/api/indices/split.js +1 -1
- package/api/indices/stats.js +5 -5
- package/api/indices/updateAliases.js +1 -1
- package/api/indices/upgrade.js +2 -2
- package/api/indices/validateQuery.js +2 -2
- package/api/ingest/_api.js +18 -9
- package/api/ingest/deletePipeline.js +1 -1
- package/api/ingest/getPipeline.js +1 -1
- package/api/ingest/processorGrok.js +1 -1
- package/api/ingest/putPipeline.js +1 -1
- package/api/ingest/simulate.js +1 -1
- package/api/ingestion/_api.js +37 -0
- package/api/ingestion/getState.d.ts +34 -0
- package/api/ingestion/getState.js +52 -0
- package/api/ingestion/pause.d.ts +33 -0
- package/api/ingestion/pause.js +51 -0
- package/api/ingestion/resume.d.ts +34 -0
- package/api/ingestion/resume.js +52 -0
- package/api/insights/_api.js +7 -2
- package/api/insights/topQueries.d.ts +1 -1
- package/api/ism/_api.js +40 -24
- package/api/ism/addPolicy.d.ts +1 -1
- package/api/ism/addPolicy.js +2 -2
- package/api/ism/changePolicy.d.ts +1 -1
- package/api/ism/changePolicy.js +2 -2
- package/api/ism/deletePolicy.js +1 -1
- package/api/ism/existsPolicy.js +2 -2
- package/api/ism/explainPolicy.d.ts +1 -1
- package/api/ism/explainPolicy.js +3 -3
- package/api/ism/getPolicies.js +2 -2
- package/api/ism/getPolicy.js +2 -2
- package/api/ism/putPolicies.js +2 -2
- package/api/ism/putPolicy.js +1 -1
- package/api/ism/refreshSearchAnalyzers.d.ts +1 -1
- package/api/ism/refreshSearchAnalyzers.js +3 -3
- package/api/ism/removePolicy.d.ts +1 -1
- package/api/ism/removePolicy.js +2 -2
- package/api/ism/retryIndex.d.ts +1 -1
- package/api/ism/retryIndex.js +3 -3
- package/api/knn/_api.js +20 -10
- package/api/knn/deleteModel.js +1 -1
- package/api/knn/getModel.js +1 -1
- package/api/knn/searchModels.d.ts +1 -1
- package/api/knn/searchModels.js +5 -5
- package/api/knn/stats.d.ts +1 -1
- package/api/knn/stats.js +3 -3
- package/api/knn/trainModel.js +1 -1
- package/api/knn/warmup.js +2 -2
- package/api/list/_api.js +10 -3
- package/api/list/help.js +1 -1
- package/api/list/indices.d.ts +3 -2
- package/api/list/indices.js +5 -5
- package/api/list/shards.d.ts +3 -2
- package/api/list/shards.js +4 -4
- package/api/ltr/_api.js +106 -1
- package/api/ltr/addFeaturesToSet.d.ts +37 -0
- package/api/ltr/addFeaturesToSet.js +55 -0
- package/api/ltr/addFeaturesToSetByQuery.d.ts +35 -0
- package/api/ltr/addFeaturesToSetByQuery.js +57 -0
- package/api/ltr/cacheStats.d.ts +28 -0
- package/api/ltr/cacheStats.js +45 -0
- package/api/ltr/clearCache.d.ts +30 -0
- package/api/ltr/clearCache.js +48 -0
- package/api/ltr/createDefaultStore.d.ts +28 -0
- package/api/ltr/createDefaultStore.js +45 -0
- package/api/ltr/createFeature.d.ts +35 -0
- package/api/ltr/createFeature.js +53 -0
- package/api/ltr/createFeatureset.d.ts +35 -0
- package/api/ltr/createFeatureset.js +53 -0
- package/api/ltr/createModel.d.ts +35 -0
- package/api/ltr/createModel.js +53 -0
- package/api/ltr/createModelFromSet.d.ts +35 -0
- package/api/ltr/createModelFromSet.js +53 -0
- package/api/ltr/createStore.d.ts +30 -0
- package/api/ltr/createStore.js +49 -0
- package/api/ltr/deleteDefaultStore.d.ts +28 -0
- package/api/ltr/deleteDefaultStore.js +45 -0
- package/api/ltr/deleteFeature.d.ts +31 -0
- package/api/ltr/deleteFeature.js +51 -0
- package/api/ltr/deleteFeatureset.d.ts +31 -0
- package/api/ltr/deleteFeatureset.js +51 -0
- package/api/ltr/deleteModel.d.ts +31 -0
- package/api/ltr/deleteModel.js +51 -0
- package/api/ltr/deleteStore.d.ts +30 -0
- package/api/ltr/deleteStore.js +49 -0
- package/api/ltr/getFeature.d.ts +30 -0
- package/api/ltr/getFeature.js +51 -0
- package/api/ltr/getFeatureset.d.ts +30 -0
- package/api/ltr/getFeatureset.js +51 -0
- package/api/ltr/getModel.d.ts +30 -0
- package/api/ltr/getModel.js +51 -0
- package/api/ltr/getStore.d.ts +30 -0
- package/api/ltr/getStore.js +49 -0
- package/api/ltr/listStores.d.ts +28 -0
- package/api/ltr/listStores.js +45 -0
- package/api/ltr/searchFeatures.d.ts +33 -0
- package/api/ltr/searchFeatures.js +51 -0
- package/api/ltr/searchFeaturesets.d.ts +33 -0
- package/api/ltr/searchFeaturesets.js +51 -0
- package/api/ltr/searchModels.d.ts +33 -0
- package/api/ltr/searchModels.js +51 -0
- package/api/ltr/stats.d.ts +1 -1
- package/api/ltr/stats.js +2 -2
- package/api/ltr/updateFeature.d.ts +35 -0
- package/api/ltr/updateFeature.js +53 -0
- package/api/ltr/updateFeatureset.d.ts +35 -0
- package/api/ltr/updateFeatureset.js +53 -0
- package/api/ml/_api.js +239 -116
- package/api/ml/addAgenticMemory.d.ts +45 -0
- package/api/ml/addAgenticMemory.js +50 -0
- package/api/ml/createConnector.d.ts +1 -1
- package/api/ml/createMemoryContainer.d.ts +40 -0
- package/api/ml/createMemoryContainer.js +47 -0
- package/api/ml/createMemoryContainerSession.d.ts +41 -0
- package/api/ml/createMemoryContainerSession.js +50 -0
- package/api/ml/createModelMeta.d.ts +1 -0
- package/api/ml/deleteAgenticMemory.d.ts +33 -0
- package/api/ml/deleteAgenticMemory.js +55 -0
- package/api/ml/deleteAgenticMemoryQuery.d.ts +37 -0
- package/api/ml/deleteAgenticMemoryQuery.js +53 -0
- package/api/ml/deleteMemoryContainer.d.ts +33 -0
- package/api/ml/deleteMemoryContainer.js +51 -0
- package/api/ml/executeAgentStream.d.ts +35 -0
- package/api/ml/executeAgentStream.js +50 -0
- package/api/ml/executeAlgorithm.d.ts +2 -2
- package/api/ml/executeAlgorithm.js +1 -1
- package/api/ml/executeTool.d.ts +35 -0
- package/api/ml/executeTool.js +50 -0
- package/api/ml/getAgenticMemory.d.ts +32 -0
- package/api/ml/getAgenticMemory.js +55 -0
- package/api/ml/getMemoryContainer.d.ts +30 -0
- package/api/ml/getMemoryContainer.js +49 -0
- package/api/ml/getStats.d.ts +1 -1
- package/api/ml/getTool.d.ts +1 -1
- package/api/ml/loadModel.d.ts +2 -1
- package/api/ml/predictModel.d.ts +6 -1
- package/api/ml/predictModelStream.d.ts +37 -0
- package/api/ml/predictModelStream.js +50 -0
- package/api/ml/registerModel.d.ts +3 -0
- package/api/ml/registerModelGroup.d.ts +1 -1
- package/api/ml/registerModelMeta.d.ts +1 -0
- package/api/ml/searchAgenticMemory.d.ts +40 -0
- package/api/ml/searchAgenticMemory.js +53 -0
- package/api/ml/searchAgents.d.ts +4 -2
- package/api/ml/searchConnectors.d.ts +4 -2
- package/api/ml/searchMemory.d.ts +4 -2
- package/api/ml/searchMemoryContainer.d.ts +38 -0
- package/api/ml/searchMemoryContainer.js +47 -0
- package/api/ml/searchMessage.d.ts +4 -2
- package/api/ml/searchModelGroup.d.ts +4 -2
- package/api/ml/searchModels.d.ts +4 -2
- package/api/ml/searchTasks.d.ts +4 -2
- package/api/ml/updateAgenticMemory.d.ts +46 -0
- package/api/ml/updateAgenticMemory.js +56 -0
- package/api/ml/updateConnector.d.ts +2 -2
- package/api/ml/updateMemoryContainer.d.ts +38 -0
- package/api/ml/updateMemoryContainer.js +50 -0
- package/api/neural/_api.js +31 -0
- package/api/neural/stats.d.ts +36 -0
- package/api/neural/stats.js +55 -0
- package/api/nodes/_api.js +16 -7
- package/api/nodes/hotThreads.js +7 -7
- package/api/nodes/info.js +4 -4
- package/api/nodes/reloadSecureSettings.js +2 -2
- package/api/nodes/stats.js +10 -10
- package/api/nodes/usage.js +1 -1
- package/api/notifications/_api.js +31 -18
- package/api/notifications/createConfig.js +1 -1
- package/api/notifications/deleteConfig.js +1 -1
- package/api/notifications/deleteConfigs.js +1 -1
- package/api/notifications/getConfigs.js +1 -1
- package/api/notifications/listChannels.js +1 -1
- package/api/notifications/listFeatures.js +1 -1
- package/api/notifications/sendTest.js +1 -1
- package/api/notifications/updateConfig.js +1 -1
- package/api/observability/_api.js +25 -14
- package/api/observability/createObject.js +1 -1
- package/api/observability/deleteObject.js +1 -1
- package/api/observability/deleteObjects.js +2 -2
- package/api/observability/getObject.js +1 -1
- package/api/observability/updateObject.js +2 -2
- package/api/ppl/_api.js +14 -6
- package/api/ppl/explain.d.ts +2 -1
- package/api/ppl/explain.js +5 -5
- package/api/ppl/getStats.d.ts +2 -1
- package/api/ppl/getStats.js +4 -4
- package/api/ppl/postStats.d.ts +2 -1
- package/api/ppl/postStats.js +5 -5
- package/api/ppl/query.d.ts +2 -1
- package/api/ppl/query.js +5 -5
- package/api/query/_api.js +19 -10
- package/api/query/datasourceDelete.js +2 -2
- package/api/query/datasourceRetrieve.js +2 -2
- package/api/query/datasourcesCreate.js +2 -2
- package/api/query/datasourcesList.js +1 -1
- package/api/query/datasourcesUpdate.js +2 -2
- package/api/remoteStore/_api.js +6 -1
- package/api/remoteStore/restore.js +1 -1
- package/api/replication/_api.js +32 -17
- package/api/replication/autofollowStats.js +1 -1
- package/api/replication/createReplicationRule.js +1 -1
- package/api/replication/deleteReplicationRule.js +1 -1
- package/api/replication/followerStats.js +1 -1
- package/api/replication/leaderStats.js +1 -1
- package/api/replication/pause.js +1 -1
- package/api/replication/resume.js +1 -1
- package/api/replication/start.js +1 -1
- package/api/replication/status.js +1 -1
- package/api/replication/stop.js +1 -1
- package/api/replication/updateSettings.js +1 -1
- package/api/rollups/_api.js +16 -6
- package/api/rollups/delete.js +3 -3
- package/api/rollups/explain.js +3 -3
- package/api/rollups/get.js +3 -3
- package/api/rollups/put.js +6 -6
- package/api/rollups/start.js +3 -3
- package/api/rollups/stop.js +3 -3
- package/api/searchPipeline/_api.js +10 -3
- package/api/searchPipeline/put.js +1 -1
- package/api/searchRelevance/_api.js +117 -0
- package/api/searchRelevance/deleteExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteExperiments.js +49 -0
- package/api/searchRelevance/deleteJudgments.d.ts +30 -0
- package/api/searchRelevance/deleteJudgments.js +49 -0
- package/api/searchRelevance/deleteQuerySets.d.ts +30 -0
- package/api/searchRelevance/deleteQuerySets.js +49 -0
- package/api/searchRelevance/deleteScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/deleteScheduledExperiments.js +49 -0
- package/api/searchRelevance/deleteSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/deleteSearchConfigurations.js +49 -0
- package/api/searchRelevance/experimentsSearch.d.ts +31 -0
- package/api/searchRelevance/experimentsSearch.js +47 -0
- package/api/searchRelevance/getExperiments.d.ts +30 -0
- package/api/searchRelevance/getExperiments.js +48 -0
- package/api/searchRelevance/getJudgments.d.ts +30 -0
- package/api/searchRelevance/getJudgments.js +48 -0
- package/api/searchRelevance/getNodeStats.d.ts +42 -0
- package/api/searchRelevance/getNodeStats.js +56 -0
- package/api/searchRelevance/getQuerySets.d.ts +30 -0
- package/api/searchRelevance/getQuerySets.js +48 -0
- package/api/searchRelevance/getScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/getScheduledExperiments.js +48 -0
- package/api/searchRelevance/getSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/getSearchConfigurations.js +48 -0
- package/api/searchRelevance/getStats.d.ts +41 -0
- package/api/searchRelevance/getStats.js +53 -0
- package/api/searchRelevance/judgmentsSearch.d.ts +31 -0
- package/api/searchRelevance/judgmentsSearch.js +47 -0
- package/api/searchRelevance/postQuerySets.d.ts +30 -0
- package/api/searchRelevance/postQuerySets.js +47 -0
- package/api/searchRelevance/postScheduledExperiments.d.ts +30 -0
- package/api/searchRelevance/postScheduledExperiments.js +47 -0
- package/api/searchRelevance/putExperiments.d.ts +32 -0
- package/api/searchRelevance/putExperiments.js +47 -0
- package/api/searchRelevance/putJudgments.d.ts +32 -0
- package/api/searchRelevance/putJudgments.js +47 -0
- package/api/searchRelevance/putQuerySets.d.ts +30 -0
- package/api/searchRelevance/putQuerySets.js +47 -0
- package/api/searchRelevance/putSearchConfigurations.d.ts +30 -0
- package/api/searchRelevance/putSearchConfigurations.js +47 -0
- package/api/searchRelevance/querySetsSearch.d.ts +31 -0
- package/api/searchRelevance/querySetsSearch.js +47 -0
- package/api/searchRelevance/searchConfigurationsSearch.d.ts +31 -0
- package/api/searchRelevance/searchConfigurationsSearch.js +47 -0
- package/api/security/_api.js +227 -147
- package/api/security/changePassword.js +1 -1
- package/api/security/configUpgradeCheck.js +1 -1
- package/api/security/configUpgradePerform.js +1 -1
- package/api/security/createActionGroup.js +1 -1
- package/api/security/createAllowlist.js +1 -1
- package/api/security/createRole.js +1 -1
- package/api/security/createRoleMapping.js +1 -1
- package/api/security/createTenant.js +1 -1
- package/api/security/createUpdateTenancyConfig.js +1 -1
- package/api/security/createUser.js +1 -1
- package/api/security/deleteActionGroup.js +1 -1
- package/api/security/deleteDistinguishedName.js +1 -1
- package/api/security/deleteRole.js +1 -1
- package/api/security/deleteRoleMapping.js +1 -1
- package/api/security/deleteTenant.js +1 -1
- package/api/security/deleteUser.js +1 -1
- package/api/security/flushCache.js +1 -1
- package/api/security/generateOboToken.js +1 -1
- package/api/security/getAccountDetails.js +1 -1
- package/api/security/getActionGroup.js +1 -1
- package/api/security/getActionGroups.js +1 -1
- package/api/security/getAllowlist.js +1 -1
- package/api/security/getAuditConfiguration.js +1 -1
- package/api/security/getCertificates.js +1 -1
- package/api/security/getConfiguration.js +1 -1
- package/api/security/getDistinguishedName.js +1 -1
- package/api/security/getDistinguishedNames.js +1 -1
- package/api/security/getRole.js +1 -1
- package/api/security/getRoleMapping.js +1 -1
- package/api/security/getRoleMappings.js +1 -1
- package/api/security/getRoles.js +1 -1
- package/api/security/getSslinfo.d.ts +2 -1
- package/api/security/getSslinfo.js +1 -1
- package/api/security/getTenancyConfig.js +1 -1
- package/api/security/getTenant.js +1 -1
- package/api/security/getTenants.js +1 -1
- package/api/security/getUser.js +1 -1
- package/api/security/getUsers.js +1 -1
- package/api/security/health.js +1 -1
- package/api/security/patchActionGroup.js +1 -1
- package/api/security/patchActionGroups.js +1 -1
- package/api/security/patchAllowlist.js +1 -1
- package/api/security/patchAuditConfiguration.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.d.ts +3 -1
- package/api/security/patchDistinguishedNames.js +1 -1
- package/api/security/patchRole.js +1 -1
- package/api/security/patchRoleMapping.js +1 -1
- package/api/security/patchRoleMappings.js +1 -1
- package/api/security/patchRoles.js +1 -1
- package/api/security/patchTenant.js +1 -1
- package/api/security/patchTenants.js +1 -1
- package/api/security/patchUser.js +1 -1
- package/api/security/patchUsers.js +1 -1
- package/api/security/reloadHttpCertificates.js +1 -1
- package/api/security/reloadTransportCertificates.js +1 -1
- package/api/security/updateAuditConfiguration.js +1 -1
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +1 -1
- package/api/securityAnalytics/_api.js +41 -0
- package/api/securityAnalytics/getAlerts.d.ts +42 -0
- package/api/securityAnalytics/getAlerts.js +58 -0
- package/api/securityAnalytics/getFindings.d.ts +43 -0
- package/api/securityAnalytics/getFindings.js +59 -0
- package/api/securityAnalytics/searchFindingCorrelations.d.ts +33 -0
- package/api/securityAnalytics/searchFindingCorrelations.js +52 -0
- package/api/sm/_api.js +28 -16
- package/api/sm/deletePolicy.d.ts +2 -2
- package/api/sm/getPolicies.d.ts +2 -1
- package/api/sm/getPolicies.js +1 -1
- package/api/snapshot/_api.js +31 -16
- package/api/snapshot/cleanupRepository.js +2 -2
- package/api/snapshot/clone.js +2 -2
- package/api/snapshot/create.js +2 -2
- package/api/snapshot/createRepository.js +2 -2
- package/api/snapshot/delete.js +2 -2
- package/api/snapshot/deleteRepository.js +2 -2
- package/api/snapshot/get.js +3 -3
- package/api/snapshot/getRepository.js +2 -2
- package/api/snapshot/restore.d.ts +1 -0
- package/api/snapshot/restore.js +2 -2
- package/api/snapshot/status.js +2 -2
- package/api/snapshot/verifyRepository.js +2 -2
- package/api/sql/_api.js +18 -8
- package/api/sql/close.d.ts +1 -1
- package/api/sql/close.js +5 -5
- package/api/sql/explain.d.ts +1 -1
- package/api/sql/explain.js +5 -5
- package/api/sql/getStats.d.ts +2 -1
- package/api/sql/getStats.js +4 -4
- package/api/sql/postStats.d.ts +1 -1
- package/api/sql/postStats.js +5 -5
- package/api/sql/query.d.ts +1 -1
- package/api/sql/query.js +5 -5
- package/api/sql/settings.d.ts +1 -1
- package/api/sql/settings.js +4 -4
- package/api/tasks/_api.js +12 -3
- package/api/tasks/cancel.js +1 -1
- package/api/tasks/delete.d.ts +30 -0
- package/api/tasks/delete.js +49 -0
- package/api/tasks/get.js +1 -1
- package/api/tasks/list.js +1 -1
- package/api/transforms/_api.js +20 -8
- package/api/transforms/delete.d.ts +2 -2
- package/api/transforms/delete.js +1 -1
- package/api/transforms/explain.js +1 -1
- package/api/transforms/get.js +1 -1
- package/api/transforms/preview.js +1 -1
- package/api/transforms/put.js +1 -1
- package/api/transforms/search.js +1 -1
- package/api/transforms/start.js +1 -1
- package/api/transforms/stop.js +1 -1
- package/api/ubi/_api.js +31 -0
- package/api/ubi/initialize.d.ts +27 -0
- package/api/ubi/initialize.js +45 -0
- package/api/wlm/_api.js +16 -8
- package/lib/Connection.d.ts +1 -2
- package/lib/Connection.js +5 -3
- package/lib/Helpers.js +8 -8
- package/lib/ProxyAgent.js +125 -0
- package/lib/aws/shared.js +4 -3
- package/package.json +9 -4
|
@@ -80,7 +80,7 @@ export type SearchStateResponse = {
|
|
|
80
80
|
provision_end_time?: Common.DateTime;
|
|
81
81
|
provision_start_time?: Common.DateTime;
|
|
82
82
|
provisioning_progress?: string;
|
|
83
|
-
resources_created?: ResourcesCreated;
|
|
83
|
+
resources_created?: ResourcesCreated | ResourcesCreated[];
|
|
84
84
|
state?: string;
|
|
85
85
|
user?: user;
|
|
86
86
|
workflow_id?: string;
|
|
@@ -128,6 +128,7 @@ export type user = {
|
|
|
128
128
|
name?: string;
|
|
129
129
|
roles?: string[];
|
|
130
130
|
user_requested_tenant?: string;
|
|
131
|
+
user_requested_tenant_access?: string;
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
export type UserProvidedSubstitutionExpressions = Record<string, string>
|
|
@@ -159,6 +160,8 @@ export type WorkflowSearchStateResponse = {
|
|
|
159
160
|
took?: number;
|
|
160
161
|
}
|
|
161
162
|
|
|
163
|
+
export type WorkFlowState = 'COMPLETED' | 'FAILED' | 'NOT_STARTED' | 'PROVISIONING'
|
|
164
|
+
|
|
162
165
|
export type WorkFlowStatusDefaultResponse = {
|
|
163
166
|
error?: string;
|
|
164
167
|
resources_created?: string[];
|
|
@@ -172,7 +175,7 @@ export type WorkFlowStatusFullResponse = {
|
|
|
172
175
|
provision_start_time?: string;
|
|
173
176
|
provisioning_progress?: string;
|
|
174
177
|
resources_created?: string[];
|
|
175
|
-
state?:
|
|
178
|
+
state?: WorkFlowState;
|
|
176
179
|
user?: user;
|
|
177
180
|
user_outputs?: string[];
|
|
178
181
|
workflow_id?: string;
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import * as Common from './_common'
|
|
18
|
+
|
|
19
|
+
export type Database = {
|
|
20
|
+
fields?: string[];
|
|
21
|
+
provider?: string;
|
|
22
|
+
sha256_hash?: string;
|
|
23
|
+
updated_at_in_epoch_millis?: Common.EpochTimeUnitMillis;
|
|
24
|
+
valid_for_in_days?: number;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type DataSource = {
|
|
28
|
+
database: Database;
|
|
29
|
+
endpoint: string;
|
|
30
|
+
name: Common.Name;
|
|
31
|
+
next_update_at_in_epoch_millis: Common.EpochTimeUnitMillis;
|
|
32
|
+
state: DataSourceState;
|
|
33
|
+
update_interval_in_days: number;
|
|
34
|
+
update_stats: UpdateStats;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export type DataSourceState = 'AVAILABLE' | 'CREATE_FAILED' | 'CREATING' | 'DELETING'
|
|
38
|
+
|
|
39
|
+
export type Envelope = PointCoordinates[]
|
|
40
|
+
|
|
41
|
+
export type GeoJSONData = {
|
|
42
|
+
geometry: Geometry;
|
|
43
|
+
properties?: Record<string, any>;
|
|
44
|
+
type: GeoJSONDataType;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export type GeoJSONDataType = 'Feature' | 'FeatureCollection'
|
|
48
|
+
|
|
49
|
+
export type GeoJSONRequest = {
|
|
50
|
+
data: GeoJSONData[];
|
|
51
|
+
field?: string;
|
|
52
|
+
index: Common.IndexName;
|
|
53
|
+
type: GeospatialFieldType;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export type Geometry = GeoShapes | GeometryCollection
|
|
57
|
+
|
|
58
|
+
export type GeometryCollection = {
|
|
59
|
+
geometries: Geometry[];
|
|
60
|
+
type: 'GeometryCollection';
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export type GeoShapes = Point | MultiPoint | LineString | MultiLineString | Polygon | MultiPolygon | Envelope
|
|
64
|
+
|
|
65
|
+
export type GeospatialFieldType = 'geo_point' | 'geo_shape'
|
|
66
|
+
|
|
67
|
+
export type GeoSpatialGeojsonUploadResponse = {
|
|
68
|
+
errors: boolean;
|
|
69
|
+
failure: number;
|
|
70
|
+
success: number;
|
|
71
|
+
took: Common.DurationValueUnitMillis;
|
|
72
|
+
total: number;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export type GeoSpatialUploadStats = {
|
|
76
|
+
metrics: UploadStatsMetric[];
|
|
77
|
+
total: UploadStatsTotal;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export type GetDataSourceResponse = {
|
|
81
|
+
datasources: DataSource[];
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export type LineString = {
|
|
85
|
+
coordinates: LineStringCoordinates;
|
|
86
|
+
type: 'LineString';
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export type LineStringCoordinates = PointCoordinates[]
|
|
90
|
+
|
|
91
|
+
export type MultiLineString = {
|
|
92
|
+
coordinates: MultiLineStringCoordinates;
|
|
93
|
+
type: 'MultiLineString';
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export type MultiLineStringCoordinates = LineStringCoordinates[]
|
|
97
|
+
|
|
98
|
+
export type MultiPoint = {
|
|
99
|
+
coordinates: MultiPointCoordinates;
|
|
100
|
+
type: 'MultiPoint';
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
export type MultiPointCoordinates = PointCoordinates[]
|
|
104
|
+
|
|
105
|
+
export type MultiPolygon = {
|
|
106
|
+
coordinates: MultiPolygonCoordinates;
|
|
107
|
+
type: 'MultiPolygon';
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export type MultiPolygonCoordinates = PolygonCoordinates[]
|
|
111
|
+
|
|
112
|
+
export type Point = {
|
|
113
|
+
coordinates: PointCoordinates;
|
|
114
|
+
type: 'Point';
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
export type PointCoordinates = number[]
|
|
118
|
+
|
|
119
|
+
export type Polygon = {
|
|
120
|
+
coordinates: PolygonCoordinates;
|
|
121
|
+
type: 'Polygon';
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
export type PolygonCoordinates = PointCoordinates[][]
|
|
125
|
+
|
|
126
|
+
export type PutIP2GeoDataSourceRequest = {
|
|
127
|
+
endpoint?: string;
|
|
128
|
+
update_interval_in_days?: number;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
export type UpdateStats = {
|
|
132
|
+
last_processing_time_in_millis?: Common.EpochTimeUnitMillis;
|
|
133
|
+
last_succeeded_at_in_epoch_millis?: Common.EpochTimeUnitMillis;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export type UploadStatsMetric = {
|
|
137
|
+
duration: Common.DurationValueUnitMillis;
|
|
138
|
+
failed: number;
|
|
139
|
+
id: Common.Id;
|
|
140
|
+
node_id: Common.NodeId;
|
|
141
|
+
success: number;
|
|
142
|
+
type: string;
|
|
143
|
+
upload: number;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export type UploadStatsTotal = {
|
|
147
|
+
duration: Common.DurationValueUnitMillis;
|
|
148
|
+
failed: number;
|
|
149
|
+
request_count: number;
|
|
150
|
+
success: number;
|
|
151
|
+
upload: number;
|
|
152
|
+
}
|
|
153
|
+
|
package/api/_types/index.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ import * as Core_Termvectors from './_core.termvectors'
|
|
|
40
40
|
import * as Core_UpdateByQueryRethrottle from './_core.update_by_query_rethrottle'
|
|
41
41
|
import * as Core_Update from './_core.update'
|
|
42
42
|
import * as AsynchronousSearch_Common from './asynchronous_search._common'
|
|
43
|
+
import * as Cat_Common from './cat._common'
|
|
43
44
|
import * as Cat_Aliases from './cat.aliases'
|
|
44
45
|
import * as Cat_Allocation from './cat.allocation'
|
|
45
46
|
import * as Cat_ClusterManager from './cat.cluster_manager'
|
|
@@ -74,6 +75,7 @@ import * as Cluster_WeightedRouting from './cluster.weighted_routing'
|
|
|
74
75
|
import * as DanglingIndices_ListDanglingIndices from './dangling_indices.list_dangling_indices'
|
|
75
76
|
import * as FlowFramework_Common from './flow_framework.common'
|
|
76
77
|
import * as FlowFramework_Errors from './flow_framework.errors'
|
|
78
|
+
import * as Geospatial_Common from './geospatial._common'
|
|
77
79
|
import * as Indices_Common from './indices._common'
|
|
78
80
|
import * as Indices_AddBlock from './indices.add_block'
|
|
79
81
|
import * as Indices_Analyze from './indices.analyze'
|
|
@@ -82,6 +84,7 @@ import * as Indices_GetAlias from './indices.get_alias'
|
|
|
82
84
|
import * as Indices_GetFieldMapping from './indices.get_field_mapping'
|
|
83
85
|
import * as Indices_GetIndexTemplate from './indices.get_index_template'
|
|
84
86
|
import * as Indices_GetMapping from './indices.get_mapping'
|
|
87
|
+
import * as Indices_ModifyDataStream from './indices.modify_data_stream'
|
|
85
88
|
import * as Indices_PutIndexTemplate from './indices.put_index_template'
|
|
86
89
|
import * as Indices_Recovery from './indices.recovery'
|
|
87
90
|
import * as Indices_ResolveIndex from './indices.resolve_index'
|
|
@@ -94,11 +97,14 @@ import * as Indices_UpdateAliases from './indices.update_aliases'
|
|
|
94
97
|
import * as Indices_ValidateQuery from './indices.validate_query'
|
|
95
98
|
import * as Ingest_Common from './ingest._common'
|
|
96
99
|
import * as Ingest_Simulate from './ingest.simulate'
|
|
100
|
+
import * as Ingestion_Common from './ingestion._common'
|
|
97
101
|
import * as Insights_Common from './insights._common'
|
|
98
102
|
import * as Ism_Common from './ism._common'
|
|
99
103
|
import * as Knn_Common from './knn._common'
|
|
104
|
+
import * as List_Common from './list._common'
|
|
100
105
|
import * as Ltr_Common from './ltr._common'
|
|
101
106
|
import * as Ml_Common from './ml._common'
|
|
107
|
+
import * as Neural_Common from './neural._common'
|
|
102
108
|
import * as Nodes_Common from './nodes._common'
|
|
103
109
|
import * as Nodes_Info from './nodes.info'
|
|
104
110
|
import * as Nodes_ReloadSecureSettings from './nodes.reload_secure_settings'
|
|
@@ -106,11 +112,15 @@ import * as Nodes_Stats from './nodes.stats'
|
|
|
106
112
|
import * as Nodes_Usage from './nodes.usage'
|
|
107
113
|
import * as Notifications_Common from './notifications._common'
|
|
108
114
|
import * as Observability_Common from './observability._common'
|
|
115
|
+
import * as Ppl_Common from './ppl._common'
|
|
109
116
|
import * as Query_Common from './query._common'
|
|
110
117
|
import * as RemoteStore_Common from './remote_store._common'
|
|
111
118
|
import * as Replication_Common from './replication._common'
|
|
112
119
|
import * as Rollups_Common from './rollups._common'
|
|
113
120
|
import * as SearchPipeline_Common from './search_pipeline._common'
|
|
121
|
+
import * as SearchRelevance_Common from './search_relevance._common'
|
|
122
|
+
import * as SecurityAnalytics_Alerts from './security_analytics.alerts'
|
|
123
|
+
import * as SecurityAnalytics_Findings from './security_analytics.findings'
|
|
114
124
|
import * as Security_Common from './security._common'
|
|
115
125
|
import * as Sm_Common from './sm._common'
|
|
116
126
|
import * as Snapshot_Common from './snapshot._common'
|
|
@@ -120,6 +130,7 @@ import * as Snapshot_VerifyRepository from './snapshot.verify_repository'
|
|
|
120
130
|
import * as Sql_Common from './sql._common'
|
|
121
131
|
import * as Tasks_Common from './tasks._common'
|
|
122
132
|
import * as Transforms_Common from './transforms._common'
|
|
133
|
+
import * as Ubi_Common from './ubi._common'
|
|
123
134
|
import * as Wlm_Common from './wlm._common'
|
|
124
135
|
import * as Global from './_global'
|
|
125
136
|
|
|
@@ -150,6 +161,7 @@ export {
|
|
|
150
161
|
Core_UpdateByQueryRethrottle,
|
|
151
162
|
Core_Update,
|
|
152
163
|
AsynchronousSearch_Common,
|
|
164
|
+
Cat_Common,
|
|
153
165
|
Cat_Aliases,
|
|
154
166
|
Cat_Allocation,
|
|
155
167
|
Cat_ClusterManager,
|
|
@@ -184,6 +196,7 @@ export {
|
|
|
184
196
|
DanglingIndices_ListDanglingIndices,
|
|
185
197
|
FlowFramework_Common,
|
|
186
198
|
FlowFramework_Errors,
|
|
199
|
+
Geospatial_Common,
|
|
187
200
|
Indices_Common,
|
|
188
201
|
Indices_AddBlock,
|
|
189
202
|
Indices_Analyze,
|
|
@@ -192,6 +205,7 @@ export {
|
|
|
192
205
|
Indices_GetFieldMapping,
|
|
193
206
|
Indices_GetIndexTemplate,
|
|
194
207
|
Indices_GetMapping,
|
|
208
|
+
Indices_ModifyDataStream,
|
|
195
209
|
Indices_PutIndexTemplate,
|
|
196
210
|
Indices_Recovery,
|
|
197
211
|
Indices_ResolveIndex,
|
|
@@ -204,11 +218,14 @@ export {
|
|
|
204
218
|
Indices_ValidateQuery,
|
|
205
219
|
Ingest_Common,
|
|
206
220
|
Ingest_Simulate,
|
|
221
|
+
Ingestion_Common,
|
|
207
222
|
Insights_Common,
|
|
208
223
|
Ism_Common,
|
|
209
224
|
Knn_Common,
|
|
225
|
+
List_Common,
|
|
210
226
|
Ltr_Common,
|
|
211
227
|
Ml_Common,
|
|
228
|
+
Neural_Common,
|
|
212
229
|
Nodes_Common,
|
|
213
230
|
Nodes_Info,
|
|
214
231
|
Nodes_ReloadSecureSettings,
|
|
@@ -216,11 +233,15 @@ export {
|
|
|
216
233
|
Nodes_Usage,
|
|
217
234
|
Notifications_Common,
|
|
218
235
|
Observability_Common,
|
|
236
|
+
Ppl_Common,
|
|
219
237
|
Query_Common,
|
|
220
238
|
RemoteStore_Common,
|
|
221
239
|
Replication_Common,
|
|
222
240
|
Rollups_Common,
|
|
223
241
|
SearchPipeline_Common,
|
|
242
|
+
SearchRelevance_Common,
|
|
243
|
+
SecurityAnalytics_Alerts,
|
|
244
|
+
SecurityAnalytics_Findings,
|
|
224
245
|
Security_Common,
|
|
225
246
|
Sm_Common,
|
|
226
247
|
Snapshot_Common,
|
|
@@ -230,6 +251,7 @@ export {
|
|
|
230
251
|
Sql_Common,
|
|
231
252
|
Tasks_Common,
|
|
232
253
|
Transforms_Common,
|
|
254
|
+
Ubi_Common,
|
|
233
255
|
Wlm_Common,
|
|
234
256
|
Global,
|
|
235
257
|
};
|
|
@@ -18,6 +18,7 @@ import * as Common from './_common'
|
|
|
18
18
|
import * as Common_Analysis from './_common.analysis'
|
|
19
19
|
import * as Common_Mapping from './_common.mapping'
|
|
20
20
|
import * as Common_QueryDsl from './_common.query_dsl'
|
|
21
|
+
import * as Ingestion_Common from './ingestion._common'
|
|
21
22
|
|
|
22
23
|
export type Alias = {
|
|
23
24
|
filter?: Common_QueryDsl.QueryContainer;
|
|
@@ -37,6 +38,8 @@ export type AliasDefinition = {
|
|
|
37
38
|
search_routing?: string;
|
|
38
39
|
}
|
|
39
40
|
|
|
41
|
+
export type BuiltinStorageType = 'fs' | 'hybridfs' | 'mmapfs' | 'niofs'
|
|
42
|
+
|
|
40
43
|
export type DataStream = {
|
|
41
44
|
_meta?: Common.Metadata;
|
|
42
45
|
allow_custom_routing?: boolean;
|
|
@@ -82,22 +85,6 @@ export type FielddataFrequencyFilter = {
|
|
|
82
85
|
|
|
83
86
|
export type IndexCheckOnStartup = 'checksum' | 'false' | 'true'
|
|
84
87
|
|
|
85
|
-
export type IndexError = {
|
|
86
|
-
error?: IndexErrorCause;
|
|
87
|
-
status?: number;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export type IndexErrorCause = {
|
|
91
|
-
index?: Common.IndexName;
|
|
92
|
-
index_uuid?: Common.Uuid;
|
|
93
|
-
reason?: string;
|
|
94
|
-
'resource.id'?: Common.IndexName;
|
|
95
|
-
'resource.type'?: Common.ResourceType;
|
|
96
|
-
root_cause?: IndexErrorCause[];
|
|
97
|
-
type: string;
|
|
98
|
-
[key: string]: any | Record<string, any>;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
88
|
export type IndexGetUpgradeStatus = {
|
|
102
89
|
indices?: Record<string, UpgradeStatus>;
|
|
103
90
|
size_in_bytes?: Common.ByteCount;
|
|
@@ -135,6 +122,8 @@ export type IndexRoutingAllocation = {
|
|
|
135
122
|
include?: IndexRoutingAllocationInclude;
|
|
136
123
|
initial_recovery?: IndexRoutingAllocationInitialRecovery;
|
|
137
124
|
total_primary_shards_per_node?: Common.StringifiedInteger;
|
|
125
|
+
total_remote_capable_primary_shards_per_node?: Common.StringifiedInteger;
|
|
126
|
+
total_remote_capable_shards_per_node?: Common.StringifiedInteger;
|
|
138
127
|
total_shards_per_node?: Common.StringifiedInteger;
|
|
139
128
|
}
|
|
140
129
|
|
|
@@ -171,6 +160,7 @@ export type IndexSettingBlocks = {
|
|
|
171
160
|
read?: Common.StringifiedBoolean;
|
|
172
161
|
read_only?: Common.StringifiedBoolean;
|
|
173
162
|
read_only_allow_delete?: Common.StringifiedBoolean;
|
|
163
|
+
search_only?: Common.StringifiedBoolean;
|
|
174
164
|
write?: Common.StringifiedBoolean;
|
|
175
165
|
}
|
|
176
166
|
|
|
@@ -192,7 +182,7 @@ export type IndexSettings = {
|
|
|
192
182
|
creation_date_string?: Common.DateTime;
|
|
193
183
|
default_pipeline?: Common.PipelineName;
|
|
194
184
|
final_pipeline?: Common.PipelineName;
|
|
195
|
-
format?:
|
|
185
|
+
format?: Common.StringifiedInteger;
|
|
196
186
|
gc_deletes?: Common.Duration;
|
|
197
187
|
hidden?: Common.StringifiedBoolean;
|
|
198
188
|
highlight?: IndexSettingsHighlight;
|
|
@@ -200,6 +190,7 @@ export type IndexSettings = {
|
|
|
200
190
|
index?: IndexSettings;
|
|
201
191
|
indexing?: IndexSettingsIndexing;
|
|
202
192
|
indexing_pressure?: IndexingPressure;
|
|
193
|
+
ingestion_source?: IngestionSource;
|
|
203
194
|
knn?: Common.StringifiedBoolean;
|
|
204
195
|
'knn.algo_param.ef_search'?: Common.StringifiedInteger;
|
|
205
196
|
lifecycle?: IndexSettingsLifecycle;
|
|
@@ -223,12 +214,13 @@ export type IndexSettings = {
|
|
|
223
214
|
number_of_replicas?: Common.StringifiedInteger;
|
|
224
215
|
number_of_routing_shards?: Common.StringifiedInteger;
|
|
225
216
|
number_of_shards?: Common.StringifiedInteger;
|
|
226
|
-
priority?:
|
|
217
|
+
priority?: Common.StringifiedInteger;
|
|
227
218
|
provided_name?: Common.Name;
|
|
228
219
|
queries?: IndexSettingsQueries;
|
|
229
220
|
query_string?: IndexSettingsQueryString;
|
|
230
221
|
'query_string.lenient'?: Common.StringifiedBoolean;
|
|
231
222
|
refresh_interval?: Common.Duration;
|
|
223
|
+
'replication.type'?: ReplicationType;
|
|
232
224
|
routing?: IndexRouting;
|
|
233
225
|
routing_partition_size?: Common.StringifiedInteger;
|
|
234
226
|
routing_path?: Common.StringOrStringArray;
|
|
@@ -287,6 +279,7 @@ export type IndexSettingsMapping = {
|
|
|
287
279
|
coerce?: Common.StringifiedBoolean;
|
|
288
280
|
depth?: IndexSettingsMappingLimitDepth;
|
|
289
281
|
dimension_fields?: IndexSettingsMappingLimitDimensionFields;
|
|
282
|
+
dynamic_properties?: IndexSettingsMappingDynamicProperties;
|
|
290
283
|
field_name_length?: IndexSettingsMappingLimitFieldNameLength;
|
|
291
284
|
ignore_malformed?: Common.StringifiedBoolean;
|
|
292
285
|
nested_fields?: IndexSettingsMappingLimitNestedFields;
|
|
@@ -294,6 +287,14 @@ export type IndexSettingsMapping = {
|
|
|
294
287
|
total_fields?: IndexSettingsMappingLimitTotalFields;
|
|
295
288
|
}
|
|
296
289
|
|
|
290
|
+
export type IndexSettingsMappingDynamicProperties = {
|
|
291
|
+
lucene_field?: IndexSettingsMappingDynamicPropertiesLuceneField;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
export type IndexSettingsMappingDynamicPropertiesLuceneField = {
|
|
295
|
+
limit?: Common.StringifiedLong;
|
|
296
|
+
}
|
|
297
|
+
|
|
297
298
|
export type IndexSettingsMappingLimitDepth = {
|
|
298
299
|
limit?: Common.StringifiedLong;
|
|
299
300
|
}
|
|
@@ -346,6 +347,7 @@ export type IndexSettingsMergePolicyName = 'default' | 'log_byte_size' | 'tiered
|
|
|
346
347
|
|
|
347
348
|
export type IndexSettingsMergeScheduler = {
|
|
348
349
|
auto_throttle?: Common.StringifiedBoolean;
|
|
350
|
+
max_force_merge_mb_per_sec?: string;
|
|
349
351
|
max_merge_count?: Common.StringifiedInteger;
|
|
350
352
|
max_thread_count?: Common.StringifiedInteger;
|
|
351
353
|
}
|
|
@@ -379,6 +381,7 @@ export type IndexSettingsSearch = {
|
|
|
379
381
|
default_pipeline?: string;
|
|
380
382
|
idle?: SearchIdle;
|
|
381
383
|
slowlog?: SearchSlowlog;
|
|
384
|
+
star_tree_index?: IndexSettingsSearchStarTreeIndex;
|
|
382
385
|
throttled?: Common.StringifiedBoolean;
|
|
383
386
|
}
|
|
384
387
|
|
|
@@ -391,6 +394,10 @@ export type IndexSettingsSearchConcurrentSegmentSearch = {
|
|
|
391
394
|
mode?: string;
|
|
392
395
|
}
|
|
393
396
|
|
|
397
|
+
export type IndexSettingsSearchStarTreeIndex = {
|
|
398
|
+
enabled?: Common.StringifiedBoolean;
|
|
399
|
+
}
|
|
400
|
+
|
|
394
401
|
export type IndexSettingsSimilarity = {
|
|
395
402
|
bm25?: IndexSettingsSimilarityBm25;
|
|
396
403
|
dfi?: IndexSettingsSimilarityDfi;
|
|
@@ -466,6 +473,8 @@ export type IndexSettingsStarTreeFieldDefault = {
|
|
|
466
473
|
|
|
467
474
|
export type IndexSettingsStore = {
|
|
468
475
|
allow_mmap?: Common.StringifiedBoolean;
|
|
476
|
+
data_locality?: string;
|
|
477
|
+
factory?: string;
|
|
469
478
|
fs?: IndexSettingsStoreFs;
|
|
470
479
|
hybrid?: IndexSettingsStoreHybrid;
|
|
471
480
|
preload?: string[];
|
|
@@ -528,6 +537,50 @@ export type IndexVersioning = {
|
|
|
528
537
|
created_string?: string;
|
|
529
538
|
}
|
|
530
539
|
|
|
540
|
+
export type IngestionSource = {
|
|
541
|
+
all_active?: Common.StringifiedBoolean;
|
|
542
|
+
error_strategy?: Ingestion_Common.ErrorPolicy;
|
|
543
|
+
internal_queue_size?: Common.StringifiedInteger;
|
|
544
|
+
mapper_settings?: Record<string, any>;
|
|
545
|
+
mapper_type?: IngestionSourceMapperType;
|
|
546
|
+
num_processor_threads?: Common.StringifiedInteger;
|
|
547
|
+
param?: Record<string, any>;
|
|
548
|
+
pointer?: IngestionSourcePointer;
|
|
549
|
+
pointer_based_lag_update_interval?: string;
|
|
550
|
+
'pointer.init.reset'?: IngestionSourcePointerInitReset;
|
|
551
|
+
'pointer.init.reset.value'?: Common.StringifiedLong;
|
|
552
|
+
poll?: IngestionSourcePoll;
|
|
553
|
+
'poll.max_batch_size'?: Common.StringifiedLong;
|
|
554
|
+
'poll.timeout'?: Common.StringifiedInteger;
|
|
555
|
+
type?: IngestionSourceType;
|
|
556
|
+
warmup?: IngestionSourceWarmup;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
export type IngestionSourceMapperType = 'default' | 'field_mapping' | 'raw_payload'
|
|
560
|
+
|
|
561
|
+
export type IngestionSourcePointer = {
|
|
562
|
+
init?: IngestionSourcePointerInit;
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
export type IngestionSourcePointerInit = {
|
|
566
|
+
reset?: IngestionSourcePointerInitReset;
|
|
567
|
+
'reset.value'?: string;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
export type IngestionSourcePointerInitReset = 'EARLIEST' | 'LATEST' | 'NONE' | 'RESET_BY_OFFSET' | 'RESET_BY_TIMESTAMP' | 'earliest' | 'latest' | 'none' | 'reset_by_offset' | 'reset_by_timestamp'
|
|
571
|
+
|
|
572
|
+
export type IngestionSourcePoll = {
|
|
573
|
+
max_batch_size?: Common.StringifiedLong;
|
|
574
|
+
timeout?: Common.StringifiedInteger;
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export type IngestionSourceType = 'file' | 'kafka' | 'kinesis' | 'none'
|
|
578
|
+
|
|
579
|
+
export type IngestionSourceWarmup = {
|
|
580
|
+
lag_threshold?: Common.StringifiedInteger;
|
|
581
|
+
timeout?: Common.Duration;
|
|
582
|
+
}
|
|
583
|
+
|
|
531
584
|
export type ManagedBy = 'Data stream lifecycle' | 'Index Lifecycle Management' | 'Unmanaged'
|
|
532
585
|
|
|
533
586
|
export type NumericFielddata = {
|
|
@@ -536,6 +589,8 @@ export type NumericFielddata = {
|
|
|
536
589
|
|
|
537
590
|
export type NumericFielddataFormat = 'array' | 'disabled'
|
|
538
591
|
|
|
592
|
+
export type ReplicationType = 'DOCUMENT' | 'SEGMENT'
|
|
593
|
+
|
|
539
594
|
export type RetentionLease = {
|
|
540
595
|
period: Common.Duration;
|
|
541
596
|
}
|
|
@@ -578,7 +633,7 @@ export type SoftDeletesRetention = {
|
|
|
578
633
|
operations?: Common.StringifiedLong;
|
|
579
634
|
}
|
|
580
635
|
|
|
581
|
-
export type StorageType =
|
|
636
|
+
export type StorageType = BuiltinStorageType | string
|
|
582
637
|
|
|
583
638
|
export type TemplateMapping = {
|
|
584
639
|
aliases: Record<string, Alias>;
|
|
@@ -593,6 +648,7 @@ export type Translog = {
|
|
|
593
648
|
durability?: TranslogDurability;
|
|
594
649
|
flush_threshold_size?: Common.HumanReadableByteCount;
|
|
595
650
|
generation_threshold_size?: Common.HumanReadableByteCount;
|
|
651
|
+
read_forward?: string;
|
|
596
652
|
retention?: TranslogRetention;
|
|
597
653
|
sync_interval?: Common.Duration;
|
|
598
654
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright OpenSearch Contributors
|
|
3
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* The OpenSearch Contributors require contributions made to
|
|
6
|
+
* this file be licensed under the Apache-2.0 license or a
|
|
7
|
+
* compatible open source license.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* This file was generated from the OpenSearch API Spec. Do NOT edit it
|
|
13
|
+
* manually. If you want to make changes, either update the spec or
|
|
14
|
+
* modify the API generator.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import * as Common from './_common'
|
|
18
|
+
|
|
19
|
+
export type Action = {
|
|
20
|
+
add_backing_index?: AddBackingIndexAction;
|
|
21
|
+
remove_backing_index?: RemoveBackingIndexAction;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export type AddBackingIndexAction = {
|
|
25
|
+
data_stream: Common.DataStreamName;
|
|
26
|
+
index: Common.IndexName;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type RemoveBackingIndexAction = {
|
|
30
|
+
data_stream: Common.DataStreamName;
|
|
31
|
+
index: Common.IndexName;
|
|
32
|
+
}
|
|
33
|
+
|
|
@@ -38,6 +38,11 @@ export type BytesProcessor = ProcessorBase & {
|
|
|
38
38
|
target_field?: Common.Field;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
+
export type ChunkingAlgorithm = {
|
|
42
|
+
delimiter?: DelimiterChunkingAlgorithm;
|
|
43
|
+
fixed_token_length?: FixedTokenLengthChunkingAlgorithm;
|
|
44
|
+
}
|
|
45
|
+
|
|
41
46
|
export type CircleProcessor = ProcessorBase & {
|
|
42
47
|
error_distance: number;
|
|
43
48
|
field: Common.Field;
|
|
@@ -83,6 +88,11 @@ export type DateProcessor = ProcessorBase & {
|
|
|
83
88
|
timezone?: string;
|
|
84
89
|
}
|
|
85
90
|
|
|
91
|
+
export type DelimiterChunkingAlgorithm = {
|
|
92
|
+
delimiter?: string;
|
|
93
|
+
max_chunk_limit?: number;
|
|
94
|
+
}
|
|
95
|
+
|
|
86
96
|
export type DissectProcessor = ProcessorBase & {
|
|
87
97
|
append_separator?: string;
|
|
88
98
|
field: Common.Field;
|
|
@@ -101,6 +111,13 @@ export type FailProcessor = ProcessorBase & {
|
|
|
101
111
|
message: string;
|
|
102
112
|
}
|
|
103
113
|
|
|
114
|
+
export type FixedTokenLengthChunkingAlgorithm = {
|
|
115
|
+
max_chunk_limit?: number;
|
|
116
|
+
overlap_rate?: number;
|
|
117
|
+
token_limit?: number;
|
|
118
|
+
tokenizer?: string;
|
|
119
|
+
}
|
|
120
|
+
|
|
104
121
|
export type ForeachProcessor = ProcessorBase & {
|
|
105
122
|
field: Common.Field;
|
|
106
123
|
ignore_missing?: boolean;
|
|
@@ -217,8 +234,11 @@ export type ProcessorContainer = {
|
|
|
217
234
|
set?: SetProcessor;
|
|
218
235
|
set_security_user?: SetSecurityUserProcessor;
|
|
219
236
|
sort?: SortProcessor;
|
|
237
|
+
sparse_encoding?: SparseEncodingProcessor;
|
|
220
238
|
split?: SplitProcessor;
|
|
239
|
+
text_chunking?: TextChunkingProcessor;
|
|
221
240
|
text_embedding?: TextEmbeddingProcessor;
|
|
241
|
+
text_image_embedding?: TextImageEmbeddingProcessor;
|
|
222
242
|
trim?: TrimProcessor;
|
|
223
243
|
uppercase?: UppercaseProcessor;
|
|
224
244
|
urldecode?: UrlDecodeProcessor;
|
|
@@ -258,6 +278,12 @@ export type SortProcessor = ProcessorBase & {
|
|
|
258
278
|
target_field?: Common.Field;
|
|
259
279
|
}
|
|
260
280
|
|
|
281
|
+
export type SparseEncodingProcessor = ProcessorBase & {
|
|
282
|
+
batch_size?: number;
|
|
283
|
+
field_map: Record<string, string>;
|
|
284
|
+
model_id: Common.Id;
|
|
285
|
+
}
|
|
286
|
+
|
|
261
287
|
export type SplitProcessor = ProcessorBase & {
|
|
262
288
|
field: Common.Field;
|
|
263
289
|
ignore_missing?: boolean;
|
|
@@ -266,12 +292,23 @@ export type SplitProcessor = ProcessorBase & {
|
|
|
266
292
|
target_field?: Common.Field;
|
|
267
293
|
}
|
|
268
294
|
|
|
295
|
+
export type TextChunkingProcessor = ProcessorBase & {
|
|
296
|
+
algorithm: ChunkingAlgorithm;
|
|
297
|
+
field_map: Record<string, string>;
|
|
298
|
+
max_chunk_limit?: number;
|
|
299
|
+
}
|
|
300
|
+
|
|
269
301
|
export type TextEmbeddingProcessor = ProcessorBase & {
|
|
270
302
|
batch_size?: number;
|
|
271
303
|
field_map: Record<string, string>;
|
|
272
304
|
model_id: Common.Id;
|
|
273
305
|
}
|
|
274
306
|
|
|
307
|
+
export type TextImageEmbeddingProcessor = ProcessorBase & {
|
|
308
|
+
field_map: Record<string, string>;
|
|
309
|
+
model_id: Common.Id;
|
|
310
|
+
}
|
|
311
|
+
|
|
275
312
|
export type TrimProcessor = ProcessorBase & {
|
|
276
313
|
field: Common.Field;
|
|
277
314
|
ignore_missing?: boolean;
|