import * as plugins from '../plugins.ts';
import * as data from '../data/index.ts';

export interface IReq_GetGroups extends plugins.typedrequestInterfaces.implementsTR<
  plugins.typedrequestInterfaces.ITypedRequest,
  IReq_GetGroups
> {
  method: 'getGroups';
  request: {
    identity: data.IIdentity;
    connectionId: string;
    search?: string;
    page?: number;
  };
  response: {
    groups: data.IGroup[];
  };
}
