@webex/plugin-meetings 3.0.0-beta.9 → 3.0.0-bnr.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/UPGRADING.md +9 -9
- package/browsers.js +19 -24
- package/dist/breakouts/breakout.js +178 -0
- package/dist/breakouts/breakout.js.map +1 -0
- package/dist/breakouts/collection.js +23 -0
- package/dist/breakouts/collection.js.map +1 -0
- package/dist/breakouts/edit-lock-error.js +52 -0
- package/dist/breakouts/edit-lock-error.js.map +1 -0
- package/dist/breakouts/index.js +843 -0
- package/dist/breakouts/index.js.map +1 -0
- package/dist/breakouts/request.js +78 -0
- package/dist/breakouts/request.js.map +1 -0
- package/dist/breakouts/utils.js +56 -0
- package/dist/breakouts/utils.js.map +1 -0
- package/dist/common/browser-detection.d.ts +9 -0
- package/dist/common/browser-detection.js +1 -20
- package/dist/common/browser-detection.js.map +1 -1
- package/dist/common/collection.d.ts +48 -0
- package/dist/common/collection.js +5 -20
- package/dist/common/collection.js.map +1 -1
- package/dist/common/config.d.ts +2 -0
- package/dist/common/config.js +0 -7
- package/dist/common/config.js.map +1 -1
- package/dist/common/errors/captcha-error.d.ts +15 -0
- package/dist/common/errors/captcha-error.js +5 -26
- package/dist/common/errors/captcha-error.js.map +1 -1
- package/dist/common/errors/intent-to-join.d.ts +16 -0
- package/dist/common/errors/intent-to-join.js +5 -26
- package/dist/common/errors/intent-to-join.js.map +1 -1
- package/dist/common/errors/join-meeting.d.ts +17 -0
- package/dist/common/errors/join-meeting.js +6 -27
- package/dist/common/errors/join-meeting.js.map +1 -1
- package/dist/common/errors/media.d.ts +15 -0
- package/dist/common/errors/media.js +5 -26
- package/dist/common/errors/media.js.map +1 -1
- package/dist/common/errors/parameter.d.ts +15 -0
- package/dist/common/errors/parameter.js +5 -33
- package/dist/common/errors/parameter.js.map +1 -1
- package/dist/common/errors/password-error.d.ts +15 -0
- package/dist/common/errors/password-error.js +5 -26
- package/dist/common/errors/password-error.js.map +1 -1
- package/dist/common/errors/permission.d.ts +14 -0
- package/dist/common/errors/permission.js +4 -25
- package/dist/common/errors/permission.js.map +1 -1
- package/dist/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/common/errors/reconnection-in-progress.js +0 -17
- package/dist/common/errors/reconnection-in-progress.js.map +1 -1
- package/dist/common/errors/reconnection.d.ts +15 -0
- package/dist/common/errors/reconnection.js +5 -26
- package/dist/common/errors/reconnection.js.map +1 -1
- package/dist/common/errors/stats.d.ts +15 -0
- package/dist/common/errors/stats.js +5 -26
- package/dist/common/errors/stats.js.map +1 -1
- package/dist/common/errors/webex-errors.d.ts +81 -0
- package/dist/common/errors/webex-errors.js +6 -41
- package/dist/common/errors/webex-errors.js.map +1 -1
- package/dist/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/common/errors/webex-meetings-error.js +1 -24
- package/dist/common/errors/webex-meetings-error.js.map +1 -1
- package/dist/common/events/events-scope.d.ts +17 -0
- package/dist/common/events/events-scope.js +0 -22
- package/dist/common/events/events-scope.js.map +1 -1
- package/dist/common/events/events.d.ts +12 -0
- package/dist/common/events/events.js +0 -23
- package/dist/common/events/events.js.map +1 -1
- package/dist/common/events/trigger-proxy.d.ts +2 -0
- package/dist/common/events/trigger-proxy.js +0 -12
- package/dist/common/events/trigger-proxy.js.map +1 -1
- package/dist/common/events/util.d.ts +2 -0
- package/dist/common/events/util.js +0 -15
- package/dist/common/events/util.js.map +1 -1
- package/dist/common/logs/logger-config.d.ts +2 -0
- package/dist/common/logs/logger-config.js +0 -4
- package/dist/common/logs/logger-config.js.map +1 -1
- package/dist/common/logs/logger-proxy.d.ts +2 -0
- package/dist/common/logs/logger-proxy.js +1 -8
- package/dist/common/logs/logger-proxy.js.map +1 -1
- package/dist/common/logs/request.d.ts +34 -0
- package/dist/common/logs/request.js +35 -61
- package/dist/common/logs/request.js.map +1 -1
- package/dist/common/queue.d.ts +32 -0
- package/dist/common/queue.js +4 -14
- package/dist/common/queue.js.map +1 -1
- package/dist/config.d.ts +73 -0
- package/dist/config.js +6 -6
- package/dist/config.js.map +1 -1
- package/dist/constants.d.ts +924 -0
- package/dist/constants.js +143 -52
- package/dist/constants.js.map +1 -1
- package/dist/controls-options-manager/constants.d.ts +4 -0
- package/dist/controls-options-manager/constants.js +14 -0
- package/dist/controls-options-manager/constants.js.map +1 -0
- package/dist/controls-options-manager/enums.d.ts +5 -0
- package/dist/controls-options-manager/enums.js +16 -0
- package/dist/controls-options-manager/enums.js.map +1 -0
- package/dist/controls-options-manager/index.d.ts +120 -0
- package/dist/controls-options-manager/index.js +261 -0
- package/dist/controls-options-manager/index.js.map +1 -0
- package/dist/controls-options-manager/util.d.ts +7 -0
- package/dist/controls-options-manager/util.js +39 -0
- package/dist/controls-options-manager/util.js.map +1 -0
- package/dist/docs/markdown/index.md +12 -0
- package/dist/docs/markdown/plugin-meetings.constants._active_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._answer_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._call_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._conflict_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._conversation_url_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._created_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._error_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._forced_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._id_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._idle_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._in_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._in_lobby_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._in_meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._inactive_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._incoming_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._join_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._joined_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._left_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._locus_id_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_center_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_id_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_link_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._meeting_uuid_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._move_media_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._none_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._not_in_meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._observe_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._people_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._personal_room_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._receive_only_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._remove_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._requested_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._resource_room_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._room_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._s_line.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._send_only_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._send_receive_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._sip_bridge_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._sip_uri_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._slides_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._unknown_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._user_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._wait_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants._webex_meeting_.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.alert.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.alternate_redirect_true.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.answer.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.api.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.audio.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.audio_input.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.audio_status.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.available_resolutions.md +60 -0
- package/dist/docs/markdown/plugin-meetings.constants.bnr_status.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.breakouts.md +51 -0
- package/dist/docs/markdown/plugin-meetings.constants.calendar.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.calendar_events_api.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.call.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.call_removed_reason.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.claim.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.cmr_meetings.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.complete.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.connection_state.md +18 -0
- package/dist/docs/markdown/plugin-meetings.constants.content.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.controls.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.conversation_service.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.conversation_url.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.correlation_id.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.decline.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.default_excluded_stats.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.default_get_stats_filter.md +13 -0
- package/dist/docs/markdown/plugin-meetings.constants.development.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.dialer_regex.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.display_hints.md +51 -0
- package/dist/docs/markdown/plugin-meetings.constants.embedded_app_types.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.end.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ended.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.error.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.error_dictionary.md +62 -0
- package/dist/docs/markdown/plugin-meetings.constants.event_triggers.md +82 -0
- package/dist/docs/markdown/plugin-meetings.constants.event_types.md +21 -0
- package/dist/docs/markdown/plugin-meetings.constants.events.md +26 -0
- package/dist/docs/markdown/plugin-meetings.constants.floor_action.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.full_state.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.gathering.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.hecate.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.host.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.http_verbs.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.https_protocol.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_fail_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_gathering_state.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_state.md +18 -0
- package/dist/docs/markdown/plugin-meetings.constants.ice_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.intent_to_join.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.ipv4_regex.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.join.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.layout_types.md +13 -0
- package/dist/docs/markdown/plugin-meetings.constants.leave.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.live.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.local.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.loci.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.locus.md +26 -0
- package/dist/docs/markdown/plugin-meetings.constants.locus_url.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.locusevent.md +33 -0
- package/dist/docs/markdown/plugin-meetings.constants.locusinfo.md +43 -0
- package/dist/docs/markdown/plugin-meetings.constants.max_random_delay_for_meeting_info.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.md +186 -0
- package/dist/docs/markdown/plugin-meetings.constants.media.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_devices.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_peer_connection_name.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_state.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.media_track_constraint.md +17 -0
- package/dist/docs/markdown/plugin-meetings.constants.mediacontent.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.meet.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.meet_m.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_audio_state_machine.md +20 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_end_reason.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_errors.md +102 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_info_failure_reason.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_removed_reason.md +19 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state.md +25 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_state_machine.md +31 -0
- package/dist/docs/markdown/plugin-meetings.constants.meeting_video_state_machine.md +20 -0
- package/dist/docs/markdown/plugin-meetings.constants.meetinginfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.meetings.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.metrics_join_times_max_duration.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.moderator_false.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.moderator_true.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.mqa_inteval.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.mqa_stats.md +82 -0
- package/dist/docs/markdown/plugin-meetings.constants.network_status.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.network_type.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.offline.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.online.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.participant.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.participant_deltas.md +22 -0
- package/dist/docs/markdown/plugin-meetings.constants.password_status.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.pc_bail_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.peer_connection_state.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_in.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.provisional_type_dial_out.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.pstn_status.md +18 -0
- package/dist/docs/markdown/plugin-meetings.constants.quality_levels.md +19 -0
- package/dist/docs/markdown/plugin-meetings.constants.reachability.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.ready.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.reconnection.md +19 -0
- package/dist/docs/markdown/plugin-meetings.constants.recording_state.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.remote.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.resource.md +15 -0
- package/dist/docs/markdown/plugin-meetings.constants.retry_timeout.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.roap.md +22 -0
- package/dist/docs/markdown/plugin-meetings.constants.self_roles.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.send_dtmf_endpoint.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.sendrecv.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.share.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.share_peer_connection_name.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.share_status.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.share_stopped_reason.md +14 -0
- package/dist/docs/markdown/plugin-meetings.constants.sip_uri.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.stats.md +16 -0
- package/dist/docs/markdown/plugin-meetings.constants.type.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.use_uri_lookup_false.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.uuid_reg.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_email_address.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_pin.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_address.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.valid_pmr_link.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.video.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.video_input.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.video_resolutions.md +24 -0
- package/dist/docs/markdown/plugin-meetings.constants.video_status.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.wbxappapi_service.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.webex_dot_com.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.whiteboard.md +11 -0
- package/dist/docs/markdown/plugin-meetings.constants.www_dot.md +11 -0
- package/dist/docs/markdown/plugin-meetings.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default._constructor_.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.acknowledge.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.addmedia.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.admit.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.attrs.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.audio.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.breakouts.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.callevents.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.cancelphoneinvite.md +30 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.canupdatemedia.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.changevideolayout.md +38 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.clearmeetingdata.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalshare.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closelocalstream.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closepeerconnections.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotestream.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.closeremotetracks.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.controlsoptionsmanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.conversationurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.correlationid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.createmediaconnection.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.decline.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.deferjoin.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.destination.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.destinationtype.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.deviceurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialindevicestatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialinurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialoutdevicestatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.dialouturl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.disconnectphoneaudio.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endcallinitiatejoinreq.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endjoinreqresp.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endlocalsdpgenremotesdprecvdelay.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.endmeetingforall.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfo.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.fetchmeetinginfotimeoutid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.floorgrantpending.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.forwardevent.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getanalyzermetricsprepayload.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getcallinitiatejoinreq.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getdevices.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getjoinreqresp.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getlocalsdpgenremotesdprecvdelay.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediaconnectiondebugid.md +15 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmediastreams.md +15 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getmembers.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsendingmediadelayduration.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsetupdelayduration.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.getsupporteddevices.md +16 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.gettotaljmt.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.guest.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.handledatachannelurlchange.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.handleroapfailure.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.hasjoinedonce.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.haswebsocketconnected.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.hostid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.id.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.inmeetingactions.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.invite.md +33 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioconnected.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudiomuted.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isaudioself.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.islocalsharelive.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.ismultistream.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isreactionssupported.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isroapinprogress.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.issharing.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.istranscriptionsupported.md +23 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoconnected.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideomuted.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.isvideoself.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.join.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinedwith.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.joinwithmedia.md +36 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.keepalivetimerid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.lastvideolayoutinfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.leave.md +31 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.lockmeeting.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusinfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.locusurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.md +227 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaconnections.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.medianegotiatedevent.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediaproperties.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mediarequestmanagers.md +16 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingfinitestatemachine.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetinginfofailurereason.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingjoinurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingnumber.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingrequest.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.meetingstate.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.members.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.movefrom.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.moveto.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mute.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.muteaudio.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.mutevideo.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.namespace.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkqualitymonitor.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.networkstatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.options.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.orgid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.owner.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.parsemeetinginfo.md +34 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.partner.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.passwordstatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.pauserecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.permissiontoken.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.policy.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.processnextqueuedmediaupdate.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.publishtracks.md +33 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.queuedmediaupdates.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.receiveslotmanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnect.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.reconnectionmanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.recording.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.recordingcontroller.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.refreshcaptcha.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.remotemediamanager.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.remove.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.requiredcaptcha.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resource.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resourceurl.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.resumerecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.roap.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.roapseq.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.selfid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.senddtmf.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sendreaction.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setdisallowunmute.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendcallinitiatejoinreq.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendjoinreqresp.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendlocalsdpgenremotesdprecvdelay.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsendingmediadelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setendsetupdelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalsharetrack.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocaltracks.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setlocalvideoquality.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmeetingquality.md +31 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmercurylistener.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteall.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setmuteonentry.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setremotequalitylevel.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setsipuri.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartcallinitiatejoinreq.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartjoinreqresp.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartlocalsdpgenremotesdprecvdelay.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsendingmediadelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setstartsetupdelay.md +24 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupbreakoutslistener.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupmediaconnectionlisteners.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.setupstatsanalyzereventhandlers.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharescreen.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sharestatus.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.sipuri.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startcallinitiatejoinreq.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startjoinreqresp.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startkeepalive.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startlocalsdpgenremotesdprecvdelay.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startrecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.startwhiteboardshare.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.state.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.statsanalyzer.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopkeepalive.md +13 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopreceivingtranscription.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stoprecording.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopshare.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.stopwhiteboardshare.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.togglereactions.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.transcription.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.transfer.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.type.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unlockmeeting.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmuteaudio.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unmutevideo.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unpublishtracks.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalsharetrack.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetlocalvideotrack.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetpeerconnections.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotestream.md +26 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.unsetremotetracks.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateaudio.md +34 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatellmconnection.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemedia.md +32 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatemediaconnections.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updateshare.md +35 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.updatevideo.md +34 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.uploadlogs.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.usephoneaudio.md +28 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.userid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.verifypassword.md +35 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.video.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.default.wirelessshare.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meeting.md +18 -0
- package/dist/docs/markdown/plugin-meetings.meeting.media_update_type.md +17 -0
- package/dist/docs/markdown/plugin-meetings.meetings._constructor_.md +22 -0
- package/dist/docs/markdown/plugin-meetings.meetings.create.md +30 -0
- package/dist/docs/markdown/plugin-meetings.meetings.fetchuserpreferredwebexsite.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.geohintinfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getallmeetings.md +31 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getgeohint.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getlogger.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getmeetingbytype.md +29 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getpersonalmeetingroom.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getreachability.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.getscheduledmeetings.md +19 -0
- package/dist/docs/markdown/plugin-meetings.meetings.loggerrequest.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.md +57 -0
- package/dist/docs/markdown/plugin-meetings.meetings.media.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.meetingcollection.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.meetinginfo.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.namespace.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.personalmeetingroom.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.preferredwebexsite.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.reachability.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.register.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.registered.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.request.md +11 -0
- package/dist/docs/markdown/plugin-meetings.meetings.setreachability.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.startreachability.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.syncmeetings.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.unregister.md +21 -0
- package/dist/docs/markdown/plugin-meetings.meetings.uploadlogs.md +34 -0
- package/dist/docs/markdown/plugin-meetings.reactions.md +13 -0
- package/dist/docs/markdown/plugin-meetings.reactions.reactions.md +11 -0
- package/dist/docs/markdown/plugin-meetings.reactions.skintones.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.getmaxfs.md +26 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.md +31 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia._constructor_.md +22 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.csi.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.id.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.md +40 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.mediatype.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.memberid.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.setsizehint.md +25 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.sourcestate.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemedia.stream.md +13 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaevents.md +14 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotemediaid.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemedia.remotevideoresolution.md +11 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.md +12 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup._constructor_.md +24 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.getremotemedia.md +26 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.includes.md +27 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.ispinned.md +22 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.md +28 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.pin.md +25 -0
- package/dist/docs/markdown/plugin-meetings.remotemediagroup.remotemediagroup.unpin.md +24 -0
- package/dist/docs/markdown/plugin-meetings.triggerproxy.md +11 -0
- package/dist/docs/metadata/index.api.json +14144 -0
- package/dist/docs/metadata/index.api.md +2075 -0
- package/dist/docs/metadata/index.d.ts +5594 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +72 -17
- package/dist/index.js.map +1 -1
- package/dist/locus-info/controlsUtils.d.ts +2 -0
- package/dist/locus-info/controlsUtils.js +31 -29
- package/dist/locus-info/controlsUtils.js.map +1 -1
- package/dist/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/locus-info/embeddedAppsUtils.js +3 -26
- package/dist/locus-info/embeddedAppsUtils.js.map +1 -1
- package/dist/locus-info/fullState.d.ts +2 -0
- package/dist/locus-info/fullState.js +0 -15
- package/dist/locus-info/fullState.js.map +1 -1
- package/dist/locus-info/hostUtils.d.ts +2 -0
- package/dist/locus-info/hostUtils.js +4 -12
- package/dist/locus-info/hostUtils.js.map +1 -1
- package/dist/locus-info/index.d.ts +269 -0
- package/dist/locus-info/index.js +202 -201
- package/dist/locus-info/index.js.map +1 -1
- package/dist/locus-info/infoUtils.d.ts +2 -0
- package/dist/locus-info/infoUtils.js +3 -37
- package/dist/locus-info/infoUtils.js.map +1 -1
- package/dist/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/locus-info/mediaSharesUtils.js +12 -38
- package/dist/locus-info/mediaSharesUtils.js.map +1 -1
- package/dist/locus-info/parser.d.ts +212 -0
- package/dist/locus-info/parser.js +88 -123
- package/dist/locus-info/parser.js.map +1 -1
- package/dist/locus-info/selfUtils.d.ts +2 -0
- package/dist/locus-info/selfUtils.js +80 -89
- package/dist/locus-info/selfUtils.js.map +1 -1
- package/dist/media/index.d.ts +32 -0
- package/dist/media/index.js +56 -146
- package/dist/media/index.js.map +1 -1
- package/dist/media/properties.d.ts +108 -0
- package/dist/media/properties.js +71 -117
- package/dist/media/properties.js.map +1 -1
- package/dist/media/util.d.ts +2 -0
- package/dist/media/util.js +2 -9
- package/dist/media/util.js.map +1 -1
- package/dist/mediaQualityMetrics/config.d.ts +233 -0
- package/dist/mediaQualityMetrics/config.js +505 -495
- package/dist/mediaQualityMetrics/config.js.map +1 -1
- package/dist/meeting/effectsState.d.ts +42 -0
- package/dist/meeting/effectsState.js +118 -192
- package/dist/meeting/effectsState.js.map +1 -1
- package/dist/meeting/in-meeting-actions.d.ts +79 -0
- package/dist/meeting/in-meeting-actions.js +31 -14
- package/dist/meeting/in-meeting-actions.js.map +1 -1
- package/dist/meeting/index.d.ts +1621 -0
- package/dist/meeting/index.js +2175 -2266
- package/dist/meeting/index.js.map +1 -1
- package/dist/meeting/muteState.d.ts +116 -0
- package/dist/meeting/muteState.js +252 -113
- package/dist/meeting/muteState.js.map +1 -1
- package/dist/meeting/request.d.ts +255 -0
- package/dist/meeting/request.js +297 -283
- package/dist/meeting/request.js.map +1 -1
- package/dist/meeting/request.type.js +7 -0
- package/dist/meeting/request.type.js.map +1 -0
- package/dist/meeting/state.d.ts +9 -0
- package/dist/meeting/state.js +21 -31
- package/dist/meeting/state.js.map +1 -1
- package/dist/meeting/util.d.ts +2 -0
- package/dist/meeting/util.js +63 -217
- package/dist/meeting/util.js.map +1 -1
- package/dist/meeting-info/collection.d.ts +20 -0
- package/dist/meeting-info/collection.js +3 -25
- package/dist/meeting-info/collection.js.map +1 -1
- package/dist/meeting-info/index.d.ts +57 -0
- package/dist/meeting-info/index.js +10 -33
- package/dist/meeting-info/index.js.map +1 -1
- package/dist/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/meeting-info/meeting-info-v2.js +181 -268
- package/dist/meeting-info/meeting-info-v2.js.map +1 -1
- package/dist/meeting-info/request.d.ts +22 -0
- package/dist/meeting-info/request.js +1 -16
- package/dist/meeting-info/request.js.map +1 -1
- package/dist/meeting-info/util.d.ts +2 -0
- package/dist/meeting-info/util.js +98 -183
- package/dist/meeting-info/util.js.map +1 -1
- package/dist/meeting-info/utilv2.d.ts +2 -0
- package/dist/meeting-info/utilv2.js +137 -228
- package/dist/meeting-info/utilv2.js.map +1 -1
- package/dist/meetings/collection.d.ts +23 -0
- package/dist/meetings/collection.js +24 -20
- package/dist/meetings/collection.js.map +1 -1
- package/dist/meetings/index.d.ts +297 -0
- package/dist/meetings/index.js +566 -587
- package/dist/meetings/index.js.map +1 -1
- package/dist/meetings/request.d.ts +27 -0
- package/dist/meetings/request.js +23 -42
- package/dist/meetings/request.js.map +1 -1
- package/dist/meetings/util.d.ts +18 -0
- package/dist/meetings/util.js +151 -155
- package/dist/meetings/util.js.map +1 -1
- package/dist/member/index.d.ts +145 -0
- package/dist/member/index.js +80 -88
- package/dist/member/index.js.map +1 -1
- package/dist/member/types.js +15 -0
- package/dist/member/types.js.map +1 -0
- package/dist/member/util.d.ts +2 -0
- package/dist/member/util.js +90 -69
- package/dist/member/util.js.map +1 -1
- package/dist/members/collection.d.ts +24 -0
- package/dist/members/collection.js +12 -12
- package/dist/members/collection.js.map +1 -1
- package/dist/members/index.d.ts +298 -0
- package/dist/members/index.js +139 -204
- package/dist/members/index.js.map +1 -1
- package/dist/members/request.d.ts +50 -0
- package/dist/members/request.js +41 -55
- package/dist/members/request.js.map +1 -1
- package/dist/members/types.js +15 -0
- package/dist/members/types.js.map +1 -0
- package/dist/members/util.d.ts +2 -0
- package/dist/members/util.js +76 -46
- package/dist/members/util.js.map +1 -1
- package/dist/metrics/config.d.ts +169 -0
- package/dist/metrics/config.js +4 -14
- package/dist/metrics/config.js.map +1 -1
- package/dist/metrics/constants.d.ts +57 -0
- package/dist/metrics/constants.js +1 -6
- package/dist/metrics/constants.js.map +1 -1
- package/dist/metrics/index.d.ts +152 -0
- package/dist/metrics/index.js +53 -158
- package/dist/metrics/index.js.map +1 -1
- package/dist/multistream/mediaRequestManager.js +116 -52
- package/dist/multistream/mediaRequestManager.js.map +1 -1
- package/dist/multistream/receiveSlot.js +58 -65
- package/dist/multistream/receiveSlot.js.map +1 -1
- package/dist/multistream/receiveSlotManager.js +58 -93
- package/dist/multistream/receiveSlotManager.js.map +1 -1
- package/dist/multistream/remoteMedia.js +55 -74
- package/dist/multistream/remoteMedia.js.map +1 -1
- package/dist/multistream/remoteMediaGroup.js +6 -40
- package/dist/multistream/remoteMediaGroup.js.map +1 -1
- package/dist/multistream/remoteMediaManager.js +466 -442
- package/dist/multistream/remoteMediaManager.js.map +1 -1
- package/dist/networkQualityMonitor/index.d.ts +70 -0
- package/dist/networkQualityMonitor/index.js +32 -59
- package/dist/networkQualityMonitor/index.js.map +1 -1
- package/dist/peer-connection-manager/index.d.ts +6 -0
- package/dist/peer-connection-manager/index.js +671 -0
- package/dist/peer-connection-manager/index.js.map +1 -0
- package/dist/peer-connection-manager/util.d.ts +6 -0
- package/dist/peer-connection-manager/util.js +110 -0
- package/dist/peer-connection-manager/util.js.map +1 -0
- package/dist/personal-meeting-room/index.d.ts +47 -0
- package/dist/personal-meeting-room/index.js +10 -45
- package/dist/personal-meeting-room/index.js.map +1 -1
- package/dist/personal-meeting-room/request.d.ts +14 -0
- package/dist/personal-meeting-room/request.js +2 -33
- package/dist/personal-meeting-room/request.js.map +1 -1
- package/dist/personal-meeting-room/util.d.ts +2 -0
- package/dist/personal-meeting-room/util.js +0 -13
- package/dist/personal-meeting-room/util.js.map +1 -1
- package/dist/plugin-meetings.d.ts +5399 -0
- package/dist/reachability/index.d.ts +139 -0
- package/dist/reachability/index.js +190 -199
- package/dist/reachability/index.js.map +1 -1
- package/dist/reachability/request.d.ts +35 -0
- package/dist/reachability/request.js +14 -23
- package/dist/reachability/request.js.map +1 -1
- package/dist/reactions/constants.js +13 -0
- package/dist/reactions/constants.js.map +1 -0
- package/dist/reactions/reactions.d.ts +4 -0
- package/dist/reactions/reactions.js +109 -0
- package/dist/reactions/reactions.js.map +1 -0
- package/dist/reactions/reactions.type.d.ts +32 -0
- package/dist/reactions/reactions.type.js +36 -0
- package/dist/reactions/reactions.type.js.map +1 -0
- package/dist/reconnection-manager/index.d.ts +112 -0
- package/dist/reconnection-manager/index.js +328 -465
- package/dist/reconnection-manager/index.js.map +1 -1
- package/dist/recording-controller/enums.d.ts +7 -0
- package/dist/recording-controller/enums.js +17 -0
- package/dist/recording-controller/enums.js.map +1 -0
- package/dist/recording-controller/index.d.ts +193 -0
- package/dist/recording-controller/index.js +343 -0
- package/dist/recording-controller/index.js.map +1 -0
- package/dist/recording-controller/util.d.ts +13 -0
- package/dist/recording-controller/util.js +63 -0
- package/dist/recording-controller/util.js.map +1 -0
- package/dist/roap/collection.d.ts +10 -0
- package/dist/roap/collection.js +63 -0
- package/dist/roap/collection.js.map +1 -0
- package/dist/roap/handler.d.ts +47 -0
- package/dist/roap/handler.js +279 -0
- package/dist/roap/handler.js.map +1 -0
- package/dist/roap/index.d.ts +116 -0
- package/dist/roap/index.js +27 -59
- package/dist/roap/index.js.map +1 -1
- package/dist/roap/request.d.ts +35 -0
- package/dist/roap/request.js +143 -134
- package/dist/roap/request.js.map +1 -1
- package/dist/roap/state.d.ts +9 -0
- package/dist/roap/state.js +127 -0
- package/dist/roap/state.js.map +1 -0
- package/dist/roap/turnDiscovery.d.ts +67 -0
- package/dist/roap/turnDiscovery.js +86 -101
- package/dist/roap/turnDiscovery.js.map +1 -1
- package/dist/roap/util.d.ts +2 -0
- package/dist/roap/util.js +76 -0
- package/dist/roap/util.js.map +1 -0
- package/dist/statsAnalyzer/global.d.ts +126 -0
- package/dist/statsAnalyzer/global.js +1 -95
- package/dist/statsAnalyzer/global.js.map +1 -1
- package/dist/statsAnalyzer/index.d.ts +190 -0
- package/dist/statsAnalyzer/index.js +356 -457
- package/dist/statsAnalyzer/index.js.map +1 -1
- package/dist/statsAnalyzer/mqaUtil.d.ts +22 -0
- package/dist/statsAnalyzer/mqaUtil.js +144 -94
- package/dist/statsAnalyzer/mqaUtil.js.map +1 -1
- package/dist/transcription/index.d.ts +64 -0
- package/dist/transcription/index.js +13 -45
- package/dist/transcription/index.js.map +1 -1
- package/dist/types/breakouts/breakout.d.ts +8 -0
- package/dist/types/breakouts/collection.d.ts +5 -0
- package/dist/types/breakouts/edit-lock-error.d.ts +15 -0
- package/dist/types/breakouts/index.d.ts +5 -0
- package/dist/types/breakouts/request.d.ts +22 -0
- package/dist/types/breakouts/utils.d.ts +8 -0
- package/dist/types/common/browser-detection.d.ts +9 -0
- package/dist/types/common/collection.d.ts +48 -0
- package/dist/types/common/config.d.ts +2 -0
- package/dist/types/common/errors/captcha-error.d.ts +15 -0
- package/dist/types/common/errors/intent-to-join.d.ts +16 -0
- package/dist/types/common/errors/join-meeting.d.ts +17 -0
- package/dist/types/common/errors/media.d.ts +15 -0
- package/dist/types/common/errors/parameter.d.ts +15 -0
- package/dist/types/common/errors/password-error.d.ts +15 -0
- package/dist/types/common/errors/permission.d.ts +14 -0
- package/dist/types/common/errors/reconnection-in-progress.d.ts +9 -0
- package/dist/types/common/errors/reconnection.d.ts +15 -0
- package/dist/types/common/errors/stats.d.ts +15 -0
- package/dist/types/common/errors/webex-errors.d.ts +69 -0
- package/dist/types/common/errors/webex-meetings-error.d.ts +20 -0
- package/dist/types/common/events/events-scope.d.ts +17 -0
- package/dist/types/common/events/events.d.ts +12 -0
- package/dist/types/common/events/trigger-proxy.d.ts +2 -0
- package/dist/types/common/events/util.d.ts +2 -0
- package/dist/types/common/logs/logger-config.d.ts +2 -0
- package/dist/types/common/logs/logger-proxy.d.ts +2 -0
- package/dist/types/common/logs/request.d.ts +34 -0
- package/dist/types/common/queue.d.ts +32 -0
- package/dist/types/config.d.ts +77 -0
- package/dist/types/constants.d.ts +944 -0
- package/dist/types/controls-options-manager/constants.d.ts +4 -0
- package/dist/types/controls-options-manager/enums.d.ts +6 -0
- package/dist/types/controls-options-manager/index.d.ts +128 -0
- package/dist/types/controls-options-manager/util.d.ts +9 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/locus-info/controlsUtils.d.ts +2 -0
- package/dist/types/locus-info/embeddedAppsUtils.d.ts +2 -0
- package/dist/types/locus-info/fullState.d.ts +2 -0
- package/dist/types/locus-info/hostUtils.d.ts +2 -0
- package/dist/types/locus-info/index.d.ts +276 -0
- package/dist/types/locus-info/infoUtils.d.ts +2 -0
- package/dist/types/locus-info/mediaSharesUtils.d.ts +2 -0
- package/dist/types/locus-info/parser.d.ts +212 -0
- package/dist/types/locus-info/selfUtils.d.ts +2 -0
- package/dist/types/media/index.d.ts +32 -0
- package/dist/types/media/properties.d.ts +108 -0
- package/dist/types/media/util.d.ts +2 -0
- package/dist/types/mediaQualityMetrics/config.d.ts +365 -0
- package/dist/types/meeting/effectsState.d.ts +42 -0
- package/dist/types/meeting/in-meeting-actions.d.ts +101 -0
- package/dist/types/meeting/index.d.ts +1723 -0
- package/dist/types/meeting/muteState.d.ts +185 -0
- package/dist/types/meeting/request.d.ts +271 -0
- package/dist/types/meeting/request.type.d.ts +11 -0
- package/dist/types/meeting/state.d.ts +9 -0
- package/dist/types/meeting/util.d.ts +2 -0
- package/dist/types/meeting-info/collection.d.ts +20 -0
- package/dist/types/meeting-info/index.d.ts +57 -0
- package/dist/types/meeting-info/meeting-info-v2.d.ts +93 -0
- package/dist/types/meeting-info/request.d.ts +22 -0
- package/dist/types/meeting-info/util.d.ts +2 -0
- package/dist/types/meeting-info/utilv2.d.ts +2 -0
- package/dist/types/meetings/collection.d.ts +31 -0
- package/dist/types/meetings/index.d.ts +316 -0
- package/dist/types/meetings/request.d.ts +27 -0
- package/dist/types/meetings/util.d.ts +18 -0
- package/dist/types/member/index.d.ts +156 -0
- package/dist/types/member/types.d.ts +21 -0
- package/dist/types/member/util.d.ts +2 -0
- package/dist/types/members/collection.d.ts +29 -0
- package/dist/types/members/index.d.ts +343 -0
- package/dist/types/members/request.d.ts +58 -0
- package/dist/types/members/types.d.ts +24 -0
- package/dist/types/members/util.d.ts +2 -0
- package/dist/types/metrics/config.d.ts +171 -0
- package/dist/types/metrics/constants.d.ts +53 -0
- package/dist/types/metrics/index.d.ts +152 -0
- package/dist/types/multistream/mediaRequestManager.d.ts +68 -0
- package/dist/types/multistream/receiveSlot.d.ts +68 -0
- package/dist/types/multistream/receiveSlotManager.d.ts +49 -0
- package/dist/types/multistream/remoteMedia.d.ts +72 -0
- package/dist/types/multistream/remoteMediaGroup.d.ts +47 -0
- package/dist/types/multistream/remoteMediaManager.d.ts +263 -0
- package/dist/types/networkQualityMonitor/index.d.ts +70 -0
- package/dist/types/personal-meeting-room/index.d.ts +47 -0
- package/dist/types/personal-meeting-room/request.d.ts +14 -0
- package/dist/types/personal-meeting-room/util.d.ts +2 -0
- package/dist/types/reachability/index.d.ts +152 -0
- package/dist/types/reachability/request.d.ts +37 -0
- package/dist/types/reactions/constants.d.ts +3 -0
- package/dist/types/reactions/reactions.d.ts +4 -0
- package/dist/types/reactions/reactions.type.d.ts +52 -0
- package/dist/types/reconnection-manager/index.d.ts +126 -0
- package/dist/types/recording-controller/enums.d.ts +7 -0
- package/dist/types/recording-controller/index.d.ts +193 -0
- package/dist/types/recording-controller/util.d.ts +13 -0
- package/dist/types/roap/index.d.ts +77 -0
- package/dist/types/roap/request.d.ts +38 -0
- package/dist/types/roap/turnDiscovery.d.ts +74 -0
- package/dist/types/statsAnalyzer/global.d.ts +36 -0
- package/dist/types/statsAnalyzer/index.d.ts +195 -0
- package/dist/types/statsAnalyzer/mqaUtil.d.ts +24 -0
- package/dist/types/transcription/index.d.ts +64 -0
- package/dist/types/tsdoc-metadata.json +11 -0
- package/internal-README.md +7 -6
- package/package.json +28 -20
- package/src/breakouts/README.md +219 -0
- package/src/breakouts/breakout.ts +153 -0
- package/src/breakouts/collection.ts +19 -0
- package/src/breakouts/edit-lock-error.ts +25 -0
- package/src/breakouts/index.ts +745 -0
- package/src/breakouts/request.ts +55 -0
- package/src/breakouts/utils.ts +44 -0
- package/src/common/browser-detection.ts +9 -6
- package/src/common/collection.ts +3 -1
- package/src/common/errors/captcha-error.ts +6 -6
- package/src/common/errors/intent-to-join.ts +6 -6
- package/src/common/errors/join-meeting.ts +12 -8
- package/src/common/errors/media.ts +6 -6
- package/src/common/errors/parameter.ts +9 -6
- package/src/common/errors/password-error.ts +6 -6
- package/src/common/errors/permission.ts +5 -5
- package/src/common/errors/reconnection.ts +6 -6
- package/src/common/errors/stats.ts +6 -6
- package/src/common/errors/webex-errors.ts +7 -5
- package/src/common/errors/webex-meetings-error.ts +1 -1
- package/src/common/events/events-scope.ts +5 -1
- package/src/common/events/events.ts +5 -1
- package/src/common/events/trigger-proxy.ts +8 -3
- package/src/common/events/util.ts +1 -2
- package/src/common/logs/logger-proxy.ts +21 -10
- package/src/common/logs/request.ts +11 -8
- package/src/config.ts +16 -12
- package/src/constants.ts +92 -6
- package/src/controls-options-manager/constants.ts +5 -0
- package/src/controls-options-manager/enums.ts +7 -0
- package/src/controls-options-manager/index.ts +240 -0
- package/src/controls-options-manager/util.ts +30 -0
- package/src/index.ts +33 -0
- package/src/locus-info/controlsUtils.ts +63 -24
- package/src/locus-info/fullState.ts +15 -11
- package/src/locus-info/hostUtils.ts +4 -3
- package/src/locus-info/index.ts +148 -43
- package/src/locus-info/infoUtils.ts +16 -4
- package/src/locus-info/mediaSharesUtils.ts +4 -4
- package/src/locus-info/parser.ts +46 -68
- package/src/locus-info/selfUtils.ts +174 -56
- package/src/media/index.ts +131 -179
- package/src/media/properties.ts +43 -36
- package/src/media/util.ts +1 -1
- package/src/mediaQualityMetrics/config.ts +380 -378
- package/src/meeting/in-meeting-actions.ts +67 -3
- package/src/meeting/index.ts +2395 -1523
- package/src/meeting/muteState.ts +271 -68
- package/src/meeting/request.ts +228 -132
- package/src/meeting/request.type.ts +13 -0
- package/src/meeting/state.ts +45 -30
- package/src/meeting/util.ts +127 -111
- package/src/meeting-info/collection.ts +2 -1
- package/src/meeting-info/index.ts +32 -30
- package/src/meeting-info/meeting-info-v2.ts +108 -108
- package/src/meeting-info/request.ts +9 -3
- package/src/meeting-info/util.ts +54 -46
- package/src/meeting-info/utilv2.ts +59 -53
- package/src/meetings/collection.ts +21 -1
- package/src/meetings/index.ts +673 -466
- package/src/meetings/request.ts +29 -25
- package/src/meetings/util.ts +94 -30
- package/src/member/index.ts +86 -49
- package/src/member/types.ts +24 -0
- package/src/member/util.ts +92 -13
- package/src/members/collection.ts +8 -1
- package/src/members/index.ts +246 -129
- package/src/members/request.ts +67 -14
- package/src/members/types.ts +28 -0
- package/src/members/util.ts +103 -50
- package/src/metrics/config.ts +255 -90
- package/src/metrics/constants.ts +0 -6
- package/src/metrics/index.ts +90 -93
- package/src/multistream/mediaRequestManager.ts +144 -40
- package/src/multistream/receiveSlot.ts +69 -26
- package/src/multistream/receiveSlotManager.ts +50 -38
- package/src/multistream/remoteMedia.ts +30 -4
- package/src/multistream/remoteMediaGroup.ts +4 -3
- package/src/multistream/remoteMediaManager.ts +230 -66
- package/src/networkQualityMonitor/index.ts +24 -27
- package/src/personal-meeting-room/index.ts +12 -16
- package/src/personal-meeting-room/request.ts +10 -3
- package/src/personal-meeting-room/util.ts +3 -3
- package/src/reachability/index.ts +131 -79
- package/src/reachability/request.ts +43 -34
- package/src/reactions/constants.ts +4 -0
- package/src/reactions/reactions.ts +104 -0
- package/src/reactions/reactions.type.ts +62 -0
- package/src/reconnection-manager/index.ts +190 -111
- package/src/recording-controller/enums.ts +8 -0
- package/src/recording-controller/index.ts +315 -0
- package/src/recording-controller/util.ts +58 -0
- package/src/roap/index.ts +50 -42
- package/src/roap/request.ts +86 -53
- package/src/roap/turnDiscovery.ts +69 -38
- package/src/statsAnalyzer/global.ts +8 -104
- package/src/statsAnalyzer/index.ts +593 -376
- package/src/statsAnalyzer/mqaUtil.ts +203 -90
- package/src/transcription/index.ts +34 -32
- package/test/integration/spec/converged-space-meetings.js +176 -0
- package/test/integration/spec/journey.js +665 -464
- package/test/integration/spec/space-meeting.js +319 -204
- package/test/integration/spec/transcription.js +7 -8
- package/test/unit/spec/breakouts/breakout.ts +178 -0
- package/test/unit/spec/breakouts/collection.ts +15 -0
- package/test/unit/spec/breakouts/edit-lock-error.ts +30 -0
- package/test/unit/spec/breakouts/index.ts +1252 -0
- package/test/unit/spec/breakouts/request.ts +104 -0
- package/test/unit/spec/breakouts/utils.js +54 -0
- package/test/unit/spec/common/browser-detection.js +9 -28
- package/test/unit/spec/controls-options-manager/index.js +204 -0
- package/test/unit/spec/controls-options-manager/util.js +86 -0
- package/test/unit/spec/fixture/locus.js +92 -90
- package/test/unit/spec/locus-info/controlsUtils.js +133 -34
- package/test/unit/spec/locus-info/embeddedAppsUtils.js +8 -6
- package/test/unit/spec/locus-info/index.js +303 -2
- package/test/unit/spec/locus-info/infoUtils.js +41 -32
- package/test/unit/spec/locus-info/lib/BasicSeqCmp.json +88 -430
- package/test/unit/spec/locus-info/lib/SeqCmp.json +513 -685
- package/test/unit/spec/locus-info/parser.js +3 -9
- package/test/unit/spec/locus-info/selfConstant.js +101 -103
- package/test/unit/spec/locus-info/selfUtils.js +165 -12
- package/test/unit/spec/media/index.ts +72 -8
- package/test/unit/spec/media/properties.ts +9 -9
- package/test/unit/spec/meeting/in-meeting-actions.ts +29 -2
- package/test/unit/spec/meeting/index.js +2479 -794
- package/test/unit/spec/meeting/muteState.js +164 -70
- package/test/unit/spec/meeting/request.js +141 -43
- package/test/unit/spec/meeting/utils.js +135 -164
- package/test/unit/spec/meeting-info/meetinginfov2.js +100 -73
- package/test/unit/spec/meeting-info/request.js +7 -9
- package/test/unit/spec/meeting-info/util.js +11 -12
- package/test/unit/spec/meeting-info/utilv2.js +110 -74
- package/test/unit/spec/meetings/collection.js +15 -1
- package/test/unit/spec/meetings/index.js +622 -263
- package/test/unit/spec/meetings/utils.js +65 -14
- package/test/unit/spec/member/index.js +24 -1
- package/test/unit/spec/member/util.js +359 -32
- package/test/unit/spec/members/index.js +294 -54
- package/test/unit/spec/members/request.js +50 -20
- package/test/unit/spec/members/utils.js +147 -4
- package/test/unit/spec/metrics/index.js +16 -21
- package/test/unit/spec/multistream/mediaRequestManager.ts +369 -68
- package/test/unit/spec/multistream/receiveSlot.ts +76 -17
- package/test/unit/spec/multistream/receiveSlotManager.ts +60 -38
- package/test/unit/spec/multistream/remoteMedia.ts +32 -2
- package/test/unit/spec/multistream/remoteMediaGroup.ts +5 -5
- package/test/unit/spec/multistream/remoteMediaManager.ts +549 -65
- package/test/unit/spec/networkQualityMonitor/index.js +24 -18
- package/test/unit/spec/personal-meeting-room/personal-meeting-room.js +2 -7
- package/test/unit/spec/reachability/index.ts +176 -27
- package/test/unit/spec/reachability/request.js +66 -0
- package/test/unit/spec/reconnection-manager/index.js +58 -31
- package/test/unit/spec/recording-controller/index.js +231 -0
- package/test/unit/spec/recording-controller/util.js +102 -0
- package/test/unit/spec/roap/index.ts +12 -8
- package/test/unit/spec/roap/request.ts +217 -0
- package/test/unit/spec/roap/turnDiscovery.ts +72 -49
- package/test/unit/spec/stats-analyzer/index.js +108 -57
- package/test/utils/cmr.js +44 -42
- package/test/utils/constants.js +9 -0
- package/test/utils/testUtils.js +98 -77
- package/test/utils/webex-config.js +22 -18
- package/test/utils/webex-test-users.js +57 -50
- package/tsconfig.json +6 -0
- package/dist/media/internal-media-core-wrapper.js +0 -22
- package/dist/media/internal-media-core-wrapper.js.map +0 -1
- package/dist/multistream/multistreamMedia.js +0 -116
- package/dist/multistream/multistreamMedia.js.map +0 -1
- package/src/index.js +0 -15
- package/src/media/internal-media-core-wrapper.ts +0 -9
- package/src/meeting/effectsState.ts +0 -211
- package/src/multistream/multistreamMedia.ts +0 -92
- package/test/unit/spec/meeting/effectsState.js +0 -291
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeetingInfoUtil","getParsedUrl","link","parsedUrl","url","parse","protocol","HTTPS_PROTOCOL","error","LoggerProxy","logger","warn","isMeetingLink","value","hostNameBool","hostname","includes","WEBEX_DOT_COM","pathNameBool","pathname","MEET","MEET_M","JOIN","isConversationUrl","webex","clusterId","internal","services","getClusterId","endsWith","CONVERSATION_SERVICE","isSipUri","sipString","sipUri","DIALER_REGEX","SIP_ADDRESS","exec","isPhoneNumber","phoneNumber","isValidNumber","PHONE_NUMBER","test","getHydraId","destination","deconstructHydraId","type","id","cluster","UUID_REG","_ROOM_","room","_PEOPLE_","people","getSipUriFromHydraPersonId","get","then","res","emails","length","ParameterError","catch","err","getDestinationType","from","_PERSONAL_ROOM_","userId","device","orgId","options","VALID_EMAIL_ADDRESS","email","list","items","hydraId","_MEETING_LINK_","_SIP_URI_","_CONVERSATION_URL_","wasHydraPerson","resolve","waitForCatalog","conversationUrl","conversation","getUrlFromClusterId","getRequestBody","password","captchaInfo","body","supportHostKey","supportCountryList","sipUrl","_MEETING_ID_","meetingKey","_LOCUS_ID_","info","webExMeetingId","meetingUrl","_MEETING_UUID_","meetingUUID","captchaID","captchaVerifyCode","code","getWebexSite","uri","exceptedDomains","site","match","getDirectMeetingInfoURI","preferredWebexSite","webExSite"],"sources":["utilv2.ts"],"sourcesContent":["import url from 'url';\n\nimport {\n // @ts-ignore\n deconstructHydraId\n} from '@webex/common';\n\nimport {\n _SIP_URI_,\n _PERSONAL_ROOM_,\n _MEETING_ID_,\n _CONVERSATION_URL_,\n _LOCUS_ID_,\n _MEETING_LINK_,\n _PEOPLE_,\n _ROOM_,\n _MEETING_UUID_,\n DIALER_REGEX,\n WEBEX_DOT_COM,\n CONVERSATION_SERVICE,\n JOIN,\n MEET,\n MEET_M,\n HTTPS_PROTOCOL,\n UUID_REG,\n VALID_EMAIL_ADDRESS\n} from '../constants';\nimport ParameterError from '../common/errors/parameter';\nimport LoggerProxy from '../common/logs/logger-proxy';\n\nconst MeetingInfoUtil: any = {};\n\nMeetingInfoUtil.getParsedUrl = (link) => {\n try {\n let parsedUrl = url.parse(link);\n\n if (!parsedUrl) {\n return false;\n }\n // hack for links such as <company>.webex.com/meet/<user> without a protocol\n if (!parsedUrl.protocol) {\n parsedUrl = url.parse(`${HTTPS_PROTOCOL}${link}`);\n }\n\n return parsedUrl;\n }\n catch (error) {\n LoggerProxy.logger.warn(`Meeting-info:util#getParsedUrl --> unable to parse the URL, error: ${error}`);\n\n return null;\n }\n};\n\n/**\n * Helper function to check if a string matches a known meeting link pattern\n * @param {String} value string to parse and see if it matches a meeting link\n * @returns {Boolean}\n */\nMeetingInfoUtil.isMeetingLink = (value: string) => {\n const parsedUrl = MeetingInfoUtil.getParsedUrl(value);\n const hostNameBool = parsedUrl.hostname && parsedUrl.hostname.includes(WEBEX_DOT_COM);\n const pathNameBool = parsedUrl.pathname && (parsedUrl.pathname.includes(`/${MEET}`) || parsedUrl.pathname.includes(`/${MEET_M}`) || parsedUrl.pathname.includes(`/${JOIN}`));\n\n return hostNameBool && pathNameBool;\n};\n\nMeetingInfoUtil.isConversationUrl = (value, webex) => {\n const clusterId = webex.internal.services.getClusterId(value);\n\n if (clusterId) {\n return clusterId.endsWith(CONVERSATION_SERVICE);\n }\n\n return false;\n};\n\n\nMeetingInfoUtil.isSipUri = (sipString) => {\n // TODO: lets remove regex from this equation and user URI matchers and such\n // have not found a great sip uri parser library as of now\n const sipUri = DIALER_REGEX.SIP_ADDRESS.exec(sipString);\n\n return sipUri;\n};\n\nMeetingInfoUtil.isPhoneNumber = (phoneNumber) => {\n const isValidNumber = DIALER_REGEX.PHONE_NUMBER.test(phoneNumber);\n\n return isValidNumber;\n};\n\nMeetingInfoUtil.getHydraId = (destination) => {\n const {type, id, cluster} = deconstructHydraId(destination);\n\n if (id && UUID_REG.test(id)) {\n if (type === _ROOM_) {\n return {room: true, destination: id, cluster};\n }\n if (type === _PEOPLE_) {\n return {people: true, destination: id, cluster};\n }\n\n return {};\n }\n\n return {};\n};\n\nMeetingInfoUtil.getSipUriFromHydraPersonId = (destination, webex) => webex.people.get(destination).then((res) => {\n if (res.emails && res.emails.length) {\n return res.emails[0];\n }\n throw new ParameterError('Hydra Id Lookup was an invalid hydra person id.');\n}).catch((err) => {\n LoggerProxy.logger.error(`Meeting-info:util#MeetingInfoUtil.getSipUriFromHydraPersonId --> getSipUriFromHydraPersonId ${err} `);\n throw err;\n});\n\n\nMeetingInfoUtil.getDestinationType = async (from) => {\n const {type, webex} = from;\n let {destination} = from;\n\n if (type === _PERSONAL_ROOM_) { // this case checks if your type is personal room\n if (!destination) { // if we are not getting anything in desination we fetch org and user ids from webex instance\n destination = {\n userId: webex.internal.device.userId,\n orgId: webex.internal.device.orgId\n };\n }\n else {\n const options = VALID_EMAIL_ADDRESS.test(destination) ? {email: destination} : {id: destination};// we are assuming userId as default\n const res = await webex.people.list(options);\n\n let {orgId, id: userId} = res.items[0];\n\n userId = deconstructHydraId(userId).id;\n orgId = deconstructHydraId(orgId).id;\n destination = {userId, orgId};\n }\n }\n if (type) {\n return {\n destination,\n type\n };\n }\n const options: any = {};\n const hydraId = MeetingInfoUtil.getHydraId(destination);\n\n if (MeetingInfoUtil.isMeetingLink(destination)) {\n LoggerProxy.logger.warn('Meeting-info:util#generateOptions --> WARN, use of Meeting Link is deprecated, please use a SIP URI instead');\n\n options.type = _MEETING_LINK_;\n options.destination = destination;\n }\n else if (MeetingInfoUtil.isSipUri(destination)) {\n options.type = _SIP_URI_;\n options.destination = destination;\n }\n else if (MeetingInfoUtil.isPhoneNumber(destination)) {\n options.type = _SIP_URI_;\n options.destination = destination;\n }\n else if (MeetingInfoUtil.isConversationUrl(destination, webex)) {\n options.type = _CONVERSATION_URL_;\n options.destination = destination;\n }\n else if (hydraId.people) {\n options.type = _SIP_URI_;\n\n return MeetingInfoUtil.getSipUriFromHydraPersonId(hydraId.destination, webex).then((res) => {\n options.destination = res;\n\n // Since hydra person ids require a unique case in which they are\n // entirely converted to a SIP URI, we need to set a flag for detecting\n // this type of destination.\n options.wasHydraPerson = true;\n\n return Promise.resolve(options);\n });\n }\n else if (hydraId.room) {\n options.type = _CONVERSATION_URL_;\n try {\n await webex.internal.services.waitForCatalog('postauth');\n\n const conversationUrl = webex.internal.conversation.getUrlFromClusterId({\n cluster: hydraId.cluster,\n id: hydraId.destination\n });\n\n options.destination = conversationUrl;\n }\n catch (e) {\n LoggerProxy.logger.error(`Meeting-info:util#getDestinationType --> ${e}`);\n throw (e);\n }\n }\n else {\n LoggerProxy.logger.warn('Meeting-info:util#getDestinationType --> (\\'MeetingInfo is fetched with meeting link, sip uri, phone number, hydra room id, hydra people id, or a conversation url.');\n throw new ParameterError('MeetingInfo is fetched with meeting link, sip uri, phone number, hydra room id, hydra people id, or a conversation url.');\n }\n\n return Promise.resolve(options);\n};\n\n/**\n * Helper function to build up a correct locus url depending on the value passed\n * @param {Object} options type and value to fetch meeting info\n * @param {String} options.type One of [SIP_URI, PERSONAL_ROOM, MEETING_ID, CONVERSATION_URL, LOCUS_ID, MEETING_LINK]\n * @param {Object} options.destination ?? value.value\n * @returns {Object} returns an object with {resource, method}\n */\nMeetingInfoUtil.getRequestBody = (options: { type: string; destination: object } | any) => {\n const {\n type, destination, password, captchaInfo\n } = options;\n const body: any = {\n supportHostKey: true,\n supportCountryList: true,\n };\n\n switch (type) {\n case _SIP_URI_:\n body.sipUrl = destination;\n break;\n case _PERSONAL_ROOM_:\n body.userId = destination.userId;\n body.orgId = destination.orgId;\n break;\n case _MEETING_ID_:\n body.meetingKey = destination;\n break;\n case _CONVERSATION_URL_:\n body.conversationUrl = destination;\n break;\n case _LOCUS_ID_:\n // use meetingID for the completer meeting info for the already started meeting\n if (destination.info?.webExMeetingId) {\n body.meetingKey = destination.info.webExMeetingId;\n }\n else if (destination.info?.sipUri) {\n body.sipUrl = destination.info.sipUri;\n }\n break;\n case _MEETING_LINK_:\n body.meetingUrl = destination;\n break;\n case _MEETING_UUID_: {\n body.meetingUUID = destination;\n break;\n }\n default:\n }\n\n if (password) {\n body.password = password;\n }\n\n if (captchaInfo) {\n body.captchaID = captchaInfo.id;\n body.captchaVerifyCode = captchaInfo.code;\n }\n\n return body;\n};\n\n/**\n * Helper function to parse the webex site/host from a URI string.\n * @param {String} uri string (e.g. '10019857020@convergedats.webex.com')\n * @returns {String} the site/host part of the URI string (e.g. 'convergedats.webex.com')\n */\nMeetingInfoUtil.getWebexSite = (uri: string) => {\n const exceptedDomains = ['meet.webex.com', 'meetup.webex.com', 'ciscospark.com'];\n const site = uri?.match(/.+@([^.]+\\.[^.]+\\.[^.]+)$/)?.[1];\n\n return exceptedDomains.includes(site) ? null : site;\n};\n\n/**\n * Helper function to return the direct URI for fetching meeting info (to avoid a redirect).\n * @param {Object} options type and value to fetch meeting info\n * @param {String} options.type One of [SIP_URI, PERSONAL_ROOM, MEETING_ID, CONVERSATION_URL, LOCUS_ID, MEETING_LINK]\n * @param {Object} options.destination ?? value.value\n * @returns {String} returns a URI string or null of there is no direct URI\n */\nMeetingInfoUtil.getDirectMeetingInfoURI = (options: { type: string; destination: any }) => {\n const {\n type, destination\n } = options;\n\n let preferredWebexSite = null;\n\n switch (type) {\n case _SIP_URI_:\n preferredWebexSite = MeetingInfoUtil.getWebexSite(destination);\n break;\n case _LOCUS_ID_:\n preferredWebexSite = destination.info?.webExSite;\n break;\n default:\n }\n\n return preferredWebexSite ? `https://${preferredWebexSite}/wbxappapi/v1/meetingInfo` : null;\n};\n\nexport default MeetingInfoUtil;\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;AAEA;;AAKA;;AAoBA;;AACA;;AAEA,IAAMA,eAAoB,GAAG,EAA7B;;AAEAA,eAAe,CAACC,YAAhB,GAA+B,UAACC,IAAD,EAAU;EACvC,IAAI;IACF,IAAIC,SAAS,GAAGC,YAAA,CAAIC,KAAJ,CAAUH,IAAV,CAAhB;;IAEA,IAAI,CAACC,SAAL,EAAgB;MACd,OAAO,KAAP;IACD,CALC,CAMF;;;IACA,IAAI,CAACA,SAAS,CAACG,QAAf,EAAyB;MACvBH,SAAS,GAAGC,YAAA,CAAIC,KAAJ,WAAaE,yBAAb,SAA8BL,IAA9B,EAAZ;IACD;;IAED,OAAOC,SAAP;EACD,CAZD,CAaA,OAAOK,KAAP,EAAc;IACZC,oBAAA,CAAYC,MAAZ,CAAmBC,IAAnB,8EAA8FH,KAA9F;;IAEA,OAAO,IAAP;EACD;AACF,CAnBD;AAqBA;AACA;AACA;AACA;AACA;;;AACAR,eAAe,CAACY,aAAhB,GAAgC,UAACC,KAAD,EAAmB;EACjD,IAAMV,SAAS,GAAGH,eAAe,CAACC,YAAhB,CAA6BY,KAA7B,CAAlB;EACA,IAAMC,YAAY,GAAGX,SAAS,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AACD,CALD;AAOA;AACA;AACA;AACA;AACA;AACA;AACA;;;AACAxG,eAAe,CAAC0G,uBAAhB,GAA0C,UAACtC,OAAD,EAAiD;EAAA;;EACzF,IACEvB,IADF,GAEIuB,OAFJ,CACEvB,IADF;EAAA,IACQF,WADR,GAEIyB,OAFJ,CACQzB,WADR;EAIA,IAAIgE,kBAAkB,GAAG,IAAzB;;EAEA,QAAQ9D,IAAR;IACE,KAAK8B,oBAAL;MACEgC,kBAAkB,GAAG3G,eAAe,CAACqG,YAAhB,CAA6B1D,WAA7B,CAArB;MACA;;IACF,KAAKiD,qBAAL;MACEe,kBAAkB,yBAAGhE,WAAW,CAACkD,IAAf,uDAAG,mBAAkBe,SAAvC;MACA;;IACF;EAPF;;EAUA,OAAOD,kBAAkB,qBAAcA,kBAAd,iCAA8D,IAAvF;AACD,CAlBD;;eAoBe3G,e"}
|
|
1
|
+
{"version":3,"names":["MeetingInfoUtil","getParsedUrl","link","parsedUrl","url","parse","protocol","HTTPS_PROTOCOL","error","LoggerProxy","logger","warn","isMeetingLink","value","hostNameBool","hostname","includes","WEBEX_DOT_COM","pathNameBool","pathname","MEET","MEET_M","JOIN","isConversationUrl","webex","clusterId","internal","services","getClusterId","endsWith","CONVERSATION_SERVICE","isSipUri","sipString","sipUri","DIALER_REGEX","SIP_ADDRESS","exec","isPhoneNumber","phoneNumber","isValidNumber","PHONE_NUMBER","test","getHydraId","destination","deconstructHydraId","type","id","cluster","UUID_REG","_ROOM_","room","_PEOPLE_","people","getSipUriFromHydraPersonId","get","then","res","emails","length","ParameterError","catch","err","getDestinationType","from","_PERSONAL_ROOM_","userId","device","orgId","options","VALID_EMAIL_ADDRESS","email","list","items","hydraId","_MEETING_LINK_","_SIP_URI_","_CONVERSATION_URL_","wasHydraPerson","resolve","waitForCatalog","conversationUrl","conversation","getUrlFromClusterId","getRequestBody","password","captchaInfo","body","supportHostKey","supportCountryList","sipUrl","_MEETING_ID_","meetingKey","_LOCUS_ID_","info","webExMeetingId","meetingUrl","_MEETING_UUID_","meetingUUID","captchaID","captchaVerifyCode","code","getWebexSite","uri","exceptedDomains","site","match","getDirectMeetingInfoURI","preferredWebexSite","webExSite"],"sources":["utilv2.ts"],"sourcesContent":["import url from 'url';\n\nimport {\n // @ts-ignore\n deconstructHydraId,\n} from '@webex/common';\n\nimport {\n _SIP_URI_,\n _PERSONAL_ROOM_,\n _MEETING_ID_,\n _CONVERSATION_URL_,\n _LOCUS_ID_,\n _MEETING_LINK_,\n _PEOPLE_,\n _ROOM_,\n _MEETING_UUID_,\n DIALER_REGEX,\n WEBEX_DOT_COM,\n CONVERSATION_SERVICE,\n JOIN,\n MEET,\n MEET_M,\n HTTPS_PROTOCOL,\n UUID_REG,\n VALID_EMAIL_ADDRESS,\n} from '../constants';\nimport ParameterError from '../common/errors/parameter';\nimport LoggerProxy from '../common/logs/logger-proxy';\n\nconst MeetingInfoUtil: any = {};\n\nMeetingInfoUtil.getParsedUrl = (link) => {\n try {\n let parsedUrl = url.parse(link);\n\n if (!parsedUrl) {\n return false;\n }\n // hack for links such as <company>.webex.com/meet/<user> without a protocol\n if (!parsedUrl.protocol) {\n parsedUrl = url.parse(`${HTTPS_PROTOCOL}${link}`);\n }\n\n return parsedUrl;\n } catch (error) {\n LoggerProxy.logger.warn(\n `Meeting-info:util#getParsedUrl --> unable to parse the URL, error: ${error}`\n );\n\n return null;\n }\n};\n\n/**\n * Helper function to check if a string matches a known meeting link pattern\n * @param {String} value string to parse and see if it matches a meeting link\n * @returns {Boolean}\n */\nMeetingInfoUtil.isMeetingLink = (value: string) => {\n const parsedUrl = MeetingInfoUtil.getParsedUrl(value);\n const hostNameBool = parsedUrl.hostname && parsedUrl.hostname.includes(WEBEX_DOT_COM);\n const pathNameBool =\n parsedUrl.pathname &&\n (parsedUrl.pathname.includes(`/${MEET}`) ||\n parsedUrl.pathname.includes(`/${MEET_M}`) ||\n parsedUrl.pathname.includes(`/${JOIN}`));\n\n return hostNameBool && pathNameBool;\n};\n\nMeetingInfoUtil.isConversationUrl = (value, webex) => {\n const clusterId = webex.internal.services.getClusterId(value);\n\n if (clusterId) {\n return clusterId.endsWith(CONVERSATION_SERVICE);\n }\n\n return false;\n};\n\nMeetingInfoUtil.isSipUri = (sipString) => {\n // TODO: lets remove regex from this equation and user URI matchers and such\n // have not found a great sip uri parser library as of now\n const sipUri = DIALER_REGEX.SIP_ADDRESS.exec(sipString);\n\n return sipUri;\n};\n\nMeetingInfoUtil.isPhoneNumber = (phoneNumber) => {\n const isValidNumber = DIALER_REGEX.PHONE_NUMBER.test(phoneNumber);\n\n return isValidNumber;\n};\n\nMeetingInfoUtil.getHydraId = (destination) => {\n const {type, id, cluster} = deconstructHydraId(destination);\n\n if (id && UUID_REG.test(id)) {\n if (type === _ROOM_) {\n return {room: true, destination: id, cluster};\n }\n if (type === _PEOPLE_) {\n return {people: true, destination: id, cluster};\n }\n\n return {};\n }\n\n return {};\n};\n\nMeetingInfoUtil.getSipUriFromHydraPersonId = (destination, webex) =>\n webex.people\n .get(destination)\n .then((res) => {\n if (res.emails && res.emails.length) {\n return res.emails[0];\n }\n throw new ParameterError('Hydra Id Lookup was an invalid hydra person id.');\n })\n .catch((err) => {\n LoggerProxy.logger.error(\n `Meeting-info:util#MeetingInfoUtil.getSipUriFromHydraPersonId --> getSipUriFromHydraPersonId ${err} `\n );\n throw err;\n });\n\nMeetingInfoUtil.getDestinationType = async (from) => {\n const {type, webex} = from;\n let {destination} = from;\n\n if (type === _PERSONAL_ROOM_) {\n // this case checks if your type is personal room\n if (!destination) {\n // if we are not getting anything in desination we fetch org and user ids from webex instance\n destination = {\n userId: webex.internal.device.userId,\n orgId: webex.internal.device.orgId,\n };\n } else {\n const options = VALID_EMAIL_ADDRESS.test(destination)\n ? {email: destination}\n : {id: destination}; // we are assuming userId as default\n const res = await webex.people.list(options);\n\n let {orgId, id: userId} = res.items[0];\n\n userId = deconstructHydraId(userId).id;\n orgId = deconstructHydraId(orgId).id;\n destination = {userId, orgId};\n }\n }\n if (type) {\n return {\n destination,\n type,\n };\n }\n const options: any = {};\n const hydraId = MeetingInfoUtil.getHydraId(destination);\n\n if (MeetingInfoUtil.isMeetingLink(destination)) {\n LoggerProxy.logger.warn(\n 'Meeting-info:util#generateOptions --> WARN, use of Meeting Link is deprecated, please use a SIP URI instead'\n );\n\n options.type = _MEETING_LINK_;\n options.destination = destination;\n } else if (MeetingInfoUtil.isSipUri(destination)) {\n options.type = _SIP_URI_;\n options.destination = destination;\n } else if (MeetingInfoUtil.isPhoneNumber(destination)) {\n options.type = _SIP_URI_;\n options.destination = destination;\n } else if (MeetingInfoUtil.isConversationUrl(destination, webex)) {\n options.type = _CONVERSATION_URL_;\n options.destination = destination;\n } else if (hydraId.people) {\n options.type = _SIP_URI_;\n\n return MeetingInfoUtil.getSipUriFromHydraPersonId(hydraId.destination, webex).then((res) => {\n options.destination = res;\n\n // Since hydra person ids require a unique case in which they are\n // entirely converted to a SIP URI, we need to set a flag for detecting\n // this type of destination.\n options.wasHydraPerson = true;\n\n return Promise.resolve(options);\n });\n } else if (hydraId.room) {\n options.type = _CONVERSATION_URL_;\n try {\n await webex.internal.services.waitForCatalog('postauth');\n\n const conversationUrl = webex.internal.conversation.getUrlFromClusterId({\n cluster: hydraId.cluster,\n id: hydraId.destination,\n });\n\n options.destination = conversationUrl;\n } catch (e) {\n LoggerProxy.logger.error(`Meeting-info:util#getDestinationType --> ${e}`);\n throw e;\n }\n } else {\n LoggerProxy.logger.warn(\n \"Meeting-info:util#getDestinationType --> ('MeetingInfo is fetched with meeting link, sip uri, phone number, hydra room id, hydra people id, or a conversation url.\"\n );\n throw new ParameterError(\n 'MeetingInfo is fetched with meeting link, sip uri, phone number, hydra room id, hydra people id, or a conversation url.'\n );\n }\n\n return Promise.resolve(options);\n};\n\n/**\n * Helper function to build up a correct locus url depending on the value passed\n * @param {Object} options type and value to fetch meeting info\n * @param {String} options.type One of [SIP_URI, PERSONAL_ROOM, MEETING_ID, CONVERSATION_URL, LOCUS_ID, MEETING_LINK]\n * @param {Object} options.destination ?? value.value\n * @returns {Object} returns an object with {resource, method}\n */\nMeetingInfoUtil.getRequestBody = (options: {type: string; destination: object} | any) => {\n const {type, destination, password, captchaInfo} = options;\n const body: any = {\n supportHostKey: true,\n supportCountryList: true,\n };\n\n switch (type) {\n case _SIP_URI_:\n body.sipUrl = destination;\n break;\n case _PERSONAL_ROOM_:\n body.userId = destination.userId;\n body.orgId = destination.orgId;\n break;\n case _MEETING_ID_:\n body.meetingKey = destination;\n break;\n case _CONVERSATION_URL_:\n body.conversationUrl = destination;\n break;\n case _LOCUS_ID_:\n // use meetingID for the completer meeting info for the already started meeting\n if (destination.info?.webExMeetingId) {\n body.meetingKey = destination.info.webExMeetingId;\n } else if (destination.info?.sipUri) {\n body.sipUrl = destination.info.sipUri;\n }\n break;\n case _MEETING_LINK_:\n body.meetingUrl = destination;\n break;\n case _MEETING_UUID_: {\n body.meetingUUID = destination;\n break;\n }\n default:\n }\n\n if (password) {\n body.password = password;\n }\n\n if (captchaInfo) {\n body.captchaID = captchaInfo.id;\n body.captchaVerifyCode = captchaInfo.code;\n }\n\n return body;\n};\n\n/**\n * Helper function to parse the webex site/host from a URI string.\n * @param {String} uri string (e.g. '10019857020@convergedats.webex.com')\n * @returns {String} the site/host part of the URI string (e.g. 'convergedats.webex.com')\n */\nMeetingInfoUtil.getWebexSite = (uri: string) => {\n const exceptedDomains = ['meet.webex.com', 'meetup.webex.com', 'ciscospark.com'];\n const site = uri?.match(/.+@([^.]+\\.[^.]+\\.[^.]+)$/)?.[1];\n\n return exceptedDomains.includes(site) ? null : site;\n};\n\n/**\n * Helper function to return the direct URI for fetching meeting info (to avoid a redirect).\n * @param {Object} options type and value to fetch meeting info\n * @param {String} options.type One of [SIP_URI, PERSONAL_ROOM, MEETING_ID, CONVERSATION_URL, LOCUS_ID, MEETING_LINK]\n * @param {Object} options.destination ?? value.value\n * @returns {String} returns a URI string or null of there is no direct URI\n */\nMeetingInfoUtil.getDirectMeetingInfoURI = (options: {type: string; destination: any}) => {\n const {type, destination} = options;\n\n let preferredWebexSite = null;\n\n switch (type) {\n case _SIP_URI_:\n preferredWebexSite = MeetingInfoUtil.getWebexSite(destination);\n break;\n case _LOCUS_ID_:\n preferredWebexSite = destination.info?.webExSite;\n break;\n default:\n }\n\n return preferredWebexSite ? `https://${preferredWebexSite}/wbxappapi/v1/meetingInfo` : null;\n};\n\nexport default MeetingInfoUtil;\n"],"mappings":";;;;;;;;;;;AAAA;AAEA;AAKA;AAoBA;AACA;AAEA,IAAMA,eAAoB,GAAG,CAAC,CAAC;AAE/BA,eAAe,CAACC,YAAY,GAAG,UAACC,IAAI,EAAK;EACvC,IAAI;IACF,IAAIC,SAAS,GAAGC,YAAG,CAACC,KAAK,CAACH,IAAI,CAAC;IAE/B,IAAI,CAACC,SAAS,EAAE;MACd,OAAO,KAAK;IACd;IACA;IACA,IAAI,CAACA,SAAS,CAACG,QAAQ,EAAE;MACvBH,SAAS,GAAGC,YAAG,CAACC,KAAK,WAAIE,yBAAc,SAAGL,IAAI,EAAG;IACnD;IAEA,OAAOC,SAAS;EAClB,CAAC,CAAC,OAAOK,KAAK,EAAE;IACdC,oBAAW,CAACC,MAAM,CAACC,IAAI,8EACiDH,KAAK,EAC5E;IAED,OAAO,IAAI;EACb;AACF,CAAC;;AAED;AACA;AACA;AACA;AACA;AACAR,eAAe,CAACY,aAAa,GAAG,UAACC,KAAa,EAAK;EACjD,IAAMV,SAAS,GAAGH,eAAe,CAACC,YAAY,CAACY,KAAK,CAAC;EACrD,IAAMC,YAAY,GAAGX,SAAS,CAACY,QAAQ,IAAIZ,SAAS,CAACY,QAAQ,CAACC,QAAQ,CAACC,wBAAa,CAAC;EACrF,IAAMC,YAAY,GAChBf,SAAS,CAACgB,QAAQ,KACjBhB,SAAS,CAACgB,QAAQ,CAACH,QAAQ,YAAKI,eAAI,EAAG,IACtCjB,SAAS,CAACgB,QAAQ,CAACH,QAAQ,YAAKK,iBAAM,EAAG,IACzClB,SA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+
* @class MeetingCollection
|
|
5
|
+
*/
|
|
6
|
+
export default class MeetingCollection extends Collection {
|
|
7
|
+
/**
|
|
8
|
+
* @constructor
|
|
9
|
+
* @public
|
|
10
|
+
* @memberof MeetingCollection
|
|
11
|
+
*/
|
|
12
|
+
constructor();
|
|
13
|
+
set(meeting: any): any;
|
|
14
|
+
/**
|
|
15
|
+
* get a specific meeting searching for key
|
|
16
|
+
* @param {String} key
|
|
17
|
+
* @param {Any} value
|
|
18
|
+
* @returns {Meeting} if found, else returns null
|
|
19
|
+
* @public
|
|
20
|
+
* @memberof MeetingCollection
|
|
21
|
+
*/
|
|
22
|
+
getByKey(key: string, value: any): any;
|
|
23
|
+
}
|
|
@@ -1,44 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _Reflect$construct = require("@babel/runtime-corejs2/core-js/reflect/construct");
|
|
4
|
-
|
|
5
4
|
var _Object$defineProperty = require("@babel/runtime-corejs2/core-js/object/define-property");
|
|
6
|
-
|
|
7
5
|
var _interopRequireDefault = require("@babel/runtime-corejs2/helpers/interopRequireDefault");
|
|
8
|
-
|
|
9
6
|
_Object$defineProperty(exports, "__esModule", {
|
|
10
7
|
value: true
|
|
11
8
|
});
|
|
12
|
-
|
|
13
9
|
exports.default = void 0;
|
|
14
|
-
|
|
15
10
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/classCallCheck"));
|
|
16
|
-
|
|
17
11
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/createClass"));
|
|
18
|
-
|
|
19
12
|
var _inherits2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/inherits"));
|
|
20
|
-
|
|
21
13
|
var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/possibleConstructorReturn"));
|
|
22
|
-
|
|
23
14
|
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime-corejs2/helpers/getPrototypeOf"));
|
|
24
|
-
|
|
25
15
|
var _find2 = _interopRequireDefault(require("lodash/find"));
|
|
26
|
-
|
|
27
16
|
var _collection = _interopRequireDefault(require("../common/collection"));
|
|
28
|
-
|
|
29
17
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = _Reflect$construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
30
|
-
|
|
31
18
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !_Reflect$construct) return false; if (_Reflect$construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(_Reflect$construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
32
|
-
|
|
33
19
|
/**
|
|
34
20
|
* @export
|
|
35
21
|
* @class MeetingCollection
|
|
36
22
|
*/
|
|
37
23
|
var MeetingCollection = /*#__PURE__*/function (_Collection) {
|
|
38
24
|
(0, _inherits2.default)(MeetingCollection, _Collection);
|
|
39
|
-
|
|
40
25
|
var _super = _createSuper(MeetingCollection);
|
|
41
|
-
|
|
42
26
|
/**
|
|
43
27
|
* @constructor
|
|
44
28
|
* @public
|
|
@@ -48,15 +32,16 @@ var MeetingCollection = /*#__PURE__*/function (_Collection) {
|
|
|
48
32
|
(0, _classCallCheck2.default)(this, MeetingCollection);
|
|
49
33
|
return _super.call(this, 'meetings');
|
|
50
34
|
}
|
|
51
|
-
|
|
52
35
|
(0, _createClass2.default)(MeetingCollection, [{
|
|
53
36
|
key: "set",
|
|
54
37
|
value: function set(meeting) {
|
|
55
38
|
// @ts-ignore
|
|
56
|
-
this.meetings[meeting.id] = meeting;
|
|
39
|
+
this.meetings[meeting.id] = meeting;
|
|
57
40
|
|
|
41
|
+
// @ts-ignore
|
|
58
42
|
return this.meetings[meeting.id];
|
|
59
43
|
}
|
|
44
|
+
|
|
60
45
|
/**
|
|
61
46
|
* get a specific meeting searching for key
|
|
62
47
|
* @param {String} key
|
|
@@ -65,7 +50,6 @@ var MeetingCollection = /*#__PURE__*/function (_Collection) {
|
|
|
65
50
|
* @public
|
|
66
51
|
* @memberof MeetingCollection
|
|
67
52
|
*/
|
|
68
|
-
|
|
69
53
|
}, {
|
|
70
54
|
key: "getByKey",
|
|
71
55
|
value: function getByKey(key, value) {
|
|
@@ -75,12 +59,32 @@ var MeetingCollection = /*#__PURE__*/function (_Collection) {
|
|
|
75
59
|
return meeting[key] === value;
|
|
76
60
|
});
|
|
77
61
|
}
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
78
64
|
|
|
65
|
+
/**
|
|
66
|
+
* get a specific meeting searching for key
|
|
67
|
+
* @param {String} breakoutUrl
|
|
68
|
+
* @returns {Meeting} if found, else returns null
|
|
69
|
+
* @public
|
|
70
|
+
* @memberof MeetingCollection
|
|
71
|
+
*/
|
|
72
|
+
}, {
|
|
73
|
+
key: "getActiveBreakoutLocus",
|
|
74
|
+
value: function getActiveBreakoutLocus(breakoutUrl) {
|
|
75
|
+
if (breakoutUrl) {
|
|
76
|
+
// @ts-ignore
|
|
77
|
+
return (0, _find2.default)(
|
|
78
|
+
// @ts-ignore
|
|
79
|
+
this.meetings, function (meeting) {
|
|
80
|
+
var _meeting$breakouts, _meeting$breakouts2;
|
|
81
|
+
return ((_meeting$breakouts = meeting.breakouts) === null || _meeting$breakouts === void 0 ? void 0 : _meeting$breakouts.url) === breakoutUrl && ((_meeting$breakouts2 = meeting.breakouts) === null || _meeting$breakouts2 === void 0 ? void 0 : _meeting$breakouts2.isActiveBreakout);
|
|
82
|
+
});
|
|
83
|
+
}
|
|
79
84
|
return null;
|
|
80
85
|
}
|
|
81
86
|
}]);
|
|
82
87
|
return MeetingCollection;
|
|
83
88
|
}(_collection.default);
|
|
84
|
-
|
|
85
89
|
exports.default = MeetingCollection;
|
|
86
90
|
//# sourceMappingURL=collection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeetingCollection","meeting","meetings","id","key","value","Collection"],"sources":["collection.ts"],"sourcesContent":["import {find} from 'lodash';\n\nimport Collection from '../common/collection';\n\n/**\n * @export\n * @class MeetingCollection\n */\nexport default class MeetingCollection extends Collection {\n /**\n * @constructor\n * @public\n * @memberof MeetingCollection\n */\n constructor() {\n super('meetings');\n }\n\n set(meeting) {\n // @ts-ignore\n this.meetings[meeting.id] = meeting;\n\n // @ts-ignore\n return this.meetings[meeting.id];\n }\n\n /**\n * get a specific meeting searching for key\n * @param {String} key\n * @param {Any} value\n * @returns {Meeting} if found, else returns null\n * @public\n * @memberof MeetingCollection\n */\n public getByKey(key: string, value: any) {\n if (key && value) {\n // @ts-ignore\n return find(this.meetings, (meeting) =>
|
|
1
|
+
{"version":3,"names":["MeetingCollection","meeting","meetings","id","key","value","breakoutUrl","breakouts","url","isActiveBreakout","Collection"],"sources":["collection.ts"],"sourcesContent":["import {find} from 'lodash';\n\nimport Collection from '../common/collection';\n\n/**\n * @export\n * @class MeetingCollection\n */\nexport default class MeetingCollection extends Collection {\n /**\n * @constructor\n * @public\n * @memberof MeetingCollection\n */\n constructor() {\n super('meetings');\n }\n\n set(meeting) {\n // @ts-ignore\n this.meetings[meeting.id] = meeting;\n\n // @ts-ignore\n return this.meetings[meeting.id];\n }\n\n /**\n * get a specific meeting searching for key\n * @param {String} key\n * @param {Any} value\n * @returns {Meeting} if found, else returns null\n * @public\n * @memberof MeetingCollection\n */\n public getByKey(key: string, value: any) {\n if (key && value) {\n // @ts-ignore\n return find(this.meetings, (meeting) => meeting[key] === value);\n }\n\n return null;\n }\n\n /**\n * get a specific meeting searching for key\n * @param {String} breakoutUrl\n * @returns {Meeting} if found, else returns null\n * @public\n * @memberof MeetingCollection\n */\n public getActiveBreakoutLocus(breakoutUrl: string) {\n if (breakoutUrl) {\n // @ts-ignore\n return find(\n // @ts-ignore\n this.meetings,\n (meeting) => meeting.breakouts?.url === breakoutUrl && meeting.breakouts?.isActiveBreakout\n );\n }\n\n return null;\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;AAEA;AAA8C;AAAA;AAE9C;AACA;AACA;AACA;AAHA,IAIqBA,iBAAiB;EAAA;EAAA;EACpC;AACF;AACA;AACA;AACA;EACE,6BAAc;IAAA;IAAA,yBACN,UAAU;EAClB;EAAC;IAAA;IAAA,OAED,aAAIC,OAAO,EAAE;MACX;MACA,IAAI,CAACC,QAAQ,CAACD,OAAO,CAACE,EAAE,CAAC,GAAGF,OAAO;;MAEnC;MACA,OAAO,IAAI,CAACC,QAAQ,CAACD,OAAO,CAACE,EAAE,CAAC;IAClC;;IAEA;AACF;AACA;AACA;AACA;AACA;AACA;AACA;EAPE;IAAA;IAAA,OAQA,kBAAgBC,GAAW,EAAEC,KAAU,EAAE;MACvC,IAAID,GAAG,IAAIC,KAAK,EAAE;QAChB;QACA,OAAO,oBAAK,IAAI,CAACH,QAAQ,EAAE,UAACD,OAAO;UAAA,OAAKA,OAAO,CAACG,GAAG,CAAC,KAAKC,KAAK;QAAA,EAAC;MACjE;MAEA,OAAO,IAAI;IACb;;IAEA;AACF;AACA;AACA;AACA;AACA;AACA;EANE;IAAA;IAAA,OAOA,gCAA8BC,WAAmB,EAAE;MACjD,IAAIA,WAAW,EAAE;QACf;QACA,OAAO;QACL;QACA,IAAI,CAACJ,QAAQ,EACb,UAACD,OAAO;UAAA;UAAA,OAAK,uBAAAA,OAAO,CAACM,SAAS,uDAAjB,mBAAmBC,GAAG,MAAKF,WAAW,4BAAIL,OAAO,CAACM,SAAS,wDAAjB,oBAAmBE,gBAAgB;QAAA,EAC3F;MACH;MAEA,OAAO,IAAI;IACb;EAAC;EAAA;AAAA,EArD4CC,mBAAU;AAAA"}
|
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
import '@webex/internal-plugin-mercury';
|
|
2
|
+
import '@webex/internal-plugin-conversation';
|
|
3
|
+
import { WebexPlugin } from '@webex/webex-core';
|
|
4
|
+
import 'webrtc-adapter';
|
|
5
|
+
/**
|
|
6
|
+
* Meetings Ready Event
|
|
7
|
+
* Emitted when the meetings instance on webex is ready
|
|
8
|
+
* @event meetings:ready
|
|
9
|
+
* @instance
|
|
10
|
+
* @memberof Meetings
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Meetings Network Disconnected Event
|
|
14
|
+
* Emitted when the meetings instance is disconnected from
|
|
15
|
+
* the internal mercury server
|
|
16
|
+
* @event network:disconnected
|
|
17
|
+
* @instance
|
|
18
|
+
* @memberof Meetings
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Meetings Registered Event
|
|
22
|
+
* Emitted when the meetings instance has been registered and listening
|
|
23
|
+
* @event meetings:registered
|
|
24
|
+
* @instance
|
|
25
|
+
* @memberof Meetings
|
|
26
|
+
*/
|
|
27
|
+
/**
|
|
28
|
+
* Meeting Removed Event
|
|
29
|
+
* Emitted when a meeting was removed from the cache of meetings
|
|
30
|
+
* @event meeting:removed
|
|
31
|
+
* @instance
|
|
32
|
+
* @type {Object}
|
|
33
|
+
* @property {String} meetingId the removed meeting
|
|
34
|
+
* @property {Object} response the server response
|
|
35
|
+
* @property {String} type what type of meeting it was
|
|
36
|
+
* @memberof Meetings
|
|
37
|
+
*/
|
|
38
|
+
/**
|
|
39
|
+
* Meeting Added Event
|
|
40
|
+
* Emitted when a meeting was added to the cache of meetings
|
|
41
|
+
* @event meeting:added
|
|
42
|
+
* @instance
|
|
43
|
+
* @type {Object}
|
|
44
|
+
* @property {String} meetingId the added meeting
|
|
45
|
+
* @property {String} type what type of meeting it was
|
|
46
|
+
* @memberof Meetings
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Maintain a cache of meetings and sync with services.
|
|
50
|
+
* @class
|
|
51
|
+
*/
|
|
52
|
+
export default class Meetings extends WebexPlugin {
|
|
53
|
+
loggerRequest: any;
|
|
54
|
+
media: any;
|
|
55
|
+
meetingCollection: any;
|
|
56
|
+
personalMeetingRoom: any;
|
|
57
|
+
preferredWebexSite: any;
|
|
58
|
+
reachability: any;
|
|
59
|
+
registered: any;
|
|
60
|
+
request: any;
|
|
61
|
+
geoHintInfo: any;
|
|
62
|
+
meetingInfo: any;
|
|
63
|
+
namespace: string;
|
|
64
|
+
/**
|
|
65
|
+
* Initializes the Meetings Plugin
|
|
66
|
+
* @constructor
|
|
67
|
+
* @public
|
|
68
|
+
* @memberof Meetings
|
|
69
|
+
*/
|
|
70
|
+
constructor(...args: any[]);
|
|
71
|
+
/**
|
|
72
|
+
* handle locus events and takes meeting actions with them as they come in
|
|
73
|
+
* @param {Object} data a locus event
|
|
74
|
+
* @param {String} data.locusUrl
|
|
75
|
+
* @param {Object} data.locus
|
|
76
|
+
* @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
|
|
77
|
+
* @param {String} data.eventType
|
|
78
|
+
* @returns {undefined}
|
|
79
|
+
* @private
|
|
80
|
+
* @memberof Meetings
|
|
81
|
+
*/
|
|
82
|
+
private handleLocusEvent;
|
|
83
|
+
/**
|
|
84
|
+
* handles locus events through mercury that are not roap
|
|
85
|
+
* @param {Object} envelope
|
|
86
|
+
* @param {Object} envelope.data
|
|
87
|
+
* @param {String} envelope.data.eventType
|
|
88
|
+
* @returns {undefined}
|
|
89
|
+
* @private
|
|
90
|
+
* @memberof Meetings
|
|
91
|
+
*/
|
|
92
|
+
private handleLocusMercury;
|
|
93
|
+
/**
|
|
94
|
+
* handles mecury offline event
|
|
95
|
+
* @returns {undefined}
|
|
96
|
+
* @private
|
|
97
|
+
* @memberof Meetings
|
|
98
|
+
*/
|
|
99
|
+
private handleMercuryOffline;
|
|
100
|
+
/**
|
|
101
|
+
* registers for locus and roap mercury events
|
|
102
|
+
* @returns {undefined}
|
|
103
|
+
* @private
|
|
104
|
+
* @memberof Meetings
|
|
105
|
+
*/
|
|
106
|
+
private listenForEvents;
|
|
107
|
+
/**
|
|
108
|
+
* stops listening for locus and roap mercury events
|
|
109
|
+
* @returns {undefined}
|
|
110
|
+
* @private
|
|
111
|
+
* @memberof Meetings
|
|
112
|
+
*/
|
|
113
|
+
private stopListeningForEvents;
|
|
114
|
+
/**
|
|
115
|
+
* @returns {undefined}
|
|
116
|
+
* @private
|
|
117
|
+
* @memberof Meetings
|
|
118
|
+
*/
|
|
119
|
+
private onReady;
|
|
120
|
+
/**
|
|
121
|
+
* API to toggle unified meetings
|
|
122
|
+
* @param {Boolean} changeState
|
|
123
|
+
* @private
|
|
124
|
+
* @memberof Meetings
|
|
125
|
+
* @returns {undefined}
|
|
126
|
+
*/
|
|
127
|
+
private _toggleUnifiedMeetings;
|
|
128
|
+
/**
|
|
129
|
+
* API to enable or disable TURN discovery
|
|
130
|
+
* @param {Boolean} enable
|
|
131
|
+
* @private
|
|
132
|
+
* @memberof Meetings
|
|
133
|
+
* @returns {undefined}
|
|
134
|
+
*/
|
|
135
|
+
private _toggleTurnDiscovery;
|
|
136
|
+
/**
|
|
137
|
+
* API to toggle starting adhoc meeting
|
|
138
|
+
* @param {Boolean} changeState
|
|
139
|
+
* @private
|
|
140
|
+
* @memberof Meetings
|
|
141
|
+
* @returns {undefined}
|
|
142
|
+
*/
|
|
143
|
+
private _toggleAdhocMeetings;
|
|
144
|
+
/**
|
|
145
|
+
* Explicitly sets up the meetings plugin by registering
|
|
146
|
+
* the device, connecting to mercury, and listening for locus events.
|
|
147
|
+
*
|
|
148
|
+
* @returns {Promise}
|
|
149
|
+
* @public
|
|
150
|
+
* @memberof Meetings
|
|
151
|
+
*/
|
|
152
|
+
register(): Promise<void>;
|
|
153
|
+
/**
|
|
154
|
+
* Explicitly tears down the meetings plugin by deregistering
|
|
155
|
+
* the device, disconnecting from mercury, and stops listening to locus events
|
|
156
|
+
*
|
|
157
|
+
* @returns {Promise}
|
|
158
|
+
* @public
|
|
159
|
+
* @memberof Meetings
|
|
160
|
+
*/
|
|
161
|
+
unregister(): any;
|
|
162
|
+
/**
|
|
163
|
+
* Uploads logs to the webex services for tracking
|
|
164
|
+
* @param {Object} [options={}]
|
|
165
|
+
* @param {String} [options.callStart] Call Start Time
|
|
166
|
+
* @param {String} [options.feedbackId] ID used for tracking
|
|
167
|
+
* @param {String} [options.locusId]
|
|
168
|
+
* @param {String} [options.correlationId]
|
|
169
|
+
* @param {String} [options.meetingId] webex meeting ID
|
|
170
|
+
* @param {String} [options.userId] userId
|
|
171
|
+
* @param {String} [options.orgId] org id
|
|
172
|
+
* @returns {String} feedback ID logs were submitted under
|
|
173
|
+
*/
|
|
174
|
+
uploadLogs(options?: {
|
|
175
|
+
callStart?: string;
|
|
176
|
+
feedbackId?: string;
|
|
177
|
+
locusId?: string;
|
|
178
|
+
correlationId?: string;
|
|
179
|
+
meetingId?: string;
|
|
180
|
+
userId?: string;
|
|
181
|
+
orgId?: string;
|
|
182
|
+
}): any;
|
|
183
|
+
/**
|
|
184
|
+
* initializes the reachability instance for Meetings
|
|
185
|
+
* @returns {undefined}
|
|
186
|
+
* @public
|
|
187
|
+
* @memberof Meetings
|
|
188
|
+
*/
|
|
189
|
+
setReachability(): void;
|
|
190
|
+
/**
|
|
191
|
+
* gets the reachability instance for Meetings
|
|
192
|
+
* @returns {Reachability}
|
|
193
|
+
* @public
|
|
194
|
+
* @memberof Meetings
|
|
195
|
+
*/
|
|
196
|
+
getReachability(): any;
|
|
197
|
+
/**
|
|
198
|
+
* initializes and starts gathering reachability for Meetings
|
|
199
|
+
* @returns {Promise}
|
|
200
|
+
* @public
|
|
201
|
+
* @memberof Meetings
|
|
202
|
+
*/
|
|
203
|
+
startReachability(): any;
|
|
204
|
+
/**
|
|
205
|
+
* Get geoHint for info for meetings
|
|
206
|
+
* @returns {Promise}
|
|
207
|
+
* @private
|
|
208
|
+
* @memberof Meetings
|
|
209
|
+
*/
|
|
210
|
+
getGeoHint(): any;
|
|
211
|
+
/**
|
|
212
|
+
* Fetch user preferred webex site information
|
|
213
|
+
* This also has other infomation about the user
|
|
214
|
+
* @returns {Promise}
|
|
215
|
+
* @private
|
|
216
|
+
* @memberof Meetings
|
|
217
|
+
*/
|
|
218
|
+
fetchUserPreferredWebexSite(): any;
|
|
219
|
+
/**
|
|
220
|
+
* gets the personal meeting room instance, for saved PMR values for this user
|
|
221
|
+
* @returns {PersonalMeetingRoom}
|
|
222
|
+
* @public
|
|
223
|
+
* @memberof Meetings
|
|
224
|
+
*/
|
|
225
|
+
getPersonalMeetingRoom(): any;
|
|
226
|
+
/**
|
|
227
|
+
* @param {Meeting} meeting
|
|
228
|
+
* @param {Object} reason
|
|
229
|
+
* @param {String} type
|
|
230
|
+
* @returns {Undefined}
|
|
231
|
+
* @private
|
|
232
|
+
* @memberof Meetings
|
|
233
|
+
*/
|
|
234
|
+
private destroy;
|
|
235
|
+
/**
|
|
236
|
+
* Create a meeting.
|
|
237
|
+
* @param {string} destination - sipURL, spaceId, phonenumber, or locus object}
|
|
238
|
+
* @param {string} [type] - the optional specified type, such as locusId
|
|
239
|
+
* @param {Boolean} useRandomDelayForInfo - whether a random delay should be added to fetching meeting info
|
|
240
|
+
* @returns {Promise<Meeting>} A new Meeting.
|
|
241
|
+
* @public
|
|
242
|
+
* @memberof Meetings
|
|
243
|
+
*/
|
|
244
|
+
create(destination: string, type?: string, useRandomDelayForInfo?: boolean): any;
|
|
245
|
+
/**
|
|
246
|
+
* @param {String} destination see create()
|
|
247
|
+
* @param {String} type see create()
|
|
248
|
+
* @param {Boolean} useRandomDelayForInfo whether a random delay should be added to fetching meeting info
|
|
249
|
+
* @returns {Promise} a new meeting instance complete with meeting info and destination
|
|
250
|
+
* @private
|
|
251
|
+
* @memberof Meetings
|
|
252
|
+
*/
|
|
253
|
+
private createMeeting;
|
|
254
|
+
/**
|
|
255
|
+
* get a specifc meeting given it's type matched to the value, i.e., locus url
|
|
256
|
+
* @param {String} type
|
|
257
|
+
* @param {Object} value
|
|
258
|
+
* @returns {Meeting}
|
|
259
|
+
* @public
|
|
260
|
+
* @memberof Meetings
|
|
261
|
+
*/
|
|
262
|
+
getMeetingByType(type: string, value: object): any;
|
|
263
|
+
/**
|
|
264
|
+
* Get all meetings.
|
|
265
|
+
* @param {object} options
|
|
266
|
+
* @param {object} options.startDate - get meetings after this start date
|
|
267
|
+
* @param {object} options.endDate - get meetings before this end date
|
|
268
|
+
* @returns {Object} All currently active meetings.
|
|
269
|
+
* @public
|
|
270
|
+
* @memberof Meetings
|
|
271
|
+
*/
|
|
272
|
+
getAllMeetings(options?: {
|
|
273
|
+
startDate: object;
|
|
274
|
+
endDate: object;
|
|
275
|
+
}): any;
|
|
276
|
+
/**
|
|
277
|
+
* syncs all the meeting from server
|
|
278
|
+
* @returns {undefined}
|
|
279
|
+
* @public
|
|
280
|
+
* @memberof Meetings
|
|
281
|
+
*/
|
|
282
|
+
syncMeetings(): any;
|
|
283
|
+
/**
|
|
284
|
+
* Get all scheduled meetings.
|
|
285
|
+
* @param {object} options
|
|
286
|
+
* @param {object} options.startDate - get meetings after this start date
|
|
287
|
+
* @param {object} options.endDate - get meetings before this end date
|
|
288
|
+
* @returns {Object} All scheduled meetings.
|
|
289
|
+
* @memberof Meetings
|
|
290
|
+
*/
|
|
291
|
+
getScheduledMeetings(): any;
|
|
292
|
+
/**
|
|
293
|
+
* Get the logger instance for plugin-meetings
|
|
294
|
+
* @returns {Logger}
|
|
295
|
+
*/
|
|
296
|
+
getLogger(): any;
|
|
297
|
+
}
|