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