Fixing inviteid type annotation
Fixed docs build