@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.
Files changed (111) hide show
  1. package/api_docs/ts/assets/hierarchy.js +1 -0
  2. package/api_docs/ts/assets/highlight.css +1 -1
  3. package/api_docs/ts/assets/icons.js +17 -14
  4. package/api_docs/ts/assets/icons.svg +1 -1
  5. package/api_docs/ts/assets/main.js +5 -4
  6. package/api_docs/ts/assets/navigation.js +1 -1
  7. package/api_docs/ts/assets/search.js +1 -1
  8. package/api_docs/ts/assets/style.css +1460 -1224
  9. package/api_docs/ts/classes/ClientConfig.html +207 -16
  10. package/api_docs/ts/classes/ClientInitConfig.html +130 -14
  11. package/api_docs/ts/classes/VonageClient.html +1697 -335
  12. package/api_docs/ts/enums/CallDisconnectReason.html +54 -3
  13. package/api_docs/ts/enums/CancelReason.html +66 -6
  14. package/api_docs/ts/enums/HangupReason.html +70 -7
  15. package/api_docs/ts/enums/LegStatus.html +62 -5
  16. package/api_docs/ts/enums/LoggingLevel.html +74 -8
  17. package/api_docs/ts/enums/MemberChannelType.html +94 -13
  18. package/api_docs/ts/enums/OrderBy.html +58 -2
  19. package/api_docs/ts/enums/PresentingOrder.html +62 -8
  20. package/api_docs/ts/enums/SessionErrorReason.html +62 -5
  21. package/api_docs/ts/enums/VoiceChannelType.html +66 -6
  22. package/api_docs/ts/enums/VonageErrorType.html +70 -7
  23. package/api_docs/ts/functions/none.html +42 -2
  24. package/api_docs/ts/functions/some.html +48 -3
  25. package/api_docs/ts/hierarchy.html +30 -0
  26. package/api_docs/ts/index.html +102 -26
  27. package/api_docs/ts/interfaces/CallSayParams.html +75 -8
  28. package/api_docs/ts/interfaces/Channel.html +67 -6
  29. package/api_docs/ts/interfaces/Conversation.html +127 -20
  30. package/api_docs/ts/interfaces/ConversationProperties.html +75 -8
  31. package/api_docs/ts/interfaces/ConversationTimestamp.html +75 -5
  32. package/api_docs/ts/interfaces/ConversationsPage.html +81 -8
  33. package/api_docs/ts/interfaces/CreateConversationParameters.html +88 -15
  34. package/api_docs/ts/interfaces/EmergencyCallData.html +67 -6
  35. package/api_docs/ts/interfaces/EmergencyCallOptions.html +57 -4
  36. package/api_docs/ts/interfaces/EphemeralConversationEvent.html +81 -12
  37. package/api_docs/ts/interfaces/EventsPage.html +81 -8
  38. package/api_docs/ts/interfaces/GetCallLegsParameters.html +69 -8
  39. package/api_docs/ts/interfaces/GetConversationEventsParameters.html +87 -14
  40. package/api_docs/ts/interfaces/GetConversationMembersParameters.html +69 -8
  41. package/api_docs/ts/interfaces/GetConversationsParameters.html +81 -12
  42. package/api_docs/ts/interfaces/Leg.html +131 -21
  43. package/api_docs/ts/interfaces/LegChannel.html +75 -8
  44. package/api_docs/ts/interfaces/LegsPage.html +81 -8
  45. package/api_docs/ts/interfaces/Location.html +67 -6
  46. package/api_docs/ts/interfaces/Member.html +81 -12
  47. package/api_docs/ts/interfaces/MemberChannel.html +69 -8
  48. package/api_docs/ts/interfaces/MemberEventBody.html +75 -7
  49. package/api_docs/ts/interfaces/MemberTimestamp.html +75 -5
  50. package/api_docs/ts/interfaces/MembersPage.html +81 -8
  51. package/api_docs/ts/interfaces/MessageAudioEventBody.html +67 -5
  52. package/api_docs/ts/interfaces/MessageCustomEventBody.html +67 -5
  53. package/api_docs/ts/interfaces/MessageFileEventBody.html +67 -6
  54. package/api_docs/ts/interfaces/MessageImageEventBody.html +67 -6
  55. package/api_docs/ts/interfaces/MessageLocationEventBody.html +67 -6
  56. package/api_docs/ts/interfaces/MessageTemplateEventBody.html +93 -9
  57. package/api_docs/ts/interfaces/MessageTextEventBody.html +67 -6
  58. package/api_docs/ts/interfaces/MessageVCardEventBody.html +67 -6
  59. package/api_docs/ts/interfaces/MessageVideoEventBody.html +67 -6
  60. package/api_docs/ts/interfaces/RTCQuality.html +123 -11
  61. package/api_docs/ts/interfaces/RtcStats.html +179 -18
  62. package/api_docs/ts/interfaces/Template.html +59 -4
  63. package/api_docs/ts/interfaces/UpdateConversationParameters.html +87 -14
  64. package/api_docs/ts/interfaces/User.html +107 -16
  65. package/api_docs/ts/interfaces/UserChannels.html +139 -13
  66. package/api_docs/ts/interfaces/UserTimestamp.html +75 -5
  67. package/api_docs/ts/interfaces/VonageError.html +89 -12
  68. package/api_docs/ts/interfaces/VonageEvent.html +131 -22
  69. package/api_docs/ts/interfaces/Whatsapp.html +59 -4
  70. package/api_docs/ts/modules.html +69 -74
  71. package/api_docs/ts/types/ClientConfigObject.html +52 -5
  72. package/api_docs/ts/types/ClientInitConfigObject.html +59 -4
  73. package/api_docs/ts/types/ConfigRegion.html +34 -2
  74. package/api_docs/ts/types/ConversationEvent.html +34 -2
  75. package/api_docs/ts/types/CustomData.html +34 -2
  76. package/api_docs/ts/types/Json.html +34 -2
  77. package/api_docs/ts/types/JsonValue.html +34 -2
  78. package/api_docs/ts/types/MemberStatus.html +34 -2
  79. package/api_docs/ts/types/Option.html +38 -2
  80. package/api_docs/ts/types/PersistentConversationEvent.html +34 -2
  81. package/api_docs/ts/types/Topics.html +34 -2
  82. package/api_docs/ts/types/VonageLogger.html +59 -4
  83. package/api_docs/ts/variables/Topics.html +34 -0
  84. package/api_docs/ts/variables/VonageError.html +38 -0
  85. package/dist/client/VonageClient.d.ts +704 -704
  86. package/dist/client/index.cjs +45072 -36319
  87. package/dist/client/index.d.ts +2 -2
  88. package/dist/client/index.mjs +44700 -35947
  89. package/dist/coreExtend.d.ts +107 -107
  90. package/dist/kotlin/JsUnions.d.ts +443 -443
  91. package/dist/kotlin/clientsdk-clientcore_js.d.ts +724 -145
  92. package/dist/utils/ClientConfig.d.ts +104 -104
  93. package/dist/utils/ConversationEventBodies.d.ts +125 -125
  94. package/dist/utils/ConversationModels.d.ts +170 -170
  95. package/dist/utils/Enums.d.ts +56 -56
  96. package/dist/utils/ErrorModels.d.ts +23 -23
  97. package/dist/utils/JsonUtils.d.ts +15 -15
  98. package/dist/utils/Option.d.ts +19 -19
  99. package/dist/utils/RequestParameterModels.d.ts +134 -134
  100. package/dist/utils/index.d.ts +10 -10
  101. package/dist/utils/jsEnumToVonageObject.d.ts +10 -10
  102. package/dist/utils/logging.d.ts +53 -53
  103. package/dist/utils/vonage.d.ts +2 -2
  104. package/dist/vonageClientSDK.js +44299 -35558
  105. package/dist/vonageClientSDK.min.js +25 -25
  106. package/dist/vonageClientSDK.min.mjs +26 -26
  107. package/dist/vonageClientSDK.mjs +44299 -35558
  108. package/package.json +6 -6
  109. package/typedoc.json +3 -0
  110. package/api_docs/ts/variables/Topics-1.html +0 -2
  111. package/api_docs/ts/variables/VonageError-1.html +0 -3
@@ -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
- * [[include: 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
- * [[include: 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
- * [[include: 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
- * [[include: 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
- * [[include: 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
- * [[include: 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
- * [[include: 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
- * [[include: 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
- }
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
+ }