import { PhoneNumberChannel } from '../phoneNumberChannel.js'; import { SipChannel } from '../sipChannel.js'; import { AppChannel } from '../appChannel.js'; import { WebSocketChannel } from '../websocketChannel.js'; import { VbcChannel } from '../vbcChannel.js'; import { ConversationCallbackRequest } from './conversationCallbackRequest.js'; import '../../enums/channelType.js'; /** * Type representing a request to create a conversation. */ type CreateConversationRequest = { /** * Your internal conversation name. */ name: string; /** * The public-facing name of the conversation. */ display_name: string; /** * An image URL associated with the conversation. */ image_url: string; /** * Conversation properties (optional). */ properties?: { /** * Time to leave in seconds for an empty conversation (optional). */ ttl?: number; /** * Custom conversation type (optional). */ type?: string; /** * Custom sort key (optional). */ custom_sort_key?: string; /** * Custom data as key-value pairs (optional). */ custom_data?: Record; }; /** * Communication channels (optional). */ numbers?: Array; /** * Callback information (optional). */ callback?: ConversationCallbackRequest; }; export type { CreateConversationRequest };