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 { CreateTaskResponseTeamId } from './createTaskResponseTeamId';
import type { CreateTaskResponseTeamTaskId } from './createTaskResponseTeamTaskId';
import type { DocumentResponseMetadata } from './documentResponseMetadata';
/**
* Response for creating a task.
*/
export interface CreateTaskResponse {
/** The document ID of the created task. */
documentId: string;
/** Metadata for the created document */
documentMetadata: DocumentResponseMetadata;
/** Base64-encoded canonical Loro snapshot used to initialize the task. */
initialSnapshot: string;
/** The team this task number is scoped to. */
teamId?: CreateTaskResponseTeamId;
/** The task number assigned within the team. */
teamTaskId?: CreateTaskResponseTeamTaskId;
/** A pre-generated permission token that you can use for SS */
token: string;
}