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.

756 B
Raw Blame
/**
 * Generated by orval v7.21.0 🍺
 * Do not edit manually.
 * document_storage_service
 * OpenAPI spec version: 0.1.0
 */
import type { WhatsAppAccountIdentityJid } from './whatsAppAccountIdentityJid';
import type { WhatsAppAccountState } from './whatsAppAccountState';

/**
 * One person's account, never owned by a workspace.
 */
export interface WhatsAppAccount {
  /** Explicit consent generation; reconnecting a socket never changes it. */
  authorizationGeneration: number;
  /** Stable account identity. */
  id: string;
  /** WhatsApp-verified identity, absent until the first pairing succeeds. */
  identityJid?: WhatsAppAccountIdentityJid;
  /** Lifecycle. */
  state: WhatsAppAccountState;
  /** Authenticated owner. */
  userId: string;
}