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