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.2 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * authentication_service
 * OpenAPI spec version: 0.1.0
 */
import type { CursorApiKeyStatusDefaultModelId } from './cursorApiKeyStatusDefaultModelId';
import type { CursorApiKeyStatusUpdatedAt } from './cursorApiKeyStatusUpdatedAt';

/**
 * What settings needs to render the Cursor connection.

Deliberately thin. `registered` drives the whole UI; `updatedAt` lets it say
when the key was last replaced, which is the only thing a user can check
against their own memory when a session starts failing.

Deliberately *not* reporting anything about the deployment itself. That is
operator information: a user who sees it cannot act on it, and a service
that cannot reach KMS does not start.
 */
export interface CursorApiKeyStatus {
  /** The Cursor model id this user's sessions start on, when they have
chosen one. `None` means the deployment default is in effect — the
settings dropdown shows that as its resting value. */
  defaultModelId?: CursorApiKeyStatusDefaultModelId;
  /** Whether this user has a key stored. */
  registered: boolean;
  /** When the stored key was last replaced, if there is one. */
  updatedAt?: CursorApiKeyStatusUpdatedAt;
}