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 { ExternalChatDeliveryState } from './externalChatDeliveryState';
import type { ExternalChatSendProgressErrorCode } from './externalChatSendProgressErrorCode';
import type { ExternalChatSendProgressMessageId } from './externalChatSendProgressMessageId';
import type { ExternalChatSendReply } from './externalChatSendReply';

/**
 * Durable result of a deliberate send.
 */
export interface ExternalChatSendProgress {
  /** External chat. */
  chatId: string;
  /** Intent creation time. */
  createdAt: string;
  /** Sanitized failure code. */
  errorCode?: ExternalChatSendProgressErrorCode;
  /** Stable intent id. */
  id: string;
  /** The chat's message, once the provider accepted it. */
  messageId?: ExternalChatSendProgressMessageId;
  /** The original request, so a failed draft can be recovered. */
  payload: ExternalChatSendReply;
  /** Current state. */
  state: ExternalChatDeliveryState;
  /** Person who submitted it. */
  userId: string;
}