package com.saas.tenant.repository;

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

import java.util.Optional;

/**
 * Retell Call Repository (TENANT DATABASE)
 * Pure JPA - NO SQL hardcoded
 */
@Repository
public interface RetellCallRepository extends JpaRepository<RetellCall, Long> {
    
    Optional<RetellCall> findByRetellCallId(String retellCallId);
}
