/** * ElasticSearch client implementation. * * Uses the proto-generated REST API Integration Plugin type from @superblocksteam/types. * ElasticSearch integrations use the REST API Integration plugin under the hood. */ import { RestApiIntegrationClient } from "../base/index.js"; import type { ElasticSearchClient } from "./types.js"; /** * Internal implementation of ElasticSearchClient. * * Extends RestApiIntegrationClient to inherit the generic apiRequest() method. * This implementation communicates with the orchestrator to execute * ElasticSearch API calls. At runtime, the orchestrator handles authentication * and API request execution. */ export class ElasticSearchClientImpl extends RestApiIntegrationClient implements ElasticSearchClient { // Inherits: name, pluginId, config, executeQuery, apiRequest() }