'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}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}",paramDefs:{header:["If-Match"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:e}}function r(e){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests",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}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"],query:["$select","$expand"]},params:e}}function o(e,s){return {ver:"beta",method:"patch",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:s,body:e}}function t(e,s){return {ver:"beta",method:"post",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests",paramDefs:{path:["privilegedAccess-id","governanceResource-id"]},params:s,body:e}}const d={create:function(s){return {ver:"beta",method:"post",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}/cancel",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:s}}},g={get:function(s){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}/resource",paramDefs:{query:["$select","$expand"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:s}}},u={get:function(s){return {ver:"beta",method:"get",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}/subject",paramDefs:{query:["$select","$expand"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:s}},update:function(s,i){return {ver:"beta",method:"patch",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}/subject",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:i,body:s}},del:function(s){return {ver:"beta",method:"delete",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}/subject",paramDefs:{header:["If-Match"],path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:s}}},p={create:function(s,i){return {ver:"beta",method:"post",path:"/privilegedAccess/{privilegedAccess-id}/resources/{governanceResource-id}/roleAssignmentRequests/{governanceRoleAssignmentRequest-id}/updateRequest",paramDefs:{path:["privilegedAccess-id","governanceResource-id","governanceRoleAssignmentRequest-id"]},params:i,body:s}}};exports.roleDefinition=roleDefinition__namespace;exports.cancel=d;exports.create=t;exports.del=n;exports.get=c;exports.list=r;exports.resource=g;exports.subject=u;exports.update=o;exports.updateRequest=p;