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.

4.0 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */

import type { AgentSessionSource } from './agentSessionSource';
import type { AgentSessionVisibility } from './agentSessionVisibility';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoArchivedAt } from './soupAgentSessionSoupPropertiesFieldAllOfTwoArchivedAt';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoArchivedBy } from './soupAgentSessionSoupPropertiesFieldAllOfTwoArchivedBy';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestId } from './soupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestId';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestState } from './soupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestState';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestUrl } from './soupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestUrl';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoRepoBranch } from './soupAgentSessionSoupPropertiesFieldAllOfTwoRepoBranch';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoRepoUrl } from './soupAgentSessionSoupPropertiesFieldAllOfTwoRepoUrl';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoThreadId } from './soupAgentSessionSoupPropertiesFieldAllOfTwoThreadId';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoTurnState } from './soupAgentSessionSoupPropertiesFieldAllOfTwoTurnState';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoViewedAt } from './soupAgentSessionSoupPropertiesFieldAllOfTwoViewedAt';
import type { SoupAgentSessionSoupPropertiesFieldAllOfTwoWorkingBranch } from './soupAgentSessionSoupPropertiesFieldAllOfTwoWorkingBranch';

export type SoupAgentSessionSoupPropertiesFieldAllOfTwo = {
  /** When the session was archived, or `None` while it is active. */
  archivedAt?: SoupAgentSessionSoupPropertiesFieldAllOfTwoArchivedAt;
  archivedBy?: SoupAgentSessionSoupPropertiesFieldAllOfTwoArchivedBy;
  /** The bot running this session */
  botId: string;
  /** The time the session was created */
  createdAt: string;
  /** The runtime snapshotted when the session was created. */
  harness: string;
  /** The agent session uuid */
  id: string;
  /** The user-facing name of the session */
  name: string;
  /** Who the session belongs to */
  ownerId: string;
  /** The linked pull request's Macro entity, when visible to the viewer. */
  pullRequestId?: SoupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestId;
  pullRequestState?: SoupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestState;
  /** The persisted pull request associated with the session. */
  pullRequestUrl?: SoupAgentSessionSoupPropertiesFieldAllOfTwoPullRequestUrl;
  /** The starting branch selected for this session, not its current branch. */
  repoBranch?: SoupAgentSessionSoupPropertiesFieldAllOfTwoRepoBranch;
  /** The repository the session works with, when one was selected. */
  repoUrl?: SoupAgentSessionSoupPropertiesFieldAllOfTwoRepoUrl;
  /** Who started the session */
  source?: AgentSessionSource;
  /** The session's last known status.

`no_messages` until the first system event arrives, `disconnected` if
the connection dropped without a clean close, otherwise the wire name
of the most recent system event (for example `session/end`). */
  status: string;
  /** The channel thread the session was opened from, when any */
  threadId?: SoupAgentSessionSoupPropertiesFieldAllOfTwoThreadId;
  /** Last persisted fold turn state. Absent until an older session next runs. */
  turnState?: SoupAgentSessionSoupPropertiesFieldAllOfTwoTurnState;
  /** The time the session was last modified */
  updatedAt: string;
  /** The time the session was last viewed by the requesting user */
  viewedAt?: SoupAgentSessionSoupPropertiesFieldAllOfTwoViewedAt;
  /** Where the session is shown */
  visibility?: AgentSessionVisibility;
  /** Last captured working branch, when the runtime has reported one. */
  workingBranch?: SoupAgentSessionSoupPropertiesFieldAllOfTwoWorkingBranch;
};