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

import { listHandler, createHandler } from './handlers';

export const GET = withAuth(withPermission('client_groups', 'view', listHandler));
export const POST = withAuth(withPermission('client_groups', 'manage', createHandler));
