feat: add Dropbox connector support in enums, icons, and API service for enhanced integration

This commit is contained in:
Anish Sarkar 2026-03-30 22:29:29 +05:30
parent d509148636
commit 2cd09d49a2
6 changed files with 26 additions and 0 deletions

View file

@ -290,6 +290,19 @@ class ConnectorsApiService {
);
};
/**
* List Dropbox folders and files
*/
listDropboxFolders = async (request: { connector_id: number; parent_path?: string }) => {
const queryParams = request.parent_path
? `?parent_path=${encodeURIComponent(request.parent_path)}`
: "";
return baseApiService.get(
`/api/v1/connectors/${request.connector_id}/dropbox/folders${queryParams}`,
listGoogleDriveFoldersResponse
);
};
// =============================================================================
// MCP Connector Methods
// =============================================================================