@vonage/client-sdk 1.1.0-alpha.10 → 1.1.0-alpha.12

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.
@@ -67553,7 +67553,24 @@ class SocketClient {
67553
67553
  }
67554
67554
 
67555
67555
  const ConfigRegion = clientsdkClientcore_jsExports.vonage.CoreClientConfigRegionJS;
67556
+ /**
67557
+ * Represents the configuration object for the client.
67558
+ *
67559
+ * The `ClientConfig` class provides a convenient way to configure the client by specifying various properties.
67560
+ * These properties control different aspects of the client's behavior, such as API URLs, media reoffer, and WebSocket settings.
67561
+ *
67562
+ * @example
67563
+ * [[include:set_client_config.txt]]
67564
+ */
67556
67565
  class ClientConfig extends clientsdkClientcore_jsExports.vonage.CoreClientConfigJS {
67566
+ /**
67567
+ * Constructs a new instance of the class.
67568
+ *
67569
+ * @param {string} region The region where the API and WebSocket URLs should be configured.
67570
+ * Valid values are "EU" (Europe), "US" (United States), or "AP" (Asia Pacific).
67571
+ * The URLs will be automatically set based on the selected region.
67572
+ * Defaults to "US" if no region is specified.
67573
+ */
67557
67574
  constructor(region = ConfigRegion.US) {
67558
67575
  super(region);
67559
67576
  }
@@ -67597,6 +67614,36 @@ const setVonageClientLoggingLevel = setDefaultLoggingLevel;
67597
67614
  * DO NOT ADD CODE HERE UNLESS REALLY NEEDEED!!111!
67598
67615
  */
67599
67616
  class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS {
67617
+ /**
67618
+ * @internal
67619
+ */
67620
+ get core() {
67621
+ return super.core;
67622
+ }
67623
+ /**
67624
+ * @internal
67625
+ */
67626
+ get media() {
67627
+ return super.media;
67628
+ }
67629
+ /**
67630
+ * @internal
67631
+ */
67632
+ get emitter() {
67633
+ return super.emitter;
67634
+ }
67635
+ /**
67636
+ * @internal
67637
+ */
67638
+ set emitter(value) {
67639
+ super.emitter = value;
67640
+ }
67641
+ /**
67642
+ * @internal
67643
+ */
67644
+ hangupWithReason(callId, reasonText, reasonCode) {
67645
+ return super.hangupWithReason(callId, reasonText, reasonCode);
67646
+ }
67600
67647
  constructor() {
67601
67648
  super(new HttpClient(), new SocketClient(), new MediaClient());
67602
67649
  /**
@@ -67604,6 +67651,10 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67604
67651
  * @internal
67605
67652
  */
67606
67653
  this.callbacks = new Map();
67654
+ /**
67655
+ * @internal
67656
+ */
67657
+ this.__doNotUseIt = super.__doNotUseIt;
67607
67658
  // eslint-disable-next-line @typescript-eslint/no-this-alias
67608
67659
  const _this = this;
67609
67660
  this.emitter = new Proxy(Object(), {
@@ -67632,6 +67683,9 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67632
67683
  /**
67633
67684
  * Register a callback for an event.
67634
67685
  *
67686
+ * @example
67687
+ * [[include:register_listener.txt]]
67688
+ *
67635
67689
  * @param event - the event to register for (e.g. 'legStatusUpdate')
67636
67690
  * @param callback - the callback to register for the event
67637
67691
  * @returns a symbol that can be used to unregister the callback
@@ -67649,6 +67703,9 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67649
67703
  /**
67650
67704
  * Unregister a callback for an event.
67651
67705
  *
67706
+ * @example
67707
+ * [[include:unregister_listener.txt]]
67708
+ *
67652
67709
  * @param event - the event to register for (e.g. 'legStatusUpdate')
67653
67710
  * @param callbackSymbol - the callback symbol to unregister
67654
67711
  * @returns true if the callback was unregistered, false otherwise
@@ -67664,16 +67721,15 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67664
67721
  /**
67665
67722
  * Clear all callbacks for an event.
67666
67723
  *
67667
- * @param event - the event to register for (e.g. 'legStatusUpdate')
67724
+ * @example
67725
+ * [[include: clear_callbacks.txt]]
67726
+ *
67727
+ * @param event - the event to unregister from (e.g. 'legStatusUpdate')
67668
67728
  * @returns void
67669
67729
  *
67670
67730
  * @remarks
67671
67731
  * This is useful for cleaning up callbacks when you no longer need them.
67672
67732
  *
67673
- * @example
67674
- * ```ts
67675
- * client.clearCallbacks('legStatusUpdate');
67676
- * ```
67677
67733
  */
67678
67734
  clearCallbacks(event) {
67679
67735
  const callbacks = this.callbacks.get(event);
@@ -67687,6 +67743,9 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67687
67743
  * and returned. If a sessionId is provided, it will be used
67688
67744
  * to resume an existing session.
67689
67745
  *
67746
+ * @example
67747
+ * [[include:create_session.txt]]
67748
+ *
67690
67749
  * @param token
67691
67750
  * @param sessionId - optional sessionId to use
67692
67751
  * @returns the `sessionId` of the session
@@ -67699,10 +67758,33 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67699
67758
  return _super.createSession.call(this, token, sessionId || null);
67700
67759
  });
67701
67760
  }
67761
+ /**
67762
+ * Get the Peer Connection for a call
67763
+ *
67764
+ * @experimental
67765
+ * @group Voice
67766
+ * @param id - The Call Id
67767
+ */
67768
+ getPeerConnection(id) {
67769
+ return super.getPeerConnection(id);
67770
+ }
67771
+ /**
67772
+ * Get the Leg for a call
67773
+ *
67774
+ * @group Voice
67775
+ * @param legId - The Leg Id
67776
+ */
67777
+ getLeg(legId) {
67778
+ return super.getLeg(legId);
67779
+ }
67702
67780
  /**
67703
67781
  * Make a server call to the Vonage API.
67704
67782
  * This is used to initiate a call using the Voice API and NCCO.
67705
67783
  *
67784
+ * @example
67785
+ * [[include:outbound_call.txt]]
67786
+ *
67787
+ * @group Voice
67706
67788
  * @param context - the context to send to the server passed as Custom data to the voice answer webhook
67707
67789
  * @returns the `callId` of the call
67708
67790
  */
@@ -67717,9 +67799,10 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67717
67799
  /**
67718
67800
  * Hangup a call.
67719
67801
  *
67720
- * @remarks
67721
- * this is a convenience method that calls `hangupWithReason` with
67802
+ * @example
67803
+ * [[include:call_hangup.txt]]
67722
67804
  *
67805
+ * @group Voice
67723
67806
  * @param callId - the `callId` of the call to hangup
67724
67807
  * @param reasonText - optional reason text to send to the other party
67725
67808
  * @param reasonCode - optional reason code to send to the other party
@@ -67752,6 +67835,11 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67752
67835
  /**
67753
67836
  * Get a list of Conversations for the user.
67754
67837
  *
67838
+ * @example
67839
+ * [[include:get_conversations.txt]]
67840
+ *
67841
+ * @group Chat
67842
+ * @beta
67755
67843
  * @param order - the order to return the conversations in (default: 'asc')
67756
67844
  * @param pageSize - the number of conversations to return per page (default: 100)
67757
67845
  * @param cursor - the cursor to use for pagination (default: null)
@@ -67768,6 +67856,11 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67768
67856
  /**
67769
67857
  * Get a Conversation's Events
67770
67858
  *
67859
+ * @example
67860
+ * [[include:get_conversation_events.txt]]
67861
+ *
67862
+ * @group Chat
67863
+ * @beta
67771
67864
  * @param id - the Conversation's id
67772
67865
  * @param order - the order to return the events in (default: 'asc')
67773
67866
  * @param pageSize - the number of events to return per page (default: 100)
@@ -67784,6 +67877,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67784
67877
  }
67785
67878
  /**
67786
67879
  * Get a Conversation's Members
67880
+ *
67881
+ * @example
67882
+ * [[include:get_conversation_members.txt]]
67883
+ *
67884
+ * @group Chat
67885
+ * @beta
67787
67886
  * @param id - the Conversation's id
67788
67887
  * @param order - the order to return the members in (default: 'asc')
67789
67888
  * @param pageSize - the number of members to return per page (default: 100)
@@ -67800,6 +67899,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67800
67899
  }
67801
67900
  /**
67802
67901
  * Create a conversation
67902
+ *
67903
+ * @example
67904
+ * [[include:create_conversation.txt]]
67905
+ *
67906
+ * @group Chat
67907
+ * @beta
67803
67908
  * @param name - the name of the conversation
67804
67909
  * @param displayName - the display name of the conversation
67805
67910
  * @returns the `cid` of the conversation
@@ -67814,6 +67919,10 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67814
67919
  }
67815
67920
  /**
67816
67921
  * Get a Conversation
67922
+ *
67923
+ * @example
67924
+ * [[include:get_conversation.txt]]
67925
+ *
67817
67926
  * @param id - the Conversation's id
67818
67927
  * @returns the `Conversation`
67819
67928
  */
@@ -67827,6 +67936,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67827
67936
  }
67828
67937
  /**
67829
67938
  * Leave a Conversation
67939
+ *
67940
+ * @example
67941
+ * [[include:leave_conversation.txt]]
67942
+ *
67943
+ * @group Chat
67944
+ * @beta
67830
67945
  * @param id - the Conversation's id
67831
67946
  * @returns void
67832
67947
  */
@@ -67840,6 +67955,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67840
67955
  }
67841
67956
  /**
67842
67957
  * Join a Conversation
67958
+ *
67959
+ * @example
67960
+ * [[include:join_conversation.txt]]
67961
+ *
67962
+ * @group Chat
67963
+ * @beta
67843
67964
  * @param id - the Conversation's id
67844
67965
  * @returns the `memberId` of the member
67845
67966
  */
@@ -67853,6 +67974,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67853
67974
  }
67854
67975
  /**
67855
67976
  * Delete a Conversation
67977
+ *
67978
+ * @example
67979
+ * [[include:delete_conversation.txt]]
67980
+ *
67981
+ * @group Chat
67982
+ * @beta
67856
67983
  * @param id - the Conversation's id
67857
67984
  * @returns void
67858
67985
  */
@@ -67866,6 +67993,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67866
67993
  }
67867
67994
  /**
67868
67995
  * Invite a user to a Conversation by user's `name`
67996
+ *
67997
+ * @example
67998
+ * [[include:invite_to_conversation.txt]]
67999
+ *
68000
+ * @group Chat
68001
+ * @beta
67869
68002
  * @param id - the Conversation's id
67870
68003
  * @param name - the namne of the user to invite
67871
68004
  * @returns the `memberId` of the member
@@ -67880,6 +68013,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67880
68013
  }
67881
68014
  /**
67882
68015
  * Send a text message to a Conversation
68016
+ *
68017
+ * @example
68018
+ * [[include:send_text_message.txt]]
68019
+ *
68020
+ * @group Chat
68021
+ * @beta
67883
68022
  * @param id - the Conversation's id
67884
68023
  * @param text - the Body of the message
67885
68024
  * @returns the `timestamp` of the message
@@ -67894,6 +68033,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67894
68033
  }
67895
68034
  /**
67896
68035
  * Send a custom message to a Conversation
68036
+ *
68037
+ * @example
68038
+ * [[include:send_custom_message.txt]]
68039
+ *
68040
+ * @group Chat
68041
+ * @beta
67897
68042
  * @param id - the Conversation's id
67898
68043
  * @param customData - the body of the message
67899
68044
  * @returns the `timestamp` of the message
@@ -67911,6 +68056,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67911
68056
  }
67912
68057
  /**
67913
68058
  * Get a Member of a Conversation
68059
+ *
68060
+ * @example
68061
+ * [[include:get_conversation_member.txt]]
68062
+ *
68063
+ * @group Chat
68064
+ * @beta
67914
68065
  * @param cid - the Conversation's id
67915
68066
  * @param mid - the Member's id
67916
68067
  * @returns the `Member`
@@ -67529,7 +67529,24 @@ class SocketClient {
67529
67529
  }
67530
67530
 
67531
67531
  const ConfigRegion = clientsdkClientcore_jsExports.vonage.CoreClientConfigRegionJS;
67532
+ /**
67533
+ * Represents the configuration object for the client.
67534
+ *
67535
+ * The `ClientConfig` class provides a convenient way to configure the client by specifying various properties.
67536
+ * These properties control different aspects of the client's behavior, such as API URLs, media reoffer, and WebSocket settings.
67537
+ *
67538
+ * @example
67539
+ * [[include:set_client_config.txt]]
67540
+ */
67532
67541
  class ClientConfig extends clientsdkClientcore_jsExports.vonage.CoreClientConfigJS {
67542
+ /**
67543
+ * Constructs a new instance of the class.
67544
+ *
67545
+ * @param {string} region The region where the API and WebSocket URLs should be configured.
67546
+ * Valid values are "EU" (Europe), "US" (United States), or "AP" (Asia Pacific).
67547
+ * The URLs will be automatically set based on the selected region.
67548
+ * Defaults to "US" if no region is specified.
67549
+ */
67533
67550
  constructor(region = ConfigRegion.US) {
67534
67551
  super(region);
67535
67552
  }
@@ -67573,6 +67590,36 @@ const setVonageClientLoggingLevel = setDefaultLoggingLevel;
67573
67590
  * DO NOT ADD CODE HERE UNLESS REALLY NEEDEED!!111!
67574
67591
  */
67575
67592
  class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS {
67593
+ /**
67594
+ * @internal
67595
+ */
67596
+ get core() {
67597
+ return super.core;
67598
+ }
67599
+ /**
67600
+ * @internal
67601
+ */
67602
+ get media() {
67603
+ return super.media;
67604
+ }
67605
+ /**
67606
+ * @internal
67607
+ */
67608
+ get emitter() {
67609
+ return super.emitter;
67610
+ }
67611
+ /**
67612
+ * @internal
67613
+ */
67614
+ set emitter(value) {
67615
+ super.emitter = value;
67616
+ }
67617
+ /**
67618
+ * @internal
67619
+ */
67620
+ hangupWithReason(callId, reasonText, reasonCode) {
67621
+ return super.hangupWithReason(callId, reasonText, reasonCode);
67622
+ }
67576
67623
  constructor() {
67577
67624
  super(new HttpClient(), new SocketClient(), new MediaClient());
67578
67625
  /**
@@ -67580,6 +67627,10 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67580
67627
  * @internal
67581
67628
  */
67582
67629
  this.callbacks = new Map();
67630
+ /**
67631
+ * @internal
67632
+ */
67633
+ this.__doNotUseIt = super.__doNotUseIt;
67583
67634
  // eslint-disable-next-line @typescript-eslint/no-this-alias
67584
67635
  const _this = this;
67585
67636
  this.emitter = new Proxy(Object(), {
@@ -67608,6 +67659,9 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67608
67659
  /**
67609
67660
  * Register a callback for an event.
67610
67661
  *
67662
+ * @example
67663
+ * [[include:register_listener.txt]]
67664
+ *
67611
67665
  * @param event - the event to register for (e.g. 'legStatusUpdate')
67612
67666
  * @param callback - the callback to register for the event
67613
67667
  * @returns a symbol that can be used to unregister the callback
@@ -67625,6 +67679,9 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67625
67679
  /**
67626
67680
  * Unregister a callback for an event.
67627
67681
  *
67682
+ * @example
67683
+ * [[include:unregister_listener.txt]]
67684
+ *
67628
67685
  * @param event - the event to register for (e.g. 'legStatusUpdate')
67629
67686
  * @param callbackSymbol - the callback symbol to unregister
67630
67687
  * @returns true if the callback was unregistered, false otherwise
@@ -67640,16 +67697,15 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67640
67697
  /**
67641
67698
  * Clear all callbacks for an event.
67642
67699
  *
67643
- * @param event - the event to register for (e.g. 'legStatusUpdate')
67700
+ * @example
67701
+ * [[include: clear_callbacks.txt]]
67702
+ *
67703
+ * @param event - the event to unregister from (e.g. 'legStatusUpdate')
67644
67704
  * @returns void
67645
67705
  *
67646
67706
  * @remarks
67647
67707
  * This is useful for cleaning up callbacks when you no longer need them.
67648
67708
  *
67649
- * @example
67650
- * ```ts
67651
- * client.clearCallbacks('legStatusUpdate');
67652
- * ```
67653
67709
  */
67654
67710
  clearCallbacks(event) {
67655
67711
  const callbacks = this.callbacks.get(event);
@@ -67663,6 +67719,9 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67663
67719
  * and returned. If a sessionId is provided, it will be used
67664
67720
  * to resume an existing session.
67665
67721
  *
67722
+ * @example
67723
+ * [[include:create_session.txt]]
67724
+ *
67666
67725
  * @param token
67667
67726
  * @param sessionId - optional sessionId to use
67668
67727
  * @returns the `sessionId` of the session
@@ -67675,10 +67734,33 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67675
67734
  return _super.createSession.call(this, token, sessionId || null);
67676
67735
  });
67677
67736
  }
67737
+ /**
67738
+ * Get the Peer Connection for a call
67739
+ *
67740
+ * @experimental
67741
+ * @group Voice
67742
+ * @param id - The Call Id
67743
+ */
67744
+ getPeerConnection(id) {
67745
+ return super.getPeerConnection(id);
67746
+ }
67747
+ /**
67748
+ * Get the Leg for a call
67749
+ *
67750
+ * @group Voice
67751
+ * @param legId - The Leg Id
67752
+ */
67753
+ getLeg(legId) {
67754
+ return super.getLeg(legId);
67755
+ }
67678
67756
  /**
67679
67757
  * Make a server call to the Vonage API.
67680
67758
  * This is used to initiate a call using the Voice API and NCCO.
67681
67759
  *
67760
+ * @example
67761
+ * [[include:outbound_call.txt]]
67762
+ *
67763
+ * @group Voice
67682
67764
  * @param context - the context to send to the server passed as Custom data to the voice answer webhook
67683
67765
  * @returns the `callId` of the call
67684
67766
  */
@@ -67693,9 +67775,10 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67693
67775
  /**
67694
67776
  * Hangup a call.
67695
67777
  *
67696
- * @remarks
67697
- * this is a convenience method that calls `hangupWithReason` with
67778
+ * @example
67779
+ * [[include:call_hangup.txt]]
67698
67780
  *
67781
+ * @group Voice
67699
67782
  * @param callId - the `callId` of the call to hangup
67700
67783
  * @param reasonText - optional reason text to send to the other party
67701
67784
  * @param reasonCode - optional reason code to send to the other party
@@ -67728,6 +67811,11 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67728
67811
  /**
67729
67812
  * Get a list of Conversations for the user.
67730
67813
  *
67814
+ * @example
67815
+ * [[include:get_conversations.txt]]
67816
+ *
67817
+ * @group Chat
67818
+ * @beta
67731
67819
  * @param order - the order to return the conversations in (default: 'asc')
67732
67820
  * @param pageSize - the number of conversations to return per page (default: 100)
67733
67821
  * @param cursor - the cursor to use for pagination (default: null)
@@ -67744,6 +67832,11 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67744
67832
  /**
67745
67833
  * Get a Conversation's Events
67746
67834
  *
67835
+ * @example
67836
+ * [[include:get_conversation_events.txt]]
67837
+ *
67838
+ * @group Chat
67839
+ * @beta
67747
67840
  * @param id - the Conversation's id
67748
67841
  * @param order - the order to return the events in (default: 'asc')
67749
67842
  * @param pageSize - the number of events to return per page (default: 100)
@@ -67760,6 +67853,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67760
67853
  }
67761
67854
  /**
67762
67855
  * Get a Conversation's Members
67856
+ *
67857
+ * @example
67858
+ * [[include:get_conversation_members.txt]]
67859
+ *
67860
+ * @group Chat
67861
+ * @beta
67763
67862
  * @param id - the Conversation's id
67764
67863
  * @param order - the order to return the members in (default: 'asc')
67765
67864
  * @param pageSize - the number of members to return per page (default: 100)
@@ -67776,6 +67875,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67776
67875
  }
67777
67876
  /**
67778
67877
  * Create a conversation
67878
+ *
67879
+ * @example
67880
+ * [[include:create_conversation.txt]]
67881
+ *
67882
+ * @group Chat
67883
+ * @beta
67779
67884
  * @param name - the name of the conversation
67780
67885
  * @param displayName - the display name of the conversation
67781
67886
  * @returns the `cid` of the conversation
@@ -67790,6 +67895,10 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67790
67895
  }
67791
67896
  /**
67792
67897
  * Get a Conversation
67898
+ *
67899
+ * @example
67900
+ * [[include:get_conversation.txt]]
67901
+ *
67793
67902
  * @param id - the Conversation's id
67794
67903
  * @returns the `Conversation`
67795
67904
  */
@@ -67803,6 +67912,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67803
67912
  }
67804
67913
  /**
67805
67914
  * Leave a Conversation
67915
+ *
67916
+ * @example
67917
+ * [[include:leave_conversation.txt]]
67918
+ *
67919
+ * @group Chat
67920
+ * @beta
67806
67921
  * @param id - the Conversation's id
67807
67922
  * @returns void
67808
67923
  */
@@ -67816,6 +67931,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67816
67931
  }
67817
67932
  /**
67818
67933
  * Join a Conversation
67934
+ *
67935
+ * @example
67936
+ * [[include:join_conversation.txt]]
67937
+ *
67938
+ * @group Chat
67939
+ * @beta
67819
67940
  * @param id - the Conversation's id
67820
67941
  * @returns the `memberId` of the member
67821
67942
  */
@@ -67829,6 +67950,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67829
67950
  }
67830
67951
  /**
67831
67952
  * Delete a Conversation
67953
+ *
67954
+ * @example
67955
+ * [[include:delete_conversation.txt]]
67956
+ *
67957
+ * @group Chat
67958
+ * @beta
67832
67959
  * @param id - the Conversation's id
67833
67960
  * @returns void
67834
67961
  */
@@ -67842,6 +67969,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67842
67969
  }
67843
67970
  /**
67844
67971
  * Invite a user to a Conversation by user's `name`
67972
+ *
67973
+ * @example
67974
+ * [[include:invite_to_conversation.txt]]
67975
+ *
67976
+ * @group Chat
67977
+ * @beta
67845
67978
  * @param id - the Conversation's id
67846
67979
  * @param name - the namne of the user to invite
67847
67980
  * @returns the `memberId` of the member
@@ -67856,6 +67989,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67856
67989
  }
67857
67990
  /**
67858
67991
  * Send a text message to a Conversation
67992
+ *
67993
+ * @example
67994
+ * [[include:send_text_message.txt]]
67995
+ *
67996
+ * @group Chat
67997
+ * @beta
67859
67998
  * @param id - the Conversation's id
67860
67999
  * @param text - the Body of the message
67861
68000
  * @returns the `timestamp` of the message
@@ -67870,6 +68009,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67870
68009
  }
67871
68010
  /**
67872
68011
  * Send a custom message to a Conversation
68012
+ *
68013
+ * @example
68014
+ * [[include:send_custom_message.txt]]
68015
+ *
68016
+ * @group Chat
68017
+ * @beta
67873
68018
  * @param id - the Conversation's id
67874
68019
  * @param customData - the body of the message
67875
68020
  * @returns the `timestamp` of the message
@@ -67887,6 +68032,12 @@ class VonageClient extends clientsdkClientcore_jsExports.vonage.CombinedClientJS
67887
68032
  }
67888
68033
  /**
67889
68034
  * Get a Member of a Conversation
68035
+ *
68036
+ * @example
68037
+ * [[include:get_conversation_member.txt]]
68038
+ *
68039
+ * @group Chat
68040
+ * @beta
67890
68041
  * @param cid - the Conversation's id
67891
68042
  * @param mid - the Member's id
67892
68043
  * @returns the `Member`