@vonage/client-sdk 0.3.0-alpha.2 → 1.0.0-rc.1
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/dist/client/VonageClient.d.ts +2 -0
- package/dist/client/index.cjs +5186 -5088
- package/dist/client/index.mjs +5186 -5089
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +26 -2
- package/dist/vonageClientSDK.js +5187 -5089
- package/dist/vonageClientSDK.min.js +2 -2
- package/dist/vonageClientSDK.min.mjs +2 -2
- package/dist/vonageClientSDK.mjs +5187 -5090
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export namespace vonage {
|
|
|
10
10
|
earmuff(callId: string, legId: string, earmuffStatus: boolean): void;
|
|
11
11
|
dtmf(callId: string, legId: string, digits: string): void;
|
|
12
12
|
callHangup(callId: string, callQuality: vonage.RTCQualityJS, isRemote: boolean): void;
|
|
13
|
-
legStatusUpdate(callId: string, legId: string, status:
|
|
13
|
+
legStatusUpdate(callId: string, legId: string, status: vonage.LegStatusJS): void;
|
|
14
14
|
reconnecting(): void;
|
|
15
15
|
reconnection(): void;
|
|
16
16
|
sessionError(reason: vonage.SessionErrorReasonJS): void;
|
|
@@ -504,6 +504,8 @@ export namespace vonage {
|
|
|
504
504
|
set websocketPath(value: string);
|
|
505
505
|
get autoMediaReoffer(): boolean;
|
|
506
506
|
set autoMediaReoffer(value: boolean);
|
|
507
|
+
get enableWebsocketInvites(): boolean;
|
|
508
|
+
set enableWebsocketInvites(value: boolean);
|
|
507
509
|
}
|
|
508
510
|
abstract class LoggingLevelJS /* implements com.vonage.clientcore.core.api.ILoggingLevel */ {
|
|
509
511
|
private constructor();
|
|
@@ -580,7 +582,7 @@ export namespace vonage {
|
|
|
580
582
|
earmuff(callId: string, legId: string, earmuffStatus: boolean): void;
|
|
581
583
|
dtmf(callId: string, legId: string, digits: string): void;
|
|
582
584
|
callHangup(callId: string, callQuality: vonage.RTCQualityJS, isRemote: boolean): void;
|
|
583
|
-
legStatusUpdate(callId: string, legId: string, status:
|
|
585
|
+
legStatusUpdate(callId: string, legId: string, status: vonage.LegStatusJS): void;
|
|
584
586
|
reconnecting(): void;
|
|
585
587
|
reconnection(): void;
|
|
586
588
|
sessionError(reason: vonage.SessionErrorReasonJS): void;
|
|
@@ -595,6 +597,28 @@ export namespace vonage {
|
|
|
595
597
|
}
|
|
596
598
|
}
|
|
597
599
|
export namespace vonage {
|
|
600
|
+
abstract class LegStatusJS {
|
|
601
|
+
private constructor();
|
|
602
|
+
static get RINGING(): vonage.LegStatusJS & {
|
|
603
|
+
get name(): "RINGING";
|
|
604
|
+
get ordinal(): 0;
|
|
605
|
+
};
|
|
606
|
+
static get ANSWERED(): vonage.LegStatusJS & {
|
|
607
|
+
get name(): "ANSWERED";
|
|
608
|
+
get ordinal(): 1;
|
|
609
|
+
};
|
|
610
|
+
static get COMPLETED(): vonage.LegStatusJS & {
|
|
611
|
+
get name(): "COMPLETED";
|
|
612
|
+
get ordinal(): 2;
|
|
613
|
+
};
|
|
614
|
+
static values(): Array<vonage.LegStatusJS>;
|
|
615
|
+
static valueOf(value: string): vonage.LegStatusJS;
|
|
616
|
+
get name(): "RINGING" | "ANSWERED" | "COMPLETED";
|
|
617
|
+
get ordinal(): 0 | 1 | 2;
|
|
618
|
+
static get Companion(): {
|
|
619
|
+
getStatus(status: any/* com.vonage.clientcore.core.api.LegStatus */): vonage.LegStatusJS;
|
|
620
|
+
};
|
|
621
|
+
}
|
|
598
622
|
interface IVoiceClientJS extends vonage.ICoreClientJS {
|
|
599
623
|
readonly media: vonage.MediaClientJS;
|
|
600
624
|
readonly core: any/* com.vonage.clientcore.core.CoreClientWithMedia */;
|