@vonage/applications
Version:
Vonage Applications API
25 lines (22 loc) • 772 B
TypeScript
import { CapabilityWebhookResponse } from './CapabilityWebhookResponse.js';
import { CapabilityVerify } from '../CapabilityVerify.js';
import '../CapabilityWebhook.js';
/**
* Represents the response for verification-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 CapabilityVerifyResponse = {
/**
* Webhook configuration for verification events.
*/
webhooks: {
/**
* Webhook for events related to verification status.
*/
status_url: CapabilityWebhookResponse;
};
} & Omit<CapabilityVerify, 'webhooks'>;
export type { CapabilityVerifyResponse };