@vonage/client-sdk 1.6.1-alpha.0 → 1.6.1-alpha.2
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.js
CHANGED
|
@@ -33198,9 +33198,6 @@
|
|
|
33198
33198
|
setMetadataFor(Companion_133, 'Companion', objectMeta);
|
|
33199
33199
|
setMetadataFor($serializer_153, '$serializer', objectMeta, VOID, [GeneratedSerializer]);
|
|
33200
33200
|
setMetadataFor(SessionTerminatedEvent, 'SessionTerminatedEvent', classMeta, VOID, [SocketEvent], VOID, VOID, {0: $serializer_getInstance_153});
|
|
33201
|
-
function onConversationEvent(event) {
|
|
33202
|
-
}
|
|
33203
|
-
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33204
33201
|
function onRTCHangup(conversationId, legId, hangup) {
|
|
33205
33202
|
}
|
|
33206
33203
|
function onRTCTransfer(conversationId, legId) {
|
|
@@ -33217,7 +33214,10 @@
|
|
|
33217
33214
|
function onAudioDTMFUpdate(conversationId, legId, digits) {
|
|
33218
33215
|
}
|
|
33219
33216
|
setMetadataFor(AudioEventListener, 'AudioEventListener', interfaceMeta);
|
|
33220
|
-
|
|
33217
|
+
function onConversationEvent(event) {
|
|
33218
|
+
}
|
|
33219
|
+
setMetadataFor(ConversationEventListener, 'ConversationEventListener', interfaceMeta);
|
|
33220
|
+
setMetadataFor(ChatAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, AudioEventListener, ConversationEventListener]);
|
|
33221
33221
|
setMetadataFor(ChatAPIImpl, 'ChatAPIImpl', classMeta, VOID, [ChatAPI]);
|
|
33222
33222
|
setMetadataFor(LoggingLevel, 'LoggingLevel', classMeta, Enum);
|
|
33223
33223
|
setMetadataFor(ClientConfigRegion, 'ClientConfigRegion', classMeta, Enum);
|
|
@@ -33351,7 +33351,7 @@
|
|
|
33351
33351
|
setMetadataFor(HangupReason, 'HangupReason', classMeta, Enum);
|
|
33352
33352
|
setMetadataFor(LegStatus, 'LegStatus', classMeta, Enum);
|
|
33353
33353
|
setMetadataFor(CallDisconnectReason, 'CallDisconnectReason', classMeta, Enum);
|
|
33354
|
-
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [
|
|
33354
|
+
setMetadataFor(VoiceAPIImpl$1, VOID, classMeta, VOID, [RTCEventListener, AudioEventListener, ConversationEventListener]);
|
|
33355
33355
|
setMetadataFor(VoiceAPIImpl, 'VoiceAPIImpl', classMeta);
|
|
33356
33356
|
setMetadataFor(CallEvent, 'CallEvent', interfaceMeta);
|
|
33357
33357
|
setMetadataFor(SetupOutboundCall, 'SetupOutboundCall', classMeta, VOID, [CallEvent]);
|
|
@@ -33567,7 +33567,7 @@
|
|
|
33567
33567
|
setMetadataFor(Failed, 'Failed', classMeta, StateTransition);
|
|
33568
33568
|
//endregion
|
|
33569
33569
|
function BuildKonfig() {
|
|
33570
|
-
this.g1d_1 = '1.6.1-alpha.
|
|
33570
|
+
this.g1d_1 = '1.6.1-alpha.2';
|
|
33571
33571
|
}
|
|
33572
33572
|
var BuildKonfig_instance;
|
|
33573
33573
|
function CoreClientWithMedia() {
|
|
@@ -89952,7 +89952,6 @@
|
|
|
89952
89952
|
|
|
89953
89953
|
/**
|
|
89954
89954
|
* The order in which paginated objects are presented.
|
|
89955
|
-
* @beta
|
|
89956
89955
|
* @group Chat
|
|
89957
89956
|
* @enum
|
|
89958
89957
|
* @property ASC Ascending order
|
|
@@ -89964,7 +89963,6 @@
|
|
|
89964
89963
|
};
|
|
89965
89964
|
/**
|
|
89966
89965
|
* The sorting strategy used for paginated objects.
|
|
89967
|
-
* @beta
|
|
89968
89966
|
* @group Chat
|
|
89969
89967
|
* @enum
|
|
89970
89968
|
*/
|
|
@@ -90269,7 +90267,6 @@
|
|
|
90269
90267
|
* [[include: snippet_GetCallLegs.txt]]
|
|
90270
90268
|
*
|
|
90271
90269
|
* @group Voice
|
|
90272
|
-
* @beta
|
|
90273
90270
|
* @param id - the Call's id
|
|
90274
90271
|
* @param parameters - A {@link GetCallLegsParameters} object containing the parameters for the request.
|
|
90275
90272
|
* @returns a `LegsPage` containing the legs
|
|
@@ -90493,7 +90490,6 @@
|
|
|
90493
90490
|
* [[include: snippet_LeaveConversation.txt]]
|
|
90494
90491
|
*
|
|
90495
90492
|
* @group Chat
|
|
90496
|
-
* @beta
|
|
90497
90493
|
* @param id - the Conversation's id
|
|
90498
90494
|
* @returns void
|
|
90499
90495
|
*/
|
|
@@ -90512,7 +90508,6 @@
|
|
|
90512
90508
|
* [[include: snippet_JoinConversation.txt]]
|
|
90513
90509
|
*
|
|
90514
90510
|
* @group Chat
|
|
90515
|
-
* @beta
|
|
90516
90511
|
* @param id - the Conversation's id
|
|
90517
90512
|
* @returns the `memberId` of the member
|
|
90518
90513
|
*/
|
|
@@ -90531,7 +90526,6 @@
|
|
|
90531
90526
|
* [[include: snippet_DeleteConversation.txt]]
|
|
90532
90527
|
*
|
|
90533
90528
|
* @group Chat
|
|
90534
|
-
* @beta
|
|
90535
90529
|
* @param id - the Conversation's id
|
|
90536
90530
|
* @returns void
|
|
90537
90531
|
*/
|
|
@@ -90550,7 +90544,6 @@
|
|
|
90550
90544
|
* [[include: snippet_InviteToConversation.txt]]
|
|
90551
90545
|
*
|
|
90552
90546
|
* @group Chat
|
|
90553
|
-
* @beta
|
|
90554
90547
|
* @param id - the Conversation's id
|
|
90555
90548
|
* @param name - the name of the user to invite
|
|
90556
90549
|
* @returns the `memberId` of the member
|
|
@@ -90570,7 +90563,6 @@
|
|
|
90570
90563
|
* [[include: snippet_SendTextMessage.txt]]
|
|
90571
90564
|
*
|
|
90572
90565
|
* @group Chat
|
|
90573
|
-
* @beta
|
|
90574
90566
|
* @param id - the Conversation's id
|
|
90575
90567
|
* @param text - the Body of the message
|
|
90576
90568
|
* @returns the `timestamp` of the message
|
|
@@ -90590,7 +90582,6 @@
|
|
|
90590
90582
|
* [[include: snippet_SendCustomMessage.txt]]
|
|
90591
90583
|
*
|
|
90592
90584
|
* @group Chat
|
|
90593
|
-
* @beta
|
|
90594
90585
|
* @param id - the Conversation's id
|
|
90595
90586
|
* @param customData - the body of the message
|
|
90596
90587
|
* @returns the `timestamp` of the message
|
|
@@ -90613,7 +90604,6 @@
|
|
|
90613
90604
|
* [[include: snippet_SendImageMessage.txt]]
|
|
90614
90605
|
*
|
|
90615
90606
|
* @group Chat
|
|
90616
|
-
* @beta
|
|
90617
90607
|
* @param id - the Conversation's id
|
|
90618
90608
|
* @param imageUrl - the url of the image resource.
|
|
90619
90609
|
* @returns the `timestamp` of the message
|
|
@@ -90633,7 +90623,6 @@
|
|
|
90633
90623
|
* [[include: snippet_SendVideoMessage.txt]]
|
|
90634
90624
|
*
|
|
90635
90625
|
* @group Chat
|
|
90636
|
-
* @beta
|
|
90637
90626
|
* @param id - the Conversation's id
|
|
90638
90627
|
* @param videoUrl - the url of the video resource.
|
|
90639
90628
|
* @returns the `timestamp` of the message
|
|
@@ -90653,7 +90642,6 @@
|
|
|
90653
90642
|
* [[include: snippet_SendFileMessage.txt]]
|
|
90654
90643
|
*
|
|
90655
90644
|
* @group Chat
|
|
90656
|
-
* @beta
|
|
90657
90645
|
* @param id - the Conversation's id
|
|
90658
90646
|
* @param fileUrl - the url of the file resource.
|
|
90659
90647
|
* @returns the `timestamp` of the message
|
|
@@ -90673,7 +90661,6 @@
|
|
|
90673
90661
|
* [[include: snippet_SendAudioMessage.txt]]
|
|
90674
90662
|
*
|
|
90675
90663
|
* @group Chat
|
|
90676
|
-
* @beta
|
|
90677
90664
|
* @param id - the Conversation's id
|
|
90678
90665
|
* @param audioUrl - the url of the audio resource.
|
|
90679
90666
|
* @returns the `timestamp` of the message
|
|
@@ -90693,7 +90680,6 @@
|
|
|
90693
90680
|
* [[include: snippet_SendVcardMessage.txt]]
|
|
90694
90681
|
*
|
|
90695
90682
|
* @group Chat
|
|
90696
|
-
* @beta
|
|
90697
90683
|
* @param id - the Conversation's id
|
|
90698
90684
|
* @param vCardUrl - the url of the vCardUrl resource.
|
|
90699
90685
|
* @returns the `timestamp` of the message
|
|
@@ -90713,7 +90699,6 @@
|
|
|
90713
90699
|
* [[include: snippet_SendLocationMessage.txt]]
|
|
90714
90700
|
*
|
|
90715
90701
|
* @group Chat
|
|
90716
|
-
* @beta
|
|
90717
90702
|
* @param id - the Conversation's id
|
|
90718
90703
|
* @param location - the description of the location.
|
|
90719
90704
|
* @returns the `timestamp` of the message
|
|
@@ -90733,7 +90718,6 @@
|
|
|
90733
90718
|
* [[include: snippet_SendTemplateMessage.txt]]
|
|
90734
90719
|
*
|
|
90735
90720
|
* @group Chat
|
|
90736
|
-
* @beta
|
|
90737
90721
|
* @param id - the Conversation's id
|
|
90738
90722
|
* @param whatsappObject - the description(locale and policies of business account) of the location.
|
|
90739
90723
|
* @param templateObject - the description(name and paramters) of the template.
|
|
@@ -90754,7 +90738,6 @@
|
|
|
90754
90738
|
* [[include: snippet_SendEphemeralEvent.txt]]
|
|
90755
90739
|
*
|
|
90756
90740
|
* @group Chat
|
|
90757
|
-
* @beta
|
|
90758
90741
|
* @param id - the Conversation's id
|
|
90759
90742
|
* @param customData - the body of the event
|
|
90760
90743
|
* @returns the `timestamp` of the message
|
|
@@ -90777,7 +90760,6 @@
|
|
|
90777
90760
|
* [[include: snippet_SendCustomEvent.txt]]
|
|
90778
90761
|
*
|
|
90779
90762
|
* @group Chat
|
|
90780
|
-
* @beta
|
|
90781
90763
|
* @param id - the Conversation's id
|
|
90782
90764
|
* @param evenType - the type of the custom event. Type must start with `custom:<...>`
|
|
90783
90765
|
* @param customData - the body of the event
|
|
@@ -90801,7 +90783,6 @@
|
|
|
90801
90783
|
* [[include:snippet_DeleteEvent.txt]]
|
|
90802
90784
|
*
|
|
90803
90785
|
* @group Chat
|
|
90804
|
-
* @beta
|
|
90805
90786
|
* @param id - the id for the Event to be deleted
|
|
90806
90787
|
* @param conversationId - the id for the conversation, the event belongs to.
|
|
90807
90788
|
* @returns void
|
|
@@ -90821,7 +90802,6 @@
|
|
|
90821
90802
|
* [[include: snippet_SendMessageSeenEvent.txt]]
|
|
90822
90803
|
*
|
|
90823
90804
|
* @group Chat
|
|
90824
|
-
* @beta
|
|
90825
90805
|
* @param id - the event id
|
|
90826
90806
|
* @param conversationId - the conversation id
|
|
90827
90807
|
* @returns the `timestamp` of the message
|