To use the SiteInvites API, install the @wix/user-management package using npm or Yarn:
@wix/user-management
or
Then import { siteInvites } from @wix/user-management:
{ siteInvites }