@webex/plugin-meetings 3.0.0-bnr.5 → 3.0.0-stream-classes.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +46 -8
- package/dist/annotation/annotation.types.js +7 -0
- package/dist/annotation/annotation.types.js.map +1 -0
- package/dist/annotation/constants.js +49 -0
- package/dist/annotation/constants.js.map +1 -0
- package/dist/annotation/index.js +342 -0
- package/dist/annotation/index.js.map +1 -0
- package/dist/breakouts/breakout.js +70 -32
- package/dist/breakouts/breakout.js.map +1 -1
- package/dist/breakouts/events.js +45 -0
- package/dist/breakouts/events.js.map +1 -0
- package/dist/breakouts/index.js +422 -217
- package/dist/breakouts/index.js.map +1 -1
- package/dist/breakouts/utils.js +12 -1
- package/dist/breakouts/utils.js.map +1 -1
- package/dist/common/errors/webex-errors.js +3 -2
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/common/logs/logger-proxy.js +1 -1
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/common/queue.js +24 -9
- package/dist/common/queue.js.map +1 -1
- package/dist/config.js +1 -7
- package/dist/config.js.map +1 -1
- package/dist/constants.js +118 -24
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/enums.js +2 -0
- package/dist/controls-options-manager/enums.js.map +1 -1
- package/dist/controls-options-manager/index.js +19 -14
- package/dist/controls-options-manager/index.js.map +1 -1
- package/dist/controls-options-manager/types.js.map +1 -1
- package/dist/controls-options-manager/util.js +80 -11
- package/dist/controls-options-manager/util.js.map +1 -1
- package/dist/index.js +62 -20
- package/dist/index.js.map +1 -1
- package/dist/interpretation/collection.js +23 -0
- package/dist/interpretation/collection.js.map +1 -0
- package/dist/interpretation/index.js +366 -0
- package/dist/interpretation/index.js.map +1 -0
- package/dist/interpretation/siLanguage.js +25 -0
- package/dist/interpretation/siLanguage.js.map +1 -0
- package/dist/locus-info/controlsUtils.js +71 -1
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/index.js +305 -57
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.js +7 -1
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/mediaSharesUtils.js +43 -1
- package/dist/locus-info/mediaSharesUtils.js.map +1 -1
- package/dist/locus-info/parser.js +219 -63
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.js +44 -22
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.js +57 -104
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.js +60 -121
- package/dist/media/properties.js.map +1 -1
- package/dist/meeting/in-meeting-actions.js +61 -3
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.js +2530 -2534
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/locusMediaRequest.js +292 -0
- package/dist/meeting/locusMediaRequest.js.map +1 -0
- package/dist/meeting/muteState.js +125 -205
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.js +150 -150
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/util.js +568 -438
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/index.js +48 -7
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.js +94 -38
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/utilv2.js +4 -2
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/index.js +260 -85
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/meetings.types.js +7 -0
- package/dist/meetings/meetings.types.js.map +1 -0
- package/dist/meetings/util.js +42 -7
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.js +26 -0
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js +11 -1
- package/dist/member/types.js.map +1 -1
- package/dist/member/util.js +60 -23
- package/dist/member/util.js.map +1 -1
- package/dist/members/index.js +4 -1
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.js +75 -45
- package/dist/members/request.js.map +1 -1
- package/dist/members/util.js +308 -317
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/constants.js +1 -0
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.js +1 -451
- package/dist/metrics/index.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +136 -40
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/multistream/receiveSlotManager.js +4 -4
- package/dist/multistream/receiveSlotManager.js.map +1 -1
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/multistream/remoteMediaGroup.js +60 -3
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +36 -0
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/multistream/sendSlotManager.js +233 -0
- package/dist/multistream/sendSlotManager.js.map +1 -0
- package/dist/reachability/index.js +18 -3
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.js +5 -3
- package/dist/reachability/request.js.map +1 -1
- package/dist/reconnection-manager/index.js +181 -153
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/index.js +21 -2
- package/dist/recording-controller/index.js.map +1 -1
- package/dist/recording-controller/util.js +9 -8
- package/dist/recording-controller/util.js.map +1 -1
- package/dist/roap/index.js +25 -32
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/request.js +42 -51
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/turnDiscovery.js +97 -38
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/rtcMetrics/constants.js +12 -0
- package/dist/rtcMetrics/constants.js.map +1 -0
- package/dist/rtcMetrics/index.js +117 -0
- package/dist/rtcMetrics/index.js.map +1 -0
- package/dist/statsAnalyzer/index.js +0 -1
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/types/annotation/annotation.types.d.ts +42 -0
- package/dist/types/annotation/constants.d.ts +31 -0
- package/dist/types/annotation/index.d.ts +117 -0
- package/dist/types/breakouts/events.d.ts +8 -0
- package/dist/types/breakouts/utils.d.ts +7 -0
- package/dist/types/common/errors/webex-errors.d.ts +1 -1
- package/dist/types/common/queue.d.ts +9 -7
- package/dist/types/config.d.ts +0 -6
- package/dist/types/constants.d.ts +95 -22
- package/dist/types/controls-options-manager/enums.d.ts +2 -0
- package/dist/types/controls-options-manager/index.d.ts +1 -1
- package/dist/types/controls-options-manager/types.d.ts +7 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/interpretation/collection.d.ts +5 -0
- package/dist/types/interpretation/index.d.ts +5 -0
- package/dist/types/interpretation/siLanguage.d.ts +5 -0
- package/dist/types/locus-info/index.d.ts +47 -2
- package/dist/types/locus-info/parser.d.ts +65 -6
- package/dist/types/media/index.d.ts +2 -0
- package/dist/types/media/properties.d.ts +34 -49
- package/dist/types/meeting/in-meeting-actions.d.ts +60 -2
- package/dist/types/meeting/index.d.ts +268 -473
- package/dist/types/meeting/locusMediaRequest.d.ts +75 -0
- package/dist/types/meeting/muteState.d.ts +53 -54
- package/dist/types/meeting/request.d.ts +61 -43
- package/dist/types/meeting/util.d.ts +93 -1
- package/dist/types/meeting-info/index.d.ts +6 -1
- package/dist/types/meeting-info/meeting-info-v2.d.ts +14 -3
- package/dist/types/meetings/index.d.ts +56 -11
- package/dist/types/meetings/meetings.types.d.ts +4 -0
- package/dist/types/member/index.d.ts +4 -1
- package/dist/types/member/types.d.ts +11 -0
- package/dist/types/members/request.d.ts +56 -11
- package/dist/types/members/util.d.ts +209 -1
- package/dist/types/metrics/constants.d.ts +1 -0
- package/dist/types/metrics/index.d.ts +4 -111
- package/dist/types/multistream/mediaRequestManager.d.ts +27 -10
- package/dist/types/multistream/receiveSlot.d.ts +3 -3
- package/dist/types/multistream/remoteMedia.d.ts +2 -2
- package/dist/types/multistream/remoteMediaManager.d.ts +14 -0
- package/dist/types/multistream/sendSlotManager.d.ts +61 -0
- package/dist/types/reachability/index.d.ts +6 -0
- package/dist/types/reachability/request.d.ts +3 -1
- package/dist/types/reconnection-manager/index.d.ts +2 -2
- package/dist/types/recording-controller/index.d.ts +15 -1
- package/dist/types/recording-controller/util.d.ts +5 -4
- package/dist/types/roap/request.d.ts +8 -8
- package/dist/types/roap/turnDiscovery.d.ts +18 -1
- package/dist/types/rtcMetrics/constants.d.ts +4 -0
- package/dist/types/rtcMetrics/index.d.ts +47 -0
- package/package.json +21 -20
- package/src/annotation/annotation.types.ts +50 -0
- package/src/annotation/constants.ts +36 -0
- package/src/annotation/index.ts +328 -0
- package/src/breakouts/README.md +3 -2
- package/src/breakouts/breakout.ts +62 -27
- package/src/breakouts/events.ts +56 -0
- package/src/breakouts/index.ts +244 -64
- package/src/breakouts/utils.ts +13 -0
- package/src/common/errors/webex-errors.ts +6 -2
- package/src/common/logs/logger-proxy.ts +1 -1
- package/src/common/queue.ts +22 -8
- package/src/config.ts +0 -6
- package/src/constants.ts +111 -19
- package/src/controls-options-manager/enums.ts +2 -0
- package/src/controls-options-manager/index.ts +13 -10
- package/src/controls-options-manager/types.ts +10 -0
- package/src/controls-options-manager/util.ts +82 -11
- package/src/index.ts +18 -11
- package/src/interpretation/README.md +60 -0
- package/src/interpretation/collection.ts +19 -0
- package/src/interpretation/index.ts +332 -0
- package/src/interpretation/siLanguage.ts +18 -0
- package/src/locus-info/controlsUtils.ts +81 -0
- package/src/locus-info/index.ts +318 -57
- package/src/locus-info/infoUtils.ts +10 -2
- package/src/locus-info/mediaSharesUtils.ts +48 -0
- package/src/locus-info/parser.ts +224 -39
- package/src/locus-info/selfUtils.ts +32 -20
- package/src/media/index.ts +94 -108
- package/src/media/properties.ts +69 -109
- package/src/meeting/in-meeting-actions.ts +120 -4
- package/src/meeting/index.ts +1967 -2120
- package/src/meeting/locusMediaRequest.ts +314 -0
- package/src/meeting/muteState.ts +119 -194
- package/src/meeting/request.ts +122 -115
- package/src/meeting/util.ts +549 -413
- package/src/meeting-info/index.ts +54 -8
- package/src/meeting-info/meeting-info-v2.ts +89 -24
- package/src/meeting-info/utilv2.ts +6 -2
- package/src/meetings/index.ts +247 -87
- package/src/meetings/meetings.types.ts +12 -0
- package/src/meetings/util.ts +47 -12
- package/src/member/index.ts +28 -1
- package/src/member/types.ts +14 -0
- package/src/member/util.ts +75 -26
- package/src/members/index.ts +7 -1
- package/src/members/request.ts +61 -21
- package/src/members/util.ts +316 -326
- package/src/metrics/constants.ts +1 -0
- package/src/metrics/index.ts +1 -474
- package/src/multistream/mediaRequestManager.ts +183 -67
- package/src/multistream/receiveSlot.ts +4 -4
- package/src/multistream/receiveSlotManager.ts +4 -4
- package/src/multistream/remoteMedia.ts +2 -2
- package/src/multistream/remoteMediaGroup.ts +59 -0
- package/src/multistream/remoteMediaManager.ts +33 -0
- package/src/multistream/sendSlotManager.ts +170 -0
- package/src/reachability/index.ts +15 -4
- package/src/reachability/request.ts +7 -3
- package/src/reconnection-manager/index.ts +36 -29
- package/src/recording-controller/index.ts +20 -3
- package/src/recording-controller/util.ts +26 -9
- package/src/roap/index.ts +25 -30
- package/src/roap/request.ts +44 -51
- package/src/roap/turnDiscovery.ts +51 -25
- package/src/rtcMetrics/constants.ts +3 -0
- package/src/rtcMetrics/index.ts +100 -0
- package/src/statsAnalyzer/index.ts +0 -1
- package/test/integration/spec/converged-space-meetings.js +60 -3
- package/test/integration/spec/journey.js +336 -259
- package/test/integration/spec/space-meeting.js +76 -3
- package/test/unit/spec/annotation/index.ts +418 -0
- package/test/unit/spec/breakouts/breakout.ts +85 -26
- package/test/unit/spec/breakouts/events.ts +89 -0
- package/test/unit/spec/breakouts/index.ts +636 -98
- package/test/unit/spec/breakouts/utils.js +19 -1
- package/test/unit/spec/common/queue.js +31 -2
- package/test/unit/spec/controls-options-manager/index.js +8 -1
- package/test/unit/spec/controls-options-manager/util.js +576 -397
- package/test/unit/spec/fixture/locus.js +1 -0
- package/test/unit/spec/interpretation/collection.ts +15 -0
- package/test/unit/spec/interpretation/index.ts +589 -0
- package/test/unit/spec/interpretation/siLanguage.ts +28 -0
- package/test/unit/spec/locus-info/controlsUtils.js +195 -1
- package/test/unit/spec/locus-info/index.js +950 -45
- package/test/unit/spec/locus-info/infoUtils.js +37 -15
- package/test/unit/spec/locus-info/mediaSharesUtils.ts +22 -0
- package/test/unit/spec/locus-info/parser.js +62 -22
- package/test/unit/spec/locus-info/selfConstant.js +19 -0
- package/test/unit/spec/locus-info/selfUtils.js +131 -26
- package/test/unit/spec/media/index.ts +82 -79
- package/test/unit/spec/meeting/in-meeting-actions.ts +60 -2
- package/test/unit/spec/meeting/index.js +3208 -1734
- package/test/unit/spec/meeting/locusMediaRequest.ts +443 -0
- package/test/unit/spec/meeting/muteState.js +328 -417
- package/test/unit/spec/meeting/request.js +393 -48
- package/test/unit/spec/meeting/utils.js +552 -76
- package/test/unit/spec/meeting-info/index.js +181 -0
- package/test/unit/spec/meeting-info/meetinginfov2.js +258 -20
- package/test/unit/spec/meeting-info/utilv2.js +21 -0
- package/test/unit/spec/meetings/index.js +631 -145
- package/test/unit/spec/meetings/utils.js +164 -9
- package/test/unit/spec/member/index.js +44 -14
- package/test/unit/spec/member/util.js +296 -155
- package/test/unit/spec/members/index.js +23 -3
- package/test/unit/spec/members/request.js +167 -35
- package/test/unit/spec/metrics/index.js +1 -50
- package/test/unit/spec/multistream/mediaRequestManager.ts +366 -8
- package/test/unit/spec/multistream/receiveSlot.ts +1 -1
- package/test/unit/spec/multistream/remoteMediaGroup.ts +266 -0
- package/test/unit/spec/multistream/remoteMediaManager.ts +123 -0
- package/test/unit/spec/multistream/sendSlotManager.ts +242 -0
- package/test/unit/spec/reachability/index.ts +66 -5
- package/test/unit/spec/reachability/request.js +3 -1
- package/test/unit/spec/reconnection-manager/index.js +55 -5
- package/test/unit/spec/recording-controller/index.js +294 -218
- package/test/unit/spec/recording-controller/util.js +223 -96
- package/test/unit/spec/roap/index.ts +21 -48
- package/test/unit/spec/roap/request.ts +74 -60
- package/test/unit/spec/roap/turnDiscovery.ts +30 -6
- package/test/unit/spec/rtcMetrics/index.ts +68 -0
- package/test/utils/integrationTestUtils.js +46 -0
- package/test/utils/testUtils.js +0 -60
- package/dist/common/browser-detection.d.ts +0 -9
- package/dist/common/collection.d.ts +0 -48
- package/dist/common/config.d.ts +0 -2
- package/dist/common/errors/captcha-error.d.ts +0 -15
- package/dist/common/errors/intent-to-join.d.ts +0 -16
- package/dist/common/errors/join-meeting.d.ts +0 -17
- package/dist/common/errors/media.d.ts +0 -15
- package/dist/common/errors/parameter.d.ts +0 -15
- package/dist/common/errors/password-error.d.ts +0 -15
- package/dist/common/errors/permission.d.ts +0 -14
- package/dist/common/errors/reconnection-in-progress.d.ts +0 -9
- package/dist/common/errors/reconnection.d.ts +0 -15
- package/dist/common/errors/stats.d.ts +0 -15
- package/dist/common/errors/webex-errors.d.ts +0 -81
- package/dist/common/errors/webex-meetings-error.d.ts +0 -20
- package/dist/common/events/events-scope.d.ts +0 -17
- package/dist/common/events/events.d.ts +0 -12
- package/dist/common/events/trigger-proxy.d.ts +0 -2
- package/dist/common/events/util.d.ts +0 -2
- package/dist/common/logs/logger-config.d.ts +0 -2
- package/dist/common/logs/logger-proxy.d.ts +0 -2
- package/dist/common/logs/request.d.ts +0 -34
- package/dist/common/queue.d.ts +0 -32
- package/dist/config.d.ts +0 -73
- package/dist/constants.d.ts +0 -924
- package/dist/controls-options-manager/constants.d.ts +0 -4
- package/dist/controls-options-manager/enums.d.ts +0 -5
- package/dist/controls-options-manager/index.d.ts +0 -120
- package/dist/controls-options-manager/util.d.ts +0 -7
- package/dist/docs/markdown/index.md +0 -12
- package/dist/docs/markdown/plugin-meetings.constants._active_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._answer_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._call_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._conflict_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._conversation_url_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._created_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._error_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._forced_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._idle_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_lobby_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._in_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._inactive_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._incoming_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._join_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._joined_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._left_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._locus_id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_center_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_id_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_link_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._meeting_uuid_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._move_media_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._none_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._not_in_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._observe_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._people_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._personal_room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._receive_only_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._remove_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._requested_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._resource_room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._room_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._s_line.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._send_only_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._send_receive_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._sip_bridge_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._sip_uri_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._slides_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._unknown_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._user_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._wait_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants._webex_meeting_.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.alert.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.alternate_redirect_true.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.answer.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.api.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.audio.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.audio_input.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.audio_status.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.available_resolutions.md +0 -60
- package/dist/docs/markdown/plugin-meetings.constants.bnr_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.breakouts.md +0 -51
- package/dist/docs/markdown/plugin-meetings.constants.calendar.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events_api.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.call.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.call_removed_reason.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.claim.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.cmr_meetings.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.complete.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.connection_state.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.content.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.controls.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.conversation_service.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.conversation_url.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.correlation_id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.decline.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.default_excluded_stats.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.default_get_stats_filter.md +0 -13
- package/dist/docs/markdown/plugin-meetings.constants.development.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.dialer_regex.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.display_hints.md +0 -51
- package/dist/docs/markdown/plugin-meetings.constants.embedded_app_types.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.end.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ended.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.error.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.error_dictionary.md +0 -62
- package/dist/docs/markdown/plugin-meetings.constants.event_triggers.md +0 -82
- package/dist/docs/markdown/plugin-meetings.constants.event_types.md +0 -21
- package/dist/docs/markdown/plugin-meetings.constants.events.md +0 -26
- package/dist/docs/markdown/plugin-meetings.constants.floor_action.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.full_state.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.gathering.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.hecate.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.host.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.http_verbs.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.https_protocol.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ice_fail_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ice_gathering_state.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.ice_state.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.ice_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.intent_to_join.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.ipv4_regex.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.join.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.layout_types.md +0 -13
- package/dist/docs/markdown/plugin-meetings.constants.leave.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.live.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.local.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.loci.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.locus.md +0 -26
- package/dist/docs/markdown/plugin-meetings.constants.locus_url.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.locusevent.md +0 -33
- package/dist/docs/markdown/plugin-meetings.constants.locusinfo.md +0 -43
- package/dist/docs/markdown/plugin-meetings.constants.max_random_delay_for_meeting_info.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.md +0 -186
- package/dist/docs/markdown/plugin-meetings.constants.media.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.media_devices.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.media_peer_connection_name.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.media_state.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.media_track_constraint.md +0 -17
- package/dist/docs/markdown/plugin-meetings.constants.mediacontent.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.meet.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meet_m.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meeting_audio_state_machine.md +0 -20
- package/dist/docs/markdown/plugin-meetings.constants.meeting_end_reason.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.meeting_errors.md +0 -102
- package/dist/docs/markdown/plugin-meetings.constants.meeting_info_failure_reason.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.meeting_removed_reason.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state.md +0 -25
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state_machine.md +0 -31
- package/dist/docs/markdown/plugin-meetings.constants.meeting_video_state_machine.md +0 -20
- package/dist/docs/markdown/plugin-meetings.constants.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.meetings.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.metrics_join_times_max_duration.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.moderator_false.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.moderator_true.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.mqa_inteval.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.mqa_stats.md +0 -82
- package/dist/docs/markdown/plugin-meetings.constants.network_status.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.network_type.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.offline.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.online.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.participant.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.participant_deltas.md +0 -22
- package/dist/docs/markdown/plugin-meetings.constants.password_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.pc_bail_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.peer_connection_state.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_in.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_out.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.pstn_status.md +0 -18
- package/dist/docs/markdown/plugin-meetings.constants.quality_levels.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.reachability.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.ready.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.reconnection.md +0 -19
- package/dist/docs/markdown/plugin-meetings.constants.recording_state.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.remote.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.resource.md +0 -15
- package/dist/docs/markdown/plugin-meetings.constants.retry_timeout.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.roap.md +0 -22
- package/dist/docs/markdown/plugin-meetings.constants.self_roles.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.send_dtmf_endpoint.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.sendrecv.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share_peer_connection_name.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.share_status.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.share_stopped_reason.md +0 -14
- package/dist/docs/markdown/plugin-meetings.constants.sip_uri.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.stats.md +0 -16
- package/dist/docs/markdown/plugin-meetings.constants.type.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.use_uri_lookup_false.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.uuid_reg.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_email_address.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pin.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_address.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_link.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video_input.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.video_resolutions.md +0 -24
- package/dist/docs/markdown/plugin-meetings.constants.video_status.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.wbxappapi_service.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.webex_dot_com.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.whiteboard.md +0 -11
- package/dist/docs/markdown/plugin-meetings.constants.www_dot.md +0 -11
- package/dist/docs/markdown/plugin-meetings.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default._constructor_.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.acknowledge.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.addmedia.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.admit.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.attrs.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.audio.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.breakouts.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.callevents.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.cancelphoneinvite.md +0 -30
- package/dist/docs/markdown/plugin-meetings.meeting.default.canupdatemedia.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.changevideolayout.md +0 -38
- package/dist/docs/markdown/plugin-meetings.meeting.default.clearmeetingdata.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalshare.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalstream.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closepeerconnections.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotestream.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotetracks.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.controlsoptionsmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.conversationurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.correlationid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.createmediaconnection.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.decline.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.deferjoin.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.destination.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.destinationtype.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.deviceurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialindevicestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialinurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialoutdevicestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialouturl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.disconnectphoneaudio.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.endcallinitiatejoinreq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endjoinreqresp.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endlocalsdpgenremotesdprecvdelay.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.endmeetingforall.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfo.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfotimeoutid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.floorgrantpending.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.forwardevent.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.getanalyzermetricsprepayload.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.getcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getdevices.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.getjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediaconnectiondebugid.md +0 -15
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediastreams.md +0 -15
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmembers.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsendingmediadelayduration.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsetupdelayduration.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsupporteddevices.md +0 -16
- package/dist/docs/markdown/plugin-meetings.meeting.default.gettotaljmt.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.guest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.handledatachannelurlchange.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.handleroapfailure.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.hasjoinedonce.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.haswebsocketconnected.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.hostid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.inmeetingactions.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.invite.md +0 -33
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioconnected.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudiomuted.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioself.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.islocalsharelive.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.ismultistream.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.isreactionssupported.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.isroapinprogress.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.issharing.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.istranscriptionsupported.md +0 -23
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoconnected.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideomuted.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoself.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.join.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinedwith.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinwithmedia.md +0 -36
- package/dist/docs/markdown/plugin-meetings.meeting.default.keepalivetimerid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.lastvideolayoutinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.leave.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meeting.default.lockmeeting.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.md +0 -227
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaconnections.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.medianegotiatedevent.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaproperties.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediarequestmanagers.md +0 -16
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingfinitestatemachine.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfofailurereason.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingjoinurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingnumber.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingrequest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingstate.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.members.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.movefrom.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.moveto.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.mute.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.muteaudio.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.mutevideo.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.namespace.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkqualitymonitor.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkstatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.options.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.orgid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.owner.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.parsemeetinginfo.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.partner.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.passwordstatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.pauserecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.permissiontoken.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.policy.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.processnextqueuedmediaupdate.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.publishtracks.md +0 -33
- package/dist/docs/markdown/plugin-meetings.meeting.default.queuedmediaupdates.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.receiveslotmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnect.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnectionmanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.recording.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.recordingcontroller.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.refreshcaptcha.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.remotemediamanager.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.remove.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.requiredcaptcha.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resource.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceurl.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.resumerecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.roap.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.roapseq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.selfid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.senddtmf.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.sendreaction.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.setdisallowunmute.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsendingmediadelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsetupdelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalsharetrack.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocaltracks.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalvideoquality.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmeetingquality.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmercurylistener.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteall.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteonentry.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setremotequalitylevel.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setsipuri.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartcallinitiatejoinreq.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartjoinreqresp.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartlocalsdpgenremotesdprecvdelay.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsendingmediadelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsetupdelay.md +0 -24
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupbreakoutslistener.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupmediaconnectionlisteners.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupstatsanalyzereventhandlers.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharescreen.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharestatus.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.sipuri.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startcallinitiatejoinreq.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startjoinreqresp.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startkeepalive.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.startlocalsdpgenremotesdprecvdelay.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.startrecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.startwhiteboardshare.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.state.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.statsanalyzer.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopkeepalive.md +0 -13
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopreceivingtranscription.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.stoprecording.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopshare.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopwhiteboardshare.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.togglereactions.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.transcription.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.transfer.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meeting.default.type.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.unlockmeeting.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmuteaudio.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmutevideo.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unpublishtracks.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalsharetrack.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalvideotrack.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetpeerconnections.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotestream.md +0 -26
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotetracks.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateaudio.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatellmconnection.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemedia.md +0 -32
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemediaconnections.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateshare.md +0 -35
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatevideo.md +0 -34
- package/dist/docs/markdown/plugin-meetings.meeting.default.uploadlogs.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.usephoneaudio.md +0 -28
- package/dist/docs/markdown/plugin-meetings.meeting.default.userid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.verifypassword.md +0 -35
- package/dist/docs/markdown/plugin-meetings.meeting.default.video.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.default.wirelessshare.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meeting.md +0 -18
- package/dist/docs/markdown/plugin-meetings.meeting.media_update_type.md +0 -17
- package/dist/docs/markdown/plugin-meetings.meetings._constructor_.md +0 -22
- package/dist/docs/markdown/plugin-meetings.meetings.create.md +0 -30
- package/dist/docs/markdown/plugin-meetings.meetings.fetchuserpreferredwebexsite.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.geohintinfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.getallmeetings.md +0 -31
- package/dist/docs/markdown/plugin-meetings.meetings.getgeohint.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.getlogger.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.getmeetingbytype.md +0 -29
- package/dist/docs/markdown/plugin-meetings.meetings.getpersonalmeetingroom.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.getreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.getscheduledmeetings.md +0 -19
- package/dist/docs/markdown/plugin-meetings.meetings.loggerrequest.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.md +0 -57
- package/dist/docs/markdown/plugin-meetings.meetings.media.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.meetingcollection.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.meetinginfo.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.namespace.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.personalmeetingroom.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.preferredwebexsite.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.reachability.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.register.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.registered.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.request.md +0 -11
- package/dist/docs/markdown/plugin-meetings.meetings.setreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.startreachability.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.syncmeetings.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.unregister.md +0 -21
- package/dist/docs/markdown/plugin-meetings.meetings.uploadlogs.md +0 -34
- package/dist/docs/markdown/plugin-meetings.reactions.md +0 -13
- package/dist/docs/markdown/plugin-meetings.reactions.reactions.md +0 -11
- package/dist/docs/markdown/plugin-meetings.reactions.skintones.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.getmaxfs.md +0 -26
- package/dist/docs/markdown/plugin-meetings.remotemedia.md +0 -31
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia._constructor_.md +0 -22
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.csi.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.id.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.md +0 -40
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.mediatype.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.memberid.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.setsizehint.md +0 -25
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.sourcestate.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.stream.md +0 -13
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaevents.md +0 -14
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaid.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotevideoresolution.md +0 -11
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.md +0 -12
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup._constructor_.md +0 -24
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.getremotemedia.md +0 -26
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.includes.md +0 -27
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.ispinned.md +0 -22
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.md +0 -28
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.pin.md +0 -25
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.unpin.md +0 -24
- package/dist/docs/markdown/plugin-meetings.triggerproxy.md +0 -11
- package/dist/docs/metadata/index.api.json +0 -14144
- package/dist/docs/metadata/index.api.md +0 -2075
- package/dist/docs/metadata/index.d.ts +0 -5594
- package/dist/index.d.ts +0 -4
- package/dist/locus-info/controlsUtils.d.ts +0 -2
- package/dist/locus-info/embeddedAppsUtils.d.ts +0 -2
- package/dist/locus-info/fullState.d.ts +0 -2
- package/dist/locus-info/hostUtils.d.ts +0 -2
- package/dist/locus-info/index.d.ts +0 -269
- package/dist/locus-info/infoUtils.d.ts +0 -2
- package/dist/locus-info/mediaSharesUtils.d.ts +0 -2
- package/dist/locus-info/parser.d.ts +0 -212
- package/dist/locus-info/selfUtils.d.ts +0 -2
- package/dist/media/index.d.ts +0 -32
- package/dist/media/properties.d.ts +0 -108
- package/dist/media/util.d.ts +0 -2
- package/dist/mediaQualityMetrics/config.d.ts +0 -233
- package/dist/meeting/effectsState.d.ts +0 -42
- package/dist/meeting/effectsState.js +0 -260
- package/dist/meeting/effectsState.js.map +0 -1
- package/dist/meeting/in-meeting-actions.d.ts +0 -79
- package/dist/meeting/index.d.ts +0 -1621
- package/dist/meeting/muteState.d.ts +0 -116
- package/dist/meeting/request.d.ts +0 -255
- package/dist/meeting/state.d.ts +0 -9
- package/dist/meeting/util.d.ts +0 -2
- package/dist/meeting-info/collection.d.ts +0 -20
- package/dist/meeting-info/index.d.ts +0 -57
- package/dist/meeting-info/meeting-info-v2.d.ts +0 -93
- package/dist/meeting-info/request.d.ts +0 -22
- package/dist/meeting-info/util.d.ts +0 -2
- package/dist/meeting-info/utilv2.d.ts +0 -2
- package/dist/meetings/collection.d.ts +0 -23
- package/dist/meetings/index.d.ts +0 -298
- package/dist/meetings/request.d.ts +0 -27
- package/dist/meetings/util.d.ts +0 -18
- package/dist/member/index.d.ts +0 -145
- package/dist/member/util.d.ts +0 -2
- package/dist/members/collection.d.ts +0 -24
- package/dist/members/index.d.ts +0 -298
- package/dist/members/request.d.ts +0 -50
- package/dist/members/util.d.ts +0 -2
- package/dist/metrics/config.d.ts +0 -169
- package/dist/metrics/config.js +0 -291
- package/dist/metrics/config.js.map +0 -1
- package/dist/metrics/constants.d.ts +0 -57
- package/dist/metrics/index.d.ts +0 -152
- package/dist/networkQualityMonitor/index.d.ts +0 -70
- package/dist/peer-connection-manager/index.d.ts +0 -6
- package/dist/peer-connection-manager/index.js +0 -671
- package/dist/peer-connection-manager/index.js.map +0 -1
- package/dist/peer-connection-manager/util.d.ts +0 -6
- package/dist/peer-connection-manager/util.js +0 -110
- package/dist/peer-connection-manager/util.js.map +0 -1
- package/dist/personal-meeting-room/index.d.ts +0 -47
- package/dist/personal-meeting-room/request.d.ts +0 -14
- package/dist/personal-meeting-room/util.d.ts +0 -2
- package/dist/plugin-meetings.d.ts +0 -5399
- package/dist/reachability/index.d.ts +0 -139
- package/dist/reachability/request.d.ts +0 -35
- package/dist/reactions/reactions.d.ts +0 -4
- package/dist/reactions/reactions.type.d.ts +0 -32
- package/dist/reconnection-manager/index.d.ts +0 -112
- package/dist/recording-controller/enums.d.ts +0 -7
- package/dist/recording-controller/index.d.ts +0 -193
- package/dist/recording-controller/util.d.ts +0 -13
- package/dist/roap/collection.d.ts +0 -10
- package/dist/roap/collection.js +0 -63
- package/dist/roap/collection.js.map +0 -1
- package/dist/roap/handler.d.ts +0 -47
- package/dist/roap/handler.js +0 -279
- package/dist/roap/handler.js.map +0 -1
- package/dist/roap/index.d.ts +0 -116
- package/dist/roap/request.d.ts +0 -35
- package/dist/roap/state.d.ts +0 -9
- package/dist/roap/state.js +0 -127
- package/dist/roap/state.js.map +0 -1
- package/dist/roap/turnDiscovery.d.ts +0 -67
- package/dist/roap/util.d.ts +0 -2
- package/dist/roap/util.js +0 -76
- package/dist/roap/util.js.map +0 -1
- package/dist/statsAnalyzer/global.d.ts +0 -126
- package/dist/statsAnalyzer/index.d.ts +0 -190
- package/dist/statsAnalyzer/mqaUtil.d.ts +0 -22
- package/dist/transcription/index.d.ts +0 -64
- package/dist/types/meeting/effectsState.d.ts +0 -42
- package/dist/types/metrics/config.d.ts +0 -171
- package/dist/types/tsdoc-metadata.json +0 -11
- package/src/metrics/config.ts +0 -487
|
@@ -6,6 +6,7 @@ import sinon from 'sinon';
|
|
|
6
6
|
import MockWebex from '@webex/test-helper-mock-webex';
|
|
7
7
|
import testUtils from '../../../utils/testUtils';
|
|
8
8
|
import BreakoutEditLockedError from '@webex/plugin-meetings/src/breakouts/edit-lock-error';
|
|
9
|
+
import breakoutEvent from '../../../../src/breakouts/events';
|
|
9
10
|
|
|
10
11
|
const getBOResponse = (status: string) => {
|
|
11
12
|
return {
|
|
@@ -53,7 +54,12 @@ const getBOResponseWithEditLockInfo = (status: string, withOutToken?: boolean) =
|
|
|
53
54
|
locusUrl: 'locusUrl',
|
|
54
55
|
mainGroupId: 'mainGroupId',
|
|
55
56
|
mainSessionId: 'mainSessionId',
|
|
56
|
-
editlock: {
|
|
57
|
+
editlock: {
|
|
58
|
+
state: 'LOCKED',
|
|
59
|
+
ttl: 30,
|
|
60
|
+
userId: 'cc5d452f-04b6-4876-a4c3-28ca21982c6a',
|
|
61
|
+
token: withOutToken ? '' : 'token1',
|
|
62
|
+
},
|
|
57
63
|
groups: [
|
|
58
64
|
{
|
|
59
65
|
sessions: [
|
|
@@ -89,6 +95,8 @@ describe('plugin-meetings', () => {
|
|
|
89
95
|
breakouts.locusUrl = 'locusUrl';
|
|
90
96
|
breakouts.breakoutServiceUrl = 'breakoutServiceUrl';
|
|
91
97
|
webex.request = sinon.stub().returns(Promise.resolve('REQUEST_RETURN_VALUE'));
|
|
98
|
+
webex.meetings = {};
|
|
99
|
+
webex.meetings.getMeetingByType = sinon.stub();
|
|
92
100
|
});
|
|
93
101
|
|
|
94
102
|
describe('#initialize', () => {
|
|
@@ -96,19 +104,59 @@ describe('plugin-meetings', () => {
|
|
|
96
104
|
assert.equal(breakouts.namespace, 'Meetings');
|
|
97
105
|
});
|
|
98
106
|
|
|
99
|
-
it('emits BREAKOUTS_CLOSING event when the
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
107
|
+
it('emits BREAKOUTS_CLOSING event when the breakoutStatus is CLOSING', () => {
|
|
108
|
+
const checkIsCalled = (prev, deps) => {
|
|
109
|
+
breakouts.set(prev);
|
|
110
|
+
const breakoutClosingHandler = sinon.stub();
|
|
111
|
+
breakouts.listenTo(breakouts, BREAKOUTS.EVENTS.BREAKOUTS_CLOSING, breakoutClosingHandler);
|
|
112
|
+
assert.notCalled(breakoutClosingHandler);
|
|
113
|
+
breakouts.set(deps);
|
|
114
|
+
assert.calledOnce(breakoutClosingHandler);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
checkIsCalled({sessionType: BREAKOUTS.SESSION_TYPES.MAIN, groups: undefined, status: undefined}, {
|
|
118
|
+
sessionType: BREAKOUTS.SESSION_TYPES.MAIN,
|
|
119
|
+
groups: [{status: BREAKOUTS.STATUS.CLOSING}],
|
|
120
|
+
status: undefined
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
checkIsCalled({sessionType: BREAKOUTS.SESSION_TYPES.MAIN, groups: [{status: BREAKOUTS.STATUS.OPEN}], status: undefined}, {
|
|
124
|
+
sessionType: BREAKOUTS.SESSION_TYPES.MAIN,
|
|
125
|
+
groups: [{status: BREAKOUTS.STATUS.CLOSING}],
|
|
126
|
+
status: undefined
|
|
127
|
+
});
|
|
128
|
+
|
|
129
|
+
checkIsCalled({sessionType: BREAKOUTS.SESSION_TYPES.BREAKOUT, groups: undefined, status: undefined}, {
|
|
130
|
+
sessionType: BREAKOUTS.SESSION_TYPES.BREAKOUT,
|
|
131
|
+
groups: undefined,
|
|
132
|
+
status: BREAKOUTS.STATUS.CLOSING
|
|
103
133
|
});
|
|
104
134
|
|
|
105
|
-
|
|
135
|
+
checkIsCalled({sessionType: BREAKOUTS.SESSION_TYPES.BREAKOUT, groups: undefined, status: BREAKOUTS.STATUS.OPEN}, {
|
|
136
|
+
sessionType: BREAKOUTS.SESSION_TYPES.BREAKOUT,
|
|
137
|
+
groups: undefined,
|
|
138
|
+
status: BREAKOUTS.STATUS.CLOSING
|
|
139
|
+
});
|
|
106
140
|
|
|
107
|
-
|
|
141
|
+
});
|
|
108
142
|
|
|
109
|
-
|
|
143
|
+
it('should not emits BREAKOUTS_CLOSING event when just sessionType changed from BREAKOUT to MAIN', () => {
|
|
144
|
+
breakouts.set({
|
|
145
|
+
sessionType: BREAKOUTS.SESSION_TYPES.BREAKOUT,
|
|
146
|
+
groups: undefined,
|
|
147
|
+
status: BREAKOUTS.STATUS.CLOSING
|
|
148
|
+
});
|
|
110
149
|
|
|
111
|
-
|
|
150
|
+
const breakoutClosingHandler = sinon.stub();
|
|
151
|
+
breakouts.listenTo(breakouts, BREAKOUTS.EVENTS.BREAKOUTS_CLOSING, breakoutClosingHandler);
|
|
152
|
+
|
|
153
|
+
breakouts.set({
|
|
154
|
+
sessionType: BREAKOUTS.SESSION_TYPES.MAIN,
|
|
155
|
+
groups: [{status: BREAKOUTS.STATUS.CLOSING}],
|
|
156
|
+
status: undefined
|
|
157
|
+
});
|
|
158
|
+
|
|
159
|
+
assert.notCalled(breakoutClosingHandler);
|
|
112
160
|
});
|
|
113
161
|
|
|
114
162
|
it('debounces querying rosters on add', () => {
|
|
@@ -117,6 +165,64 @@ describe('plugin-meetings', () => {
|
|
|
117
165
|
|
|
118
166
|
assert.calledOnceWithExactly(breakouts.debouncedQueryRosters);
|
|
119
167
|
});
|
|
168
|
+
|
|
169
|
+
it('call triggerReturnToMainEvent correctly when requested breakout add', () => {
|
|
170
|
+
breakouts.triggerReturnToMainEvent = sinon.stub();
|
|
171
|
+
breakouts.breakouts.add({sessionId: 'session1', sessionType: 'MAIN'});
|
|
172
|
+
assert.calledOnceWithExactly(breakouts.triggerReturnToMainEvent, breakouts.breakouts.get('session1'));
|
|
173
|
+
});
|
|
174
|
+
|
|
175
|
+
it('call triggerReturnToMainEvent correctly when breakout requestedLastModifiedTime change', () => {
|
|
176
|
+
breakouts.breakouts.add({sessionId: 'session1', sessionType: 'MAIN'});
|
|
177
|
+
breakouts.triggerReturnToMainEvent = sinon.stub();
|
|
178
|
+
breakouts.breakouts.get('session1').set({requestedLastModifiedTime: "2023-05-09T17:16:01.000Z"});
|
|
179
|
+
assert.calledOnceWithExactly(breakouts.triggerReturnToMainEvent, breakouts.breakouts.get('session1'));
|
|
180
|
+
});
|
|
181
|
+
|
|
182
|
+
it('call queryPreAssignments correctly when should query preAssignments is true', () => {
|
|
183
|
+
breakouts.queryPreAssignments = sinon.stub();
|
|
184
|
+
breakouts.set({
|
|
185
|
+
canManageBreakouts: true,
|
|
186
|
+
enableBreakoutSession: true,
|
|
187
|
+
hasBreakoutPreAssignments: true,
|
|
188
|
+
});
|
|
189
|
+
assert.calledThrice(breakouts.queryPreAssignments);
|
|
190
|
+
});
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
describe('#listenToCurrentSessionTypeChange', () => {
|
|
194
|
+
it('triggers leave breakout event when sessionType changed from SESSION to MAIN', () => {
|
|
195
|
+
const handler = sinon.stub();
|
|
196
|
+
breakouts.currentBreakoutSession.set({sessionType: BREAKOUTS.SESSION_TYPES.BREAKOUT})
|
|
197
|
+
breakouts.listenTo(breakouts, BREAKOUTS.EVENTS.LEAVE_BREAKOUT, handler);
|
|
198
|
+
breakouts.currentBreakoutSession.set({sessionType: BREAKOUTS.SESSION_TYPES.MAIN});
|
|
199
|
+
|
|
200
|
+
assert.calledOnceWithExactly(handler);
|
|
201
|
+
|
|
202
|
+
breakouts.stopListening(breakouts, BREAKOUTS.EVENTS.LEAVE_BREAKOUT, handler);
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
it('should not triggers leave breakout event when sessionType changed from undefined to MAIN', () => {
|
|
206
|
+
const handler = sinon.stub();
|
|
207
|
+
breakouts.currentBreakoutSession.set({sessionType: undefined})
|
|
208
|
+
breakouts.listenTo(breakouts, BREAKOUTS.EVENTS.LEAVE_BREAKOUT, handler);
|
|
209
|
+
breakouts.currentBreakoutSession.set({sessionType: BREAKOUTS.SESSION_TYPES.MAIN});
|
|
210
|
+
|
|
211
|
+
assert.notCalled(handler);
|
|
212
|
+
|
|
213
|
+
breakouts.stopListening(breakouts, BREAKOUTS.EVENTS.LEAVE_BREAKOUT, handler);
|
|
214
|
+
});
|
|
215
|
+
|
|
216
|
+
it('should not triggers leave breakout event when sessionType changed from MAIN to SESSION', () => {
|
|
217
|
+
const handler = sinon.stub();
|
|
218
|
+
breakouts.currentBreakoutSession.set({sessionType: BREAKOUTS.SESSION_TYPES.MAIN})
|
|
219
|
+
breakouts.listenTo(breakouts, BREAKOUTS.EVENTS.LEAVE_BREAKOUT, handler);
|
|
220
|
+
breakouts.currentBreakoutSession.set({sessionType: BREAKOUTS.SESSION_TYPES.BREAKOUT});
|
|
221
|
+
|
|
222
|
+
assert.notCalled(handler);
|
|
223
|
+
|
|
224
|
+
breakouts.stopListening(breakouts, BREAKOUTS.EVENTS.LEAVE_BREAKOUT, handler);
|
|
225
|
+
});
|
|
120
226
|
});
|
|
121
227
|
|
|
122
228
|
describe('#listenToBroadcastMessages', () => {
|
|
@@ -176,6 +282,33 @@ describe('plugin-meetings', () => {
|
|
|
176
282
|
});
|
|
177
283
|
});
|
|
178
284
|
|
|
285
|
+
describe('#listenToBreakoutHelp', () => {
|
|
286
|
+
it('triggers ask for help event when a help received', () => {
|
|
287
|
+
const call = webex.internal.mercury.on.getCall(1);
|
|
288
|
+
const callback = call.args[1];
|
|
289
|
+
|
|
290
|
+
assert.equal(call.args[0], 'event:breakout.help');
|
|
291
|
+
|
|
292
|
+
let data;
|
|
293
|
+
|
|
294
|
+
breakouts.listenTo(breakouts, BREAKOUTS.EVENTS.ASK_FOR_HELP, (eventData) => {
|
|
295
|
+
data = eventData;
|
|
296
|
+
});
|
|
297
|
+
|
|
298
|
+
callback({
|
|
299
|
+
data: {
|
|
300
|
+
participant: 'participant',
|
|
301
|
+
sessionId: 'sessionId'
|
|
302
|
+
},
|
|
303
|
+
});
|
|
304
|
+
|
|
305
|
+
assert.deepEqual(data, {
|
|
306
|
+
participant: 'participant',
|
|
307
|
+
sessionId: 'sessionId',
|
|
308
|
+
});
|
|
309
|
+
});
|
|
310
|
+
});
|
|
311
|
+
|
|
179
312
|
describe('#updateBreakout', () => {
|
|
180
313
|
it('updates the current breakout session', () => {
|
|
181
314
|
breakouts.updateBreakout({
|
|
@@ -215,6 +348,87 @@ describe('plugin-meetings', () => {
|
|
|
215
348
|
assert.equal(breakouts.currentBreakoutSession.assignedCurrent, false);
|
|
216
349
|
assert.equal(breakouts.currentBreakoutSession.requested, false);
|
|
217
350
|
});
|
|
351
|
+
|
|
352
|
+
it('update the startTime correctly when no attribute startTime exists on params', () => {
|
|
353
|
+
breakouts.updateBreakout({
|
|
354
|
+
startTime: "startTime"
|
|
355
|
+
})
|
|
356
|
+
assert.equal(breakouts.startTime, 'startTime');
|
|
357
|
+
|
|
358
|
+
breakouts.updateBreakout({})
|
|
359
|
+
assert.equal(breakouts.startTime, undefined);
|
|
360
|
+
});
|
|
361
|
+
|
|
362
|
+
it('update the status correctly when no attribute status exists on params', () => {
|
|
363
|
+
breakouts.updateBreakout({
|
|
364
|
+
status: 'CLOSING'
|
|
365
|
+
})
|
|
366
|
+
assert.equal(breakouts.status, 'CLOSING');
|
|
367
|
+
|
|
368
|
+
breakouts.updateBreakout({})
|
|
369
|
+
assert.equal(breakouts.status, undefined);
|
|
370
|
+
});
|
|
371
|
+
|
|
372
|
+
it('call clearBreakouts if current breakout is not in-progress', () => {
|
|
373
|
+
breakouts.clearBreakouts = sinon.stub();
|
|
374
|
+
breakouts.updateBreakout({status: 'CLOSED'})
|
|
375
|
+
assert.calledOnce(breakouts.clearBreakouts);
|
|
376
|
+
});
|
|
377
|
+
|
|
378
|
+
it('updates the current breakout session, call onBreakoutJoinResponse when session changed', () => {
|
|
379
|
+
breakouts.webex.meetings = {
|
|
380
|
+
getMeetingByType: sinon.stub().returns({
|
|
381
|
+
id: 'meeting-id'
|
|
382
|
+
})
|
|
383
|
+
};
|
|
384
|
+
breakoutEvent.onBreakoutJoinResponse = sinon.stub();
|
|
385
|
+
breakouts.currentBreakoutSession.sessionId = "sessionId-old";
|
|
386
|
+
breakouts.updateBreakout({
|
|
387
|
+
sessionId: 'sessionId-new',
|
|
388
|
+
groupId: 'groupId',
|
|
389
|
+
sessionType: 'sessionType',
|
|
390
|
+
url: 'url',
|
|
391
|
+
name: 'name',
|
|
392
|
+
allowBackToMain: true,
|
|
393
|
+
delayCloseTime: 10,
|
|
394
|
+
enableBreakoutSession: true,
|
|
395
|
+
startTime: 'startTime',
|
|
396
|
+
status: 'active',
|
|
397
|
+
locusUrl: 'locusUrl',
|
|
398
|
+
breakoutMoveId: 'breakoutMoveId',
|
|
399
|
+
});
|
|
400
|
+
|
|
401
|
+
assert.calledOnce(breakoutEvent.onBreakoutJoinResponse);
|
|
402
|
+
|
|
403
|
+
});
|
|
404
|
+
|
|
405
|
+
it('updates the current breakout session, not call onBreakoutJoinResponse when session no changed', () => {
|
|
406
|
+
breakouts.webex.meetings = {
|
|
407
|
+
getMeetingByType: sinon.stub().returns({
|
|
408
|
+
id: 'meeting-id'
|
|
409
|
+
})
|
|
410
|
+
};
|
|
411
|
+
breakoutEvent.onBreakoutJoinResponse = sinon.stub();
|
|
412
|
+
breakouts.currentBreakoutSession.sessionId = "sessionId";
|
|
413
|
+
breakouts.currentBreakoutSession.groupId = "groupId";
|
|
414
|
+
breakouts.updateBreakout({
|
|
415
|
+
sessionId: 'sessionId',
|
|
416
|
+
groupId: 'groupId',
|
|
417
|
+
sessionType: 'sessionType',
|
|
418
|
+
url: 'url',
|
|
419
|
+
name: 'name',
|
|
420
|
+
allowBackToMain: true,
|
|
421
|
+
delayCloseTime: 10,
|
|
422
|
+
enableBreakoutSession: true,
|
|
423
|
+
startTime: 'startTime',
|
|
424
|
+
status: 'active',
|
|
425
|
+
locusUrl: 'locusUrl',
|
|
426
|
+
breakoutMoveId: 'breakoutMoveId',
|
|
427
|
+
});
|
|
428
|
+
|
|
429
|
+
assert.notCalled(breakoutEvent.onBreakoutJoinResponse);
|
|
430
|
+
|
|
431
|
+
});
|
|
218
432
|
});
|
|
219
433
|
|
|
220
434
|
describe('#updateBreakoutSessions', () => {
|
|
@@ -235,7 +449,7 @@ describe('plugin-meetings', () => {
|
|
|
235
449
|
|
|
236
450
|
it('works', () => {
|
|
237
451
|
breakouts.set('url', 'url');
|
|
238
|
-
|
|
452
|
+
breakouts.set('sessionType', BREAKOUTS.SESSION_TYPES.MAIN);
|
|
239
453
|
const payload = {
|
|
240
454
|
breakoutSessions: {
|
|
241
455
|
active: [{sessionId: 'sessionId1'}],
|
|
@@ -254,6 +468,26 @@ describe('plugin-meetings', () => {
|
|
|
254
468
|
checkBreakout(breakouts.breakouts.get('sessionId4'), 'sessionId4', 'assignedCurrent');
|
|
255
469
|
checkBreakout(breakouts.breakouts.get('sessionId5'), 'sessionId5', 'requested');
|
|
256
470
|
});
|
|
471
|
+
|
|
472
|
+
it('set requestedLastModifiedTime correctly', () => {
|
|
473
|
+
const payload = {
|
|
474
|
+
breakoutSessions: {
|
|
475
|
+
assigned: [{sessionId: 'sessionId1'}],
|
|
476
|
+
requested: [{sessionId: 'sessionId2', modifiedAt: "2023-05-09T17:16:01.000Z"}],
|
|
477
|
+
},
|
|
478
|
+
};
|
|
479
|
+
|
|
480
|
+
breakouts.updateBreakoutSessions(payload);
|
|
481
|
+
assert.equal(breakouts.breakouts.get('sessionId1').requestedLastModifiedTime, undefined)
|
|
482
|
+
assert.equal(breakouts.breakouts.get('sessionId2').requestedLastModifiedTime, "2023-05-09T17:16:01.000Z")
|
|
483
|
+
});
|
|
484
|
+
|
|
485
|
+
it('not update breakout sessions when breakouts is closing', () => {
|
|
486
|
+
breakouts.set('status', 'CLOSING');
|
|
487
|
+
breakouts.breakouts.set = sinon.stub();
|
|
488
|
+
breakouts.updateBreakoutSessions({breakoutSessions: {}});
|
|
489
|
+
assert.notCalled(breakouts.breakouts.set);
|
|
490
|
+
});
|
|
257
491
|
});
|
|
258
492
|
|
|
259
493
|
describe('#locusUrlUpdate', () => {
|
|
@@ -264,6 +498,18 @@ describe('plugin-meetings', () => {
|
|
|
264
498
|
});
|
|
265
499
|
});
|
|
266
500
|
|
|
501
|
+
describe('#updateCanManageBreakouts', () => {
|
|
502
|
+
it('update canManageBreakouts', () => {
|
|
503
|
+
breakouts.updateCanManageBreakouts(true);
|
|
504
|
+
|
|
505
|
+
assert.equal(breakouts.canManageBreakouts, true);
|
|
506
|
+
|
|
507
|
+
breakouts.updateCanManageBreakouts(false);
|
|
508
|
+
|
|
509
|
+
assert.equal(breakouts.canManageBreakouts, false);
|
|
510
|
+
});
|
|
511
|
+
});
|
|
512
|
+
|
|
267
513
|
describe('#cleanUp', () => {
|
|
268
514
|
it('stops listening', () => {
|
|
269
515
|
breakouts.stopListening = sinon.stub();
|
|
@@ -302,6 +548,112 @@ describe('plugin-meetings', () => {
|
|
|
302
548
|
});
|
|
303
549
|
});
|
|
304
550
|
|
|
551
|
+
describe('#breakoutGroupId', () => {
|
|
552
|
+
it('return empty breakout group id for managing breakouts if no data', () => {
|
|
553
|
+
assert.equal(breakouts.breakoutGroupId, '');
|
|
554
|
+
breakouts.set('manageGroups', []);
|
|
555
|
+
assert.equal(breakouts.breakoutGroupId, '');
|
|
556
|
+
breakouts.set('manageGroups', [{name: 'test'}]);
|
|
557
|
+
assert.equal(breakouts.breakoutGroupId, undefined);
|
|
558
|
+
});
|
|
559
|
+
it('return the group id if has id in manageGroups', () => {
|
|
560
|
+
breakouts.set('manageGroups', [{id: 'groupId1'}]);
|
|
561
|
+
assert.equal(breakouts.breakoutGroupId, 'groupId1');
|
|
562
|
+
});
|
|
563
|
+
it('return empty group id if group status is CLOSED', () => {
|
|
564
|
+
breakouts.set('manageGroups', [{id: 'groupId1', status: 'CLOSED'}]);
|
|
565
|
+
assert.equal(breakouts.breakoutGroupId, '');
|
|
566
|
+
});
|
|
567
|
+
});
|
|
568
|
+
|
|
569
|
+
describe('#shouldQueryPreAssignments', () => {
|
|
570
|
+
it('returns should query preAssignments depends on status', () => {
|
|
571
|
+
assert.equal(breakouts.shouldQueryPreAssignments, false);
|
|
572
|
+
breakouts.set('canManageBreakouts', true);
|
|
573
|
+
assert.equal(breakouts.shouldQueryPreAssignments, false);
|
|
574
|
+
breakouts.set('enableBreakoutSession', true);
|
|
575
|
+
assert.equal(breakouts.shouldQueryPreAssignments, false);
|
|
576
|
+
breakouts.set('hasBreakoutPreAssignments', true);
|
|
577
|
+
assert.equal(breakouts.shouldQueryPreAssignments, true);
|
|
578
|
+
});
|
|
579
|
+
});
|
|
580
|
+
|
|
581
|
+
describe('#breakoutStatus', () => {
|
|
582
|
+
it('return status from groups with session type', () => {
|
|
583
|
+
breakouts.set('groups', [{status: "OPEN"}]);
|
|
584
|
+
breakouts.set('status', "CLOSED");
|
|
585
|
+
breakouts.set('sessionType', BREAKOUTS.SESSION_TYPES.MAIN);
|
|
586
|
+
|
|
587
|
+
assert.equal(breakouts.breakoutStatus, "OPEN")
|
|
588
|
+
|
|
589
|
+
breakouts.set('sessionType', BREAKOUTS.SESSION_TYPES.BREAKOUT);
|
|
590
|
+
|
|
591
|
+
assert.equal(breakouts.breakoutStatus, "CLOSED")
|
|
592
|
+
});
|
|
593
|
+
});
|
|
594
|
+
|
|
595
|
+
describe('#_setManageGroups', () => {
|
|
596
|
+
it('do nothing if breakout info is empty', () => {
|
|
597
|
+
breakouts._setManageGroups();
|
|
598
|
+
assert.equal(breakouts.manageGroups, undefined);
|
|
599
|
+
breakouts._setManageGroups({body: null});
|
|
600
|
+
assert.equal(breakouts.manageGroups, undefined);
|
|
601
|
+
breakouts._setManageGroups({body: {groups: null}});
|
|
602
|
+
assert.equal(breakouts.manageGroups, undefined);
|
|
603
|
+
});
|
|
604
|
+
it('set the groups into manageGroups if has groups in side breakout info', () => {
|
|
605
|
+
breakouts._setManageGroups({body: {groups: [{id: 'groupId1'}]}});
|
|
606
|
+
assert.deepEqual(breakouts.manageGroups, [{id: 'groupId1'}]);
|
|
607
|
+
});
|
|
608
|
+
});
|
|
609
|
+
|
|
610
|
+
describe('#isBreakoutInProgress', () => {
|
|
611
|
+
it('return breakout is in progress depends on the status(groups/breakouts)', () => {
|
|
612
|
+
breakouts.set('groups', [{status: 'CLOSING'}]);
|
|
613
|
+
|
|
614
|
+
assert.equal(breakouts.isBreakoutInProgress(), true)
|
|
615
|
+
|
|
616
|
+
breakouts.set('groups', undefined);
|
|
617
|
+
breakouts.set('status', 'OPEN');
|
|
618
|
+
|
|
619
|
+
assert.equal(breakouts.isBreakoutInProgress(), true);
|
|
620
|
+
|
|
621
|
+
breakouts.set('groups', [{status: 'CLOSED'}]);
|
|
622
|
+
|
|
623
|
+
assert.equal(breakouts.isBreakoutInProgress(), false);
|
|
624
|
+
|
|
625
|
+
breakouts.set('groups', undefined);
|
|
626
|
+
breakouts.set('status', 'CLOSED');
|
|
627
|
+
|
|
628
|
+
assert.equal(breakouts.isBreakoutInProgress(), false);
|
|
629
|
+
|
|
630
|
+
breakouts.set('status', undefined);
|
|
631
|
+
|
|
632
|
+
assert.equal(breakouts.isBreakoutInProgress(), false);
|
|
633
|
+
});
|
|
634
|
+
});
|
|
635
|
+
|
|
636
|
+
describe('#isBreakoutIClosing', () => {
|
|
637
|
+
it('return breakout is closing depends the status(groups/breakouts)', () => {
|
|
638
|
+
breakouts.set('groups', [{status: 'CLOSING'}]);
|
|
639
|
+
|
|
640
|
+
assert.equal(breakouts.isBreakoutIClosing(), true);
|
|
641
|
+
|
|
642
|
+
breakouts.set('groups', undefined);
|
|
643
|
+
breakouts.set('status', 'CLOSING');
|
|
644
|
+
|
|
645
|
+
assert.equal(breakouts.isBreakoutIClosing(), true);
|
|
646
|
+
|
|
647
|
+
breakouts.set('status', undefined);
|
|
648
|
+
|
|
649
|
+
assert.equal(breakouts.isBreakoutIClosing(), false);
|
|
650
|
+
|
|
651
|
+
breakouts.set('groups', [{status: 'OPEN'}]);
|
|
652
|
+
|
|
653
|
+
assert.equal(breakouts.isBreakoutIClosing(), false);
|
|
654
|
+
});
|
|
655
|
+
});
|
|
656
|
+
|
|
305
657
|
describe('#queryRosters', () => {
|
|
306
658
|
it('makes the expected query', async () => {
|
|
307
659
|
webex.request.returns(
|
|
@@ -369,6 +721,22 @@ describe('plugin-meetings', () => {
|
|
|
369
721
|
});
|
|
370
722
|
});
|
|
371
723
|
|
|
724
|
+
describe('#clearBreakouts', () => {
|
|
725
|
+
it('call reset to clear breakouts', () => {
|
|
726
|
+
breakouts.set('breakouts', [{id: 'session1'}]);
|
|
727
|
+
breakouts.breakouts.reset = sinon.stub();
|
|
728
|
+
breakouts.clearBreakouts();
|
|
729
|
+
assert.calledWith(breakouts.breakouts.reset);
|
|
730
|
+
});
|
|
731
|
+
|
|
732
|
+
it('do nothing if breakouts already is empty', () => {
|
|
733
|
+
breakouts.set('breakouts', []);
|
|
734
|
+
breakouts.breakouts.reset = sinon.stub();
|
|
735
|
+
breakouts.clearBreakouts();
|
|
736
|
+
assert.notCalled(breakouts.breakouts.reset);
|
|
737
|
+
});
|
|
738
|
+
});
|
|
739
|
+
|
|
372
740
|
describe('#getMainSession', () => {
|
|
373
741
|
it('returns main session as expect', () => {
|
|
374
742
|
breakouts.updateBreakout({
|
|
@@ -389,9 +757,9 @@ describe('plugin-meetings', () => {
|
|
|
389
757
|
active: [{sessionId: 'sessionId1'}],
|
|
390
758
|
},
|
|
391
759
|
};
|
|
392
|
-
breakouts.updateBreakoutSessions(payload);
|
|
393
760
|
|
|
394
761
|
breakouts.set('sessionType', BREAKOUTS.SESSION_TYPES.MAIN);
|
|
762
|
+
breakouts.updateBreakoutSessions(payload);
|
|
395
763
|
let result = breakouts.getMainSession();
|
|
396
764
|
assert.equal(result.sessionId, 'sessionId');
|
|
397
765
|
|
|
@@ -438,18 +806,19 @@ describe('plugin-meetings', () => {
|
|
|
438
806
|
});
|
|
439
807
|
|
|
440
808
|
describe('#toggleBreakout', () => {
|
|
809
|
+
const mockEnableResponse = {
|
|
810
|
+
body: {
|
|
811
|
+
sessionId: 'sessionId',
|
|
812
|
+
groupId: 'groupId',
|
|
813
|
+
name: 'name',
|
|
814
|
+
current: true,
|
|
815
|
+
sessionType: 'sessionType',
|
|
816
|
+
url: 'url',
|
|
817
|
+
},
|
|
818
|
+
};
|
|
441
819
|
it('enableBreakoutSession is undefined, run enableBreakouts then toggleBreakout', async () => {
|
|
442
820
|
breakouts.enableBreakoutSession = undefined;
|
|
443
|
-
breakouts.enableBreakouts = sinon.stub().resolves(
|
|
444
|
-
body: {
|
|
445
|
-
sessionId: 'sessionId',
|
|
446
|
-
groupId: 'groupId',
|
|
447
|
-
name: 'name',
|
|
448
|
-
current: true,
|
|
449
|
-
sessionType: 'sessionType',
|
|
450
|
-
url: 'url',
|
|
451
|
-
},
|
|
452
|
-
});
|
|
821
|
+
breakouts.enableBreakouts = sinon.stub().resolves(mockEnableResponse);
|
|
453
822
|
breakouts.updateBreakout = sinon.stub().resolves();
|
|
454
823
|
breakouts.doToggleBreakout = sinon.stub().resolves();
|
|
455
824
|
|
|
@@ -466,6 +835,25 @@ describe('plugin-meetings', () => {
|
|
|
466
835
|
assert.calledOnceWithExactly(breakouts.doToggleBreakout, false);
|
|
467
836
|
});
|
|
468
837
|
|
|
838
|
+
it('first time enable breakouts, call updateBreakout to set initial params', async () => {
|
|
839
|
+
breakouts.enableBreakoutSession = undefined;
|
|
840
|
+
breakouts.enableBreakouts = sinon.stub().resolves(mockEnableResponse);
|
|
841
|
+
breakouts.updateBreakout = sinon.stub().resolves();
|
|
842
|
+
breakouts.doToggleBreakout = sinon.stub();
|
|
843
|
+
|
|
844
|
+
await breakouts.toggleBreakout(true);
|
|
845
|
+
assert.calledOnceWithExactly(breakouts.updateBreakout, {
|
|
846
|
+
sessionId: 'sessionId',
|
|
847
|
+
groupId: 'groupId',
|
|
848
|
+
name: 'name',
|
|
849
|
+
current: true,
|
|
850
|
+
sessionType: 'sessionType',
|
|
851
|
+
url: 'url',
|
|
852
|
+
});
|
|
853
|
+
|
|
854
|
+
assert.notCalled(breakouts.doToggleBreakout);
|
|
855
|
+
});
|
|
856
|
+
|
|
469
857
|
it('enableBreakoutSession is exist, run toggleBreakout', async () => {
|
|
470
858
|
breakouts.enableBreakoutSession = true;
|
|
471
859
|
breakouts.doToggleBreakout = sinon.stub().resolves();
|
|
@@ -532,6 +920,12 @@ describe('plugin-meetings', () => {
|
|
|
532
920
|
|
|
533
921
|
describe('#update', () => {
|
|
534
922
|
it('makes the request as expected', async () => {
|
|
923
|
+
const mockedReturnBody = getBOResponse('OPEN');
|
|
924
|
+
webex.request.returns(
|
|
925
|
+
Promise.resolve({
|
|
926
|
+
body: mockedReturnBody,
|
|
927
|
+
})
|
|
928
|
+
);
|
|
535
929
|
breakouts.editLock = {
|
|
536
930
|
token: 'token1',
|
|
537
931
|
};
|
|
@@ -539,6 +933,7 @@ describe('plugin-meetings', () => {
|
|
|
539
933
|
id: 'groupId',
|
|
540
934
|
sessions: [{name: 'Session 1'}],
|
|
541
935
|
};
|
|
936
|
+
breakouts._setManageGroups = sinon.stub();
|
|
542
937
|
const result = await breakouts.update(params);
|
|
543
938
|
assert.calledOnceWithExactly(webex.request, {
|
|
544
939
|
method: 'PUT',
|
|
@@ -548,6 +943,29 @@ describe('plugin-meetings', () => {
|
|
|
548
943
|
groups: [params],
|
|
549
944
|
},
|
|
550
945
|
});
|
|
946
|
+
assert.calledOnceWithExactly(breakouts._setManageGroups, {
|
|
947
|
+
body: mockedReturnBody,
|
|
948
|
+
});
|
|
949
|
+
});
|
|
950
|
+
it('makes the request as expected when unlockEdit is true', async () => {
|
|
951
|
+
breakouts.editLock = {
|
|
952
|
+
token: 'token1',
|
|
953
|
+
};
|
|
954
|
+
const params = {
|
|
955
|
+
id: 'groupId',
|
|
956
|
+
sessions: [{name: 'Session 1'}],
|
|
957
|
+
};
|
|
958
|
+
breakouts._clearEditLockInfo = sinon.stub();
|
|
959
|
+
const result = await breakouts.update(params, true);
|
|
960
|
+
assert.calledOnceWithExactly(webex.request, {
|
|
961
|
+
method: 'PUT',
|
|
962
|
+
uri: 'url',
|
|
963
|
+
body: {
|
|
964
|
+
editlock: {token: 'token1', refresh: false},
|
|
965
|
+
groups: [params],
|
|
966
|
+
},
|
|
967
|
+
});
|
|
968
|
+
assert.calledOnceWithExactly(breakouts._clearEditLockInfo);
|
|
551
969
|
});
|
|
552
970
|
it('throw error if missing id in params', async () => {
|
|
553
971
|
const params = {
|
|
@@ -580,7 +998,7 @@ describe('plugin-meetings', () => {
|
|
|
580
998
|
);
|
|
581
999
|
assert.calledOnceWithExactly(
|
|
582
1000
|
LoggerProxy.logger.info,
|
|
583
|
-
'Breakouts#update --> Edit lock token mismatch'
|
|
1001
|
+
'Breakouts#update --> Edit lock token mismatch'
|
|
584
1002
|
);
|
|
585
1003
|
});
|
|
586
1004
|
|
|
@@ -607,15 +1025,13 @@ describe('plugin-meetings', () => {
|
|
|
607
1025
|
|
|
608
1026
|
assert.calledOnceWithExactly(
|
|
609
1027
|
LoggerProxy.logger.info,
|
|
610
|
-
'Breakouts#update --> Not authorized to interact with edit lock'
|
|
1028
|
+
'Breakouts#update --> Not authorized to interact with edit lock'
|
|
611
1029
|
);
|
|
612
1030
|
});
|
|
613
1031
|
|
|
614
1032
|
it('rejects when other unknow error', async () => {
|
|
615
1033
|
const mockError = new Error('something wrong');
|
|
616
|
-
webex.request.returns(
|
|
617
|
-
Promise.reject(mockError)
|
|
618
|
-
);
|
|
1034
|
+
webex.request.returns(Promise.reject(mockError));
|
|
619
1035
|
LoggerProxy.logger.info = sinon.stub();
|
|
620
1036
|
|
|
621
1037
|
const params = {
|
|
@@ -623,24 +1039,21 @@ describe('plugin-meetings', () => {
|
|
|
623
1039
|
sessions: [{name: 'Session 1'}],
|
|
624
1040
|
};
|
|
625
1041
|
|
|
626
|
-
await assert.isRejected(
|
|
627
|
-
breakouts.update(params),
|
|
628
|
-
mockError,
|
|
629
|
-
'something wrong'
|
|
630
|
-
);
|
|
1042
|
+
await assert.isRejected(breakouts.update(params), mockError, 'something wrong');
|
|
631
1043
|
|
|
632
1044
|
assert.calledOnceWithExactly(
|
|
633
1045
|
LoggerProxy.logger.info,
|
|
634
|
-
'Breakouts#update --> something wrong'
|
|
1046
|
+
'Breakouts#update --> something wrong'
|
|
635
1047
|
);
|
|
636
1048
|
});
|
|
637
1049
|
});
|
|
638
1050
|
|
|
639
1051
|
describe('#start', () => {
|
|
640
1052
|
it('should start breakout sessions', async () => {
|
|
1053
|
+
const mockedReturnBody = getBOResponse('OPEN');
|
|
641
1054
|
webex.request.returns(
|
|
642
1055
|
Promise.resolve({
|
|
643
|
-
body:
|
|
1056
|
+
body: mockedReturnBody,
|
|
644
1057
|
})
|
|
645
1058
|
);
|
|
646
1059
|
|
|
@@ -648,6 +1061,7 @@ describe('plugin-meetings', () => {
|
|
|
648
1061
|
await breakouts.getBreakout();
|
|
649
1062
|
|
|
650
1063
|
const result = await breakouts.start();
|
|
1064
|
+
breakouts._setManageGroups = sinon.stub();
|
|
651
1065
|
await breakouts.start({id: 'id', someOtherParam: 'someOtherParam'});
|
|
652
1066
|
|
|
653
1067
|
const arg = webex.request.getCall(1).args[0];
|
|
@@ -661,7 +1075,6 @@ describe('plugin-meetings', () => {
|
|
|
661
1075
|
action: 'START',
|
|
662
1076
|
allowBackToMain: false,
|
|
663
1077
|
allowToJoinLater: false,
|
|
664
|
-
duration: BREAKOUTS.DEFAULT_DURATION,
|
|
665
1078
|
});
|
|
666
1079
|
assert.deepEqual(argObj2, {
|
|
667
1080
|
id: 'id',
|
|
@@ -669,9 +1082,9 @@ describe('plugin-meetings', () => {
|
|
|
669
1082
|
allowBackToMain: false,
|
|
670
1083
|
allowToJoinLater: false,
|
|
671
1084
|
someOtherParam: 'someOtherParam',
|
|
672
|
-
duration: BREAKOUTS.DEFAULT_DURATION,
|
|
673
1085
|
});
|
|
674
|
-
assert.deepEqual(result, {body:
|
|
1086
|
+
assert.deepEqual(result, {body: mockedReturnBody});
|
|
1087
|
+
assert.calledWithExactly(breakouts._setManageGroups, {body: mockedReturnBody})
|
|
675
1088
|
});
|
|
676
1089
|
|
|
677
1090
|
it('rejects when edit lock token mismatch', async () => {
|
|
@@ -705,6 +1118,8 @@ describe('plugin-meetings', () => {
|
|
|
705
1118
|
await breakouts.getBreakout();
|
|
706
1119
|
|
|
707
1120
|
const result = await breakouts.end();
|
|
1121
|
+
|
|
1122
|
+
breakouts._setManageGroups = sinon.stub();
|
|
708
1123
|
await breakouts.end({id: 'id', someOtherParam: 'someOtherParam'});
|
|
709
1124
|
const arg = webex.request.getCall(1).args[0];
|
|
710
1125
|
const argObj1 = arg.body.groups[0];
|
|
@@ -720,6 +1135,7 @@ describe('plugin-meetings', () => {
|
|
|
720
1135
|
someOtherParam: 'someOtherParam',
|
|
721
1136
|
});
|
|
722
1137
|
assert.deepEqual(result, {body: getBOResponse('CLOSING')});
|
|
1138
|
+
assert.calledOnceWithExactly(breakouts._setManageGroups, {body: getBOResponse('CLOSING')});
|
|
723
1139
|
});
|
|
724
1140
|
|
|
725
1141
|
it('rejects when edit lock token mismatch', async () => {
|
|
@@ -750,6 +1166,8 @@ describe('plugin-meetings', () => {
|
|
|
750
1166
|
|
|
751
1167
|
breakouts.set('url', 'url');
|
|
752
1168
|
const result = await breakouts.getBreakout();
|
|
1169
|
+
|
|
1170
|
+
breakouts._setManageGroups = sinon.stub();
|
|
753
1171
|
await breakouts.getBreakout(true);
|
|
754
1172
|
const arg1 = webex.request.getCall(0).args[0];
|
|
755
1173
|
const arg2 = webex.request.getCall(1).args[0];
|
|
@@ -758,8 +1176,22 @@ describe('plugin-meetings', () => {
|
|
|
758
1176
|
assert.equal(arg2.uri, 'url?editlock=true');
|
|
759
1177
|
assert.equal(arg1.method, 'GET');
|
|
760
1178
|
assert.deepEqual(result, {body: getBOResponse('PENDING')});
|
|
761
|
-
assert.deepEqual(breakouts.
|
|
1179
|
+
assert.deepEqual(breakouts.manageGroups, result.body.groups);
|
|
762
1180
|
assert.equal(breakouts.breakoutGroupId, 'groupId');
|
|
1181
|
+
assert.calledOnceWithExactly(breakouts._setManageGroups, {body: getBOResponse('PENDING')});
|
|
1182
|
+
});
|
|
1183
|
+
|
|
1184
|
+
it('breakoutGroupId should be empty if it is CLOSED group', async () => {
|
|
1185
|
+
webex.request.returns(
|
|
1186
|
+
Promise.resolve({
|
|
1187
|
+
body: getBOResponse('CLOSED'),
|
|
1188
|
+
})
|
|
1189
|
+
);
|
|
1190
|
+
|
|
1191
|
+
breakouts.set('url', 'url');
|
|
1192
|
+
await breakouts.getBreakout();
|
|
1193
|
+
|
|
1194
|
+
assert.equal(breakouts.breakoutGroupId, '');
|
|
763
1195
|
});
|
|
764
1196
|
|
|
765
1197
|
it('should call keep alive when response with edit lock info', async () => {
|
|
@@ -831,6 +1263,7 @@ describe('plugin-meetings', () => {
|
|
|
831
1263
|
})
|
|
832
1264
|
);
|
|
833
1265
|
|
|
1266
|
+
breakouts._setManageGroups = sinon.stub();
|
|
834
1267
|
const result = await breakouts.clearSessions();
|
|
835
1268
|
assert.calledOnceWithExactly(webex.request, {
|
|
836
1269
|
method: 'PUT',
|
|
@@ -844,7 +1277,17 @@ describe('plugin-meetings', () => {
|
|
|
844
1277
|
},
|
|
845
1278
|
});
|
|
846
1279
|
|
|
847
|
-
assert.
|
|
1280
|
+
assert.calledOnceWithExactly(breakouts._setManageGroups, {
|
|
1281
|
+
body: {
|
|
1282
|
+
groups: [
|
|
1283
|
+
{
|
|
1284
|
+
id: '455556a4-37cd-4baa-89bc-8730581a1cc0',
|
|
1285
|
+
status: 'CLOSE',
|
|
1286
|
+
type: 'BREAKOUT',
|
|
1287
|
+
},
|
|
1288
|
+
],
|
|
1289
|
+
},
|
|
1290
|
+
});
|
|
848
1291
|
});
|
|
849
1292
|
|
|
850
1293
|
it('rejects when edit lock token mismatch', async () => {
|
|
@@ -868,7 +1311,7 @@ describe('plugin-meetings', () => {
|
|
|
868
1311
|
describe('create', () => {
|
|
869
1312
|
it('response not include groups info', async () => {
|
|
870
1313
|
const sessions = [{name: 'session1', anyoneCanJoin: true}];
|
|
871
|
-
const result = await breakouts.create(sessions);
|
|
1314
|
+
const result = await breakouts.create({sessions});
|
|
872
1315
|
|
|
873
1316
|
assert.equal(result, 'REQUEST_RETURN_VALUE');
|
|
874
1317
|
});
|
|
@@ -890,9 +1333,9 @@ describe('plugin-meetings', () => {
|
|
|
890
1333
|
})
|
|
891
1334
|
);
|
|
892
1335
|
|
|
893
|
-
const result = await breakouts.create(sessions);
|
|
1336
|
+
const result = await breakouts.create({sessions});
|
|
894
1337
|
|
|
895
|
-
assert.equal(breakouts.
|
|
1338
|
+
assert.equal(breakouts.manageGroups[0].id, '455556a4-37cd-4baa-89bc-8730581a1cc0');
|
|
896
1339
|
});
|
|
897
1340
|
|
|
898
1341
|
it('rejects when edit lock token mismatch', async () => {
|
|
@@ -908,7 +1351,7 @@ describe('plugin-meetings', () => {
|
|
|
908
1351
|
);
|
|
909
1352
|
|
|
910
1353
|
await assert.isRejected(
|
|
911
|
-
breakouts.create(sessions),
|
|
1354
|
+
breakouts.create({sessions}),
|
|
912
1355
|
BreakoutEditLockedError,
|
|
913
1356
|
'Edit lock token mismatch'
|
|
914
1357
|
);
|
|
@@ -937,6 +1380,38 @@ describe('plugin-meetings', () => {
|
|
|
937
1380
|
});
|
|
938
1381
|
});
|
|
939
1382
|
|
|
1383
|
+
describe('hasBreakoutLocked', () => {
|
|
1384
|
+
it('has breakout locked is true', async () => {
|
|
1385
|
+
breakouts.editLock = {
|
|
1386
|
+
ttl: 30,
|
|
1387
|
+
token: 'token',
|
|
1388
|
+
state: 'LOCKED',
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
assert.equal(breakouts.hasBreakoutLocked(), true);
|
|
1392
|
+
});
|
|
1393
|
+
|
|
1394
|
+
it('breakout locked by others', async () => {
|
|
1395
|
+
breakouts.editLock = {
|
|
1396
|
+
ttl: 30,
|
|
1397
|
+
token: '',
|
|
1398
|
+
state: 'LOCKED',
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
assert.equal(breakouts.hasBreakoutLocked(), false);
|
|
1402
|
+
});
|
|
1403
|
+
|
|
1404
|
+
it('breakout not locked', async () => {
|
|
1405
|
+
breakouts.editLock = {
|
|
1406
|
+
ttl: 30,
|
|
1407
|
+
token: '',
|
|
1408
|
+
state: 'UNLOCKED',
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
assert.equal(breakouts.hasBreakoutLocked(), false);
|
|
1412
|
+
});
|
|
1413
|
+
});
|
|
1414
|
+
|
|
940
1415
|
describe('lockBreakout', () => {
|
|
941
1416
|
it('lock breakout is true', async () => {
|
|
942
1417
|
breakouts.editLock = {
|
|
@@ -987,7 +1462,6 @@ describe('plugin-meetings', () => {
|
|
|
987
1462
|
});
|
|
988
1463
|
|
|
989
1464
|
it('do not call unLock if edit lock info not exist ', async () => {
|
|
990
|
-
|
|
991
1465
|
breakouts.unLockEditBreakout();
|
|
992
1466
|
assert.notCalled(webex.request);
|
|
993
1467
|
});
|
|
@@ -1138,65 +1612,80 @@ describe('plugin-meetings', () => {
|
|
|
1138
1612
|
assert.calledOnceWithExactly(breakouts.assign, params);
|
|
1139
1613
|
assert.equal(result, 'ASSIGN_RETURN_VALUE');
|
|
1140
1614
|
});
|
|
1615
|
+
|
|
1616
|
+
it('called with editlock', async () => {
|
|
1617
|
+
breakouts.request = sinon.stub().returns(Promise.resolve('ASSIGN_RETURN_VALUE'));
|
|
1618
|
+
breakouts.editLock = {
|
|
1619
|
+
token: 'token1',
|
|
1620
|
+
};
|
|
1621
|
+
const params = [{id: 'sessionId', emails: ['111@cisco.com'], memberIds: []}];
|
|
1622
|
+
await breakouts.assign(params);
|
|
1623
|
+
const args = breakouts.request.getCall(0).args[0];
|
|
1624
|
+
expect(args).to.be.an('object', {
|
|
1625
|
+
method: 'PUT',
|
|
1626
|
+
uri: 'url',
|
|
1627
|
+
body: {
|
|
1628
|
+
editlock: {token: 'token1', refresh: true},
|
|
1629
|
+
groups: {
|
|
1630
|
+
id: 'sessionId',
|
|
1631
|
+
sessions: [
|
|
1632
|
+
{
|
|
1633
|
+
id: 'sessionId',
|
|
1634
|
+
assigned: [],
|
|
1635
|
+
assignedEmails: ['111@cisco.com'],
|
|
1636
|
+
anyoneCanJoin: false,
|
|
1637
|
+
},
|
|
1638
|
+
],
|
|
1639
|
+
},
|
|
1640
|
+
},
|
|
1641
|
+
});
|
|
1642
|
+
});
|
|
1141
1643
|
});
|
|
1142
1644
|
|
|
1143
|
-
describe('queryPreAssignments', () => {
|
|
1645
|
+
describe('#queryPreAssignments', () => {
|
|
1144
1646
|
it('makes the expected query', async () => {
|
|
1647
|
+
const mockPreAssignments = [
|
|
1648
|
+
{
|
|
1649
|
+
sessions: [
|
|
1650
|
+
{
|
|
1651
|
+
name: 'Breakout session 1',
|
|
1652
|
+
assignedEmails: ['aa@aa.com', 'bb@bb.com', 'cc@cc.com'],
|
|
1653
|
+
anyoneCanJoin: false,
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
name: 'Breakout session 2',
|
|
1657
|
+
anyoneCanJoin: false,
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
name: 'Breakout session 3',
|
|
1661
|
+
assignedEmails: ['cc@cc.com'],
|
|
1662
|
+
anyoneCanJoin: false,
|
|
1663
|
+
},
|
|
1664
|
+
],
|
|
1665
|
+
unassignedInvitees: {
|
|
1666
|
+
emails: ['dd@dd.com'],
|
|
1667
|
+
},
|
|
1668
|
+
type: 'BREAKOUT',
|
|
1669
|
+
},
|
|
1670
|
+
];
|
|
1145
1671
|
webex.request.returns(
|
|
1146
1672
|
Promise.resolve({
|
|
1147
1673
|
body: {
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
"sessions": [
|
|
1151
|
-
{
|
|
1152
|
-
"name": "Breakout session 1",
|
|
1153
|
-
"assignedEmails": [
|
|
1154
|
-
"a@a.com",
|
|
1155
|
-
"b@b.com",
|
|
1156
|
-
"jial2@cisco.com"
|
|
1157
|
-
],
|
|
1158
|
-
"anyoneCanJoin": false
|
|
1159
|
-
},
|
|
1160
|
-
{
|
|
1161
|
-
"name": "Breakout session 2",
|
|
1162
|
-
"anyoneCanJoin": false
|
|
1163
|
-
},
|
|
1164
|
-
{
|
|
1165
|
-
"name": "Breakout session 3",
|
|
1166
|
-
"assignedEmails": [
|
|
1167
|
-
"c@c.com"
|
|
1168
|
-
],
|
|
1169
|
-
"anyoneCanJoin": false
|
|
1170
|
-
}
|
|
1171
|
-
],
|
|
1172
|
-
"unassignedInvitees": {
|
|
1173
|
-
"emails": [
|
|
1174
|
-
"d@d.com"
|
|
1175
|
-
]
|
|
1176
|
-
},
|
|
1177
|
-
"type": "BREAKOUT"
|
|
1178
|
-
}
|
|
1179
|
-
]
|
|
1180
|
-
}
|
|
1674
|
+
groups: mockPreAssignments,
|
|
1675
|
+
},
|
|
1181
1676
|
})
|
|
1182
1677
|
);
|
|
1183
|
-
breakouts.
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
assert.
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
assert.
|
|
1194
|
-
assert.equal(breakouts.groups[0].sessions[2].name,'Breakout session 3');
|
|
1195
|
-
assert.equal(breakouts.groups[0].sessions[2].anyoneCanJoin,false);
|
|
1196
|
-
assert.equal(breakouts.groups[0].sessions[2].assignedEmails[0], 'c@c.com');
|
|
1197
|
-
assert.equal(breakouts.groups[0].unassignedInvitees.emails[0],'d@d.com');
|
|
1198
|
-
assert.equal(breakouts.groups[0].type,'BREAKOUT');
|
|
1199
|
-
assert.equal(breakouts.shouldFetchPreassignments, true);
|
|
1678
|
+
breakouts.set('locusUrl', 'test');
|
|
1679
|
+
|
|
1680
|
+
await breakouts.queryPreAssignments();
|
|
1681
|
+
assert.calledOnceWithExactly(webex.request, {
|
|
1682
|
+
uri: 'url/preassignments',
|
|
1683
|
+
qs: {
|
|
1684
|
+
locusUrl: 'dGVzdA==',
|
|
1685
|
+
}
|
|
1686
|
+
});
|
|
1687
|
+
|
|
1688
|
+
assert.deepEqual(breakouts.preAssignments, mockPreAssignments);
|
|
1200
1689
|
});
|
|
1201
1690
|
|
|
1202
1691
|
it('rejects when no pre-assignments created for this meeting', async () => {
|
|
@@ -1204,20 +1693,35 @@ describe('plugin-meetings', () => {
|
|
|
1204
1693
|
statusCode: 404,
|
|
1205
1694
|
body: {
|
|
1206
1695
|
errorCode: 201404004,
|
|
1207
|
-
message: 'No pre-assignments created for this meeting'
|
|
1696
|
+
message: 'No pre-assignments created for this meeting',
|
|
1208
1697
|
},
|
|
1209
1698
|
};
|
|
1210
1699
|
webex.request.rejects(response);
|
|
1211
1700
|
LoggerProxy.logger.error = sinon.stub();
|
|
1212
|
-
const result = await breakouts.queryPreAssignments();
|
|
1701
|
+
const result = await breakouts.queryPreAssignments({enableBreakoutSession: true, hasBreakoutPreAssignments: true});
|
|
1213
1702
|
await testUtils.flushPromises();
|
|
1214
1703
|
assert.calledOnceWithExactly(
|
|
1215
1704
|
LoggerProxy.logger.error,
|
|
1216
1705
|
'Meeting:breakouts#queryPreAssignments failed',
|
|
1217
1706
|
response
|
|
1218
1707
|
);
|
|
1219
|
-
|
|
1220
|
-
|
|
1708
|
+
});
|
|
1709
|
+
|
|
1710
|
+
it('fail when no correct params', () => {
|
|
1711
|
+
|
|
1712
|
+
assert.deepEqual(breakouts.queryPreAssignments(undefined), undefined);
|
|
1713
|
+
|
|
1714
|
+
assert.deepEqual(breakouts.queryPreAssignments({}), undefined);
|
|
1715
|
+
|
|
1716
|
+
assert.deepEqual(breakouts.queryPreAssignments({ enableBreakoutSession: true, hasBreakoutPreAssignments: false }), undefined);
|
|
1717
|
+
|
|
1718
|
+
assert.deepEqual(breakouts.queryPreAssignments({ enableBreakoutSession: false, hasBreakoutPreAssignments: true }), undefined);
|
|
1719
|
+
|
|
1720
|
+
assert.deepEqual(breakouts.queryPreAssignments({ enableBreakoutSession: false, hasBreakoutPreAssignments: false }), undefined);
|
|
1721
|
+
|
|
1722
|
+
});
|
|
1723
|
+
|
|
1724
|
+
});
|
|
1221
1725
|
|
|
1222
1726
|
describe('#dynamicAssign', () => {
|
|
1223
1727
|
it('should make a PUT request with correct body and return the result', async () => {
|
|
@@ -1248,5 +1752,39 @@ describe('plugin-meetings', () => {
|
|
|
1248
1752
|
});
|
|
1249
1753
|
});
|
|
1250
1754
|
|
|
1755
|
+
describe('#triggerReturnToMainEvent', () => {
|
|
1756
|
+
const checkTrigger = ({breakout, shouldTrigger}) => {
|
|
1757
|
+
breakouts.trigger = sinon.stub();
|
|
1758
|
+
breakouts.triggerReturnToMainEvent(breakout);
|
|
1759
|
+
if (shouldTrigger) {
|
|
1760
|
+
assert.calledOnceWithExactly(breakouts.trigger, BREAKOUTS.EVENTS.ASK_RETURN_TO_MAIN);
|
|
1761
|
+
} else {
|
|
1762
|
+
assert.notCalled(breakouts.trigger);
|
|
1763
|
+
}
|
|
1764
|
+
}
|
|
1765
|
+
it('should trigger ASK_RETURN_TO_MAIN event correctly', () => {
|
|
1766
|
+
const breakout = {
|
|
1767
|
+
isMain: true,
|
|
1768
|
+
requested: true
|
|
1769
|
+
};
|
|
1770
|
+
checkTrigger({breakout, shouldTrigger: true})
|
|
1771
|
+
});
|
|
1772
|
+
|
|
1773
|
+
it('should not trigger ASK_RETURN_TO_MAIN event when sessionType is not MAIN', () => {
|
|
1774
|
+
const breakout = {
|
|
1775
|
+
isMain: false,
|
|
1776
|
+
requested: true
|
|
1777
|
+
};
|
|
1778
|
+
checkTrigger({breakout, shouldTrigger: false});
|
|
1779
|
+
});
|
|
1780
|
+
|
|
1781
|
+
it('should not trigger ASK_RETURN_TO_MAIN event when session is not requested', () => {
|
|
1782
|
+
const breakout = {
|
|
1783
|
+
isMain: true,
|
|
1784
|
+
requested: false
|
|
1785
|
+
};
|
|
1786
|
+
checkTrigger({breakout, shouldTrigger: false})
|
|
1787
|
+
});
|
|
1788
|
+
});
|
|
1251
1789
|
});
|
|
1252
1790
|
});
|