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