Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

1.1 KB
Raw Blame
/**
 * 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 { InitiativeId } from './initiativeId';
import type { MacroUserIdStr } from './macroUserIdStr';
import type { SharePermissionV2 } from './sharePermissionV2';

/**
 * Full initiative returned to a caller, including members, tasks, and share state.
 */
export interface InitiativeDetail {
  /** When the initiative was created. */
  createdAt: string;
  /** Opaque identifier. */
  id: InitiativeId;
  /** Member user ids. The owner is never stored here. */
  memberIds: MacroUserIdStr[];
  /** Display name. */
  name: string;
  /** Owner of the initiative. */
  ownerId: MacroUserIdStr;
  /** Current share permission. */
  sharePermission: SharePermissionV2;
  /** Task ids currently assigned to the initiative. */
  taskIds: string[];
  /** When the initiative was last updated. */
  updatedAt: string;
  /** Caller's access level on this initiative. */
  userAccessLevel: AccessLevel;
}