@opensearch-project/opensearch 3.0.0-beta.7 → 3.0.0-beta.9
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 → OpenSearchApi.d.ts} +251 -6
- package/api/{OpenSearchAPI.js → OpenSearchApi.js} +15 -0
- package/api/_core/bulk.d.ts +4 -4
- package/api/_core/bulk.js +1 -1
- package/api/_core/bulkStream.d.ts +52 -0
- package/api/_core/bulkStream.js +61 -0
- package/api/_core/clearScroll.d.ts +3 -3
- package/api/_core/clearScroll.js +2 -2
- package/api/_core/count.d.ts +5 -5
- package/api/_core/count.js +4 -4
- package/api/_core/create.d.ts +2 -2
- package/api/_core/createPit.d.ts +3 -3
- package/api/_core/createPit.js +3 -3
- package/api/_core/delete.d.ts +2 -2
- package/api/_core/deleteAllPits.d.ts +2 -2
- package/api/_core/deleteByQuery.d.ts +5 -20
- package/api/_core/deleteByQuery.js +8 -8
- package/api/_core/deleteByQueryRethrottle.d.ts +1 -1
- package/api/_core/deletePit.d.ts +3 -3
- package/api/_core/deleteScript.d.ts +1 -1
- package/api/_core/deleteScript.js +1 -1
- package/api/_core/exists.d.ts +4 -4
- package/api/_core/exists.js +2 -2
- package/api/_core/existsSource.d.ts +4 -4
- package/api/_core/existsSource.js +3 -3
- package/api/_core/explain.d.ts +6 -5
- package/api/_core/explain.js +1 -1
- package/api/_core/fieldCaps.d.ts +3 -5
- package/api/_core/fieldCaps.js +6 -6
- package/api/_core/get.d.ts +4 -4
- package/api/_core/get.js +3 -3
- package/api/_core/getAllPits.d.ts +2 -2
- package/api/_core/getScript.d.ts +2 -2
- package/api/_core/getScriptContext.d.ts +2 -2
- package/api/_core/getScriptLanguages.d.ts +2 -2
- package/api/_core/getSource.d.ts +4 -4
- package/api/_core/getSource.js +4 -4
- package/api/_core/index.d.ts +2 -2
- package/api/_core/index.js +1 -1
- package/api/_core/info.d.ts +2 -2
- package/api/_core/mget.d.ts +6 -6
- package/api/_core/mget.js +3 -3
- package/api/_core/msearch.d.ts +1 -1
- package/api/_core/msearch.js +4 -4
- package/api/_core/msearchTemplate.d.ts +2 -2
- package/api/_core/msearchTemplate.js +2 -2
- package/api/_core/mtermvectors.d.ts +4 -4
- package/api/_core/mtermvectors.js +3 -3
- package/api/_core/putScript.d.ts +2 -2
- package/api/_core/putScript.js +3 -3
- package/api/_core/rankEval.d.ts +4 -4
- package/api/_core/rankEval.js +5 -5
- package/api/_core/reindex.d.ts +4 -19
- package/api/_core/reindex.js +1 -1
- package/api/_core/reindexRethrottle.d.ts +2 -2
- package/api/_core/reindexRethrottle.js +1 -1
- package/api/_core/renderSearchTemplate.d.ts +5 -5
- package/api/_core/renderSearchTemplate.js +2 -2
- package/api/_core/scriptsPainlessExecute.d.ts +5 -5
- package/api/_core/scroll.d.ts +3 -3
- package/api/_core/scroll.js +3 -3
- package/api/_core/search.d.ts +5 -8
- package/api/_core/search.js +9 -9
- package/api/_core/searchShards.d.ts +14 -3
- package/api/_core/searchShards.js +5 -4
- package/api/_core/searchTemplate.d.ts +5 -4
- package/api/_core/searchTemplate.js +6 -6
- package/api/_core/termvectors.d.ts +6 -5
- package/api/_core/termvectors.js +2 -2
- package/api/_core/update.d.ts +4 -4
- package/api/_core/update.js +3 -3
- package/api/_core/updateByQuery.d.ts +5 -20
- package/api/_core/updateByQuery.js +8 -8
- package/api/_core/updateByQueryRethrottle.d.ts +2 -2
- package/api/_types/_common.aggregations.d.ts +195 -193
- package/api/_types/_common.analysis.d.ts +129 -102
- package/api/_types/_common.d.ts +252 -192
- package/api/_types/_common.mapping.d.ts +98 -162
- package/api/_types/_common.query_dsl.d.ts +128 -131
- package/api/_types/_core._common.d.ts +4 -4
- package/api/_types/_core.bulk.d.ts +9 -9
- package/api/_types/_core.explain.d.ts +4 -4
- package/api/_types/_core.field_caps.d.ts +1 -6
- package/api/_types/_core.get.d.ts +1 -1
- package/api/_types/_core.get_script_context.d.ts +3 -3
- package/api/_types/_core.get_script_languages.d.ts +1 -1
- package/api/_types/_core.mget.d.ts +3 -3
- package/api/_types/_core.msearch.d.ts +6 -8
- package/api/_types/_core.msearch_template.d.ts +3 -3
- package/api/_types/_core.mtermvectors.d.ts +3 -2
- package/api/_types/_core.rank_eval.d.ts +15 -14
- package/api/_types/_core.reindex.d.ts +3 -5
- package/api/_types/_core.reindex_rethrottle.d.ts +5 -3
- package/api/_types/_core.scripts_painless_execute.d.ts +2 -2
- package/api/_types/_core.search.d.ts +46 -45
- package/api/_types/_core.search_shards.d.ts +1 -1
- package/api/_types/_core.termvectors.d.ts +5 -5
- package/api/_types/_core.update.d.ts +1 -1
- package/api/_types/_core.update_by_query_rethrottle.d.ts +1 -1
- package/api/_types/_global.d.ts +1 -1
- package/api/_types/asynchronous_search._common.d.ts +7 -9
- package/api/_types/cat._common.d.ts +5 -4
- package/api/_types/cat.aliases.d.ts +1 -1
- package/api/_types/cat.allocation.d.ts +2 -2
- package/api/_types/cat.cluster_manager.d.ts +1 -1
- package/api/_types/cat.count.d.ts +1 -1
- package/api/_types/cat.fielddata.d.ts +1 -1
- package/api/_types/cat.health.d.ts +2 -2
- package/api/_types/cat.indices.d.ts +1 -1
- package/api/_types/cat.master.d.ts +1 -1
- package/api/_types/cat.nodeattrs.d.ts +1 -1
- package/api/_types/cat.nodes.d.ts +5 -5
- package/api/_types/cat.pending_tasks.d.ts +1 -1
- package/api/_types/cat.plugins.d.ts +1 -1
- package/api/_types/cat.recovery.d.ts +4 -4
- package/api/_types/cat.repositories.d.ts +1 -1
- package/api/_types/cat.segments.d.ts +2 -2
- package/api/_types/cat.shards.d.ts +1 -1
- package/api/_types/cat.snapshots.d.ts +1 -1
- package/api/_types/cat.tasks.d.ts +1 -1
- package/api/_types/cat.templates.d.ts +1 -1
- package/api/_types/cat.thread_pool.d.ts +1 -1
- package/api/_types/cluster._common.d.ts +4 -5
- package/api/_types/cluster.allocation_explain.d.ts +20 -20
- package/api/_types/cluster.health.d.ts +6 -5
- package/api/_types/cluster.pending_tasks.d.ts +1 -1
- package/api/_types/cluster.remote_info.d.ts +2 -2
- package/api/_types/cluster.reroute.d.ts +10 -8
- package/api/_types/cluster.stats.d.ts +88 -102
- package/api/_types/cluster.weighted_routing.d.ts +3 -3
- package/api/_types/dangling_indices.list_dangling_indices.d.ts +1 -1
- package/api/_types/flow_framework.common.d.ts +131 -7
- package/api/_types/flow_framework.errors.d.ts +90 -9
- package/api/_types/indices._common.d.ts +364 -236
- package/api/_types/indices.add_block.d.ts +1 -1
- package/api/_types/indices.analyze.d.ts +6 -6
- package/api/_types/indices.close.d.ts +2 -2
- package/api/_types/indices.get_alias.d.ts +1 -1
- package/api/_types/indices.get_field_mapping.d.ts +1 -1
- package/api/_types/indices.get_index_template.d.ts +2 -2
- package/api/_types/indices.get_mapping.d.ts +1 -1
- package/api/_types/indices.put_index_template.d.ts +2 -3
- package/api/_types/indices.recovery.d.ts +25 -21
- package/api/_types/indices.resolve_index.d.ts +3 -3
- package/api/_types/indices.rollover.d.ts +9 -9
- package/api/_types/indices.segments.d.ts +8 -8
- package/api/_types/indices.shard_stores.d.ts +7 -6
- package/api/_types/indices.simulate_template.d.ts +4 -4
- package/api/_types/indices.stats.d.ts +18 -16
- package/api/_types/indices.update_aliases.d.ts +4 -4
- package/api/_types/indices.validate_query.d.ts +1 -1
- package/api/_types/ingest._common.d.ts +39 -39
- package/api/_types/ingest.simulate.d.ts +5 -5
- package/api/_types/insights._common.d.ts +95 -0
- package/api/_types/ism._common.d.ts +259 -0
- package/api/_types/knn._common.d.ts +83 -0
- package/api/_types/ml._common.d.ts +106 -15
- package/api/_types/nodes._common.d.ts +192 -183
- package/api/_types/nodes.info.d.ts +61 -61
- package/api/_types/nodes.reload_secure_settings.d.ts +2 -2
- package/api/_types/nodes.stats.d.ts +2 -2
- package/api/_types/nodes.usage.d.ts +5 -5
- package/api/_types/notifications._common.d.ts +21 -21
- package/api/_types/observability._common.d.ts +16 -16
- package/api/_types/query._common.d.ts +12 -7
- package/api/_types/remote_store._common.d.ts +2 -2
- package/api/_types/replication._common.d.ts +143 -0
- package/api/_types/rollups._common.d.ts +22 -38
- package/api/_types/search_pipeline._common.d.ts +21 -21
- package/api/_types/security._common.d.ts +49 -42
- package/api/_types/sm._common.d.ts +198 -0
- package/api/_types/snapshot._common.d.ts +48 -57
- package/api/_types/snapshot.cleanup_repository.d.ts +1 -1
- package/api/_types/snapshot.restore.d.ts +1 -1
- package/api/_types/snapshot.verify_repository.d.ts +1 -1
- package/api/_types/sql._common.d.ts +18 -18
- package/api/_types/tasks._common.d.ts +26 -14
- package/api/_types/transforms._common.d.ts +56 -41
- package/api/_types/wlm._common.d.ts +53 -0
- package/api/asynchronousSearch/delete.d.ts +1 -1
- package/api/asynchronousSearch/get.d.ts +1 -1
- package/api/asynchronousSearch/search.d.ts +1 -1
- package/api/asynchronousSearch/search.js +3 -3
- package/api/asynchronousSearch/stats.d.ts +1 -1
- package/api/cat/aliases.d.ts +2 -2
- package/api/cat/aliases.js +9 -9
- package/api/cat/allPitSegments.d.ts +3 -3
- package/api/cat/allPitSegments.js +1 -1
- package/api/cat/allocation.d.ts +3 -3
- package/api/cat/allocation.js +11 -11
- package/api/cat/clusterManager.d.ts +2 -2
- package/api/cat/clusterManager.js +6 -6
- package/api/cat/count.d.ts +2 -2
- package/api/cat/count.js +4 -4
- package/api/cat/fielddata.d.ts +3 -3
- package/api/cat/fielddata.js +3 -3
- package/api/cat/health.d.ts +2 -2
- package/api/cat/health.js +2 -2
- package/api/cat/indices.d.ts +3 -3
- package/api/cat/indices.js +8 -8
- package/api/cat/master.d.ts +2 -2
- package/api/cat/master.js +2 -2
- package/api/cat/nodeattrs.d.ts +2 -2
- package/api/cat/nodeattrs.js +2 -2
- package/api/cat/nodes.d.ts +3 -3
- package/api/cat/nodes.js +2 -2
- package/api/cat/pendingTasks.d.ts +2 -2
- package/api/cat/pendingTasks.js +2 -2
- package/api/cat/pitSegments.d.ts +4 -4
- package/api/cat/pitSegments.js +1 -1
- package/api/cat/plugins.d.ts +2 -2
- package/api/cat/plugins.js +2 -2
- package/api/cat/recovery.d.ts +3 -3
- package/api/cat/recovery.js +3 -3
- package/api/cat/repositories.d.ts +2 -2
- package/api/cat/repositories.js +2 -2
- package/api/cat/segmentReplication.d.ts +3 -3
- package/api/cat/segmentReplication.js +6 -6
- package/api/cat/segments.d.ts +3 -3
- package/api/cat/segments.js +4 -4
- package/api/cat/shards.d.ts +3 -3
- package/api/cat/shards.js +4 -4
- package/api/cat/snapshots.d.ts +2 -2
- package/api/cat/snapshots.js +4 -4
- package/api/cat/tasks.d.ts +2 -2
- package/api/cat/tasks.js +1 -1
- package/api/cat/templates.d.ts +2 -2
- package/api/cat/templates.js +3 -3
- package/api/cat/threadPool.d.ts +2 -2
- package/api/cat/threadPool.js +3 -3
- package/api/cluster/allocationExplain.d.ts +4 -4
- package/api/cluster/allocationExplain.js +2 -2
- package/api/cluster/deleteComponentTemplate.d.ts +1 -1
- package/api/cluster/deleteComponentTemplate.js +1 -1
- package/api/cluster/deleteDecommissionAwareness.d.ts +1 -1
- package/api/cluster/deleteVotingConfigExclusions.js +1 -1
- package/api/cluster/deleteWeightedRouting.d.ts +1 -1
- package/api/cluster/existsComponentTemplate.d.ts +1 -1
- package/api/cluster/existsComponentTemplate.js +2 -2
- package/api/cluster/getComponentTemplate.d.ts +3 -3
- package/api/cluster/getComponentTemplate.js +3 -3
- package/api/cluster/getDecommissionAwareness.d.ts +1 -1
- package/api/cluster/getSettings.d.ts +2 -2
- package/api/cluster/getSettings.js +1 -1
- package/api/cluster/getWeightedRouting.d.ts +1 -1
- package/api/cluster/health.d.ts +2 -2
- package/api/cluster/health.js +8 -8
- package/api/cluster/pendingTasks.d.ts +3 -3
- package/api/cluster/pendingTasks.js +2 -2
- package/api/cluster/postVotingConfigExclusions.d.ts +1 -1
- package/api/cluster/postVotingConfigExclusions.js +2 -2
- package/api/cluster/putComponentTemplate.d.ts +2 -2
- package/api/cluster/putComponentTemplate.js +2 -2
- package/api/cluster/putDecommissionAwareness.d.ts +1 -1
- package/api/cluster/putSettings.d.ts +3 -3
- package/api/cluster/putSettings.js +1 -1
- package/api/cluster/putWeightedRouting.d.ts +1 -1
- package/api/cluster/remoteInfo.d.ts +1 -1
- package/api/cluster/reroute.d.ts +5 -5
- package/api/cluster/reroute.js +4 -4
- package/api/cluster/state.d.ts +2 -2
- package/api/cluster/state.js +8 -8
- package/api/cluster/stats.d.ts +4 -2
- package/api/cluster/stats.js +15 -2
- package/api/danglingIndices/deleteDanglingIndex.d.ts +1 -1
- package/api/danglingIndices/deleteDanglingIndex.js +4 -4
- package/api/danglingIndices/importDanglingIndex.d.ts +1 -1
- package/api/danglingIndices/importDanglingIndex.js +4 -4
- package/api/danglingIndices/listDanglingIndices.d.ts +2 -2
- package/api/danglingIndices/listDanglingIndices.js +1 -1
- package/api/flowFramework/_api.js +12 -0
- package/api/flowFramework/create.d.ts +7 -6
- package/api/flowFramework/create.js +3 -2
- package/api/flowFramework/delete.d.ts +3 -2
- package/api/flowFramework/deprovision.d.ts +31 -0
- package/api/flowFramework/deprovision.js +50 -0
- package/api/flowFramework/get.d.ts +3 -2
- package/api/flowFramework/getStatus.d.ts +31 -0
- package/api/flowFramework/getStatus.js +50 -0
- package/api/flowFramework/getSteps.d.ts +30 -0
- package/api/flowFramework/getSteps.js +47 -0
- package/api/flowFramework/provision.d.ts +31 -0
- package/api/flowFramework/provision.js +50 -0
- package/api/flowFramework/search.d.ts +30 -0
- package/api/flowFramework/search.js +47 -0
- package/api/flowFramework/searchState.d.ts +30 -0
- package/api/flowFramework/searchState.js +47 -0
- package/api/flowFramework/update.d.ts +8 -4
- package/api/flowFramework/update.js +4 -0
- package/api/index.d.ts +108 -6
- package/api/indices/addBlock.d.ts +2 -2
- package/api/indices/addBlock.js +6 -6
- package/api/indices/analyze.d.ts +3 -3
- package/api/indices/analyze.js +1 -1
- package/api/indices/clearCache.d.ts +1 -1
- package/api/indices/clearCache.js +5 -5
- package/api/indices/clone.d.ts +3 -3
- package/api/indices/clone.js +2 -2
- package/api/indices/close.d.ts +2 -2
- package/api/indices/close.js +2 -2
- package/api/indices/create.d.ts +4 -4
- package/api/indices/create.js +1 -1
- package/api/indices/createDataStream.d.ts +1 -1
- package/api/indices/dataStreamsStats.d.ts +6 -6
- package/api/indices/dataStreamsStats.js +1 -1
- package/api/indices/delete.d.ts +1 -1
- package/api/indices/delete.js +3 -3
- package/api/indices/deleteAlias.d.ts +1 -1
- package/api/indices/deleteAlias.js +2 -2
- package/api/indices/deleteDataStream.d.ts +1 -1
- package/api/indices/deleteIndexTemplate.d.ts +1 -1
- package/api/indices/deleteIndexTemplate.js +1 -1
- package/api/indices/deleteTemplate.d.ts +1 -1
- package/api/indices/deleteTemplate.js +1 -1
- package/api/indices/exists.d.ts +1 -1
- package/api/indices/exists.js +2 -2
- package/api/indices/existsAlias.d.ts +1 -1
- package/api/indices/existsAlias.js +4 -4
- package/api/indices/existsIndexTemplate.d.ts +1 -1
- package/api/indices/existsIndexTemplate.js +1 -1
- package/api/indices/existsTemplate.d.ts +1 -1
- package/api/indices/existsTemplate.js +1 -1
- package/api/indices/flush.d.ts +1 -1
- package/api/indices/flush.js +4 -4
- package/api/indices/forcemerge.d.ts +1 -1
- package/api/indices/forcemerge.js +6 -6
- package/api/indices/get.d.ts +1 -1
- package/api/indices/get.js +9 -9
- package/api/indices/getAlias.d.ts +1 -1
- package/api/indices/getAlias.js +3 -3
- package/api/indices/getDataStream.d.ts +2 -2
- package/api/indices/getDataStream.js +1 -1
- package/api/indices/getFieldMapping.d.ts +1 -1
- package/api/indices/getFieldMapping.js +3 -3
- package/api/indices/getIndexTemplate.d.ts +2 -2
- package/api/indices/getIndexTemplate.js +4 -4
- package/api/indices/getMapping.d.ts +1 -1
- package/api/indices/getMapping.js +5 -5
- package/api/indices/getSettings.d.ts +1 -1
- package/api/indices/getSettings.js +6 -6
- package/api/indices/getTemplate.d.ts +1 -1
- package/api/indices/getTemplate.js +2 -2
- package/api/indices/getUpgrade.d.ts +3 -2
- package/api/indices/getUpgrade.js +6 -6
- package/api/indices/open.d.ts +1 -1
- package/api/indices/open.js +4 -4
- package/api/indices/putAlias.d.ts +2 -2
- package/api/indices/putAlias.js +3 -3
- package/api/indices/putIndexTemplate.d.ts +2 -2
- package/api/indices/putIndexTemplate.js +1 -1
- package/api/indices/putMapping.d.ts +2 -3
- package/api/indices/putMapping.js +3 -3
- package/api/indices/putSettings.d.ts +1 -1
- package/api/indices/putSettings.js +5 -5
- package/api/indices/putTemplate.d.ts +4 -4
- package/api/indices/putTemplate.js +2 -2
- package/api/indices/recovery.d.ts +1 -1
- package/api/indices/recovery.js +2 -2
- package/api/indices/refresh.d.ts +1 -1
- package/api/indices/refresh.js +4 -4
- package/api/indices/resolveIndex.d.ts +2 -2
- package/api/indices/resolveIndex.js +2 -2
- package/api/indices/rollover.d.ts +4 -4
- package/api/indices/rollover.js +2 -2
- package/api/indices/segments.d.ts +2 -2
- package/api/indices/segments.js +3 -3
- package/api/indices/shardStores.d.ts +3 -3
- package/api/indices/shardStores.js +5 -5
- package/api/indices/shrink.d.ts +3 -3
- package/api/indices/shrink.js +2 -2
- package/api/indices/simulateIndexTemplate.d.ts +2 -4
- package/api/indices/simulateIndexTemplate.js +1 -3
- package/api/indices/simulateTemplate.d.ts +2 -2
- package/api/indices/simulateTemplate.js +3 -3
- package/api/indices/split.d.ts +3 -3
- package/api/indices/split.js +2 -2
- package/api/indices/stats.d.ts +3 -3
- package/api/indices/stats.js +7 -7
- package/api/indices/updateAliases.d.ts +2 -2
- package/api/indices/updateAliases.js +1 -1
- package/api/indices/upgrade.d.ts +4 -2
- package/api/indices/upgrade.js +8 -7
- package/api/indices/validateQuery.d.ts +4 -4
- package/api/indices/validateQuery.js +3 -3
- package/api/ingest/deletePipeline.d.ts +1 -1
- package/api/ingest/deletePipeline.js +1 -1
- package/api/ingest/getPipeline.d.ts +1 -1
- package/api/ingest/getPipeline.js +2 -2
- package/api/ingest/processorGrok.d.ts +4 -2
- package/api/ingest/processorGrok.js +3 -1
- package/api/ingest/putPipeline.d.ts +2 -2
- package/api/ingest/putPipeline.js +1 -1
- package/api/ingest/simulate.d.ts +4 -4
- package/api/ingest/simulate.js +1 -1
- package/api/{_types/indices.data_streams_stats.d.ts → insights/_api.js} +9 -7
- package/api/insights/topQueries.d.ts +30 -0
- package/api/insights/topQueries.js +48 -0
- package/api/ism/_api.js +61 -0
- package/api/ism/addPolicy.d.ts +32 -0
- package/api/ism/addPolicy.js +49 -0
- package/api/ism/changePolicy.d.ts +32 -0
- package/api/ism/changePolicy.js +49 -0
- package/api/ism/deletePolicy.d.ts +30 -0
- package/api/ism/deletePolicy.js +49 -0
- package/api/ism/existsPolicy.d.ts +29 -0
- package/api/ism/existsPolicy.js +49 -0
- package/api/ism/explainPolicy.d.ts +34 -0
- package/api/ism/explainPolicy.js +49 -0
- package/api/ism/getPolicies.d.ts +28 -0
- package/api/ism/getPolicies.js +45 -0
- package/api/ism/getPolicy.d.ts +30 -0
- package/api/ism/getPolicy.js +49 -0
- package/api/ism/putPolicies.d.ts +34 -0
- package/api/ism/putPolicies.js +51 -0
- package/api/ism/putPolicy.d.ts +34 -0
- package/api/ism/putPolicy.js +52 -0
- package/api/ism/refreshSearchAnalyzers.d.ts +31 -0
- package/api/ism/refreshSearchAnalyzers.js +49 -0
- package/api/ism/removePolicy.d.ts +31 -0
- package/api/ism/removePolicy.js +48 -0
- package/api/ism/retryIndex.d.ts +32 -0
- package/api/ism/retryIndex.js +49 -0
- package/api/knn/deleteModel.d.ts +2 -1
- package/api/knn/searchModels.d.ts +4 -3
- package/api/knn/searchModels.js +10 -10
- package/api/knn/stats.d.ts +4 -3
- package/api/knn/stats.js +1 -1
- package/api/knn/trainModel.d.ts +5 -12
- package/api/knn/trainModel.js +5 -5
- package/api/knn/warmup.d.ts +2 -1
- package/api/knn/warmup.js +1 -1
- package/api/{_types/snapshot.get.d.ts → list/_api.js} +9 -6
- package/api/list/help.d.ts +27 -0
- package/api/list/help.js +45 -0
- package/api/list/indices.d.ts +51 -0
- package/api/list/indices.js +65 -0
- package/api/list/shards.d.ts +47 -0
- package/api/list/shards.js +61 -0
- package/api/ml/_api.js +12 -0
- package/api/ml/createConnector.d.ts +43 -0
- package/api/ml/createConnector.js +47 -0
- package/api/ml/deleteAgent.d.ts +30 -0
- package/api/ml/deleteAgent.js +49 -0
- package/api/ml/deleteConnector.d.ts +30 -0
- package/api/ml/deleteConnector.js +49 -0
- package/api/ml/deleteModel.d.ts +1 -1
- package/api/ml/deleteModelGroup.d.ts +1 -1
- package/api/ml/deleteTask.d.ts +1 -1
- package/api/ml/deployModel.d.ts +1 -1
- package/api/ml/registerAgents.d.ts +43 -0
- package/api/ml/registerAgents.js +47 -0
- package/api/ml/registerModel.d.ts +2 -2
- package/api/ml/registerModelGroup.d.ts +1 -1
- package/api/ml/searchModels.d.ts +6 -1
- package/api/nodes/hotThreads.d.ts +1 -1
- package/api/nodes/hotThreads.js +2 -2
- package/api/nodes/info.d.ts +1 -1
- package/api/nodes/info.js +3 -3
- package/api/nodes/reloadSecureSettings.d.ts +2 -2
- package/api/nodes/reloadSecureSettings.js +2 -2
- package/api/nodes/stats.d.ts +1 -1
- package/api/nodes/stats.js +5 -5
- package/api/nodes/usage.d.ts +1 -1
- package/api/nodes/usage.js +1 -1
- package/api/notifications/createConfig.d.ts +1 -1
- package/api/notifications/getConfigs.d.ts +3 -1
- package/api/notifications/getConfigs.js +2 -0
- package/api/notifications/listChannels.d.ts +1 -1
- package/api/notifications/listFeatures.d.ts +1 -1
- package/api/notifications/sendTest.d.ts +1 -1
- package/api/notifications/updateConfig.d.ts +1 -1
- package/api/observability/createObject.d.ts +1 -1
- package/api/observability/deleteObject.d.ts +1 -1
- package/api/observability/deleteObjects.d.ts +1 -1
- package/api/observability/getLocalstats.d.ts +1 -1
- package/api/observability/getLocalstats.js +1 -1
- package/api/observability/updateObject.d.ts +1 -1
- package/api/ppl/explain.js +1 -1
- package/api/ppl/getStats.js +1 -1
- package/api/ppl/postStats.js +1 -1
- package/api/ppl/query.js +1 -1
- package/api/remoteStore/restore.d.ts +3 -3
- package/api/replication/_api.js +48 -0
- package/api/replication/autofollowStats.d.ts +28 -0
- package/api/replication/autofollowStats.js +45 -0
- package/api/replication/createReplicationRule.d.ts +31 -0
- package/api/replication/createReplicationRule.js +47 -0
- package/api/replication/deleteReplicationRule.d.ts +31 -0
- package/api/replication/deleteReplicationRule.js +47 -0
- package/api/replication/followerStats.d.ts +28 -0
- package/api/replication/followerStats.js +45 -0
- package/api/replication/leaderStats.d.ts +28 -0
- package/api/replication/leaderStats.js +45 -0
- package/api/replication/pause.d.ts +33 -0
- package/api/replication/pause.js +50 -0
- package/api/replication/resume.d.ts +33 -0
- package/api/replication/resume.js +50 -0
- package/api/replication/start.d.ts +32 -0
- package/api/replication/start.js +50 -0
- package/api/replication/status.d.ts +31 -0
- package/api/replication/status.js +49 -0
- package/api/replication/stop.d.ts +33 -0
- package/api/replication/stop.js +50 -0
- package/api/replication/updateSettings.d.ts +32 -0
- package/api/replication/updateSettings.js +50 -0
- package/api/rollups/delete.d.ts +2 -2
- package/api/rollups/explain.d.ts +1 -1
- package/api/rollups/get.d.ts +1 -1
- package/api/rollups/put.d.ts +1 -1
- package/api/rollups/start.d.ts +2 -2
- package/api/rollups/stop.d.ts +2 -2
- package/api/searchPipeline/delete.d.ts +2 -2
- package/api/searchPipeline/get.d.ts +1 -1
- package/api/searchPipeline/get.js +1 -1
- package/api/searchPipeline/put.d.ts +2 -2
- package/api/security/_api.js +3 -0
- package/api/security/createAllowlist.js +1 -1
- package/api/security/generateUserTokenLegacy.d.ts +29 -0
- package/api/security/generateUserTokenLegacy.js +49 -0
- package/api/security/getAllCertificates.d.ts +1 -1
- package/api/security/getDistinguishedName.d.ts +1 -1
- package/api/security/getDistinguishedName.js +1 -1
- package/api/security/getDistinguishedNames.js +1 -1
- package/api/security/getNodeCertificates.d.ts +1 -1
- package/api/security/getSslinfo.js +1 -1
- package/api/security/health.js +1 -1
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.d.ts +1 -1
- package/api/security/patchDistinguishedName.js +2 -2
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.js +1 -1
- package/api/security/validate.js +1 -1
- package/api/sm/_api.js +49 -0
- package/api/sm/createPolicy.d.ts +31 -0
- package/api/sm/createPolicy.js +50 -0
- package/api/sm/deletePolicy.d.ts +30 -0
- package/api/sm/deletePolicy.js +49 -0
- package/api/sm/explainPolicy.d.ts +30 -0
- package/api/sm/explainPolicy.js +49 -0
- package/api/sm/getPolicies.d.ts +34 -0
- package/api/sm/getPolicies.js +51 -0
- package/api/sm/getPolicy.d.ts +30 -0
- package/api/sm/getPolicy.js +49 -0
- package/api/sm/startPolicy.d.ts +31 -0
- package/api/sm/startPolicy.js +49 -0
- package/api/sm/stopPolicy.d.ts +31 -0
- package/api/sm/stopPolicy.js +49 -0
- package/api/sm/updatePolicy.d.ts +33 -0
- package/api/sm/updatePolicy.js +54 -0
- package/api/snapshot/cleanupRepository.d.ts +2 -2
- package/api/snapshot/cleanupRepository.js +1 -1
- package/api/snapshot/clone.d.ts +2 -2
- package/api/snapshot/clone.js +2 -2
- package/api/snapshot/create.d.ts +3 -3
- package/api/snapshot/create.js +1 -1
- package/api/snapshot/createRepository.d.ts +2 -2
- package/api/snapshot/createRepository.js +1 -1
- package/api/snapshot/delete.d.ts +1 -1
- package/api/snapshot/delete.js +1 -1
- package/api/snapshot/deleteRepository.d.ts +1 -1
- package/api/snapshot/deleteRepository.js +1 -1
- package/api/snapshot/get.d.ts +3 -7
- package/api/snapshot/get.js +4 -4
- package/api/snapshot/getRepository.d.ts +1 -1
- package/api/snapshot/getRepository.js +2 -2
- package/api/snapshot/restore.d.ts +9 -5
- package/api/snapshot/restore.js +1 -1
- package/api/snapshot/status.d.ts +3 -3
- package/api/snapshot/status.js +3 -3
- package/api/snapshot/verifyRepository.d.ts +2 -2
- package/api/snapshot/verifyRepository.js +1 -1
- 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.js +1 -1
- 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 +5 -5
- package/api/tasks/cancel.d.ts +1 -1
- package/api/tasks/cancel.js +1 -1
- package/api/tasks/get.d.ts +3 -3
- package/api/tasks/list.d.ts +1 -1
- package/api/transforms/delete.d.ts +3 -2
- package/api/transforms/explain.d.ts +1 -1
- package/api/transforms/get.d.ts +2 -2
- package/api/transforms/preview.d.ts +3 -1
- package/api/transforms/preview.js +4 -2
- package/api/transforms/put.d.ts +3 -3
- package/api/transforms/put.js +1 -1
- package/api/transforms/start.d.ts +1 -1
- package/api/transforms/stop.d.ts +1 -1
- package/api/utils.js +1 -1
- package/api/wlm/_api.js +37 -0
- package/api/wlm/createQueryGroup.d.ts +30 -0
- package/api/wlm/createQueryGroup.js +47 -0
- package/api/wlm/deleteQueryGroup.d.ts +31 -0
- package/api/wlm/deleteQueryGroup.js +49 -0
- package/api/wlm/getQueryGroup.d.ts +32 -0
- package/api/wlm/getQueryGroup.js +48 -0
- package/api/wlm/updateQueryGroup.d.ts +31 -0
- package/api/wlm/updateQueryGroup.js +50 -0
- package/index.js +0 -2
- package/lib/Client.d.ts +1 -1
- package/lib/Client.js +1 -1
- package/lib/Serializer.js +1 -1
- package/package.json +3 -3
|
@@ -14,10 +14,93 @@
|
|
|
14
14
|
* modify the API generator.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import * as Common from './_common'
|
|
17
18
|
|
|
18
19
|
export type DefaultOperator = 'AND' | 'OR'
|
|
19
20
|
|
|
21
|
+
export type DeletedModel = {
|
|
22
|
+
model_id: string;
|
|
23
|
+
result: 'deleted' | 'error';
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type GraphMergeStats = {
|
|
27
|
+
current?: number;
|
|
28
|
+
current_docs?: number;
|
|
29
|
+
current_size_in_bytes?: Common.ByteCount;
|
|
30
|
+
total?: number;
|
|
31
|
+
total_docs?: number;
|
|
32
|
+
total_size_in_bytes?: Common.ByteCount;
|
|
33
|
+
total_time_in_millis?: Common.DurationValueUnitMillis;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export type GraphRefreshStats = {
|
|
37
|
+
total?: number;
|
|
38
|
+
total_time_in_millis?: Common.DurationValueUnitMillis;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export type GraphStats = {
|
|
42
|
+
merge?: GraphMergeStats;
|
|
43
|
+
refresh?: GraphRefreshStats;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type NodeStats = {
|
|
47
|
+
cache_capacity_reached?: boolean;
|
|
48
|
+
eviction_count?: number;
|
|
49
|
+
faiss_initialized?: boolean;
|
|
50
|
+
graph_index_errors?: number;
|
|
51
|
+
graph_index_requests?: number;
|
|
52
|
+
graph_memory_usage?: number;
|
|
53
|
+
graph_memory_usage_percentage?: Common.PercentageNumber;
|
|
54
|
+
graph_query_errors?: number;
|
|
55
|
+
graph_query_requests?: number;
|
|
56
|
+
graph_stats?: GraphStats;
|
|
57
|
+
hit_count?: number;
|
|
58
|
+
indexing_from_model_degraded?: boolean;
|
|
59
|
+
indices_in_cache?: Record<string, any>;
|
|
60
|
+
knn_query_requests?: number;
|
|
61
|
+
knn_query_with_filter_requests?: number;
|
|
62
|
+
load_exception_count?: number;
|
|
63
|
+
load_success_count?: number;
|
|
64
|
+
lucene_initialized?: boolean;
|
|
65
|
+
max_distance_query_requests?: number;
|
|
66
|
+
max_distance_query_with_filter_requests?: number;
|
|
67
|
+
min_score_query_requests?: number;
|
|
68
|
+
min_score_query_with_filter_requests?: number;
|
|
69
|
+
miss_count?: number;
|
|
70
|
+
nmslib_initialized?: boolean;
|
|
71
|
+
script_compilation_errors?: number;
|
|
72
|
+
script_compilations?: number;
|
|
73
|
+
script_query_errors?: number;
|
|
74
|
+
script_query_requests?: number;
|
|
75
|
+
total_load_time?: number;
|
|
76
|
+
training_errors?: number;
|
|
77
|
+
training_memory_usage?: number;
|
|
78
|
+
training_memory_usage_percentage?: Common.PercentageNumber;
|
|
79
|
+
training_requests?: number;
|
|
80
|
+
}
|
|
81
|
+
|
|
20
82
|
export type SearchType = 'dfs_query_then_fetch' | 'query_then_fetch'
|
|
21
83
|
|
|
84
|
+
export type Stats = {
|
|
85
|
+
_nodes?: Common.NodeStatistics;
|
|
86
|
+
circuit_breaker_triggered?: boolean;
|
|
87
|
+
cluster_name?: Common.Name;
|
|
88
|
+
model_index_status?: Common.HealthStatus | undefined;
|
|
89
|
+
nodes?: Record<string, NodeStats>;
|
|
90
|
+
}
|
|
91
|
+
|
|
22
92
|
export type SuggestMode = 'always' | 'missing' | 'popular'
|
|
23
93
|
|
|
94
|
+
export type TrainedModel = {
|
|
95
|
+
compression_level?: string;
|
|
96
|
+
description?: string;
|
|
97
|
+
dimension: number;
|
|
98
|
+
max_training_vector_count?: number;
|
|
99
|
+
method?: string;
|
|
100
|
+
mode?: string;
|
|
101
|
+
search_size?: number;
|
|
102
|
+
spaceType?: string;
|
|
103
|
+
training_field: string;
|
|
104
|
+
training_index: string;
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -16,12 +16,60 @@
|
|
|
16
16
|
|
|
17
17
|
import * as Common from './_common'
|
|
18
18
|
|
|
19
|
-
export
|
|
19
|
+
export type Action = {
|
|
20
|
+
action_type?: string;
|
|
21
|
+
headers?: Headers;
|
|
22
|
+
method?: string;
|
|
23
|
+
post_process_function?: string;
|
|
24
|
+
pre_process_function?: string;
|
|
25
|
+
request_body?: string;
|
|
26
|
+
url?: string;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export type ClientConfig = {
|
|
30
|
+
connection_timeout?: number;
|
|
31
|
+
max_connection?: number;
|
|
32
|
+
max_retry_times?: number;
|
|
33
|
+
read_timeout?: number;
|
|
34
|
+
retry_backoff_millis?: number;
|
|
35
|
+
retry_backoff_policy?: string;
|
|
36
|
+
retry_timeout_seconds?: number;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export type Credential = {
|
|
40
|
+
access_key?: string;
|
|
41
|
+
secret_key?: string;
|
|
42
|
+
session_token?: string;
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export type Headers = {
|
|
47
|
+
content_type?: string;
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export type HitsTotal = {
|
|
20
52
|
relation: string;
|
|
21
53
|
value: number;
|
|
22
54
|
}
|
|
23
55
|
|
|
24
|
-
export
|
|
56
|
+
export type LLM = {
|
|
57
|
+
model_id?: string;
|
|
58
|
+
parameters?: Parameters;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export type Memory = {
|
|
62
|
+
type?: string;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export type ModelConfig = {
|
|
66
|
+
all_config?: string;
|
|
67
|
+
embedding_dimension?: number;
|
|
68
|
+
framework_type?: string;
|
|
69
|
+
model_type?: string;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export type ModelGroup = {
|
|
25
73
|
access: string;
|
|
26
74
|
created_time?: number;
|
|
27
75
|
description: string;
|
|
@@ -30,32 +78,68 @@ export interface ModelGroup {
|
|
|
30
78
|
name: string;
|
|
31
79
|
}
|
|
32
80
|
|
|
33
|
-
export
|
|
81
|
+
export type ModelGroupRegistration = {
|
|
34
82
|
model_group_id: string;
|
|
35
83
|
status: string;
|
|
36
84
|
}
|
|
37
85
|
|
|
38
|
-
export
|
|
86
|
+
export type Parameters = Record<string, any>
|
|
87
|
+
|
|
88
|
+
export type SearchModelsHits = {
|
|
39
89
|
hits: SearchModelsHitsHit[];
|
|
90
|
+
max_score?: number;
|
|
40
91
|
total: HitsTotal;
|
|
41
92
|
}
|
|
42
93
|
|
|
43
|
-
export
|
|
44
|
-
_id
|
|
45
|
-
_index?:
|
|
46
|
-
|
|
94
|
+
export type SearchModelsHitsHit = {
|
|
95
|
+
_id?: Common.Id;
|
|
96
|
+
_index?: Common.IndexName;
|
|
97
|
+
_primary_term?: number;
|
|
98
|
+
_score: number;
|
|
99
|
+
_seq_no?: Common.SequenceNumber;
|
|
100
|
+
_source?: Source;
|
|
101
|
+
_version?: Common.VersionNumber;
|
|
102
|
+
model_id?: Common.Name;
|
|
47
103
|
}
|
|
48
104
|
|
|
49
|
-
export
|
|
50
|
-
|
|
51
|
-
|
|
105
|
+
export type SearchModelsResponse = {
|
|
106
|
+
_shards?: Common.ShardStatistics;
|
|
107
|
+
hits: SearchModelsHits;
|
|
108
|
+
timed_out?: boolean;
|
|
109
|
+
took?: number;
|
|
52
110
|
}
|
|
53
111
|
|
|
54
|
-
export
|
|
55
|
-
|
|
112
|
+
export type Source = {
|
|
113
|
+
algorithm?: string;
|
|
114
|
+
auto_redeploy_retry_times?: number;
|
|
115
|
+
chunk_number?: number;
|
|
116
|
+
connector_id?: string;
|
|
117
|
+
created_time?: number;
|
|
118
|
+
current_worker_node_count?: number;
|
|
119
|
+
deploy_to_all_nodes?: boolean;
|
|
120
|
+
description?: string;
|
|
121
|
+
is_hidden?: boolean;
|
|
122
|
+
last_deployed_time?: number;
|
|
123
|
+
last_registered_time?: number;
|
|
124
|
+
last_updated_time?: number;
|
|
125
|
+
model_config?: ModelConfig;
|
|
126
|
+
model_content_hash_value?: string;
|
|
127
|
+
model_content_size_in_bytes?: number;
|
|
128
|
+
model_format?: string;
|
|
129
|
+
model_group_id?: string;
|
|
130
|
+
model_id?: Common.Name;
|
|
131
|
+
model_state?: 'DEPLOYED' | 'DEPLOYING' | 'DEPLOY_FAILED' | 'PARTIALLY_DEPLOYED' | 'REGISTERED' | 'REGISTERING';
|
|
132
|
+
model_task_type?: string;
|
|
133
|
+
model_version?: string;
|
|
134
|
+
name?: string;
|
|
135
|
+
planning_worker_node_count?: number;
|
|
136
|
+
planning_worker_nodes?: Common.NodeIds[];
|
|
137
|
+
total_chunks?: number;
|
|
138
|
+
url?: string;
|
|
139
|
+
version?: Common.VersionString;
|
|
56
140
|
}
|
|
57
141
|
|
|
58
|
-
export
|
|
142
|
+
export type Task = {
|
|
59
143
|
create_time?: number;
|
|
60
144
|
error?: string;
|
|
61
145
|
function_name?: string;
|
|
@@ -68,7 +152,14 @@ export interface Task {
|
|
|
68
152
|
worker_node?: Common.NodeIds[];
|
|
69
153
|
}
|
|
70
154
|
|
|
71
|
-
export
|
|
155
|
+
export type ToolItems = {
|
|
156
|
+
name?: string;
|
|
157
|
+
parameters?: Parameters;
|
|
158
|
+
type?: string;
|
|
159
|
+
[key: string]: any;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type UndeployModelNode = {
|
|
72
163
|
stats?: UndeployModelNodeStats;
|
|
73
164
|
}
|
|
74
165
|
|