'use strict';function t(r){return {ver:"beta",method:"delete",path:"/directoryRoles/{directoryRole-id}",paramDefs:{header:["If-Match"],path:["directoryRole-id"]},params:r}}function d(r){return {ver:"beta",method:"get",path:"/directoryRoles",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:r}}function i(r){return {ver:"beta",method:"get",path:"/directoryRoles/{directoryRole-id}",paramDefs:{path:["directoryRole-id"],query:["$select","$expand"]},params:r}}function s(r,e){return {ver:"beta",method:"patch",path:"/directoryRoles/{directoryRole-id}",paramDefs:{path:["directoryRole-id"]},params:e,body:r}}function c(r){return {ver:"beta",method:"post",path:"/directoryRoles",body:r}}const p={create:function(e,o){return {ver:"beta",method:"post",path:"/directoryRoles/{directoryRole-id}/checkMemberGroups",paramDefs:{path:["directoryRole-id"]},params:o,body:e}}},n={create:function(e,o){return {ver:"beta",method:"post",path:"/directoryRoles/{directoryRole-id}/checkMemberObjects",paramDefs:{path:["directoryRole-id"]},params:o,body:e}}},l={create:function(e){return {ver:"beta",method:"post",path:"/directoryRoles/getByIds",body:e}}},R={create:function(e,o){return {ver:"beta",method:"post",path:"/directoryRoles/{directoryRole-id}/getMemberGroups",paramDefs:{path:["directoryRole-id"]},params:o,body:e}}},y={create:function(e,o){return {ver:"beta",method:"post",path:"/directoryRoles/{directoryRole-id}/getMemberObjects",paramDefs:{path:["directoryRole-id"]},params:o,body:e}}},a={create:function(e){return {ver:"beta",method:"post",path:"/directoryRoles/getUserOwnedObjects",body:e}}},m={list:function(e){return {ver:"beta",method:"get",path:"/directoryRoles/{directoryRole-id}/members",paramDefs:{header:["ConsistencyLevel"],query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"],path:["directoryRole-id"]},params:e}}},b={create:function(e){return {ver:"beta",method:"post",path:"/directoryRoles/{directoryRole-id}/restore",paramDefs:{path:["directoryRole-id"]},params:e}}},E={list:function(e){return {ver:"beta",method:"get",path:"/directoryRoles/{directoryRole-id}/scopedMembers",paramDefs:{query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"],path:["directoryRole-id"]},params:e}},create:function(e,o){return {ver:"beta",method:"post",path:"/directoryRoles/{directoryRole-id}/scopedMembers",paramDefs:{path:["directoryRole-id"]},params:o,body:e}},get:function(e){return {ver:"beta",method:"get",path:"/directoryRoles/{directoryRole-id}/scopedMembers/{scopedRoleMembership-id}",paramDefs:{query:["$select","$expand"],path:["directoryRole-id","scopedRoleMembership-id"]},params:e}},update:function(e,o){return {ver:"beta",method:"patch",path:"/directoryRoles/{directoryRole-id}/scopedMembers/{scopedRoleMembership-id}",paramDefs:{path:["directoryRole-id","scopedRoleMembership-id"]},params:o,body:e}},del:function(e){return {ver:"beta",method:"delete",path:"/directoryRoles/{directoryRole-id}/scopedMembers/{scopedRoleMembership-id}",paramDefs:{header:["If-Match"],path:["directoryRole-id","scopedRoleMembership-id"]},params:e}}},h={create:function(e){return {ver:"beta",method:"post",path:"/directoryRoles/validateProperties",body:e}}};exports.checkMemberGroups=p;exports.checkMemberObjects=n;exports.create=c;exports.del=t;exports.get=i;exports.getByIds=l;exports.getMemberGroups=R;exports.getMemberObjects=y;exports.getUserOwnedObjects=a;exports.list=d;exports.members=m;exports.restore=b;exports.scopedMembers=E;exports.update=s;exports.validateProperties=h;