UNPKG

sipgateio

Version:

The official Node.js library for sipgate.io

25 lines (24 loc) 530 B
interface BaseCallData { deviceId?: string; callerId?: string; } interface Callee { to: string; } interface Caller { from: string; } export declare type CallData = BaseCallData & Callee & Caller; export interface InitiateNewCallSessionResponse { sessionId: string; } export interface CallModule { initiate: (newCallRequest: CallData) => Promise<InitiateNewCallSessionResponse>; } export interface CallDTO { caller: string; callee: string; callerId?: string; deviceId?: string; } export {};