'use strict';function i(e){return {ver:"beta",method:"delete",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}",paramDefs:{header:["If-Match"],path:["resourceSpecificPermissionGrant-id"]},params:e}}function n(e){return {ver:"beta",method:"get",path:"/permissionGrants",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:e}}function t(e){return {ver:"beta",method:"get",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}",paramDefs:{path:["resourceSpecificPermissionGrant-id"],query:["$select","$expand"]},params:e}}function o(e,r){return {ver:"beta",method:"patch",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}",paramDefs:{path:["resourceSpecificPermissionGrant-id"]},params:r,body:e}}function p(e){return {ver:"beta",method:"post",path:"/permissionGrants",body:e}}const c={create:function(r,s){return {ver:"beta",method:"post",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}/checkMemberGroups",paramDefs:{path:["resourceSpecificPermissionGrant-id"]},params:s,body:r}}},a={create:function(r,s){return {ver:"beta",method:"post",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}/checkMemberObjects",paramDefs:{path:["resourceSpecificPermissionGrant-id"]},params:s,body:r}}},m={create:function(r){return {ver:"beta",method:"post",path:"/permissionGrants/getByIds",body:r}}},d={create:function(r,s){return {ver:"beta",method:"post",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}/getMemberGroups",paramDefs:{path:["resourceSpecificPermissionGrant-id"]},params:s,body:r}}},G={create:function(r,s){return {ver:"beta",method:"post",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}/getMemberObjects",paramDefs:{path:["resourceSpecificPermissionGrant-id"]},params:s,body:r}}},u={create:function(r){return {ver:"beta",method:"post",path:"/permissionGrants/getUserOwnedObjects",body:r}}},P={create:function(r){return {ver:"beta",method:"post",path:"/permissionGrants/{resourceSpecificPermissionGrant-id}/restore",paramDefs:{path:["resourceSpecificPermissionGrant-id"]},params:r}}},S={create:function(r){return {ver:"beta",method:"post",path:"/permissionGrants/validateProperties",body:r}}};exports.checkMemberGroups=c;exports.checkMemberObjects=a;exports.create=p;exports.del=i;exports.get=t;exports.getByIds=m;exports.getMemberGroups=d;exports.getMemberObjects=G;exports.getUserOwnedObjects=u;exports.list=n;exports.restore=P;exports.update=o;exports.validateProperties=S;