package com.saas.tenant.repository;

import com.saas.tenant.entity.InboundCallData;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface InboundCallDataRepository extends JpaRepository<InboundCallData, Long> {
    
    Optional<InboundCallData> findByCallSid(String callSid);
    
    boolean existsByCallSid(String callSid);
}
