@opensearch-project/opensearch 3.0.0-beta.8 → 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 +38 -1
- package/api/OpenSearchApi.js +2 -0
- package/api/_core/bulk.d.ts +2 -2
- package/api/_core/bulkStream.d.ts +2 -2
- package/api/_core/clearScroll.d.ts +2 -2
- package/api/_core/count.d.ts +2 -2
- package/api/_core/create.d.ts +2 -2
- package/api/_core/createPit.d.ts +2 -2
- package/api/_core/delete.d.ts +2 -2
- package/api/_core/deleteAllPits.d.ts +1 -1
- package/api/_core/deleteByQuery.d.ts +2 -2
- package/api/_core/deleteByQueryRethrottle.d.ts +2 -2
- package/api/_core/deletePit.d.ts +2 -2
- package/api/_core/deleteScript.d.ts +2 -2
- package/api/_core/exists.d.ts +2 -2
- package/api/_core/existsSource.d.ts +2 -2
- package/api/_core/explain.d.ts +3 -2
- package/api/_core/fieldCaps.d.ts +2 -2
- package/api/_core/get.d.ts +2 -2
- package/api/_core/getAllPits.d.ts +1 -1
- package/api/_core/getScript.d.ts +2 -2
- package/api/_core/getScriptContext.d.ts +1 -1
- package/api/_core/getScriptLanguages.d.ts +1 -1
- package/api/_core/getSource.d.ts +2 -2
- package/api/_core/index.d.ts +2 -2
- package/api/_core/info.d.ts +1 -1
- package/api/_core/mget.d.ts +2 -2
- package/api/_core/msearch.d.ts +2 -2
- package/api/_core/msearch.js +1 -1
- package/api/_core/msearchTemplate.d.ts +2 -2
- package/api/_core/mtermvectors.d.ts +2 -2
- package/api/_core/ping.d.ts +1 -1
- package/api/_core/putScript.d.ts +2 -2
- package/api/_core/rankEval.d.ts +2 -2
- package/api/_core/reindex.d.ts +2 -2
- package/api/_core/reindexRethrottle.d.ts +2 -2
- package/api/_core/reindexRethrottle.js +1 -1
- package/api/_core/renderSearchTemplate.d.ts +4 -4
- package/api/_core/scriptsPainlessExecute.d.ts +3 -3
- package/api/_core/scroll.d.ts +3 -3
- package/api/_core/scroll.js +1 -1
- package/api/_core/search.d.ts +2 -2
- package/api/_core/searchShards.d.ts +13 -2
- package/api/_core/searchShards.js +1 -0
- package/api/_core/searchTemplate.d.ts +3 -2
- package/api/_core/searchTemplate.js +1 -1
- package/api/_core/termvectors.d.ts +4 -3
- package/api/_core/update.d.ts +2 -2
- package/api/_core/updateByQuery.d.ts +2 -2
- package/api/_core/updateByQueryRethrottle.d.ts +2 -2
- package/api/_types/_common.analysis.d.ts +12 -12
- package/api/_types/_common.d.ts +41 -29
- package/api/_types/_common.mapping.d.ts +2 -0
- package/api/_types/_common.query_dsl.d.ts +59 -68
- package/api/_types/_core.msearch_template.d.ts +1 -1
- package/api/_types/_core.mtermvectors.d.ts +1 -0
- package/api/_types/_core.rank_eval.d.ts +2 -1
- package/api/_types/_core.reindex_rethrottle.d.ts +2 -0
- package/api/_types/_core.scripts_painless_execute.d.ts +1 -1
- package/api/_types/_core.search.d.ts +7 -7
- package/api/_types/indices._common.d.ts +196 -58
- package/api/_types/indices.shard_stores.d.ts +1 -0
- package/api/_types/indices.simulate_template.d.ts +1 -1
- package/api/_types/ingest.simulate.d.ts +1 -1
- package/api/_types/knn._common.d.ts +83 -0
- package/api/_types/ml._common.d.ts +0 -27
- package/api/_types/nodes._common.d.ts +6 -3
- package/api/_types/nodes.info.d.ts +1 -1
- package/api/_types/nodes.usage.d.ts +3 -3
- package/api/_types/observability._common.d.ts +1 -1
- package/api/_types/rollups._common.d.ts +10 -26
- package/api/_types/security._common.d.ts +2 -0
- package/api/_types/sm._common.d.ts +198 -0
- package/api/_types/snapshot._common.d.ts +37 -33
- package/api/_types/tasks._common.d.ts +6 -2
- package/api/_types/transforms._common.d.ts +43 -28
- package/api/asynchronousSearch/delete.d.ts +2 -2
- package/api/asynchronousSearch/get.d.ts +2 -2
- package/api/asynchronousSearch/search.d.ts +2 -2
- 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 +7 -7
- package/api/cat/allPitSegments.d.ts +2 -2
- package/api/cat/allocation.d.ts +2 -2
- package/api/cat/allocation.js +10 -10
- 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/fielddata.d.ts +2 -2
- package/api/cat/fielddata.js +1 -1
- package/api/cat/health.d.ts +2 -2
- package/api/cat/help.d.ts +1 -1
- package/api/cat/indices.d.ts +2 -2
- package/api/cat/master.d.ts +2 -2
- package/api/cat/nodeattrs.d.ts +2 -2
- package/api/cat/nodes.d.ts +2 -2
- package/api/cat/pendingTasks.d.ts +2 -2
- package/api/cat/pitSegments.d.ts +2 -2
- package/api/cat/plugins.d.ts +2 -2
- package/api/cat/recovery.d.ts +2 -2
- package/api/cat/repositories.d.ts +2 -2
- package/api/cat/segmentReplication.d.ts +2 -2
- package/api/cat/segments.d.ts +2 -2
- package/api/cat/shards.d.ts +2 -2
- package/api/cat/snapshots.d.ts +2 -2
- package/api/cat/snapshots.js +1 -1
- package/api/cat/tasks.d.ts +2 -2
- package/api/cat/templates.d.ts +2 -2
- package/api/cat/threadPool.d.ts +2 -2
- package/api/cluster/allocationExplain.d.ts +2 -2
- package/api/cluster/deleteComponentTemplate.d.ts +2 -2
- package/api/cluster/deleteDecommissionAwareness.d.ts +1 -1
- package/api/cluster/deleteVotingConfigExclusions.d.ts +2 -2
- package/api/cluster/deleteWeightedRouting.d.ts +2 -2
- package/api/cluster/existsComponentTemplate.d.ts +2 -2
- package/api/cluster/getComponentTemplate.d.ts +2 -2
- package/api/cluster/getDecommissionAwareness.d.ts +2 -2
- package/api/cluster/getSettings.d.ts +2 -2
- package/api/cluster/getWeightedRouting.d.ts +2 -2
- package/api/cluster/health.d.ts +2 -2
- package/api/cluster/health.js +2 -2
- package/api/cluster/pendingTasks.d.ts +2 -2
- package/api/cluster/postVotingConfigExclusions.d.ts +2 -2
- package/api/cluster/postVotingConfigExclusions.js +2 -2
- package/api/cluster/putComponentTemplate.d.ts +2 -2
- package/api/cluster/putDecommissionAwareness.d.ts +2 -2
- package/api/cluster/putSettings.d.ts +2 -2
- package/api/cluster/putWeightedRouting.d.ts +2 -2
- package/api/cluster/remoteInfo.d.ts +1 -1
- package/api/cluster/reroute.d.ts +2 -2
- package/api/cluster/state.d.ts +2 -2
- package/api/cluster/state.js +3 -3
- package/api/cluster/stats.d.ts +2 -2
- package/api/cluster/stats.js +1 -1
- package/api/danglingIndices/deleteDanglingIndex.d.ts +2 -2
- package/api/danglingIndices/deleteDanglingIndex.js +4 -4
- package/api/danglingIndices/importDanglingIndex.d.ts +2 -2
- package/api/danglingIndices/importDanglingIndex.js +4 -4
- package/api/danglingIndices/listDanglingIndices.d.ts +1 -1
- package/api/flowFramework/create.d.ts +2 -2
- package/api/flowFramework/create.js +1 -1
- package/api/flowFramework/delete.d.ts +2 -2
- package/api/flowFramework/deprovision.d.ts +2 -2
- package/api/flowFramework/get.d.ts +2 -2
- package/api/flowFramework/getStatus.d.ts +2 -2
- package/api/flowFramework/getSteps.d.ts +2 -2
- package/api/flowFramework/provision.d.ts +2 -2
- package/api/flowFramework/search.d.ts +2 -2
- package/api/flowFramework/searchState.d.ts +2 -2
- package/api/flowFramework/update.d.ts +2 -2
- package/api/flowFramework/update.js +1 -1
- package/api/index.d.ts +28 -12
- package/api/indices/addBlock.d.ts +2 -2
- package/api/indices/addBlock.js +5 -5
- package/api/indices/analyze.d.ts +2 -2
- package/api/indices/clearCache.d.ts +2 -2
- package/api/indices/clone.d.ts +2 -2
- package/api/indices/clone.js +1 -1
- package/api/indices/close.d.ts +2 -2
- package/api/indices/create.d.ts +2 -2
- package/api/indices/createDataStream.d.ts +2 -2
- package/api/indices/dataStreamsStats.d.ts +5 -5
- package/api/indices/delete.d.ts +2 -2
- package/api/indices/deleteAlias.d.ts +2 -2
- package/api/indices/deleteDataStream.d.ts +2 -2
- package/api/indices/deleteIndexTemplate.d.ts +2 -2
- package/api/indices/deleteTemplate.d.ts +2 -2
- package/api/indices/exists.d.ts +2 -2
- package/api/indices/existsAlias.d.ts +2 -2
- package/api/indices/existsIndexTemplate.d.ts +2 -2
- package/api/indices/existsTemplate.d.ts +2 -2
- package/api/indices/flush.d.ts +2 -2
- package/api/indices/forcemerge.d.ts +3 -3
- package/api/indices/get.d.ts +2 -2
- package/api/indices/get.js +2 -2
- package/api/indices/getAlias.d.ts +2 -2
- package/api/indices/getDataStream.d.ts +2 -2
- package/api/indices/getFieldMapping.d.ts +2 -2
- package/api/indices/getIndexTemplate.d.ts +2 -2
- package/api/indices/getMapping.d.ts +2 -2
- package/api/indices/getSettings.d.ts +2 -2
- package/api/indices/getTemplate.d.ts +2 -2
- package/api/indices/getUpgrade.d.ts +4 -3
- package/api/indices/getUpgrade.js +1 -1
- package/api/indices/open.d.ts +2 -2
- package/api/indices/open.js +1 -1
- package/api/indices/putAlias.d.ts +2 -2
- package/api/indices/putIndexTemplate.d.ts +2 -2
- package/api/indices/putMapping.d.ts +2 -2
- package/api/indices/putSettings.d.ts +2 -2
- package/api/indices/putTemplate.d.ts +3 -3
- package/api/indices/recovery.d.ts +2 -2
- package/api/indices/refresh.d.ts +2 -2
- package/api/indices/resolveIndex.d.ts +2 -2
- package/api/indices/rollover.d.ts +2 -2
- package/api/indices/segments.d.ts +2 -2
- package/api/indices/shardStores.d.ts +2 -2
- package/api/indices/shardStores.js +1 -1
- package/api/indices/shrink.d.ts +2 -2
- package/api/indices/shrink.js +1 -1
- package/api/indices/simulateIndexTemplate.d.ts +2 -4
- package/api/indices/simulateIndexTemplate.js +0 -2
- package/api/indices/simulateTemplate.d.ts +2 -2
- package/api/indices/split.d.ts +2 -2
- package/api/indices/split.js +1 -1
- package/api/indices/stats.d.ts +2 -2
- package/api/indices/stats.js +2 -2
- package/api/indices/updateAliases.d.ts +2 -2
- package/api/indices/upgrade.d.ts +5 -3
- package/api/indices/upgrade.js +2 -1
- package/api/indices/validateQuery.d.ts +2 -2
- package/api/ingest/deletePipeline.d.ts +2 -2
- package/api/ingest/getPipeline.d.ts +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/simulate.d.ts +2 -2
- package/api/insights/topQueries.d.ts +2 -2
- package/api/ism/addPolicy.d.ts +2 -2
- package/api/ism/changePolicy.d.ts +2 -2
- package/api/ism/deletePolicy.d.ts +2 -2
- package/api/ism/existsPolicy.d.ts +2 -2
- package/api/ism/explainPolicy.d.ts +2 -2
- package/api/ism/explainPolicy.js +1 -1
- package/api/ism/getPolicies.d.ts +1 -1
- package/api/ism/getPolicy.d.ts +2 -2
- package/api/ism/putPolicies.d.ts +2 -2
- package/api/ism/putPolicy.d.ts +2 -2
- package/api/ism/refreshSearchAnalyzers.d.ts +2 -2
- package/api/ism/removePolicy.d.ts +2 -2
- package/api/ism/retryIndex.d.ts +2 -2
- package/api/knn/deleteModel.d.ts +4 -3
- package/api/knn/getModel.d.ts +2 -2
- package/api/knn/searchModels.d.ts +4 -3
- package/api/knn/searchModels.js +1 -1
- package/api/knn/stats.d.ts +5 -4
- package/api/knn/trainModel.d.ts +4 -16
- package/api/knn/trainModel.js +4 -4
- package/api/knn/warmup.d.ts +4 -3
- package/api/list/help.d.ts +1 -1
- package/api/list/indices.d.ts +2 -2
- package/api/list/shards.d.ts +2 -2
- package/api/ml/createConnector.d.ts +14 -3
- package/api/ml/deleteAgent.d.ts +2 -2
- package/api/ml/deleteConnector.d.ts +2 -2
- package/api/ml/deleteModel.d.ts +2 -2
- package/api/ml/deleteModelGroup.d.ts +2 -2
- package/api/ml/deleteTask.d.ts +2 -2
- package/api/ml/deployModel.d.ts +2 -2
- package/api/ml/getModelGroup.d.ts +2 -2
- package/api/ml/getTask.d.ts +2 -2
- package/api/ml/registerAgents.d.ts +14 -3
- package/api/ml/registerModel.d.ts +2 -2
- package/api/ml/registerModelGroup.d.ts +2 -2
- package/api/ml/searchModels.d.ts +8 -3
- package/api/ml/undeployModel.d.ts +2 -2
- package/api/nodes/hotThreads.d.ts +2 -2
- package/api/nodes/hotThreads.js +1 -1
- package/api/nodes/info.d.ts +2 -2
- package/api/nodes/info.js +1 -1
- package/api/nodes/reloadSecureSettings.d.ts +2 -2
- package/api/nodes/reloadSecureSettings.js +1 -1
- package/api/nodes/stats.d.ts +2 -2
- package/api/nodes/stats.js +2 -2
- package/api/nodes/usage.d.ts +2 -2
- package/api/notifications/createConfig.d.ts +2 -2
- package/api/notifications/deleteConfig.d.ts +2 -2
- package/api/notifications/deleteConfigs.d.ts +2 -2
- package/api/notifications/getConfig.d.ts +2 -2
- package/api/notifications/getConfigs.d.ts +2 -2
- package/api/notifications/listChannels.d.ts +1 -1
- package/api/notifications/listFeatures.d.ts +1 -1
- package/api/notifications/sendTest.d.ts +2 -2
- package/api/notifications/updateConfig.d.ts +2 -2
- package/api/observability/createObject.d.ts +2 -2
- package/api/observability/deleteObject.d.ts +2 -2
- package/api/observability/deleteObjects.d.ts +2 -2
- package/api/observability/getLocalstats.d.ts +2 -2
- package/api/observability/getLocalstats.js +1 -1
- package/api/observability/getObject.d.ts +2 -2
- package/api/observability/listObjects.d.ts +1 -1
- package/api/observability/updateObject.d.ts +2 -2
- package/api/ppl/explain.d.ts +2 -2
- package/api/ppl/getStats.d.ts +2 -2
- package/api/ppl/postStats.d.ts +2 -2
- package/api/ppl/query.d.ts +2 -2
- package/api/query/datasourceDelete.d.ts +2 -2
- package/api/query/datasourceRetrieve.d.ts +2 -2
- package/api/query/datasourcesCreate.d.ts +2 -2
- package/api/query/datasourcesList.d.ts +1 -1
- package/api/query/datasourcesUpdate.d.ts +2 -2
- package/api/remoteStore/restore.d.ts +2 -2
- package/api/replication/autofollowStats.d.ts +1 -1
- package/api/replication/createReplicationRule.d.ts +2 -2
- package/api/replication/deleteReplicationRule.d.ts +2 -2
- package/api/replication/followerStats.d.ts +1 -1
- package/api/replication/leaderStats.d.ts +1 -1
- package/api/replication/pause.d.ts +2 -2
- package/api/replication/resume.d.ts +2 -2
- package/api/replication/start.d.ts +2 -2
- package/api/replication/status.d.ts +2 -2
- package/api/replication/stop.d.ts +2 -2
- package/api/replication/updateSettings.d.ts +2 -2
- package/api/rollups/delete.d.ts +3 -3
- package/api/rollups/explain.d.ts +2 -2
- package/api/rollups/get.d.ts +2 -2
- package/api/rollups/put.d.ts +2 -2
- package/api/rollups/start.d.ts +3 -3
- package/api/rollups/stop.d.ts +3 -3
- package/api/searchPipeline/delete.d.ts +2 -2
- package/api/searchPipeline/get.d.ts +2 -2
- package/api/searchPipeline/put.d.ts +2 -2
- package/api/security/authinfo.d.ts +2 -2
- package/api/security/authtoken.d.ts +1 -1
- package/api/security/changePassword.d.ts +2 -2
- package/api/security/configUpgradeCheck.d.ts +1 -1
- package/api/security/configUpgradePerform.d.ts +2 -2
- package/api/security/createActionGroup.d.ts +2 -2
- package/api/security/createAllowlist.d.ts +2 -2
- package/api/security/createRole.d.ts +2 -2
- package/api/security/createRoleMapping.d.ts +2 -2
- package/api/security/createTenant.d.ts +2 -2
- package/api/security/createUpdateTenancyConfig.d.ts +2 -2
- package/api/security/createUser.d.ts +2 -2
- package/api/security/createUserLegacy.d.ts +2 -2
- package/api/security/deleteActionGroup.d.ts +2 -2
- package/api/security/deleteDistinguishedName.d.ts +2 -2
- package/api/security/deleteRole.d.ts +2 -2
- package/api/security/deleteRoleMapping.d.ts +2 -2
- package/api/security/deleteTenant.d.ts +2 -2
- package/api/security/deleteUser.d.ts +2 -2
- package/api/security/deleteUserLegacy.d.ts +2 -2
- package/api/security/flushCache.d.ts +1 -1
- package/api/security/generateOboToken.d.ts +2 -2
- package/api/security/generateUserToken.d.ts +2 -2
- package/api/security/generateUserTokenLegacy.d.ts +2 -2
- package/api/security/generateUserTokenLegacy.js +1 -1
- package/api/security/getAccountDetails.d.ts +1 -1
- package/api/security/getActionGroup.d.ts +2 -2
- package/api/security/getActionGroups.d.ts +1 -1
- package/api/security/getAllCertificates.d.ts +2 -2
- package/api/security/getAllowlist.d.ts +1 -1
- package/api/security/getAuditConfiguration.d.ts +1 -1
- package/api/security/getCertificates.d.ts +1 -1
- package/api/security/getConfiguration.d.ts +1 -1
- package/api/security/getDashboardsInfo.d.ts +1 -1
- package/api/security/getDistinguishedName.d.ts +3 -3
- package/api/security/getDistinguishedName.js +1 -1
- package/api/security/getDistinguishedNames.d.ts +2 -2
- package/api/security/getDistinguishedNames.js +1 -1
- package/api/security/getNodeCertificates.d.ts +2 -2
- package/api/security/getPermissionsInfo.d.ts +1 -1
- package/api/security/getRole.d.ts +2 -2
- package/api/security/getRoleMapping.d.ts +2 -2
- package/api/security/getRoleMappings.d.ts +1 -1
- package/api/security/getRoles.d.ts +1 -1
- package/api/security/getSslinfo.d.ts +2 -2
- package/api/security/getSslinfo.js +1 -1
- package/api/security/getTenancyConfig.d.ts +1 -1
- package/api/security/getTenant.d.ts +2 -2
- package/api/security/getTenants.d.ts +1 -1
- package/api/security/getUser.d.ts +2 -2
- package/api/security/getUserLegacy.d.ts +2 -2
- package/api/security/getUsers.d.ts +1 -1
- package/api/security/getUsersLegacy.d.ts +1 -1
- package/api/security/health.d.ts +2 -2
- package/api/security/health.js +1 -1
- package/api/security/migrate.d.ts +1 -1
- package/api/security/patchActionGroup.d.ts +2 -2
- package/api/security/patchActionGroups.d.ts +2 -2
- package/api/security/patchAllowlist.d.ts +2 -2
- package/api/security/patchAuditConfiguration.d.ts +2 -2
- package/api/security/patchConfiguration.d.ts +2 -2
- package/api/security/patchConfiguration.js +1 -1
- package/api/security/patchDistinguishedName.d.ts +3 -3
- package/api/security/patchDistinguishedName.js +2 -2
- package/api/security/patchDistinguishedNames.d.ts +2 -2
- package/api/security/patchRole.d.ts +2 -2
- package/api/security/patchRoleMapping.d.ts +2 -2
- package/api/security/patchRoleMappings.d.ts +2 -2
- package/api/security/patchRoles.d.ts +2 -2
- package/api/security/patchTenant.d.ts +2 -2
- package/api/security/patchTenants.d.ts +2 -2
- package/api/security/patchUser.d.ts +2 -2
- package/api/security/patchUsers.d.ts +2 -2
- package/api/security/postDashboardsInfo.d.ts +1 -1
- package/api/security/reloadHttpCertificates.d.ts +1 -1
- package/api/security/reloadTransportCertificates.d.ts +1 -1
- package/api/security/tenantInfo.d.ts +1 -1
- package/api/security/updateAuditConfiguration.d.ts +2 -2
- package/api/security/updateConfiguration.d.ts +2 -2
- package/api/security/updateConfiguration.js +1 -1
- package/api/security/updateDistinguishedName.d.ts +2 -2
- package/api/security/updateDistinguishedName.js +1 -1
- package/api/security/validate.d.ts +2 -2
- package/api/security/validate.js +1 -1
- package/api/security/whoAmI.d.ts +1 -1
- package/api/security/whoAmIProtected.d.ts +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/{_types/indices.data_streams_stats.d.ts → sm/stopPolicy.d.ts} +12 -7
- 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/clone.d.ts +2 -2
- package/api/snapshot/create.d.ts +2 -2
- package/api/snapshot/createRepository.d.ts +2 -2
- package/api/snapshot/delete.d.ts +2 -2
- package/api/snapshot/deleteRepository.d.ts +2 -2
- package/api/snapshot/get.d.ts +2 -2
- package/api/snapshot/get.js +1 -1
- package/api/snapshot/getRepository.d.ts +2 -2
- package/api/snapshot/restore.d.ts +6 -3
- package/api/snapshot/status.d.ts +3 -3
- package/api/snapshot/verifyRepository.d.ts +2 -2
- package/api/sql/close.d.ts +2 -2
- package/api/sql/explain.d.ts +2 -2
- package/api/sql/getStats.d.ts +2 -2
- package/api/sql/postStats.d.ts +2 -2
- package/api/sql/query.d.ts +2 -2
- package/api/sql/settings.d.ts +2 -2
- package/api/tasks/cancel.d.ts +2 -2
- package/api/tasks/get.d.ts +2 -2
- package/api/tasks/list.d.ts +2 -2
- package/api/transforms/delete.d.ts +4 -3
- package/api/transforms/explain.d.ts +2 -2
- package/api/transforms/get.d.ts +3 -3
- package/api/transforms/preview.d.ts +3 -7
- package/api/transforms/put.d.ts +4 -4
- package/api/transforms/put.js +1 -1
- package/api/transforms/search.d.ts +2 -2
- package/api/transforms/start.d.ts +2 -2
- package/api/transforms/stop.d.ts +2 -2
- package/api/wlm/createQueryGroup.d.ts +2 -2
- package/api/wlm/deleteQueryGroup.d.ts +2 -2
- package/api/wlm/getQueryGroup.d.ts +2 -2
- package/api/wlm/updateQueryGroup.d.ts +2 -2
- package/package.json +1 -1
package/api/cluster/health.js
CHANGED
|
@@ -34,8 +34,8 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
34
34
|
* @param {string} [params.timeout] - Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
|
|
35
35
|
* @param {string} [params.wait_for_active_shards] - A number controlling to how many active shards to wait for, all to wait for all shards in the cluster to be active, or 0 to not wait.
|
|
36
36
|
* @param {string} [params.wait_for_events] - Can be one of immediate, urgent, high, normal, low, languid. Wait until all currently queued events with the given priority are processed.
|
|
37
|
-
* @param {boolean} [params.wait_for_no_initializing_shards] - A
|
|
38
|
-
* @param {boolean} [params.wait_for_no_relocating_shards] - A
|
|
37
|
+
* @param {boolean} [params.wait_for_no_initializing_shards] - A Boolean value which controls whether to wait (until the timeout provided) for the cluster to have no shard initializations. Defaults to false, which means it will not wait for initializing shards.
|
|
38
|
+
* @param {boolean} [params.wait_for_no_relocating_shards] - A Boolean value which controls whether to wait (until the timeout provided) for the cluster to have no shard relocations. Defaults to false, which means it will not wait for relocating shards.
|
|
39
39
|
* @param {string} [params.wait_for_nodes] - The request waits until the specified number N of nodes is available. It also accepts >=N, <=N, >N and <N. Alternatively, it is possible to use ge(N), le(N), gt(N) and lt(N) notation.
|
|
40
40
|
* @param {string} [params.wait_for_status] - One of green, yellow or red. Will wait (until the timeout provided) until the status of the cluster changes to the one provided or better, i.e. green > yellow > red. By default, will not wait for any status.
|
|
41
41
|
* @param {string} [params.index] - Comma-separated list of data streams, indexes, and index aliases used to limit the request. Wildcard expressions (*) are supported. To target all data streams and indexes in a cluster, omit this parameter or use `_all` or `*`.
|
|
@@ -19,13 +19,13 @@ import * as Cluster_PendingTasks from '../_types/cluster.pending_tasks'
|
|
|
19
19
|
import * as Common from '../_types/_common'
|
|
20
20
|
import * as Global from '../_types/_global'
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export interface Cluster_PendingTasks_Request extends Global.Params {
|
|
23
23
|
cluster_manager_timeout?: Common.Duration;
|
|
24
24
|
local?: boolean;
|
|
25
25
|
master_timeout?: Common.Duration;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
export
|
|
28
|
+
export interface Cluster_PendingTasks_Response extends ApiResponse {
|
|
29
29
|
body: Cluster_PendingTasks_ResponseBody;
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -18,13 +18,13 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as Common from '../_types/_common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface Cluster_PostVotingConfigExclusions_Request extends Global.Params {
|
|
22
22
|
node_ids?: Common.Ids;
|
|
23
23
|
node_names?: Common.Names;
|
|
24
24
|
timeout?: Common.Duration;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
export
|
|
27
|
+
export interface Cluster_PostVotingConfigExclusions_Response extends ApiResponse {
|
|
28
28
|
body: Cluster_PostVotingConfigExclusions_ResponseBody;
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -25,8 +25,8 @@ const { normalizeArguments } = require('../utils');
|
|
|
25
25
|
* @memberOf API-Cluster
|
|
26
26
|
*
|
|
27
27
|
* @param {object} [params]
|
|
28
|
-
* @param {string} [params.node_ids] - A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify node_names
|
|
29
|
-
* @param {string} [params.node_names] - A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify node_ids
|
|
28
|
+
* @param {string} [params.node_ids] - A comma-separated list of the persistent ids of the nodes to exclude from the voting configuration. If specified, you may not also specify `node_names`.
|
|
29
|
+
* @param {string} [params.node_names] - A comma-separated list of the names of the nodes to exclude from the voting configuration. If specified, you may not also specify `node_ids`.
|
|
30
30
|
* @param {string} [params.timeout] - When adding a voting configuration exclusion, the API waits for the specified nodes to be excluded from the voting configuration before returning. If the timeout expires before the appropriate condition is satisfied, the request fails and returns an error.
|
|
31
31
|
*
|
|
32
32
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -19,7 +19,7 @@ import * as Common from '../_types/_common'
|
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
import * as Indices_Common from '../_types/indices._common'
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export interface Cluster_PutComponentTemplate_Request extends Global.Params {
|
|
23
23
|
body: Cluster_PutComponentTemplate_RequestBody;
|
|
24
24
|
cluster_manager_timeout?: Common.Duration;
|
|
25
25
|
create?: boolean;
|
|
@@ -35,7 +35,7 @@ export type Cluster_PutComponentTemplate_RequestBody = {
|
|
|
35
35
|
version?: Common.VersionNumber;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
-
export
|
|
38
|
+
export interface Cluster_PutComponentTemplate_Response extends ApiResponse {
|
|
39
39
|
body: Cluster_PutComponentTemplate_ResponseBody;
|
|
40
40
|
}
|
|
41
41
|
|
|
@@ -18,12 +18,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as Common from '../_types/_common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface Cluster_PutDecommissionAwareness_Request extends Global.Params {
|
|
22
22
|
awareness_attribute_name: string;
|
|
23
23
|
awareness_attribute_value: string;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
26
|
+
export interface Cluster_PutDecommissionAwareness_Response extends ApiResponse {
|
|
27
27
|
body: Cluster_PutDecommissionAwareness_ResponseBody;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -18,7 +18,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as Common from '../_types/_common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface Cluster_PutSettings_Request extends Global.Params {
|
|
22
22
|
body: Cluster_PutSettings_RequestBody;
|
|
23
23
|
cluster_manager_timeout?: Common.Duration;
|
|
24
24
|
flat_settings?: boolean;
|
|
@@ -33,7 +33,7 @@ export type Cluster_PutSettings_RequestBody = {
|
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export
|
|
36
|
+
export interface Cluster_PutSettings_Response extends ApiResponse {
|
|
37
37
|
body: Cluster_PutSettings_ResponseBody;
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -18,12 +18,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as Cluster_WeightedRouting from '../_types/cluster.weighted_routing'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface Cluster_PutWeightedRouting_Request extends Global.Params {
|
|
22
22
|
attribute: string;
|
|
23
23
|
body?: Cluster_WeightedRouting.Weights;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
26
|
+
export interface Cluster_PutWeightedRouting_Response extends ApiResponse {
|
|
27
27
|
body: Cluster_PutWeightedRouting_ResponseBody;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -20,7 +20,7 @@ import * as Global from '../_types/_global'
|
|
|
20
20
|
|
|
21
21
|
export type Cluster_RemoteInfo_Request = Global.Params & Record<string, any>
|
|
22
22
|
|
|
23
|
-
export
|
|
23
|
+
export interface Cluster_RemoteInfo_Response extends ApiResponse {
|
|
24
24
|
body: Cluster_RemoteInfo_ResponseBody;
|
|
25
25
|
}
|
|
26
26
|
|
package/api/cluster/reroute.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as Cluster_Reroute from '../_types/cluster.reroute'
|
|
|
19
19
|
import * as Common from '../_types/_common'
|
|
20
20
|
import * as Global from '../_types/_global'
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export interface Cluster_Reroute_Request extends Global.Params {
|
|
23
23
|
body?: Cluster_Reroute_RequestBody;
|
|
24
24
|
cluster_manager_timeout?: Common.Duration;
|
|
25
25
|
dry_run?: boolean;
|
|
@@ -34,7 +34,7 @@ export type Cluster_Reroute_RequestBody = {
|
|
|
34
34
|
commands?: Cluster_Reroute.Command[];
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
export
|
|
37
|
+
export interface Cluster_Reroute_Response extends ApiResponse {
|
|
38
38
|
body: Cluster_Reroute_ResponseBody;
|
|
39
39
|
}
|
|
40
40
|
|
package/api/cluster/state.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as Cluster_State from '../_types/cluster.state'
|
|
|
19
19
|
import * as Common from '../_types/_common'
|
|
20
20
|
import * as Global from '../_types/_global'
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export interface Cluster_State_Request extends Global.Params {
|
|
23
23
|
allow_no_indices?: boolean;
|
|
24
24
|
cluster_manager_timeout?: Common.Duration;
|
|
25
25
|
expand_wildcards?: Common.ExpandWildcards;
|
|
@@ -33,7 +33,7 @@ export type Cluster_State_Request = Global.Params & {
|
|
|
33
33
|
wait_for_timeout?: Common.Duration;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
export
|
|
36
|
+
export interface Cluster_State_Response extends ApiResponse {
|
|
37
37
|
body: Cluster_State_ResponseBody;
|
|
38
38
|
}
|
|
39
39
|
|
package/api/cluster/state.js
CHANGED
|
@@ -31,9 +31,9 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
31
31
|
* @param {boolean} [params.flat_settings=false] - Return settings in flat format.
|
|
32
32
|
* @param {boolean} [params.ignore_unavailable] - Whether specified concrete indexes should be ignored when unavailable (missing or closed)
|
|
33
33
|
* @param {boolean} [params.local=false] - Return local information, do not retrieve the state from cluster-manager node.
|
|
34
|
-
* @param {string} [params.master_timeout] DEPRECATED - Specify timeout for connection to
|
|
35
|
-
* @param {number} [params.wait_for_metadata_version] - Wait for the metadata version to be equal or greater than the specified metadata version
|
|
36
|
-
* @param {string} [params.wait_for_timeout] - The maximum time to wait for wait_for_metadata_version before timing out
|
|
34
|
+
* @param {string} [params.master_timeout] DEPRECATED - Specify timeout for connection to cluster manager.
|
|
35
|
+
* @param {number} [params.wait_for_metadata_version] - Wait for the metadata version to be equal or greater than the specified metadata version.
|
|
36
|
+
* @param {string} [params.wait_for_timeout] - The maximum time to wait for `wait_for_metadata_version` before timing out.
|
|
37
37
|
* @param {array} [params.metric] - Limit the information returned to the specified metrics
|
|
38
38
|
* @param {string} [params.index] - A comma-separated list of index names; use `_all` or empty string to perform the operation on all indexes
|
|
39
39
|
*
|
package/api/cluster/stats.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as Cluster_Stats from '../_types/cluster.stats'
|
|
|
19
19
|
import * as Common from '../_types/_common'
|
|
20
20
|
import * as Global from '../_types/_global'
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export interface Cluster_Stats_Request extends Global.Params {
|
|
23
23
|
flat_settings?: boolean;
|
|
24
24
|
index_metric?: Cluster_Stats.IndexMetric[];
|
|
25
25
|
metric?: Cluster_Stats.Metric[];
|
|
@@ -27,7 +27,7 @@ export type Cluster_Stats_Request = Global.Params & {
|
|
|
27
27
|
timeout?: Common.Duration;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export
|
|
30
|
+
export interface Cluster_Stats_Response extends ApiResponse {
|
|
31
31
|
body: Cluster_Stats_ResponseBody;
|
|
32
32
|
}
|
|
33
33
|
|
package/api/cluster/stats.js
CHANGED
|
@@ -28,7 +28,7 @@ const { normalizeArguments, parsePathParam } = require('../utils');
|
|
|
28
28
|
* @param {boolean} [params.flat_settings=false] - If `true`, returns settings in flat format.
|
|
29
29
|
* @param {string} [params.timeout] - Period to wait for each node to respond. If a node does not respond before its timeout expires, the response does not include its stats. However, timed out nodes are included in the response's `_nodes.failed` property. Defaults to no timeout.
|
|
30
30
|
* @param {array} [params.index_metric] - Limit the information returned for indexes metric to the specific index metrics. It can be used only if indexes (or all) metric is specified.
|
|
31
|
-
* @param {array} [params.metric] - Limit the information returned to the specified metrics
|
|
31
|
+
* @param {array} [params.metric] - Limit the information returned to the specified metrics.
|
|
32
32
|
* @param {string} [params.node_id] - Comma-separated list of node filters used to limit returned information. Defaults to all nodes in the cluster.
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
@@ -18,7 +18,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as Common from '../_types/_common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface DanglingIndices_DeleteDanglingIndex_Request extends Global.Params {
|
|
22
22
|
accept_data_loss: boolean;
|
|
23
23
|
cluster_manager_timeout?: Common.Duration;
|
|
24
24
|
index_uuid: Common.Uuid;
|
|
@@ -26,7 +26,7 @@ export type DanglingIndices_DeleteDanglingIndex_Request = Global.Params & {
|
|
|
26
26
|
timeout?: Common.Duration;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export
|
|
29
|
+
export interface DanglingIndices_DeleteDanglingIndex_Response extends ApiResponse {
|
|
30
30
|
body: DanglingIndices_DeleteDanglingIndex_ResponseBody;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -25,11 +25,11 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Dangling-Indices
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {boolean} params.accept_data_loss - Must be set to true in order to delete the dangling index
|
|
28
|
+
* @param {boolean} params.accept_data_loss - Must be set to true in order to delete the dangling index.
|
|
29
29
|
* @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
|
|
30
|
-
* @param {string} [params.master_timeout] DEPRECATED - Specify timeout for connection to
|
|
31
|
-
* @param {string} [params.timeout] - Explicit operation timeout
|
|
32
|
-
* @param {string} params.index_uuid - The UUID of the dangling index
|
|
30
|
+
* @param {string} [params.master_timeout] DEPRECATED - Specify timeout for connection to cluster manager.
|
|
31
|
+
* @param {string} [params.timeout] - Explicit operation timeout.
|
|
32
|
+
* @param {string} params.index_uuid - The UUID of the dangling index.
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
35
35
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -18,7 +18,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as Common from '../_types/_common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface DanglingIndices_ImportDanglingIndex_Request extends Global.Params {
|
|
22
22
|
accept_data_loss: boolean;
|
|
23
23
|
cluster_manager_timeout?: Common.Duration;
|
|
24
24
|
index_uuid: Common.Uuid;
|
|
@@ -26,7 +26,7 @@ export type DanglingIndices_ImportDanglingIndex_Request = Global.Params & {
|
|
|
26
26
|
timeout?: Common.Duration;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
export
|
|
29
|
+
export interface DanglingIndices_ImportDanglingIndex_Response extends ApiResponse {
|
|
30
30
|
body: DanglingIndices_ImportDanglingIndex_ResponseBody;
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -25,11 +25,11 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
25
25
|
* @memberOf API-Dangling-Indices
|
|
26
26
|
*
|
|
27
27
|
* @param {object} params
|
|
28
|
-
* @param {boolean} params.accept_data_loss - Must be set to true in order to import the dangling index
|
|
28
|
+
* @param {boolean} params.accept_data_loss - Must be set to true in order to import the dangling index.
|
|
29
29
|
* @param {string} [params.cluster_manager_timeout] - Operation timeout for connection to cluster-manager node.
|
|
30
|
-
* @param {string} [params.master_timeout] DEPRECATED - Specify timeout for connection to
|
|
31
|
-
* @param {string} [params.timeout] - Explicit operation timeout
|
|
32
|
-
* @param {string} params.index_uuid - The UUID of the dangling index
|
|
30
|
+
* @param {string} [params.master_timeout] DEPRECATED - Specify timeout for connection to cluster manager.
|
|
31
|
+
* @param {string} [params.timeout] - Explicit operation timeout.
|
|
32
|
+
* @param {string} params.index_uuid - The UUID of the dangling index.
|
|
33
33
|
*
|
|
34
34
|
* @param {TransportRequestOptions} [options] - Options for {@link Transport#request}
|
|
35
35
|
* @param {function} [callback] - Callback that handles errors and response
|
|
@@ -21,7 +21,7 @@ import * as Global from '../_types/_global'
|
|
|
21
21
|
|
|
22
22
|
export type DanglingIndices_ListDanglingIndices_Request = Global.Params & Record<string, any>
|
|
23
23
|
|
|
24
|
-
export
|
|
24
|
+
export interface DanglingIndices_ListDanglingIndices_Response extends ApiResponse {
|
|
25
25
|
body: DanglingIndices_ListDanglingIndices_ResponseBody;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -18,7 +18,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_Create_Request extends Global.Params {
|
|
22
22
|
body?: FlowFramework_Common.FlowFrameworkCreate;
|
|
23
23
|
provision?: FlowFramework_Common.Provision;
|
|
24
24
|
reprovision?: FlowFramework_Common.Reprovision;
|
|
@@ -27,7 +27,7 @@ export type FlowFramework_Create_Request = Global.Params & {
|
|
|
27
27
|
validation?: FlowFramework_Common.Validation;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
export
|
|
30
|
+
export interface FlowFramework_Create_Response extends ApiResponse {
|
|
31
31
|
body: FlowFramework_Create_ResponseBody;
|
|
32
32
|
}
|
|
33
33
|
|
|
@@ -28,7 +28,7 @@ const { normalizeArguments } = require('../utils');
|
|
|
28
28
|
* @param {boolean} [params.provision=false] - Provision the workflow as part of the request.
|
|
29
29
|
* @param {boolean} [params.reprovision=false]
|
|
30
30
|
* @param {boolean} [params.update_fields=false] - Update only the fields included in the request body.
|
|
31
|
-
* @param {string} [params.use_case] - To use a workflow template, specify it in the use_case query parameter when creating a workflow.
|
|
31
|
+
* @param {string} [params.use_case] - To use a workflow template, specify it in the `use_case` query parameter when creating a workflow.
|
|
32
32
|
* @param {string} [params.validation=all] - Validate the workflow. Valid values are all (validate the template) and none (do not validate the template). Default is all.
|
|
33
33
|
* @param {object} [params.body]
|
|
34
34
|
*
|
|
@@ -18,12 +18,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_Delete_Request extends Global.Params {
|
|
22
22
|
clear_status?: boolean;
|
|
23
23
|
workflow_id: FlowFramework_Common.WorkflowID;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
26
|
+
export interface FlowFramework_Delete_Response extends ApiResponse {
|
|
27
27
|
body: FlowFramework_Delete_ResponseBody;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -18,12 +18,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_Deprovision_Request extends Global.Params {
|
|
22
22
|
allow_delete?: FlowFramework_Common.AllowDelete;
|
|
23
23
|
workflow_id: FlowFramework_Common.WorkflowID;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
26
|
+
export interface FlowFramework_Deprovision_Response extends ApiResponse {
|
|
27
27
|
body: FlowFramework_Deprovision_ResponseBody;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -18,11 +18,11 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_Get_Request extends Global.Params {
|
|
22
22
|
workflow_id: FlowFramework_Common.WorkflowID;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export
|
|
25
|
+
export interface FlowFramework_Get_Response extends ApiResponse {
|
|
26
26
|
body: FlowFramework_Get_ResponseBody;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -18,12 +18,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_GetStatus_Request extends Global.Params {
|
|
22
22
|
all?: FlowFramework_Common.All;
|
|
23
23
|
workflow_id: FlowFramework_Common.WorkflowID;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
26
|
+
export interface FlowFramework_GetStatus_Response extends ApiResponse {
|
|
27
27
|
body: FlowFramework_GetStatus_ResponseBody;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -18,11 +18,11 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_GetSteps_Request extends Global.Params {
|
|
22
22
|
workflow_step?: FlowFramework_Common.WorkflowStepName;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export
|
|
25
|
+
export interface FlowFramework_GetSteps_Response extends ApiResponse {
|
|
26
26
|
body: FlowFramework_GetSteps_ResponseBody;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -18,12 +18,12 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_Provision_Request extends Global.Params {
|
|
22
22
|
body?: FlowFramework_Common.UserProvidedSubstitutionExpressions;
|
|
23
23
|
workflow_id: FlowFramework_Common.WorkflowID;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export
|
|
26
|
+
export interface FlowFramework_Provision_Response extends ApiResponse {
|
|
27
27
|
body: FlowFramework_Provision_ResponseBody;
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -18,11 +18,11 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_Search_Request extends Global.Params {
|
|
22
22
|
body: FlowFramework_Common.SearchWorkflowRequest;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export
|
|
25
|
+
export interface FlowFramework_Search_Response extends ApiResponse {
|
|
26
26
|
body: FlowFramework_Search_ResponseBody;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -18,11 +18,11 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_SearchState_Request extends Global.Params {
|
|
22
22
|
body: FlowFramework_Common.SearchWorkflowRequest;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
export
|
|
25
|
+
export interface FlowFramework_SearchState_Response extends ApiResponse {
|
|
26
26
|
body: FlowFramework_SearchState_ResponseBody;
|
|
27
27
|
}
|
|
28
28
|
|
|
@@ -18,7 +18,7 @@ import { ApiResponse } from '../../lib/Transport'
|
|
|
18
18
|
import * as FlowFramework_Common from '../_types/flow_framework.common'
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
|
|
21
|
-
export
|
|
21
|
+
export interface FlowFramework_Update_Request extends Global.Params {
|
|
22
22
|
body?: FlowFramework_Common.FlowFrameworkUpdate;
|
|
23
23
|
provision?: FlowFramework_Common.Provision;
|
|
24
24
|
reprovision?: FlowFramework_Common.Reprovision;
|
|
@@ -28,7 +28,7 @@ export type FlowFramework_Update_Request = Global.Params & {
|
|
|
28
28
|
workflow_id: FlowFramework_Common.WorkflowID;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
export
|
|
31
|
+
export interface FlowFramework_Update_Response extends ApiResponse {
|
|
32
32
|
body: FlowFramework_Update_ResponseBody;
|
|
33
33
|
}
|
|
34
34
|
|
|
@@ -28,7 +28,7 @@ const { normalizeArguments, parsePathParam, handleMissingParam } = require('../u
|
|
|
28
28
|
* @param {boolean} [params.provision=false] - Provision the workflow as part of the request.
|
|
29
29
|
* @param {boolean} [params.reprovision=false]
|
|
30
30
|
* @param {boolean} [params.update_fields=false] - Update only the fields included in the request body.
|
|
31
|
-
* @param {string} [params.use_case] - To use a workflow template, specify it in the use_case query parameter when creating a workflow.
|
|
31
|
+
* @param {string} [params.use_case] - To use a workflow template, specify it in the `use_case` query parameter when creating a workflow.
|
|
32
32
|
* @param {string} [params.validation=all] - Validate the workflow. Valid values are all (validate the template) and none (do not validate the template). Default is all.
|
|
33
33
|
* @param {string} params.workflow_id
|
|
34
34
|
* @param {object} [params.body]
|
package/api/index.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ import { GetScript_Request, GetScript_Response, GetScript_ResponseBody } from '.
|
|
|
36
36
|
import { PutScript_Request, PutScript_RequestBody, PutScript_Response, PutScript_ResponseBody } from './_core/putScript';
|
|
37
37
|
import { ScriptsPainlessExecute_Request, ScriptsPainlessExecute_RequestBody, ScriptsPainlessExecute_Response, ScriptsPainlessExecute_ResponseBody } from './_core/scriptsPainlessExecute';
|
|
38
38
|
import { Search_Request, Search_RequestBody, Search_Response, Search_ResponseBody } from './_core/search';
|
|
39
|
-
import { SearchShards_Request, SearchShards_Response, SearchShards_ResponseBody } from './_core/searchShards';
|
|
39
|
+
import { SearchShards_Request, SearchShards_RequestBody, SearchShards_Response, SearchShards_ResponseBody } from './_core/searchShards';
|
|
40
40
|
import { DeletePit_Request, DeletePit_RequestBody, DeletePit_Response, DeletePit_ResponseBody } from './_core/deletePit';
|
|
41
41
|
import { DeleteAllPits_Request, DeleteAllPits_Response, DeleteAllPits_ResponseBody } from './_core/deleteAllPits';
|
|
42
42
|
import { GetAllPits_Request, GetAllPits_Response, GetAllPits_ResponseBody } from './_core/getAllPits';
|
|
@@ -271,19 +271,19 @@ import { Ism_RetryIndex_Request, Ism_RetryIndex_Response, Ism_RetryIndex_Respons
|
|
|
271
271
|
import { Ism_RefreshSearchAnalyzers_Request, Ism_RefreshSearchAnalyzers_Response, Ism_RefreshSearchAnalyzers_ResponseBody } from './ism/refreshSearchAnalyzers';
|
|
272
272
|
import { Knn_Stats_Request, Knn_Stats_Response, Knn_Stats_ResponseBody } from './knn/stats';
|
|
273
273
|
import { Knn_SearchModels_Request, Knn_SearchModels_RequestBody, Knn_SearchModels_Response, Knn_SearchModels_ResponseBody } from './knn/searchModels';
|
|
274
|
-
import { Knn_TrainModel_Request,
|
|
274
|
+
import { Knn_TrainModel_Request, Knn_TrainModel_Response, Knn_TrainModel_ResponseBody } from './knn/trainModel';
|
|
275
275
|
import { Knn_DeleteModel_Request, Knn_DeleteModel_Response, Knn_DeleteModel_ResponseBody } from './knn/deleteModel';
|
|
276
276
|
import { Knn_GetModel_Request, Knn_GetModel_Response, Knn_GetModel_ResponseBody } from './knn/getModel';
|
|
277
277
|
import { Knn_Warmup_Request, Knn_Warmup_Response, Knn_Warmup_ResponseBody } from './knn/warmup';
|
|
278
|
-
import { Ml_RegisterAgents_Request, Ml_RegisterAgents_Response, Ml_RegisterAgents_ResponseBody } from './ml/registerAgents';
|
|
278
|
+
import { Ml_RegisterAgents_Request, Ml_RegisterAgents_RequestBody, Ml_RegisterAgents_Response, Ml_RegisterAgents_ResponseBody } from './ml/registerAgents';
|
|
279
279
|
import { Ml_DeleteAgent_Request, Ml_DeleteAgent_Response, Ml_DeleteAgent_ResponseBody } from './ml/deleteAgent';
|
|
280
|
-
import { Ml_CreateConnector_Request, Ml_CreateConnector_Response, Ml_CreateConnector_ResponseBody } from './ml/createConnector';
|
|
280
|
+
import { Ml_CreateConnector_Request, Ml_CreateConnector_RequestBody, Ml_CreateConnector_Response, Ml_CreateConnector_ResponseBody } from './ml/createConnector';
|
|
281
281
|
import { Ml_DeleteConnector_Request, Ml_DeleteConnector_Response, Ml_DeleteConnector_ResponseBody } from './ml/deleteConnector';
|
|
282
282
|
import { Ml_RegisterModelGroup_Request, Ml_RegisterModelGroup_RequestBody, Ml_RegisterModelGroup_Response, Ml_RegisterModelGroup_ResponseBody } from './ml/registerModelGroup';
|
|
283
283
|
import { Ml_DeleteModelGroup_Request, Ml_DeleteModelGroup_Response, Ml_DeleteModelGroup_ResponseBody } from './ml/deleteModelGroup';
|
|
284
284
|
import { Ml_GetModelGroup_Request, Ml_GetModelGroup_Response, Ml_GetModelGroup_ResponseBody } from './ml/getModelGroup';
|
|
285
285
|
import { Ml_RegisterModel_Request, Ml_RegisterModel_RequestBody, Ml_RegisterModel_Response, Ml_RegisterModel_ResponseBody } from './ml/registerModel';
|
|
286
|
-
import { Ml_SearchModels_Request, Ml_SearchModels_Response, Ml_SearchModels_ResponseBody } from './ml/searchModels';
|
|
286
|
+
import { Ml_SearchModels_Request, Ml_SearchModels_RequestBody, Ml_SearchModels_Response, Ml_SearchModels_ResponseBody } from './ml/searchModels';
|
|
287
287
|
import { Ml_DeleteModel_Request, Ml_DeleteModel_Response, Ml_DeleteModel_ResponseBody } from './ml/deleteModel';
|
|
288
288
|
import { Ml_DeployModel_Request, Ml_DeployModel_Response, Ml_DeployModel_ResponseBody } from './ml/deployModel';
|
|
289
289
|
import { Ml_UndeployModel_Request, Ml_UndeployModel_Response, Ml_UndeployModel_ResponseBody } from './ml/undeployModel';
|
|
@@ -337,8 +337,16 @@ import { Rollups_Put_Request, Rollups_Put_Response, Rollups_Put_ResponseBody } f
|
|
|
337
337
|
import { Rollups_Explain_Request, Rollups_Explain_Response, Rollups_Explain_ResponseBody } from './rollups/explain';
|
|
338
338
|
import { Rollups_Start_Request, Rollups_Start_Response, Rollups_Start_ResponseBody } from './rollups/start';
|
|
339
339
|
import { Rollups_Stop_Request, Rollups_Stop_Response, Rollups_Stop_ResponseBody } from './rollups/stop';
|
|
340
|
+
import { Sm_GetPolicies_Request, Sm_GetPolicies_Response, Sm_GetPolicies_ResponseBody } from './sm/getPolicies';
|
|
341
|
+
import { Sm_DeletePolicy_Request, Sm_DeletePolicy_Response, Sm_DeletePolicy_ResponseBody } from './sm/deletePolicy';
|
|
342
|
+
import { Sm_GetPolicy_Request, Sm_GetPolicy_Response, Sm_GetPolicy_ResponseBody } from './sm/getPolicy';
|
|
343
|
+
import { Sm_CreatePolicy_Request, Sm_CreatePolicy_Response, Sm_CreatePolicy_ResponseBody } from './sm/createPolicy';
|
|
344
|
+
import { Sm_UpdatePolicy_Request, Sm_UpdatePolicy_Response, Sm_UpdatePolicy_ResponseBody } from './sm/updatePolicy';
|
|
345
|
+
import { Sm_ExplainPolicy_Request, Sm_ExplainPolicy_Response, Sm_ExplainPolicy_ResponseBody } from './sm/explainPolicy';
|
|
346
|
+
import { Sm_StartPolicy_Request, Sm_StartPolicy_Response, Sm_StartPolicy_ResponseBody } from './sm/startPolicy';
|
|
347
|
+
import { Sm_StopPolicy_Request, Sm_StopPolicy_Response, Sm_StopPolicy_ResponseBody } from './sm/stopPolicy';
|
|
340
348
|
import { Transforms_Search_Request, Transforms_Search_Response, Transforms_Search_ResponseBody } from './transforms/search';
|
|
341
|
-
import { Transforms_Preview_Request,
|
|
349
|
+
import { Transforms_Preview_Request, Transforms_Preview_Response, Transforms_Preview_ResponseBody } from './transforms/preview';
|
|
342
350
|
import { Transforms_Delete_Request, Transforms_Delete_Response, Transforms_Delete_ResponseBody } from './transforms/delete';
|
|
343
351
|
import { Transforms_Get_Request, Transforms_Get_Response, Transforms_Get_ResponseBody } from './transforms/get';
|
|
344
352
|
import { Transforms_Put_Request, Transforms_Put_Response, Transforms_Put_ResponseBody } from './transforms/put';
|
|
@@ -391,7 +399,7 @@ export {
|
|
|
391
399
|
PutScript_Request, PutScript_RequestBody, PutScript_Response, PutScript_ResponseBody,
|
|
392
400
|
ScriptsPainlessExecute_Request, ScriptsPainlessExecute_RequestBody, ScriptsPainlessExecute_Response, ScriptsPainlessExecute_ResponseBody,
|
|
393
401
|
Search_Request, Search_RequestBody, Search_Response, Search_ResponseBody,
|
|
394
|
-
SearchShards_Request, SearchShards_Response, SearchShards_ResponseBody,
|
|
402
|
+
SearchShards_Request, SearchShards_RequestBody, SearchShards_Response, SearchShards_ResponseBody,
|
|
395
403
|
DeletePit_Request, DeletePit_RequestBody, DeletePit_Response, DeletePit_ResponseBody,
|
|
396
404
|
DeleteAllPits_Request, DeleteAllPits_Response, DeleteAllPits_ResponseBody,
|
|
397
405
|
GetAllPits_Request, GetAllPits_Response, GetAllPits_ResponseBody,
|
|
@@ -626,19 +634,19 @@ export {
|
|
|
626
634
|
Ism_RefreshSearchAnalyzers_Request, Ism_RefreshSearchAnalyzers_Response, Ism_RefreshSearchAnalyzers_ResponseBody,
|
|
627
635
|
Knn_Stats_Request, Knn_Stats_Response, Knn_Stats_ResponseBody,
|
|
628
636
|
Knn_SearchModels_Request, Knn_SearchModels_RequestBody, Knn_SearchModels_Response, Knn_SearchModels_ResponseBody,
|
|
629
|
-
Knn_TrainModel_Request,
|
|
637
|
+
Knn_TrainModel_Request, Knn_TrainModel_Response, Knn_TrainModel_ResponseBody,
|
|
630
638
|
Knn_DeleteModel_Request, Knn_DeleteModel_Response, Knn_DeleteModel_ResponseBody,
|
|
631
639
|
Knn_GetModel_Request, Knn_GetModel_Response, Knn_GetModel_ResponseBody,
|
|
632
640
|
Knn_Warmup_Request, Knn_Warmup_Response, Knn_Warmup_ResponseBody,
|
|
633
|
-
Ml_RegisterAgents_Request, Ml_RegisterAgents_Response, Ml_RegisterAgents_ResponseBody,
|
|
641
|
+
Ml_RegisterAgents_Request, Ml_RegisterAgents_RequestBody, Ml_RegisterAgents_Response, Ml_RegisterAgents_ResponseBody,
|
|
634
642
|
Ml_DeleteAgent_Request, Ml_DeleteAgent_Response, Ml_DeleteAgent_ResponseBody,
|
|
635
|
-
Ml_CreateConnector_Request, Ml_CreateConnector_Response, Ml_CreateConnector_ResponseBody,
|
|
643
|
+
Ml_CreateConnector_Request, Ml_CreateConnector_RequestBody, Ml_CreateConnector_Response, Ml_CreateConnector_ResponseBody,
|
|
636
644
|
Ml_DeleteConnector_Request, Ml_DeleteConnector_Response, Ml_DeleteConnector_ResponseBody,
|
|
637
645
|
Ml_RegisterModelGroup_Request, Ml_RegisterModelGroup_RequestBody, Ml_RegisterModelGroup_Response, Ml_RegisterModelGroup_ResponseBody,
|
|
638
646
|
Ml_DeleteModelGroup_Request, Ml_DeleteModelGroup_Response, Ml_DeleteModelGroup_ResponseBody,
|
|
639
647
|
Ml_GetModelGroup_Request, Ml_GetModelGroup_Response, Ml_GetModelGroup_ResponseBody,
|
|
640
648
|
Ml_RegisterModel_Request, Ml_RegisterModel_RequestBody, Ml_RegisterModel_Response, Ml_RegisterModel_ResponseBody,
|
|
641
|
-
Ml_SearchModels_Request, Ml_SearchModels_Response, Ml_SearchModels_ResponseBody,
|
|
649
|
+
Ml_SearchModels_Request, Ml_SearchModels_RequestBody, Ml_SearchModels_Response, Ml_SearchModels_ResponseBody,
|
|
642
650
|
Ml_DeleteModel_Request, Ml_DeleteModel_Response, Ml_DeleteModel_ResponseBody,
|
|
643
651
|
Ml_DeployModel_Request, Ml_DeployModel_Response, Ml_DeployModel_ResponseBody,
|
|
644
652
|
Ml_UndeployModel_Request, Ml_UndeployModel_Response, Ml_UndeployModel_ResponseBody,
|
|
@@ -692,8 +700,16 @@ export {
|
|
|
692
700
|
Rollups_Explain_Request, Rollups_Explain_Response, Rollups_Explain_ResponseBody,
|
|
693
701
|
Rollups_Start_Request, Rollups_Start_Response, Rollups_Start_ResponseBody,
|
|
694
702
|
Rollups_Stop_Request, Rollups_Stop_Response, Rollups_Stop_ResponseBody,
|
|
703
|
+
Sm_GetPolicies_Request, Sm_GetPolicies_Response, Sm_GetPolicies_ResponseBody,
|
|
704
|
+
Sm_DeletePolicy_Request, Sm_DeletePolicy_Response, Sm_DeletePolicy_ResponseBody,
|
|
705
|
+
Sm_GetPolicy_Request, Sm_GetPolicy_Response, Sm_GetPolicy_ResponseBody,
|
|
706
|
+
Sm_CreatePolicy_Request, Sm_CreatePolicy_Response, Sm_CreatePolicy_ResponseBody,
|
|
707
|
+
Sm_UpdatePolicy_Request, Sm_UpdatePolicy_Response, Sm_UpdatePolicy_ResponseBody,
|
|
708
|
+
Sm_ExplainPolicy_Request, Sm_ExplainPolicy_Response, Sm_ExplainPolicy_ResponseBody,
|
|
709
|
+
Sm_StartPolicy_Request, Sm_StartPolicy_Response, Sm_StartPolicy_ResponseBody,
|
|
710
|
+
Sm_StopPolicy_Request, Sm_StopPolicy_Response, Sm_StopPolicy_ResponseBody,
|
|
695
711
|
Transforms_Search_Request, Transforms_Search_Response, Transforms_Search_ResponseBody,
|
|
696
|
-
Transforms_Preview_Request,
|
|
712
|
+
Transforms_Preview_Request, Transforms_Preview_Response, Transforms_Preview_ResponseBody,
|
|
697
713
|
Transforms_Delete_Request, Transforms_Delete_Response, Transforms_Delete_ResponseBody,
|
|
698
714
|
Transforms_Get_Request, Transforms_Get_Response, Transforms_Get_ResponseBody,
|
|
699
715
|
Transforms_Put_Request, Transforms_Put_Response, Transforms_Put_ResponseBody,
|
|
@@ -19,7 +19,7 @@ import * as Common from '../_types/_common'
|
|
|
19
19
|
import * as Global from '../_types/_global'
|
|
20
20
|
import * as Indices_AddBlock from '../_types/indices.add_block'
|
|
21
21
|
|
|
22
|
-
export
|
|
22
|
+
export interface Indices_AddBlock_Request extends Global.Params {
|
|
23
23
|
allow_no_indices?: boolean;
|
|
24
24
|
block: Indices_AddBlock.IndicesBlockOptions;
|
|
25
25
|
cluster_manager_timeout?: Common.Duration;
|
|
@@ -30,7 +30,7 @@ export type Indices_AddBlock_Request = Global.Params & {
|
|
|
30
30
|
timeout?: Common.Duration;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
export
|
|
33
|
+
export interface Indices_AddBlock_Response extends ApiResponse {
|
|
34
34
|
body: Indices_AddBlock_ResponseBody;
|
|
35
35
|
}
|
|
36
36
|
|