@ale-rainbow/web-sdk 5.1.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/README.md +44 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +501 -0
- package/lib/index.js.map +7 -0
- package/lib/libs/index.d.ts +3 -0
- package/lib/libs/index.d.ts.map +1 -0
- package/lib/libs/strophe/strophe-plugin.d.ts +13 -0
- package/lib/libs/strophe/strophe-plugin.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.d.ts +35 -0
- package/lib/libs/strophe/strophe.jingle.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.sdp.d.ts +44 -0
- package/lib/libs/strophe/strophe.jingle.sdp.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.session.d.ts +624 -0
- package/lib/libs/strophe/strophe.jingle.session.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.jingle.session.stats.d.ts +791 -0
- package/lib/libs/strophe/strophe.jingle.session.stats.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.lastactivity.d.ts +9 -0
- package/lib/libs/strophe/strophe.lastactivity.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.mam.d.ts +11 -0
- package/lib/libs/strophe/strophe.mam.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.ping.d.ts +39 -0
- package/lib/libs/strophe/strophe.ping.d.ts.map +1 -0
- package/lib/libs/strophe/strophe.rsm.d.ts +24 -0
- package/lib/libs/strophe/strophe.rsm.d.ts.map +1 -0
- package/lib/libs/strophe/types.d.ts +23 -0
- package/lib/libs/strophe/types.d.ts.map +1 -0
- package/lib/models/authSettings.model.d.ts +38 -0
- package/lib/models/authSettings.model.d.ts.map +1 -0
- package/lib/models/bubble.model.d.ts +1114 -0
- package/lib/models/bubble.model.d.ts.map +1 -0
- package/lib/models/bubbleConferenceRecap.model.d.ts +532 -0
- package/lib/models/bubbleConferenceRecap.model.d.ts.map +1 -0
- package/lib/models/call.model.d.ts +1271 -0
- package/lib/models/call.model.d.ts.map +1 -0
- package/lib/models/callLog.model.d.ts +361 -0
- package/lib/models/callLog.model.d.ts.map +1 -0
- package/lib/models/channel.model.d.ts +692 -0
- package/lib/models/channel.model.d.ts.map +1 -0
- package/lib/models/channelMessage.model.d.ts +300 -0
- package/lib/models/channelMessage.model.d.ts.map +1 -0
- package/lib/models/cli.model.d.ts +59 -0
- package/lib/models/cli.model.d.ts.map +1 -0
- package/lib/models/common/context.d.ts +37 -0
- package/lib/models/common/context.d.ts.map +1 -0
- package/lib/models/common/error.d.ts +26 -0
- package/lib/models/common/error.d.ts.map +1 -0
- package/lib/models/common/fileDescriptor.d.ts +317 -0
- package/lib/models/common/fileDescriptor.d.ts.map +1 -0
- package/lib/models/common/filePublicDownload.d.ts +26 -0
- package/lib/models/common/filePublicDownload.d.ts.map +1 -0
- package/lib/models/common/fileViewer.d.ts +20 -0
- package/lib/models/common/fileViewer.d.ts.map +1 -0
- package/lib/models/common/index.d.ts +9 -0
- package/lib/models/common/index.d.ts.map +1 -0
- package/lib/models/common/theme.d.ts +185 -0
- package/lib/models/common/theme.d.ts.map +1 -0
- package/lib/models/common/themeColor.d.ts +47 -0
- package/lib/models/common/themeColor.d.ts.map +1 -0
- package/lib/models/common/userTheme.d.ts +42 -0
- package/lib/models/common/userTheme.d.ts.map +1 -0
- package/lib/models/company-invitation.model.d.ts +42 -0
- package/lib/models/company-invitation.model.d.ts.map +1 -0
- package/lib/models/company.model.d.ts +639 -0
- package/lib/models/company.model.d.ts.map +1 -0
- package/lib/models/contact.model.d.ts +1208 -0
- package/lib/models/contact.model.d.ts.map +1 -0
- package/lib/models/conversation.model.d.ts +768 -0
- package/lib/models/conversation.model.d.ts.map +1 -0
- package/lib/models/customManifest.model.d.ts +82 -0
- package/lib/models/customManifest.model.d.ts.map +1 -0
- package/lib/models/dataChannel.model.d.ts +178 -0
- package/lib/models/dataChannel.model.d.ts.map +1 -0
- package/lib/models/dial-in-phone-numbers.model.d.ts +18 -0
- package/lib/models/dial-in-phone-numbers.model.d.ts.map +1 -0
- package/lib/models/directoryContact.model.d.ts +205 -0
- package/lib/models/directoryContact.model.d.ts.map +1 -0
- package/lib/models/event.model.d.ts +14 -0
- package/lib/models/event.model.d.ts.map +1 -0
- package/lib/models/favorite.model.d.ts +94 -0
- package/lib/models/favorite.model.d.ts.map +1 -0
- package/lib/models/fileDocument.model.d.ts +345 -0
- package/lib/models/fileDocument.model.d.ts.map +1 -0
- package/lib/models/geoLoc.model.d.ts +6 -0
- package/lib/models/geoLoc.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +46 -0
- package/lib/models/index.d.ts.map +1 -0
- package/lib/models/invitation.model.d.ts +88 -0
- package/lib/models/invitation.model.d.ts.map +1 -0
- package/lib/models/invoices.model.d.ts +76 -0
- package/lib/models/invoices.model.d.ts.map +1 -0
- package/lib/models/logEntry.model.d.ts +23 -0
- package/lib/models/logEntry.model.d.ts.map +1 -0
- package/lib/models/message.model.d.ts +400 -0
- package/lib/models/message.model.d.ts.map +1 -0
- package/lib/models/messageAdditionalContent.parsers.d.ts +32 -0
- package/lib/models/messageAdditionalContent.parsers.d.ts.map +1 -0
- package/lib/models/offer.model.d.ts +16 -0
- package/lib/models/offer.model.d.ts.map +1 -0
- package/lib/models/p2pRecap.model.d.ts +372 -0
- package/lib/models/p2pRecap.model.d.ts.map +1 -0
- package/lib/models/paymentMethods.model.d.ts +98 -0
- package/lib/models/paymentMethods.model.d.ts.map +1 -0
- package/lib/models/personalRoutine.model.d.ts +173 -0
- package/lib/models/personalRoutine.model.d.ts.map +1 -0
- package/lib/models/poll.model.d.ts +139 -0
- package/lib/models/poll.model.d.ts.map +1 -0
- package/lib/models/rainbow-auth.model.d.ts +137 -0
- package/lib/models/rainbow-auth.model.d.ts.map +1 -0
- package/lib/models/searchTextConvResults.model.d.ts +30 -0
- package/lib/models/searchTextConvResults.model.d.ts.map +1 -0
- package/lib/models/site.model.d.ts +165 -0
- package/lib/models/site.model.d.ts.map +1 -0
- package/lib/models/subscription.model.d.ts +592 -0
- package/lib/models/subscription.model.d.ts.map +1 -0
- package/lib/models/telephonyConfig.model.d.ts +144 -0
- package/lib/models/telephonyConfig.model.d.ts.map +1 -0
- package/lib/models/telephonyForward.model.d.ts +47 -0
- package/lib/models/telephonyForward.model.d.ts.map +1 -0
- package/lib/models/todo.model.d.ts +103 -0
- package/lib/models/todo.model.d.ts.map +1 -0
- package/lib/models/transcription.model.d.ts +59 -0
- package/lib/models/transcription.model.d.ts.map +1 -0
- package/lib/models/user.model.d.ts +1008 -0
- package/lib/models/user.model.d.ts.map +1 -0
- package/lib/models/userProfileTemplate.model.d.ts +735 -0
- package/lib/models/userProfileTemplate.model.d.ts.map +1 -0
- package/lib/models/usersList.model.d.ts +117 -0
- package/lib/models/usersList.model.d.ts.map +1 -0
- package/lib/models/webConferenceParticipant.model.d.ts +135 -0
- package/lib/models/webConferenceParticipant.model.d.ts.map +1 -0
- package/lib/models/webConferenceSession.model.d.ts +658 -0
- package/lib/models/webConferenceSession.model.d.ts.map +1 -0
- package/lib/models/webinar.model.d.ts +738 -0
- package/lib/models/webinar.model.d.ts.map +1 -0
- package/lib/models/webinarRecap.model.d.ts +118 -0
- package/lib/models/webinarRecap.model.d.ts.map +1 -0
- package/lib/node.d.ts +3 -0
- package/lib/node.d.ts.map +1 -0
- package/lib/node.js +423 -0
- package/lib/node.js.map +7 -0
- package/lib/node.sdk.d.ts +41 -0
- package/lib/node.sdk.d.ts.map +1 -0
- package/lib/plugins/admin.plugin.d.ts +6 -0
- package/lib/plugins/admin.plugin.d.ts.map +1 -0
- package/lib/plugins/bubbleConference.plugin.d.ts +6 -0
- package/lib/plugins/bubbleConference.plugin.d.ts.map +1 -0
- package/lib/plugins/bubbleTag.plugin.d.ts +6 -0
- package/lib/plugins/bubbleTag.plugin.d.ts.map +1 -0
- package/lib/plugins/bubbles.plugin.d.ts +6 -0
- package/lib/plugins/bubbles.plugin.d.ts.map +1 -0
- package/lib/plugins/businessDirectory.plugin.d.ts +6 -0
- package/lib/plugins/businessDirectory.plugin.d.ts.map +1 -0
- package/lib/plugins/callRecorder.plugin.d.ts +6 -0
- package/lib/plugins/callRecorder.plugin.d.ts.map +1 -0
- package/lib/plugins/calllog.plugin.d.ts +6 -0
- package/lib/plugins/calllog.plugin.d.ts.map +1 -0
- package/lib/plugins/calls.plugin.d.ts +6 -0
- package/lib/plugins/calls.plugin.d.ts.map +1 -0
- package/lib/plugins/channels.plugin.d.ts +6 -0
- package/lib/plugins/channels.plugin.d.ts.map +1 -0
- package/lib/plugins/dataChannel.plugin.d.ts +6 -0
- package/lib/plugins/dataChannel.plugin.d.ts.map +1 -0
- package/lib/plugins/deviceManagement.plugin.d.ts +6 -0
- package/lib/plugins/deviceManagement.plugin.d.ts.map +1 -0
- package/lib/plugins/favorites.plugin.d.ts +6 -0
- package/lib/plugins/favorites.plugin.d.ts.map +1 -0
- package/lib/plugins/fileDocument.plugin.d.ts +6 -0
- package/lib/plugins/fileDocument.plugin.d.ts.map +1 -0
- package/lib/plugins/helpCenter.plugin.d.ts +6 -0
- package/lib/plugins/helpCenter.plugin.d.ts.map +1 -0
- package/lib/plugins/index.d.ts +27 -0
- package/lib/plugins/index.d.ts.map +1 -0
- package/lib/plugins/microsoft0365Ad.plugin.d.ts +6 -0
- package/lib/plugins/microsoft0365Ad.plugin.d.ts.map +1 -0
- package/lib/plugins/pbxUsers.plugin.d.ts +6 -0
- package/lib/plugins/pbxUsers.plugin.d.ts.map +1 -0
- package/lib/plugins/personalDirectory.plugin.d.ts +6 -0
- package/lib/plugins/personalDirectory.plugin.d.ts.map +1 -0
- package/lib/plugins/plugin.d.ts +8 -0
- package/lib/plugins/plugin.d.ts.map +1 -0
- package/lib/plugins/polls.plugin.d.ts +6 -0
- package/lib/plugins/polls.plugin.d.ts.map +1 -0
- package/lib/plugins/rpc.plugin.d.ts +6 -0
- package/lib/plugins/rpc.plugin.d.ts.map +1 -0
- package/lib/plugins/telemetry.plugin.d.ts +6 -0
- package/lib/plugins/telemetry.plugin.d.ts.map +1 -0
- package/lib/plugins/telephony.plugin.d.ts +6 -0
- package/lib/plugins/telephony.plugin.d.ts.map +1 -0
- package/lib/plugins/telephonyConfig.plugin.d.ts +6 -0
- package/lib/plugins/telephonyConfig.plugin.d.ts.map +1 -0
- package/lib/plugins/transcription.plugin.d.ts +6 -0
- package/lib/plugins/transcription.plugin.d.ts.map +1 -0
- package/lib/plugins/usersList.plugin.d.ts +6 -0
- package/lib/plugins/usersList.plugin.d.ts.map +1 -0
- package/lib/plugins/virtualBackground.plugin.d.ts +6 -0
- package/lib/plugins/virtualBackground.plugin.d.ts.map +1 -0
- package/lib/plugins/webinar.plugin.d.ts +6 -0
- package/lib/plugins/webinar.plugin.d.ts.map +1 -0
- package/lib/rainbow.sdk.d.ts +309 -0
- package/lib/rainbow.sdk.d.ts.map +1 -0
- package/lib/services/admin/admin-alarm.service.d.ts +42 -0
- package/lib/services/admin/admin-alarm.service.d.ts.map +1 -0
- package/lib/services/admin/admin-company.service.d.ts +167 -0
- package/lib/services/admin/admin-company.service.d.ts.map +1 -0
- package/lib/services/admin/admin-department.service.d.ts +39 -0
- package/lib/services/admin/admin-department.service.d.ts.map +1 -0
- package/lib/services/admin/admin-invitation.service.d.ts +114 -0
- package/lib/services/admin/admin-invitation.service.d.ts.map +1 -0
- package/lib/services/admin/admin-management.service.d.ts +100 -0
- package/lib/services/admin/admin-management.service.d.ts.map +1 -0
- package/lib/services/admin/admin-rvcp.service.d.ts +43 -0
- package/lib/services/admin/admin-rvcp.service.d.ts.map +1 -0
- package/lib/services/admin/admin-site.service.d.ts +64 -0
- package/lib/services/admin/admin-site.service.d.ts.map +1 -0
- package/lib/services/admin/admin-subscription.service.d.ts +135 -0
- package/lib/services/admin/admin-subscription.service.d.ts.map +1 -0
- package/lib/services/admin/admin-tag.service.d.ts +79 -0
- package/lib/services/admin/admin-tag.service.d.ts.map +1 -0
- package/lib/services/admin/admin-user-profile.service.d.ts +76 -0
- package/lib/services/admin/admin-user-profile.service.d.ts.map +1 -0
- package/lib/services/admin/admin-user.service.d.ts +338 -0
- package/lib/services/admin/admin-user.service.d.ts.map +1 -0
- package/lib/services/admin/admin.common.d.ts +40 -0
- package/lib/services/admin/admin.common.d.ts.map +1 -0
- package/lib/services/admin/admin.service.d.ts +138 -0
- package/lib/services/admin/admin.service.d.ts.map +1 -0
- package/lib/services/admin/index.d.ts +14 -0
- package/lib/services/admin/index.d.ts.map +1 -0
- package/lib/services/bot/bot.service.d.ts +121 -0
- package/lib/services/bot/bot.service.d.ts.map +1 -0
- package/lib/services/bubbles/bubble.service.d.ts +889 -0
- package/lib/services/bubbles/bubble.service.d.ts.map +1 -0
- package/lib/services/bubbles/bubbleTag.service.d.ts +132 -0
- package/lib/services/bubbles/bubbleTag.service.d.ts.map +1 -0
- package/lib/services/bubbles/index.d.ts +3 -0
- package/lib/services/bubbles/index.d.ts.map +1 -0
- package/lib/services/call/call.service.d.ts +297 -0
- package/lib/services/call/call.service.d.ts.map +1 -0
- package/lib/services/call/callRecorder.service.d.ts +358 -0
- package/lib/services/call/callRecorder.service.d.ts.map +1 -0
- package/lib/services/call/index.d.ts +3 -0
- package/lib/services/call/index.d.ts.map +1 -0
- package/lib/services/callLog/callLog.service.d.ts +563 -0
- package/lib/services/callLog/callLog.service.d.ts.map +1 -0
- package/lib/services/callLog/index.d.ts +5 -0
- package/lib/services/callLog/index.d.ts.map +1 -0
- package/lib/services/callLog/p2pRecap.service.d.ts +206 -0
- package/lib/services/callLog/p2pRecap.service.d.ts.map +1 -0
- package/lib/services/channels/channel.service.d.ts +626 -0
- package/lib/services/channels/channel.service.d.ts.map +1 -0
- package/lib/services/channels/index.d.ts +3 -0
- package/lib/services/channels/index.d.ts.map +1 -0
- package/lib/services/citrix/citrix.service.d.ts +30 -0
- package/lib/services/citrix/citrix.service.d.ts.map +1 -0
- package/lib/services/citrix/index.d.ts +3 -0
- package/lib/services/citrix/index.d.ts.map +1 -0
- package/lib/services/company/company-directory.service.d.ts +222 -0
- package/lib/services/company/company-directory.service.d.ts.map +1 -0
- package/lib/services/conference/bubbleConference.service.d.ts +1237 -0
- package/lib/services/conference/bubbleConference.service.d.ts.map +1 -0
- package/lib/services/conference/bubbleConferenceRecap.service.d.ts +159 -0
- package/lib/services/conference/bubbleConferenceRecap.service.d.ts.map +1 -0
- package/lib/services/conference/index.d.ts +5 -0
- package/lib/services/conference/index.d.ts.map +1 -0
- package/lib/services/conference/webConferenceHelper.d.ts +25 -0
- package/lib/services/conference/webConferenceHelper.d.ts.map +1 -0
- package/lib/services/conversation/conversation.service.d.ts +723 -0
- package/lib/services/conversation/conversation.service.d.ts.map +1 -0
- package/lib/services/conversation/conversationServiceBulkHistoryHandler.d.ts +39 -0
- package/lib/services/conversation/conversationServiceBulkHistoryHandler.d.ts.map +1 -0
- package/lib/services/conversation/conversationServiceEventHandler.d.ts +78 -0
- package/lib/services/conversation/conversationServiceEventHandler.d.ts.map +1 -0
- package/lib/services/conversation/index.d.ts +3 -0
- package/lib/services/conversation/index.d.ts.map +1 -0
- package/lib/services/core/account.service.d.ts +98 -0
- package/lib/services/core/account.service.d.ts.map +1 -0
- package/lib/services/core/auth.service.d.ts +303 -0
- package/lib/services/core/auth.service.d.ts.map +1 -0
- package/lib/services/core/company.service.d.ts +30 -0
- package/lib/services/core/company.service.d.ts.map +1 -0
- package/lib/services/core/connection.service.d.ts +209 -0
- package/lib/services/core/connection.service.d.ts.map +1 -0
- package/lib/services/core/contact.service.d.ts +617 -0
- package/lib/services/core/contact.service.d.ts.map +1 -0
- package/lib/services/core/country.service.d.ts +66 -0
- package/lib/services/core/country.service.d.ts.map +1 -0
- package/lib/services/core/directorySearch.service.d.ts +305 -0
- package/lib/services/core/directorySearch.service.d.ts.map +1 -0
- package/lib/services/core/event.service.d.ts +31 -0
- package/lib/services/core/event.service.d.ts.map +1 -0
- package/lib/services/core/i18n.service.d.ts +19 -0
- package/lib/services/core/i18n.service.d.ts.map +1 -0
- package/lib/services/core/imageUtils.service.d.ts +15 -0
- package/lib/services/core/imageUtils.service.d.ts.map +1 -0
- package/lib/services/core/index.d.ts +19 -0
- package/lib/services/core/index.d.ts.map +1 -0
- package/lib/services/core/logger.service.d.ts +143 -0
- package/lib/services/core/logger.service.d.ts.map +1 -0
- package/lib/services/core/logging.service.d.ts +51 -0
- package/lib/services/core/logging.service.d.ts.map +1 -0
- package/lib/services/core/main.service.d.ts +124 -0
- package/lib/services/core/main.service.d.ts.map +1 -0
- package/lib/services/core/presenceHelper.service.d.ts +73 -0
- package/lib/services/core/presenceHelper.service.d.ts.map +1 -0
- package/lib/services/core/profile.service.d.ts +453 -0
- package/lib/services/core/profile.service.d.ts.map +1 -0
- package/lib/services/core/settings.service.d.ts +82 -0
- package/lib/services/core/settings.service.d.ts.map +1 -0
- package/lib/services/core/userInfo.service.d.ts +25 -0
- package/lib/services/core/userInfo.service.d.ts.map +1 -0
- package/lib/services/core/userNetwork.service.d.ts +171 -0
- package/lib/services/core/userNetwork.service.d.ts.map +1 -0
- package/lib/services/core/xmpp.service.d.ts +99 -0
- package/lib/services/core/xmpp.service.d.ts.map +1 -0
- package/lib/services/dataChannel/dataChannel.service.d.ts +102 -0
- package/lib/services/dataChannel/dataChannel.service.d.ts.map +1 -0
- package/lib/services/dataChannel/index.d.ts +3 -0
- package/lib/services/dataChannel/index.d.ts.map +1 -0
- package/lib/services/deviceManagement/deviceEchoFilter.d.ts +86 -0
- package/lib/services/deviceManagement/deviceEchoFilter.d.ts.map +1 -0
- package/lib/services/deviceManagement/deviceManagement.service.d.ts +290 -0
- package/lib/services/deviceManagement/deviceManagement.service.d.ts.map +1 -0
- package/lib/services/deviceManagement/index.d.ts +2 -0
- package/lib/services/deviceManagement/index.d.ts.map +1 -0
- package/lib/services/deviceManagement/webHidManager.service.d.ts +616 -0
- package/lib/services/deviceManagement/webHidManager.service.d.ts.map +1 -0
- package/lib/services/directory/directory.service.d.ts +108 -0
- package/lib/services/directory/directory.service.d.ts.map +1 -0
- package/lib/services/directory/index.d.ts +3 -0
- package/lib/services/directory/index.d.ts.map +1 -0
- package/lib/services/directory/office365ad.service.d.ts +74 -0
- package/lib/services/directory/office365ad.service.d.ts.map +1 -0
- package/lib/services/directory/personal-directory.service.d.ts +425 -0
- package/lib/services/directory/personal-directory.service.d.ts.map +1 -0
- package/lib/services/directory/phonebook.service.d.ts +43 -0
- package/lib/services/directory/phonebook.service.d.ts.map +1 -0
- package/lib/services/event-mixin.d.ts +75 -0
- package/lib/services/event-mixin.d.ts.map +1 -0
- package/lib/services/favorites/favorites.service.d.ts +313 -0
- package/lib/services/favorites/favorites.service.d.ts.map +1 -0
- package/lib/services/favorites/index.d.ts +3 -0
- package/lib/services/favorites/index.d.ts.map +1 -0
- package/lib/services/fileDocument/fileDocument.service.d.ts +229 -0
- package/lib/services/fileDocument/fileDocument.service.d.ts.map +1 -0
- package/lib/services/fileDocument/index.d.ts +5 -0
- package/lib/services/fileDocument/index.d.ts.map +1 -0
- package/lib/services/files/fileDescriptorEventHandler.service.d.ts +18 -0
- package/lib/services/files/fileDescriptorEventHandler.service.d.ts.map +1 -0
- package/lib/services/files/fileServer.service.d.ts +268 -0
- package/lib/services/files/fileServer.service.d.ts.map +1 -0
- package/lib/services/files/fileStorage.service.d.ts +426 -0
- package/lib/services/files/fileStorage.service.d.ts.map +1 -0
- package/lib/services/helpcenter/helpCenter.service.d.ts +207 -0
- package/lib/services/helpcenter/helpCenter.service.d.ts.map +1 -0
- package/lib/services/helpcenter/index.d.ts +4 -0
- package/lib/services/helpcenter/index.d.ts.map +1 -0
- package/lib/services/helpcenter/whatsNew.service.d.ts +47 -0
- package/lib/services/helpcenter/whatsNew.service.d.ts.map +1 -0
- package/lib/services/horizon/horizon.service.d.ts +31 -0
- package/lib/services/horizon/horizon.service.d.ts.map +1 -0
- package/lib/services/horizon/index.d.ts +3 -0
- package/lib/services/horizon/index.d.ts.map +1 -0
- package/lib/services/index.d.ts +35 -0
- package/lib/services/index.d.ts.map +1 -0
- package/lib/services/launcher/config/sdkLaunchConfig.d.ts +8 -0
- package/lib/services/launcher/config/sdkLaunchConfig.d.ts.map +1 -0
- package/lib/services/localTranslation/chromeTranslation.engine.d.ts +79 -0
- package/lib/services/localTranslation/chromeTranslation.engine.d.ts.map +1 -0
- package/lib/services/localTranslation/index.d.ts +6 -0
- package/lib/services/localTranslation/index.d.ts.map +1 -0
- package/lib/services/localTranslation/localTranslation.service.d.ts +129 -0
- package/lib/services/localTranslation/localTranslation.service.d.ts.map +1 -0
- package/lib/services/localTranslation/translationEngine.d.ts +81 -0
- package/lib/services/localTranslation/translationEngine.d.ts.map +1 -0
- package/lib/services/metrics/analytics.service.d.ts +63 -0
- package/lib/services/metrics/analytics.service.d.ts.map +1 -0
- package/lib/services/metrics/index.d.ts +2 -0
- package/lib/services/metrics/index.d.ts.map +1 -0
- package/lib/services/notifications/index.d.ts +2 -0
- package/lib/services/notifications/index.d.ts.map +1 -0
- package/lib/services/notifications/notificationCenter.service.d.ts +178 -0
- package/lib/services/notifications/notificationCenter.service.d.ts.map +1 -0
- package/lib/services/notifications/notificationsViewer.service.d.ts +46 -0
- package/lib/services/notifications/notificationsViewer.service.d.ts.map +1 -0
- package/lib/services/personalRoutines/personal-routines.service.d.ts +159 -0
- package/lib/services/personalRoutines/personal-routines.service.d.ts.map +1 -0
- package/lib/services/polls/index.d.ts +2 -0
- package/lib/services/polls/index.d.ts.map +1 -0
- package/lib/services/polls/polls.service.d.ts +139 -0
- package/lib/services/polls/polls.service.d.ts.map +1 -0
- package/lib/services/ringing/index.d.ts +2 -0
- package/lib/services/ringing/index.d.ts.map +1 -0
- package/lib/services/ringing/ringing.service.d.ts +535 -0
- package/lib/services/ringing/ringing.service.d.ts.map +1 -0
- package/lib/services/rpc/index.d.ts +2 -0
- package/lib/services/rpc/index.d.ts.map +1 -0
- package/lib/services/rpc/rpc.service.d.ts +75 -0
- package/lib/services/rpc/rpc.service.d.ts.map +1 -0
- package/lib/services/service.d.ts +9 -0
- package/lib/services/service.d.ts.map +1 -0
- package/lib/services/speechRecognitionService/speechRecognition.service.d.ts +87 -0
- package/lib/services/speechRecognitionService/speechRecognition.service.d.ts.map +1 -0
- package/lib/services/subscription/index.d.ts +4 -0
- package/lib/services/subscription/index.d.ts.map +1 -0
- package/lib/services/subscription/invoices.service.d.ts +78 -0
- package/lib/services/subscription/invoices.service.d.ts.map +1 -0
- package/lib/services/subscription/paymentMethods.service.d.ts +164 -0
- package/lib/services/subscription/paymentMethods.service.d.ts.map +1 -0
- package/lib/services/subscription/subscription.service.d.ts +510 -0
- package/lib/services/subscription/subscription.service.d.ts.map +1 -0
- package/lib/services/support/index.d.ts +2 -0
- package/lib/services/support/index.d.ts.map +1 -0
- package/lib/services/support/support.model.d.ts +143 -0
- package/lib/services/support/support.model.d.ts.map +1 -0
- package/lib/services/support/support.service.d.ts +162 -0
- package/lib/services/support/support.service.d.ts.map +1 -0
- package/lib/services/telemetry/index.d.ts +3 -0
- package/lib/services/telemetry/index.d.ts.map +1 -0
- package/lib/services/telemetry/jsonRPC.service.d.ts +25 -0
- package/lib/services/telemetry/jsonRPC.service.d.ts.map +1 -0
- package/lib/services/telemetry/telemetry.service.d.ts +22 -0
- package/lib/services/telemetry/telemetry.service.d.ts.map +1 -0
- package/lib/services/telephony/index.d.ts +4 -0
- package/lib/services/telephony/index.d.ts.map +1 -0
- package/lib/services/telephony/supervision.service.d.ts +277 -0
- package/lib/services/telephony/supervision.service.d.ts.map +1 -0
- package/lib/services/telephony/telephony.service.d.ts +1476 -0
- package/lib/services/telephony/telephony.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonyCcdAgent.service.d.ts +63 -0
- package/lib/services/telephony/telephonyCcdAgent.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonyHybridEventHandler.d.ts +360 -0
- package/lib/services/telephony/telephonyHybridEventHandler.d.ts.map +1 -0
- package/lib/services/telephony/telephonyKeys.service.d.ts +86 -0
- package/lib/services/telephony/telephonyKeys.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonySipWise.service.d.ts +543 -0
- package/lib/services/telephony/telephonySipWise.service.d.ts.map +1 -0
- package/lib/services/telephony/telephonySipWiseEventHandler.d.ts +462 -0
- package/lib/services/telephony/telephonySipWiseEventHandler.d.ts.map +1 -0
- package/lib/services/telephonyConfig/index.d.ts +3 -0
- package/lib/services/telephonyConfig/index.d.ts.map +1 -0
- package/lib/services/telephonyConfig/telephonyConfig.service.d.ts +150 -0
- package/lib/services/telephonyConfig/telephonyConfig.service.d.ts.map +1 -0
- package/lib/services/todo/todo.service.d.ts +358 -0
- package/lib/services/todo/todo.service.d.ts.map +1 -0
- package/lib/services/transcription/index.d.ts +2 -0
- package/lib/services/transcription/index.d.ts.map +1 -0
- package/lib/services/transcription/liveTranscription.service.d.ts +94 -0
- package/lib/services/transcription/liveTranscription.service.d.ts.map +1 -0
- package/lib/services/ulrMetadata/urlMetadata.service.d.ts +51 -0
- package/lib/services/ulrMetadata/urlMetadata.service.d.ts.map +1 -0
- package/lib/services/users/index.d.ts +3 -0
- package/lib/services/users/index.d.ts.map +1 -0
- package/lib/services/users/user.service.d.ts +146 -0
- package/lib/services/users/user.service.d.ts.map +1 -0
- package/lib/services/users/usersLists.service.d.ts +239 -0
- package/lib/services/users/usersLists.service.d.ts.map +1 -0
- package/lib/services/utilities/browserDatabase.service.d.ts +69 -0
- package/lib/services/utilities/browserDatabase.service.d.ts.map +1 -0
- package/lib/services/utilities/errorHelper.service.d.ts +24 -0
- package/lib/services/utilities/errorHelper.service.d.ts.map +1 -0
- package/lib/services/utilities/index.d.ts +4 -0
- package/lib/services/utilities/index.d.ts.map +1 -0
- package/lib/services/utilities/utilities.service.d.ts +74 -0
- package/lib/services/utilities/utilities.service.d.ts.map +1 -0
- package/lib/services/virtualBackground/RBVirtualBackground.service.d.ts +228 -0
- package/lib/services/virtualBackground/RBVirtualBackground.service.d.ts.map +1 -0
- package/lib/services/virtualBackground/index.d.ts +4 -0
- package/lib/services/virtualBackground/index.d.ts.map +1 -0
- package/lib/services/virtualBackground/personalVideoBackground.d.ts +190 -0
- package/lib/services/virtualBackground/personalVideoBackground.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/canvas2D/canvas2DPipeline.d.ts +66 -0
- package/lib/services/virtualBackground/pipeline/canvas2D/canvas2DPipeline.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/blurStage.d.ts +88 -0
- package/lib/services/virtualBackground/pipeline/webgl2/blurStage.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/imageStage.d.ts +69 -0
- package/lib/services/virtualBackground/pipeline/webgl2/imageStage.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/jointBilateralFilter.d.ts +55 -0
- package/lib/services/virtualBackground/pipeline/webgl2/jointBilateralFilter.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/resizingStage.d.ts +59 -0
- package/lib/services/virtualBackground/pipeline/webgl2/resizingStage.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/softMax.d.ts +34 -0
- package/lib/services/virtualBackground/pipeline/webgl2/softMax.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webgl2Pipeline.d.ts +62 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webgl2Pipeline.d.ts.map +1 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webglHelper.d.ts +56 -0
- package/lib/services/virtualBackground/pipeline/webgl2/webglHelper.d.ts.map +1 -0
- package/lib/services/virtualBackground/virtualBackground.service.d.ts +399 -0
- package/lib/services/virtualBackground/virtualBackground.service.d.ts.map +1 -0
- package/lib/services/webinars/index.d.ts +10 -0
- package/lib/services/webinars/index.d.ts.map +1 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.model.d.ts +71 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.model.d.ts.map +1 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.service.d.ts +86 -0
- package/lib/services/webinars/telemetry/webinarTelemetry.service.d.ts.map +1 -0
- package/lib/services/webinars/telemetry/webinarTelemetryDatabase.d.ts +31 -0
- package/lib/services/webinars/telemetry/webinarTelemetryDatabase.d.ts.map +1 -0
- package/lib/services/webinars/webinarAudioMixer.d.ts +45 -0
- package/lib/services/webinars/webinarAudioMixer.d.ts.map +1 -0
- package/lib/services/webinars/webinarConference.service.d.ts +323 -0
- package/lib/services/webinars/webinarConference.service.d.ts.map +1 -0
- package/lib/services/webinars/webinarConference.utils.d.ts +24 -0
- package/lib/services/webinars/webinarConference.utils.d.ts.map +1 -0
- package/lib/services/webinars/webinarParticipants.service.d.ts +43 -0
- package/lib/services/webinars/webinarParticipants.service.d.ts.map +1 -0
- package/lib/services/webinars/webinarSpeakers.service.d.ts +25 -0
- package/lib/services/webinars/webinarSpeakers.service.d.ts.map +1 -0
- package/lib/services/webinars/webinarStoryLine.service.d.ts +117 -0
- package/lib/services/webinars/webinarStoryLine.service.d.ts.map +1 -0
- package/lib/services/webinars/webinars.service.d.ts +600 -0
- package/lib/services/webinars/webinars.service.d.ts.map +1 -0
- package/lib/services/webrtc/index.d.ts +5 -0
- package/lib/services/webrtc/index.d.ts.map +1 -0
- package/lib/services/webrtc/webrtcConfigAndUtils.d.ts +170 -0
- package/lib/services/webrtc/webrtcConfigAndUtils.d.ts.map +1 -0
- package/lib/services/webrtc/webrtcP2P.service.d.ts +521 -0
- package/lib/services/webrtc/webrtcP2P.service.d.ts.map +1 -0
- package/lib/services/webrtc/webrtcP2PEventHandler.d.ts +55 -0
- package/lib/services/webrtc/webrtcP2PEventHandler.d.ts.map +1 -0
- package/lib/services/webrtcGateway/webrtcGateway.service.d.ts +605 -0
- package/lib/services/webrtcGateway/webrtcGateway.service.d.ts.map +1 -0
- package/lib/strophejs.d.ts +3 -0
- package/lib/strophejs.d.ts.map +1 -0
- package/lib/typings/helpers.d.ts +3 -0
- package/lib/typings/helpers.d.ts.map +1 -0
- package/lib/utils/allSettled.d.ts +2 -0
- package/lib/utils/allSettled.d.ts.map +1 -0
- package/lib/utils/anonymizer.d.ts +28 -0
- package/lib/utils/anonymizer.d.ts.map +1 -0
- package/lib/utils/branded.d.ts +4 -0
- package/lib/utils/branded.d.ts.map +1 -0
- package/lib/utils/browser.d.ts +231 -0
- package/lib/utils/browser.d.ts.map +1 -0
- package/lib/utils/index.d.ts +12 -0
- package/lib/utils/index.d.ts.map +1 -0
- package/lib/utils/mediaPermissionError.d.ts +2 -0
- package/lib/utils/mediaPermissionError.d.ts.map +1 -0
- package/lib/utils/promiseQueue.d.ts +10 -0
- package/lib/utils/promiseQueue.d.ts.map +1 -0
- package/lib/utils/randomString.d.ts +3 -0
- package/lib/utils/randomString.d.ts.map +1 -0
- package/lib/utils/recordingArchiveName.d.ts +13 -0
- package/lib/utils/recordingArchiveName.d.ts.map +1 -0
- package/lib/utils/serverTimestamp.d.ts +15 -0
- package/lib/utils/serverTimestamp.d.ts.map +1 -0
- package/lib/utils/stringifyError.d.ts +2 -0
- package/lib/utils/stringifyError.d.ts.map +1 -0
- package/lib/utils/video.d.ts +27 -0
- package/lib/utils/video.d.ts.map +1 -0
- package/lib/utils/wait.d.ts +2 -0
- package/lib/utils/wait.d.ts.map +1 -0
- package/lib/utils/xmlParser.d.ts +102 -0
- package/lib/utils/xmlParser.d.ts.map +1 -0
- package/lib/utils/xmlValidation.d.ts +119 -0
- package/lib/utils/xmlValidation.d.ts.map +1 -0
- package/package.json +58 -0
|
@@ -0,0 +1,738 @@
|
|
|
1
|
+
/** @module Webinar */
|
|
2
|
+
import type { Subscription } from "rxjs";
|
|
3
|
+
import { Subject } from "rxjs";
|
|
4
|
+
import type { Contact } from "../models/contact.model";
|
|
5
|
+
import { RBEvent } from "../models/event.model";
|
|
6
|
+
import type { Bubble } from "../models/bubble.model";
|
|
7
|
+
import type { JingleSession } from "../libs/strophe/strophe.jingle.session";
|
|
8
|
+
import type { FileDocument } from "./fileDocument.model";
|
|
9
|
+
import type { P2PRecap } from "./p2pRecap.model";
|
|
10
|
+
/**
|
|
11
|
+
* Playable media of a webinar recording.
|
|
12
|
+
*
|
|
13
|
+
* Shaped as an object rather than a bare url so subtitles and transcription can be added later
|
|
14
|
+
* without changing the signature of {@link Webinar.getRecordMedia}.
|
|
15
|
+
*/
|
|
16
|
+
export interface WebinarRecordMedia {
|
|
17
|
+
/** Signed, time-limited url. Fetchable with NO auth header. */
|
|
18
|
+
url: string;
|
|
19
|
+
/** Absolute expiry of `url`, when the backend provided one. */
|
|
20
|
+
expiresAt?: Date;
|
|
21
|
+
/** MIME type reported by the file descriptor, e.g. "video/mp4". */
|
|
22
|
+
mimeType?: string;
|
|
23
|
+
/** Size in bytes. The player buffers the whole file in memory, so callers may warn above a threshold. */
|
|
24
|
+
size?: number;
|
|
25
|
+
/** Reserved: no webinar transcription exists today. */
|
|
26
|
+
subtitlesUrl?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface PlaybackController {
|
|
29
|
+
readonly stream: MediaStream;
|
|
30
|
+
play: () => Promise<void>;
|
|
31
|
+
pause: () => void;
|
|
32
|
+
stop: () => void;
|
|
33
|
+
seekTo: (timeInSeconds: number) => void;
|
|
34
|
+
readonly currentTime: number;
|
|
35
|
+
readonly duration: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Webinar status
|
|
39
|
+
*/
|
|
40
|
+
export declare enum WebinarStatus {
|
|
41
|
+
UPCOMING = "upcoming",
|
|
42
|
+
WAITING_ROOM = "waitingRoom",
|
|
43
|
+
PRACTICE_ROOM = "practiceRoom",
|
|
44
|
+
PRACTICE_WAITING_ROOM = "practiceWaitingRoom",
|
|
45
|
+
IN_PROGRESS = "inProgress",
|
|
46
|
+
TERMINATED = "terminated",
|
|
47
|
+
OUTDATED = "outDated"
|
|
48
|
+
}
|
|
49
|
+
export declare enum WebinarSessionParticipantMedia {
|
|
50
|
+
AUDIO = "audio",
|
|
51
|
+
VIDEO = "video",
|
|
52
|
+
SHARING = "sharing"
|
|
53
|
+
}
|
|
54
|
+
export declare enum WebinarMediaType {
|
|
55
|
+
participant = "participant",
|
|
56
|
+
sharing = "sharing",
|
|
57
|
+
mix = "mix"
|
|
58
|
+
}
|
|
59
|
+
export interface WebinarCodecs {
|
|
60
|
+
audio?: string;
|
|
61
|
+
video?: string;
|
|
62
|
+
sharing?: string;
|
|
63
|
+
}
|
|
64
|
+
export declare enum WebinarSessionParticipantEvents {
|
|
65
|
+
UPDATE_PARTICIPANT = "updateParticipant",
|
|
66
|
+
UPDATE_MEDIA = "updateMedia",
|
|
67
|
+
UPDATE_ORIGINAL_STREAM = "updateOriginalStream",
|
|
68
|
+
UPDATE_WEBRTC_READINESS = "updateWebrtcReadiness",
|
|
69
|
+
MUTE_PARTICIPANT = "muteParticipant",
|
|
70
|
+
ACTIVE_SPEAKER = "activeSpeaker",
|
|
71
|
+
UPDATE_VIDEO_DOCUMENT = "UPDATE_VIDEO_DOCUMENT"
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Readiness of the local WebRTC session for a given media (audioVideo or sharing).
|
|
75
|
+
* Used to prevent staging a media on stage before its WebRTC session is truly
|
|
76
|
+
* established with the media gateway (Janus), which would otherwise cause
|
|
77
|
+
* subscribers to fail with a "publisher not found" error.
|
|
78
|
+
*/
|
|
79
|
+
export declare enum WebinarWebrtcReadiness {
|
|
80
|
+
NOT_STARTED = "notStarted",
|
|
81
|
+
CONNECTING = "connecting",
|
|
82
|
+
CONNECTED = "connected",
|
|
83
|
+
FAILED = "failed"
|
|
84
|
+
}
|
|
85
|
+
export interface WebinarSessionParticipantMedias {
|
|
86
|
+
audio: boolean;
|
|
87
|
+
video: boolean;
|
|
88
|
+
sharing: boolean;
|
|
89
|
+
}
|
|
90
|
+
export interface WebinarSessionParticipantAvailableStreams {
|
|
91
|
+
audioVideo: boolean;
|
|
92
|
+
sharing: boolean;
|
|
93
|
+
}
|
|
94
|
+
export declare enum WebinarSessionParticipantType {
|
|
95
|
+
USER = "USER",
|
|
96
|
+
MCUBOT = "MCUBOT"
|
|
97
|
+
}
|
|
98
|
+
/** The four corners a speaker can be inlaid into while their screen share plays behind them. */
|
|
99
|
+
export type WebinarSpeakerPipCorner = "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
100
|
+
export declare class WebinarSessionParticipant {
|
|
101
|
+
id: string;
|
|
102
|
+
type: WebinarSessionParticipantType;
|
|
103
|
+
contact: Contact;
|
|
104
|
+
activeSpeaker: boolean;
|
|
105
|
+
putOnStageMuted: boolean;
|
|
106
|
+
returningBackstage: boolean;
|
|
107
|
+
mute: boolean;
|
|
108
|
+
onStage: boolean;
|
|
109
|
+
sharingOnStage: boolean;
|
|
110
|
+
trackedBackstage: boolean;
|
|
111
|
+
searchString: string;
|
|
112
|
+
role: string;
|
|
113
|
+
/**
|
|
114
|
+
* The XMPP resource the participant is currently connected from, as announced by the gateway.
|
|
115
|
+
*
|
|
116
|
+
* A switch device replaces the resource while keeping the same user id, and the gateway sends
|
|
117
|
+
* NO `removed-publishers` for what the previous resource was publishing -- so this is the only
|
|
118
|
+
* signal that the old device's medias are gone. See `addOrUpdateParticipant` (CRRAINB-54390).
|
|
119
|
+
*/
|
|
120
|
+
resourceId?: string;
|
|
121
|
+
raiseHand: boolean;
|
|
122
|
+
raiseHandDate?: Date;
|
|
123
|
+
raiseHandPosition?: number;
|
|
124
|
+
allowedToTalk: boolean;
|
|
125
|
+
invitedToGoOnStage?: any;
|
|
126
|
+
audioConfig: string;
|
|
127
|
+
audible: boolean;
|
|
128
|
+
audioVideoSessionId?: string;
|
|
129
|
+
audioVideoSession: JingleSession;
|
|
130
|
+
originalAudioVideoStream: MediaStream;
|
|
131
|
+
audioVideoStream?: MediaStream;
|
|
132
|
+
mcuAudioSessionId?: string;
|
|
133
|
+
mcuAudioStream?: MediaStream;
|
|
134
|
+
sharingSessionId?: string;
|
|
135
|
+
sharingSession: JingleSession;
|
|
136
|
+
sharingStream?: MediaStream;
|
|
137
|
+
/**
|
|
138
|
+
* Set while the local speaker is inlaid into their own screen share (the "speaker PiP"): the
|
|
139
|
+
* sharing plays as the camera's virtual background instead of being shown as a second media.
|
|
140
|
+
*
|
|
141
|
+
* It lives on the participant, not on the cell that renders the control, because the effect is
|
|
142
|
+
* global to the background pipeline and must survive the cell: moving from backstage to the
|
|
143
|
+
* stage destroys one cell and builds another, and the inlay has to stay on across that.
|
|
144
|
+
*/
|
|
145
|
+
speakerPip?: {
|
|
146
|
+
/** Which corner the speaker is inlaid into. */
|
|
147
|
+
corner: WebinarSpeakerPipCorner;
|
|
148
|
+
/** Background to put back when the PiP ends. */
|
|
149
|
+
previousBackground: {
|
|
150
|
+
type: string;
|
|
151
|
+
url?: string;
|
|
152
|
+
};
|
|
153
|
+
/**
|
|
154
|
+
* The sharing capture, kept alive while its WebRTC session is torn down.
|
|
155
|
+
*
|
|
156
|
+
* The share is composited into the camera, so publishing it a second time would show every
|
|
157
|
+
* other speaker the same picture twice. Unpublishing sets `medias.sharing` to false, which
|
|
158
|
+
* is what makes the duplicate cells disappear everywhere -- but the tracks must keep
|
|
159
|
+
* running, since the background pipeline reads them. Nothing else holds this stream once
|
|
160
|
+
* `setMedia(SHARING, false, true)` has cleared `sharingStream`.
|
|
161
|
+
*/
|
|
162
|
+
suspendedSharingStream?: MediaStream;
|
|
163
|
+
/** Whether the sharing was on stage before being unpublished, to put it back there. */
|
|
164
|
+
sharingWasOnStage?: boolean;
|
|
165
|
+
};
|
|
166
|
+
videoFileDocument?: FileDocument;
|
|
167
|
+
videoLocalUrl?: string;
|
|
168
|
+
playbackController?: PlaybackController;
|
|
169
|
+
medias: WebinarSessionParticipantMedias;
|
|
170
|
+
availableStreams: WebinarSessionParticipantAvailableStreams;
|
|
171
|
+
audioVideoWebrtcReadiness: WebinarWebrtcReadiness;
|
|
172
|
+
sharingWebrtcReadiness: WebinarWebrtcReadiness;
|
|
173
|
+
rxSubject: Subject<any>;
|
|
174
|
+
subStreamLevel: number;
|
|
175
|
+
temporalLevel: number;
|
|
176
|
+
nameAndEmail?: string;
|
|
177
|
+
company?: string;
|
|
178
|
+
private contactService?;
|
|
179
|
+
static create(id: string): WebinarSessionParticipant;
|
|
180
|
+
constructor(id: string);
|
|
181
|
+
sendEvent(event: WebinarSessionParticipantEvents, data?: any): void;
|
|
182
|
+
/**
|
|
183
|
+
* Subscribe to events on the WebinarSessionParticipant (all events are of RBEvent type);
|
|
184
|
+
* @param handler - The call-back function that will be subscribed to the RxJS subject
|
|
185
|
+
* @param eventNames - a list of event names that the user wants to receive when subscribing (used a filter)
|
|
186
|
+
*/
|
|
187
|
+
subscribe(handler: (event: RBEvent<WebinarSessionParticipantEvents>) => any, eventNames?: WebinarSessionParticipantEvents | WebinarSessionParticipantEvents[], debounce?: number): Subscription;
|
|
188
|
+
getSessionType(sessionId: string): string | null;
|
|
189
|
+
/**
|
|
190
|
+
* Drop every media this participant was publishing from a resource that is no longer theirs.
|
|
191
|
+
*
|
|
192
|
+
* On a switch device the gateway keeps the same user id, swaps the resource, and sends NO
|
|
193
|
+
* `removed-publishers` for the previous resource's medias -- so `availableStreams.sharing`
|
|
194
|
+
* stays armed and the backstage keeps offering a share that died with the old device. Putting
|
|
195
|
+
* it on stage then yields a grey cell, and subscribing fails with "Publisher stream not
|
|
196
|
+
* found". This is the only client-side signal of the swap (CRRAINB-54390).
|
|
197
|
+
*
|
|
198
|
+
* `onSessionTerminated` already covers the case where we HAD subscribed before the swap: the
|
|
199
|
+
* gateway then tears that session down. It cannot cover the case where we never subscribed --
|
|
200
|
+
* there is no session to terminate -- which is exactly what this handles.
|
|
201
|
+
*
|
|
202
|
+
* Both ids must be known: a missing one means the stanza did not carry the information, not
|
|
203
|
+
* that the device changed, and clearing on that would drop a live share.
|
|
204
|
+
*/
|
|
205
|
+
resetMediasOnResourceChange(resourceId?: string): boolean;
|
|
206
|
+
onHold(media: "video" | "sharing"): boolean;
|
|
207
|
+
isLocalParticipant(): boolean;
|
|
208
|
+
setMedia(media: WebinarSessionParticipantMedia, value: boolean, clean?: boolean): void;
|
|
209
|
+
/**
|
|
210
|
+
* Update the local WebRTC readiness for a given media and notify subscribers.
|
|
211
|
+
* See {@link WebinarWebrtcReadiness}.
|
|
212
|
+
*/
|
|
213
|
+
setWebrtcReadiness(media: "audioVideo" | "sharing", readiness: WebinarWebrtcReadiness): void;
|
|
214
|
+
isAudioVideoWebrtcConnected(): boolean;
|
|
215
|
+
isSharingWebrtcConnected(): boolean;
|
|
216
|
+
toString(): string;
|
|
217
|
+
}
|
|
218
|
+
export declare class WebinarSessionService {
|
|
219
|
+
id: string;
|
|
220
|
+
type: string;
|
|
221
|
+
sid?: string;
|
|
222
|
+
audioVideoSession?: JingleSession;
|
|
223
|
+
audioVideoStream?: MediaStream;
|
|
224
|
+
static create(id: string, name: string): WebinarSessionService;
|
|
225
|
+
constructor(id: string, type: string);
|
|
226
|
+
}
|
|
227
|
+
export declare class WebinarSession {
|
|
228
|
+
jingleJid: string;
|
|
229
|
+
activeSpeakerId: string;
|
|
230
|
+
localParticipant: WebinarSessionParticipant;
|
|
231
|
+
speakerParticipants: WebinarSessionParticipant[];
|
|
232
|
+
attendeeParticipants: WebinarSessionParticipant[];
|
|
233
|
+
mcuAudioSession?: any;
|
|
234
|
+
raiseHandAttendeeParticipants: WebinarSessionParticipant[];
|
|
235
|
+
raiseHandSpeakers: WebinarSessionParticipant[];
|
|
236
|
+
service?: WebinarSessionService;
|
|
237
|
+
connected: boolean;
|
|
238
|
+
masterMedia: string;
|
|
239
|
+
showMySharing: boolean;
|
|
240
|
+
static create(): WebinarSession;
|
|
241
|
+
getParticipantById(participantId: string): WebinarSessionParticipant;
|
|
242
|
+
getParticipantBySession(session: JingleSession): WebinarSessionParticipant | undefined;
|
|
243
|
+
getSpeakerBySessionId(sessionId: string): WebinarSessionParticipant;
|
|
244
|
+
addOrUpdateParticipant(participant: WebinarSessionParticipant, action?: string): void;
|
|
245
|
+
removeParticipant(participantId: string): void;
|
|
246
|
+
addService(serviceId: string, serviceName: string): WebinarSessionService;
|
|
247
|
+
}
|
|
248
|
+
export declare class WebinarParticipant {
|
|
249
|
+
email: string;
|
|
250
|
+
lastName: string;
|
|
251
|
+
firstName: string;
|
|
252
|
+
company: string;
|
|
253
|
+
jobTitle: string;
|
|
254
|
+
state: string;
|
|
255
|
+
userId: string;
|
|
256
|
+
lastAvatarUpdateDate: string;
|
|
257
|
+
country: string;
|
|
258
|
+
static create(): WebinarParticipant;
|
|
259
|
+
static createFromData(data: any): WebinarParticipant;
|
|
260
|
+
getData(): string;
|
|
261
|
+
}
|
|
262
|
+
export declare class WebinarCSVStatus {
|
|
263
|
+
errorDetails: string;
|
|
264
|
+
okCount: number;
|
|
265
|
+
errorCount: number;
|
|
266
|
+
errorReport: any;
|
|
267
|
+
static create(): WebinarCSVStatus;
|
|
268
|
+
}
|
|
269
|
+
export declare class WebinarCloneParams {
|
|
270
|
+
/**
|
|
271
|
+
* Cloned webinar name
|
|
272
|
+
* If not specified, the former name will be used
|
|
273
|
+
*/
|
|
274
|
+
name?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Cloned webinar subject
|
|
277
|
+
* If not specified, the former subject will be used
|
|
278
|
+
*/
|
|
279
|
+
subject?: string;
|
|
280
|
+
/** clone webinar start date */
|
|
281
|
+
startDate?: Date;
|
|
282
|
+
/** clone webinar end date */
|
|
283
|
+
endDate?: Date;
|
|
284
|
+
/** clone webinar timeZone */
|
|
285
|
+
timeZone?: string;
|
|
286
|
+
/** clone or not the speakers even if some of them declined the previous invitation */
|
|
287
|
+
cloneSpeakers: boolean;
|
|
288
|
+
/** param cloneAttendees - clone or not the attendees */
|
|
289
|
+
cloneAttendees: boolean;
|
|
290
|
+
/** clone webinar waiting room start date */
|
|
291
|
+
waitingRoomStartDate?: string;
|
|
292
|
+
/** licence profile identifier */
|
|
293
|
+
profileId: string;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* @eventProperty
|
|
297
|
+
* `Webinar` specific events
|
|
298
|
+
*/
|
|
299
|
+
export declare enum WebinarEvents {
|
|
300
|
+
/**
|
|
301
|
+
* @eventProperty
|
|
302
|
+
* This RBEvent is send when the webinar status change
|
|
303
|
+
*/
|
|
304
|
+
ON_STATUS_CHANGE = "ON_STATUS_CHANGE",
|
|
305
|
+
/**
|
|
306
|
+
* @eventProperty
|
|
307
|
+
* This RBEvent is send when
|
|
308
|
+
*/
|
|
309
|
+
ON_DATA_UPDATE = "ON_DATA_UPDATED",
|
|
310
|
+
/**
|
|
311
|
+
* @eventProperty
|
|
312
|
+
* This RBEvent is send when
|
|
313
|
+
*/
|
|
314
|
+
ON_AVATAR_UPDATE = "ON_AVATAR_UPDATE",
|
|
315
|
+
/**
|
|
316
|
+
* @eventProperty
|
|
317
|
+
* This RBEvent is send when
|
|
318
|
+
*/
|
|
319
|
+
ON_LOGO_UPDATE = "ON_LOGO_UPDATE",
|
|
320
|
+
/**
|
|
321
|
+
* @eventProperty
|
|
322
|
+
* This RBEvent is send when
|
|
323
|
+
*/
|
|
324
|
+
ON_CHAT_OPTIONS_UPDATE = "ON_CHAT_OPTIONS_UPDATE",
|
|
325
|
+
/**
|
|
326
|
+
* @eventProperty
|
|
327
|
+
* This RBEvent is send when the number of raiseHand change
|
|
328
|
+
*/
|
|
329
|
+
ON_RAISEHAND_CHANGE = "ON_RAISEHAND_CHANGE",
|
|
330
|
+
/**
|
|
331
|
+
* @eventProperty
|
|
332
|
+
* Sent at each intermediate session-end threshold (e.g. 15 and 5 minutes before the
|
|
333
|
+
* planned end). Generic — no freemium semantics. Payload: {@link WebinarSessionEndEventData}.
|
|
334
|
+
*/
|
|
335
|
+
ON_SESSION_END_WARNING = "ON_SESSION_END_WARNING",
|
|
336
|
+
/**
|
|
337
|
+
* @eventProperty
|
|
338
|
+
* Sent when the planned end of the session is reached (T-0). Generic — no freemium
|
|
339
|
+
* semantics; consumers decide what to do. Payload: {@link WebinarSessionEndEventData}.
|
|
340
|
+
*/
|
|
341
|
+
ON_SESSION_END_REACHED = "ON_SESSION_END_REACHED"
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* Payload of {@link WebinarEvents.ON_SESSION_END_WARNING} and
|
|
345
|
+
* {@link WebinarEvents.ON_SESSION_END_REACHED}.
|
|
346
|
+
*/
|
|
347
|
+
export interface WebinarSessionEndEventData {
|
|
348
|
+
/** Minutes before the planned end this event fires for (15, 5 or 0). */
|
|
349
|
+
minutesBeforeEnd: number;
|
|
350
|
+
/** Planned end of the session (ISO string, server `webinarEndDate`). */
|
|
351
|
+
endDate: string;
|
|
352
|
+
/** Milliseconds remaining until the planned end, recomputed when the event fires. */
|
|
353
|
+
msRemaining: number;
|
|
354
|
+
}
|
|
355
|
+
export interface StreamingService {
|
|
356
|
+
id: string;
|
|
357
|
+
rtmpUrl: string;
|
|
358
|
+
rtmpKey: string;
|
|
359
|
+
secureDataStream: boolean;
|
|
360
|
+
rtmpUrlBackup?: string;
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Represents a webinar with various properties and methods for managing its lifecycle,
|
|
364
|
+
* participants, media, and other related functionalities.
|
|
365
|
+
*/
|
|
366
|
+
export interface Webinar {
|
|
367
|
+
id: string;
|
|
368
|
+
name: string;
|
|
369
|
+
subject: string;
|
|
370
|
+
webinarStartDate: string;
|
|
371
|
+
webinarEndDate: string;
|
|
372
|
+
webinarDuration: string;
|
|
373
|
+
webinarLastDateCheck: string;
|
|
374
|
+
waitingRoomStartDate: string;
|
|
375
|
+
timeZone: string;
|
|
376
|
+
roomId: string;
|
|
377
|
+
roomModeratorsChatId: string;
|
|
378
|
+
room: Bubble;
|
|
379
|
+
practiceRoom: Bubble;
|
|
380
|
+
organizers: any[];
|
|
381
|
+
speakers: any[];
|
|
382
|
+
participants: WebinarParticipant[];
|
|
383
|
+
profileId: string;
|
|
384
|
+
pendingParticipantNumber: number;
|
|
385
|
+
acceptedParticipantNumber: number;
|
|
386
|
+
rejectedParticipantNumber: number;
|
|
387
|
+
color: string;
|
|
388
|
+
creatorId: string;
|
|
389
|
+
creatorCompanyId: string;
|
|
390
|
+
isCreator: boolean;
|
|
391
|
+
isOrganizer: boolean;
|
|
392
|
+
isSpeaker: boolean;
|
|
393
|
+
isAttendee: boolean;
|
|
394
|
+
isGuestAttendee: boolean;
|
|
395
|
+
isGuest: boolean;
|
|
396
|
+
isMCUBOT: boolean;
|
|
397
|
+
password: string;
|
|
398
|
+
approvalRegistrationMethod: string;
|
|
399
|
+
registrationUuid: string;
|
|
400
|
+
published: boolean;
|
|
401
|
+
moderatorsNotified: boolean;
|
|
402
|
+
status: WebinarStatus;
|
|
403
|
+
webinarUrl: string;
|
|
404
|
+
rxSubject: Subject<any>;
|
|
405
|
+
rxParticipantsSubject: Subject<any>;
|
|
406
|
+
rxServiceSubject: Subject<any>;
|
|
407
|
+
rxInfoSubject: Subject<any>;
|
|
408
|
+
isWebinarSync: boolean;
|
|
409
|
+
session: WebinarSession | null;
|
|
410
|
+
waitingRoomMultimediaURLs: string[];
|
|
411
|
+
stageBackground: string;
|
|
412
|
+
reminderDates: string[];
|
|
413
|
+
subtitlesEnable: boolean;
|
|
414
|
+
blur: boolean;
|
|
415
|
+
bgReplaceUrl: string;
|
|
416
|
+
chatOption: string;
|
|
417
|
+
chatOptionExpired: boolean;
|
|
418
|
+
chatOptionTimer: any;
|
|
419
|
+
streaming: boolean;
|
|
420
|
+
streamingService?: StreamingService;
|
|
421
|
+
recorded?: string;
|
|
422
|
+
hideRecordInfo: boolean;
|
|
423
|
+
recordFileId: string;
|
|
424
|
+
recordStatus: string;
|
|
425
|
+
action: string;
|
|
426
|
+
lastAvatarUpdate?: string;
|
|
427
|
+
lastActorsInfo?: any;
|
|
428
|
+
incomingStreamsDisabled: any;
|
|
429
|
+
pendingStageReplay: boolean;
|
|
430
|
+
sendEvent: (name: WebinarEvents, data?: any) => void;
|
|
431
|
+
subscribe: (handler: any) => Subscription;
|
|
432
|
+
subscribe2: (handler: (event: RBEvent<WebinarEvents>) => any, eventNames?: WebinarEvents | WebinarEvents[]) => Subscription;
|
|
433
|
+
armSessionEndTimer: () => void;
|
|
434
|
+
clearSessionEndTimer: () => void;
|
|
435
|
+
updateAttendeeCounters: () => void;
|
|
436
|
+
getData: () => string;
|
|
437
|
+
updateRaiseHandParticipants: () => void;
|
|
438
|
+
isTerminated: () => boolean;
|
|
439
|
+
isOutdated: () => boolean;
|
|
440
|
+
isFinished: () => boolean;
|
|
441
|
+
isWaitingRoomStarted: () => boolean;
|
|
442
|
+
isInvitation: () => boolean;
|
|
443
|
+
/**
|
|
444
|
+
* Asynchronous method to clone a webinar
|
|
445
|
+
* @param params - The webinar parameters to clone
|
|
446
|
+
*/
|
|
447
|
+
clone: (params: WebinarCloneParams) => Promise<Webinar>;
|
|
448
|
+
/**
|
|
449
|
+
* Asynchronous method to update webinar avatar on server
|
|
450
|
+
* @param avatarImg - base64 encoded webinar avatar
|
|
451
|
+
*/
|
|
452
|
+
updateAvatar: (avatarImg?: string) => Promise<Webinar>;
|
|
453
|
+
/**
|
|
454
|
+
* Asynchronous method to update webinar logo on server
|
|
455
|
+
* @param logoSrc - base64 encoded webinar logo
|
|
456
|
+
*/
|
|
457
|
+
updateLogo: (logoSrc?: string) => Promise<Webinar>;
|
|
458
|
+
/**
|
|
459
|
+
* Allow a rainbow attendee to join the webinar room
|
|
460
|
+
*/
|
|
461
|
+
joinAsRainbowAttendee: () => Promise<void>;
|
|
462
|
+
/**
|
|
463
|
+
* Allow a rainbow user to join the webinar
|
|
464
|
+
*/
|
|
465
|
+
join: () => Promise<void>;
|
|
466
|
+
/**
|
|
467
|
+
* Allow to leave a webinar
|
|
468
|
+
* - remove the user from the stage (if it was on the stage)
|
|
469
|
+
* - remove the user from the conference (stop the session if last user)
|
|
470
|
+
* @param forced - when set to true this method stop the session (even if not the last user connect in conf)
|
|
471
|
+
* @param nowait - when set to true this method call async child methods without waiting the end of execution (used in last chance deconnection event mechanism (onunload event))
|
|
472
|
+
* @returns A promise that is resolved when the user has join the conference
|
|
473
|
+
*/
|
|
474
|
+
leave: (forced?: boolean, nowait?: boolean, reason?: string) => Promise<void>;
|
|
475
|
+
/**
|
|
476
|
+
* Update existing webinar with server data
|
|
477
|
+
* @param webinarData - server webinar data structure
|
|
478
|
+
*/
|
|
479
|
+
updateFromData: (webinarData: any) => void;
|
|
480
|
+
/**
|
|
481
|
+
* Accept webinar invitation (as a speaker)
|
|
482
|
+
*/
|
|
483
|
+
acceptInvitation: () => Promise<void>;
|
|
484
|
+
/**
|
|
485
|
+
* Add audio/video media
|
|
486
|
+
* @param media - the media to add
|
|
487
|
+
*/
|
|
488
|
+
addAudioVideoMedia: (media: string, stream?: MediaStream, replaceBg?: boolean) => Promise<void>;
|
|
489
|
+
/**
|
|
490
|
+
* Add a sharing media
|
|
491
|
+
* @param stream - the mediaStream to add as sharing media
|
|
492
|
+
*/
|
|
493
|
+
addSharingMedia: (stream: MediaStream) => Promise<void>;
|
|
494
|
+
/** Publish again a sharing capture that was unpublished with `removeLocalMedia(..., true)`. */
|
|
495
|
+
resumeSharingPublication: (stream: MediaStream, putOnStage: boolean) => Promise<void>;
|
|
496
|
+
/**
|
|
497
|
+
* Put local participant audio/video media on stage
|
|
498
|
+
* @param master - when set to true the participant media is presented on master
|
|
499
|
+
*/
|
|
500
|
+
putLocalParticipantAudioVideoMediaOnStage: (master?: boolean) => Promise<Webinar>;
|
|
501
|
+
/** @internal */
|
|
502
|
+
putLocalParticipantMixMediaOnStage: () => Promise<Webinar>;
|
|
503
|
+
/**
|
|
504
|
+
* Put a participant sharing media on stage
|
|
505
|
+
* @param master - when set to true the participant sharing is presented on master
|
|
506
|
+
*/
|
|
507
|
+
putParticipantSharingMediaOnStage: (participant: WebinarSessionParticipant, master?: boolean) => Promise<Webinar>;
|
|
508
|
+
/**
|
|
509
|
+
* Remove a participant audio/video media from the stage
|
|
510
|
+
* @param participant - the participant to remove from the stage
|
|
511
|
+
*/
|
|
512
|
+
removeParticipantAudioVideoMediaFromStage: (participant: WebinarSessionParticipant) => Promise<Webinar>;
|
|
513
|
+
/**
|
|
514
|
+
* Remove a participant sharing media from the stage
|
|
515
|
+
* @param participant - the participant to remove from the stage
|
|
516
|
+
*/
|
|
517
|
+
removeParticipantSharingMediaFromStage: (participant: WebinarSessionParticipant) => Promise<Webinar>;
|
|
518
|
+
/**
|
|
519
|
+
* Share the local participant audioConfig
|
|
520
|
+
* @param audioConfig - the audioConfig "stage"|"backstage"|"stageAndBackstage"|a userId
|
|
521
|
+
*/
|
|
522
|
+
shareLocalParticipantAudioConfig: (audioConfig: string) => Promise<Webinar>;
|
|
523
|
+
/**
|
|
524
|
+
* Subscribe to participant media
|
|
525
|
+
* @param participant - the publisher participant
|
|
526
|
+
* @param media - the media
|
|
527
|
+
*/
|
|
528
|
+
subscribeToPublisher: (participant: WebinarSessionParticipant, media: string) => Promise<Webinar>;
|
|
529
|
+
/**
|
|
530
|
+
* Unsubscribe to participant media
|
|
531
|
+
* @param participant - the publisher participant
|
|
532
|
+
* @param media - the media
|
|
533
|
+
*/
|
|
534
|
+
unsubscribeToPublisher: (participant: WebinarSessionParticipant, media: string, disableStream?: boolean) => Promise<Webinar>;
|
|
535
|
+
/**
|
|
536
|
+
* Send an event to publisher for asking to go on stage
|
|
537
|
+
* @param participant - the speaker participant
|
|
538
|
+
* @param media - the media requested to stage
|
|
539
|
+
*/
|
|
540
|
+
askForStaging: (participant: WebinarSessionParticipant, media: string) => Promise<Webinar>;
|
|
541
|
+
/**
|
|
542
|
+
* Decline an "ask to go on stage" offer
|
|
543
|
+
* @param participant - the speaker participant
|
|
544
|
+
* @param media - the media requested to stage
|
|
545
|
+
*/
|
|
546
|
+
declineStagingInvitation: (participant: WebinarSessionParticipant, media: string) => Promise<Webinar>;
|
|
547
|
+
muteParticipant: (participant: WebinarSessionParticipant, mute?: boolean) => Promise<Webinar>;
|
|
548
|
+
declineUnmuteInvitation: (fromParticipant: WebinarSessionParticipant) => Promise<Webinar>;
|
|
549
|
+
/**
|
|
550
|
+
* Permit to known if it is possible to add more media audioVideo or sharing on scene
|
|
551
|
+
*/
|
|
552
|
+
isStageAvailable: () => boolean;
|
|
553
|
+
allowAttendeeToTalk: (userId: string) => Promise<Webinar>;
|
|
554
|
+
disableAttendeeToTalk: (userId: string) => Promise<Webinar>;
|
|
555
|
+
getConnectedUserRole: () => string;
|
|
556
|
+
isParticipantAnActor: (participant: WebinarSessionParticipant) => boolean;
|
|
557
|
+
sendCountdownMessage: () => Promise<void>;
|
|
558
|
+
lowerHand: (userId: string) => Promise<Webinar>;
|
|
559
|
+
/**
|
|
560
|
+
* Downloads the recording of this webinar.
|
|
561
|
+
* @returns A promise that resolves when the download is complete.
|
|
562
|
+
*/
|
|
563
|
+
downloadRecord: () => Promise<void>;
|
|
564
|
+
/**
|
|
565
|
+
* Tells whether this webinar has a recording ready to be played or downloaded.
|
|
566
|
+
*/
|
|
567
|
+
isRecordAvailable: () => boolean;
|
|
568
|
+
/**
|
|
569
|
+
* Returns this webinar's recording as a recap, playable by the recap player.
|
|
570
|
+
* @returns The recap, or `null` when no recording is available.
|
|
571
|
+
*/
|
|
572
|
+
getRecap: () => Promise<P2PRecap | null>;
|
|
573
|
+
/**
|
|
574
|
+
* Resolves the playable media of this webinar's recording.
|
|
575
|
+
*
|
|
576
|
+
* The returned url is signed and time-limited, and requires no auth header.
|
|
577
|
+
*
|
|
578
|
+
* @returns The playable media, or `null` when no recording is available.
|
|
579
|
+
*/
|
|
580
|
+
getRecordMedia: () => Promise<WebinarRecordMedia | null>;
|
|
581
|
+
}
|
|
582
|
+
export declare class WebinarRB implements Webinar {
|
|
583
|
+
private webinarService?;
|
|
584
|
+
private xmppService?;
|
|
585
|
+
id: string;
|
|
586
|
+
name: string;
|
|
587
|
+
subject: string;
|
|
588
|
+
webinarStartDate: string;
|
|
589
|
+
webinarEndDate: string;
|
|
590
|
+
webinarDuration: string;
|
|
591
|
+
webinarLastDateCheck: string;
|
|
592
|
+
waitingRoomStartDate: string;
|
|
593
|
+
timeZone: string;
|
|
594
|
+
roomId: string;
|
|
595
|
+
roomModeratorsChatId: string;
|
|
596
|
+
room: Bubble;
|
|
597
|
+
practiceRoom: Bubble;
|
|
598
|
+
organizers: any[];
|
|
599
|
+
speakers: any[];
|
|
600
|
+
participants: WebinarParticipant[];
|
|
601
|
+
profileId: string;
|
|
602
|
+
pendingParticipantNumber: number;
|
|
603
|
+
acceptedParticipantNumber: number;
|
|
604
|
+
rejectedParticipantNumber: number;
|
|
605
|
+
color: string;
|
|
606
|
+
creatorId: string;
|
|
607
|
+
creatorCompanyId: string;
|
|
608
|
+
isCreator: boolean;
|
|
609
|
+
isOrganizer: boolean;
|
|
610
|
+
isSpeaker: boolean;
|
|
611
|
+
isAttendee: boolean;
|
|
612
|
+
isGuestAttendee: boolean;
|
|
613
|
+
isGuest: boolean;
|
|
614
|
+
isMCUBOT: boolean;
|
|
615
|
+
password: string;
|
|
616
|
+
approvalRegistrationMethod: string;
|
|
617
|
+
registrationUuid: string;
|
|
618
|
+
published: boolean;
|
|
619
|
+
moderatorsNotified: boolean;
|
|
620
|
+
status: WebinarStatus;
|
|
621
|
+
webinarUrl: string;
|
|
622
|
+
rxSubject: Subject<any>;
|
|
623
|
+
rxParticipantsSubject: Subject<any>;
|
|
624
|
+
rxServiceSubject: Subject<any>;
|
|
625
|
+
rxInfoSubject: Subject<any>;
|
|
626
|
+
isWebinarSync: boolean;
|
|
627
|
+
session: WebinarSession | null;
|
|
628
|
+
waitingRoomMultimediaURLs: string[];
|
|
629
|
+
stageBackground: string;
|
|
630
|
+
reminderDates: string[];
|
|
631
|
+
subtitlesEnable: boolean;
|
|
632
|
+
blur: boolean;
|
|
633
|
+
bgReplaceUrl: string;
|
|
634
|
+
chatOption: string;
|
|
635
|
+
chatOptionExpired: boolean;
|
|
636
|
+
chatOptionTimer: any;
|
|
637
|
+
streaming: boolean;
|
|
638
|
+
streamingService?: StreamingService;
|
|
639
|
+
recorded?: string;
|
|
640
|
+
hideRecordInfo: boolean;
|
|
641
|
+
recordFileId: string;
|
|
642
|
+
recordStatus: string;
|
|
643
|
+
action: string;
|
|
644
|
+
lastAvatarUpdate?: string;
|
|
645
|
+
lastActorsInfo?: any;
|
|
646
|
+
incomingStreamsDisabled: any;
|
|
647
|
+
/**
|
|
648
|
+
* Set when an updateStage was skipped because the local SFU session was not yet connected
|
|
649
|
+
* (e.g. right after a network reconnection). Consumed in onSessionStateChange once the local
|
|
650
|
+
* audio+video session is connected again, to replay the skipped stage update for attendees --
|
|
651
|
+
* without it an on-stage attendee reconnecting after a network loss never re-evaluates the
|
|
652
|
+
* stage and stops seeing the other speakers (CRRAINB-53442).
|
|
653
|
+
*/
|
|
654
|
+
pendingStageReplay: boolean;
|
|
655
|
+
/**
|
|
656
|
+
* Pending session-end timer handles (T-15 / T-5 / T-0). Cleared on terminate/leave.
|
|
657
|
+
* Optional like the other private fields so `WebinarRB` stays structurally assignable from `Webinar`.
|
|
658
|
+
*/
|
|
659
|
+
private sessionEndTimers?;
|
|
660
|
+
private constructor();
|
|
661
|
+
static create(): WebinarRB;
|
|
662
|
+
static createFromData(webinarData: any): WebinarRB;
|
|
663
|
+
sendEvent(name: WebinarEvents, data?: any): void;
|
|
664
|
+
subscribe2(handler: (event: RBEvent<WebinarEvents>) => any, eventNames?: WebinarEvents | WebinarEvents[]): Subscription;
|
|
665
|
+
/**
|
|
666
|
+
* Arms the session-end timers (T-15 / T-5 / T-0) against the effective end of the live
|
|
667
|
+
* session (start + scheduled duration, see below), not the raw planned `webinarEndDate`.
|
|
668
|
+
*
|
|
669
|
+
* Generic — fires {@link WebinarEvents.ON_SESSION_END_WARNING} / {@link WebinarEvents.ON_SESSION_END_REACHED}
|
|
670
|
+
* with no freemium semantics; consumers decide what to display or enforce. Called both on the
|
|
671
|
+
* IN_PROGRESS transition and when a participant joins an already-running session (late join), so
|
|
672
|
+
* it is idempotent: it clears any pending timers before re-arming. Thresholds already past at arm
|
|
673
|
+
* time are skipped (no retroactive notification).
|
|
674
|
+
*/
|
|
675
|
+
armSessionEndTimer(): void;
|
|
676
|
+
/** Clears any pending session-end timers (on terminate, leave, or before re-arming). */
|
|
677
|
+
clearSessionEndTimer(): void;
|
|
678
|
+
/**
|
|
679
|
+
* Update existing webinar with server data
|
|
680
|
+
* @param webinarData - server webinar data structure
|
|
681
|
+
*/
|
|
682
|
+
updateFromData(webinarData: any): void;
|
|
683
|
+
updateAttendeeCounters(): void;
|
|
684
|
+
subscribe(handler: any): Subscription;
|
|
685
|
+
getData(): string;
|
|
686
|
+
updateRaiseHandParticipants(): void;
|
|
687
|
+
isTerminated(): boolean;
|
|
688
|
+
isOutdated(): boolean;
|
|
689
|
+
isFinished(): boolean;
|
|
690
|
+
isWaitingRoomStarted(): boolean;
|
|
691
|
+
isInvitation(): boolean;
|
|
692
|
+
clone(params: WebinarCloneParams): Promise<Webinar>;
|
|
693
|
+
/**
|
|
694
|
+
* Asynchronous method to update webinar avatar on server
|
|
695
|
+
* @param avatarImg - base64 encoded webinar avatar
|
|
696
|
+
*/
|
|
697
|
+
updateAvatar(avatarImg?: string): Promise<Webinar>;
|
|
698
|
+
/**
|
|
699
|
+
* Asynchronous method to update webinar logo on server
|
|
700
|
+
* @param logoSrc - base64 encoded webinar logo
|
|
701
|
+
*/
|
|
702
|
+
updateLogo(logoSrc?: string): Promise<Webinar>;
|
|
703
|
+
acceptInvitation(): Promise<void>;
|
|
704
|
+
join(): Promise<void>;
|
|
705
|
+
addAudioVideoMedia(media: string, stream?: MediaStream, replaceBg?: boolean): Promise<void>;
|
|
706
|
+
addSharingMedia(stream: MediaStream): Promise<void>;
|
|
707
|
+
resumeSharingPublication(stream: MediaStream, putOnStage: boolean): Promise<void>;
|
|
708
|
+
leave(forced?: boolean, nowait?: boolean, reason?: string): Promise<void>;
|
|
709
|
+
joinAsRainbowAttendee(): Promise<void>;
|
|
710
|
+
putLocalParticipantMixMediaOnStage(): Promise<Webinar>;
|
|
711
|
+
putLocalParticipantAudioVideoMediaOnStage(master?: boolean): Promise<Webinar>;
|
|
712
|
+
putParticipantSharingMediaOnStage(participant: WebinarSessionParticipant, master?: boolean): Promise<Webinar>;
|
|
713
|
+
removeParticipantAudioVideoMediaFromStage(participant: WebinarSessionParticipant): Promise<Webinar>;
|
|
714
|
+
removeParticipantSharingMediaFromStage(participant: WebinarSessionParticipant): Promise<Webinar>;
|
|
715
|
+
shareLocalParticipantAudioConfig(audioConfig: string): Promise<Webinar>;
|
|
716
|
+
subscribeToPublisher(participant: WebinarSessionParticipant, media: string): Promise<Webinar>;
|
|
717
|
+
unsubscribeToPublisher(participant: WebinarSessionParticipant, media: string, disableStream?: boolean): Promise<Webinar>;
|
|
718
|
+
askForStaging(participant: WebinarSessionParticipant, media: string): Promise<Webinar>;
|
|
719
|
+
declineStagingInvitation(participant: WebinarSessionParticipant, media: string): Promise<Webinar>;
|
|
720
|
+
muteParticipant(participant: WebinarSessionParticipant, mute?: boolean): Promise<Webinar>;
|
|
721
|
+
declineUnmuteInvitation(participant: WebinarSessionParticipant): Promise<Webinar>;
|
|
722
|
+
downloadRecord(): Promise<void>;
|
|
723
|
+
isRecordAvailable(): boolean;
|
|
724
|
+
getRecap(): Promise<P2PRecap | null>;
|
|
725
|
+
getRecordMedia(): Promise<WebinarRecordMedia | null>;
|
|
726
|
+
isStageAvailable(): boolean;
|
|
727
|
+
allowAttendeeToTalk(userId: string): Promise<Webinar>;
|
|
728
|
+
disableAttendeeToTalk(userId: string): Promise<Webinar>;
|
|
729
|
+
lowerHand(userId: string): Promise<Webinar>;
|
|
730
|
+
getConnectedUserRole(): string;
|
|
731
|
+
/**
|
|
732
|
+
* Whether a participant is currently an actor (on stage in audio/video or sharing),
|
|
733
|
+
* based on the last actors info snapshot.
|
|
734
|
+
*/
|
|
735
|
+
isParticipantAnActor(participant: WebinarSessionParticipant): boolean;
|
|
736
|
+
sendCountdownMessage(): Promise<void>;
|
|
737
|
+
}
|
|
738
|
+
//# sourceMappingURL=webinar.model.d.ts.map
|