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.3 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { AccountManagerGrantClaimedAt } from './accountManagerGrantClaimedAt';
import type { AccountManagerGrantExpiresAt } from './accountManagerGrantExpiresAt';
import type { AccountManagerGrantLastUsedAt } from './accountManagerGrantLastUsedAt';
import type { AccountManagerGrantStatus } from './accountManagerGrantStatus';
import type { AccountManagerRole } from './accountManagerRole';

/**
 * A request for manager access and what became of it.
 */
export interface AccountManagerGrant {
  /** When the manager claimed the credential. */
  claimedAt?: AccountManagerGrantClaimedAt;
  /** When the request was made. */
  createdAt: string;
  /** When the pending request or unclaimed approval stops being usable. */
  expiresAt?: AccountManagerGrantExpiresAt;
  /** Grant id. */
  id: string;
  /** When the credential was last used, to the minute. */
  lastUsedAt?: AccountManagerGrantLastUsedAt;
  /** The account being managed. */
  managedUserId: string;
  /** The agent account doing the managing. */
  managerUserId: string;
  /** The side that asked. */
  requestedBy: AccountManagerRole;
  /** Lifecycle status. */
  status: AccountManagerGrantStatus;
}