"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DropboxPlugin = 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.DropboxPlugin = (0, index_js_2.getNativeOpenApiPlugin)({
    name: 'Dropbox',
    id: index_js_1.ExtendedIntegrationPluginId.DROPBOX,
    authMethods: {
        oauth2BringYourOwn: {
            authorizationUrl: 'https://www.dropbox.com/oauth2/authorize',
            tokenUrl: 'https://www.dropbox.com/oauth2/token',
            revokeTokenUrl: 'https://api.dropboxapi.com/2/auth/token/revoke',
            iconUrl: `${constants_js_1.PUBLIC_INTEGRATIONS_LOGO_URL}/dropbox.png`,
            authorizationExtraParams: {
                stateConfigExclude: ['datasource-auth-state'],
                responseType: 'code'
            }
        }
    },
    serverURL: 'https://content.dropboxapi.com'
});
//# sourceMappingURL=dropbox.js.map