using ECPDAL.Collaboration.DTOs;
using GB5Shared.DTO.Framework.Login;
namespace ECPBLL.Collaboration.Interfaces;
public interface ICollaborationSpaceIntegrationBLL
{
/// All 3 known providers (teams, sharepoint, googleworkspace) for a space, each
/// reported connected/disconnected — providers with no row yet default to disconnected.
Task GetCollaborationSpaceIntegrationsAsync(int collaborationSpaceId, LoginDTO login, CancellationToken ct);
/// Toggles one provider's connect state. Upserts — most spaces have no row for a
/// provider until its first toggle.
Task SaveCollaborationSpaceIntegrationAsync(SaveCollaborationSpaceIntegrationDTO dto, LoginDTO login, CancellationToken ct);
}