import type { DirectMessageParticipant } from './direct-message-contracts';

export type DirectCallEventAction = 'ring' | 'join' | 'leave' | 'end' | 'update';

export interface DirectCallEventPayload {
  action: DirectCallEventAction;
  callId: string;
  conversationId: string;
  createdAt: number;
  sender: DirectMessageParticipant;
  participantIds: string[];
  participants?: DirectMessageParticipant[];
}
