@webex/plugin-meetings 3.2.0 → 3.3.0

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 (162) hide show
  1. package/dist/breakouts/breakout.js +1 -1
  2. package/dist/breakouts/index.js +1 -1
  3. package/dist/constants.js +2 -4
  4. package/dist/constants.js.map +1 -1
  5. package/dist/interpretation/index.js +1 -1
  6. package/dist/interpretation/siLanguage.js +1 -1
  7. package/dist/mediaQualityMetrics/config.js +10 -10
  8. package/dist/mediaQualityMetrics/config.js.map +1 -1
  9. package/dist/meeting/index.js +8 -21
  10. package/dist/meeting/index.js.map +1 -1
  11. package/dist/meetings/index.js +1 -6
  12. package/dist/meetings/index.js.map +1 -1
  13. package/dist/reachability/index.js +9 -82
  14. package/dist/reachability/index.js.map +1 -1
  15. package/dist/statsAnalyzer/index.js +2 -4
  16. package/dist/statsAnalyzer/index.js.map +1 -1
  17. package/dist/statsAnalyzer/mqaUtil.js +0 -14
  18. package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
  19. package/dist/types/constants.d.ts +1 -2
  20. package/dist/types/mediaQualityMetrics/config.d.ts +2 -8
  21. package/dist/types/meeting/index.d.ts +0 -8
  22. package/dist/types/reachability/index.d.ts +0 -11
  23. package/dist/webinar/index.js +1 -1
  24. package/package.json +21 -21
  25. package/src/constants.ts +1 -2
  26. package/src/mediaQualityMetrics/config.ts +7 -13
  27. package/src/meeting/index.ts +9 -23
  28. package/src/meetings/index.ts +2 -7
  29. package/src/reachability/index.ts +0 -57
  30. package/src/statsAnalyzer/index.ts +3 -6
  31. package/src/statsAnalyzer/mqaUtil.ts +0 -18
  32. package/test/unit/spec/meeting/index.js +8 -28
  33. package/test/unit/spec/meetings/index.js +15 -38
  34. package/test/unit/spec/reachability/index.ts +0 -266
  35. package/test/unit/spec/stats-analyzer/index.js +8 -89
  36. package/dist/annotation/annotation.types.d.ts +0 -42
  37. package/dist/annotation/constants.d.ts +0 -31
  38. package/dist/annotation/index.d.ts +0 -117
  39. package/dist/breakouts/breakout.d.ts +0 -8
  40. package/dist/breakouts/collection.d.ts +0 -5
  41. package/dist/breakouts/edit-lock-error.d.ts +0 -15
  42. package/dist/breakouts/events.d.ts +0 -8
  43. package/dist/breakouts/index.d.ts +0 -5
  44. package/dist/breakouts/request.d.ts +0 -22
  45. package/dist/breakouts/utils.d.ts +0 -15
  46. package/dist/common/browser-detection.d.ts +0 -9
  47. package/dist/common/collection.d.ts +0 -48
  48. package/dist/common/config.d.ts +0 -2
  49. package/dist/common/errors/captcha-error.d.ts +0 -15
  50. package/dist/common/errors/intent-to-join.d.ts +0 -16
  51. package/dist/common/errors/join-meeting.d.ts +0 -17
  52. package/dist/common/errors/media.d.ts +0 -15
  53. package/dist/common/errors/no-meeting-info.d.ts +0 -14
  54. package/dist/common/errors/parameter.d.ts +0 -15
  55. package/dist/common/errors/password-error.d.ts +0 -15
  56. package/dist/common/errors/permission.d.ts +0 -14
  57. package/dist/common/errors/reclaim-host-role-errors.d.ts +0 -60
  58. package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
  59. package/dist/common/errors/reconnection-in-progress.js +0 -34
  60. package/dist/common/errors/reconnection-in-progress.js.map +0 -1
  61. package/dist/common/errors/reconnection.d.ts +0 -15
  62. package/dist/common/errors/stats.d.ts +0 -15
  63. package/dist/common/errors/webex-errors.d.ts +0 -93
  64. package/dist/common/errors/webex-meetings-error.d.ts +0 -20
  65. package/dist/common/events/events-scope.d.ts +0 -17
  66. package/dist/common/events/events.d.ts +0 -12
  67. package/dist/common/events/trigger-proxy.d.ts +0 -2
  68. package/dist/common/events/util.d.ts +0 -2
  69. package/dist/common/logs/logger-config.d.ts +0 -2
  70. package/dist/common/logs/logger-proxy.d.ts +0 -2
  71. package/dist/common/logs/request.d.ts +0 -36
  72. package/dist/common/queue.d.ts +0 -34
  73. package/dist/config.d.ts +0 -73
  74. package/dist/constants.d.ts +0 -1088
  75. package/dist/controls-options-manager/constants.d.ts +0 -4
  76. package/dist/controls-options-manager/enums.d.ts +0 -15
  77. package/dist/controls-options-manager/index.d.ts +0 -136
  78. package/dist/controls-options-manager/types.d.ts +0 -43
  79. package/dist/controls-options-manager/util.d.ts +0 -1
  80. package/dist/index.d.ts +0 -7
  81. package/dist/interceptors/index.d.ts +0 -2
  82. package/dist/interceptors/locusRetry.d.ts +0 -27
  83. package/dist/interpretation/collection.d.ts +0 -5
  84. package/dist/interpretation/index.d.ts +0 -5
  85. package/dist/interpretation/siLanguage.d.ts +0 -5
  86. package/dist/locus-info/controlsUtils.d.ts +0 -2
  87. package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
  88. package/dist/locus-info/fullState.d.ts +0 -2
  89. package/dist/locus-info/hostUtils.d.ts +0 -2
  90. package/dist/locus-info/index.d.ts +0 -322
  91. package/dist/locus-info/infoUtils.d.ts +0 -2
  92. package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
  93. package/dist/locus-info/parser.d.ts +0 -272
  94. package/dist/locus-info/selfUtils.d.ts +0 -2
  95. package/dist/media/MediaConnectionAwaiter.d.ts +0 -61
  96. package/dist/media/index.d.ts +0 -34
  97. package/dist/media/properties.d.ts +0 -93
  98. package/dist/media/util.d.ts +0 -2
  99. package/dist/mediaQualityMetrics/config.d.ts +0 -241
  100. package/dist/meeting/in-meeting-actions.d.ts +0 -167
  101. package/dist/meeting/index.d.ts +0 -1825
  102. package/dist/meeting/locusMediaRequest.d.ts +0 -74
  103. package/dist/meeting/muteState.d.ts +0 -178
  104. package/dist/meeting/request.d.ts +0 -295
  105. package/dist/meeting/request.type.d.ts +0 -11
  106. package/dist/meeting/state.d.ts +0 -9
  107. package/dist/meeting/util.d.ts +0 -119
  108. package/dist/meeting/voicea-meeting.d.ts +0 -16
  109. package/dist/meeting-info/collection.d.ts +0 -20
  110. package/dist/meeting-info/index.d.ts +0 -69
  111. package/dist/meeting-info/meeting-info-v2.d.ts +0 -123
  112. package/dist/meeting-info/request.d.ts +0 -22
  113. package/dist/meeting-info/util.d.ts +0 -2
  114. package/dist/meeting-info/utilv2.d.ts +0 -2
  115. package/dist/meetings/collection.d.ts +0 -40
  116. package/dist/meetings/index.d.ts +0 -398
  117. package/dist/meetings/meetings.types.d.ts +0 -4
  118. package/dist/meetings/request.d.ts +0 -27
  119. package/dist/meetings/util.d.ts +0 -18
  120. package/dist/member/index.d.ts +0 -160
  121. package/dist/member/types.d.ts +0 -32
  122. package/dist/member/util.d.ts +0 -2
  123. package/dist/members/collection.d.ts +0 -29
  124. package/dist/members/index.d.ts +0 -353
  125. package/dist/members/request.d.ts +0 -114
  126. package/dist/members/types.d.ts +0 -25
  127. package/dist/members/util.d.ts +0 -215
  128. package/dist/metrics/constants.d.ts +0 -70
  129. package/dist/metrics/index.d.ts +0 -45
  130. package/dist/multistream/mediaRequestManager.d.ts +0 -119
  131. package/dist/multistream/receiveSlot.d.ts +0 -68
  132. package/dist/multistream/receiveSlotManager.d.ts +0 -56
  133. package/dist/multistream/remoteMedia.d.ts +0 -72
  134. package/dist/multistream/remoteMediaGroup.d.ts +0 -49
  135. package/dist/multistream/remoteMediaManager.d.ts +0 -300
  136. package/dist/multistream/sendSlotManager.d.ts +0 -69
  137. package/dist/networkQualityMonitor/index.d.ts +0 -70
  138. package/dist/personal-meeting-room/index.d.ts +0 -47
  139. package/dist/personal-meeting-room/request.d.ts +0 -14
  140. package/dist/personal-meeting-room/util.d.ts +0 -2
  141. package/dist/reachability/clusterReachability.d.ts +0 -110
  142. package/dist/reachability/index.d.ts +0 -109
  143. package/dist/reachability/request.d.ts +0 -39
  144. package/dist/reachability/util.d.ts +0 -15
  145. package/dist/reactions/constants.d.ts +0 -3
  146. package/dist/reactions/reactions.d.ts +0 -4
  147. package/dist/reactions/reactions.type.d.ts +0 -52
  148. package/dist/reconnection-manager/index.d.ts +0 -136
  149. package/dist/recording-controller/enums.d.ts +0 -7
  150. package/dist/recording-controller/index.d.ts +0 -207
  151. package/dist/recording-controller/util.d.ts +0 -14
  152. package/dist/roap/index.d.ts +0 -86
  153. package/dist/roap/request.d.ts +0 -39
  154. package/dist/roap/turnDiscovery.d.ts +0 -155
  155. package/dist/rtcMetrics/constants.d.ts +0 -4
  156. package/dist/rtcMetrics/index.d.ts +0 -61
  157. package/dist/statsAnalyzer/global.d.ts +0 -36
  158. package/dist/statsAnalyzer/index.d.ts +0 -217
  159. package/dist/statsAnalyzer/mqaUtil.d.ts +0 -48
  160. package/dist/transcription/index.d.ts +0 -64
  161. package/dist/webinar/collection.d.ts +0 -16
  162. package/dist/webinar/index.d.ts +0 -5
@@ -1,16 +0,0 @@
1
- export declare const getSpeaker: (members: any, csis?: any[]) => unknown;
2
- export declare const getSpeakerFromProxyOrStore: ({ csisKey, meetingMembers, transcriptData }: {
3
- csisKey: any;
4
- meetingMembers: any;
5
- transcriptData: any;
6
- }) => {
7
- speaker: {
8
- speakerId: string;
9
- name: string;
10
- };
11
- needsCaching: boolean;
12
- };
13
- export declare const processNewCaptions: ({ data, meeting }: {
14
- data: any;
15
- meeting: any;
16
- }) => void;
@@ -1,20 +0,0 @@
1
- import Collection from '../common/collection';
2
- /**
3
- * @class MeetingInfoCollection
4
- */
5
- export default class MeetingInfoCollection extends Collection {
6
- namespace: string;
7
- /**
8
- * @memberof MeetingInfoCollection
9
- * @constructor
10
- * @public
11
- */
12
- constructor();
13
- /**
14
- * @param {String} id ID of the meeting info you wish to retreive
15
- * @returns {MeetingInfo} returns a meeting info instance
16
- * @public
17
- * @memberof MeetingInfoCollection
18
- */
19
- get(id: string): any;
20
- }
@@ -1,69 +0,0 @@
1
- /*!
2
- * Copyright (c) 2015-2020 Cisco Systems, Inc. See LICENSE file.
3
- */
4
- /**
5
- * @class MeetingInfo
6
- */
7
- export default class MeetingInfo {
8
- meetingInfoCollection: any;
9
- meetingInfoRequest: any;
10
- webex: any;
11
- /**
12
- *
13
- * @param {WebexSDK} webex
14
- */
15
- constructor(webex: any);
16
- /**
17
- * @param {string} id
18
- * @returns {object}
19
- * @public
20
- * @memberof MeetingInfo
21
- */
22
- getMeetingInfo(id: string): any;
23
- /**
24
- * @param {string} id
25
- * @param {object} info
26
- * @returns {null}
27
- * @public
28
- * @memberof MeetingInfo
29
- */
30
- setMeetingInfo(id: string, info: object): void;
31
- /**
32
- * Helper to make the actual MeetingInfo request and set the meetingInfo if successful, else reject
33
- * @param {Object} options
34
- * @returns {Promise}
35
- * @private
36
- * @memberof MeetingInfo
37
- */
38
- private requestFetchInfo;
39
- /**
40
- * Helper to generate the options for the MeetingInfo request
41
- * @param {String} destination
42
- * @param {String} type
43
- * @returns {Promise}
44
- * @private
45
- * @memberof MeetingInfo
46
- */
47
- private fetchInfoOptions;
48
- /**
49
- * Fetches meeting info from the server
50
- * @param {String} destination one of many different types of destinations to look up info for
51
- * @param {String} [type] to match up with the destination value
52
- * @param {String} [password] meeting password
53
- * @param {Object} [captchaInfo] captcha code and id
54
- * @param {String} [installedOrgID]
55
- * @param {String} [locusId]
56
- * @param {Object} [extraParams]
57
- * @param {Boolean} [options] meeting Id and whether Call Analyzer events should be sent
58
- * @returns {Promise} returns a meeting info object
59
- * @public
60
- * @memberof MeetingInfo
61
- */
62
- fetchMeetingInfo(destination: string, type?: string, password?: string, captchaInfo?: {
63
- code: string;
64
- id: string;
65
- }, installedOrgID?: any, locusId?: any, extraParams?: object, options?: {
66
- meetingId?: string;
67
- sendCAevents?: boolean;
68
- }): any;
69
- }
@@ -1,123 +0,0 @@
1
- /**
2
- * Error to indicate that wbxappapi requires a password
3
- */
4
- export declare class MeetingInfoV2PasswordError extends Error {
5
- meetingInfo: any;
6
- sdkMessage: any;
7
- wbxAppApiCode: any;
8
- body: any;
9
- /**
10
- *
11
- * @constructor
12
- * @param {Number} [wbxAppApiErrorCode]
13
- * @param {Object} [meetingInfo]
14
- * @param {String} [message]
15
- */
16
- constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string);
17
- }
18
- /**
19
- * Error generating a adhoc space meeting
20
- */
21
- export declare class MeetingInfoV2AdhocMeetingError extends Error {
22
- sdkMessage: any;
23
- wbxAppApiCode: any;
24
- /**
25
- *
26
- * @constructor
27
- * @param {Number} [wbxAppApiErrorCode]
28
- * @param {String} [message]
29
- */
30
- constructor(wbxAppApiErrorCode?: number, message?: string);
31
- }
32
- /**
33
- * Error preventing join because of a meeting policy
34
- */
35
- export declare class MeetingInfoV2PolicyError extends Error {
36
- meetingInfo: object;
37
- sdkMessage: string;
38
- wbxAppApiCode: number;
39
- /**
40
- *
41
- * @constructor
42
- * @param {Number} [wbxAppApiErrorCode]
43
- * @param {Object} [meetingInfo]
44
- * @param {String} [message]
45
- */
46
- constructor(wbxAppApiErrorCode?: number, meetingInfo?: object, message?: string);
47
- }
48
- /**
49
- * Error to indicate that preferred webex site not present to start adhoc meeting
50
- */
51
- export declare class MeetingInfoV2CaptchaError extends Error {
52
- captchaInfo: any;
53
- isPasswordRequired: any;
54
- sdkMessage: any;
55
- wbxAppApiCode: any;
56
- body: any;
57
- /**
58
- *
59
- * @constructor
60
- * @param {Number} [wbxAppApiErrorCode]
61
- * @param {Object} [captchaInfo]
62
- * @param {String} [message]
63
- */
64
- constructor(wbxAppApiErrorCode?: number, captchaInfo?: object, message?: string);
65
- }
66
- /**
67
- * @class MeetingInfo
68
- */
69
- export default class MeetingInfoV2 {
70
- webex: any;
71
- /**
72
- *
73
- * @param {WebexSDK} webex
74
- */
75
- constructor(webex: any);
76
- /**
77
- * converts hydra id into conversation url and persons Id
78
- * @param {String} destination one of many different types of destinations to look up info for
79
- * @param {String} [type] to match up with the destination value
80
- * @returns {Promise} destination and type
81
- * @public
82
- * @memberof MeetingInfo
83
- */
84
- fetchInfoOptions(destination: string, type?: string): any;
85
- /**
86
- * Raises a MeetingInfoV2PolicyError for policy error codes
87
- * @param {any} err the error from the request
88
- * @returns {void}
89
- */
90
- handlePolicyError: (err: any) => void;
91
- /**
92
- * Creates adhoc space meetings for a space by fetching the conversation infomation
93
- * @param {String} conversationUrl conversationUrl to start adhoc meeting on
94
- * @param {String} installedOrgID org ID of user's machine
95
- * @returns {Promise} returns a meeting info object
96
- * @public
97
- * @memberof MeetingInfo
98
- */
99
- createAdhocSpaceMeeting(conversationUrl: string, installedOrgID?: string): Promise<any>;
100
- /**
101
- * Fetches meeting info from the server
102
- * @param {String} destination one of many different types of destinations to look up info for
103
- * @param {String} [type] to match up with the destination value
104
- * @param {String} password
105
- * @param {Object} captchaInfo
106
- * @param {String} captchaInfo.code
107
- * @param {String} captchaInfo.id
108
- * @param {String} installedOrgID org ID of user's machine
109
- * @param {String} locusId
110
- * @param {Object} extraParams
111
- * @param {Object} options
112
- * @returns {Promise} returns a meeting info object
113
- * @public
114
- * @memberof MeetingInfo
115
- */
116
- fetchMeetingInfo(destination: string, type?: string, password?: string, captchaInfo?: {
117
- code: string;
118
- id: string;
119
- }, installedOrgID?: any, locusId?: any, extraParams?: object, options?: {
120
- meetingId?: string;
121
- sendCAevents?: boolean;
122
- }): Promise<any>;
123
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * @class MeetingInfoRequest
3
- */
4
- export default class MeetingInfoRequest {
5
- webex: any;
6
- /**
7
- * Meeting Info Request Constructor
8
- * @param {WebexSDK} webex
9
- */
10
- constructor(webex: any);
11
- /**
12
- *
13
- * @param {Object} options with format of {type: String, desintation: String}
14
- * where type is PERSONAL_ROOM, SIP_URI, CONVERSATION_URL, and destination is userId, sipUri, conversationUrl respectively
15
- * type can also be specified as an option and be of the list SIP_URI,MEETING_ID,LOCUS_ID,PERSONAL_ROOM,MEETING_LINK,ONE_ON_ONE,MEDIA_SIP_URI,CONVERSATION_URL,TEMP_SIP_URI
16
- * with the desination matching
17
- * @returns {Promise} returns a promise that resolves/rejects the result of the request
18
- * @throws {Error} if the options are not valid and complete
19
- * @memberof MeetingInfoRequest
20
- */
21
- fetchMeetingInfo(options: any): any;
22
- }
@@ -1,2 +0,0 @@
1
- declare const MeetingInfoUtil: any;
2
- export default MeetingInfoUtil;
@@ -1,2 +0,0 @@
1
- declare const MeetingInfoUtil: any;
2
- export default MeetingInfoUtil;
@@ -1,40 +0,0 @@
1
- import Collection from '../common/collection';
2
- /**
3
- * @export
4
- * @class MeetingCollection
5
- */
6
- export default class MeetingCollection extends Collection {
7
- /**
8
- * @constructor
9
- * @public
10
- * @memberof MeetingCollection
11
- */
12
- constructor();
13
- set(meeting: any): any;
14
- /**
15
- * get a specific meeting searching for key
16
- * @param {String} key
17
- * @param {Any} value
18
- * @returns {Meeting} if found, else returns null
19
- * @public
20
- * @memberof MeetingCollection
21
- */
22
- getByKey(key: string, value: any): any;
23
- /**
24
- * get a specific meeting searching for key
25
- * @param {String} breakoutUrl
26
- * @returns {Meeting} if found, else returns null
27
- * @public
28
- * @memberof MeetingCollection
29
- */
30
- getActiveBreakoutLocus(breakoutUrl: string): any;
31
- /**
32
- * Gets the meeting that has a webrtc media connection
33
- * NOTE: this function assumes there is no more than 1 such meeting
34
- *
35
- * @returns {Meeting} first meeting found, else undefined
36
- * @public
37
- * @memberof MeetingCollection
38
- */
39
- getActiveWebrtcMeeting(): any;
40
- }
@@ -1,398 +0,0 @@
1
- import '@webex/internal-plugin-mercury';
2
- import '@webex/internal-plugin-conversation';
3
- import '@webex/internal-plugin-metrics';
4
- import { WebexPlugin } from '@webex/webex-core';
5
- import * as mediaHelpersModule from '@webex/media-helpers';
6
- import 'webrtc-adapter';
7
- import { CallStateForMetrics } from '../meeting';
8
- import Reachability from '../reachability';
9
- import { INoiseReductionEffect, IVirtualBackgroundEffect } from './meetings.types';
10
- /**
11
- * Meetings Ready Event
12
- * Emitted when the meetings instance on webex is ready
13
- * @event meetings:ready
14
- * @instance
15
- * @memberof Meetings
16
- */
17
- /**
18
- * Meetings Network Disconnected Event
19
- * Emitted when the meetings instance is disconnected from
20
- * the internal mercury server
21
- * @event network:disconnected
22
- * @instance
23
- * @memberof Meetings
24
- */
25
- /**
26
- * Meetings Registered Event
27
- * Emitted when the meetings instance has been registered and listening
28
- * @event meetings:registered
29
- * @instance
30
- * @memberof Meetings
31
- */
32
- /**
33
- * Meeting Removed Event
34
- * Emitted when a meeting was removed from the cache of meetings
35
- * @event meeting:removed
36
- * @instance
37
- * @type {Object}
38
- * @property {String} meetingId the removed meeting
39
- * @property {Object} response the server response
40
- * @property {String} type what type of meeting it was
41
- * @memberof Meetings
42
- */
43
- /**
44
- * Meeting Added Event
45
- * Emitted when a meeting was added to the cache of meetings
46
- * @event meeting:added
47
- * @instance
48
- * @type {Object}
49
- * @property {String} meetingId the added meeting
50
- * @property {String} type what type of meeting it was
51
- * @memberof Meetings
52
- */
53
- /**
54
- * Maintain a cache of meetings and sync with services.
55
- * @class
56
- */
57
- export default class Meetings extends WebexPlugin {
58
- loggerRequest: any;
59
- media: any;
60
- meetingCollection: any;
61
- personalMeetingRoom: any;
62
- preferredWebexSite: any;
63
- reachability: Reachability;
64
- registered: any;
65
- request: any;
66
- geoHintInfo: any;
67
- meetingInfo: any;
68
- mediaHelpers: any;
69
- breakoutLocusForHandleLater: any;
70
- namespace: string;
71
- /**
72
- * Initializes the Meetings Plugin
73
- * @constructor
74
- * @public
75
- * @memberof Meetings
76
- */
77
- constructor(...args: any[]);
78
- /**
79
- * check whether you need to handle this main session's locus data or not
80
- * @param {Object} meeting current meeting data
81
- * @param {Object} newLocus new locus data
82
- * @returns {boolean}
83
- * @private
84
- * @memberof Meetings
85
- */
86
- private isNeedHandleMainLocus;
87
- /**
88
- * check whether you need to handle this locus data or not
89
- * @param {Object} meeting old locus data
90
- * @param {Object} newLocus new locus data
91
- * @returns {boolean}
92
- * @private
93
- * @memberof Meetings
94
- */
95
- private isNeedHandleLocusDTO;
96
- /**
97
- * get corresponding meeting object by locus data
98
- * @param {Object} data a locus event
99
- * @param {String} data.locusUrl
100
- * @param {Object} data.locus
101
- * @returns {Object}
102
- * @private
103
- * @memberof Meetings
104
- */
105
- getCorrespondingMeetingByLocus(data: any): any;
106
- /**
107
- * handle locus events and takes meeting actions with them as they come in
108
- * @param {Object} data a locus event
109
- * @param {String} data.locusUrl
110
- * @param {Object} data.locus
111
- * @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
112
- * @param {String} data.eventType
113
- * @returns {undefined}
114
- * @private
115
- * @memberof Meetings
116
- */
117
- private handleLocusEvent;
118
- /**
119
- * handles locus events through mercury that are not roap
120
- * @param {Object} envelope
121
- * @param {Object} envelope.data
122
- * @param {String} envelope.data.eventType
123
- * @returns {undefined}
124
- * @private
125
- * @memberof Meetings
126
- */
127
- private handleLocusMercury;
128
- /**
129
- * handles mecury offline event
130
- * @returns {undefined}
131
- * @private
132
- * @memberof Meetings
133
- */
134
- private handleMercuryOffline;
135
- /**
136
- * registers for locus and roap mercury events
137
- * @returns {undefined}
138
- * @private
139
- * @memberof Meetings
140
- */
141
- private listenForEvents;
142
- /**
143
- * stops listening for locus and roap mercury events
144
- * @returns {undefined}
145
- * @private
146
- * @memberof Meetings
147
- */
148
- private stopListeningForEvents;
149
- /**
150
- * @returns {undefined}
151
- * @private
152
- * @memberof Meetings
153
- */
154
- private onReady;
155
- /**
156
- * API to toggle unified meetings
157
- * @param {Boolean} changeState
158
- * @private
159
- * @memberof Meetings
160
- * @returns {undefined}
161
- */
162
- private _toggleUnifiedMeetings;
163
- /**
164
- * API to toggle starting adhoc meeting
165
- * @param {Boolean} changeState
166
- * @private
167
- * @memberof Meetings
168
- * @returns {undefined}
169
- */
170
- private _toggleAdhocMeetings;
171
- /**
172
- * API to toggle TCP reachability, needs to be called before webex.meetings.register()
173
- * @param {Boolean} newValue
174
- * @private
175
- * @memberof Meetings
176
- * @returns {undefined}
177
- */
178
- private _toggleTcpReachability;
179
- /**
180
- * API to toggle TLS reachability, needs to be called before webex.meetings.register()
181
- * @param {Boolean} newValue
182
- * @private
183
- * @memberof Meetings
184
- * @returns {undefined}
185
- */
186
- private _toggleTlsReachability;
187
- /**
188
- * Explicitly sets up the meetings plugin by registering
189
- * the device, connecting to mercury, and listening for locus events.
190
- *
191
- * @returns {Promise}
192
- * @public
193
- * @memberof Meetings
194
- */
195
- register(): Promise<void>;
196
- /**
197
- * Explicitly tears down the meetings plugin by deregistering
198
- * the device, disconnecting from mercury, and stops listening to locus events
199
- *
200
- * @returns {Promise}
201
- * @public
202
- * @memberof Meetings
203
- */
204
- unregister(): any;
205
- /**
206
- * Creates a noise reduction effect
207
- *
208
- * @param {INoiseReductionEffect} options optional custom effect options
209
- * @returns {Promise<effect>} noise reduction effect.
210
- * @public
211
- * @memberof Meetings
212
- */
213
- createNoiseReductionEffect: (options?: INoiseReductionEffect) => Promise<mediaHelpersModule.NoiseReductionEffect>;
214
- /**
215
- * Creates a virtual background effect
216
- *
217
- * @param {IVirtualBackgroundEffect} options optional custom effect options
218
- * @returns {Promise<effect>} virtual background effect.
219
- * @public
220
- * @memberof Meetings
221
- */
222
- createVirtualBackgroundEffect: (options?: IVirtualBackgroundEffect) => Promise<mediaHelpersModule.VirtualBackgroundEffect>;
223
- /**
224
- * Uploads logs to the webex services for tracking
225
- * @param {Object} [options={}]
226
- * @param {String} [options.callStart] Call Start Time
227
- * @param {String} [options.feedbackId] ID used for tracking
228
- * @param {String} [options.locusId]
229
- * @param {String} [options.correlationId]
230
- * @param {String} [options.meetingId] webex meeting ID
231
- * @param {String} [options.userId] userId
232
- * @param {String} [options.orgId] org id
233
- * @returns {String} feedback ID logs were submitted under
234
- */
235
- uploadLogs(options?: {
236
- autoupload?: boolean;
237
- callStart?: string;
238
- feedbackId?: string;
239
- locussessionid?: string;
240
- locusId?: string;
241
- correlationId?: string;
242
- meetingId?: string;
243
- userId?: string;
244
- orgId?: string;
245
- }): any;
246
- /**
247
- * gets the reachability instance for Meetings
248
- * @returns {Reachability}
249
- * @public
250
- * @memberof Meetings
251
- */
252
- getReachability(): Reachability;
253
- /**
254
- * initializes and starts gathering reachability for Meetings
255
- * @returns {Promise}
256
- * @public
257
- * @memberof Meetings
258
- */
259
- startReachability(): Promise<import("../reachability").ReachabilityResults>;
260
- /**
261
- * Get geoHint for info for meetings
262
- * @returns {Promise}
263
- * @private
264
- * @memberof Meetings
265
- */
266
- getGeoHint(): any;
267
- /**
268
- * Fetch user preferred webex site information
269
- * This also has other infomation about the user
270
- * @returns {Promise}
271
- * @private
272
- * @memberof Meetings
273
- */
274
- fetchUserPreferredWebexSite(): any;
275
- /**
276
- * gets the personal meeting room instance, for saved PMR values for this user
277
- * @returns {PersonalMeetingRoom}
278
- * @public
279
- * @memberof Meetings
280
- */
281
- getPersonalMeetingRoom(): any;
282
- /**
283
- * @param {Meeting} meeting
284
- * @param {Object} reason
285
- * @param {String} type
286
- * @returns {Undefined}
287
- * @private
288
- * @memberof Meetings
289
- */
290
- private destroy;
291
- /**
292
- * Create a meeting or return an existing meeting.
293
- *
294
- * When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
295
- *
296
- * @param {string} destination - sipURL, phonenumber, or locus object}
297
- * @param {string} [type] - the optional specified type, such as locusId
298
- * @param {Boolean} useRandomDelayForInfo - whether a random delay should be added to fetching meeting info
299
- * @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
300
- * @param {string} correlationId - the optional specified correlationId (callStateForMetrics.correlationId can be provided instead)
301
- * @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
302
- * @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
303
- * @param {Object} [meetingInfo] - Pre-fetched complete meeting info
304
- * @param {String} [meetingLookupUrl] - meeting info prefetch url
305
- * @returns {Promise<Meeting>} A new Meeting.
306
- * @public
307
- * @memberof Meetings
308
- */
309
- create(destination: string, type?: string, useRandomDelayForInfo?: boolean, infoExtraParams?: {}, correlationId?: string, failOnMissingMeetingInfo?: boolean, callStateForMetrics?: CallStateForMetrics, meetingInfo?: any, meetingLookupUrl?: any): any;
310
- /**
311
- * Create meeting
312
- *
313
- * When meeting info passed it should be complete, e.g.: fetched after password or captcha provided
314
- *
315
- * @param {String} destination see create()
316
- * @param {String} type see create()
317
- * @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
318
- * @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
319
- * @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
320
- * @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
321
- * @param {Object} [meetingInfo] - Pre-fetched complete meeting info
322
- * @param {String} [meetingLookupUrl] - meeting info prefetch url
323
- * @returns {Promise} a new meeting instance complete with meeting info and destination
324
- * @private
325
- * @memberof Meetings
326
- */
327
- private createMeeting;
328
- /**
329
- * get a specifc meeting given it's type matched to the value, i.e., locus url
330
- * @param {String} type
331
- * @param {Object} value
332
- * @returns {Meeting}
333
- * @public
334
- * @memberof Meetings
335
- */
336
- getMeetingByType(type: string, value: object): any;
337
- /**
338
- * Get all meetings.
339
- * @param {object} options
340
- * @param {object} options.startDate - get meetings after this start date
341
- * @param {object} options.endDate - get meetings before this end date
342
- * @returns {Object} All currently active meetings.
343
- * @public
344
- * @memberof Meetings
345
- */
346
- getAllMeetings(options?: {
347
- startDate: object;
348
- endDate: object;
349
- }): any;
350
- /**
351
- * Syncs all the meetings from server. Does nothing and returns immediately if unverified guest.
352
- * @param {boolean} keepOnlyLocusMeetings - whether the sync should keep only locus meetings or any other meeting in meetingCollection
353
- * @returns {Promise<void>}
354
- * @public
355
- * @memberof Meetings
356
- */
357
- syncMeetings({ keepOnlyLocusMeetings }?: {
358
- keepOnlyLocusMeetings?: boolean;
359
- }): Promise<void>;
360
- /**
361
- * sort out locus array for initial creating
362
- * @param {Array} loci original locus array
363
- * @returns {undefined}
364
- * @public
365
- * @memberof Meetings
366
- */
367
- sortLocusArrayToUpdate(loci: any[]): any[];
368
- /**
369
- * check breakout locus which waiting for main locus's meeting to be created, then handle the breakout locus
370
- * @param {Object} newCreatedLocus the locus which just create meeting object of it
371
- * @returns {undefined}
372
- * @public
373
- * @memberof Meetings
374
- */
375
- checkHandleBreakoutLocus(newCreatedLocus: any): void;
376
- /**
377
- * Get all scheduled meetings.
378
- * @param {object} options
379
- * @param {object} options.startDate - get meetings after this start date
380
- * @param {object} options.endDate - get meetings before this end date
381
- * @returns {Object} All scheduled meetings.
382
- * @memberof Meetings
383
- */
384
- getScheduledMeetings(): any;
385
- /**
386
- * Get the logger instance for plugin-meetings
387
- * @returns {Logger}
388
- */
389
- getLogger(): any;
390
- /**
391
- * Returns the first meeting it finds that has the webrtc media connection created.
392
- * Useful for debugging in the console.
393
- *
394
- * @private
395
- * @returns {Meeting} Meeting object that has a webrtc media connection, else undefined
396
- */
397
- getActiveWebrtcMeeting(): any;
398
- }