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