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.

2.1 KB
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * email_service
 * OpenAPI spec version: 0.1.0
 */
import type { ApiDraftOutputBcc } from './apiDraftOutputBcc';
import type { ApiDraftOutputBodyHtml } from './apiDraftOutputBodyHtml';
import type { ApiDraftOutputBodyMacro } from './apiDraftOutputBodyMacro';
import type { ApiDraftOutputBodyText } from './apiDraftOutputBodyText';
import type { ApiDraftOutputCc } from './apiDraftOutputCc';
import type { ApiDraftOutputDbId } from './apiDraftOutputDbId';
import type { ApiDraftOutputHeadersJson } from './apiDraftOutputHeadersJson';
import type { ApiDraftOutputProviderId } from './apiDraftOutputProviderId';
import type { ApiDraftOutputProviderThreadId } from './apiDraftOutputProviderThreadId';
import type { ApiDraftOutputReplyingToId } from './apiDraftOutputReplyingToId';
import type { ApiDraftOutputSendTime } from './apiDraftOutputSendTime';
import type { ApiDraftOutputThreadDbId } from './apiDraftOutputThreadDbId';
import type { ApiDraftOutputTo } from './apiDraftOutputTo';

/**
 * The draft output matching the current `MessageToSend` JSON shape for backward compat.
 */
export interface ApiDraftOutput {
  /** Bcc recipients. */
  bcc?: ApiDraftOutputBcc;
  /** HTML body (decoded). */
  body_html?: ApiDraftOutputBodyHtml;
  /** Macro body. */
  body_macro?: ApiDraftOutputBodyMacro;
  /** Plain text body. */
  body_text?: ApiDraftOutputBodyText;
  /** Cc recipients. */
  cc?: ApiDraftOutputCc;
  /** Message DB ID. */
  db_id?: ApiDraftOutputDbId;
  /** Generation required for subsequent edits. */
  draft_generation: number;
  headers_json?: ApiDraftOutputHeadersJson;
  /** Link ID. */
  link_id: string;
  /** Provider message ID. */
  provider_id?: ApiDraftOutputProviderId;
  /** Provider thread ID. */
  provider_thread_id?: ApiDraftOutputProviderThreadId;
  /** ID of the message this draft is replying to. */
  replying_to_id?: ApiDraftOutputReplyingToId;
  /** Send time. */
  send_time?: ApiDraftOutputSendTime;
  /** Subject line. */
  subject: string;
  /** Thread DB ID. */
  thread_db_id?: ApiDraftOutputThreadDbId;
  /** To recipients. */
  to?: ApiDraftOutputTo;
}