ring-client-api 9.23.0 → 10.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +55 -0
- package/README.md +1 -1
- package/lib/api/api.js +3 -1
- package/lib/api/index.d.ts +0 -1
- package/lib/api/index.js +0 -1
- package/lib/api/live-call.d.ts +37 -0
- package/lib/api/live-call.js +182 -0
- package/lib/api/peer-connection.d.ts +17 -0
- package/lib/api/peer-connection.js +96 -0
- package/lib/api/rest-client.d.ts +3 -0
- package/lib/api/rest-client.js +18 -6
- package/lib/api/ring-camera.d.ts +13 -22
- package/lib/api/ring-camera.js +92 -174
- package/lib/api/ring-chime.d.ts +1 -1
- package/lib/api/ring-chime.js +1 -1
- package/lib/api/ring-types.d.ts +18 -4
- package/lib/api/ring-types.js +6 -1
- package/lib/api/rtp-utils.d.ts +24 -27
- package/lib/api/rtp-utils.js +5 -53
- package/lib/api/util.js +5 -2
- package/package.json +38 -34
- package/lib/api/sip-call.d.ts +0 -76
- package/lib/api/sip-call.js +0 -242
- package/lib/api/sip-session.d.ts +0 -37
- package/lib/api/sip-session.js +0 -212
- package/lib/api/sip.d.ts +0 -86
- package/lib/api/sip.js +0 -1313
package/lib/api/sip.d.ts
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
export function copyMessage(msg: any, deep: any): any;
|
|
2
|
-
export function create(options: any, callback: any): {
|
|
3
|
-
send: (m: any, callback: any) => void;
|
|
4
|
-
encodeFlowUri: (flow: any) => {
|
|
5
|
-
schema: string;
|
|
6
|
-
user: any;
|
|
7
|
-
host: any;
|
|
8
|
-
params: {};
|
|
9
|
-
};
|
|
10
|
-
decodeFlowUri: (uri: any) => {
|
|
11
|
-
protocol: any;
|
|
12
|
-
address: any;
|
|
13
|
-
port: number;
|
|
14
|
-
local: {
|
|
15
|
-
address: any;
|
|
16
|
-
port: number;
|
|
17
|
-
};
|
|
18
|
-
} | undefined;
|
|
19
|
-
isFlowUri: (uri: any) => boolean;
|
|
20
|
-
hostname: () => any;
|
|
21
|
-
destroy: () => void;
|
|
22
|
-
};
|
|
23
|
-
export function start(options: any, callback: any): void;
|
|
24
|
-
export function parseAOR(data: any): any;
|
|
25
|
-
export function parseUri(s: any): any;
|
|
26
|
-
export function stringifyUri(uri: any): string;
|
|
27
|
-
export function stringifyAuthHeader(a: any): string;
|
|
28
|
-
export function stringify(m: any): string;
|
|
29
|
-
export function makeResponse(rq: any, status: any, reason: any, extension: any): {
|
|
30
|
-
status: any;
|
|
31
|
-
reason: any;
|
|
32
|
-
version: any;
|
|
33
|
-
headers: {
|
|
34
|
-
via: any;
|
|
35
|
-
to: any;
|
|
36
|
-
from: any;
|
|
37
|
-
'call-id': any;
|
|
38
|
-
cseq: any;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export function makeStreamParser(onMessage: any, onFlood: any, maxBytesHeaders: any, maxContentLength: any): (data: any) => void;
|
|
42
|
-
declare function parseMessage(s: any): {
|
|
43
|
-
headers: {};
|
|
44
|
-
} | undefined;
|
|
45
|
-
export function makeTransport(options: any, callback: any): {
|
|
46
|
-
open: (target: any, error: any) => any;
|
|
47
|
-
get: (target: any, error: any) => any;
|
|
48
|
-
send: (target: any, message: any) => void;
|
|
49
|
-
destroy: () => void;
|
|
50
|
-
};
|
|
51
|
-
export function resolve(uri: any, action: any): any;
|
|
52
|
-
export function generateBranch(): string;
|
|
53
|
-
export function makeTransactionLayer(options: any, transport: any): {
|
|
54
|
-
createServerTransaction: (rq: any, cn: any) => {
|
|
55
|
-
send: (...args: any[]) => void;
|
|
56
|
-
message: (...args: any[]) => void;
|
|
57
|
-
shutdown: () => void;
|
|
58
|
-
};
|
|
59
|
-
createClientTransaction: (connection: any, rq: any, callback: any) => {
|
|
60
|
-
message: (...args: any[]) => void;
|
|
61
|
-
shutdown: () => void;
|
|
62
|
-
};
|
|
63
|
-
getServer: (m: any) => any;
|
|
64
|
-
getClient: (m: any) => any;
|
|
65
|
-
destroy: () => void;
|
|
66
|
-
};
|
|
67
|
-
export function send(m: any, callback: any): void;
|
|
68
|
-
declare function destroy(): void;
|
|
69
|
-
export function encodeFlowUri(flow: any): {
|
|
70
|
-
schema: string;
|
|
71
|
-
user: any;
|
|
72
|
-
host: any;
|
|
73
|
-
params: {};
|
|
74
|
-
};
|
|
75
|
-
export function decodeFlowUri(uri: any): {
|
|
76
|
-
protocol: any;
|
|
77
|
-
address: any;
|
|
78
|
-
port: number;
|
|
79
|
-
local: {
|
|
80
|
-
address: any;
|
|
81
|
-
port: number;
|
|
82
|
-
};
|
|
83
|
-
} | undefined;
|
|
84
|
-
export function isFlowUri(uri: any): boolean;
|
|
85
|
-
export function hostname(): any;
|
|
86
|
-
export { parseMessage as parse, destroy as stop };
|