message: feat: add users.getGroups
diff: @@ -165,7 +165,10 @@ import {
  RolesVariables,
  PermissionsDocument,
  PermissionsResponse,
  - PermissionsVariables
  + PermissionsVariables,
  + GroupsDocument,
  + GroupsResponse,
  + GroupsVariables
  } from '../types/graphql.v2';
  export const isAllowed = async (
  @@ -882,6 +885,20 @@ export const users = async (
  });
  };
  +export const getGroupsOfUser = async (
  + garpqhlClient: GraphqlClient,
  + tokenProvider: ManagementTokenProvider | AuthenticationTokenProvider,
  + variables: GroupsVariables
  +): Promise<GroupsResponse> => {
  + const query = GroupsDocument;
  + const token = await tokenProvider.getAccessToken();
  + return garpqhlClient.request({
  + query,
  + token,
  + variables
  + });
  +};
  +
  export const getRolesOfUser = async (
  garpqhlClient: GraphqlClient,
  tokenProvider: ManagementTokenProvider | AuthenticationTokenProvider,
  