"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GoogleAnalyticsPlugin = void 0;
const index_js_1 = require("../../types/index.js");
const constants_js_1 = require("./constants.js");
const index_js_2 = require("./shared/index.js");
exports.GoogleAnalyticsPlugin = (0, index_js_2.getNativeOpenApiPlugin)({
    name: 'Google Analytics',
    id: index_js_1.ExtendedIntegrationPluginId.GOOGLE_ANALYTICS,
    docsURL: `${constants_js_1.DOCS_BASE_URL}/google-analytics`,
    authMethods: {
        oauth2BringYourOwn: {
            authorizationUrl: 'https://accounts.google.com/o/oauth2/v2/auth',
            tokenUrl: 'https://oauth2.googleapis.com/token',
            revokeTokenUrl: 'https://oauth2.googleapis.com/revoke',
            iconUrl: 'https://integrations.superblocks.com/img/google-analytics.png',
            authorizationExtraParams: {
                responseType: 'code'
            }
        }
    },
    serverURL: 'https://analytics.googleapis.com/analytics/v3'
});
//# sourceMappingURL=googleAnalytics.js.map