After meeting @ Versailles the new national assembly produced a document. What was it?

Was the Tennis Court oath a document or is it referring to the declaration of rights of man?

Who did it apply to?

It was the Declaration of the Rights of Man.