Types of visas and resident permits