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 { CreateTaskHandler200TeamId } from './createTaskHandler200TeamId';
import type { CreateTaskHandler200TeamTaskId } from './createTaskHandler200TeamTaskId';
import type { DocumentResponseMetadata } from './documentResponseMetadata';
/**
* Response for creating a task.
*/
export type CreateTaskHandler200 = {
/** 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?: CreateTaskHandler200TeamId;
/** The task number assigned within the team. */
teamTaskId?: CreateTaskHandler200TeamTaskId;
/** A pre-generated permission token that you can use for SS */
token: string;
};