First party = Platform holder owns the IP and develops the game in house.
Second party = Doesn't own the IP but has publishing rights or owns the IP but the game is developed by a third party studio.
Third party = Doesn't own the IP and isn't involved in the development.
The Last of Us = First party
Stellar Blade and Helldivers 2 = Second party
FF7 Rebirth = Third party
Second party = Doesn't own the IP but has publishing rights or owns the IP but the game is developed by a third party studio.
Third party = Doesn't own the IP and isn't involved in the development.
The Last of Us = First party
Stellar Blade and Helldivers 2 = Second party
FF7 Rebirth = Third party