Outlet devices mounted in basins, baths, or sinks with mechanical closure mechanisms combined with overflow devices