@vonage/applications
Version:
Vonage Applications API
25 lines (22 loc) • 775 B
text/typescript
import { CapabilityWebhookResponse } from './CapabilityWebhookResponse.mjs';
import { CapabilityVerify } from '../CapabilityVerify.mjs';
import '../CapabilityWebhook.mjs';
/**
* 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 };