Three-terminal interface as a thermoelectric generator beyond the Seebeck effect