diff libervia/server/restricted_bridge.py @ 1379:4c51f22a813a

server (restricted_bridge): added `psNodeDelete`, `psNodeAffiliationsSet`, `psItemRetract` and `psInvite`
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:49:08 +0100
parents a32f3f47e4a8
children fc20818a5266
line wrap: on
line diff
--- a/libervia/server/restricted_bridge.py	Thu Jan 28 18:51:44 2021 +0100
+++ b/libervia/server/restricted_bridge.py	Sat Feb 20 13:49:08 2021 +0100
@@ -46,6 +46,18 @@
         return await self.host.bridgeCall(
             "identitiesBaseGet", profile)
 
+    async def psNodeDelete(self, service_s, node, profile):
+        return await self.host.bridgeCall(
+            "psNodeDelete", service_s, node, profile)
+
+    async def psNodeAffiliationsSet(self, service_s, node, affiliations, profile):
+        return await self.host.bridgeCall(
+            "psNodeAffiliationsSet", service_s, node, affiliations, profile)
+
+    async def psItemRetract(self, service_s, node, item_id, notify, profile):
+        return await self.host.bridgeCall(
+            "psItemRetract", service_s, node, item_id, notify, profile)
+
     async def fileHTTPUploadGetSlot(
         self, filename, size, content_type, upload_jid, profile):
         return await self.host.bridgeCall(
@@ -79,6 +91,13 @@
         return await self.host.bridgeCall(
             "interestRetract", service_jid, item_id, profile)
 
+    async def psInvite(
+        self, invitee_jid_s, service_s, node, item_id, name, extra_s, profile
+    ):
+        return await self.host.bridgeCall(
+            "psInvite", invitee_jid_s, service_s, node, item_id, name, extra_s, profile
+        )
+
     async def FISInvite(
         self, invitee_jid_s, service_s, repos_type, namespace, path, name, extra_s,
         profile