Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
/**
* Generated by orval v7.21.0 🍺
* Do not edit manually.
* document_storage_service
* OpenAPI spec version: 0.1.0
*/
import type { ChatCreatedAt } from './chatCreatedAt';
import type { ChatDeletedAt } from './chatDeletedAt';
import type { ChatModel } from './chatModel';
import type { ChatProjectId } from './chatProjectId';
import type { ChatTokenCount } from './chatTokenCount';
import type { ChatType } from './chatType';
import type { ChatUpdatedAt } from './chatUpdatedAt';
export interface Chat {
/** The time the chat was created */
createdAt?: ChatCreatedAt;
/** The time the chat was deleted */
deletedAt?: ChatDeletedAt;
/** The chat uuid */
id: string;
isPersistent: boolean;
/** The model used to generate the chat */
model?: ChatModel;
/** The name of the chat */
name: string;
/** The project id of the chat */
projectId?: ChatProjectId;
tokenCount?: ChatTokenCount;
/** The time the chat was last updated */
updatedAt?: ChatUpdatedAt;
/** Who the chat belongs to */
userId: string;
type: ChatType;
}