UNPKG

@vonage/voice

Version:

The Voice API lets you create outbound calls, control in-progress calls and get information about historical calls.

21 lines 724 B
/** * Checks if an object is serializable to Nexmo Call Control Objects (NCCO). * * @deprecated not needed anymore * * @param {Serializable} nccoObject - The object to check for serializability. * @return {boolean} `true` if the object is serializable, otherwise `false`. */ export declare function isNCCOSerializable(nccoObject: object): boolean; /** * Interface for objects that can be serialized to Nexmo Call Control Objects (NCCO). */ export interface Serializable { /** * Serialize the object to Nexmo Call Control Objects (NCCO) format. * * @returns The NCCO representation of the object. */ serializeToNCCO(): Record<string, unknown>; } //# sourceMappingURL=Serializable.d.ts.map