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 { UploadDescriptor } from './uploadDescriptor';
import type { UploadGrantRequiredHeaders } from './uploadGrantRequiredHeaders';
/**
* Signed upload permission returned just before PUT; never persisted as an identity.
*/
export interface UploadGrant {
/** Exact immutable descriptor being signed. */
descriptor: UploadDescriptor;
/** Grant expiry; callers renew by re-registering the identical descriptor. */
expiresAt: string;
/** Required signed upload headers (including checksum, content type and create-only
condition). Browser-forbidden Content-Length is derived from the exact Blob bytes. */
requiredHeaders: UploadGrantRequiredHeaders;
/** Short-lived signed destination; must not be logged. */
url: string;
}