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