@vonage/client-sdk 1.6.1-alpha.0 → 1.6.1-alpha.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/api_docs/ts/assets/navigation.js +1 -1
- package/api_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/classes/VonageClient.html +27 -27
- package/api_docs/ts/enums/OrderBy.html +1 -1
- package/api_docs/ts/enums/PresentingOrder.html +1 -1
- package/api_docs/ts/index.html +2 -6
- package/api_docs/ts/interfaces/ConversationsPage.html +1 -1
- package/api_docs/ts/interfaces/CreateConversationParameters.html +1 -1
- package/api_docs/ts/interfaces/EventsPage.html +1 -1
- package/api_docs/ts/interfaces/GetCallLegsParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationEventsParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationMembersParameters.html +1 -1
- package/api_docs/ts/interfaces/GetConversationsParameters.html +1 -1
- package/api_docs/ts/interfaces/LegsPage.html +1 -1
- package/api_docs/ts/interfaces/Location.html +1 -1
- package/api_docs/ts/interfaces/MemberEventBody.html +1 -1
- package/api_docs/ts/interfaces/MembersPage.html +1 -1
- package/api_docs/ts/interfaces/MessageAudioEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageCustomEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageFileEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageImageEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageLocationEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageTemplateEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageTextEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageVCardEventBody.html +1 -1
- package/api_docs/ts/interfaces/MessageVideoEventBody.html +1 -1
- package/api_docs/ts/interfaces/Template.html +1 -1
- package/api_docs/ts/interfaces/UpdateConversationParameters.html +1 -1
- package/api_docs/ts/interfaces/Whatsapp.html +1 -1
- package/api_docs/ts/modules.html +26 -26
- package/api_docs/ts/types/Option.html +1 -1
- package/dist/client/VonageClient.d.ts +0 -27
- package/dist/client/index.cjs +6 -26
- package/dist/client/index.mjs +6 -26
- package/dist/coreExtend.d.ts +0 -1
- package/dist/utils/ConversationEventBodies.d.ts +0 -16
- package/dist/utils/ConversationModels.d.ts +0 -4
- package/dist/utils/Option.d.ts +0 -1
- package/dist/utils/RequestParameterModels.d.ts +0 -10
- package/dist/vonageClientSDK.js +6 -26
- package/dist/vonageClientSDK.min.js +1 -1
- package/dist/vonageClientSDK.min.mjs +1 -1
- package/dist/vonageClientSDK.mjs +6 -26
- package/package.json +1 -1
package/dist/vonageClientSDK.mjs
CHANGED
|
@@ -33192,9 +33192,6 @@ function requireClientsdkClientcore () {
|
|
|
33192
33192
|
setMetadataFor(Companion_133, 'Companion', objectMeta);
|
|
33193
33193
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33194
33194
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33195
|
-
function onConversationEvent(event) {
|
|
33196
|
-
}
|
|
33197
|
-
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33198
33195
|
function onRTCHangup(conversationId, legId, hangup) {
|
|
33199
33196
|
}
|
|
33200
33197
|
function onRTCTransfer(conversationId, legId) {
|
|
@@ -33202,6 +33199,9 @@ function requireClientsdkClientcore () {
|
|
|
33202
33199
|
function onLegStatusUpdate(conversationId, legId, fromUserId, status) {
|
|
33203
33200
|
}
|
|
33204
33201
|
setMetadataFor(RTCEventListener, 'RTCEventListener', interfaceMeta);
|
|
33202
|
+
function onConversationEvent(event) {
|
|
33203
|
+
}
|
|
33204
|
+
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33205
33205
|
function onAudioSay() {
|
|
33206
33206
|
}
|
|
33207
33207
|
function onAudioMuteUpdate(conversationId, legId, isMuted) {
|
|
@@ -33211,7 +33211,7 @@ function requireClientsdkClientcore () {
|
|
|
33211
33211
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33212
33212
|
}
|
|
33213
33213
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33214
|
-
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [
|
|
33214
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33215
33215
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33216
33216
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33217
33217
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33345,7 +33345,7 @@ function requireClientsdkClientcore () {
|
|
|
33345
33345
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33346
33346
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33347
33347
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33348
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33348
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, ConversationEventListener, AudioEventListener]);
|
|
33349
33349
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33350
33350
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33351
33351
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -33561,7 +33561,7 @@ function requireClientsdkClientcore () {
|
|
|
33561
33561
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
33562
33562
|
//endregion
|
|
33563
33563
|
function BuildKonfig() {
|
|
33564
|
-
this.g1d_1 = '1.6.1-alpha.
|
|
33564
|
+
this.g1d_1 = '1.6.1-alpha.1';
|
|
33565
33565
|
}
|
|
33566
33566
|
var BuildKonfig_instance;
|
|
33567
33567
|
function CoreClientWithMedia() {
|
|
@@ -89946,7 +89946,6 @@ const SessionErrorCodes = clientsdkClientcore_jsExports.vonage.SessionErrorCodes
|
|
|
89946
89946
|
|
|
89947
89947
|
/**
|
|
89948
89948
|
* The order in which paginated objects are presented.
|
|
89949
|
-
* @beta
|
|
89950
89949
|
* @group Chat
|
|
89951
89950
|
* @enum
|
|
89952
89951
|
* @property ASC Ascending order
|
|
@@ -89958,7 +89957,6 @@ const PresentingOrder = {
|
|
|
89958
89957
|
};
|
|
89959
89958
|
/**
|
|
89960
89959
|
* The sorting strategy used for paginated objects.
|
|
89961
|
-
* @beta
|
|
89962
89960
|
* @group Chat
|
|
89963
89961
|
* @enum
|
|
89964
89962
|
*/
|
|
@@ -90263,7 +90261,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90263
90261
|
* [[include: snippet_GetCallLegs.txt]]
|
|
90264
90262
|
*
|
|
90265
90263
|
* @group Voice
|
|
90266
|
-
* @beta
|
|
90267
90264
|
* @param id - the Call's id
|
|
90268
90265
|
* @param parameters - A {@link GetCallLegsParameters} object containing the parameters for the request.
|
|
90269
90266
|
* @returns a `LegsPage` containing the legs
|
|
@@ -90487,7 +90484,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90487
90484
|
* [[include: snippet_LeaveConversation.txt]]
|
|
90488
90485
|
*
|
|
90489
90486
|
* @group Chat
|
|
90490
|
-
* @beta
|
|
90491
90487
|
* @param id - the Conversation's id
|
|
90492
90488
|
* @returns void
|
|
90493
90489
|
*/
|
|
@@ -90506,7 +90502,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90506
90502
|
* [[include: snippet_JoinConversation.txt]]
|
|
90507
90503
|
*
|
|
90508
90504
|
* @group Chat
|
|
90509
|
-
* @beta
|
|
90510
90505
|
* @param id - the Conversation's id
|
|
90511
90506
|
* @returns the `memberId` of the member
|
|
90512
90507
|
*/
|
|
@@ -90525,7 +90520,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90525
90520
|
* [[include: snippet_DeleteConversation.txt]]
|
|
90526
90521
|
*
|
|
90527
90522
|
* @group Chat
|
|
90528
|
-
* @beta
|
|
90529
90523
|
* @param id - the Conversation's id
|
|
90530
90524
|
* @returns void
|
|
90531
90525
|
*/
|
|
@@ -90544,7 +90538,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90544
90538
|
* [[include: snippet_InviteToConversation.txt]]
|
|
90545
90539
|
*
|
|
90546
90540
|
* @group Chat
|
|
90547
|
-
* @beta
|
|
90548
90541
|
* @param id - the Conversation's id
|
|
90549
90542
|
* @param name - the name of the user to invite
|
|
90550
90543
|
* @returns the `memberId` of the member
|
|
@@ -90564,7 +90557,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90564
90557
|
* [[include: snippet_SendTextMessage.txt]]
|
|
90565
90558
|
*
|
|
90566
90559
|
* @group Chat
|
|
90567
|
-
* @beta
|
|
90568
90560
|
* @param id - the Conversation's id
|
|
90569
90561
|
* @param text - the Body of the message
|
|
90570
90562
|
* @returns the `timestamp` of the message
|
|
@@ -90584,7 +90576,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90584
90576
|
* [[include: snippet_SendCustomMessage.txt]]
|
|
90585
90577
|
*
|
|
90586
90578
|
* @group Chat
|
|
90587
|
-
* @beta
|
|
90588
90579
|
* @param id - the Conversation's id
|
|
90589
90580
|
* @param customData - the body of the message
|
|
90590
90581
|
* @returns the `timestamp` of the message
|
|
@@ -90607,7 +90598,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90607
90598
|
* [[include: snippet_SendImageMessage.txt]]
|
|
90608
90599
|
*
|
|
90609
90600
|
* @group Chat
|
|
90610
|
-
* @beta
|
|
90611
90601
|
* @param id - the Conversation's id
|
|
90612
90602
|
* @param imageUrl - the url of the image resource.
|
|
90613
90603
|
* @returns the `timestamp` of the message
|
|
@@ -90627,7 +90617,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90627
90617
|
* [[include: snippet_SendVideoMessage.txt]]
|
|
90628
90618
|
*
|
|
90629
90619
|
* @group Chat
|
|
90630
|
-
* @beta
|
|
90631
90620
|
* @param id - the Conversation's id
|
|
90632
90621
|
* @param videoUrl - the url of the video resource.
|
|
90633
90622
|
* @returns the `timestamp` of the message
|
|
@@ -90647,7 +90636,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90647
90636
|
* [[include: snippet_SendFileMessage.txt]]
|
|
90648
90637
|
*
|
|
90649
90638
|
* @group Chat
|
|
90650
|
-
* @beta
|
|
90651
90639
|
* @param id - the Conversation's id
|
|
90652
90640
|
* @param fileUrl - the url of the file resource.
|
|
90653
90641
|
* @returns the `timestamp` of the message
|
|
@@ -90667,7 +90655,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90667
90655
|
* [[include: snippet_SendAudioMessage.txt]]
|
|
90668
90656
|
*
|
|
90669
90657
|
* @group Chat
|
|
90670
|
-
* @beta
|
|
90671
90658
|
* @param id - the Conversation's id
|
|
90672
90659
|
* @param audioUrl - the url of the audio resource.
|
|
90673
90660
|
* @returns the `timestamp` of the message
|
|
@@ -90687,7 +90674,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90687
90674
|
* [[include: snippet_SendVcardMessage.txt]]
|
|
90688
90675
|
*
|
|
90689
90676
|
* @group Chat
|
|
90690
|
-
* @beta
|
|
90691
90677
|
* @param id - the Conversation's id
|
|
90692
90678
|
* @param vCardUrl - the url of the vCardUrl resource.
|
|
90693
90679
|
* @returns the `timestamp` of the message
|
|
@@ -90707,7 +90693,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90707
90693
|
* [[include: snippet_SendLocationMessage.txt]]
|
|
90708
90694
|
*
|
|
90709
90695
|
* @group Chat
|
|
90710
|
-
* @beta
|
|
90711
90696
|
* @param id - the Conversation's id
|
|
90712
90697
|
* @param location - the description of the location.
|
|
90713
90698
|
* @returns the `timestamp` of the message
|
|
@@ -90727,7 +90712,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90727
90712
|
* [[include: snippet_SendTemplateMessage.txt]]
|
|
90728
90713
|
*
|
|
90729
90714
|
* @group Chat
|
|
90730
|
-
* @beta
|
|
90731
90715
|
* @param id - the Conversation's id
|
|
90732
90716
|
* @param whatsappObject - the description(locale and policies of business account) of the location.
|
|
90733
90717
|
* @param templateObject - the description(name and paramters) of the template.
|
|
@@ -90748,7 +90732,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90748
90732
|
* [[include: snippet_SendEphemeralEvent.txt]]
|
|
90749
90733
|
*
|
|
90750
90734
|
* @group Chat
|
|
90751
|
-
* @beta
|
|
90752
90735
|
* @param id - the Conversation's id
|
|
90753
90736
|
* @param customData - the body of the event
|
|
90754
90737
|
* @returns the `timestamp` of the message
|
|
@@ -90771,7 +90754,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90771
90754
|
* [[include: snippet_SendCustomEvent.txt]]
|
|
90772
90755
|
*
|
|
90773
90756
|
* @group Chat
|
|
90774
|
-
* @beta
|
|
90775
90757
|
* @param id - the Conversation's id
|
|
90776
90758
|
* @param evenType - the type of the custom event. Type must start with `custom:<...>`
|
|
90777
90759
|
* @param customData - the body of the event
|
|
@@ -90795,7 +90777,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90795
90777
|
* [[include:snippet_DeleteEvent.txt]]
|
|
90796
90778
|
*
|
|
90797
90779
|
* @group Chat
|
|
90798
|
-
* @beta
|
|
90799
90780
|
* @param id - the id for the Event to be deleted
|
|
90800
90781
|
* @param conversationId - the id for the conversation, the event belongs to.
|
|
90801
90782
|
* @returns void
|
|
@@ -90815,7 +90796,6 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
|
|
|
90815
90796
|
* [[include: snippet_SendMessageSeenEvent.txt]]
|
|
90816
90797
|
*
|
|
90817
90798
|
* @group Chat
|
|
90818
|
-
* @beta
|
|
90819
90799
|
* @param id - the event id
|
|
90820
90800
|
* @param conversationId - the conversation id
|
|
90821
90801
|
* @returns the `timestamp` of the message
|