@webex/plugin-meetings 3.12.0-next.17 → 3.12.0-next.171

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 (301) hide show
  1. package/.sdd/manifest.json +1312 -0
  2. package/.sdd/templates/.source.json +30 -0
  3. package/.sdd/templates/component-repo/module-docs/module-spec-quality.md +111 -0
  4. package/.sdd/templates/component-repo/module-docs/module-spec.template.md +321 -0
  5. package/.sdd/templates/component-repo/reference-docs/adr/_adr-example.md +59 -0
  6. package/.sdd/templates/component-repo/reference-docs/patterns/_pattern-example.md +49 -0
  7. package/.sdd/templates/component-repo/reference-docs/rules/_rule-example.md +42 -0
  8. package/.sdd/templates/component-repo/standing-docs/AGENTS.template.md +120 -0
  9. package/.sdd/templates/component-repo/standing-docs/ARCHITECTURE.template.md +206 -0
  10. package/.sdd/templates/component-repo/standing-docs/CONTRACTS.template.md +90 -0
  11. package/.sdd/templates/component-repo/standing-docs/DATA_MODEL.template.md +68 -0
  12. package/.sdd/templates/component-repo/standing-docs/GETTING_STARTED.template.md +111 -0
  13. package/.sdd/templates/component-repo/standing-docs/GLOSSARY.template.md +57 -0
  14. package/.sdd/templates/component-repo/standing-docs/REVIEW_CHECKLIST.template.md +69 -0
  15. package/.sdd/templates/component-repo/standing-docs/RULES.template.md +96 -0
  16. package/.sdd/templates/component-repo/standing-docs/SECURITY.template.md +84 -0
  17. package/.sdd/templates/component-repo/standing-docs/SERVICE_STATE.template.md +82 -0
  18. package/.sdd/templates/component-repo/standing-docs/SPEC_INDEX.template.md +94 -0
  19. package/.sdd/templates/component-repo/standing-docs/TEST_INDEX.template.md +64 -0
  20. package/.sdd/templates/component-repo/template-map.json +112 -0
  21. package/AGENTS.md +135 -0
  22. package/ai-docs/ARCHITECTURE.md +207 -0
  23. package/ai-docs/CONTRACTS.md +267 -0
  24. package/ai-docs/DATA_MODEL.md +64 -0
  25. package/ai-docs/GETTING_STARTED.md +73 -0
  26. package/ai-docs/GLOSSARY.md +56 -0
  27. package/ai-docs/REVIEW_CHECKLIST.md +45 -0
  28. package/ai-docs/RULES.md +79 -0
  29. package/ai-docs/SECURITY.md +74 -0
  30. package/ai-docs/SERVICE_STATE.md +59 -0
  31. package/ai-docs/SPEC_INDEX.md +85 -0
  32. package/ai-docs/TEST_INDEX.md +45 -0
  33. package/ai-docs/adr/0001-migrate-existing-docs-into-sdd.md +61 -0
  34. package/ai-docs/patterns/defensive-error-propagation.md +55 -0
  35. package/ai-docs/patterns/event-scope-emission.md +46 -0
  36. package/ai-docs/patterns/source-to-test-path-mirroring.md +45 -0
  37. package/ai-docs/patterns/stateless-plugin-request-classes.md +53 -0
  38. package/ai-docs/patterns/typed-constants-and-enum-values.md +47 -0
  39. package/dist/aiEnableRequest/index.js +15 -2
  40. package/dist/aiEnableRequest/index.js.map +1 -1
  41. package/dist/annotation/index.js +2 -2
  42. package/dist/annotation/index.js.map +1 -1
  43. package/dist/breakouts/breakout.js +8 -3
  44. package/dist/breakouts/breakout.js.map +1 -1
  45. package/dist/breakouts/events.js +29 -14
  46. package/dist/breakouts/events.js.map +1 -1
  47. package/dist/breakouts/index.js +99 -4
  48. package/dist/breakouts/index.js.map +1 -1
  49. package/dist/common/errors/webex-errors.js +49 -5
  50. package/dist/common/errors/webex-errors.js.map +1 -1
  51. package/dist/config.js +2 -2
  52. package/dist/config.js.map +1 -1
  53. package/dist/constants.js +37 -10
  54. package/dist/constants.js.map +1 -1
  55. package/dist/controls-options-manager/index.js +46 -10
  56. package/dist/controls-options-manager/index.js.map +1 -1
  57. package/dist/hashTree/constants.js +4 -1
  58. package/dist/hashTree/constants.js.map +1 -1
  59. package/dist/hashTree/hashTreeParser.js +1096 -391
  60. package/dist/hashTree/hashTreeParser.js.map +1 -1
  61. package/dist/hashTree/utils.js +20 -0
  62. package/dist/hashTree/utils.js.map +1 -1
  63. package/dist/index.js +7 -0
  64. package/dist/index.js.map +1 -1
  65. package/dist/interceptors/dataChannelAuthToken.js +75 -15
  66. package/dist/interceptors/dataChannelAuthToken.js.map +1 -1
  67. package/dist/interceptors/locusRetry.js +24 -9
  68. package/dist/interceptors/locusRetry.js.map +1 -1
  69. package/dist/interpretation/index.js +55 -12
  70. package/dist/interpretation/index.js.map +1 -1
  71. package/dist/interpretation/interpretation.types.js +7 -0
  72. package/dist/interpretation/interpretation.types.js.map +1 -0
  73. package/dist/interpretation/siLanguage.js +1 -1
  74. package/dist/locus-info/controlsUtils.js +4 -1
  75. package/dist/locus-info/controlsUtils.js.map +1 -1
  76. package/dist/locus-info/index.js +615 -176
  77. package/dist/locus-info/index.js.map +1 -1
  78. package/dist/locus-info/infoUtils.js +36 -5
  79. package/dist/locus-info/infoUtils.js.map +1 -1
  80. package/dist/locus-info/types.js +20 -0
  81. package/dist/locus-info/types.js.map +1 -1
  82. package/dist/media/MediaConnectionAwaiter.js +15 -2
  83. package/dist/media/MediaConnectionAwaiter.js.map +1 -1
  84. package/dist/media/index.js +8 -2
  85. package/dist/media/index.js.map +1 -1
  86. package/dist/media/properties.js +4 -5
  87. package/dist/media/properties.js.map +1 -1
  88. package/dist/meeting/in-meeting-actions.js +5 -1
  89. package/dist/meeting/in-meeting-actions.js.map +1 -1
  90. package/dist/meeting/index.js +1684 -835
  91. package/dist/meeting/index.js.map +1 -1
  92. package/dist/meeting/locusMediaRequest.js +229 -82
  93. package/dist/meeting/locusMediaRequest.js.map +1 -1
  94. package/dist/meeting/muteState.js +10 -1
  95. package/dist/meeting/muteState.js.map +1 -1
  96. package/dist/meeting/request.js +5 -2
  97. package/dist/meeting/request.js.map +1 -1
  98. package/dist/meeting/util.js +37 -3
  99. package/dist/meeting/util.js.map +1 -1
  100. package/dist/meeting/voicea-meeting.js +2 -1
  101. package/dist/meeting/voicea-meeting.js.map +1 -1
  102. package/dist/meeting-info/meeting-info-v2.js +12 -5
  103. package/dist/meeting-info/meeting-info-v2.js.map +1 -1
  104. package/dist/meetings/index.js +300 -128
  105. package/dist/meetings/index.js.map +1 -1
  106. package/dist/meetings/meetings.types.js +6 -1
  107. package/dist/meetings/meetings.types.js.map +1 -1
  108. package/dist/meetings/request.js +39 -0
  109. package/dist/meetings/request.js.map +1 -1
  110. package/dist/meetings/util.js +116 -18
  111. package/dist/meetings/util.js.map +1 -1
  112. package/dist/member/index.js +10 -0
  113. package/dist/member/index.js.map +1 -1
  114. package/dist/member/types.js.map +1 -1
  115. package/dist/member/util.js +30 -0
  116. package/dist/member/util.js.map +1 -1
  117. package/dist/members/index.js +101 -43
  118. package/dist/members/index.js.map +1 -1
  119. package/dist/members/util.js +8 -1
  120. package/dist/members/util.js.map +1 -1
  121. package/dist/metrics/constants.js +7 -1
  122. package/dist/metrics/constants.js.map +1 -1
  123. package/dist/multistream/codec/constants.js +63 -0
  124. package/dist/multistream/codec/constants.js.map +1 -0
  125. package/dist/multistream/mediaRequestManager.js +62 -15
  126. package/dist/multistream/mediaRequestManager.js.map +1 -1
  127. package/dist/multistream/receiveSlot.js +9 -0
  128. package/dist/multistream/receiveSlot.js.map +1 -1
  129. package/dist/multistream/remoteMediaManager.js +32 -4
  130. package/dist/multistream/remoteMediaManager.js.map +1 -1
  131. package/dist/reachability/clusterReachability.js.map +1 -1
  132. package/dist/reachability/index.js +121 -83
  133. package/dist/reachability/index.js.map +1 -1
  134. package/dist/reachability/reachability.types.js +2 -0
  135. package/dist/reachability/reachability.types.js.map +1 -1
  136. package/dist/reachability/util.js +45 -0
  137. package/dist/reachability/util.js.map +1 -1
  138. package/dist/reactions/reactions.type.js.map +1 -1
  139. package/dist/recording-controller/index.js +1 -3
  140. package/dist/recording-controller/index.js.map +1 -1
  141. package/dist/roap/turnDiscovery.js +8 -1
  142. package/dist/roap/turnDiscovery.js.map +1 -1
  143. package/dist/types/common/errors/webex-errors.d.ts +32 -2
  144. package/dist/types/config.d.ts +2 -2
  145. package/dist/types/constants.d.ts +13 -1
  146. package/dist/types/controls-options-manager/index.d.ts +16 -0
  147. package/dist/types/hashTree/constants.d.ts +1 -0
  148. package/dist/types/hashTree/hashTreeParser.d.ts +201 -22
  149. package/dist/types/hashTree/utils.d.ts +7 -0
  150. package/dist/types/index.d.ts +3 -0
  151. package/dist/types/interceptors/locusRetry.d.ts +4 -4
  152. package/dist/types/interpretation/interpretation.types.d.ts +10 -0
  153. package/dist/types/locus-info/index.d.ts +106 -8
  154. package/dist/types/locus-info/infoUtils.d.ts +8 -0
  155. package/dist/types/locus-info/types.d.ts +22 -1
  156. package/dist/types/media/MediaConnectionAwaiter.d.ts +10 -1
  157. package/dist/types/media/properties.d.ts +6 -2
  158. package/dist/types/meeting/in-meeting-actions.d.ts +4 -0
  159. package/dist/types/meeting/index.d.ts +178 -11
  160. package/dist/types/meeting/locusMediaRequest.d.ts +12 -0
  161. package/dist/types/meeting/request.d.ts +1 -0
  162. package/dist/types/meeting/util.d.ts +9 -0
  163. package/dist/types/meeting-info/meeting-info-v2.d.ts +1 -0
  164. package/dist/types/meetings/index.d.ts +40 -19
  165. package/dist/types/meetings/meetings.types.d.ts +15 -0
  166. package/dist/types/meetings/request.d.ts +14 -0
  167. package/dist/types/member/index.d.ts +1 -0
  168. package/dist/types/member/types.d.ts +1 -0
  169. package/dist/types/member/util.d.ts +9 -0
  170. package/dist/types/members/index.d.ts +15 -2
  171. package/dist/types/members/util.d.ts +1 -5
  172. package/dist/types/metrics/constants.d.ts +6 -0
  173. package/dist/types/multistream/codec/constants.d.ts +7 -0
  174. package/dist/types/multistream/mediaRequestManager.d.ts +22 -5
  175. package/dist/types/multistream/remoteMediaManager.d.ts +18 -0
  176. package/dist/types/reachability/clusterReachability.d.ts +3 -3
  177. package/dist/types/reachability/index.d.ts +10 -3
  178. package/dist/types/reachability/reachability.types.d.ts +7 -0
  179. package/dist/types/reachability/util.d.ts +17 -0
  180. package/dist/types/reactions/reactions.type.d.ts +3 -0
  181. package/dist/webinar/index.js +307 -161
  182. package/dist/webinar/index.js.map +1 -1
  183. package/package.json +23 -23
  184. package/src/aiEnableRequest/ai-docs/ai-enable-request-spec.md +223 -0
  185. package/src/aiEnableRequest/index.ts +16 -0
  186. package/src/annotation/ai-docs/annotation-spec.md +236 -0
  187. package/src/annotation/index.ts +6 -4
  188. package/src/breakouts/ai-docs/breakouts-spec.md +324 -0
  189. package/src/breakouts/breakout.ts +3 -1
  190. package/src/breakouts/events.ts +33 -11
  191. package/src/breakouts/index.ts +122 -2
  192. package/src/common/errors/webex-errors.ts +50 -3
  193. package/src/config.ts +2 -2
  194. package/src/constants.ts +21 -3
  195. package/src/controls-options-manager/ai-docs/controls-options-manager-spec.md +243 -0
  196. package/src/controls-options-manager/index.ts +62 -10
  197. package/src/hashTree/ai-docs/hash-tree-spec.md +267 -0
  198. package/src/hashTree/constants.ts +7 -0
  199. package/src/hashTree/hashTreeParser.ts +861 -193
  200. package/src/hashTree/utils.ts +19 -0
  201. package/src/index.ts +6 -0
  202. package/src/interceptors/ai-docs/interceptors-spec.md +247 -0
  203. package/src/interceptors/dataChannelAuthToken.ts +88 -12
  204. package/src/interceptors/locusRetry.ts +26 -5
  205. package/src/interpretation/ai-docs/interpretation-spec.md +256 -0
  206. package/src/interpretation/index.ts +65 -10
  207. package/src/interpretation/interpretation.types.ts +11 -0
  208. package/src/locus-info/ai-docs/locus-info-spec.md +293 -0
  209. package/src/locus-info/controlsUtils.ts +3 -1
  210. package/src/locus-info/index.ts +566 -164
  211. package/src/locus-info/infoUtils.ts +41 -6
  212. package/src/locus-info/types.ts +26 -1
  213. package/src/media/MediaConnectionAwaiter.ts +21 -4
  214. package/src/media/ai-docs/media-spec.md +267 -0
  215. package/src/media/index.ts +10 -1
  216. package/src/media/properties.ts +8 -3
  217. package/src/meeting/ai-docs/meeting-spec.md +401 -0
  218. package/src/meeting/in-meeting-actions.ts +8 -0
  219. package/src/meeting/index.ts +944 -120
  220. package/src/meeting/locusMediaRequest.ts +106 -6
  221. package/src/meeting/muteState.ts +10 -1
  222. package/src/meeting/request.ts +11 -0
  223. package/src/meeting/util.ts +51 -7
  224. package/src/meeting/voicea-meeting.ts +1 -1
  225. package/src/meeting-info/ai-docs/meeting-info-spec.md +261 -0
  226. package/src/meeting-info/meeting-info-v2.ts +11 -4
  227. package/src/meetings/ai-docs/meetings-spec.md +296 -0
  228. package/src/meetings/index.ts +200 -80
  229. package/src/meetings/meetings.types.ts +19 -0
  230. package/src/meetings/request.ts +43 -0
  231. package/src/meetings/util.ts +117 -4
  232. package/src/member/ai-docs/member-spec.md +196 -0
  233. package/src/member/index.ts +10 -0
  234. package/src/member/types.ts +1 -0
  235. package/src/member/util.ts +29 -0
  236. package/src/members/ai-docs/members-spec.md +256 -0
  237. package/src/members/index.ts +70 -7
  238. package/src/members/util.ts +12 -4
  239. package/src/metrics/ai-docs/metrics-spec.md +185 -0
  240. package/src/metrics/constants.ts +6 -0
  241. package/src/multistream/ai-docs/multistream-spec.md +292 -0
  242. package/src/multistream/codec/constants.ts +58 -0
  243. package/src/multistream/mediaRequestManager.ts +119 -28
  244. package/src/multistream/receiveSlot.ts +18 -0
  245. package/src/multistream/remoteMediaManager.ts +23 -1
  246. package/src/personal-meeting-room/ai-docs/personal-meeting-room-spec.md +234 -0
  247. package/src/reachability/ai-docs/reachability-spec.md +261 -0
  248. package/src/reachability/clusterReachability.ts +3 -2
  249. package/src/reachability/index.ts +47 -16
  250. package/src/reachability/reachability.types.ts +11 -0
  251. package/src/reachability/util.ts +36 -0
  252. package/src/reactions/ai-docs/reactions-spec.md +198 -0
  253. package/src/reactions/reactions.type.ts +3 -0
  254. package/src/reconnection-manager/ai-docs/reconnection-manager-spec.md +272 -0
  255. package/src/recording-controller/ai-docs/recording-controller-spec.md +223 -0
  256. package/src/recording-controller/index.ts +1 -2
  257. package/src/roap/ai-docs/roap-spec.md +241 -0
  258. package/src/roap/turnDiscovery.ts +9 -1
  259. package/src/webinar/ai-docs/webinar-spec.md +243 -0
  260. package/src/webinar/index.ts +216 -38
  261. package/test/unit/spec/aiEnableRequest/index.ts +86 -0
  262. package/test/unit/spec/annotation/index.ts +3 -3
  263. package/test/unit/spec/breakouts/breakout.ts +9 -3
  264. package/test/unit/spec/breakouts/events.ts +120 -2
  265. package/test/unit/spec/breakouts/index.ts +223 -3
  266. package/test/unit/spec/common/errors/webex-errors.ts +78 -0
  267. package/test/unit/spec/controls-options-manager/index.js +139 -32
  268. package/test/unit/spec/hashTree/hashTreeParser.ts +2451 -184
  269. package/test/unit/spec/hashTree/utils.ts +37 -0
  270. package/test/unit/spec/interceptors/dataChannelAuthToken.ts +196 -0
  271. package/test/unit/spec/interceptors/locusRetry.ts +234 -5
  272. package/test/unit/spec/interpretation/index.ts +119 -4
  273. package/test/unit/spec/locus-info/controlsUtils.js +172 -57
  274. package/test/unit/spec/locus-info/index.js +1014 -58
  275. package/test/unit/spec/locus-info/infoUtils.js +184 -1
  276. package/test/unit/spec/media/MediaConnectionAwaiter.ts +55 -0
  277. package/test/unit/spec/media/index.ts +92 -0
  278. package/test/unit/spec/media/properties.ts +23 -23
  279. package/test/unit/spec/meeting/in-meeting-actions.ts +4 -0
  280. package/test/unit/spec/meeting/index.js +2834 -110
  281. package/test/unit/spec/meeting/locusMediaRequest.ts +406 -4
  282. package/test/unit/spec/meeting/muteState.js +81 -0
  283. package/test/unit/spec/meeting/request.js +12 -0
  284. package/test/unit/spec/meeting/utils.js +189 -17
  285. package/test/unit/spec/meeting/voicea-meeting.ts +85 -1
  286. package/test/unit/spec/meeting-info/meetinginfov2.js +88 -11
  287. package/test/unit/spec/meetings/index.js +544 -49
  288. package/test/unit/spec/meetings/request.js +141 -0
  289. package/test/unit/spec/meetings/utils.js +402 -51
  290. package/test/unit/spec/member/index.js +7 -0
  291. package/test/unit/spec/member/util.js +89 -0
  292. package/test/unit/spec/members/index.js +216 -0
  293. package/test/unit/spec/members/request.js +37 -1
  294. package/test/unit/spec/members/utils.js +63 -0
  295. package/test/unit/spec/multistream/mediaRequestManager.ts +501 -37
  296. package/test/unit/spec/multistream/remoteMediaManager.ts +46 -0
  297. package/test/unit/spec/reachability/index.ts +128 -46
  298. package/test/unit/spec/reachability/util.ts +31 -0
  299. package/test/unit/spec/recording-controller/index.js +9 -8
  300. package/test/unit/spec/roap/turnDiscovery.ts +20 -0
  301. package/test/unit/spec/webinar/index.ts +332 -31
@@ -2,6 +2,9 @@ export interface MediaConnectionAwaiterProps {
2
2
  webrtcMediaConnection: any;
3
3
  correlationId: string;
4
4
  }
5
+ export interface FailureResult {
6
+ iceConnected: boolean;
7
+ }
5
8
  /**
6
9
  * @class MediaConnectionAwaiter
7
10
  */
@@ -32,6 +35,12 @@ export default class MediaConnectionAwaiter {
32
35
  * @returns {boolean}
33
36
  */
34
37
  private isFailed;
38
+ /**
39
+ * Returns true if ICE connection state indicates connectivity.
40
+ *
41
+ * @returns {boolean}
42
+ */
43
+ private isIceConnected;
35
44
  /**
36
45
  * Returns true if the ICE Gathering is completed, false otherwise.
37
46
  *
@@ -84,7 +93,7 @@ export default class MediaConnectionAwaiter {
84
93
  /**
85
94
  * Waits for the webrtc media connection to be connected.
86
95
  *
87
- * @returns {Promise}
96
+ * @returns {Promise<void>} In case of failure, the promise is rejected with FailureResult
88
97
  */
89
98
  waitForMediaConnectionConnected(): Promise<void>;
90
99
  }
@@ -26,6 +26,7 @@ export default class MediaProperties {
26
26
  shareAudioStream?: LocalSystemAudioStream;
27
27
  videoDeviceId: any;
28
28
  videoStream?: LocalCameraStream;
29
+ srtpCipher: string | undefined;
29
30
  namespace: string;
30
31
  mediaIssueCounters: {
31
32
  [key: string]: number;
@@ -147,8 +148,11 @@ export default class MediaProperties {
147
148
  *
148
149
  * @param {string} issueType
149
150
  * @param {string} issueSubType
150
- * @param {string} correlationId
151
+ * @param {Object} metadata
151
152
  * @returns {void}
152
153
  */
153
- sendMediaIssueMetric(issueType: string, issueSubType: string, correlationId: any): void;
154
+ sendMediaIssueMetric(issueType: string, issueSubType: string, metadata: {
155
+ correlationId: string;
156
+ isMultistream: boolean;
157
+ }): void;
154
158
  }
@@ -115,6 +115,8 @@ interface IInMeetingActions {
115
115
  canDisablePollingQA?: boolean;
116
116
  canAttendeeRequestAiAssistantEnabled?: boolean;
117
117
  isAttendeeRequestAiAssistantDeclinedAll?: boolean;
118
+ isAnonymizeDisplayNamesEnabled?: boolean;
119
+ canViewTheParticipantList?: boolean;
118
120
  }
119
121
  /**
120
122
  * @class InMeetingActions
@@ -230,6 +232,8 @@ export default class InMeetingActions implements IInMeetingActions {
230
232
  canDisablePollingQA: any;
231
233
  canAttendeeRequestAiAssistantEnabled: any;
232
234
  isAttendeeRequestAiAssistantDeclinedAll: any;
235
+ isAnonymizeDisplayNamesEnabled: any;
236
+ canViewTheParticipantList: any;
233
237
  /**
234
238
  * Returns all meeting action options
235
239
  * @returns {Object}
@@ -5,6 +5,7 @@ import type { ClientEvent as RawClientEvent } from '@webex/event-dictionary-ts';
5
5
  import { MediaType, StatsAnalyzer, NetworkQualityMonitor, StatsMonitor } from '@webex/internal-media-core';
6
6
  import { DataChannelTokenType } from '@webex/internal-plugin-llm';
7
7
  import { LocalStream, LocalCameraStream, LocalDisplayStream, LocalSystemAudioStream, LocalMicrophoneStream } from '@webex/media-helpers';
8
+ import type { MetricEventMeetingJoinPhase } from '@webex/internal-plugin-metrics/src/metrics.types';
8
9
  import Roap, { type TurnDiscoverySkipReason } from '../roap/index';
9
10
  import { type TurnServerInfo } from '../roap/types';
10
11
  import { type BundlePolicy } from '../media';
@@ -16,7 +17,7 @@ import { DESTINATION_TYPE, NETWORK_STATUS } from '../constants';
16
17
  import { ReceiveSlotManager } from '../multistream/receiveSlotManager';
17
18
  import { MediaRequestManager } from '../multistream/mediaRequestManager';
18
19
  import { Configuration as RemoteMediaManagerConfiguration, RemoteMediaManager } from '../multistream/remoteMediaManager';
19
- import { ReactionServerType, SkinToneType } from '../reactions/reactions.type';
20
+ import { SkinToneType } from '../reactions/reactions.type';
20
21
  import InMeetingActions from './in-meeting-actions';
21
22
  import RecordingController from '../recording-controller';
22
23
  import ControlsOptionsManager from '../controls-options-manager';
@@ -88,6 +89,7 @@ export type CallStateForMetrics = {
88
89
  userNameInput?: string;
89
90
  emailInput?: string;
90
91
  pstnCorrelationId?: string;
92
+ meetingJoinPhase?: MetricEventMeetingJoinPhase;
91
93
  };
92
94
  export declare const MEDIA_UPDATE_TYPE: {
93
95
  TRANSCODED_MEDIA_CONNECTION: string;
@@ -374,7 +376,7 @@ export default class Meeting extends StatelessWebexPlugin {
374
376
  webinar: any;
375
377
  conversationUrl: string;
376
378
  callStateForMetrics: CallStateForMetrics;
377
- destination: string;
379
+ destination: string | LocusDTO;
378
380
  destinationType: DESTINATION_TYPE;
379
381
  deviceUrl: string;
380
382
  hostId: string;
@@ -412,6 +414,8 @@ export default class Meeting extends StatelessWebexPlugin {
412
414
  floorGrantPending: boolean;
413
415
  hasJoinedOnce: boolean;
414
416
  hasWebsocketConnected: boolean;
417
+ private mercuryOnlineHandler?;
418
+ private mercuryOfflineHandler?;
415
419
  inMeetingActions: InMeetingActions;
416
420
  isLocalShareLive: boolean;
417
421
  isRoapInProgress: boolean;
@@ -422,6 +426,7 @@ export default class Meeting extends StatelessWebexPlugin {
422
426
  joinedWith?: any;
423
427
  selfId?: string;
424
428
  roles: any[];
429
+ canNotViewTheParticipantList?: boolean;
425
430
  locusMediaRequest?: LocusMediaRequest;
426
431
  mediaProperties: MediaProperties;
427
432
  mediaRequestManagers: {
@@ -491,13 +496,15 @@ export default class Meeting extends StatelessWebexPlugin {
491
496
  isMoveToInProgress: boolean;
492
497
  registrationIdStatus: string;
493
498
  brbState: BrbState;
499
+ private emittedBreakoutJoinResponseMoveIds;
500
+ private promisesWaitingForPropUpdate;
494
501
  voiceaListenerCallbacks: object;
495
502
  private addMediaData;
496
503
  private sendSlotManager;
497
504
  private deferSDPAnswer?;
498
505
  private sdpResponseTimer?;
499
506
  private hasMediaConnectionConnectedAtLeastOnce;
500
- private joinWithMediaRetryInfo?;
507
+ private joinWithMediaRetryInfo;
501
508
  private connectionStateHandler?;
502
509
  private iceCandidateErrors;
503
510
  private iceCandidatesCount;
@@ -514,6 +521,15 @@ export default class Meeting extends StatelessWebexPlugin {
514
521
  * @memberof Meeting
515
522
  */
516
523
  constructor(attrs: any, options: object, callback: (meeting: Meeting) => void);
524
+ /**
525
+ * Get the ingress payload type for a given media type and codec mime type
526
+ * @param {MediaType} mediaType - The media type
527
+ * @param {MediaCodecMimeType} codecMimeType - The codec mime type
528
+ * @returns {number | undefined} - The ingress payload type
529
+ * @private
530
+ * @memberof Meeting
531
+ */
532
+ private getIngressPayloadTypeCallback;
517
533
  /**
518
534
  * returns meeting is joined
519
535
  * @private
@@ -696,6 +712,40 @@ export default class Meeting extends StatelessWebexPlugin {
696
712
  * @returns {Promise}
697
713
  */
698
714
  postMetrics(eventName: ClientEvent['name']): void;
715
+ /**
716
+ * Handles the LLM state-update message that resulted from a Locus /sync. Records the LLM arrival
717
+ * time (the milestone that gates client.locus.sync.complete - the metric is emitted only for LLM
718
+ * flows) and then tries to complete the metric.
719
+ * @param {string} meetingId meeting id
720
+ * @param {string} trackingId sync tracking id echoed back on the LLM message
721
+ * @returns {void}
722
+ * @private
723
+ * @memberof Meeting
724
+ */
725
+ private onLocusSyncLlmMessage;
726
+ /**
727
+ * Attempts to complete the Locus sync latency metric and emit client.locus.sync.complete. The
728
+ * metric is emitted only once BOTH the /sync response and the resulting LLM message have arrived
729
+ * (in either order); until then the record is kept so the missing milestone can still land. Both
730
+ * trigger points (the LLM message handler and the /sync response timestamp) call this, so the
731
+ * metric fires as soon as the second milestone is in.
732
+ * @param {string} meetingId meeting id
733
+ * @param {string} trackingId sync tracking id used to match the pending record
734
+ * @returns {void}
735
+ * @private
736
+ * @memberof Meeting
737
+ */
738
+ private tryCompleteLocusSyncLatency;
739
+ /**
740
+ * Submits the client.locus.sync.complete Call Analyzer event for a completed Locus sync latency
741
+ * measurement.
742
+ * @param {string} meetingId meeting id
743
+ * @param {object} completed completed sync latency payload from the metrics plugin
744
+ * @returns {void}
745
+ * @private
746
+ * @memberof Meeting
747
+ */
748
+ private emitLocusSyncCompleteMetric;
699
749
  /**
700
750
  * Proxy function for all the listener set ups
701
751
  * @returns {undefined}
@@ -970,7 +1020,12 @@ export default class Meeting extends StatelessWebexPlugin {
970
1020
  */
971
1021
  mute(memberId: string, mute?: boolean): any;
972
1022
  /**
973
- * Transfer the moderator role to another eligible member
1023
+ * Transfer the moderator role to another eligible member.
1024
+ *
1025
+ * If the target member is currently joined in the current session, the request is
1026
+ * sent against the current locus. Otherwise, we search the breakout sessions and,
1027
+ * when the member is found in one, we send the request against that breakout
1028
+ * session's locus url instead.
974
1029
  * @param {String} memberId
975
1030
  * @param {Boolean} moderator
976
1031
  * @returns {Promise} see #members.transferHostToMember
@@ -1051,6 +1106,13 @@ export default class Meeting extends StatelessWebexPlugin {
1051
1106
  * @memberof Meeting
1052
1107
  */
1053
1108
  setSipUri(sipUri: string): void;
1109
+ /**
1110
+ * After initial locus setup, refreshes destination with synced locus data and optionally
1111
+ * performs deferred meeting info fetch when initial locus was incomplete.
1112
+ * @param {LocusDTO} locus
1113
+ * @returns {void}
1114
+ */
1115
+ finalizeMeetingAfterInitialLocusSetup(locus: LocusDTO): Promise<void>;
1054
1116
  /**
1055
1117
  * Set the locus info the class instance. Should be called with the parsed locus
1056
1118
  * we got in the join response.
@@ -1163,6 +1225,22 @@ export default class Meeting extends StatelessWebexPlugin {
1163
1225
  * @memberof Meeting
1164
1226
  */
1165
1227
  setMercuryListener(): void;
1228
+ /**
1229
+ * Removes this meeting's Mercury ONLINE/OFFLINE event listeners registered
1230
+ * by setMercuryListener(). Must be called before Locus /leave to avoid
1231
+ * unnecessary syncs/metrics triggered by events received while leaving
1232
+ * (per Locus team recommendation).
1233
+ *
1234
+ * Mercury is a process-wide singleton shared with other plugins, so we
1235
+ * pass the bound handler refs to .off() to avoid clearing every listener
1236
+ * for ONLINE/OFFLINE on the shared emitter.
1237
+ *
1238
+ * Idempotent: subsequent calls are no-ops because the handler refs are
1239
+ * cleared after detaching.
1240
+ * @private
1241
+ * @returns {void}
1242
+ */
1243
+ private stopListeningForMercuryEvents;
1166
1244
  /**
1167
1245
  * Close the peer connections and remove them from the class.
1168
1246
  * Cleanup any media connection related things.
@@ -1299,6 +1377,12 @@ export default class Meeting extends StatelessWebexPlugin {
1299
1377
  * @returns {void}
1300
1378
  */
1301
1379
  private processLocusLLMEvent;
1380
+ /**
1381
+ * Verifies the relay event was delivered for the active LLM session binding.
1382
+ * @param {RelayEvent} event Event object coming from LLM Connection
1383
+ * @returns {boolean}
1384
+ */
1385
+ private isRelayEventRouteValid;
1302
1386
  /**
1303
1387
  * Callback called when a relay event is received from meeting LLM Connection
1304
1388
  * @param {RelayEvent} e Event object coming from LLM Connection
@@ -1356,8 +1440,41 @@ export default class Meeting extends StatelessWebexPlugin {
1356
1440
  * @returns {void}
1357
1441
  */
1358
1442
  private clearLLMHealthCheckTimer;
1443
+ /**
1444
+ * Removes LLM event listeners and clears the health check timer.
1445
+ * Must be called before Locus /leave to avoid unnecessary syncs triggered
1446
+ * by events received while leaving (per Locus team recommendation).
1447
+ * Idempotent: safe to call multiple times; .off() is a no-op when no
1448
+ * matching listener is registered.
1449
+ * @private
1450
+ * @returns {void}
1451
+ */
1452
+ private stopListeningForLLMEvents;
1453
+ /**
1454
+ * Stops listening on every event bus (LLM, Mercury, voicea/transcription,
1455
+ * annotation) that could otherwise deliver events to this meeting while
1456
+ * Locus is processing /leave or /end. Per the Locus team recommendation,
1457
+ * this must run before the Locus request is dispatched to avoid
1458
+ * unnecessary syncs triggered by in-flight events.
1459
+ *
1460
+ * Voicea (transcription) subscribes to llm 'event:relay.event' internally,
1461
+ * and the annotation plugin subscribes to both mercury and llm, so both
1462
+ * must be torn down alongside the direct LLM/Mercury listeners.
1463
+ *
1464
+ * Idempotent: safe to call multiple times; .off() is a no-op when no
1465
+ * matching listener is registered, and stopTranscription is guarded.
1466
+ * @private
1467
+ * @returns {void}
1468
+ */
1469
+ private stopListeningForMeetingEvents;
1359
1470
  /**
1360
1471
  * Disconnects and cleans up the default LLM session listeners/timers.
1472
+ *
1473
+ * Ownership-aware: only calls `disconnectLLM` when this meeting is the
1474
+ * current owner of the default LLM session (or when no owner is recorded).
1475
+ * Event listeners belonging to this meeting instance are always detached
1476
+ * so they do not receive another meeting's relay events.
1477
+ *
1361
1478
  * @param {Object} options
1362
1479
  * @param {boolean} [options.removeOnlineListener=true] removes the one-time online listener
1363
1480
  * @param {boolean} [options.throwOnError=true] rethrows disconnect errors when true
@@ -1365,8 +1482,8 @@ export default class Meeting extends StatelessWebexPlugin {
1365
1482
  */
1366
1483
  private cleanupLLMConneciton;
1367
1484
  /**
1368
- * Clears all data channel tokens stored in LLM.
1369
- * Called during meeting cleanup to ensure stale tokens are not reused.
1485
+ * Clears data channel tokens associated with this meeting ownership.
1486
+ * Ownership checks are enforced in internal-plugin-llm.
1370
1487
  * @returns {void}
1371
1488
  */
1372
1489
  clearDataChannelToken(): void;
@@ -1386,9 +1503,27 @@ export default class Meeting extends StatelessWebexPlugin {
1386
1503
  /**
1387
1504
  * Connects to low latency mercury and reconnects if the address has changed
1388
1505
  * It will also disconnect if called when the meeting has ended
1506
+ * @param {Object} [options]
1507
+ * @param {boolean} [options.isInitialJoinPhase] true when called from initial join flow
1389
1508
  * @returns {Promise}
1390
1509
  */
1391
- updateLLMConnection(): Promise<any>;
1510
+ updateLLMConnection({ isInitialJoinPhase }?: {
1511
+ isInitialJoinPhase?: boolean;
1512
+ }): Promise<any>;
1513
+ /**
1514
+ * Ensures breakout join response metric with LLM latency is emitted only once per breakout move id.
1515
+ * @param {string | undefined} breakoutMoveId
1516
+ * @param {boolean} [hasLLMLatency=false]
1517
+ * @returns {boolean}
1518
+ */
1519
+ private shouldEmitBreakoutJoinResponseMetric;
1520
+ /**
1521
+ * Sends LLM connect latencies for initial join flow.
1522
+ * @param {RegisterAndConnectTiming} timings
1523
+ * @param {any} [error]
1524
+ * @returns {void}
1525
+ */
1526
+ private sendLLMConnectMetric;
1392
1527
  /**
1393
1528
  * Use phone for meeting audio
1394
1529
  * @param {String} phoneNumber If provided, it will dial-out using this number. If not provided, dial-in will be used
@@ -1466,12 +1601,36 @@ export default class Meeting extends StatelessWebexPlugin {
1466
1601
  */
1467
1602
  setupStatsAnalyzerEventHandlers: () => void;
1468
1603
  getMediaConnectionDebugId(): string;
1604
+ /**
1605
+ * Checks if the error indicates that Locus dropped us from the meeting,
1606
+ * either directly on the error or wrapped inside an AddMediaFailed cause.
1607
+ * This method is meant to be called only with errors thrown by Meeting.addMediaInternal()
1608
+ *
1609
+ * @param {Error} error
1610
+ * @returns {boolean}
1611
+ */
1612
+ private isErrorMeaningLocusDroppedUs;
1613
+ private isLocusUserFullError;
1614
+ /**
1615
+ * Determines if the next media attempt should use only TURN-TLS (iceTransportPolicy='relay').
1616
+ * We do this in the hope that it will minimize the chance of Homer sending DTLS packets on a wrong
1617
+ * transport (as there will be only 1 transport) and dealing with firewalls that let STUN packets through, but block
1618
+ * other UDP traffic.
1619
+ *
1620
+ * For clients landing on video mesh nodes (VMN), reachability might still have successful TLS (to public nodes)
1621
+ * but TURN discovery will result in empty TURN urls array and iceTransportPolicy='relay' will still be overriden to undefined,
1622
+ * see the code in establishMediaConnection()
1623
+ *
1624
+ * @param {Error} prevError - The error from the previous addMedia attempt
1625
+ * @returns {Promise<boolean>}
1626
+ */
1627
+ private shouldRetryMediaWithOnlyTurnTLS;
1469
1628
  /**
1470
1629
  * Creates a webrtc media connection and publishes streams to it
1471
1630
  *
1472
1631
  * @param {Object} turnServerInfo TURN server information
1473
1632
  * @param {BundlePolicy} [bundlePolicy] Bundle policy settings
1474
- * @param {AddMediaOptions} [options] Options for enabling/disabling audio/video
1633
+ * @param {RTCIceTransportPolicy} [iceTransportPolicy] ICE transport policy override
1475
1634
  * @returns {RoapMediaConnection | MultistreamRoapMediaConnection}
1476
1635
  */
1477
1636
  private createMediaConnection;
@@ -1597,6 +1756,13 @@ export default class Meeting extends StatelessWebexPlugin {
1597
1756
  * @returns {void}
1598
1757
  */
1599
1758
  private setupLocusMediaRequest;
1759
+ /**
1760
+ * Waits for LocusInfo to update meeting.selfUrl, with a timeout fallback.
1761
+ * @returns {Promise<void>}
1762
+ * @private
1763
+ * @memberof Meeting
1764
+ */
1765
+ private waitForSelfUrlChange;
1600
1766
  /**
1601
1767
  * Creates a media connection to the server. Media connection is required for sending or receiving any audio/video.
1602
1768
  *
@@ -1610,14 +1776,15 @@ export default class Meeting extends StatelessWebexPlugin {
1610
1776
  * Internal version of addMedia() with some more arguments for finer control of its behavior
1611
1777
  *
1612
1778
  * @param {Function} icePhaseCallback - callback to determine the icePhase for CA "client.ice.end" failure events
1613
- * @param {TurnServerInfo} turnServerInfo - TURN server information
1614
1779
  * @param {boolean} forceTurnDiscovery - if true, TURN discovery will be done
1780
+ * @param {TurnServerInfo} turnServerInfo - TURN server information
1781
+ * @param {RTCIceTransportPolicy} [iceTransportPolicy] - ICE transport policy override
1615
1782
  * @param {AddMediaOptions} options - same as options of the public addMedia() method
1616
1783
  * @returns {Promise<void>}
1617
1784
  * @protected
1618
1785
  * @memberof Meeting
1619
1786
  */
1620
- protected addMediaInternal(icePhaseCallback: () => string, turnServerInfo: TurnServerInfo, forceTurnDiscovery: any, options?: AddMediaOptions): Promise<void>;
1787
+ protected addMediaInternal(icePhaseCallback: () => string, forceTurnDiscovery: boolean, turnServerInfo?: TurnServerInfo, iceTransportPolicy?: RTCIceTransportPolicy, options?: AddMediaOptions): Promise<void>;
1621
1788
  /**
1622
1789
  * Informs if the peer connection is in a state that can be updated with updateMedia (audio/video/share)
1623
1790
  * @returns {Boolean}
@@ -1980,7 +2147,7 @@ export default class Meeting extends StatelessWebexPlugin {
1980
2147
  * @public
1981
2148
  * @memberof Meeting
1982
2149
  */
1983
- sendReaction(reactionType: ReactionServerType, skinToneType?: SkinToneType): any;
2150
+ sendReaction(reactionType: string, skinToneType?: SkinToneType): any;
1984
2151
  /**
1985
2152
  * Extend the current meeting duration.
1986
2153
  *
@@ -32,6 +32,8 @@ export type Config = {
32
32
  correlationId: string;
33
33
  meetingId: string;
34
34
  preferTranscoding: boolean;
35
+ getCurrentSelfUrl: () => string | undefined;
36
+ waitForSelfUrlChange: () => Promise<void>;
35
37
  };
36
38
  /**
37
39
  * This class manages all /media API requests to Locus. Every call to that
@@ -67,6 +69,16 @@ export declare class LocusMediaRequest extends WebexPlugin {
67
69
  * Prepares the uri and body for the media request to be sent to Locus
68
70
  */
69
71
  private sendHttpRequest;
72
+ /**
73
+ * Returns the latest selfUrl for this meeting, falling back to the value
74
+ * captured when the request was enqueued.
75
+ */
76
+ private getCurrentSelfUrl;
77
+ /**
78
+ * Decides whether a 409 warrants a retry against the meeting's latest
79
+ * selfUrl.
80
+ */
81
+ private shouldRetryOnSelfUrlChange;
70
82
  /**
71
83
  * Sends a media request to Locus
72
84
  */
@@ -63,6 +63,7 @@ export default class MeetingRequest extends StatelessWebexPlugin {
63
63
  locale?: string;
64
64
  deviceCapabilities?: Array<string>;
65
65
  liveAnnotationSupported: boolean;
66
+ enableSimultaneousInterpretation: boolean;
66
67
  alias?: string;
67
68
  clientMediaPreferences: ClientMediaPreferences;
68
69
  }): Promise<any>;
@@ -133,6 +133,13 @@ declare const MeetingUtil: {
133
133
  * @returns {void}
134
134
  */
135
135
  addSequence: (meeting: any, requestBody: any) => void;
136
+ /**
137
+ * Checks if Locus API response contains a Locus DTO
138
+ *
139
+ * @param {any} response http response from Locus API call
140
+ * @returns {boolean} true if response contains a Locus DTO
141
+ */
142
+ isLocusDtoInAPIResponse(response: any): any;
136
143
  /**
137
144
  * Updates the locus info for the meeting with the locus
138
145
  * information returned from API requests made to Locus
@@ -146,6 +153,8 @@ declare const MeetingUtil: {
146
153
  generateLocusDeltaRequest: (originalMeeting: any) => (originalOptions: any) => any;
147
154
  canAttendeeRequestAiAssistantEnabled: (displayHints?: any[], roles?: any[]) => boolean;
148
155
  attendeeRequestAiAssistantDeclinedAll: (displayHints?: any[]) => boolean;
156
+ isAnonymizeDisplayNamesEnabled: (displayHints: any) => any;
157
+ canViewTheParticipantList: (displayHints: any, canNotViewTheParticipantList: boolean) => any;
149
158
  selfSupportsFeature: (feature: SELF_POLICY, userPolicies: Record<SELF_POLICY, boolean>) => boolean;
150
159
  parseInterpretationInfo: (meeting: any, meetingInfo: any) => void;
151
160
  /**
@@ -252,5 +252,6 @@ export default class MeetingInfoV2 {
252
252
  }, installedOrgID?: any, locusId?: any, extraParams?: object, options?: {
253
253
  meetingId?: string;
254
254
  sendCAevents?: boolean;
255
+ correlationId?: string;
255
256
  }, registrationId?: string, fullSiteUrl?: string, classificationId?: string): Promise<any>;
256
257
  }
@@ -8,7 +8,7 @@ import 'webrtc-adapter';
8
8
  import { LOCUSEVENT, DESTINATION_TYPE } from '../constants';
9
9
  import { CallStateForMetrics } from '../meeting';
10
10
  import Reachability from '../reachability';
11
- import { INoiseReductionEffect, IVirtualBackgroundEffect, MeetingRegistrationStatus } from './meetings.types';
11
+ import { FetchSitePreferencesMeViaSiteOptions, INoiseReductionEffect, IVirtualBackgroundEffect, MeetingRegistrationStatus, SitePreferencesResponse } from './meetings.types';
12
12
  import { HashTreeMessage } from '../hashTree/hashTreeParser';
13
13
  export type LocusEvent = {
14
14
  eventType: LOCUSEVENT;
@@ -104,6 +104,14 @@ export default class Meetings extends WebexPlugin {
104
104
  breakoutLocusForHandleLater: any;
105
105
  namespace: string;
106
106
  registrationStatus: MeetingRegistrationStatus;
107
+ /**
108
+ * Emits a metric describing how well this browser runs WebAssembly, used to spot browsers
109
+ * where real-time WASM effects (e.g. background noise removal) run poorly.
110
+ *
111
+ * @param {string} correlationId - correlation id to report the result against
112
+ * @returns {void}
113
+ */
114
+ private emitWasmRuntimePerformance;
107
115
  /**
108
116
  * Initializes the Meetings Plugin
109
117
  * @constructor
@@ -211,22 +219,6 @@ export default class Meetings extends WebexPlugin {
211
219
  * @returns {undefined}
212
220
  */
213
221
  private _toggleAdhocMeetings;
214
- /**
215
- * API to toggle TCP reachability, needs to be called before webex.meetings.register()
216
- * @param {Boolean} newValue
217
- * @private
218
- * @memberof Meetings
219
- * @returns {undefined}
220
- */
221
- private _toggleTcpReachability;
222
- /**
223
- * API to toggle TLS reachability, needs to be called before webex.meetings.register()
224
- * @param {Boolean} newValue
225
- * @private
226
- * @memberof Meetings
227
- * @returns {undefined}
228
- */
229
- private _toggleTlsReachability;
230
222
  /**
231
223
  * API to toggle backend ipv6 native support config, needs to be called before webex.meetings.register()
232
224
  *
@@ -254,6 +246,16 @@ export default class Meetings extends WebexPlugin {
254
246
  * @returns {undefined}
255
247
  */
256
248
  private _toggleEnableAudioTwccForMultistream;
249
+ /**
250
+ * API to toggle AV1 codec support for video slides in multistream,
251
+ * needs to be called before webex.meetings.joinWithMedia()
252
+ *
253
+ * @param {Boolean} newValue
254
+ * @private
255
+ * @memberof Meetings
256
+ * @returns {undefined}
257
+ */
258
+ private _toggleEnableAv1SlidesSupport;
257
259
  /**
258
260
  * API to toggle stopping ICE Candidates Gathering after first relay candidate,
259
261
  * needs to be called before webex.meetings.joinWithMedia()
@@ -368,6 +370,23 @@ export default class Meetings extends WebexPlugin {
368
370
  * @memberof Meetings
369
371
  */
370
372
  getPersonalMeetingRoom(): any;
373
+ /**
374
+ * Fetches site preferences for the provided Webex site, or the preferred Webex site.
375
+ * This is used to determine capabilities of the site, such as whether scheduling a webinar is supported.
376
+ *
377
+ * @param {object} [options]
378
+ * @param {string} [options.siteUrl] - Webex site URL. Defaults to preferredWebexSite, for example "cisco.webex.com".
379
+ * @param {string} [options.siteName] - Site name query override. Defaults to the site name derived from siteUrl, for example "cisco" for "cisco.webex.com".
380
+ * @param {SitePreferenceSelectOption[]} [options.selectOptions] - Preference sections to fetch. Defaults to 'scheduling'.
381
+ * @returns {Promise<SitePreferencesResponse>} site preferences response body
382
+ * @throws {ParameterError}
383
+ * @public
384
+ * @memberof Meetings
385
+ * @example
386
+ * const preferences = await webex.meetings.fetchSitePreferencesMeViaSite();
387
+ * const supportScheduleWebinar = preferences?.scheduling?.supportScheduleWebinar;
388
+ */
389
+ fetchSitePreferencesMeViaSite(options?: FetchSitePreferencesMeViaSiteOptions): Promise<SitePreferencesResponse>;
371
390
  /**
372
391
  * Returns basic information about a meeting that exists or
373
392
  * used to exist in the MeetingCollection
@@ -471,14 +490,16 @@ export default class Meetings extends WebexPlugin {
471
490
  */
472
491
  getAllMeetings(): any;
473
492
  /**
474
- * Syncs all the meetings from server. Does nothing and returns immediately if unverified guest.
493
+ * Syncs all the meetings from server. For unverified guests it skips the getActiveMeetings() call
494
+ * (which Locus rejects for them) and instead resyncs each meeting individually via LocusInfo#sync.
475
495
  * @param {boolean} keepOnlyLocusMeetings - whether the sync should keep only locus meetings or any other meeting in meetingCollection
476
496
  * @returns {Promise<void>}
477
497
  * @public
478
498
  * @memberof Meetings
479
499
  */
480
- syncMeetings({ keepOnlyLocusMeetings }?: {
500
+ syncMeetings({ keepOnlyLocusMeetings, skipHashTreeSync, }?: {
481
501
  keepOnlyLocusMeetings?: boolean;
502
+ skipHashTreeSync?: boolean;
482
503
  }): Promise<void>;
483
504
  /**
484
505
  * sort out locus array for initial creating
@@ -19,3 +19,18 @@ export type MeetingRegistrationStatus = {
19
19
  mercuryConnect: boolean;
20
20
  checkH264Support: boolean;
21
21
  };
22
+ export declare enum SitePreferenceSelectOption {
23
+ SCHEDULING = "scheduling"
24
+ }
25
+ export type FetchSitePreferencesMeViaSiteOptions = {
26
+ siteUrl?: string;
27
+ siteName?: string;
28
+ selectOptions?: SitePreferenceSelectOption[];
29
+ };
30
+ export declare const DEFAULT_SITE_PREFERENCE_SELECT_OPTIONS: SitePreferenceSelectOption[];
31
+ export type SitePreferencesResponse = {
32
+ scheduling?: {
33
+ supportScheduleWebinar?: boolean;
34
+ webinarWebLink?: string;
35
+ };
36
+ };
@@ -1,4 +1,5 @@
1
1
  import { StatelessWebexPlugin } from '@webex/webex-core';
2
+ import { type FetchSitePreferencesMeViaSiteOptions, type SitePreferencesResponse } from './meetings.types';
2
3
  /**
3
4
  * @class MeetingRequest
4
5
  */
@@ -18,6 +19,19 @@ export default class MeetingRequest extends StatelessWebexPlugin {
18
19
  * @returns {Promise<object>} getMeetingPreferences
19
20
  */
20
21
  getMeetingPreferences(): any;
22
+ /**
23
+ * Fetches site preferences from a given site given a select option and a siteUrl with an optional siteName. If siteName is not provided, it will be derived from the siteUrl. If siteUrl is not provided, it will throw an error. If selectOptions is not provided, it will default to scheduling.
24
+ *
25
+ * @param {object} [options]
26
+ * @param {string} [options.siteUrl] - Webex site URL, for example "cisco.webex.com".
27
+ * @param {string} [options.siteName] - Site name query override. Defaults to the site name derived from options.siteUrl, e.g., "cisco".
28
+ * @param {SitePreferenceSelectOption[]} [options.selectOptions] - Preference sections to fetch. Defaults to 'scheduling'.
29
+ * @returns {Promise<SitePreferencesResponse>} site preferences response body
30
+ * @throws {ParameterError}
31
+ * @public
32
+ * @memberof MeetingRequest
33
+ */
34
+ fetchSitePreferencesMeViaSite(options?: FetchSitePreferencesMeViaSiteOptions): Promise<SitePreferencesResponse>;
21
35
  /**
22
36
  * Fetches indivdual locus rather then getting all at once
23
37
  * @param {object} responseBody determine the locus and fetch them if a remoteUrl is given
@@ -20,6 +20,7 @@ export default class Member {
20
20
  isModerator: any;
21
21
  isModeratorAssignmentProhibited: any;
22
22
  isPresenterAssignmentProhibited: any;
23
+ isAttendeeAssignmentProhibited: any;
23
24
  isMutable: any;
24
25
  isNotAdmitted: any;
25
26
  isRecording: any;
@@ -89,6 +89,7 @@ export interface Participant {
89
89
  moderator: boolean;
90
90
  moderatorAssignmentNotAllowed: boolean;
91
91
  presenterAssignmentNotAllowed: boolean;
92
+ attendeeAssignmentNotAllowed?: boolean;
92
93
  person: ParticipantPerson;
93
94
  resourceGuest: boolean;
94
95
  state: string;