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 { AccessLevel } from './accessLevel';
import type { AccessRequest } from './accessRequest';
import type { AccessRequestStateAccessLevel } from './accessRequestStateAccessLevel';
import type { AccessRequestStateMine } from './accessRequestStateMine';
import type { AccessRequestStateNextOffset } from './accessRequestStateNextOffset';
import type { AccessRequestStateOwner } from './accessRequestStateOwner';
/**
* Share state visible to one authenticated viewer.
*/
export interface AccessRequestState {
accessLevel?: AccessRequestStateAccessLevel;
/** Whether this viewer can resolve requests and manage direct grants. */
canReview: boolean;
mine?: AccessRequestStateMine;
/**
* Next page offset, absent at the end.
* @minimum 0
*/
nextOffset?: AccessRequestStateNextOffset;
/** Recorded owner principal, visible to reviewers and callers with access. */
owner?: AccessRequestStateOwner;
/** Total outstanding requests, for the Share badge. */
pendingCount: number;
/** Reviewer-only pending page, oldest first. */
requests: AccessRequest[];
/** Permitted access choices for this surface. */
supportedLevels: AccessLevel[];
}