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