What was the name of the agreement that worked to settle territorial claims and refugee issues after the six day war?

What was the name of the agreement that worked to settle territorial claims and refugee issues after the six day war?