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