import { withAuth, withPermission } from '@/lib/api/helpers';

import { getHandler, patchHandler, deleteHandler } from './handlers';

export const GET = withAuth(withPermission('client_groups', 'view', getHandler));
export const PATCH = withAuth(withPermission('client_groups', 'manage', patchHandler));
export const DELETE = withAuth(withPermission('client_groups', 'manage', deleteHandler));
