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.

953 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { BotId } from './botId';
import type { BotTokenExpiresAt } from './botTokenExpiresAt';
import type { BotTokenLabel } from './botTokenLabel';
import type { BotTokenLastUsedAt } from './botTokenLastUsedAt';
import type { BotTokenRevokedAt } from './botTokenRevokedAt';

/**
 * Bot token metadata.
 */
export interface BotToken {
  /** Owning bot id. */
  bot_id: BotId;
  /** Creation timestamp. */
  created_at: string;
  /** Expiration timestamp. */
  expires_at?: BotTokenExpiresAt;
  /** Token id. */
  id: string;
  /** Optional token label. */
  label?: BotTokenLabel;
  /** Last successful use. */
  last_used_at?: BotTokenLastUsedAt;
  /** Revocation timestamp. */
  revoked_at?: BotTokenRevokedAt;
  /** Display prefix of the bearer token. The raw secret is never stored here. */
  token_prefix: string;
}