'use strict';var roleDefinition=require('./roleDefinition');function _interopNamespace(e){if(e&&e.__esModule)return e;var n=Object.create(null);if(e){Object.keys(e).forEach(function(k){if(k!=='default'){var d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:true,get:function(){return e[k]}});}})}n.default=e;return Object.freeze(n)}var roleDefinition__namespace=/*#__PURE__*/_interopNamespace(roleDefinition);function n(e){return {ver:"beta",method:"delete",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}",paramDefs:{header:["If-Match"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"]},params:e}}function r(e){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments",paramDefs:{path:["privilegedAccess-id","governanceResource-id"],query:["$top","$skip","$search","$filter","$count","$orderby","$select","$expand"]},params:e}}function c(e){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"],query:["$select","$expand"]},params:e}}function o(e,s){return {ver:"beta",method:"patch",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"]},params:s,body:e}}function d(e,s){return {ver:"beta",method:"post",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments",paramDefs:{path:["privilegedAccess-id","governanceResource-id"]},params:s,body:e}}const g={get:function(s){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}/linkedEligibleRoleAssignment",paramDefs:{query:["$select","$expand"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"]},params:s}}},t={get:function(s){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}/resource",paramDefs:{query:["$select","$expand"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"]},params:s}}},l={get:function(s){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}/subject",paramDefs:{query:["$select","$expand"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"]},params:s}},update:function(s,i){return {ver:"beta",method:"patch",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}/subject",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"]},params:i,body:s}},del:function(s){return {ver:"beta",method:"delete",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignments/{governanceRoleAssignment-id}/subject",paramDefs:{header:["If-Match"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignment-id"]},params:s}}};exports.roleDefinition=roleDefinition__namespace;exports.create=d;exports.del=n;exports.get=c;exports.linkedEligibleRoleAssignment=g;exports.list=r;exports.resource=t;exports.subject=l;exports.update=o;