UNPKG

@vonage/verify

Version:

Verify API provides a choice of routes for sending a code to a user. You can use this to confirm a user's contact information, as a second factor when authenticating users, or for step-up authentication.

17 lines (14 loc) 454 B
import { VerifyControlResponse } from './VerifyControlResponse.js'; import { Command } from '../../enums/Command.js'; /** * Represents the response for cancelling a verification request. * * @deprecated Please use VerifyControlResponse instead */ type VerifyCancelResponse = VerifyControlResponse & { /** * The command type for the response, which is "CANCEL". */ command: Command.CANCEL; }; export type { VerifyCancelResponse };