"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.NotionPlugin = void 0;
const index_js_1 = require("../../types/index.js");
const index_js_2 = require("./shared/index.js");
exports.NotionPlugin = (0, index_js_2.getNativeOpenApiPlugin)({
    name: 'Notion',
    id: index_js_1.ExtendedIntegrationPluginId.NOTION,
    authMethods: {
        bearer: true,
        oauth2BringYourOwn: {
            tokenUrl: 'https://api.notion.com/v1/oauth/token',
            authorizationUrl: 'https://api.notion.com/v1/oauth/authorize',
            revokeTokenUrl: 'https://api.notion.com/v1/oauth/revoke',
            clientAuthMethod: index_js_2.ClientAuthMethod.BASIC,
            iconUrl: 'https://superblocks.s3.us-west-2.amazonaws.com/img/integrations/notion-login.svg',
            authorizationExtraParams: {
                responseType: 'code',
                owner: 'user'
            }
        }
    },
    serverURL: 'https://api.notion.com',
    headers: [{ key: 'Notion-Version', value: '2022-06-28' }]
});
//# sourceMappingURL=notion.js.map