message: feat: acl.udpateRole
diff: @@ -192,7 +192,10 @@ import {
  RoleWithUserAndPermissionsVariables,
  RoleWithUsersDocument,
  RoleWithUsersResponse,
  - RoleWithUsersVariables
  + RoleWithUsersVariables,
  + UpdateRoleResponse,
  + UpdateRoleDocument,
  + UpdateRoleVariables
  } from '../types/graphql.v2';
  export const isAllowed = async (
  @@ -1090,3 +1093,17 @@ export const roleWithUserAndPermissions = async (
  variables
  });
  };
  +
  +export const updateRole = async (
  + garpqhlClient: GraphqlClient,
  + tokenProvider: ManagementTokenProvider | AuthenticationTokenProvider,
  + variables: UpdateRoleVariables
  +): Promise<UpdateRoleResponse> => {
  + const query = UpdateRoleDocument;
  + const token = await tokenProvider.getAccessToken();
  + return garpqhlClient.request({
  + query,
  + token,
  + variables
  + });
  +};
  