@vonage/client-sdk 2.6.1 → 2.6.2-snapshot.20260820113314
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/api_docs/ts/assets/hierarchy.js +1 -0
- package/api_docs/ts/assets/highlight.css +1 -1
- package/api_docs/ts/assets/icons.js +17 -14
- package/api_docs/ts/assets/icons.svg +1 -1
- package/api_docs/ts/assets/main.js +5 -4
- package/api_docs/ts/assets/navigation.js +1 -1
- package/api_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/assets/style.css +1460 -1224
- package/api_docs/ts/classes/ClientConfig.html +207 -16
- package/api_docs/ts/classes/ClientInitConfig.html +130 -14
- package/api_docs/ts/classes/VonageClient.html +1697 -335
- package/api_docs/ts/enums/CallDisconnectReason.html +54 -3
- package/api_docs/ts/enums/CancelReason.html +66 -6
- package/api_docs/ts/enums/HangupReason.html +70 -7
- package/api_docs/ts/enums/LegStatus.html +62 -5
- package/api_docs/ts/enums/LoggingLevel.html +74 -8
- package/api_docs/ts/enums/MemberChannelType.html +94 -13
- package/api_docs/ts/enums/OrderBy.html +58 -2
- package/api_docs/ts/enums/PresentingOrder.html +62 -8
- package/api_docs/ts/enums/SessionErrorReason.html +62 -5
- package/api_docs/ts/enums/VoiceChannelType.html +66 -6
- package/api_docs/ts/enums/VonageErrorType.html +70 -7
- package/api_docs/ts/functions/none.html +42 -2
- package/api_docs/ts/functions/some.html +48 -3
- package/api_docs/ts/hierarchy.html +30 -0
- package/api_docs/ts/index.html +102 -26
- package/api_docs/ts/interfaces/CallSayParams.html +75 -8
- package/api_docs/ts/interfaces/Channel.html +67 -6
- package/api_docs/ts/interfaces/Conversation.html +127 -20
- package/api_docs/ts/interfaces/ConversationProperties.html +75 -8
- package/api_docs/ts/interfaces/ConversationTimestamp.html +75 -5
- package/api_docs/ts/interfaces/ConversationsPage.html +81 -8
- package/api_docs/ts/interfaces/CreateConversationParameters.html +88 -15
- package/api_docs/ts/interfaces/EmergencyCallData.html +67 -6
- package/api_docs/ts/interfaces/EmergencyCallOptions.html +57 -4
- package/api_docs/ts/interfaces/EphemeralConversationEvent.html +81 -12
- package/api_docs/ts/interfaces/EventsPage.html +81 -8
- package/api_docs/ts/interfaces/GetCallLegsParameters.html +69 -8
- package/api_docs/ts/interfaces/GetConversationEventsParameters.html +87 -14
- package/api_docs/ts/interfaces/GetConversationMembersParameters.html +69 -8
- package/api_docs/ts/interfaces/GetConversationsParameters.html +81 -12
- package/api_docs/ts/interfaces/Leg.html +131 -21
- package/api_docs/ts/interfaces/LegChannel.html +75 -8
- package/api_docs/ts/interfaces/LegsPage.html +81 -8
- package/api_docs/ts/interfaces/Location.html +67 -6
- package/api_docs/ts/interfaces/Member.html +81 -12
- package/api_docs/ts/interfaces/MemberChannel.html +69 -8
- package/api_docs/ts/interfaces/MemberEventBody.html +75 -7
- package/api_docs/ts/interfaces/MemberTimestamp.html +75 -5
- package/api_docs/ts/interfaces/MembersPage.html +81 -8
- package/api_docs/ts/interfaces/MessageAudioEventBody.html +67 -5
- package/api_docs/ts/interfaces/MessageCustomEventBody.html +67 -5
- package/api_docs/ts/interfaces/MessageFileEventBody.html +67 -6
- package/api_docs/ts/interfaces/MessageImageEventBody.html +67 -6
- package/api_docs/ts/interfaces/MessageLocationEventBody.html +67 -6
- package/api_docs/ts/interfaces/MessageTemplateEventBody.html +93 -9
- package/api_docs/ts/interfaces/MessageTextEventBody.html +67 -6
- package/api_docs/ts/interfaces/MessageVCardEventBody.html +67 -6
- package/api_docs/ts/interfaces/MessageVideoEventBody.html +67 -6
- package/api_docs/ts/interfaces/RTCQuality.html +123 -11
- package/api_docs/ts/interfaces/RtcStats.html +179 -18
- package/api_docs/ts/interfaces/Template.html +59 -4
- package/api_docs/ts/interfaces/UpdateConversationParameters.html +87 -14
- package/api_docs/ts/interfaces/User.html +107 -16
- package/api_docs/ts/interfaces/UserChannels.html +139 -13
- package/api_docs/ts/interfaces/UserTimestamp.html +75 -5
- package/api_docs/ts/interfaces/VonageError.html +89 -12
- package/api_docs/ts/interfaces/VonageEvent.html +131 -22
- package/api_docs/ts/interfaces/Whatsapp.html +59 -4
- package/api_docs/ts/modules.html +69 -74
- package/api_docs/ts/types/ClientConfigObject.html +52 -5
- package/api_docs/ts/types/ClientInitConfigObject.html +59 -4
- package/api_docs/ts/types/ConfigRegion.html +34 -2
- package/api_docs/ts/types/ConversationEvent.html +34 -2
- package/api_docs/ts/types/CustomData.html +34 -2
- package/api_docs/ts/types/Json.html +34 -2
- package/api_docs/ts/types/JsonValue.html +34 -2
- package/api_docs/ts/types/MemberStatus.html +34 -2
- package/api_docs/ts/types/Option.html +38 -2
- package/api_docs/ts/types/PersistentConversationEvent.html +34 -2
- package/api_docs/ts/types/Topics.html +34 -2
- package/api_docs/ts/types/VonageLogger.html +59 -4
- package/api_docs/ts/variables/Topics.html +34 -0
- package/api_docs/ts/variables/VonageError.html +38 -0
- package/dist/client/VonageClient.d.ts +704 -704
- package/dist/client/index.cjs +45072 -36319
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.mjs +44700 -35947
- package/dist/coreExtend.d.ts +107 -107
- package/dist/kotlin/JsUnions.d.ts +443 -443
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +724 -145
- package/dist/utils/ClientConfig.d.ts +104 -104
- package/dist/utils/ConversationEventBodies.d.ts +125 -125
- package/dist/utils/ConversationModels.d.ts +170 -170
- package/dist/utils/Enums.d.ts +56 -56
- package/dist/utils/ErrorModels.d.ts +23 -23
- package/dist/utils/JsonUtils.d.ts +15 -15
- package/dist/utils/Option.d.ts +19 -19
- package/dist/utils/RequestParameterModels.d.ts +134 -134
- package/dist/utils/index.d.ts +10 -10
- package/dist/utils/jsEnumToVonageObject.d.ts +10 -10
- package/dist/utils/logging.d.ts +53 -53
- package/dist/utils/vonage.d.ts +2 -2
- package/dist/vonageClientSDK.js +44299 -35558
- package/dist/vonageClientSDK.min.js +25 -25
- package/dist/vonageClientSDK.min.mjs +26 -26
- package/dist/vonageClientSDK.mjs +44299 -35558
- package/package.json +6 -6
- package/typedoc.json +3 -0
- package/api_docs/ts/variables/Topics-1.html +0 -2
- package/api_docs/ts/variables/VonageError-1.html +0 -3
package/dist/coreExtend.d.ts
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
import './kotlin/clientsdk-clientcore_js';
|
|
2
|
-
import { Json as InternalJson } from './utils/JsonUtils';
|
|
3
|
-
import { Member } from './utils';
|
|
4
|
-
declare module './kotlin/clientsdk-clientcore_js' {
|
|
5
|
-
type Json = InternalJson;
|
|
6
|
-
namespace vonage {
|
|
7
|
-
interface CombinedClientJS {
|
|
8
|
-
/**
|
|
9
|
-
* Mute your leg of a call
|
|
10
|
-
*
|
|
11
|
-
* @example
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* @param callId - Call ID
|
|
15
|
-
* @returns void
|
|
16
|
-
* @group Voice
|
|
17
|
-
*/
|
|
18
|
-
mute(callId: string): Promise<void>;
|
|
19
|
-
/**
|
|
20
|
-
* Unmute your leg of a call
|
|
21
|
-
* @param callId - Call ID
|
|
22
|
-
* @returns void
|
|
23
|
-
* @group Voice
|
|
24
|
-
*/
|
|
25
|
-
unmute(callId: string): Promise<void>;
|
|
26
|
-
/**
|
|
27
|
-
* Earmuff your leg of a call
|
|
28
|
-
*
|
|
29
|
-
* @example
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
* @param callId - Call ID
|
|
33
|
-
* @returns void
|
|
34
|
-
* @group Voice
|
|
35
|
-
*/
|
|
36
|
-
enableEarmuff(callId: string): Promise<void>;
|
|
37
|
-
/**
|
|
38
|
-
* Unearmuff your leg of a call
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
*
|
|
42
|
-
*
|
|
43
|
-
* @param callId - Call ID
|
|
44
|
-
* @returns void
|
|
45
|
-
* @group Voice
|
|
46
|
-
*/
|
|
47
|
-
disableEarmuff(callId: string): Promise<void>;
|
|
48
|
-
/**
|
|
49
|
-
* Send a string of digits to a call via DTMF
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
* @param callId - Call ID
|
|
55
|
-
* @param digits - DTMF digits
|
|
56
|
-
* @returns void
|
|
57
|
-
* @group Voice
|
|
58
|
-
*/
|
|
59
|
-
sendDTMF(callId: string, digits: string): Promise<void>;
|
|
60
|
-
/**
|
|
61
|
-
* Answer a call
|
|
62
|
-
*
|
|
63
|
-
* @example
|
|
64
|
-
*
|
|
65
|
-
*
|
|
66
|
-
* @param callId - Call ID
|
|
67
|
-
* @returns void
|
|
68
|
-
* @group Voice
|
|
69
|
-
*/
|
|
70
|
-
answer(callId: string): Promise<void>;
|
|
71
|
-
/**
|
|
72
|
-
* Reject a call
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* @param callId - Call ID
|
|
78
|
-
* @returns void
|
|
79
|
-
* @group Voice
|
|
80
|
-
*/
|
|
81
|
-
reject(callId: string): Promise<void>;
|
|
82
|
-
/**
|
|
83
|
-
* Reconnect a call
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
*
|
|
87
|
-
*
|
|
88
|
-
* @param callId - Call ID
|
|
89
|
-
* @returns void
|
|
90
|
-
* @group Voice
|
|
91
|
-
*/
|
|
92
|
-
reconnectCall(callId: string): Promise<void>;
|
|
93
|
-
/**
|
|
94
|
-
* Get a Member of a Conversation
|
|
95
|
-
*
|
|
96
|
-
* @example
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* @group Chat
|
|
100
|
-
* @param cid - the Conversation's id
|
|
101
|
-
* @param mid - the Member's id
|
|
102
|
-
* @returns the `Member`
|
|
103
|
-
*/
|
|
104
|
-
getConversationMember(cid: string, mid: string): Promise<Member>;
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
}
|
|
1
|
+
import './kotlin/clientsdk-clientcore_js';
|
|
2
|
+
import { Json as InternalJson } from './utils/JsonUtils';
|
|
3
|
+
import { Member } from './utils';
|
|
4
|
+
declare module './kotlin/clientsdk-clientcore_js' {
|
|
5
|
+
type Json = InternalJson;
|
|
6
|
+
namespace vonage {
|
|
7
|
+
interface CombinedClientJS {
|
|
8
|
+
/**
|
|
9
|
+
* Mute your leg of a call
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* {@includeCode ../examples/snippets/snippet_Mute.txt}
|
|
13
|
+
*
|
|
14
|
+
* @param callId - Call ID
|
|
15
|
+
* @returns void
|
|
16
|
+
* @group Voice
|
|
17
|
+
*/
|
|
18
|
+
mute(callId: string): Promise<void>;
|
|
19
|
+
/**
|
|
20
|
+
* Unmute your leg of a call
|
|
21
|
+
* @param callId - Call ID
|
|
22
|
+
* @returns void
|
|
23
|
+
* @group Voice
|
|
24
|
+
*/
|
|
25
|
+
unmute(callId: string): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Earmuff your leg of a call
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* {@includeCode ../examples/snippets/snippet_EnableEarmuff.txt}
|
|
31
|
+
*
|
|
32
|
+
* @param callId - Call ID
|
|
33
|
+
* @returns void
|
|
34
|
+
* @group Voice
|
|
35
|
+
*/
|
|
36
|
+
enableEarmuff(callId: string): Promise<void>;
|
|
37
|
+
/**
|
|
38
|
+
* Unearmuff your leg of a call
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* {@includeCode ../examples/snippets/snippet_DisableEarmuff.txt}
|
|
42
|
+
*
|
|
43
|
+
* @param callId - Call ID
|
|
44
|
+
* @returns void
|
|
45
|
+
* @group Voice
|
|
46
|
+
*/
|
|
47
|
+
disableEarmuff(callId: string): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Send a string of digits to a call via DTMF
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* {@includeCode ../examples/snippets/snippet_Dtmf.txt}
|
|
53
|
+
*
|
|
54
|
+
* @param callId - Call ID
|
|
55
|
+
* @param digits - DTMF digits
|
|
56
|
+
* @returns void
|
|
57
|
+
* @group Voice
|
|
58
|
+
*/
|
|
59
|
+
sendDTMF(callId: string, digits: string): Promise<void>;
|
|
60
|
+
/**
|
|
61
|
+
* Answer a call
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* {@includeCode ../examples/snippets/snippet_AnswerCall.txt}
|
|
65
|
+
*
|
|
66
|
+
* @param callId - Call ID
|
|
67
|
+
* @returns void
|
|
68
|
+
* @group Voice
|
|
69
|
+
*/
|
|
70
|
+
answer(callId: string): Promise<void>;
|
|
71
|
+
/**
|
|
72
|
+
* Reject a call
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* {@includeCode ../examples/snippets/snippet_RejectCall.txt}
|
|
76
|
+
*
|
|
77
|
+
* @param callId - Call ID
|
|
78
|
+
* @returns void
|
|
79
|
+
* @group Voice
|
|
80
|
+
*/
|
|
81
|
+
reject(callId: string): Promise<void>;
|
|
82
|
+
/**
|
|
83
|
+
* Reconnect a call
|
|
84
|
+
*
|
|
85
|
+
* @example
|
|
86
|
+
* {@includeCode ../examples/snippets/snippet_ReconnectCall.txt}
|
|
87
|
+
*
|
|
88
|
+
* @param callId - Call ID
|
|
89
|
+
* @returns void
|
|
90
|
+
* @group Voice
|
|
91
|
+
*/
|
|
92
|
+
reconnectCall(callId: string): Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Get a Member of a Conversation
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* {@includeCode ../examples/snippets/snippet_GetConversationMember.txt}
|
|
98
|
+
*
|
|
99
|
+
* @group Chat
|
|
100
|
+
* @param cid - the Conversation's id
|
|
101
|
+
* @param mid - the Member's id
|
|
102
|
+
* @returns the `Member`
|
|
103
|
+
*/
|
|
104
|
+
getConversationMember(cid: string, mid: string): Promise<Member>;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|