Modify Call Request Types (Requests/ModifyCallRequest.ts)

vonage-node-sdk · packages/voice/lib/types/Requests/ModifyCallRequest.ts · typescript · Apache-2.0
voice, integration, lang:typescript

TypeScript type definitions for modifying active voice calls in the Vonage API. Reuse when integrating call control features like muting and transferring.

// Source: https://github.com/Vonage/vonage-node-sdk | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import {
  EarmuffCallParameters,
  HangupCallParameters,
  MuteCallParameters,
  TransferCallParameters,
  UnearmuffCallParameters,
  UnmuteCallParameters,
} from '../Parameters/index.js';

/**
 * Represents the parameters for modifying a call, including actions like
 * earmuff, hangup, mute, transfer, unearmuff, and unmute.
 *
 * @remarks
 * Vonage API's will return information using `snake_case`. This represents the
 * pure response before the client will transform the keys into `camelCase`.
 */
export type ModifyCallRequestParameters =
  | EarmuffCallParameters
  | HangupCallPa

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key