UNPKG

@signalwire/core

Version:
84 lines 2.12 kB
import { VertoMethod } from '../utils/interfaces'; type VertoParams = { [key: string]: any; }; export declare const VertoInvite: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoBye: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoAttach: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoModify: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoInfo: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoAnswer: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoSubscribe: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoPong: (params?: VertoParams) => { id: string; method: import("../utils/interfaces").JSONRPCMethod; params: { [key: string]: any; }; jsonrpc: "2.0"; }; export declare const VertoResult: (id: string, method: VertoMethod) => { id: string; result: { [key: string]: any; }; jsonrpc: "2.0"; }; export interface VertoModifyResponse { action: string; callID: string; holdState: 'held' | 'active'; node_id?: string; sdp?: string; } export {}; //# sourceMappingURL=VertoMessages.d.ts.map