Complete Keldysh theory and its limiting cases.