import { CapabilityWebhookResponse } from './CapabilityWebhookResponse.js'; import { CapabilityMessages } from '../CapabilityMessages.js'; import '../CapabilityWebhook.js'; /** * Represents the response for messages-related capabilities configuration. * * @remarks * Vonage API's will return information using `snake_case`. This represents the * pure response before the client will transform the keys into `camelCase` */ type CapabilityMessagesResponse = { /** * Webhook configuration for messages-related events. */ webhooks: { /** * Webhook for inbound messages. */ inbound_url: CapabilityWebhookResponse; /** * Webhook for events related to message status. */ status_url: CapabilityWebhookResponse; }; /** * Whether to authenticate inbound media for messages. */ authenticate_inbound_media: boolean; } & Omit; export type { CapabilityMessagesResponse };