import type { Issue } from "@paperclipai/shared"; import { api } from "./client"; export const agentChatsApi = { get: (companyId: string, agentRef: string) => api.get( `/companies/${companyId}/chats/${encodeURIComponent(agentRef)}`, ), ensure: (companyId: string, agentRef: string) => api.post( `/companies/${companyId}/chats/${encodeURIComponent(agentRef)}`, {}, ), };