diff --git a/.github/workflows/generate_api.yml b/.github/workflows/generate_api.yml index 20278f177..560288b32 100644 --- a/.github/workflows/generate_api.yml +++ b/.github/workflows/generate_api.yml @@ -51,11 +51,11 @@ jobs: with: token: ${{ steps.github_app_token.outputs.token }} commit-message: "Updated opensearch-js to reflect the latest OpenSearch API spec (${{ env.date }})" - title: "[AUTOCUT] Update opensearch-js to reflect the latest OpenSearch API spec" + title: "[AUTOCUT] Update opensearch-js to reflect the latest OpenSearch API spec (${{ env.date }})" body: | Update `opensearch-js` to reflect the latest [OpenSearch API spec](https://github.com/opensearch-project/opensearch-api-specification/releases/download/main-latest/opensearch-openapi.yaml). Date: ${{ env.date }} - branch: update-api-from-spec + branch: update-api-from-spec-${{ env.date }} base: main signoff: true labels: | diff --git a/api/OpenSearchAPI.d.ts b/api/OpenSearchAPI.d.ts deleted file mode 100644 index b735dafc8..000000000 --- a/api/OpenSearchAPI.d.ts +++ /dev/null @@ -1,1627 +0,0 @@ -/* - * Copyright OpenSearch Contributors - * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - * - */ - -/* - * This file was generated from the OpenSearch API Spec. Do NOT edit it - * manually. If you want to make changes, either update the spec or - * modify the API generator. - */ - -import * as Global from './_types/_global'; -import * as API from './index'; -import { - ApiError, - ApiResponse, - TransportRequestOptions, - TransportRequestCallback, - TransportRequestPromise, -} from '../lib/Transport'; - -declare type callbackFn = (err: ApiError, result: TResponse) => void; - -declare interface HttpRequest { - path: string; - querystring?: Global.Params; - headers?: Record; - body?: Record | Record[] | string; -} - -export default class OpenSearchAPI { - asynchronousSearch: { - search (params?: API.AsynchronousSearch_Search_Request, options?: TransportRequestOptions): TransportRequestPromise; - search (callback: callbackFn): TransportRequestCallback; - search (params: API.AsynchronousSearch_Search_Request, callback: callbackFn): TransportRequestCallback; - search (params: API.AsynchronousSearch_Search_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: API.AsynchronousSearch_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.AsynchronousSearch_Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.AsynchronousSearch_Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.AsynchronousSearch_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.AsynchronousSearch_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.AsynchronousSearch_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - stats (params?: API.AsynchronousSearch_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise; - stats (callback: callbackFn): TransportRequestCallback; - stats (params: API.AsynchronousSearch_Stats_Request, callback: callbackFn): TransportRequestCallback; - stats (params: API.AsynchronousSearch_Stats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - cat: { - help (params?: API.Cat_Help_Request, options?: TransportRequestOptions): TransportRequestPromise; - help (callback: callbackFn): TransportRequestCallback; - help (params: API.Cat_Help_Request, callback: callbackFn): TransportRequestCallback; - help (params: API.Cat_Help_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - aliases (params?: API.Cat_Aliases_Request, options?: TransportRequestOptions): TransportRequestPromise; - aliases (callback: callbackFn): TransportRequestCallback; - aliases (params: API.Cat_Aliases_Request, callback: callbackFn): TransportRequestCallback; - aliases (params: API.Cat_Aliases_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - allocation (params?: API.Cat_Allocation_Request, options?: TransportRequestOptions): TransportRequestPromise; - allocation (callback: callbackFn): TransportRequestCallback; - allocation (params: API.Cat_Allocation_Request, callback: callbackFn): TransportRequestCallback; - allocation (params: API.Cat_Allocation_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - clusterManager (params?: API.Cat_ClusterManager_Request, options?: TransportRequestOptions): TransportRequestPromise; - clusterManager (callback: callbackFn): TransportRequestCallback; - clusterManager (params: API.Cat_ClusterManager_Request, callback: callbackFn): TransportRequestCallback; - clusterManager (params: API.Cat_ClusterManager_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - count (params?: API.Cat_Count_Request, options?: TransportRequestOptions): TransportRequestPromise; - count (callback: callbackFn): TransportRequestCallback; - count (params: API.Cat_Count_Request, callback: callbackFn): TransportRequestCallback; - count (params: API.Cat_Count_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - fielddata (params?: API.Cat_Fielddata_Request, options?: TransportRequestOptions): TransportRequestPromise; - fielddata (callback: callbackFn): TransportRequestCallback; - fielddata (params: API.Cat_Fielddata_Request, callback: callbackFn): TransportRequestCallback; - fielddata (params: API.Cat_Fielddata_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - health (params?: API.Cat_Health_Request, options?: TransportRequestOptions): TransportRequestPromise; - health (callback: callbackFn): TransportRequestCallback; - health (params: API.Cat_Health_Request, callback: callbackFn): TransportRequestCallback; - health (params: API.Cat_Health_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - indices (params?: API.Cat_Indices_Request, options?: TransportRequestOptions): TransportRequestPromise; - indices (callback: callbackFn): TransportRequestCallback; - indices (params: API.Cat_Indices_Request, callback: callbackFn): TransportRequestCallback; - indices (params: API.Cat_Indices_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - master (params?: API.Cat_Master_Request, options?: TransportRequestOptions): TransportRequestPromise; - master (callback: callbackFn): TransportRequestCallback; - master (params: API.Cat_Master_Request, callback: callbackFn): TransportRequestCallback; - master (params: API.Cat_Master_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - nodeattrs (params?: API.Cat_Nodeattrs_Request, options?: TransportRequestOptions): TransportRequestPromise; - nodeattrs (callback: callbackFn): TransportRequestCallback; - nodeattrs (params: API.Cat_Nodeattrs_Request, callback: callbackFn): TransportRequestCallback; - nodeattrs (params: API.Cat_Nodeattrs_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - nodes (params?: API.Cat_Nodes_Request, options?: TransportRequestOptions): TransportRequestPromise; - nodes (callback: callbackFn): TransportRequestCallback; - nodes (params: API.Cat_Nodes_Request, callback: callbackFn): TransportRequestCallback; - nodes (params: API.Cat_Nodes_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - pendingTasks (params?: API.Cat_PendingTasks_Request, options?: TransportRequestOptions): TransportRequestPromise; - pendingTasks (callback: callbackFn): TransportRequestCallback; - pendingTasks (params: API.Cat_PendingTasks_Request, callback: callbackFn): TransportRequestCallback; - pendingTasks (params: API.Cat_PendingTasks_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - pitSegments (params?: API.Cat_PitSegments_Request, options?: TransportRequestOptions): TransportRequestPromise; - pitSegments (callback: callbackFn): TransportRequestCallback; - pitSegments (params: API.Cat_PitSegments_Request, callback: callbackFn): TransportRequestCallback; - pitSegments (params: API.Cat_PitSegments_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - allPitSegments (params?: API.Cat_AllPitSegments_Request, options?: TransportRequestOptions): TransportRequestPromise; - allPitSegments (callback: callbackFn): TransportRequestCallback; - allPitSegments (params: API.Cat_AllPitSegments_Request, callback: callbackFn): TransportRequestCallback; - allPitSegments (params: API.Cat_AllPitSegments_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - plugins (params?: API.Cat_Plugins_Request, options?: TransportRequestOptions): TransportRequestPromise; - plugins (callback: callbackFn): TransportRequestCallback; - plugins (params: API.Cat_Plugins_Request, callback: callbackFn): TransportRequestCallback; - plugins (params: API.Cat_Plugins_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - recovery (params?: API.Cat_Recovery_Request, options?: TransportRequestOptions): TransportRequestPromise; - recovery (callback: callbackFn): TransportRequestCallback; - recovery (params: API.Cat_Recovery_Request, callback: callbackFn): TransportRequestCallback; - recovery (params: API.Cat_Recovery_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - repositories (params?: API.Cat_Repositories_Request, options?: TransportRequestOptions): TransportRequestPromise; - repositories (callback: callbackFn): TransportRequestCallback; - repositories (params: API.Cat_Repositories_Request, callback: callbackFn): TransportRequestCallback; - repositories (params: API.Cat_Repositories_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - segmentReplication (params?: API.Cat_SegmentReplication_Request, options?: TransportRequestOptions): TransportRequestPromise; - segmentReplication (callback: callbackFn): TransportRequestCallback; - segmentReplication (params: API.Cat_SegmentReplication_Request, callback: callbackFn): TransportRequestCallback; - segmentReplication (params: API.Cat_SegmentReplication_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - segments (params?: API.Cat_Segments_Request, options?: TransportRequestOptions): TransportRequestPromise; - segments (callback: callbackFn): TransportRequestCallback; - segments (params: API.Cat_Segments_Request, callback: callbackFn): TransportRequestCallback; - segments (params: API.Cat_Segments_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - shards (params?: API.Cat_Shards_Request, options?: TransportRequestOptions): TransportRequestPromise; - shards (callback: callbackFn): TransportRequestCallback; - shards (params: API.Cat_Shards_Request, callback: callbackFn): TransportRequestCallback; - shards (params: API.Cat_Shards_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - snapshots (params?: API.Cat_Snapshots_Request, options?: TransportRequestOptions): TransportRequestPromise; - snapshots (callback: callbackFn): TransportRequestCallback; - snapshots (params: API.Cat_Snapshots_Request, callback: callbackFn): TransportRequestCallback; - snapshots (params: API.Cat_Snapshots_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - tasks (params?: API.Cat_Tasks_Request, options?: TransportRequestOptions): TransportRequestPromise; - tasks (callback: callbackFn): TransportRequestCallback; - tasks (params: API.Cat_Tasks_Request, callback: callbackFn): TransportRequestCallback; - tasks (params: API.Cat_Tasks_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - templates (params?: API.Cat_Templates_Request, options?: TransportRequestOptions): TransportRequestPromise; - templates (callback: callbackFn): TransportRequestCallback; - templates (params: API.Cat_Templates_Request, callback: callbackFn): TransportRequestCallback; - templates (params: API.Cat_Templates_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - threadPool (params?: API.Cat_ThreadPool_Request, options?: TransportRequestOptions): TransportRequestPromise; - threadPool (callback: callbackFn): TransportRequestCallback; - threadPool (params: API.Cat_ThreadPool_Request, callback: callbackFn): TransportRequestCallback; - threadPool (params: API.Cat_ThreadPool_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - cluster: { - allocationExplain (params?: API.Cluster_AllocationExplain_Request, options?: TransportRequestOptions): TransportRequestPromise; - allocationExplain (callback: callbackFn): TransportRequestCallback; - allocationExplain (params: API.Cluster_AllocationExplain_Request, callback: callbackFn): TransportRequestCallback; - allocationExplain (params: API.Cluster_AllocationExplain_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteDecommissionAwareness (params?: API.Cluster_DeleteDecommissionAwareness_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteDecommissionAwareness (callback: callbackFn): TransportRequestCallback; - deleteDecommissionAwareness (params: API.Cluster_DeleteDecommissionAwareness_Request, callback: callbackFn): TransportRequestCallback; - deleteDecommissionAwareness (params: API.Cluster_DeleteDecommissionAwareness_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getDecommissionAwareness (params: API.Cluster_GetDecommissionAwareness_Request, options?: TransportRequestOptions): TransportRequestPromise; - getDecommissionAwareness (params: API.Cluster_GetDecommissionAwareness_Request, callback: callbackFn): TransportRequestCallback; - getDecommissionAwareness (params: API.Cluster_GetDecommissionAwareness_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putDecommissionAwareness (params: API.Cluster_PutDecommissionAwareness_Request, options?: TransportRequestOptions): TransportRequestPromise; - putDecommissionAwareness (params: API.Cluster_PutDecommissionAwareness_Request, callback: callbackFn): TransportRequestCallback; - putDecommissionAwareness (params: API.Cluster_PutDecommissionAwareness_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - health (params?: API.Cluster_Health_Request, options?: TransportRequestOptions): TransportRequestPromise; - health (callback: callbackFn): TransportRequestCallback; - health (params: API.Cluster_Health_Request, callback: callbackFn): TransportRequestCallback; - health (params: API.Cluster_Health_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - pendingTasks (params?: API.Cluster_PendingTasks_Request, options?: TransportRequestOptions): TransportRequestPromise; - pendingTasks (callback: callbackFn): TransportRequestCallback; - pendingTasks (params: API.Cluster_PendingTasks_Request, callback: callbackFn): TransportRequestCallback; - pendingTasks (params: API.Cluster_PendingTasks_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - reroute (params?: API.Cluster_Reroute_Request, options?: TransportRequestOptions): TransportRequestPromise; - reroute (callback: callbackFn): TransportRequestCallback; - reroute (params: API.Cluster_Reroute_Request, callback: callbackFn): TransportRequestCallback; - reroute (params: API.Cluster_Reroute_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getWeightedRouting (params: API.Cluster_GetWeightedRouting_Request, options?: TransportRequestOptions): TransportRequestPromise; - getWeightedRouting (params: API.Cluster_GetWeightedRouting_Request, callback: callbackFn): TransportRequestCallback; - getWeightedRouting (params: API.Cluster_GetWeightedRouting_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putWeightedRouting (params: API.Cluster_PutWeightedRouting_Request, options?: TransportRequestOptions): TransportRequestPromise; - putWeightedRouting (params: API.Cluster_PutWeightedRouting_Request, callback: callbackFn): TransportRequestCallback; - putWeightedRouting (params: API.Cluster_PutWeightedRouting_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteWeightedRouting (params?: API.Cluster_DeleteWeightedRouting_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteWeightedRouting (callback: callbackFn): TransportRequestCallback; - deleteWeightedRouting (params: API.Cluster_DeleteWeightedRouting_Request, callback: callbackFn): TransportRequestCallback; - deleteWeightedRouting (params: API.Cluster_DeleteWeightedRouting_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getSettings (params?: API.Cluster_GetSettings_Request, options?: TransportRequestOptions): TransportRequestPromise; - getSettings (callback: callbackFn): TransportRequestCallback; - getSettings (params: API.Cluster_GetSettings_Request, callback: callbackFn): TransportRequestCallback; - getSettings (params: API.Cluster_GetSettings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putSettings (params: API.Cluster_PutSettings_Request, options?: TransportRequestOptions): TransportRequestPromise; - putSettings (params: API.Cluster_PutSettings_Request, callback: callbackFn): TransportRequestCallback; - putSettings (params: API.Cluster_PutSettings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - state (params?: API.Cluster_State_Request, options?: TransportRequestOptions): TransportRequestPromise; - state (callback: callbackFn): TransportRequestCallback; - state (params: API.Cluster_State_Request, callback: callbackFn): TransportRequestCallback; - state (params: API.Cluster_State_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - stats (params?: API.Cluster_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise; - stats (callback: callbackFn): TransportRequestCallback; - stats (params: API.Cluster_Stats_Request, callback: callbackFn): TransportRequestCallback; - stats (params: API.Cluster_Stats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteVotingConfigExclusions (params?: API.Cluster_DeleteVotingConfigExclusions_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteVotingConfigExclusions (callback: callbackFn): TransportRequestCallback; - deleteVotingConfigExclusions (params: API.Cluster_DeleteVotingConfigExclusions_Request, callback: callbackFn): TransportRequestCallback; - deleteVotingConfigExclusions (params: API.Cluster_DeleteVotingConfigExclusions_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - postVotingConfigExclusions (params?: API.Cluster_PostVotingConfigExclusions_Request, options?: TransportRequestOptions): TransportRequestPromise; - postVotingConfigExclusions (callback: callbackFn): TransportRequestCallback; - postVotingConfigExclusions (params: API.Cluster_PostVotingConfigExclusions_Request, callback: callbackFn): TransportRequestCallback; - postVotingConfigExclusions (params: API.Cluster_PostVotingConfigExclusions_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getComponentTemplate (params?: API.Cluster_GetComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - getComponentTemplate (callback: callbackFn): TransportRequestCallback; - getComponentTemplate (params: API.Cluster_GetComponentTemplate_Request, callback: callbackFn): TransportRequestCallback; - getComponentTemplate (params: API.Cluster_GetComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteComponentTemplate (params: API.Cluster_DeleteComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteComponentTemplate (params: API.Cluster_DeleteComponentTemplate_Request, callback: callbackFn): TransportRequestCallback; - deleteComponentTemplate (params: API.Cluster_DeleteComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - existsComponentTemplate (params: API.Cluster_ExistsComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - existsComponentTemplate (params: API.Cluster_ExistsComponentTemplate_Request, callback: callbackFn): TransportRequestCallback; - existsComponentTemplate (params: API.Cluster_ExistsComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putComponentTemplate (params: API.Cluster_PutComponentTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - putComponentTemplate (params: API.Cluster_PutComponentTemplate_Request, callback: callbackFn): TransportRequestCallback; - putComponentTemplate (params: API.Cluster_PutComponentTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - remoteInfo (params?: API.Cluster_RemoteInfo_Request, options?: TransportRequestOptions): TransportRequestPromise; - remoteInfo (callback: callbackFn): TransportRequestCallback; - remoteInfo (params: API.Cluster_RemoteInfo_Request, callback: callbackFn): TransportRequestCallback; - remoteInfo (params: API.Cluster_RemoteInfo_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - danglingIndices: { - listDanglingIndices (params?: API.DanglingIndices_ListDanglingIndices_Request, options?: TransportRequestOptions): TransportRequestPromise; - listDanglingIndices (callback: callbackFn): TransportRequestCallback; - listDanglingIndices (params: API.DanglingIndices_ListDanglingIndices_Request, callback: callbackFn): TransportRequestCallback; - listDanglingIndices (params: API.DanglingIndices_ListDanglingIndices_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteDanglingIndex (params: API.DanglingIndices_DeleteDanglingIndex_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteDanglingIndex (params: API.DanglingIndices_DeleteDanglingIndex_Request, callback: callbackFn): TransportRequestCallback; - deleteDanglingIndex (params: API.DanglingIndices_DeleteDanglingIndex_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - importDanglingIndex (params: API.DanglingIndices_ImportDanglingIndex_Request, options?: TransportRequestOptions): TransportRequestPromise; - importDanglingIndex (params: API.DanglingIndices_ImportDanglingIndex_Request, callback: callbackFn): TransportRequestCallback; - importDanglingIndex (params: API.DanglingIndices_ImportDanglingIndex_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - flowFramework: { - create (params?: API.FlowFramework_Create_Request, options?: TransportRequestOptions): TransportRequestPromise; - create (callback: callbackFn): TransportRequestCallback; - create (params: API.FlowFramework_Create_Request, callback: callbackFn): TransportRequestCallback; - create (params: API.FlowFramework_Create_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - search (params: API.FlowFramework_Search_Request, options?: TransportRequestOptions): TransportRequestPromise; - search (params: API.FlowFramework_Search_Request, callback: callbackFn): TransportRequestCallback; - search (params: API.FlowFramework_Search_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getSteps (params?: API.FlowFramework_GetSteps_Request, options?: TransportRequestOptions): TransportRequestPromise; - getSteps (callback: callbackFn): TransportRequestCallback; - getSteps (params: API.FlowFramework_GetSteps_Request, callback: callbackFn): TransportRequestCallback; - getSteps (params: API.FlowFramework_GetSteps_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: API.FlowFramework_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.FlowFramework_Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.FlowFramework_Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.FlowFramework_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.FlowFramework_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.FlowFramework_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - update (params: API.FlowFramework_Update_Request, options?: TransportRequestOptions): TransportRequestPromise; - update (params: API.FlowFramework_Update_Request, callback: callbackFn): TransportRequestCallback; - update (params: API.FlowFramework_Update_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deprovision (params: API.FlowFramework_Deprovision_Request, options?: TransportRequestOptions): TransportRequestPromise; - deprovision (params: API.FlowFramework_Deprovision_Request, callback: callbackFn): TransportRequestCallback; - deprovision (params: API.FlowFramework_Deprovision_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - provision (params: API.FlowFramework_Provision_Request, options?: TransportRequestOptions): TransportRequestPromise; - provision (params: API.FlowFramework_Provision_Request, callback: callbackFn): TransportRequestCallback; - provision (params: API.FlowFramework_Provision_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getStatus (params: API.FlowFramework_GetStatus_Request, options?: TransportRequestOptions): TransportRequestPromise; - getStatus (params: API.FlowFramework_GetStatus_Request, callback: callbackFn): TransportRequestCallback; - getStatus (params: API.FlowFramework_GetStatus_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - searchState (params: API.FlowFramework_SearchState_Request, options?: TransportRequestOptions): TransportRequestPromise; - searchState (params: API.FlowFramework_SearchState_Request, callback: callbackFn): TransportRequestCallback; - searchState (params: API.FlowFramework_SearchState_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - indices: { - getAlias (params?: API.Indices_GetAlias_Request, options?: TransportRequestOptions): TransportRequestPromise; - getAlias (callback: callbackFn): TransportRequestCallback; - getAlias (params: API.Indices_GetAlias_Request, callback: callbackFn): TransportRequestCallback; - getAlias (params: API.Indices_GetAlias_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putAlias (params?: API.Indices_PutAlias_Request, options?: TransportRequestOptions): TransportRequestPromise; - putAlias (callback: callbackFn): TransportRequestCallback; - putAlias (params: API.Indices_PutAlias_Request, callback: callbackFn): TransportRequestCallback; - putAlias (params: API.Indices_PutAlias_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - existsAlias (params: API.Indices_ExistsAlias_Request, options?: TransportRequestOptions): TransportRequestPromise; - existsAlias (params: API.Indices_ExistsAlias_Request, callback: callbackFn): TransportRequestCallback; - existsAlias (params: API.Indices_ExistsAlias_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateAliases (params: API.Indices_UpdateAliases_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateAliases (params: API.Indices_UpdateAliases_Request, callback: callbackFn): TransportRequestCallback; - updateAliases (params: API.Indices_UpdateAliases_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - analyze (params?: API.Indices_Analyze_Request, options?: TransportRequestOptions): TransportRequestPromise; - analyze (callback: callbackFn): TransportRequestCallback; - analyze (params: API.Indices_Analyze_Request, callback: callbackFn): TransportRequestCallback; - analyze (params: API.Indices_Analyze_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - clearCache (params?: API.Indices_ClearCache_Request, options?: TransportRequestOptions): TransportRequestPromise; - clearCache (callback: callbackFn): TransportRequestCallback; - clearCache (params: API.Indices_ClearCache_Request, callback: callbackFn): TransportRequestCallback; - clearCache (params: API.Indices_ClearCache_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getDataStream (params?: API.Indices_GetDataStream_Request, options?: TransportRequestOptions): TransportRequestPromise; - getDataStream (callback: callbackFn): TransportRequestCallback; - getDataStream (params: API.Indices_GetDataStream_Request, callback: callbackFn): TransportRequestCallback; - getDataStream (params: API.Indices_GetDataStream_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - dataStreamsStats (params?: API.Indices_DataStreamsStats_Request, options?: TransportRequestOptions): TransportRequestPromise; - dataStreamsStats (callback: callbackFn): TransportRequestCallback; - dataStreamsStats (params: API.Indices_DataStreamsStats_Request, callback: callbackFn): TransportRequestCallback; - dataStreamsStats (params: API.Indices_DataStreamsStats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteDataStream (params: API.Indices_DeleteDataStream_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteDataStream (params: API.Indices_DeleteDataStream_Request, callback: callbackFn): TransportRequestCallback; - deleteDataStream (params: API.Indices_DeleteDataStream_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createDataStream (params: API.Indices_CreateDataStream_Request, options?: TransportRequestOptions): TransportRequestPromise; - createDataStream (params: API.Indices_CreateDataStream_Request, callback: callbackFn): TransportRequestCallback; - createDataStream (params: API.Indices_CreateDataStream_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - flush (params?: API.Indices_Flush_Request, options?: TransportRequestOptions): TransportRequestPromise; - flush (callback: callbackFn): TransportRequestCallback; - flush (params: API.Indices_Flush_Request, callback: callbackFn): TransportRequestCallback; - flush (params: API.Indices_Flush_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - forcemerge (params?: API.Indices_Forcemerge_Request, options?: TransportRequestOptions): TransportRequestPromise; - forcemerge (callback: callbackFn): TransportRequestCallback; - forcemerge (params: API.Indices_Forcemerge_Request, callback: callbackFn): TransportRequestCallback; - forcemerge (params: API.Indices_Forcemerge_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getIndexTemplate (params?: API.Indices_GetIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - getIndexTemplate (callback: callbackFn): TransportRequestCallback; - getIndexTemplate (params: API.Indices_GetIndexTemplate_Request, callback: callbackFn): TransportRequestCallback; - getIndexTemplate (params: API.Indices_GetIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - simulateTemplate (params?: API.Indices_SimulateTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - simulateTemplate (callback: callbackFn): TransportRequestCallback; - simulateTemplate (params: API.Indices_SimulateTemplate_Request, callback: callbackFn): TransportRequestCallback; - simulateTemplate (params: API.Indices_SimulateTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - simulateIndexTemplate (params: API.Indices_SimulateIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - simulateIndexTemplate (params: API.Indices_SimulateIndexTemplate_Request, callback: callbackFn): TransportRequestCallback; - simulateIndexTemplate (params: API.Indices_SimulateIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteIndexTemplate (params: API.Indices_DeleteIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteIndexTemplate (params: API.Indices_DeleteIndexTemplate_Request, callback: callbackFn): TransportRequestCallback; - deleteIndexTemplate (params: API.Indices_DeleteIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - existsIndexTemplate (params: API.Indices_ExistsIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - existsIndexTemplate (params: API.Indices_ExistsIndexTemplate_Request, callback: callbackFn): TransportRequestCallback; - existsIndexTemplate (params: API.Indices_ExistsIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putIndexTemplate (params: API.Indices_PutIndexTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - putIndexTemplate (params: API.Indices_PutIndexTemplate_Request, callback: callbackFn): TransportRequestCallback; - putIndexTemplate (params: API.Indices_PutIndexTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getMapping (params?: API.Indices_GetMapping_Request, options?: TransportRequestOptions): TransportRequestPromise; - getMapping (callback: callbackFn): TransportRequestCallback; - getMapping (params: API.Indices_GetMapping_Request, callback: callbackFn): TransportRequestCallback; - getMapping (params: API.Indices_GetMapping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getFieldMapping (params: API.Indices_GetFieldMapping_Request, options?: TransportRequestOptions): TransportRequestPromise; - getFieldMapping (params: API.Indices_GetFieldMapping_Request, callback: callbackFn): TransportRequestCallback; - getFieldMapping (params: API.Indices_GetFieldMapping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - recovery (params?: API.Indices_Recovery_Request, options?: TransportRequestOptions): TransportRequestPromise; - recovery (callback: callbackFn): TransportRequestCallback; - recovery (params: API.Indices_Recovery_Request, callback: callbackFn): TransportRequestCallback; - recovery (params: API.Indices_Recovery_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - refresh (params?: API.Indices_Refresh_Request, options?: TransportRequestOptions): TransportRequestPromise; - refresh (callback: callbackFn): TransportRequestCallback; - refresh (params: API.Indices_Refresh_Request, callback: callbackFn): TransportRequestCallback; - refresh (params: API.Indices_Refresh_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - resolveIndex (params: API.Indices_ResolveIndex_Request, options?: TransportRequestOptions): TransportRequestPromise; - resolveIndex (params: API.Indices_ResolveIndex_Request, callback: callbackFn): TransportRequestCallback; - resolveIndex (params: API.Indices_ResolveIndex_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - segments (params?: API.Indices_Segments_Request, options?: TransportRequestOptions): TransportRequestPromise; - segments (callback: callbackFn): TransportRequestCallback; - segments (params: API.Indices_Segments_Request, callback: callbackFn): TransportRequestCallback; - segments (params: API.Indices_Segments_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getSettings (params?: API.Indices_GetSettings_Request, options?: TransportRequestOptions): TransportRequestPromise; - getSettings (callback: callbackFn): TransportRequestCallback; - getSettings (params: API.Indices_GetSettings_Request, callback: callbackFn): TransportRequestCallback; - getSettings (params: API.Indices_GetSettings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putSettings (params: API.Indices_PutSettings_Request, options?: TransportRequestOptions): TransportRequestPromise; - putSettings (params: API.Indices_PutSettings_Request, callback: callbackFn): TransportRequestCallback; - putSettings (params: API.Indices_PutSettings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - shardStores (params?: API.Indices_ShardStores_Request, options?: TransportRequestOptions): TransportRequestPromise; - shardStores (callback: callbackFn): TransportRequestCallback; - shardStores (params: API.Indices_ShardStores_Request, callback: callbackFn): TransportRequestCallback; - shardStores (params: API.Indices_ShardStores_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - stats (params?: API.Indices_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise; - stats (callback: callbackFn): TransportRequestCallback; - stats (params: API.Indices_Stats_Request, callback: callbackFn): TransportRequestCallback; - stats (params: API.Indices_Stats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getTemplate (params?: API.Indices_GetTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - getTemplate (callback: callbackFn): TransportRequestCallback; - getTemplate (params: API.Indices_GetTemplate_Request, callback: callbackFn): TransportRequestCallback; - getTemplate (params: API.Indices_GetTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteTemplate (params: API.Indices_DeleteTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteTemplate (params: API.Indices_DeleteTemplate_Request, callback: callbackFn): TransportRequestCallback; - deleteTemplate (params: API.Indices_DeleteTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - existsTemplate (params: API.Indices_ExistsTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - existsTemplate (params: API.Indices_ExistsTemplate_Request, callback: callbackFn): TransportRequestCallback; - existsTemplate (params: API.Indices_ExistsTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putTemplate (params: API.Indices_PutTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - putTemplate (params: API.Indices_PutTemplate_Request, callback: callbackFn): TransportRequestCallback; - putTemplate (params: API.Indices_PutTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getUpgrade (params?: API.Indices_GetUpgrade_Request, options?: TransportRequestOptions): TransportRequestPromise; - getUpgrade (callback: callbackFn): TransportRequestCallback; - getUpgrade (params: API.Indices_GetUpgrade_Request, callback: callbackFn): TransportRequestCallback; - getUpgrade (params: API.Indices_GetUpgrade_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - upgrade (params?: API.Indices_Upgrade_Request, options?: TransportRequestOptions): TransportRequestPromise; - upgrade (callback: callbackFn): TransportRequestCallback; - upgrade (params: API.Indices_Upgrade_Request, callback: callbackFn): TransportRequestCallback; - upgrade (params: API.Indices_Upgrade_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - validateQuery (params?: API.Indices_ValidateQuery_Request, options?: TransportRequestOptions): TransportRequestPromise; - validateQuery (callback: callbackFn): TransportRequestCallback; - validateQuery (params: API.Indices_ValidateQuery_Request, callback: callbackFn): TransportRequestCallback; - validateQuery (params: API.Indices_ValidateQuery_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - rollover (params: API.Indices_Rollover_Request, options?: TransportRequestOptions): TransportRequestPromise; - rollover (params: API.Indices_Rollover_Request, callback: callbackFn): TransportRequestCallback; - rollover (params: API.Indices_Rollover_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: API.Indices_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.Indices_Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.Indices_Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.Indices_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.Indices_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.Indices_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - exists (params: API.Indices_Exists_Request, options?: TransportRequestOptions): TransportRequestPromise; - exists (params: API.Indices_Exists_Request, callback: callbackFn): TransportRequestCallback; - exists (params: API.Indices_Exists_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - create (params: API.Indices_Create_Request, options?: TransportRequestOptions): TransportRequestPromise; - create (params: API.Indices_Create_Request, callback: callbackFn): TransportRequestCallback; - create (params: API.Indices_Create_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteAlias (params: API.Indices_DeleteAlias_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteAlias (params: API.Indices_DeleteAlias_Request, callback: callbackFn): TransportRequestCallback; - deleteAlias (params: API.Indices_DeleteAlias_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - addBlock (params: API.Indices_AddBlock_Request, options?: TransportRequestOptions): TransportRequestPromise; - addBlock (params: API.Indices_AddBlock_Request, callback: callbackFn): TransportRequestCallback; - addBlock (params: API.Indices_AddBlock_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - clone (params: API.Indices_Clone_Request, options?: TransportRequestOptions): TransportRequestPromise; - clone (params: API.Indices_Clone_Request, callback: callbackFn): TransportRequestCallback; - clone (params: API.Indices_Clone_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - close (params: API.Indices_Close_Request, options?: TransportRequestOptions): TransportRequestPromise; - close (params: API.Indices_Close_Request, callback: callbackFn): TransportRequestCallback; - close (params: API.Indices_Close_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putMapping (params: API.Indices_PutMapping_Request, options?: TransportRequestOptions): TransportRequestPromise; - putMapping (params: API.Indices_PutMapping_Request, callback: callbackFn): TransportRequestCallback; - putMapping (params: API.Indices_PutMapping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - open (params: API.Indices_Open_Request, options?: TransportRequestOptions): TransportRequestPromise; - open (params: API.Indices_Open_Request, callback: callbackFn): TransportRequestCallback; - open (params: API.Indices_Open_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - shrink (params: API.Indices_Shrink_Request, options?: TransportRequestOptions): TransportRequestPromise; - shrink (params: API.Indices_Shrink_Request, callback: callbackFn): TransportRequestCallback; - shrink (params: API.Indices_Shrink_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - split (params: API.Indices_Split_Request, options?: TransportRequestOptions): TransportRequestPromise; - split (params: API.Indices_Split_Request, callback: callbackFn): TransportRequestCallback; - split (params: API.Indices_Split_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - ingest: { - getPipeline (params?: API.Ingest_GetPipeline_Request, options?: TransportRequestOptions): TransportRequestPromise; - getPipeline (callback: callbackFn): TransportRequestCallback; - getPipeline (params: API.Ingest_GetPipeline_Request, callback: callbackFn): TransportRequestCallback; - getPipeline (params: API.Ingest_GetPipeline_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - simulate (params: API.Ingest_Simulate_Request, options?: TransportRequestOptions): TransportRequestPromise; - simulate (params: API.Ingest_Simulate_Request, callback: callbackFn): TransportRequestCallback; - simulate (params: API.Ingest_Simulate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deletePipeline (params: API.Ingest_DeletePipeline_Request, options?: TransportRequestOptions): TransportRequestPromise; - deletePipeline (params: API.Ingest_DeletePipeline_Request, callback: callbackFn): TransportRequestCallback; - deletePipeline (params: API.Ingest_DeletePipeline_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putPipeline (params: API.Ingest_PutPipeline_Request, options?: TransportRequestOptions): TransportRequestPromise; - putPipeline (params: API.Ingest_PutPipeline_Request, callback: callbackFn): TransportRequestCallback; - putPipeline (params: API.Ingest_PutPipeline_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - processorGrok (params?: API.Ingest_ProcessorGrok_Request, options?: TransportRequestOptions): TransportRequestPromise; - processorGrok (callback: callbackFn): TransportRequestCallback; - processorGrok (params: API.Ingest_ProcessorGrok_Request, callback: callbackFn): TransportRequestCallback; - processorGrok (params: API.Ingest_ProcessorGrok_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - ism: { - addPolicy (params?: API.Ism_AddPolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - addPolicy (callback: callbackFn): TransportRequestCallback; - addPolicy (params: API.Ism_AddPolicy_Request, callback: callbackFn): TransportRequestCallback; - addPolicy (params: API.Ism_AddPolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - changePolicy (params?: API.Ism_ChangePolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - changePolicy (callback: callbackFn): TransportRequestCallback; - changePolicy (params: API.Ism_ChangePolicy_Request, callback: callbackFn): TransportRequestCallback; - changePolicy (params: API.Ism_ChangePolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - explainPolicy (params?: API.Ism_ExplainPolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - explainPolicy (callback: callbackFn): TransportRequestCallback; - explainPolicy (params: API.Ism_ExplainPolicy_Request, callback: callbackFn): TransportRequestCallback; - explainPolicy (params: API.Ism_ExplainPolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getPolicies (params?: API.Ism_GetPolicies_Request, options?: TransportRequestOptions): TransportRequestPromise; - getPolicies (callback: callbackFn): TransportRequestCallback; - getPolicies (params: API.Ism_GetPolicies_Request, callback: callbackFn): TransportRequestCallback; - getPolicies (params: API.Ism_GetPolicies_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putPolicies (params: API.Ism_PutPolicies_Request, options?: TransportRequestOptions): TransportRequestPromise; - putPolicies (params: API.Ism_PutPolicies_Request, callback: callbackFn): TransportRequestCallback; - putPolicies (params: API.Ism_PutPolicies_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deletePolicy (params: API.Ism_DeletePolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - deletePolicy (params: API.Ism_DeletePolicy_Request, callback: callbackFn): TransportRequestCallback; - deletePolicy (params: API.Ism_DeletePolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getPolicy (params: API.Ism_GetPolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - getPolicy (params: API.Ism_GetPolicy_Request, callback: callbackFn): TransportRequestCallback; - getPolicy (params: API.Ism_GetPolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - existsPolicy (params: API.Ism_ExistsPolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - existsPolicy (params: API.Ism_ExistsPolicy_Request, callback: callbackFn): TransportRequestCallback; - existsPolicy (params: API.Ism_ExistsPolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putPolicy (params: API.Ism_PutPolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - putPolicy (params: API.Ism_PutPolicy_Request, callback: callbackFn): TransportRequestCallback; - putPolicy (params: API.Ism_PutPolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - removePolicy (params?: API.Ism_RemovePolicy_Request, options?: TransportRequestOptions): TransportRequestPromise; - removePolicy (callback: callbackFn): TransportRequestCallback; - removePolicy (params: API.Ism_RemovePolicy_Request, callback: callbackFn): TransportRequestCallback; - removePolicy (params: API.Ism_RemovePolicy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - retryIndex (params?: API.Ism_RetryIndex_Request, options?: TransportRequestOptions): TransportRequestPromise; - retryIndex (callback: callbackFn): TransportRequestCallback; - retryIndex (params: API.Ism_RetryIndex_Request, callback: callbackFn): TransportRequestCallback; - retryIndex (params: API.Ism_RetryIndex_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - refreshSearchAnalyzers (params: API.Ism_RefreshSearchAnalyzers_Request, options?: TransportRequestOptions): TransportRequestPromise; - refreshSearchAnalyzers (params: API.Ism_RefreshSearchAnalyzers_Request, callback: callbackFn): TransportRequestCallback; - refreshSearchAnalyzers (params: API.Ism_RefreshSearchAnalyzers_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - knn: { - stats (params?: API.Knn_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise; - stats (callback: callbackFn): TransportRequestCallback; - stats (params: API.Knn_Stats_Request, callback: callbackFn): TransportRequestCallback; - stats (params: API.Knn_Stats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - searchModels (params?: API.Knn_SearchModels_Request, options?: TransportRequestOptions): TransportRequestPromise; - searchModels (callback: callbackFn): TransportRequestCallback; - searchModels (params: API.Knn_SearchModels_Request, callback: callbackFn): TransportRequestCallback; - searchModels (params: API.Knn_SearchModels_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - trainModel (params: API.Knn_TrainModel_Request, options?: TransportRequestOptions): TransportRequestPromise; - trainModel (params: API.Knn_TrainModel_Request, callback: callbackFn): TransportRequestCallback; - trainModel (params: API.Knn_TrainModel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteModel (params: API.Knn_DeleteModel_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteModel (params: API.Knn_DeleteModel_Request, callback: callbackFn): TransportRequestCallback; - deleteModel (params: API.Knn_DeleteModel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getModel (params: API.Knn_GetModel_Request, options?: TransportRequestOptions): TransportRequestPromise; - getModel (params: API.Knn_GetModel_Request, callback: callbackFn): TransportRequestCallback; - getModel (params: API.Knn_GetModel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - warmup (params: API.Knn_Warmup_Request, options?: TransportRequestOptions): TransportRequestPromise; - warmup (params: API.Knn_Warmup_Request, callback: callbackFn): TransportRequestCallback; - warmup (params: API.Knn_Warmup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - ml: { - registerAgents (params?: API.Ml_RegisterAgents_Request, options?: TransportRequestOptions): TransportRequestPromise; - registerAgents (callback: callbackFn): TransportRequestCallback; - registerAgents (params: API.Ml_RegisterAgents_Request, callback: callbackFn): TransportRequestCallback; - registerAgents (params: API.Ml_RegisterAgents_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteAgent (params: API.Ml_DeleteAgent_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteAgent (params: API.Ml_DeleteAgent_Request, callback: callbackFn): TransportRequestCallback; - deleteAgent (params: API.Ml_DeleteAgent_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createConnector (params?: API.Ml_CreateConnector_Request, options?: TransportRequestOptions): TransportRequestPromise; - createConnector (callback: callbackFn): TransportRequestCallback; - createConnector (params: API.Ml_CreateConnector_Request, callback: callbackFn): TransportRequestCallback; - createConnector (params: API.Ml_CreateConnector_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteConnector (params: API.Ml_DeleteConnector_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteConnector (params: API.Ml_DeleteConnector_Request, callback: callbackFn): TransportRequestCallback; - deleteConnector (params: API.Ml_DeleteConnector_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - registerModelGroup (params?: API.Ml_RegisterModelGroup_Request, options?: TransportRequestOptions): TransportRequestPromise; - registerModelGroup (callback: callbackFn): TransportRequestCallback; - registerModelGroup (params: API.Ml_RegisterModelGroup_Request, callback: callbackFn): TransportRequestCallback; - registerModelGroup (params: API.Ml_RegisterModelGroup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteModelGroup (params: API.Ml_DeleteModelGroup_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteModelGroup (params: API.Ml_DeleteModelGroup_Request, callback: callbackFn): TransportRequestCallback; - deleteModelGroup (params: API.Ml_DeleteModelGroup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getModelGroup (params: API.Ml_GetModelGroup_Request, options?: TransportRequestOptions): TransportRequestPromise; - getModelGroup (params: API.Ml_GetModelGroup_Request, callback: callbackFn): TransportRequestCallback; - getModelGroup (params: API.Ml_GetModelGroup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - registerModel (params?: API.Ml_RegisterModel_Request, options?: TransportRequestOptions): TransportRequestPromise; - registerModel (callback: callbackFn): TransportRequestCallback; - registerModel (params: API.Ml_RegisterModel_Request, callback: callbackFn): TransportRequestCallback; - registerModel (params: API.Ml_RegisterModel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - searchModels (params?: API.Ml_SearchModels_Request, options?: TransportRequestOptions): TransportRequestPromise; - searchModels (callback: callbackFn): TransportRequestCallback; - searchModels (params: API.Ml_SearchModels_Request, callback: callbackFn): TransportRequestCallback; - searchModels (params: API.Ml_SearchModels_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteModel (params: API.Ml_DeleteModel_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteModel (params: API.Ml_DeleteModel_Request, callback: callbackFn): TransportRequestCallback; - deleteModel (params: API.Ml_DeleteModel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deployModel (params: API.Ml_DeployModel_Request, options?: TransportRequestOptions): TransportRequestPromise; - deployModel (params: API.Ml_DeployModel_Request, callback: callbackFn): TransportRequestCallback; - deployModel (params: API.Ml_DeployModel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - undeployModel (params: API.Ml_UndeployModel_Request, options?: TransportRequestOptions): TransportRequestPromise; - undeployModel (params: API.Ml_UndeployModel_Request, callback: callbackFn): TransportRequestCallback; - undeployModel (params: API.Ml_UndeployModel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteTask (params: API.Ml_DeleteTask_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteTask (params: API.Ml_DeleteTask_Request, callback: callbackFn): TransportRequestCallback; - deleteTask (params: API.Ml_DeleteTask_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getTask (params: API.Ml_GetTask_Request, options?: TransportRequestOptions): TransportRequestPromise; - getTask (params: API.Ml_GetTask_Request, callback: callbackFn): TransportRequestCallback; - getTask (params: API.Ml_GetTask_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - nodes: { - info (params?: API.Nodes_Info_Request, options?: TransportRequestOptions): TransportRequestPromise; - info (callback: callbackFn): TransportRequestCallback; - info (params: API.Nodes_Info_Request, callback: callbackFn): TransportRequestCallback; - info (params: API.Nodes_Info_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - hotThreads (params?: API.Nodes_HotThreads_Request, options?: TransportRequestOptions): TransportRequestPromise; - hotThreads (callback: callbackFn): TransportRequestCallback; - hotThreads (params: API.Nodes_HotThreads_Request, callback: callbackFn): TransportRequestCallback; - hotThreads (params: API.Nodes_HotThreads_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - reloadSecureSettings (params?: API.Nodes_ReloadSecureSettings_Request, options?: TransportRequestOptions): TransportRequestPromise; - reloadSecureSettings (callback: callbackFn): TransportRequestCallback; - reloadSecureSettings (params: API.Nodes_ReloadSecureSettings_Request, callback: callbackFn): TransportRequestCallback; - reloadSecureSettings (params: API.Nodes_ReloadSecureSettings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - stats (params?: API.Nodes_Stats_Request, options?: TransportRequestOptions): TransportRequestPromise; - stats (callback: callbackFn): TransportRequestCallback; - stats (params: API.Nodes_Stats_Request, callback: callbackFn): TransportRequestCallback; - stats (params: API.Nodes_Stats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - usage (params?: API.Nodes_Usage_Request, options?: TransportRequestOptions): TransportRequestPromise; - usage (callback: callbackFn): TransportRequestCallback; - usage (params: API.Nodes_Usage_Request, callback: callbackFn): TransportRequestCallback; - usage (params: API.Nodes_Usage_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - notifications: { - listChannels (params?: API.Notifications_ListChannels_Request, options?: TransportRequestOptions): TransportRequestPromise; - listChannels (callback: callbackFn): TransportRequestCallback; - listChannels (params: API.Notifications_ListChannels_Request, callback: callbackFn): TransportRequestCallback; - listChannels (params: API.Notifications_ListChannels_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteConfigs (params: API.Notifications_DeleteConfigs_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteConfigs (params: API.Notifications_DeleteConfigs_Request, callback: callbackFn): TransportRequestCallback; - deleteConfigs (params: API.Notifications_DeleteConfigs_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getConfigs (params?: API.Notifications_GetConfigs_Request, options?: TransportRequestOptions): TransportRequestPromise; - getConfigs (callback: callbackFn): TransportRequestCallback; - getConfigs (params: API.Notifications_GetConfigs_Request, callback: callbackFn): TransportRequestCallback; - getConfigs (params: API.Notifications_GetConfigs_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createConfig (params: API.Notifications_CreateConfig_Request, options?: TransportRequestOptions): TransportRequestPromise; - createConfig (params: API.Notifications_CreateConfig_Request, callback: callbackFn): TransportRequestCallback; - createConfig (params: API.Notifications_CreateConfig_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteConfig (params: API.Notifications_DeleteConfig_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteConfig (params: API.Notifications_DeleteConfig_Request, callback: callbackFn): TransportRequestCallback; - deleteConfig (params: API.Notifications_DeleteConfig_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getConfig (params: API.Notifications_GetConfig_Request, options?: TransportRequestOptions): TransportRequestPromise; - getConfig (params: API.Notifications_GetConfig_Request, callback: callbackFn): TransportRequestCallback; - getConfig (params: API.Notifications_GetConfig_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateConfig (params: API.Notifications_UpdateConfig_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateConfig (params: API.Notifications_UpdateConfig_Request, callback: callbackFn): TransportRequestCallback; - updateConfig (params: API.Notifications_UpdateConfig_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - sendTest (params: API.Notifications_SendTest_Request, options?: TransportRequestOptions): TransportRequestPromise; - sendTest (params: API.Notifications_SendTest_Request, callback: callbackFn): TransportRequestCallback; - sendTest (params: API.Notifications_SendTest_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - listFeatures (params?: API.Notifications_ListFeatures_Request, options?: TransportRequestOptions): TransportRequestPromise; - listFeatures (callback: callbackFn): TransportRequestCallback; - listFeatures (params: API.Notifications_ListFeatures_Request, callback: callbackFn): TransportRequestCallback; - listFeatures (params: API.Notifications_ListFeatures_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - observability: { - getLocalstats (params?: API.Observability_GetLocalstats_Request, options?: TransportRequestOptions): TransportRequestPromise; - getLocalstats (callback: callbackFn): TransportRequestCallback; - getLocalstats (params: API.Observability_GetLocalstats_Request, callback: callbackFn): TransportRequestCallback; - getLocalstats (params: API.Observability_GetLocalstats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteObjects (params?: API.Observability_DeleteObjects_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteObjects (callback: callbackFn): TransportRequestCallback; - deleteObjects (params: API.Observability_DeleteObjects_Request, callback: callbackFn): TransportRequestCallback; - deleteObjects (params: API.Observability_DeleteObjects_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - listObjects (params?: API.Observability_ListObjects_Request, options?: TransportRequestOptions): TransportRequestPromise; - listObjects (callback: callbackFn): TransportRequestCallback; - listObjects (params: API.Observability_ListObjects_Request, callback: callbackFn): TransportRequestCallback; - listObjects (params: API.Observability_ListObjects_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createObject (params?: API.Observability_CreateObject_Request, options?: TransportRequestOptions): TransportRequestPromise; - createObject (callback: callbackFn): TransportRequestCallback; - createObject (params: API.Observability_CreateObject_Request, callback: callbackFn): TransportRequestCallback; - createObject (params: API.Observability_CreateObject_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteObject (params: API.Observability_DeleteObject_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteObject (params: API.Observability_DeleteObject_Request, callback: callbackFn): TransportRequestCallback; - deleteObject (params: API.Observability_DeleteObject_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getObject (params: API.Observability_GetObject_Request, options?: TransportRequestOptions): TransportRequestPromise; - getObject (params: API.Observability_GetObject_Request, callback: callbackFn): TransportRequestCallback; - getObject (params: API.Observability_GetObject_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateObject (params: API.Observability_UpdateObject_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateObject (params: API.Observability_UpdateObject_Request, callback: callbackFn): TransportRequestCallback; - updateObject (params: API.Observability_UpdateObject_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - ppl: { - query (params: API.Ppl_Query_Request, options?: TransportRequestOptions): TransportRequestPromise; - query (params: API.Ppl_Query_Request, callback: callbackFn): TransportRequestCallback; - query (params: API.Ppl_Query_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - explain (params: API.Ppl_Explain_Request, options?: TransportRequestOptions): TransportRequestPromise; - explain (params: API.Ppl_Explain_Request, callback: callbackFn): TransportRequestCallback; - explain (params: API.Ppl_Explain_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getStats (params?: API.Ppl_GetStats_Request, options?: TransportRequestOptions): TransportRequestPromise; - getStats (callback: callbackFn): TransportRequestCallback; - getStats (params: API.Ppl_GetStats_Request, callback: callbackFn): TransportRequestCallback; - getStats (params: API.Ppl_GetStats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - postStats (params: API.Ppl_PostStats_Request, options?: TransportRequestOptions): TransportRequestPromise; - postStats (params: API.Ppl_PostStats_Request, callback: callbackFn): TransportRequestCallback; - postStats (params: API.Ppl_PostStats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - query: { - datasourcesList (params?: API.Query_DatasourcesList_Request, options?: TransportRequestOptions): TransportRequestPromise; - datasourcesList (callback: callbackFn): TransportRequestCallback; - datasourcesList (params: API.Query_DatasourcesList_Request, callback: callbackFn): TransportRequestCallback; - datasourcesList (params: API.Query_DatasourcesList_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - datasourcesCreate (params?: API.Query_DatasourcesCreate_Request, options?: TransportRequestOptions): TransportRequestPromise; - datasourcesCreate (callback: callbackFn): TransportRequestCallback; - datasourcesCreate (params: API.Query_DatasourcesCreate_Request, callback: callbackFn): TransportRequestCallback; - datasourcesCreate (params: API.Query_DatasourcesCreate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - datasourcesUpdate (params?: API.Query_DatasourcesUpdate_Request, options?: TransportRequestOptions): TransportRequestPromise; - datasourcesUpdate (callback: callbackFn): TransportRequestCallback; - datasourcesUpdate (params: API.Query_DatasourcesUpdate_Request, callback: callbackFn): TransportRequestCallback; - datasourcesUpdate (params: API.Query_DatasourcesUpdate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - datasourceDelete (params: API.Query_DatasourceDelete_Request, options?: TransportRequestOptions): TransportRequestPromise; - datasourceDelete (params: API.Query_DatasourceDelete_Request, callback: callbackFn): TransportRequestCallback; - datasourceDelete (params: API.Query_DatasourceDelete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - datasourceRetrieve (params: API.Query_DatasourceRetrieve_Request, options?: TransportRequestOptions): TransportRequestPromise; - datasourceRetrieve (params: API.Query_DatasourceRetrieve_Request, callback: callbackFn): TransportRequestCallback; - datasourceRetrieve (params: API.Query_DatasourceRetrieve_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - remoteStore: { - restore (params: API.RemoteStore_Restore_Request, options?: TransportRequestOptions): TransportRequestPromise; - restore (params: API.RemoteStore_Restore_Request, callback: callbackFn): TransportRequestCallback; - restore (params: API.RemoteStore_Restore_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - rollups: { - delete (params: API.Rollups_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.Rollups_Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.Rollups_Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.Rollups_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.Rollups_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.Rollups_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - put (params: API.Rollups_Put_Request, options?: TransportRequestOptions): TransportRequestPromise; - put (params: API.Rollups_Put_Request, callback: callbackFn): TransportRequestCallback; - put (params: API.Rollups_Put_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - explain (params: API.Rollups_Explain_Request, options?: TransportRequestOptions): TransportRequestPromise; - explain (params: API.Rollups_Explain_Request, callback: callbackFn): TransportRequestCallback; - explain (params: API.Rollups_Explain_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - start (params: API.Rollups_Start_Request, options?: TransportRequestOptions): TransportRequestPromise; - start (params: API.Rollups_Start_Request, callback: callbackFn): TransportRequestCallback; - start (params: API.Rollups_Start_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - stop (params: API.Rollups_Stop_Request, options?: TransportRequestOptions): TransportRequestPromise; - stop (params: API.Rollups_Stop_Request, callback: callbackFn): TransportRequestCallback; - stop (params: API.Rollups_Stop_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - searchPipeline: { - get (params?: API.SearchPipeline_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (callback: callbackFn): TransportRequestCallback; - get (params: API.SearchPipeline_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.SearchPipeline_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: API.SearchPipeline_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.SearchPipeline_Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.SearchPipeline_Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - put (params: API.SearchPipeline_Put_Request, options?: TransportRequestOptions): TransportRequestPromise; - put (params: API.SearchPipeline_Put_Request, callback: callbackFn): TransportRequestCallback; - put (params: API.SearchPipeline_Put_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - security: { - getSslinfo (params?: API.Security_GetSslinfo_Request, options?: TransportRequestOptions): TransportRequestPromise; - getSslinfo (callback: callbackFn): TransportRequestCallback; - getSslinfo (params: API.Security_GetSslinfo_Request, callback: callbackFn): TransportRequestCallback; - getSslinfo (params: API.Security_GetSslinfo_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - configUpgradeCheck (params?: API.Security_ConfigUpgradeCheck_Request, options?: TransportRequestOptions): TransportRequestPromise; - configUpgradeCheck (callback: callbackFn): TransportRequestCallback; - configUpgradeCheck (params: API.Security_ConfigUpgradeCheck_Request, callback: callbackFn): TransportRequestCallback; - configUpgradeCheck (params: API.Security_ConfigUpgradeCheck_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - configUpgradePerform (params?: API.Security_ConfigUpgradePerform_Request, options?: TransportRequestOptions): TransportRequestPromise; - configUpgradePerform (callback: callbackFn): TransportRequestCallback; - configUpgradePerform (params: API.Security_ConfigUpgradePerform_Request, callback: callbackFn): TransportRequestCallback; - configUpgradePerform (params: API.Security_ConfigUpgradePerform_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getAccountDetails (params?: API.Security_GetAccountDetails_Request, options?: TransportRequestOptions): TransportRequestPromise; - getAccountDetails (callback: callbackFn): TransportRequestCallback; - getAccountDetails (params: API.Security_GetAccountDetails_Request, callback: callbackFn): TransportRequestCallback; - getAccountDetails (params: API.Security_GetAccountDetails_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - changePassword (params: API.Security_ChangePassword_Request, options?: TransportRequestOptions): TransportRequestPromise; - changePassword (params: API.Security_ChangePassword_Request, callback: callbackFn): TransportRequestCallback; - changePassword (params: API.Security_ChangePassword_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getActionGroups (params?: API.Security_GetActionGroups_Request, options?: TransportRequestOptions): TransportRequestPromise; - getActionGroups (callback: callbackFn): TransportRequestCallback; - getActionGroups (params: API.Security_GetActionGroups_Request, callback: callbackFn): TransportRequestCallback; - getActionGroups (params: API.Security_GetActionGroups_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchActionGroups (params: API.Security_PatchActionGroups_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchActionGroups (params: API.Security_PatchActionGroups_Request, callback: callbackFn): TransportRequestCallback; - patchActionGroups (params: API.Security_PatchActionGroups_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteActionGroup (params: API.Security_DeleteActionGroup_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteActionGroup (params: API.Security_DeleteActionGroup_Request, callback: callbackFn): TransportRequestCallback; - deleteActionGroup (params: API.Security_DeleteActionGroup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getActionGroup (params: API.Security_GetActionGroup_Request, options?: TransportRequestOptions): TransportRequestPromise; - getActionGroup (params: API.Security_GetActionGroup_Request, callback: callbackFn): TransportRequestCallback; - getActionGroup (params: API.Security_GetActionGroup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchActionGroup (params: API.Security_PatchActionGroup_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchActionGroup (params: API.Security_PatchActionGroup_Request, callback: callbackFn): TransportRequestCallback; - patchActionGroup (params: API.Security_PatchActionGroup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createActionGroup (params: API.Security_CreateActionGroup_Request, options?: TransportRequestOptions): TransportRequestPromise; - createActionGroup (params: API.Security_CreateActionGroup_Request, callback: callbackFn): TransportRequestCallback; - createActionGroup (params: API.Security_CreateActionGroup_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getAllowlist (params?: API.Security_GetAllowlist_Request, options?: TransportRequestOptions): TransportRequestPromise; - getAllowlist (callback: callbackFn): TransportRequestCallback; - getAllowlist (params: API.Security_GetAllowlist_Request, callback: callbackFn): TransportRequestCallback; - getAllowlist (params: API.Security_GetAllowlist_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchAllowlist (params: API.Security_PatchAllowlist_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchAllowlist (params: API.Security_PatchAllowlist_Request, callback: callbackFn): TransportRequestCallback; - patchAllowlist (params: API.Security_PatchAllowlist_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createAllowlist (params: API.Security_CreateAllowlist_Request, options?: TransportRequestOptions): TransportRequestPromise; - createAllowlist (params: API.Security_CreateAllowlist_Request, callback: callbackFn): TransportRequestCallback; - createAllowlist (params: API.Security_CreateAllowlist_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getAuditConfiguration (params?: API.Security_GetAuditConfiguration_Request, options?: TransportRequestOptions): TransportRequestPromise; - getAuditConfiguration (callback: callbackFn): TransportRequestCallback; - getAuditConfiguration (params: API.Security_GetAuditConfiguration_Request, callback: callbackFn): TransportRequestCallback; - getAuditConfiguration (params: API.Security_GetAuditConfiguration_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchAuditConfiguration (params: API.Security_PatchAuditConfiguration_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchAuditConfiguration (params: API.Security_PatchAuditConfiguration_Request, callback: callbackFn): TransportRequestCallback; - patchAuditConfiguration (params: API.Security_PatchAuditConfiguration_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateAuditConfiguration (params: API.Security_UpdateAuditConfiguration_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateAuditConfiguration (params: API.Security_UpdateAuditConfiguration_Request, callback: callbackFn): TransportRequestCallback; - updateAuditConfiguration (params: API.Security_UpdateAuditConfiguration_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - authtoken (params?: API.Security_Authtoken_Request, options?: TransportRequestOptions): TransportRequestPromise; - authtoken (callback: callbackFn): TransportRequestCallback; - authtoken (params: API.Security_Authtoken_Request, callback: callbackFn): TransportRequestCallback; - authtoken (params: API.Security_Authtoken_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - flushCache (params?: API.Security_FlushCache_Request, options?: TransportRequestOptions): TransportRequestPromise; - flushCache (callback: callbackFn): TransportRequestCallback; - flushCache (params: API.Security_FlushCache_Request, callback: callbackFn): TransportRequestCallback; - flushCache (params: API.Security_FlushCache_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getAllCertificates (params?: API.Security_GetAllCertificates_Request, options?: TransportRequestOptions): TransportRequestPromise; - getAllCertificates (callback: callbackFn): TransportRequestCallback; - getAllCertificates (params: API.Security_GetAllCertificates_Request, callback: callbackFn): TransportRequestCallback; - getAllCertificates (params: API.Security_GetAllCertificates_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getNodeCertificates (params: API.Security_GetNodeCertificates_Request, options?: TransportRequestOptions): TransportRequestPromise; - getNodeCertificates (params: API.Security_GetNodeCertificates_Request, callback: callbackFn): TransportRequestCallback; - getNodeCertificates (params: API.Security_GetNodeCertificates_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - generateOboToken (params: API.Security_GenerateOboToken_Request, options?: TransportRequestOptions): TransportRequestPromise; - generateOboToken (params: API.Security_GenerateOboToken_Request, callback: callbackFn): TransportRequestCallback; - generateOboToken (params: API.Security_GenerateOboToken_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getUsers (params?: API.Security_GetUsers_Request, options?: TransportRequestOptions): TransportRequestPromise; - getUsers (callback: callbackFn): TransportRequestCallback; - getUsers (params: API.Security_GetUsers_Request, callback: callbackFn): TransportRequestCallback; - getUsers (params: API.Security_GetUsers_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchUsers (params: API.Security_PatchUsers_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchUsers (params: API.Security_PatchUsers_Request, callback: callbackFn): TransportRequestCallback; - patchUsers (params: API.Security_PatchUsers_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteUser (params: API.Security_DeleteUser_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteUser (params: API.Security_DeleteUser_Request, callback: callbackFn): TransportRequestCallback; - deleteUser (params: API.Security_DeleteUser_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getUser (params: API.Security_GetUser_Request, options?: TransportRequestOptions): TransportRequestPromise; - getUser (params: API.Security_GetUser_Request, callback: callbackFn): TransportRequestCallback; - getUser (params: API.Security_GetUser_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchUser (params: API.Security_PatchUser_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchUser (params: API.Security_PatchUser_Request, callback: callbackFn): TransportRequestCallback; - patchUser (params: API.Security_PatchUser_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createUser (params: API.Security_CreateUser_Request, options?: TransportRequestOptions): TransportRequestPromise; - createUser (params: API.Security_CreateUser_Request, callback: callbackFn): TransportRequestCallback; - createUser (params: API.Security_CreateUser_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - generateUserToken (params: API.Security_GenerateUserToken_Request, options?: TransportRequestOptions): TransportRequestPromise; - generateUserToken (params: API.Security_GenerateUserToken_Request, callback: callbackFn): TransportRequestCallback; - generateUserToken (params: API.Security_GenerateUserToken_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - migrate (params?: API.Security_Migrate_Request, options?: TransportRequestOptions): TransportRequestPromise; - migrate (callback: callbackFn): TransportRequestCallback; - migrate (params: API.Security_Migrate_Request, callback: callbackFn): TransportRequestCallback; - migrate (params: API.Security_Migrate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getDistinguishedNames (params?: API.Security_GetDistinguishedNames_Request, options?: TransportRequestOptions): TransportRequestPromise; - getDistinguishedNames (callback: callbackFn): TransportRequestCallback; - getDistinguishedNames (params: API.Security_GetDistinguishedNames_Request, callback: callbackFn): TransportRequestCallback; - getDistinguishedNames (params: API.Security_GetDistinguishedNames_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchDistinguishedNames (params: API.Security_PatchDistinguishedNames_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchDistinguishedNames (params: API.Security_PatchDistinguishedNames_Request, callback: callbackFn): TransportRequestCallback; - patchDistinguishedNames (params: API.Security_PatchDistinguishedNames_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteDistinguishedName (params: API.Security_DeleteDistinguishedName_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteDistinguishedName (params: API.Security_DeleteDistinguishedName_Request, callback: callbackFn): TransportRequestCallback; - deleteDistinguishedName (params: API.Security_DeleteDistinguishedName_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getDistinguishedName (params: API.Security_GetDistinguishedName_Request, options?: TransportRequestOptions): TransportRequestPromise; - getDistinguishedName (params: API.Security_GetDistinguishedName_Request, callback: callbackFn): TransportRequestCallback; - getDistinguishedName (params: API.Security_GetDistinguishedName_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchDistinguishedName (params: API.Security_PatchDistinguishedName_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchDistinguishedName (params: API.Security_PatchDistinguishedName_Request, callback: callbackFn): TransportRequestCallback; - patchDistinguishedName (params: API.Security_PatchDistinguishedName_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateDistinguishedName (params: API.Security_UpdateDistinguishedName_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateDistinguishedName (params: API.Security_UpdateDistinguishedName_Request, callback: callbackFn): TransportRequestCallback; - updateDistinguishedName (params: API.Security_UpdateDistinguishedName_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getPermissionsInfo (params?: API.Security_GetPermissionsInfo_Request, options?: TransportRequestOptions): TransportRequestPromise; - getPermissionsInfo (callback: callbackFn): TransportRequestCallback; - getPermissionsInfo (params: API.Security_GetPermissionsInfo_Request, callback: callbackFn): TransportRequestCallback; - getPermissionsInfo (params: API.Security_GetPermissionsInfo_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getRoles (params?: API.Security_GetRoles_Request, options?: TransportRequestOptions): TransportRequestPromise; - getRoles (callback: callbackFn): TransportRequestCallback; - getRoles (params: API.Security_GetRoles_Request, callback: callbackFn): TransportRequestCallback; - getRoles (params: API.Security_GetRoles_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchRoles (params: API.Security_PatchRoles_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchRoles (params: API.Security_PatchRoles_Request, callback: callbackFn): TransportRequestCallback; - patchRoles (params: API.Security_PatchRoles_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteRole (params: API.Security_DeleteRole_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteRole (params: API.Security_DeleteRole_Request, callback: callbackFn): TransportRequestCallback; - deleteRole (params: API.Security_DeleteRole_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getRole (params: API.Security_GetRole_Request, options?: TransportRequestOptions): TransportRequestPromise; - getRole (params: API.Security_GetRole_Request, callback: callbackFn): TransportRequestCallback; - getRole (params: API.Security_GetRole_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchRole (params: API.Security_PatchRole_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchRole (params: API.Security_PatchRole_Request, callback: callbackFn): TransportRequestCallback; - patchRole (params: API.Security_PatchRole_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createRole (params: API.Security_CreateRole_Request, options?: TransportRequestOptions): TransportRequestPromise; - createRole (params: API.Security_CreateRole_Request, callback: callbackFn): TransportRequestCallback; - createRole (params: API.Security_CreateRole_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getRoleMappings (params?: API.Security_GetRoleMappings_Request, options?: TransportRequestOptions): TransportRequestPromise; - getRoleMappings (callback: callbackFn): TransportRequestCallback; - getRoleMappings (params: API.Security_GetRoleMappings_Request, callback: callbackFn): TransportRequestCallback; - getRoleMappings (params: API.Security_GetRoleMappings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchRoleMappings (params: API.Security_PatchRoleMappings_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchRoleMappings (params: API.Security_PatchRoleMappings_Request, callback: callbackFn): TransportRequestCallback; - patchRoleMappings (params: API.Security_PatchRoleMappings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteRoleMapping (params: API.Security_DeleteRoleMapping_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteRoleMapping (params: API.Security_DeleteRoleMapping_Request, callback: callbackFn): TransportRequestCallback; - deleteRoleMapping (params: API.Security_DeleteRoleMapping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getRoleMapping (params: API.Security_GetRoleMapping_Request, options?: TransportRequestOptions): TransportRequestPromise; - getRoleMapping (params: API.Security_GetRoleMapping_Request, callback: callbackFn): TransportRequestCallback; - getRoleMapping (params: API.Security_GetRoleMapping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchRoleMapping (params: API.Security_PatchRoleMapping_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchRoleMapping (params: API.Security_PatchRoleMapping_Request, callback: callbackFn): TransportRequestCallback; - patchRoleMapping (params: API.Security_PatchRoleMapping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createRoleMapping (params: API.Security_CreateRoleMapping_Request, options?: TransportRequestOptions): TransportRequestPromise; - createRoleMapping (params: API.Security_CreateRoleMapping_Request, callback: callbackFn): TransportRequestCallback; - createRoleMapping (params: API.Security_CreateRoleMapping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getConfiguration (params?: API.Security_GetConfiguration_Request, options?: TransportRequestOptions): TransportRequestPromise; - getConfiguration (callback: callbackFn): TransportRequestCallback; - getConfiguration (params: API.Security_GetConfiguration_Request, callback: callbackFn): TransportRequestCallback; - getConfiguration (params: API.Security_GetConfiguration_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchConfiguration (params: API.Security_PatchConfiguration_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchConfiguration (params: API.Security_PatchConfiguration_Request, callback: callbackFn): TransportRequestCallback; - patchConfiguration (params: API.Security_PatchConfiguration_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateConfiguration (params: API.Security_UpdateConfiguration_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateConfiguration (params: API.Security_UpdateConfiguration_Request, callback: callbackFn): TransportRequestCallback; - updateConfiguration (params: API.Security_UpdateConfiguration_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getCertificates (params?: API.Security_GetCertificates_Request, options?: TransportRequestOptions): TransportRequestPromise; - getCertificates (callback: callbackFn): TransportRequestCallback; - getCertificates (params: API.Security_GetCertificates_Request, callback: callbackFn): TransportRequestCallback; - getCertificates (params: API.Security_GetCertificates_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - reloadHttpCertificates (params?: API.Security_ReloadHttpCertificates_Request, options?: TransportRequestOptions): TransportRequestPromise; - reloadHttpCertificates (callback: callbackFn): TransportRequestCallback; - reloadHttpCertificates (params: API.Security_ReloadHttpCertificates_Request, callback: callbackFn): TransportRequestCallback; - reloadHttpCertificates (params: API.Security_ReloadHttpCertificates_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - reloadTransportCertificates (params?: API.Security_ReloadTransportCertificates_Request, options?: TransportRequestOptions): TransportRequestPromise; - reloadTransportCertificates (callback: callbackFn): TransportRequestCallback; - reloadTransportCertificates (params: API.Security_ReloadTransportCertificates_Request, callback: callbackFn): TransportRequestCallback; - reloadTransportCertificates (params: API.Security_ReloadTransportCertificates_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getTenancyConfig (params?: API.Security_GetTenancyConfig_Request, options?: TransportRequestOptions): TransportRequestPromise; - getTenancyConfig (callback: callbackFn): TransportRequestCallback; - getTenancyConfig (params: API.Security_GetTenancyConfig_Request, callback: callbackFn): TransportRequestCallback; - getTenancyConfig (params: API.Security_GetTenancyConfig_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createUpdateTenancyConfig (params: API.Security_CreateUpdateTenancyConfig_Request, options?: TransportRequestOptions): TransportRequestPromise; - createUpdateTenancyConfig (params: API.Security_CreateUpdateTenancyConfig_Request, callback: callbackFn): TransportRequestCallback; - createUpdateTenancyConfig (params: API.Security_CreateUpdateTenancyConfig_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getTenants (params?: API.Security_GetTenants_Request, options?: TransportRequestOptions): TransportRequestPromise; - getTenants (callback: callbackFn): TransportRequestCallback; - getTenants (params: API.Security_GetTenants_Request, callback: callbackFn): TransportRequestCallback; - getTenants (params: API.Security_GetTenants_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchTenants (params: API.Security_PatchTenants_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchTenants (params: API.Security_PatchTenants_Request, callback: callbackFn): TransportRequestCallback; - patchTenants (params: API.Security_PatchTenants_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteTenant (params: API.Security_DeleteTenant_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteTenant (params: API.Security_DeleteTenant_Request, callback: callbackFn): TransportRequestCallback; - deleteTenant (params: API.Security_DeleteTenant_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getTenant (params: API.Security_GetTenant_Request, options?: TransportRequestOptions): TransportRequestPromise; - getTenant (params: API.Security_GetTenant_Request, callback: callbackFn): TransportRequestCallback; - getTenant (params: API.Security_GetTenant_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patchTenant (params: API.Security_PatchTenant_Request, options?: TransportRequestOptions): TransportRequestPromise; - patchTenant (params: API.Security_PatchTenant_Request, callback: callbackFn): TransportRequestCallback; - patchTenant (params: API.Security_PatchTenant_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createTenant (params: API.Security_CreateTenant_Request, options?: TransportRequestOptions): TransportRequestPromise; - createTenant (params: API.Security_CreateTenant_Request, callback: callbackFn): TransportRequestCallback; - createTenant (params: API.Security_CreateTenant_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getUsersLegacy (params?: API.Security_GetUsersLegacy_Request, options?: TransportRequestOptions): TransportRequestPromise; - getUsersLegacy (callback: callbackFn): TransportRequestCallback; - getUsersLegacy (params: API.Security_GetUsersLegacy_Request, callback: callbackFn): TransportRequestCallback; - getUsersLegacy (params: API.Security_GetUsersLegacy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteUserLegacy (params: API.Security_DeleteUserLegacy_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteUserLegacy (params: API.Security_DeleteUserLegacy_Request, callback: callbackFn): TransportRequestCallback; - deleteUserLegacy (params: API.Security_DeleteUserLegacy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getUserLegacy (params: API.Security_GetUserLegacy_Request, options?: TransportRequestOptions): TransportRequestPromise; - getUserLegacy (params: API.Security_GetUserLegacy_Request, callback: callbackFn): TransportRequestCallback; - getUserLegacy (params: API.Security_GetUserLegacy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createUserLegacy (params: API.Security_CreateUserLegacy_Request, options?: TransportRequestOptions): TransportRequestPromise; - createUserLegacy (params: API.Security_CreateUserLegacy_Request, callback: callbackFn): TransportRequestCallback; - createUserLegacy (params: API.Security_CreateUserLegacy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - generateUserTokenLegacy (params: API.Security_GenerateUserTokenLegacy_Request, options?: TransportRequestOptions): TransportRequestPromise; - generateUserTokenLegacy (params: API.Security_GenerateUserTokenLegacy_Request, callback: callbackFn): TransportRequestCallback; - generateUserTokenLegacy (params: API.Security_GenerateUserTokenLegacy_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - validate (params?: API.Security_Validate_Request, options?: TransportRequestOptions): TransportRequestPromise; - validate (callback: callbackFn): TransportRequestCallback; - validate (params: API.Security_Validate_Request, callback: callbackFn): TransportRequestCallback; - validate (params: API.Security_Validate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - authinfo (params?: API.Security_Authinfo_Request, options?: TransportRequestOptions): TransportRequestPromise; - authinfo (callback: callbackFn): TransportRequestCallback; - authinfo (params: API.Security_Authinfo_Request, callback: callbackFn): TransportRequestCallback; - authinfo (params: API.Security_Authinfo_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getDashboardsInfo (params?: API.Security_GetDashboardsInfo_Request, options?: TransportRequestOptions): TransportRequestPromise; - getDashboardsInfo (callback: callbackFn): TransportRequestCallback; - getDashboardsInfo (params: API.Security_GetDashboardsInfo_Request, callback: callbackFn): TransportRequestCallback; - getDashboardsInfo (params: API.Security_GetDashboardsInfo_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - postDashboardsInfo (params?: API.Security_PostDashboardsInfo_Request, options?: TransportRequestOptions): TransportRequestPromise; - postDashboardsInfo (callback: callbackFn): TransportRequestCallback; - postDashboardsInfo (params: API.Security_PostDashboardsInfo_Request, callback: callbackFn): TransportRequestCallback; - postDashboardsInfo (params: API.Security_PostDashboardsInfo_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - health (params?: API.Security_Health_Request, options?: TransportRequestOptions): TransportRequestPromise; - health (callback: callbackFn): TransportRequestCallback; - health (params: API.Security_Health_Request, callback: callbackFn): TransportRequestCallback; - health (params: API.Security_Health_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - tenantInfo (params?: API.Security_TenantInfo_Request, options?: TransportRequestOptions): TransportRequestPromise; - tenantInfo (callback: callbackFn): TransportRequestCallback; - tenantInfo (params: API.Security_TenantInfo_Request, callback: callbackFn): TransportRequestCallback; - tenantInfo (params: API.Security_TenantInfo_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - whoAmI (params?: API.Security_WhoAmI_Request, options?: TransportRequestOptions): TransportRequestPromise; - whoAmI (callback: callbackFn): TransportRequestCallback; - whoAmI (params: API.Security_WhoAmI_Request, callback: callbackFn): TransportRequestCallback; - whoAmI (params: API.Security_WhoAmI_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - whoAmIProtected (params?: API.Security_WhoAmIProtected_Request, options?: TransportRequestOptions): TransportRequestPromise; - whoAmIProtected (callback: callbackFn): TransportRequestCallback; - whoAmIProtected (params: API.Security_WhoAmIProtected_Request, callback: callbackFn): TransportRequestCallback; - whoAmIProtected (params: API.Security_WhoAmIProtected_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - snapshot: { - getRepository (params?: API.Snapshot_GetRepository_Request, options?: TransportRequestOptions): TransportRequestPromise; - getRepository (callback: callbackFn): TransportRequestCallback; - getRepository (params: API.Snapshot_GetRepository_Request, callback: callbackFn): TransportRequestCallback; - getRepository (params: API.Snapshot_GetRepository_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - status (params?: API.Snapshot_Status_Request, options?: TransportRequestOptions): TransportRequestPromise; - status (callback: callbackFn): TransportRequestCallback; - status (params: API.Snapshot_Status_Request, callback: callbackFn): TransportRequestCallback; - status (params: API.Snapshot_Status_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteRepository (params: API.Snapshot_DeleteRepository_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteRepository (params: API.Snapshot_DeleteRepository_Request, callback: callbackFn): TransportRequestCallback; - deleteRepository (params: API.Snapshot_DeleteRepository_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createRepository (params: API.Snapshot_CreateRepository_Request, options?: TransportRequestOptions): TransportRequestPromise; - createRepository (params: API.Snapshot_CreateRepository_Request, callback: callbackFn): TransportRequestCallback; - createRepository (params: API.Snapshot_CreateRepository_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - cleanupRepository (params: API.Snapshot_CleanupRepository_Request, options?: TransportRequestOptions): TransportRequestPromise; - cleanupRepository (params: API.Snapshot_CleanupRepository_Request, callback: callbackFn): TransportRequestCallback; - cleanupRepository (params: API.Snapshot_CleanupRepository_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - verifyRepository (params: API.Snapshot_VerifyRepository_Request, options?: TransportRequestOptions): TransportRequestPromise; - verifyRepository (params: API.Snapshot_VerifyRepository_Request, callback: callbackFn): TransportRequestCallback; - verifyRepository (params: API.Snapshot_VerifyRepository_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: API.Snapshot_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.Snapshot_Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.Snapshot_Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.Snapshot_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.Snapshot_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.Snapshot_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - create (params: API.Snapshot_Create_Request, options?: TransportRequestOptions): TransportRequestPromise; - create (params: API.Snapshot_Create_Request, callback: callbackFn): TransportRequestCallback; - create (params: API.Snapshot_Create_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - clone (params: API.Snapshot_Clone_Request, options?: TransportRequestOptions): TransportRequestPromise; - clone (params: API.Snapshot_Clone_Request, callback: callbackFn): TransportRequestCallback; - clone (params: API.Snapshot_Clone_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - restore (params: API.Snapshot_Restore_Request, options?: TransportRequestOptions): TransportRequestPromise; - restore (params: API.Snapshot_Restore_Request, callback: callbackFn): TransportRequestCallback; - restore (params: API.Snapshot_Restore_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - sql: { - settings (params: API.Sql_Settings_Request, options?: TransportRequestOptions): TransportRequestPromise; - settings (params: API.Sql_Settings_Request, callback: callbackFn): TransportRequestCallback; - settings (params: API.Sql_Settings_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - query (params: API.Sql_Query_Request, options?: TransportRequestOptions): TransportRequestPromise; - query (params: API.Sql_Query_Request, callback: callbackFn): TransportRequestCallback; - query (params: API.Sql_Query_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - explain (params: API.Sql_Explain_Request, options?: TransportRequestOptions): TransportRequestPromise; - explain (params: API.Sql_Explain_Request, callback: callbackFn): TransportRequestCallback; - explain (params: API.Sql_Explain_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - close (params: API.Sql_Close_Request, options?: TransportRequestOptions): TransportRequestPromise; - close (params: API.Sql_Close_Request, callback: callbackFn): TransportRequestCallback; - close (params: API.Sql_Close_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getStats (params?: API.Sql_GetStats_Request, options?: TransportRequestOptions): TransportRequestPromise; - getStats (callback: callbackFn): TransportRequestCallback; - getStats (params: API.Sql_GetStats_Request, callback: callbackFn): TransportRequestCallback; - getStats (params: API.Sql_GetStats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - postStats (params: API.Sql_PostStats_Request, options?: TransportRequestOptions): TransportRequestPromise; - postStats (params: API.Sql_PostStats_Request, callback: callbackFn): TransportRequestCallback; - postStats (params: API.Sql_PostStats_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - tasks: { - list (params?: API.Tasks_List_Request, options?: TransportRequestOptions): TransportRequestPromise; - list (callback: callbackFn): TransportRequestCallback; - list (params: API.Tasks_List_Request, callback: callbackFn): TransportRequestCallback; - list (params: API.Tasks_List_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - cancel (params?: API.Tasks_Cancel_Request, options?: TransportRequestOptions): TransportRequestPromise; - cancel (callback: callbackFn): TransportRequestCallback; - cancel (params: API.Tasks_Cancel_Request, callback: callbackFn): TransportRequestCallback; - cancel (params: API.Tasks_Cancel_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.Tasks_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.Tasks_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.Tasks_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - transforms: { - search (params?: API.Transforms_Search_Request, options?: TransportRequestOptions): TransportRequestPromise; - search (callback: callbackFn): TransportRequestCallback; - search (params: API.Transforms_Search_Request, callback: callbackFn): TransportRequestCallback; - search (params: API.Transforms_Search_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - preview (params?: API.Transforms_Preview_Request, options?: TransportRequestOptions): TransportRequestPromise; - preview (callback: callbackFn): TransportRequestCallback; - preview (params: API.Transforms_Preview_Request, callback: callbackFn): TransportRequestCallback; - preview (params: API.Transforms_Preview_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: API.Transforms_Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.Transforms_Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.Transforms_Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.Transforms_Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.Transforms_Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.Transforms_Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - put (params: API.Transforms_Put_Request, options?: TransportRequestOptions): TransportRequestPromise; - put (params: API.Transforms_Put_Request, callback: callbackFn): TransportRequestCallback; - put (params: API.Transforms_Put_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - explain (params: API.Transforms_Explain_Request, options?: TransportRequestOptions): TransportRequestPromise; - explain (params: API.Transforms_Explain_Request, callback: callbackFn): TransportRequestCallback; - explain (params: API.Transforms_Explain_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - start (params: API.Transforms_Start_Request, options?: TransportRequestOptions): TransportRequestPromise; - start (params: API.Transforms_Start_Request, callback: callbackFn): TransportRequestCallback; - start (params: API.Transforms_Start_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - stop (params: API.Transforms_Stop_Request, options?: TransportRequestOptions): TransportRequestPromise; - stop (params: API.Transforms_Stop_Request, callback: callbackFn): TransportRequestCallback; - stop (params: API.Transforms_Stop_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - - http: { - connect (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - connect (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - connect (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - delete (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - get (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - get (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - head (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - head (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - head (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - options (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - options (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - options (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - patch (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - patch (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - patch (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - post (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - post (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - post (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - put (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - put (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - put (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - trace (params: HttpRequest, options?: TransportRequestOptions): TransportRequestPromise; - trace (params: HttpRequest, callback: callbackFn): TransportRequestCallback; - trace (params: HttpRequest, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - }; - - info (params?: API.Info_Request, options?: TransportRequestOptions): TransportRequestPromise; - info (callback: callbackFn): TransportRequestCallback; - info (params: API.Info_Request, callback: callbackFn): TransportRequestCallback; - info (params: API.Info_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - ping (params?: API.Ping_Request, options?: TransportRequestOptions): TransportRequestPromise; - ping (callback: callbackFn): TransportRequestCallback; - ping (params: API.Ping_Request, callback: callbackFn): TransportRequestCallback; - ping (params: API.Ping_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - bulk (params: API.Bulk_Request, options?: TransportRequestOptions): TransportRequestPromise; - bulk (params: API.Bulk_Request, callback: callbackFn): TransportRequestCallback; - bulk (params: API.Bulk_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - count (params?: API.Count_Request, options?: TransportRequestOptions): TransportRequestPromise; - count (callback: callbackFn): TransportRequestCallback; - count (params: API.Count_Request, callback: callbackFn): TransportRequestCallback; - count (params: API.Count_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteByQueryRethrottle (params: API.DeleteByQueryRethrottle_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteByQueryRethrottle (params: API.DeleteByQueryRethrottle_Request, callback: callbackFn): TransportRequestCallback; - deleteByQueryRethrottle (params: API.DeleteByQueryRethrottle_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - fieldCaps (params?: API.FieldCaps_Request, options?: TransportRequestOptions): TransportRequestPromise; - fieldCaps (callback: callbackFn): TransportRequestCallback; - fieldCaps (params: API.FieldCaps_Request, callback: callbackFn): TransportRequestCallback; - fieldCaps (params: API.FieldCaps_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - mget (params: API.Mget_Request, options?: TransportRequestOptions): TransportRequestPromise; - mget (params: API.Mget_Request, callback: callbackFn): TransportRequestCallback; - mget (params: API.Mget_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - msearch (params: API.Msearch_Request, options?: TransportRequestOptions): TransportRequestPromise; - msearch (params: API.Msearch_Request, callback: callbackFn): TransportRequestCallback; - msearch (params: API.Msearch_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - msearchTemplate (params: API.MsearchTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - msearchTemplate (params: API.MsearchTemplate_Request, callback: callbackFn): TransportRequestCallback; - msearchTemplate (params: API.MsearchTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - mtermvectors (params?: API.Mtermvectors_Request, options?: TransportRequestOptions): TransportRequestPromise; - mtermvectors (callback: callbackFn): TransportRequestCallback; - mtermvectors (params: API.Mtermvectors_Request, callback: callbackFn): TransportRequestCallback; - mtermvectors (params: API.Mtermvectors_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - rankEval (params: API.RankEval_Request, options?: TransportRequestOptions): TransportRequestPromise; - rankEval (params: API.RankEval_Request, callback: callbackFn): TransportRequestCallback; - rankEval (params: API.RankEval_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - reindex (params: API.Reindex_Request, options?: TransportRequestOptions): TransportRequestPromise; - reindex (params: API.Reindex_Request, callback: callbackFn): TransportRequestCallback; - reindex (params: API.Reindex_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - reindexRethrottle (params: API.ReindexRethrottle_Request, options?: TransportRequestOptions): TransportRequestPromise; - reindexRethrottle (params: API.ReindexRethrottle_Request, callback: callbackFn): TransportRequestCallback; - reindexRethrottle (params: API.ReindexRethrottle_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - renderSearchTemplate (params?: API.RenderSearchTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - renderSearchTemplate (callback: callbackFn): TransportRequestCallback; - renderSearchTemplate (params: API.RenderSearchTemplate_Request, callback: callbackFn): TransportRequestCallback; - renderSearchTemplate (params: API.RenderSearchTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getScriptContext (params?: API.GetScriptContext_Request, options?: TransportRequestOptions): TransportRequestPromise; - getScriptContext (callback: callbackFn): TransportRequestCallback; - getScriptContext (params: API.GetScriptContext_Request, callback: callbackFn): TransportRequestCallback; - getScriptContext (params: API.GetScriptContext_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getScriptLanguages (params?: API.GetScriptLanguages_Request, options?: TransportRequestOptions): TransportRequestPromise; - getScriptLanguages (callback: callbackFn): TransportRequestCallback; - getScriptLanguages (params: API.GetScriptLanguages_Request, callback: callbackFn): TransportRequestCallback; - getScriptLanguages (params: API.GetScriptLanguages_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteScript (params: API.DeleteScript_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteScript (params: API.DeleteScript_Request, callback: callbackFn): TransportRequestCallback; - deleteScript (params: API.DeleteScript_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getScript (params: API.GetScript_Request, options?: TransportRequestOptions): TransportRequestPromise; - getScript (params: API.GetScript_Request, callback: callbackFn): TransportRequestCallback; - getScript (params: API.GetScript_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - putScript (params: API.PutScript_Request, options?: TransportRequestOptions): TransportRequestPromise; - putScript (params: API.PutScript_Request, callback: callbackFn): TransportRequestCallback; - putScript (params: API.PutScript_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - scriptsPainlessExecute (params?: API.ScriptsPainlessExecute_Request, options?: TransportRequestOptions): TransportRequestPromise; - scriptsPainlessExecute (callback: callbackFn): TransportRequestCallback; - scriptsPainlessExecute (params: API.ScriptsPainlessExecute_Request, callback: callbackFn): TransportRequestCallback; - scriptsPainlessExecute (params: API.ScriptsPainlessExecute_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - search (params?: API.Search_Request, options?: TransportRequestOptions): TransportRequestPromise; - search (callback: callbackFn): TransportRequestCallback; - search (params: API.Search_Request, callback: callbackFn): TransportRequestCallback; - search (params: API.Search_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - searchShards (params?: API.SearchShards_Request, options?: TransportRequestOptions): TransportRequestPromise; - searchShards (callback: callbackFn): TransportRequestCallback; - searchShards (params: API.SearchShards_Request, callback: callbackFn): TransportRequestCallback; - searchShards (params: API.SearchShards_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deletePit (params?: API.DeletePit_Request, options?: TransportRequestOptions): TransportRequestPromise; - deletePit (callback: callbackFn): TransportRequestCallback; - deletePit (params: API.DeletePit_Request, callback: callbackFn): TransportRequestCallback; - deletePit (params: API.DeletePit_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteAllPits (params?: API.DeleteAllPits_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteAllPits (callback: callbackFn): TransportRequestCallback; - deleteAllPits (params: API.DeleteAllPits_Request, callback: callbackFn): TransportRequestCallback; - deleteAllPits (params: API.DeleteAllPits_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getAllPits (params?: API.GetAllPits_Request, options?: TransportRequestOptions): TransportRequestPromise; - getAllPits (callback: callbackFn): TransportRequestCallback; - getAllPits (params: API.GetAllPits_Request, callback: callbackFn): TransportRequestCallback; - getAllPits (params: API.GetAllPits_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - clearScroll (params?: API.ClearScroll_Request, options?: TransportRequestOptions): TransportRequestPromise; - clearScroll (callback: callbackFn): TransportRequestCallback; - clearScroll (params: API.ClearScroll_Request, callback: callbackFn): TransportRequestCallback; - clearScroll (params: API.ClearScroll_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - scroll (params?: API.Scroll_Request, options?: TransportRequestOptions): TransportRequestPromise; - scroll (callback: callbackFn): TransportRequestCallback; - scroll (params: API.Scroll_Request, callback: callbackFn): TransportRequestCallback; - scroll (params: API.Scroll_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - searchTemplate (params: API.SearchTemplate_Request, options?: TransportRequestOptions): TransportRequestPromise; - searchTemplate (params: API.SearchTemplate_Request, callback: callbackFn): TransportRequestCallback; - searchTemplate (params: API.SearchTemplate_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateByQueryRethrottle (params: API.UpdateByQueryRethrottle_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateByQueryRethrottle (params: API.UpdateByQueryRethrottle_Request, callback: callbackFn): TransportRequestCallback; - updateByQueryRethrottle (params: API.UpdateByQueryRethrottle_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - create (params: API.Create_Request, options?: TransportRequestOptions): TransportRequestPromise; - create (params: API.Create_Request, callback: callbackFn): TransportRequestCallback; - create (params: API.Create_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - deleteByQuery (params: API.DeleteByQuery_Request, options?: TransportRequestOptions): TransportRequestPromise; - deleteByQuery (params: API.DeleteByQuery_Request, callback: callbackFn): TransportRequestCallback; - deleteByQuery (params: API.DeleteByQuery_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - index (params: API.Index_Request, options?: TransportRequestOptions): TransportRequestPromise; - index (params: API.Index_Request, callback: callbackFn): TransportRequestCallback; - index (params: API.Index_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - delete (params: API.Delete_Request, options?: TransportRequestOptions): TransportRequestPromise; - delete (params: API.Delete_Request, callback: callbackFn): TransportRequestCallback; - delete (params: API.Delete_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - get (params: API.Get_Request, options?: TransportRequestOptions): TransportRequestPromise; - get (params: API.Get_Request, callback: callbackFn): TransportRequestCallback; - get (params: API.Get_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - exists (params: API.Exists_Request, options?: TransportRequestOptions): TransportRequestPromise; - exists (params: API.Exists_Request, callback: callbackFn): TransportRequestCallback; - exists (params: API.Exists_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - explain (params: API.Explain_Request, options?: TransportRequestOptions): TransportRequestPromise; - explain (params: API.Explain_Request, callback: callbackFn): TransportRequestCallback; - explain (params: API.Explain_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - createPit (params: API.CreatePit_Request, options?: TransportRequestOptions): TransportRequestPromise; - createPit (params: API.CreatePit_Request, callback: callbackFn): TransportRequestCallback; - createPit (params: API.CreatePit_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - getSource (params: API.GetSource_Request, options?: TransportRequestOptions): TransportRequestPromise; - getSource (params: API.GetSource_Request, callback: callbackFn): TransportRequestCallback; - getSource (params: API.GetSource_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - existsSource (params: API.ExistsSource_Request, options?: TransportRequestOptions): TransportRequestPromise; - existsSource (params: API.ExistsSource_Request, callback: callbackFn): TransportRequestCallback; - existsSource (params: API.ExistsSource_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - termvectors (params: API.Termvectors_Request, options?: TransportRequestOptions): TransportRequestPromise; - termvectors (params: API.Termvectors_Request, callback: callbackFn): TransportRequestCallback; - termvectors (params: API.Termvectors_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - updateByQuery (params: API.UpdateByQuery_Request, options?: TransportRequestOptions): TransportRequestPromise; - updateByQuery (params: API.UpdateByQuery_Request, callback: callbackFn): TransportRequestCallback; - updateByQuery (params: API.UpdateByQuery_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - - update (params: API.Update_Request, options?: TransportRequestOptions): TransportRequestPromise; - update (params: API.Update_Request, callback: callbackFn): TransportRequestCallback; - update (params: API.Update_Request, options: TransportRequestOptions, callback: callbackFn): TransportRequestCallback; - -} \ No newline at end of file diff --git a/api/OpenSearchAPI.js b/api/OpenSearchAPI.js deleted file mode 100644 index 272ddbbbf..000000000 --- a/api/OpenSearchAPI.js +++ /dev/null @@ -1,187 +0,0 @@ -/* - * Copyright OpenSearch Contributors - * SPDX-License-Identifier: Apache-2.0 - * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. - * - */ - -/* - * This file was generated from the OpenSearch API Spec. Do NOT edit it - * manually. If you want to make changes, either update the spec or - * modify the API generator. - */ - -'use strict'; - -const { kConfigErr } = require('./utils') -const kApiModules = Symbol('api modules') - -class OpenSearchAPI { - constructor (opts) { - this[kConfigErr] = opts.ConfigurationError - this[kApiModules] = { - asynchronousSearch: new(require('./asynchronousSearch/_api'))(this), - cat: new(require('./cat/_api'))(this), - cluster: new(require('./cluster/_api'))(this), - danglingIndices: new(require('./danglingIndices/_api'))(this), - flowFramework: new(require('./flowFramework/_api'))(this), - http: new(require('./http/_api'))(this), - indices: new(require('./indices/_api'))(this), - ingest: new(require('./ingest/_api'))(this), - ism: new(require('./ism/_api'))(this), - knn: new(require('./knn/_api'))(this), - ml: new(require('./ml/_api'))(this), - nodes: new(require('./nodes/_api'))(this), - notifications: new(require('./notifications/_api'))(this), - observability: new(require('./observability/_api'))(this), - ppl: new(require('./ppl/_api'))(this), - query: new(require('./query/_api'))(this), - remoteStore: new(require('./remoteStore/_api'))(this), - rollups: new(require('./rollups/_api'))(this), - searchPipeline: new(require('./searchPipeline/_api'))(this), - security: new(require('./security/_api'))(this), - snapshot: new(require('./snapshot/_api'))(this), - sql: new(require('./sql/_api'))(this), - tasks: new(require('./tasks/_api'))(this), - transforms: new(require('./transforms/_api'))(this), - } - - // Setup Root API Functions - /** @namespace API-Core */ - this.bulk = require('./_core/bulk').bind(this) - this.clearScroll = require('./_core/clearScroll').bind(this) - this.count = require('./_core/count').bind(this) - this.create = require('./_core/create').bind(this) - this.createPit = require('./_core/createPit').bind(this) - this.delete = require('./_core/delete').bind(this) - this.deleteAllPits = require('./_core/deleteAllPits').bind(this) - this.deleteByQuery = require('./_core/deleteByQuery').bind(this) - this.deleteByQueryRethrottle = require('./_core/deleteByQueryRethrottle').bind(this) - this.deletePit = require('./_core/deletePit').bind(this) - this.deleteScript = require('./_core/deleteScript').bind(this) - this.exists = require('./_core/exists').bind(this) - this.existsSource = require('./_core/existsSource').bind(this) - this.explain = require('./_core/explain').bind(this) - this.fieldCaps = require('./_core/fieldCaps').bind(this) - this.get = require('./_core/get').bind(this) - this.getAllPits = require('./_core/getAllPits').bind(this) - this.getScript = require('./_core/getScript').bind(this) - this.getScriptContext = require('./_core/getScriptContext').bind(this) - this.getScriptLanguages = require('./_core/getScriptLanguages').bind(this) - this.getSource = require('./_core/getSource').bind(this) - this.index = require('./_core/index').bind(this) - this.info = require('./_core/info').bind(this) - this.mget = require('./_core/mget').bind(this) - this.msearch = require('./_core/msearch').bind(this) - this.msearchTemplate = require('./_core/msearchTemplate').bind(this) - this.mtermvectors = require('./_core/mtermvectors').bind(this) - this.ping = require('./_core/ping').bind(this) - this.putScript = require('./_core/putScript').bind(this) - this.rankEval = require('./_core/rankEval').bind(this) - this.reindex = require('./_core/reindex').bind(this) - this.reindexRethrottle = require('./_core/reindexRethrottle').bind(this) - this.renderSearchTemplate = require('./_core/renderSearchTemplate').bind(this) - this.scriptsPainlessExecute = require('./_core/scriptsPainlessExecute').bind(this) - this.scroll = require('./_core/scroll').bind(this) - this.search = require('./_core/search').bind(this) - this.searchShards = require('./_core/searchShards').bind(this) - this.searchTemplate = require('./_core/searchTemplate').bind(this) - this.termvectors = require('./_core/termvectors').bind(this) - this.update = require('./_core/update').bind(this) - this.updateByQuery = require('./_core/updateByQuery').bind(this) - this.updateByQueryRethrottle = require('./_core/updateByQueryRethrottle').bind(this) - - // Deprecated: Use clearScroll instead. - this.clear_scroll = require('./_core/clearScroll').bind(this) - // Deprecated: Use createPit instead. - this.create_pit = require('./_core/createPit').bind(this) - // Deprecated: Use deleteAllPits instead. - this.delete_all_pits = require('./_core/deleteAllPits').bind(this) - // Deprecated: Use deleteByQuery instead. - this.delete_by_query = require('./_core/deleteByQuery').bind(this) - // Deprecated: Use deleteByQueryRethrottle instead. - this.delete_by_query_rethrottle = require('./_core/deleteByQueryRethrottle').bind(this) - // Deprecated: Use deletePit instead. - this.delete_pit = require('./_core/deletePit').bind(this) - // Deprecated: Use deleteScript instead. - this.delete_script = require('./_core/deleteScript').bind(this) - // Deprecated: Use existsSource instead. - this.exists_source = require('./_core/existsSource').bind(this) - // Deprecated: Use fieldCaps instead. - this.field_caps = require('./_core/fieldCaps').bind(this) - // Deprecated: Use getAllPits instead. - this.get_all_pits = require('./_core/getAllPits').bind(this) - // Deprecated: Use getScript instead. - this.get_script = require('./_core/getScript').bind(this) - // Deprecated: Use getScriptContext instead. - this.get_script_context = require('./_core/getScriptContext').bind(this) - // Deprecated: Use getScriptLanguages instead. - this.get_script_languages = require('./_core/getScriptLanguages').bind(this) - // Deprecated: Use getSource instead. - this.get_source = require('./_core/getSource').bind(this) - // Deprecated: Use msearchTemplate instead. - this.msearch_template = require('./_core/msearchTemplate').bind(this) - // Deprecated: Use putScript instead. - this.put_script = require('./_core/putScript').bind(this) - // Deprecated: Use rankEval instead. - this.rank_eval = require('./_core/rankEval').bind(this) - // Deprecated: Use reindexRethrottle instead. - this.reindex_rethrottle = require('./_core/reindexRethrottle').bind(this) - // Deprecated: Use renderSearchTemplate instead. - this.render_search_template = require('./_core/renderSearchTemplate').bind(this) - // Deprecated: Use scriptsPainlessExecute instead. - this.scripts_painless_execute = require('./_core/scriptsPainlessExecute').bind(this) - // Deprecated: Use searchShards instead. - this.search_shards = require('./_core/searchShards').bind(this) - // Deprecated: Use searchTemplate instead. - this.search_template = require('./_core/searchTemplate').bind(this) - // Deprecated: Use updateByQuery instead. - this.update_by_query = require('./_core/updateByQuery').bind(this) - // Deprecated: Use updateByQueryRethrottle instead. - this.update_by_query_rethrottle = require('./_core/updateByQueryRethrottle').bind(this) - - // Setup API Modules - Object.defineProperties(this, { - asynchronousSearch: { get() { return this[kApiModules].asynchronousSearch } }, - cat: { get() { return this[kApiModules].cat } }, - cluster: { get() { return this[kApiModules].cluster } }, - danglingIndices: { get() { return this[kApiModules].danglingIndices } }, - flowFramework: { get() { return this[kApiModules].flowFramework } }, - http: { get() { return this[kApiModules].http } }, - indices: { get() { return this[kApiModules].indices } }, - ingest: { get() { return this[kApiModules].ingest } }, - ism: { get() { return this[kApiModules].ism } }, - knn: { get() { return this[kApiModules].knn } }, - ml: { get() { return this[kApiModules].ml } }, - nodes: { get() { return this[kApiModules].nodes } }, - notifications: { get() { return this[kApiModules].notifications } }, - observability: { get() { return this[kApiModules].observability } }, - ppl: { get() { return this[kApiModules].ppl } }, - query: { get() { return this[kApiModules].query } }, - remoteStore: { get() { return this[kApiModules].remoteStore } }, - rollups: { get() { return this[kApiModules].rollups } }, - searchPipeline: { get() { return this[kApiModules].searchPipeline } }, - security: { get() { return this[kApiModules].security } }, - snapshot: { get() { return this[kApiModules].snapshot } }, - sql: { get() { return this[kApiModules].sql } }, - tasks: { get() { return this[kApiModules].tasks } }, - transforms: { get() { return this[kApiModules].transforms } }, - - // Deprecated: Use asynchronousSearch instead. - asynchronous_search: { get() { return this[kApiModules].asynchronousSearch } }, - // Deprecated: Use danglingIndices instead. - dangling_indices: { get() { return this[kApiModules].danglingIndices } }, - // Deprecated: Use flowFramework instead. - flow_framework: { get() { return this[kApiModules].flowFramework } }, - // Deprecated: Use remoteStore instead. - remote_store: { get() { return this[kApiModules].remoteStore } }, - // Deprecated: Use searchPipeline instead. - search_pipeline: { get() { return this[kApiModules].searchPipeline } }, - }) - } -} - -module.exports = OpenSearchAPI; diff --git a/api_generator/src/renderers/render_types/ComponentTypesContainer.ts b/api_generator/src/renderers/render_types/ComponentTypesContainer.ts index 0bb960365..f36f19b3b 100644 --- a/api_generator/src/renderers/render_types/ComponentTypesContainer.ts +++ b/api_generator/src/renderers/render_types/ComponentTypesContainer.ts @@ -8,7 +8,7 @@ * */ -import TypesContainer, { TYPE_COMPONENTS_FOLDER } from './TypesContainer' +import TypesContainer, { SEPARATOR, TYPE_COMPONENTS_FOLDER } from './TypesContainer' import type { JSONSchema7 as Schema } from 'json-schema' import type { RawOpenSearchSpec, RawParameter } from '../../spec_parser/types' import _ from 'lodash' @@ -25,7 +25,7 @@ export default class ComponentTypesContainer extends TypesContainer { private static build_components (spec: RawOpenSearchSpec): void { const referenced_schemas = _.entries(spec.components.schemas).map(([key, schema]) => { - const [file_name, schema_name] = key.split(':') + const [file_name, schema_name] = key.split(SEPARATOR) return { file_name, schema_name, schema } }) const ref_schemas_map = _.groupBy(referenced_schemas, 'file_name') @@ -38,7 +38,7 @@ export default class ComponentTypesContainer extends TypesContainer { private static build_global_params (spec: RawOpenSearchSpec): void { const params: RawParameter[] = _.entries(spec.components.parameters) - .filter(([key]) => key.startsWith('_global::')) + .filter(([key]) => key.startsWith(`_global${SEPARATOR}`)) .map(([, param]) => param) const required = params.filter(param => param.required).map(param => param.name) const properties = _.fromPairs(params.map(param => [param.name, param.schema])) diff --git a/api_generator/src/renderers/render_types/FunctionTypesContainer.ts b/api_generator/src/renderers/render_types/FunctionTypesContainer.ts index b6f0e78ad..0a399af76 100644 --- a/api_generator/src/renderers/render_types/FunctionTypesContainer.ts +++ b/api_generator/src/renderers/render_types/FunctionTypesContainer.ts @@ -8,7 +8,7 @@ * */ -import TypesContainer from './TypesContainer' +import TypesContainer, { SEPARATOR } from './TypesContainer' import _ from 'lodash' import { type ApiFunctionTyping } from '../../spec_parser/ApiFunction' import type ApiFunction from '../../spec_parser/ApiFunction' @@ -38,7 +38,7 @@ export default class FunctionTypesContainer extends TypesContainer { } create_ref (key: keyof ApiFunctionTyping): string { - return `${this._func.ns_prototype}/${this._func.prototype_name}:${this._func.types[key]}` + return `${this._func.ns_prototype}/${this._func.prototype_name}${SEPARATOR}${this._func.types[key]}` } #build_request (): Schema { @@ -49,7 +49,7 @@ export default class FunctionTypesContainer extends TypesContainer { const required_params = Object.entries(params).filter(([, param]) => param.required).map(([name]) => name) const required = body?.required ? [...required_params, 'body'] : required_params const schema: Schema = { properties, required } - return { allOf: [schema, { $ref: '#/components/schemas/_global:Params' }] } + return { allOf: [schema, { $ref: `#/components/schemas/_global${SEPARATOR}Params` }] } } #build_response (): Schema { diff --git a/api_generator/src/renderers/render_types/TypesContainer.ts b/api_generator/src/renderers/render_types/TypesContainer.ts index df22ca40d..bc1c186e0 100644 --- a/api_generator/src/renderers/render_types/TypesContainer.ts +++ b/api_generator/src/renderers/render_types/TypesContainer.ts @@ -15,6 +15,7 @@ import { to_pascal_case } from '../../helpers' type FilePath = string export const TYPE_COMPONENTS_FOLDER = '_types' +export const SEPARATOR = '___' // separating fileName___schemaName in $ref export default class TypesContainer { static readonly REPO = new Map() @@ -47,7 +48,7 @@ export default class TypesContainer { ref_to_obj (ref: string): string { if (ref === 'ApiResponse') return ref - const schema_name = ref.split(':')[1] + const schema_name = ref.split(SEPARATOR)[1] const container = this.ref_to_container(ref) if (container === this) return schema_name return `${container.import_name}.${schema_name}` @@ -56,10 +57,10 @@ export default class TypesContainer { ref_to_container (ref: string): TypesContainer { let file_path: string = 'UNSET' if (ref.startsWith('#/components')) { - const file_name = ref.split(':')[0].split('/').reverse()[0] + const file_name = ref.split(SEPARATOR)[0].split('/').reverse()[0] file_path = `${TYPE_COMPONENTS_FOLDER}/${file_name}.d.ts` } else { - const [folder_name, file_name] = ref.split(':')[0].split('/') + const [folder_name, file_name] = ref.split(SEPARATOR)[0].split('/') file_path = `${folder_name}/${file_name}.d.ts` } const container = TypesContainer.REPO.get(file_path) diff --git a/lib/Client.d.ts b/lib/Client.d.ts index ad2f5c57e..9a7d3c9fc 100644 --- a/lib/Client.d.ts +++ b/lib/Client.d.ts @@ -10,7 +10,7 @@ import { ConnectionOptions as TlsConnectionOptions } from 'tls'; import { URL } from 'url'; -import OpenSearchAPI from '../api/OpenSearchAPI'; +import OpenSearchAPI from '../api/OpenSearchApi'; import Serializer from './Serializer'; import Helpers from './Helpers'; import Connection, { AgentOptions, agentFn } from './Connection'; diff --git a/lib/Client.js b/lib/Client.js index 312de1896..96c102a27 100644 --- a/lib/Client.js +++ b/lib/Client.js @@ -46,7 +46,7 @@ const kChild = Symbol('opensearchjs-child'); const kExtensions = Symbol('opensearchjs-extensions'); const kEventEmitter = Symbol('opensearchjs-event-emitter'); -const OpenSearchAPI = require('../api/OpenSearchAPI'); +const OpenSearchAPI = require('../api/OpenSearchApi'); class Client extends OpenSearchAPI { constructor(opts = {}) {