Mercurial > libervia-web
diff libervia/server/restricted_bridge.py @ 1315:991ff12241e0
server (restricted_bridge): added `FISInvite`, `FISAffiliationsSet` and `invitationSimpleCreate`
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 01 Aug 2020 16:47:24 +0200 |
parents | 0930b06f022f |
children | ed28ad7d484c |
line wrap: on
line diff
--- a/libervia/server/restricted_bridge.py Sat Aug 01 16:47:24 2020 +0200 +++ b/libervia/server/restricted_bridge.py Sat Aug 01 16:47:24 2020 +0200 @@ -47,3 +47,23 @@ return await self.host.bridgeCall( "interestRetract", service_jid, item_id, profile) + async def FISInvite( + self, invitee_jid_s, service_s, repos_type, namespace, path, name, extra_s, + profile + ): + return await self.host.bridgeCall( + "FISInvite", invitee_jid_s, service_s, repos_type, namespace, path, name, + extra_s, profile + ) + + async def FISAffiliationsSet( + self, service_s, namespace, path, affiliations, profile + ): + return await self.host.bridgeCall( + "FISAffiliationsSet", service_s, namespace, path, affiliations, profile + ) + + async def invitationSimpleCreate(self, invitee_email, url_template, extra_s, profile): + return await self.host.bridgeCall( + "invitationSimpleCreate", invitee_email, url_template, extra_s, profile + )