On the extensions of the Darboux theory of integrability