package com.cameleer.server.core.outbound;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

public interface OutboundConnectionRepository {
    OutboundConnection save(OutboundConnection connection);
    Optional<OutboundConnection> findById(String tenantId, UUID id);
    Optional<OutboundConnection> findByName(String tenantId, String name);
    List<OutboundConnection> listByTenant(String tenantId);
    void delete(String tenantId, UUID id);
}
