function r(s){return {ver:"beta",method:"delete",path:"/groups/{group-id}/sites/{site-id}/permissions/{permission-id}",paramDefs:{header:["If-Match"],path:["group-id","site-id","permission-id"]},params:s}}function p(s){return {ver:"beta",method:"get",path:"/groups/{group-id}/sites/{site-id}/permissions",paramDefs:{path:["group-id","site-id"],query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:s}}function o(s){return {ver:"beta",method:"get",path:"/groups/{group-id}/sites/{site-id}/permissions/{permission-id}",paramDefs:{path:["group-id","site-id","permission-id"],query:["$select","$expand"]},params:s}}function t(s,i){return {ver:"beta",method:"patch",path:"/groups/{group-id}/sites/{site-id}/permissions/{permission-id}",paramDefs:{path:["group-id","site-id","permission-id"]},params:i,body:s}}function n(s,i){return {ver:"beta",method:"post",path:"/groups/{group-id}/sites/{site-id}/permissions",paramDefs:{path:["group-id","site-id"]},params:i,body:s}}const d={create:function(i,e){return {ver:"beta",method:"post",path:"/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/grant",paramDefs:{path:["group-id","site-id","permission-id"]},params:e,body:i}}},u={create:function(i,e){return {ver:"beta",method:"post",path:"/groups/{group-id}/sites/{site-id}/permissions/{permission-id}/revokeGrants",paramDefs:{path:["group-id","site-id","permission-id"]},params:e,body:i}}};export{n as create,r as del,o as get,d as grant,p as list,u as revokeGrants,t as update};