import { ChannelType } from '../enums/channelType.js'; import { AnyChannel } from './anyChannel.js'; import './phoneNumberChannel.js'; import './sipChannel.js'; import './appChannel.js'; import './websocketChannel.js'; import './vbcChannel.js'; type MessageChannelBody = { /** * Channel Details */ channel: { /** * Channel is going to user/type */ to: AnyChannel; /** * Channel is coming from user/type */ from: AnyChannel; }; /** * Message ID */ id: string; /** * Message Type */ type: ChannelType; /** * Message headers */ headers: Record; }; export type { MessageChannelBody };