"Wali" is one of Allah's names.
" Prophet" and " Messanger" are not Allah's names. Nowhere Allah is called "Prophet" and "Messanger" yet Allah is called "Wali". Therefore, one of the rules dominating this name is not to be declined.
Accordingly, as prophacy and messaging are not derived from Allah's names; will stop one day or another yet Vela'at being derived from the name of "Wali" is never disconnected dennoting existance is never empty from Wali of Allah.
*************************
** the description of the whole human being in Nahj al-Balaghah,
Allameh Hasanzadeh Amoli,
By Ayatollah Samadi Amoli (One of the best prominent student of Hazrat Allameh)
**************************
💥The definitions of Prophet, Messanger, and Wali:
Prophet (Nabi): a prophet is someone who is commissioned to communicate Divine Will to people.
Messanger (Rasul): messanger is someone who not only is commissioned to communicate Divine Will to people but also owns a book such as Moses who owned Turah
Wali: Wali is a reality that spreads mercy on all creatures in such a way that every single creaure is dominated by it. In fact, Wali means "close" yet "close"ness is in such a way that the creature can't be apart from him. Accordingly, Wali is in the nature of every single creature. In the first place Allah is wali.
Necessarily, universe is never empty from Wali of Allah to receive all Mercy from Allah in order to spread it among creatures.
Imams of shias are example of Awaliya Allah while Imam Al Mahdi (peace upon him) is the last of all.
***********************
Source: Description of the whole human being in Nahj al-Balaghah