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