@vonage/applications
Version:
Vonage Applications API
32 lines (29 loc) • 836 B
text/typescript
import { CapabilityWebhookResponse } from './CapabilityWebhookResponse.mjs';
import '../CapabilityWebhook.mjs';
/**
* Represents the response for RTC-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 CapabilityRTCResponse = {
/**
* Webhook configuration for RTC events.
*/
webhooks: {
/**
* Webhook for events related to RTC.
*/
event_url: CapabilityWebhookResponse;
};
/**
* Whether to use signed webhooks for RTC events.
*/
signed_callbacks: boolean;
/**
* The leg persistence time for RTC events.
*/
leg_persistence_time: number;
};
export type { CapabilityRTCResponse };