@vonage/client-sdk 2.4.0-alpha.1 → 2.4.0-alpha.3
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/README.md +3 -3
- package/api_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/classes/VonageClient.html +22 -4
- package/dist/client/VonageClient.d.ts +48 -0
- package/dist/client/index.cjs +794 -236
- package/dist/client/index.mjs +794 -236
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +17 -4
- package/dist/vonageClientSDK.js +776 -236
- package/dist/vonageClientSDK.min.js +7 -7
- package/dist/vonageClientSDK.min.mjs +13 -13
- package/dist/vonageClientSDK.mjs +776 -236
- package/package.json +3 -2
|
@@ -63,6 +63,12 @@ export declare namespace vonage {
|
|
|
63
63
|
unmute(callId: string): Promise<any>;
|
|
64
64
|
enableEarmuff(callId: string): Promise<any>;
|
|
65
65
|
disableEarmuff(callId: string): Promise<any>;
|
|
66
|
+
enableNoiseSuppression(callId: string): Promise<any>;
|
|
67
|
+
disableNoiseSuppression(callId: string): Promise<any>;
|
|
68
|
+
enableAutoGainControl(callId: string): Promise<any>;
|
|
69
|
+
disableAutoGainControl(callId: string): Promise<any>;
|
|
70
|
+
enableEchoCancellation(callId: string): Promise<any>;
|
|
71
|
+
disableEchoCancellation(callId: string): Promise<any>;
|
|
66
72
|
sendDTMF(callId: string, digits: string): Promise<any>;
|
|
67
73
|
emergencyCall(token: string, from: string, to: string, options: Nullable<vonage.emergency.EmergencyCallOptionsJS>): Promise<vonage.emergency.EmergencyCallDataJS>;
|
|
68
74
|
reconnectEmergencyCall(token: string, callId: string, reconnectToken: string): Promise<any>;
|
|
@@ -695,7 +701,7 @@ export declare namespace vonage {
|
|
|
695
701
|
hashCode(): number;
|
|
696
702
|
equals(other: Nullable<any>): boolean;
|
|
697
703
|
};
|
|
698
|
-
abstract class MediaClientErrorJS {
|
|
704
|
+
abstract class MediaClientErrorJS extends Error {
|
|
699
705
|
protected constructor();
|
|
700
706
|
}
|
|
701
707
|
class PeerConnectionNotFoundJS extends vonage.MediaClientErrorJS {
|
|
@@ -717,7 +723,6 @@ export declare namespace vonage {
|
|
|
717
723
|
class ProcessAnswerErrorJS extends vonage.MediaClientErrorJS {
|
|
718
724
|
constructor(legId: string, message?: Nullable<string>);
|
|
719
725
|
get legId(): string;
|
|
720
|
-
get message(): Nullable<string>;
|
|
721
726
|
copy(legId?: string, message?: Nullable<string>): vonage.ProcessAnswerErrorJS;
|
|
722
727
|
toString(): string;
|
|
723
728
|
hashCode(): number;
|
|
@@ -725,7 +730,6 @@ export declare namespace vonage {
|
|
|
725
730
|
}
|
|
726
731
|
class CreateAnswerErrorJS extends vonage.MediaClientErrorJS {
|
|
727
732
|
constructor(message?: Nullable<string>);
|
|
728
|
-
get message(): Nullable<string>;
|
|
729
733
|
copy(message?: Nullable<string>): vonage.CreateAnswerErrorJS;
|
|
730
734
|
toString(): string;
|
|
731
735
|
hashCode(): number;
|
|
@@ -733,7 +737,6 @@ export declare namespace vonage {
|
|
|
733
737
|
}
|
|
734
738
|
class CreateOfferErrorJS extends vonage.MediaClientErrorJS {
|
|
735
739
|
constructor(message?: Nullable<string>);
|
|
736
|
-
get message(): Nullable<string>;
|
|
737
740
|
copy(message?: Nullable<string>): vonage.CreateOfferErrorJS;
|
|
738
741
|
toString(): string;
|
|
739
742
|
hashCode(): number;
|
|
@@ -1007,6 +1010,12 @@ export declare namespace vonage {
|
|
|
1007
1010
|
unmute(callId: string): Promise<any>;
|
|
1008
1011
|
enableEarmuff(callId: string): Promise<any>;
|
|
1009
1012
|
disableEarmuff(callId: string): Promise<any>;
|
|
1013
|
+
enableNoiseSuppression(callId: string): Promise<any>;
|
|
1014
|
+
disableNoiseSuppression(callId: string): Promise<any>;
|
|
1015
|
+
enableAutoGainControl(callId: string): Promise<any>;
|
|
1016
|
+
disableAutoGainControl(callId: string): Promise<any>;
|
|
1017
|
+
enableEchoCancellation(callId: string): Promise<any>;
|
|
1018
|
+
disableEchoCancellation(callId: string): Promise<any>;
|
|
1010
1019
|
sendDTMF(callId: string, digits: string): Promise<any>;
|
|
1011
1020
|
}
|
|
1012
1021
|
class VoiceInviteFromInfoJS {
|
|
@@ -1053,6 +1062,10 @@ export declare namespace vonage {
|
|
|
1053
1062
|
enableRtcStatsCollection(id: string, interval: any/* kotlin.Number */, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1054
1063
|
enableNoiseSuppression(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1055
1064
|
disableNoiseSuppression(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1065
|
+
enableAutoGainControl(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1066
|
+
disableAutoGainControl(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1067
|
+
enableEchoCancellation(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1068
|
+
disableEchoCancellation(id: string, closure: (p0: Nullable<vonage.MediaClientErrorJS>) => void): void;
|
|
1056
1069
|
}
|
|
1057
1070
|
interface MediaClientDelegateJS {
|
|
1058
1071
|
onRtcStats(id: string, rtcStats: vonage.RTCStatsJS): void;
|