Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.1 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * Document Cognition Service
 * OpenAPI spec version: 1.0.0
 */

import type { ChatMessageWithAttachments } from './chatMessageWithAttachments';
import type { ChatResponseCreatedAt } from './chatResponseCreatedAt';
import type { ChatResponseModel } from './chatResponseModel';
import type { ChatResponseProjectId } from './chatResponseProjectId';
import type { ChatResponseUpdatedAt } from './chatResponseUpdatedAt';

/**
 * The full chat response, matching the DCS API response shape.
 */
export interface ChatResponse {
  /** The time the chat was created. */
  createdAt?: ChatResponseCreatedAt;
  /** The chat uuid. */
  id: string;
  /** The messages in the chat. */
  messages: ChatMessageWithAttachments[];
  /** The model used to generate the chat (`provider/model` id). */
  model?: ChatResponseModel;
  /** The name of the chat. */
  name: string;
  /** The project id the chat belongs to. */
  projectId?: ChatResponseProjectId;
  /** The time the chat was last updated. */
  updatedAt?: ChatResponseUpdatedAt;
  /** Who the chat belongs to. */
  userId: string;
}