[web] Call update or create invite link endpoint
Summary:
Update or create a new link when a button is clicked.
Depends on D8416
Test Plan: Check if creating new links works. Then, check if it is possible to update it.
Reviewers: kamil, inka, bartek
Reviewed By: inka
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D8417