@webex/plugin-meetings 2.60.0-next.5 → 2.60.0-next.7

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 (126) hide show
  1. package/dist/annotation/annotation.types.d.ts +42 -0
  2. package/dist/annotation/constants.d.ts +31 -0
  3. package/dist/annotation/index.d.ts +117 -0
  4. package/dist/breakouts/breakout.d.ts +8 -0
  5. package/dist/breakouts/breakout.js +1 -1
  6. package/dist/breakouts/collection.d.ts +5 -0
  7. package/dist/breakouts/edit-lock-error.d.ts +15 -0
  8. package/dist/breakouts/events.d.ts +8 -0
  9. package/dist/breakouts/index.d.ts +5 -0
  10. package/dist/breakouts/index.js +1 -1
  11. package/dist/breakouts/request.d.ts +22 -0
  12. package/dist/breakouts/utils.d.ts +15 -0
  13. package/dist/common/browser-detection.d.ts +9 -0
  14. package/dist/common/collection.d.ts +48 -0
  15. package/dist/common/config.d.ts +2 -0
  16. package/dist/common/errors/captcha-error.d.ts +15 -0
  17. package/dist/common/errors/intent-to-join.d.ts +16 -0
  18. package/dist/common/errors/join-meeting.d.ts +17 -0
  19. package/dist/common/errors/media.d.ts +15 -0
  20. package/dist/common/errors/no-meeting-info.d.ts +14 -0
  21. package/dist/common/errors/parameter.d.ts +15 -0
  22. package/dist/common/errors/password-error.d.ts +15 -0
  23. package/dist/common/errors/permission.d.ts +14 -0
  24. package/dist/common/errors/reclaim-host-role-errors.d.ts +60 -0
  25. package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
  26. package/dist/common/errors/reconnection.d.ts +15 -0
  27. package/dist/common/errors/stats.d.ts +15 -0
  28. package/dist/common/errors/webex-errors.d.ts +93 -0
  29. package/dist/common/errors/webex-meetings-error.d.ts +20 -0
  30. package/dist/common/events/events-scope.d.ts +17 -0
  31. package/dist/common/events/events.d.ts +12 -0
  32. package/dist/common/events/trigger-proxy.d.ts +2 -0
  33. package/dist/common/events/util.d.ts +2 -0
  34. package/dist/common/logs/logger-config.d.ts +2 -0
  35. package/dist/common/logs/logger-proxy.d.ts +2 -0
  36. package/dist/common/logs/request.d.ts +36 -0
  37. package/dist/common/queue.d.ts +34 -0
  38. package/dist/config.d.ts +71 -0
  39. package/dist/constants.d.ts +1072 -0
  40. package/dist/controls-options-manager/constants.d.ts +4 -0
  41. package/dist/controls-options-manager/enums.d.ts +15 -0
  42. package/dist/controls-options-manager/index.d.ts +136 -0
  43. package/dist/controls-options-manager/types.d.ts +43 -0
  44. package/dist/controls-options-manager/util.d.ts +1 -0
  45. package/dist/index.d.ts +7 -0
  46. package/dist/interpretation/collection.d.ts +5 -0
  47. package/dist/interpretation/index.d.ts +5 -0
  48. package/dist/interpretation/index.js +1 -1
  49. package/dist/interpretation/siLanguage.d.ts +5 -0
  50. package/dist/interpretation/siLanguage.js +1 -1
  51. package/dist/locus-info/controlsUtils.d.ts +2 -0
  52. package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
  53. package/dist/locus-info/fullState.d.ts +2 -0
  54. package/dist/locus-info/hostUtils.d.ts +2 -0
  55. package/dist/locus-info/index.d.ts +322 -0
  56. package/dist/locus-info/infoUtils.d.ts +2 -0
  57. package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
  58. package/dist/locus-info/parser.d.ts +272 -0
  59. package/dist/locus-info/selfUtils.d.ts +2 -0
  60. package/dist/media/index.d.ts +34 -0
  61. package/dist/media/properties.d.ts +93 -0
  62. package/dist/media/util.d.ts +2 -0
  63. package/dist/mediaQualityMetrics/config.d.ts +365 -0
  64. package/dist/meeting/in-meeting-actions.d.ts +167 -0
  65. package/dist/meeting/index.d.ts +1715 -0
  66. package/dist/meeting/locusMediaRequest.d.ts +74 -0
  67. package/dist/meeting/muteState.d.ts +184 -0
  68. package/dist/meeting/request.d.ts +290 -0
  69. package/dist/meeting/request.type.d.ts +11 -0
  70. package/dist/meeting/state.d.ts +9 -0
  71. package/dist/meeting/util.d.ts +103 -0
  72. package/dist/meeting-info/collection.d.ts +20 -0
  73. package/dist/meeting-info/index.d.ts +69 -0
  74. package/dist/meeting-info/meeting-info-v2.d.ts +123 -0
  75. package/dist/meeting-info/request.d.ts +22 -0
  76. package/dist/meeting-info/util.d.ts +2 -0
  77. package/dist/meeting-info/utilv2.d.ts +2 -0
  78. package/dist/meetings/collection.d.ts +40 -0
  79. package/dist/meetings/index.d.ts +378 -0
  80. package/dist/meetings/meetings.types.d.ts +4 -0
  81. package/dist/meetings/request.d.ts +27 -0
  82. package/dist/meetings/util.d.ts +18 -0
  83. package/dist/member/index.d.ts +160 -0
  84. package/dist/member/member.types.d.ts +11 -0
  85. package/dist/member/types.d.ts +32 -0
  86. package/dist/member/util.d.ts +2 -0
  87. package/dist/members/collection.d.ts +29 -0
  88. package/dist/members/index.d.ts +353 -0
  89. package/dist/members/request.d.ts +114 -0
  90. package/dist/members/types.d.ts +25 -0
  91. package/dist/members/util.d.ts +215 -0
  92. package/dist/metrics/constants.d.ts +68 -0
  93. package/dist/metrics/index.d.ts +45 -0
  94. package/dist/multistream/mediaRequestManager.d.ts +118 -0
  95. package/dist/multistream/receiveSlot.d.ts +68 -0
  96. package/dist/multistream/receiveSlotManager.d.ts +56 -0
  97. package/dist/multistream/remoteMedia.d.ts +72 -0
  98. package/dist/multistream/remoteMediaGroup.d.ts +47 -0
  99. package/dist/multistream/remoteMediaManager.d.ts +285 -0
  100. package/dist/multistream/sendSlotManager.d.ts +61 -0
  101. package/dist/networkQualityMonitor/index.d.ts +70 -0
  102. package/dist/personal-meeting-room/index.d.ts +47 -0
  103. package/dist/personal-meeting-room/request.d.ts +14 -0
  104. package/dist/personal-meeting-room/util.d.ts +2 -0
  105. package/dist/reachability/index.d.ts +194 -0
  106. package/dist/reachability/request.d.ts +39 -0
  107. package/dist/reactions/constants.d.ts +3 -0
  108. package/dist/reactions/reactions.d.ts +4 -0
  109. package/dist/reactions/reactions.type.d.ts +52 -0
  110. package/dist/reconnection-manager/index.d.ts +136 -0
  111. package/dist/recording-controller/enums.d.ts +7 -0
  112. package/dist/recording-controller/index.d.ts +207 -0
  113. package/dist/recording-controller/util.d.ts +14 -0
  114. package/dist/roap/index.d.ts +78 -0
  115. package/dist/roap/request.d.ts +41 -0
  116. package/dist/roap/turnDiscovery.d.ts +92 -0
  117. package/dist/rtcMetrics/constants.d.ts +4 -0
  118. package/dist/rtcMetrics/index.d.ts +54 -0
  119. package/dist/statsAnalyzer/global.d.ts +36 -0
  120. package/dist/statsAnalyzer/index.d.ts +201 -0
  121. package/dist/statsAnalyzer/mqaUtil.d.ts +24 -0
  122. package/dist/transcription/index.d.ts +64 -0
  123. package/dist/webinar/collection.d.ts +16 -0
  124. package/dist/webinar/index.d.ts +5 -0
  125. package/dist/webinar/index.js +1 -1
  126. package/package.json +21 -21
@@ -0,0 +1,69 @@
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
+ }
@@ -0,0 +1,123 @@
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
+ }
@@ -0,0 +1,22 @@
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
+ }
@@ -0,0 +1,2 @@
1
+ declare const MeetingInfoUtil: any;
2
+ export default MeetingInfoUtil;
@@ -0,0 +1,2 @@
1
+ declare const MeetingInfoUtil: any;
2
+ export default MeetingInfoUtil;
@@ -0,0 +1,40 @@
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
+ }
@@ -0,0 +1,378 @@
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
+ * Explicitly sets up the meetings plugin by registering
173
+ * the device, connecting to mercury, and listening for locus events.
174
+ *
175
+ * @returns {Promise}
176
+ * @public
177
+ * @memberof Meetings
178
+ */
179
+ register(): Promise<void>;
180
+ /**
181
+ * Explicitly tears down the meetings plugin by deregistering
182
+ * the device, disconnecting from mercury, and stops listening to locus events
183
+ *
184
+ * @returns {Promise}
185
+ * @public
186
+ * @memberof Meetings
187
+ */
188
+ unregister(): any;
189
+ /**
190
+ * Creates a noise reduction effect
191
+ *
192
+ * @param {INoiseReductionEffect} options optional custom effect options
193
+ * @returns {Promise<effect>} noise reduction effect.
194
+ * @public
195
+ * @memberof Meetings
196
+ */
197
+ createNoiseReductionEffect: (options?: INoiseReductionEffect) => Promise<mediaHelpersModule.NoiseReductionEffect>;
198
+ /**
199
+ * Creates a virtual background effect
200
+ *
201
+ * @param {IVirtualBackgroundEffect} options optional custom effect options
202
+ * @returns {Promise<effect>} virtual background effect.
203
+ * @public
204
+ * @memberof Meetings
205
+ */
206
+ createVirtualBackgroundEffect: (options?: IVirtualBackgroundEffect) => Promise<mediaHelpersModule.VirtualBackgroundEffect>;
207
+ /**
208
+ * Uploads logs to the webex services for tracking
209
+ * @param {Object} [options={}]
210
+ * @param {String} [options.callStart] Call Start Time
211
+ * @param {String} [options.feedbackId] ID used for tracking
212
+ * @param {String} [options.locusId]
213
+ * @param {String} [options.correlationId]
214
+ * @param {String} [options.meetingId] webex meeting ID
215
+ * @param {String} [options.userId] userId
216
+ * @param {String} [options.orgId] org id
217
+ * @returns {String} feedback ID logs were submitted under
218
+ */
219
+ uploadLogs(options?: {
220
+ autoupload?: boolean;
221
+ callStart?: string;
222
+ feedbackId?: string;
223
+ locussessionid?: string;
224
+ locusId?: string;
225
+ correlationId?: string;
226
+ meetingId?: string;
227
+ userId?: string;
228
+ orgId?: string;
229
+ }): any;
230
+ /**
231
+ * gets the reachability instance for Meetings
232
+ * @returns {Reachability}
233
+ * @public
234
+ * @memberof Meetings
235
+ */
236
+ getReachability(): Reachability;
237
+ /**
238
+ * initializes and starts gathering reachability for Meetings
239
+ * @returns {Promise}
240
+ * @public
241
+ * @memberof Meetings
242
+ */
243
+ startReachability(): Promise<{
244
+ [x: string]: {
245
+ udp: import("../reachability").TransportResult;
246
+ tcp: import("../reachability").TransportResult;
247
+ xtls: {
248
+ untested: "true";
249
+ };
250
+ } & {
251
+ isVideoMesh?: boolean;
252
+ };
253
+ }>;
254
+ /**
255
+ * Get geoHint for info for meetings
256
+ * @returns {Promise}
257
+ * @private
258
+ * @memberof Meetings
259
+ */
260
+ getGeoHint(): any;
261
+ /**
262
+ * Fetch user preferred webex site information
263
+ * This also has other infomation about the user
264
+ * @returns {Promise}
265
+ * @private
266
+ * @memberof Meetings
267
+ */
268
+ fetchUserPreferredWebexSite(): any;
269
+ /**
270
+ * gets the personal meeting room instance, for saved PMR values for this user
271
+ * @returns {PersonalMeetingRoom}
272
+ * @public
273
+ * @memberof Meetings
274
+ */
275
+ getPersonalMeetingRoom(): any;
276
+ /**
277
+ * @param {Meeting} meeting
278
+ * @param {Object} reason
279
+ * @param {String} type
280
+ * @returns {Undefined}
281
+ * @private
282
+ * @memberof Meetings
283
+ */
284
+ private destroy;
285
+ /**
286
+ * Create a meeting or return an existing meeting.
287
+ * @param {string} destination - sipURL, phonenumber, or locus object}
288
+ * @param {string} [type] - the optional specified type, such as locusId
289
+ * @param {Boolean} useRandomDelayForInfo - whether a random delay should be added to fetching meeting info
290
+ * @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
291
+ * @param {string} correlationId - the optional specified correlationId (callStateForMetrics.correlationId can be provided instead)
292
+ * @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
293
+ * @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
294
+ * @returns {Promise<Meeting>} A new Meeting.
295
+ * @public
296
+ * @memberof Meetings
297
+ */
298
+ create(destination: string, type?: string, useRandomDelayForInfo?: boolean, infoExtraParams?: {}, correlationId?: string, failOnMissingMeetingInfo?: boolean, callStateForMetrics?: CallStateForMetrics): any;
299
+ /**
300
+ * @param {String} destination see create()
301
+ * @param {String} type see create()
302
+ * @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
303
+ * @param {Object} infoExtraParams extra parameters to be provided when fetching meeting info
304
+ * @param {CallStateForMetrics} callStateForMetrics - information about call state for metrics
305
+ * @param {Boolean} failOnMissingMeetingInfo - whether to throw an error if meeting info fails to fetch (for calls that are not 1:1 or content share)
306
+ * @returns {Promise} a new meeting instance complete with meeting info and destination
307
+ * @private
308
+ * @memberof Meetings
309
+ */
310
+ private createMeeting;
311
+ /**
312
+ * get a specifc meeting given it's type matched to the value, i.e., locus url
313
+ * @param {String} type
314
+ * @param {Object} value
315
+ * @returns {Meeting}
316
+ * @public
317
+ * @memberof Meetings
318
+ */
319
+ getMeetingByType(type: string, value: object): any;
320
+ /**
321
+ * Get all meetings.
322
+ * @param {object} options
323
+ * @param {object} options.startDate - get meetings after this start date
324
+ * @param {object} options.endDate - get meetings before this end date
325
+ * @returns {Object} All currently active meetings.
326
+ * @public
327
+ * @memberof Meetings
328
+ */
329
+ getAllMeetings(options?: {
330
+ startDate: object;
331
+ endDate: object;
332
+ }): any;
333
+ /**
334
+ * syncs all the meeting from server
335
+ * @returns {undefined}
336
+ * @public
337
+ * @memberof Meetings
338
+ */
339
+ syncMeetings(): any;
340
+ /**
341
+ * sort out locus array for initial creating
342
+ * @param {Array} loci original locus array
343
+ * @returns {undefined}
344
+ * @public
345
+ * @memberof Meetings
346
+ */
347
+ sortLocusArrayToUpdate(loci: any[]): any[];
348
+ /**
349
+ * check breakout locus which waiting for main locus's meeting to be created, then handle the breakout locus
350
+ * @param {Object} newCreatedLocus the locus which just create meeting object of it
351
+ * @returns {undefined}
352
+ * @public
353
+ * @memberof Meetings
354
+ */
355
+ checkHandleBreakoutLocus(newCreatedLocus: any): void;
356
+ /**
357
+ * Get all scheduled meetings.
358
+ * @param {object} options
359
+ * @param {object} options.startDate - get meetings after this start date
360
+ * @param {object} options.endDate - get meetings before this end date
361
+ * @returns {Object} All scheduled meetings.
362
+ * @memberof Meetings
363
+ */
364
+ getScheduledMeetings(): any;
365
+ /**
366
+ * Get the logger instance for plugin-meetings
367
+ * @returns {Logger}
368
+ */
369
+ getLogger(): any;
370
+ /**
371
+ * Returns the first meeting it finds that has the webrtc media connection created.
372
+ * Useful for debugging in the console.
373
+ *
374
+ * @private
375
+ * @returns {Meeting} Meeting object that has a webrtc media connection, else undefined
376
+ */
377
+ getActiveWebrtcMeeting(): any;
378
+ }
@@ -0,0 +1,4 @@
1
+ import type { NoiseReductionEffectOptions, VirtualBackgroundEffectOptions } from '@webex/media-helpers';
2
+ type INoiseReductionEffect = Omit<NoiseReductionEffectOptions, 'authToken' | 'workletProcessorUrl' | 'legacyProcessorUrl'>;
3
+ type IVirtualBackgroundEffect = Omit<VirtualBackgroundEffectOptions, 'authToken'>;
4
+ export type { INoiseReductionEffect, IVirtualBackgroundEffect };
@@ -0,0 +1,27 @@
1
+ import { StatelessWebexPlugin } from '@webex/webex-core';
2
+ /**
3
+ * @class MeetingRequest
4
+ */
5
+ export default class MeetingRequest extends StatelessWebexPlugin {
6
+ /**
7
+ * get all the active meetings for the user
8
+ * @returns {Array} return locus array
9
+ */
10
+ getActiveMeetings(): any;
11
+ /**
12
+ * fetch geoHit for the user
13
+ * @returns {Promise<object>} geoHintInfo
14
+ */
15
+ fetchGeoHint(): any;
16
+ /**
17
+ * get user meeting preference information
18
+ * @returns {Promise<object>} getMeetingPreferences
19
+ */
20
+ getMeetingPreferences(): any;
21
+ /**
22
+ * Fetches indivdual locus rather then getting all at once
23
+ * @param {object} responseBody determine the locus and fetch them if a remoteUrl is given
24
+ * @returns {Promise} returns locusObject array
25
+ */
26
+ determineRedirections(responseBody: any): Promise<any>;
27
+ }
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Meetings Media Codec Missing Event
3
+ * Emitted when H.264 codec is not
4
+ * found in the browser.
5
+ * @event media:codec:missing
6
+ * @instance
7
+ * @memberof MeetingsUtil
8
+ */
9
+ /**
10
+ * Meetings Media Codec Loaded Event
11
+ * Emitted when H.264 codec has been
12
+ * loaded in the browser.
13
+ * @event media:codec:loaded
14
+ * @instance
15
+ * @memberof MeetingsUtil
16
+ */
17
+ declare const MeetingsUtil: any;
18
+ export default MeetingsUtil;