Two-way flap type diverter valve