@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,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module Admin
|
|
3
|
+
*/
|
|
4
|
+
/** Possible states of a join-company invitation. */
|
|
5
|
+
export type CompanyInvitationStatus = "pending" | "declined" | "failed" | "accepted" | "auto-accepted" | "canceled";
|
|
6
|
+
/**
|
|
7
|
+
* Represents a join-company invitation sent by an admin to a user by email.
|
|
8
|
+
*
|
|
9
|
+
* This is distinct from {@link NetworkInvitation}, which is a user-to-user contact invitation.
|
|
10
|
+
*/
|
|
11
|
+
export interface CompanyInvitation {
|
|
12
|
+
/** Unique identifier of the invitation. */
|
|
13
|
+
readonly id: string;
|
|
14
|
+
/** Identifier of the company the user is invited to join. */
|
|
15
|
+
readonly companyId: string;
|
|
16
|
+
/** Name of the company the user is invited to join. */
|
|
17
|
+
readonly companyName: string;
|
|
18
|
+
/** Rainbow user identifier of the invited user, if they already have an account. */
|
|
19
|
+
readonly invitedUserId?: string;
|
|
20
|
+
/** Email address of the invited user. */
|
|
21
|
+
readonly invitedUserEmail: string;
|
|
22
|
+
/** Rainbow user identifier of the admin who sent the invitation. */
|
|
23
|
+
readonly invitingAdminId: string;
|
|
24
|
+
/** Login email of the admin who sent the invitation. */
|
|
25
|
+
readonly invitingAdminLoginEmail: string;
|
|
26
|
+
/** ISO date string when the invitation was created. */
|
|
27
|
+
readonly invitationDate: string;
|
|
28
|
+
/** ISO date string when the last notification email was sent. */
|
|
29
|
+
readonly lastNotificationDate: string;
|
|
30
|
+
/** Current status of the invitation. */
|
|
31
|
+
readonly status: CompanyInvitationStatus;
|
|
32
|
+
/** Whether the invited user will become a company admin upon accepting. */
|
|
33
|
+
readonly invitedToBeCompanyAdmin: boolean;
|
|
34
|
+
}
|
|
35
|
+
/** Result of a paginated company invitation list query. */
|
|
36
|
+
export interface CompanyInvitationResult {
|
|
37
|
+
/** The list of invitations returned by this call. */
|
|
38
|
+
readonly invitations: CompanyInvitation[];
|
|
39
|
+
/** Total number of matching invitations on the server. */
|
|
40
|
+
readonly total: number;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=company-invitation.model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company-invitation.model.d.ts","sourceRoot":"","sources":["../../src/models/company-invitation.model.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,oDAAoD;AACpD,MAAM,MAAM,uBAAuB,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,eAAe,GAAG,UAAU,CAAC;AAEpH;;;;GAIG;AACH,MAAM,WAAW,iBAAiB;IAC9B,2CAA2C;IAC3C,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB,6DAA6D;IAC7D,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,uDAAuD;IACvD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,oFAAoF;IACpF,QAAQ,CAAC,aAAa,CAAC,EAAE,MAAM,CAAC;IAChC,yCAAyC;IACzC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC,oEAAoE;IACpE,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;IACjC,wDAAwD;IACxD,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,uDAAuD;IACvD,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,iEAAiE;IACjE,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,wCAAwC;IACxC,QAAQ,CAAC,MAAM,EAAE,uBAAuB,CAAC;IACzC,2EAA2E;IAC3E,QAAQ,CAAC,uBAAuB,EAAE,OAAO,CAAC;CAC7C;AAED,2DAA2D;AAC3D,MAAM,WAAW,uBAAuB;IACpC,qDAAqD;IACrD,QAAQ,CAAC,WAAW,EAAE,iBAAiB,EAAE,CAAC;IAC1C,0DAA0D;IAC1D,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B"}
|
|
@@ -0,0 +1,639 @@
|
|
|
1
|
+
import type { Theme } from "../models/common/theme";
|
|
2
|
+
/**
|
|
3
|
+
* Commercial model of a company's contract — what drives the UI offered to its members.
|
|
4
|
+
*
|
|
5
|
+
* - `trial` — running a time-limited free trial
|
|
6
|
+
* - `directSell` — bought self-service (credit card / Zuora), with no Business Partner in between
|
|
7
|
+
* - `standard` — anything else: sold by a Business Partner, or on a regular offer
|
|
8
|
+
*/
|
|
9
|
+
export type CompanyCommercialModel = "trial" | "directSell" | "standard";
|
|
10
|
+
/**
|
|
11
|
+
* Product a free trial grants.
|
|
12
|
+
*
|
|
13
|
+
* The values are the backend's own, as found in its `freemiumTypes` field — "freemium" being the
|
|
14
|
+
* billing vocabulary for what the interface, and everything named here, calls a trial.
|
|
15
|
+
*/
|
|
16
|
+
export type CompanyTrialType = "webinar" | "collaboration";
|
|
17
|
+
/**
|
|
18
|
+
* Interface that represents the licensing status of a Rainbow Edge.
|
|
19
|
+
*
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export interface IEdgeStatus {
|
|
23
|
+
/**
|
|
24
|
+
* Edge status.
|
|
25
|
+
*
|
|
26
|
+
* @readonly
|
|
27
|
+
*/
|
|
28
|
+
readonly status: "init" | "active" | "warning" | "error";
|
|
29
|
+
/**
|
|
30
|
+
* Edge MAC address.
|
|
31
|
+
*
|
|
32
|
+
* @readonly
|
|
33
|
+
*/
|
|
34
|
+
readonly macAdress: string;
|
|
35
|
+
/**
|
|
36
|
+
* Edge uuid.
|
|
37
|
+
*
|
|
38
|
+
* @readonly
|
|
39
|
+
*/
|
|
40
|
+
readonly uuid: string;
|
|
41
|
+
/**
|
|
42
|
+
* Edge activation date.
|
|
43
|
+
*/
|
|
44
|
+
readonly activationDate: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Interface that represents the information related to a company.
|
|
48
|
+
* Depending on contact type, by 'company' we mean
|
|
49
|
+
* - For a rainbow user, the name of the company to which he belong.
|
|
50
|
+
* In this case, the company is a entity managed by administrator(s)
|
|
51
|
+
* - For a personal or business directory contact, the name of a company indicated for information purposes.
|
|
52
|
+
* - For a O365 contact owned by a rainbow user, the name of the company to which the user belong.
|
|
53
|
+
* Depending on the type of contact, not all properties may be present.
|
|
54
|
+
*/
|
|
55
|
+
export interface CompanyInfo {
|
|
56
|
+
/**
|
|
57
|
+
* The company unique identifier.
|
|
58
|
+
* Information only available only for a rainbow user.
|
|
59
|
+
* @readonly
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
id?: string;
|
|
63
|
+
/**
|
|
64
|
+
* The company name.
|
|
65
|
+
* @readonly
|
|
66
|
+
*/
|
|
67
|
+
name: string;
|
|
68
|
+
/**
|
|
69
|
+
* The company slogan.
|
|
70
|
+
* @readonly
|
|
71
|
+
*/
|
|
72
|
+
slogan?: string;
|
|
73
|
+
logo?: string;
|
|
74
|
+
lastAvatarUpdateDate?: any;
|
|
75
|
+
companyFeatures?: any;
|
|
76
|
+
/**
|
|
77
|
+
* Commercial model of the company's contract — `trial`, `directSell` or `standard`.
|
|
78
|
+
*
|
|
79
|
+
* What drives the UI offered to a member of that company, admin or not: it answers for the
|
|
80
|
+
* company, so every member of one reads the same value. To know what a given user unlocked,
|
|
81
|
+
* read `User.isWebinarTrial()` / `User.isCollaborationTrial()` instead — a different question,
|
|
82
|
+
* and one that turns false as soon as a trial is superseded by a purchase.
|
|
83
|
+
*
|
|
84
|
+
* Absent on a contact whose company is not loaded; read it as `standard` in that case.
|
|
85
|
+
*
|
|
86
|
+
* @readonly
|
|
87
|
+
*/
|
|
88
|
+
commercialModel?: CompanyCommercialModel;
|
|
89
|
+
/**
|
|
90
|
+
* Whether the company came in without a Business Partner — trial funnel, or self-service
|
|
91
|
+
* purchase. The `trial` and `directSell` models of {@link commercialModel} taken together.
|
|
92
|
+
*
|
|
93
|
+
* Absent on a contact whose company is not loaded; read it as false in that case.
|
|
94
|
+
*
|
|
95
|
+
* @readonly
|
|
96
|
+
* @see Company.isSoldWithoutPartner — what this is read from.
|
|
97
|
+
*/
|
|
98
|
+
soldWithoutPartner?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Identifier — not the name — of the application customisation template last applied to the
|
|
101
|
+
* company, or undefined while none ever was.
|
|
102
|
+
*
|
|
103
|
+
* Which template governs the company's members, and therefore what a caller compares against
|
|
104
|
+
* before applying another. Applying one takes its name, so this is resolved against the
|
|
105
|
+
* template list to pair the two.
|
|
106
|
+
*
|
|
107
|
+
* Absent on a contact whose company is not loaded.
|
|
108
|
+
*
|
|
109
|
+
* @readonly
|
|
110
|
+
* @see Company.selectedAppCustomisationTemplate — what this is read from.
|
|
111
|
+
*/
|
|
112
|
+
selectedAppCustomisationTemplate?: string;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* @internal
|
|
116
|
+
* List of modes that specify how activation of O365 calendar and teams presence synchronization are handled for company's users.
|
|
117
|
+
* Available only for the connected user and when Office365 is configured on admin side.
|
|
118
|
+
*/
|
|
119
|
+
export declare enum Office365AdminMode {
|
|
120
|
+
/**
|
|
121
|
+
* The user should grant authorization and activate synchronization to their calendar and teams presence by himself.
|
|
122
|
+
*/
|
|
123
|
+
USER_CONSENT = "user_consent",
|
|
124
|
+
/**
|
|
125
|
+
* Admin has granted authorization but let all users to activate synchronization to their calendar and teams presence.
|
|
126
|
+
*/
|
|
127
|
+
ADMIN_CONSENT = "admin_consent",
|
|
128
|
+
/**
|
|
129
|
+
* Admin has granted authorization but all users are triggered each day to activate synchronization
|
|
130
|
+
* to their calendar and teams presence.
|
|
131
|
+
*/
|
|
132
|
+
USER_DELEGATED = "user_delegated",
|
|
133
|
+
/**
|
|
134
|
+
* Admin has granted authorization and subcribe all users limited to 650
|
|
135
|
+
* in order to synchronize them to calendar and teams presence.
|
|
136
|
+
*
|
|
137
|
+
* @remarks Only allowed if {@link Company.isOffice365AdminDelegatedModeAuthorized} is true
|
|
138
|
+
*/
|
|
139
|
+
ADMIN_DELEGATED = "admin_delegated",
|
|
140
|
+
/**
|
|
141
|
+
* Admin has granted authorization and subcribe all users in order to synchronize them to calendar.
|
|
142
|
+
* Only Rainbow presence is synchornized to teams.
|
|
143
|
+
*/
|
|
144
|
+
APPLICATION = "application"
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* This class is used to represent a company in Rainbow.
|
|
148
|
+
* A company is a set of Rainbow users grouped in that entity.
|
|
149
|
+
* A company is managed by one or several administrators.
|
|
150
|
+
* A company can be visible by users that are not inside this company of not.
|
|
151
|
+
*/
|
|
152
|
+
export declare class Company {
|
|
153
|
+
/**
|
|
154
|
+
* Value can be:<br>
|
|
155
|
+
* - 'initializing': When the company is initializing,<br>
|
|
156
|
+
* - 'active': When the company is active,<br>
|
|
157
|
+
* - 'terminated': When the company is closed
|
|
158
|
+
*/
|
|
159
|
+
static StatusValues: string[];
|
|
160
|
+
/**
|
|
161
|
+
* Value can be:
|
|
162
|
+
* - 'private': When the users of this company are not visible from an external user,<br>
|
|
163
|
+
* - 'organization': When the users of this company are only visible from an extenal user of the same organization,<br>
|
|
164
|
+
* - 'public': When the users of this company are visible from an external user
|
|
165
|
+
*/
|
|
166
|
+
static VisibilityValuesWithOrganization: string[];
|
|
167
|
+
static VisibilityValues: string[];
|
|
168
|
+
/**
|
|
169
|
+
* Value can be:
|
|
170
|
+
* - 'noAnalytics'
|
|
171
|
+
* - 'companyLevel'
|
|
172
|
+
* - 'conversationLevel'
|
|
173
|
+
*/
|
|
174
|
+
static PrivacyValues: string[];
|
|
175
|
+
static AnonymizationLevels: string[];
|
|
176
|
+
/**
|
|
177
|
+
* Value can be:
|
|
178
|
+
* - 'self-employed': For a single person company,
|
|
179
|
+
* - '1-10 employees': For a company with 1 to 10 employees,
|
|
180
|
+
* - "51-200 employees": For a company with 51 to 200 employees,
|
|
181
|
+
* - "201-500 employees": For a company with 201 to 500 employees,
|
|
182
|
+
* - "501-1000 employees": For a company with 501 to 1000 employees,
|
|
183
|
+
* - "1001-5000 employees": For a company with 1001 to 5000 employees,
|
|
184
|
+
* - "5001-10,000 employees": For a company with 5001 to 10,000 employees,
|
|
185
|
+
* - "10,001+ employees": For a company with more than 10000 employees
|
|
186
|
+
*/
|
|
187
|
+
static SizeValues: {
|
|
188
|
+
"self-employed": string;
|
|
189
|
+
"1-10 employees": string;
|
|
190
|
+
"11-50 employees": string;
|
|
191
|
+
"51-200 employees": string;
|
|
192
|
+
"201-500 employees": string;
|
|
193
|
+
"501-1000 employees": string;
|
|
194
|
+
"1001-5000 employees": string;
|
|
195
|
+
"5001-10,000 employees": string;
|
|
196
|
+
"10,001+ employees": string;
|
|
197
|
+
};
|
|
198
|
+
static OfferTypes: string[];
|
|
199
|
+
/**
|
|
200
|
+
* Value can be:<br>
|
|
201
|
+
* - 'VAD': For Business Partner who is a Value Added Distributor,<br>
|
|
202
|
+
* - 'DR': For Business Partner who is a Direct Reseller,<br>
|
|
203
|
+
* - 'IR': For Business Partner who is an Indirect Reseller
|
|
204
|
+
*/
|
|
205
|
+
static BPTypes: string[];
|
|
206
|
+
static BPTypeLabels: {
|
|
207
|
+
IR: string;
|
|
208
|
+
VAD: string;
|
|
209
|
+
DR: string;
|
|
210
|
+
};
|
|
211
|
+
static BPBusinessModels: string[];
|
|
212
|
+
static BPBusinessModelLabels: {
|
|
213
|
+
resell: string;
|
|
214
|
+
referral: string;
|
|
215
|
+
};
|
|
216
|
+
/**
|
|
217
|
+
* Value can be:
|
|
218
|
+
* - 'all': Admin of this company is allowed to downgrade and upgrade the number of all subscriptions (default),
|
|
219
|
+
* - 'increase_only': Admin of this company is only allowed to increase the number of all subscriptions,
|
|
220
|
+
* - 'monthly': Admin of this company is downgrade and upgrade the number of monthly subscriptions only (ie. not prepaid).
|
|
221
|
+
*/
|
|
222
|
+
static adminAllowedUpdateSubscriptionsOperations: string[];
|
|
223
|
+
static BPBusinessTypes: {
|
|
224
|
+
DEFAULT: string;
|
|
225
|
+
VOICE_BY_ALE: string;
|
|
226
|
+
VOICE_BY_PARTNER: string;
|
|
227
|
+
CONFERENCE: string;
|
|
228
|
+
RAINBOW_EDGE: string;
|
|
229
|
+
};
|
|
230
|
+
static EconomicActivityClassificationTypes: {
|
|
231
|
+
/** Not defined */
|
|
232
|
+
NONE: string;
|
|
233
|
+
/** Agriculture based activity */
|
|
234
|
+
A: string;
|
|
235
|
+
/** Mining based activity */
|
|
236
|
+
B: string;
|
|
237
|
+
/** Manifacturing based activity */
|
|
238
|
+
C: string;
|
|
239
|
+
/** Electricity based activity */
|
|
240
|
+
D: string;
|
|
241
|
+
/** Water supply based activity */
|
|
242
|
+
E: string;
|
|
243
|
+
/** Construction based activity */
|
|
244
|
+
F: string;
|
|
245
|
+
/** Wholesale based activity */
|
|
246
|
+
G: string;
|
|
247
|
+
/** Transportation based activity */
|
|
248
|
+
H: string;
|
|
249
|
+
/** Accomodation based activity */
|
|
250
|
+
I: string;
|
|
251
|
+
/** Information and communication based activity */
|
|
252
|
+
J: string;
|
|
253
|
+
/** Financial based activity */
|
|
254
|
+
K: string;
|
|
255
|
+
/** Real estate based activity */
|
|
256
|
+
L: string;
|
|
257
|
+
/** Professional based activity */
|
|
258
|
+
M: string;
|
|
259
|
+
/** Administrative based activity */
|
|
260
|
+
N: string;
|
|
261
|
+
/** Public administration based activity */
|
|
262
|
+
O: string;
|
|
263
|
+
/** Education based activity */
|
|
264
|
+
P: string;
|
|
265
|
+
/** Human health based activity */
|
|
266
|
+
Q: string;
|
|
267
|
+
/** Arts based activity */
|
|
268
|
+
R: string;
|
|
269
|
+
/** Other service based activity */
|
|
270
|
+
S: string;
|
|
271
|
+
/** Activities of households as employer based activity */
|
|
272
|
+
T: string;
|
|
273
|
+
/** Activities of extraterritorial organisations and bodies based activity */
|
|
274
|
+
U: string;
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* Rainbow application customisation
|
|
278
|
+
*/
|
|
279
|
+
private static userProfileAttributes;
|
|
280
|
+
private static attributes;
|
|
281
|
+
/**
|
|
282
|
+
* @param id - Id of the company
|
|
283
|
+
* @param name - Name of the company
|
|
284
|
+
* @returns the created company
|
|
285
|
+
*/
|
|
286
|
+
static create(id: string, name: string): Company;
|
|
287
|
+
/**
|
|
288
|
+
* @param data - The object containing the attributes of the company
|
|
289
|
+
* @returns the created company
|
|
290
|
+
*/
|
|
291
|
+
static createFromData(data: any): Company;
|
|
292
|
+
/**
|
|
293
|
+
* Returns a copy of the company's data but expurgated by the unwanted and undefined optional properties.
|
|
294
|
+
*
|
|
295
|
+
* @param data - The object containing the attributes of the company
|
|
296
|
+
* @param userContact - The logged user
|
|
297
|
+
* @returns the updated company
|
|
298
|
+
*/
|
|
299
|
+
static prune(data: any, userContact: any): Company;
|
|
300
|
+
id: string;
|
|
301
|
+
name: string;
|
|
302
|
+
status: string;
|
|
303
|
+
state: string;
|
|
304
|
+
logo: any;
|
|
305
|
+
nameForLogs: string;
|
|
306
|
+
filterName: string;
|
|
307
|
+
offerType: string;
|
|
308
|
+
/**
|
|
309
|
+
* Products this company has ever been granted a trial for.
|
|
310
|
+
*
|
|
311
|
+
* Set by the backend when the company is created through the trial funnel, or when a former
|
|
312
|
+
* Essential company is upgraded. Never cleared: a trial that has run out keeps its entry, which
|
|
313
|
+
* is what makes this the answer to "has this company already had that trial?" — the
|
|
314
|
+
* subscription list cannot answer it, since a terminated trial is no longer returned. The
|
|
315
|
+
* default company never carries any.
|
|
316
|
+
*
|
|
317
|
+
* Read through {@link hasUsedTrial} / {@link hasUsedTrialOfType} rather than directly.
|
|
318
|
+
*
|
|
319
|
+
* Comes from the backend's `freemiumTypes` — its billing vocabulary for what is a trial
|
|
320
|
+
* everywhere here. Mapped by hand, unlike the fields in {@link Company.attributes}, which are
|
|
321
|
+
* copied across by name and so cannot be renamed.
|
|
322
|
+
*/
|
|
323
|
+
trialTypes: CompanyTrialType[];
|
|
324
|
+
isBP: boolean;
|
|
325
|
+
waitingRoomMandatory: boolean;
|
|
326
|
+
bpId: string;
|
|
327
|
+
bpType: string;
|
|
328
|
+
bpHasRightToSell: boolean;
|
|
329
|
+
bpBusinessType: string[];
|
|
330
|
+
/**
|
|
331
|
+
* How this company was sold to: `resell` / `referral` through a Business Partner, `direct` when
|
|
332
|
+
* it bought self-service. Undefined on a company predating the field.
|
|
333
|
+
*
|
|
334
|
+
* The `bp` prefix undersells it — it is filled on plain customers as well, and `direct` only ever
|
|
335
|
+
* appears there. Read through {@link getCommercialModel} rather than directly.
|
|
336
|
+
*/
|
|
337
|
+
bpBusinessModel: string;
|
|
338
|
+
private rxSubject;
|
|
339
|
+
banner: any;
|
|
340
|
+
avatarShape: string;
|
|
341
|
+
slogan: string;
|
|
342
|
+
country: any;
|
|
343
|
+
timezone: string;
|
|
344
|
+
economicActivityClassification: any;
|
|
345
|
+
size: any;
|
|
346
|
+
website: string;
|
|
347
|
+
companyContactId: string;
|
|
348
|
+
description: string;
|
|
349
|
+
supportEmail: string;
|
|
350
|
+
lastAvatarUpdateDate: any;
|
|
351
|
+
lastBannerUpdateDate: any;
|
|
352
|
+
selectedSplashScreen: {
|
|
353
|
+
lastUpdateDate?: string;
|
|
354
|
+
isForced?: boolean;
|
|
355
|
+
uploadedUsed?: boolean;
|
|
356
|
+
companyId?: string;
|
|
357
|
+
};
|
|
358
|
+
visibility: string;
|
|
359
|
+
numberUsers: number;
|
|
360
|
+
organisationId: string;
|
|
361
|
+
/**
|
|
362
|
+
* Office365 tenant configured for this company.
|
|
363
|
+
*/
|
|
364
|
+
office365Tenant: string;
|
|
365
|
+
/**
|
|
366
|
+
* Scopes granted to Rainbow for usage of Microsoft Office365 APIs.
|
|
367
|
+
*
|
|
368
|
+
* Non-exhaustive list of values : 'directory' | 'calendar' | 'provisioning' | 'meeting_scheduler' | 'o365_admin' | 'teams' | 'personal_contacts'
|
|
369
|
+
*/
|
|
370
|
+
office365ScopesGranted: string[];
|
|
371
|
+
/**
|
|
372
|
+
* Indicates if the admin delegated mode could be activated (ie. 'office365AdminMode' property).
|
|
373
|
+
*/
|
|
374
|
+
readonly isOffice365AdminDelegatedModeAuthorized: boolean;
|
|
375
|
+
/**
|
|
376
|
+
* Specifies how activation of O365 calendar and teams presence synchronization are handled for company's users.
|
|
377
|
+
*/
|
|
378
|
+
office365AdminMode: Office365AdminMode;
|
|
379
|
+
/**
|
|
380
|
+
* Indicates if all users should be synchronized with their office365 Calendar presence.
|
|
381
|
+
*/
|
|
382
|
+
office365SynchronizeCalendarPresence: boolean;
|
|
383
|
+
/**
|
|
384
|
+
* Indicates if all users should be synchronized with their office365 Teams presence.
|
|
385
|
+
*/
|
|
386
|
+
office365SynchronizeTeamsPresence: boolean;
|
|
387
|
+
bpHasRightToConnect: boolean;
|
|
388
|
+
cloudPbxRecordingInboundOnly: boolean;
|
|
389
|
+
cloudPbxRecordingRetention: number;
|
|
390
|
+
hideContractInfo: boolean;
|
|
391
|
+
displayIdrFiles: boolean;
|
|
392
|
+
allowUsersSelectTheme: boolean;
|
|
393
|
+
allowUsersSelectPublicTheme: boolean;
|
|
394
|
+
selectedTheme: any;
|
|
395
|
+
originalSelectedTheme: any;
|
|
396
|
+
selectedThemeCustomers: any;
|
|
397
|
+
originalSelectedThemeCustomers: any;
|
|
398
|
+
allowDeviceFirmwareSelection: boolean;
|
|
399
|
+
selectedDeviceFirmware: string;
|
|
400
|
+
allowCloudPbxDeviceAccess: boolean;
|
|
401
|
+
allowCloudPbxDeviceMngt: boolean;
|
|
402
|
+
isEdge: boolean;
|
|
403
|
+
edgeData: IEdgeStatus;
|
|
404
|
+
privacy: any;
|
|
405
|
+
dataLocation: any;
|
|
406
|
+
supportUrlFAQ: string;
|
|
407
|
+
disableCCareAdminAccess: boolean;
|
|
408
|
+
disableCCareAdminAccessCustomers: boolean;
|
|
409
|
+
disableCCareAdminAccessResellers: boolean;
|
|
410
|
+
adminHasRightToUpdateSubscriptions: boolean;
|
|
411
|
+
adminAllowedUpdateSubscriptionsOps: string;
|
|
412
|
+
sendPrepaidSubscriptionsNotification: boolean;
|
|
413
|
+
disableEmailOnAutoRenewSubscriptionExpiration: boolean;
|
|
414
|
+
adminHasTheRightToEnableDeskphoneFailover: boolean;
|
|
415
|
+
adminServiceNotificationsLevel: string;
|
|
416
|
+
teamsPresenceOnRainbowBusyPhone: string;
|
|
417
|
+
endOfConferenceBehavior: {
|
|
418
|
+
behavior: "rainbow" | "custom_url" | "no_redirect";
|
|
419
|
+
customUrl?: string;
|
|
420
|
+
};
|
|
421
|
+
enableNewVirusScanPolicy: boolean;
|
|
422
|
+
/**
|
|
423
|
+
* Identifier — not the name — of the application customisation template last applied to the
|
|
424
|
+
* company, or undefined while none ever was.
|
|
425
|
+
*
|
|
426
|
+
* Written by the server when a template is applied, and the company-scoped record of which one
|
|
427
|
+
* governs its members. `POST /customisations/templates/apply` takes the template's name, so
|
|
428
|
+
* resolving this against the template list is what pairs the two.
|
|
429
|
+
*/
|
|
430
|
+
selectedAppCustomisationTemplate: string | undefined;
|
|
431
|
+
referrals: string[];
|
|
432
|
+
verified: boolean;
|
|
433
|
+
private get companyService();
|
|
434
|
+
private get subscriptionService();
|
|
435
|
+
constructor(data: any);
|
|
436
|
+
/**
|
|
437
|
+
* Allows to update an existing company with data from server.
|
|
438
|
+
*
|
|
439
|
+
* @param data - The object containing the updated attributes of the company
|
|
440
|
+
*/
|
|
441
|
+
updateFromData(data: any): void;
|
|
442
|
+
/**
|
|
443
|
+
* Reads {@link trialTypes} off a server payload, where the field is named `freemiumTypes`.
|
|
444
|
+
*
|
|
445
|
+
* Left untouched when the payload does not carry the field, like every attribute above: a
|
|
446
|
+
* partial payload must not erase what a full one established.
|
|
447
|
+
*/
|
|
448
|
+
private readTrialTypes;
|
|
449
|
+
getNameForLogs(): string;
|
|
450
|
+
/**
|
|
451
|
+
* Gets the status of the company
|
|
452
|
+
* @returns True if the company is active
|
|
453
|
+
*/
|
|
454
|
+
isActive(): boolean;
|
|
455
|
+
isInitializing(): boolean;
|
|
456
|
+
isInvited(): boolean;
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
* @returns true if the company in the Freemium business model, otherwise false.
|
|
460
|
+
*/
|
|
461
|
+
isFreemium(): boolean;
|
|
462
|
+
/**
|
|
463
|
+
* @public
|
|
464
|
+
* @returns true if the company has contracted the Premium Plan, otherwise false.
|
|
465
|
+
*/
|
|
466
|
+
isPremium(): boolean;
|
|
467
|
+
/**
|
|
468
|
+
* Whether this company has ever been granted a free trial, whatever became of it.
|
|
469
|
+
*
|
|
470
|
+
* Reads {@link trialTypes}, which the backend never clears — so this stays true once the
|
|
471
|
+
* trial has run out, and after the company has bought a paid offer. That is the point: it
|
|
472
|
+
* answers "has this trial already been used up?", which the subscription list cannot, since a
|
|
473
|
+
* trial the backend has terminated is no longer returned.
|
|
474
|
+
*
|
|
475
|
+
* Answers for the **company**. To know what a given user currently runs, read
|
|
476
|
+
* `User.isWebinarTrial()` / `User.isCollaborationTrial()` — a different question.
|
|
477
|
+
*
|
|
478
|
+
* @public
|
|
479
|
+
* @returns true if the company has already had a trial, otherwise false.
|
|
480
|
+
*/
|
|
481
|
+
hasUsedTrial(): boolean;
|
|
482
|
+
/**
|
|
483
|
+
* Whether this company has already been granted the free trial of one given product.
|
|
484
|
+
*
|
|
485
|
+
* Per product, because the trials are independent: a company that used up its Collaboration
|
|
486
|
+
* trial may still be offered the Webinar one. See {@link hasUsedTrial} for why this survives
|
|
487
|
+
* the trial's end.
|
|
488
|
+
*
|
|
489
|
+
* @public
|
|
490
|
+
* @param type - the product to test.
|
|
491
|
+
* @returns true if that trial has already been granted, otherwise false.
|
|
492
|
+
*/
|
|
493
|
+
hasUsedTrialOfType(type: CompanyTrialType): boolean;
|
|
494
|
+
/**
|
|
495
|
+
* Commercial model of the company's contract — `trial`, `directSell` or `standard`.
|
|
496
|
+
*
|
|
497
|
+
* The single entry point for adapting the UI to what the company subscribed to. Prefer it over
|
|
498
|
+
* {@link isFreemium}, which cannot tell an Essential company from one on a trial: both carry
|
|
499
|
+
* `offerType: "freemium"`.
|
|
500
|
+
*
|
|
501
|
+
* Answers for the **company**, not for the user: two members of the same company always get the
|
|
502
|
+
* same value. To know what a given user unlocked, read `User.isWebinarTrial()` /
|
|
503
|
+
* `User.isCollaborationTrial()` instead — those answer a different question.
|
|
504
|
+
*
|
|
505
|
+
* `trial` is read from {@link trialTypes}, so it also covers a company whose trial has
|
|
506
|
+
* ended: it was born of the funnel and stays outside the Business Partner channel either way,
|
|
507
|
+
* which is what the callers adapt to. It wins over `directSell` for a company that bought after
|
|
508
|
+
* its trial, the funnel being the more telling of the two.
|
|
509
|
+
*
|
|
510
|
+
* `directSell` is read from the backend's `bpBusinessModel`, which names how the company was
|
|
511
|
+
* sold to. Despite the `bp` prefix it is filled on plain customers too — that is precisely where
|
|
512
|
+
* `direct` shows up, on a company with no Business Partner at all.
|
|
513
|
+
*
|
|
514
|
+
* @public
|
|
515
|
+
* @see hasGuidedOnboarding — what both non-standard models switch on.
|
|
516
|
+
* @returns the commercial model of the company.
|
|
517
|
+
*/
|
|
518
|
+
getCommercialModel(): CompanyCommercialModel;
|
|
519
|
+
/**
|
|
520
|
+
* Whether the company came in without a Business Partner — born of the trial funnel, or
|
|
521
|
+
* bought self-service.
|
|
522
|
+
*
|
|
523
|
+
* Groups the `trial` and `directSell` models of {@link getCommercialModel} against
|
|
524
|
+
* `standard`, a company sold through the regular partner channel. The commercial fact
|
|
525
|
+
* itself, which callers adapt to in their own way: the guided onboarding is one such
|
|
526
|
+
* adaptation, the marketing site a member is sent to is another.
|
|
527
|
+
*
|
|
528
|
+
* ⚠️ Reads false on a company whose full payload has not been read yet, like
|
|
529
|
+
* {@link getCommercialModel} it derives from.
|
|
530
|
+
*
|
|
531
|
+
* @public
|
|
532
|
+
* @see hasGuidedOnboarding — the onboarding this switches on.
|
|
533
|
+
* @returns true when the company came in without a Business Partner, otherwise false.
|
|
534
|
+
*/
|
|
535
|
+
isSoldWithoutPartner(): boolean;
|
|
536
|
+
/**
|
|
537
|
+
* Whether the members of this company are walked through their first steps — the launch pad,
|
|
538
|
+
* and the rocket in the rail that reopens it at any time.
|
|
539
|
+
*
|
|
540
|
+
* Covers the two commercial models sold without a Business Partner in between: a company born
|
|
541
|
+
* of the trial funnel, and one buying self-service. Both are left to find their own way in, so
|
|
542
|
+
* both get the guided start; a company sold through the regular channel has its partner for
|
|
543
|
+
* that, and never sees it.
|
|
544
|
+
*
|
|
545
|
+
* Answers for the **company**, which is the whole point: a member invited into an active trial
|
|
546
|
+
* company is guided exactly like the admin who invited them, having arrived just as new.
|
|
547
|
+
*
|
|
548
|
+
* ⚠️ Reads `standard` on a company whose full payload has not been read yet — see
|
|
549
|
+
* {@link getCommercialModel}, and the trial types it derives from. That answers false here,
|
|
550
|
+
* hiding the launch pad for as long as it takes the real company to land, rather than
|
|
551
|
+
* offering it to someone entitled to nothing.
|
|
552
|
+
*
|
|
553
|
+
* @public
|
|
554
|
+
* @returns true when the company's members get the guided onboarding, otherwise false.
|
|
555
|
+
*/
|
|
556
|
+
hasGuidedOnboarding(): boolean;
|
|
557
|
+
/**
|
|
558
|
+
* Tells whether the company may run webinars, i.e. whether a Webinar offer is
|
|
559
|
+
* currently subscribed.
|
|
560
|
+
*
|
|
561
|
+
* Webinar licences are bought as a company-wide quota of *simultaneous*
|
|
562
|
+
* webinars — they are never assigned to individual users. Use this to decide
|
|
563
|
+
* whether offering the webinar-host role to a member makes sense at all.
|
|
564
|
+
*
|
|
565
|
+
* @public
|
|
566
|
+
* @returns true when the company's subscriptions unlock webinar access.
|
|
567
|
+
*/
|
|
568
|
+
hasWebinarAccess(): Promise<boolean>;
|
|
569
|
+
/**
|
|
570
|
+
* Tells whether the company may collaborate, i.e. whether a Collaboration offer is currently
|
|
571
|
+
* subscribed — free trial included.
|
|
572
|
+
*
|
|
573
|
+
* The counterpart of {@link hasWebinarAccess}, and the answer to "is this a webinar-only
|
|
574
|
+
* company?": a company holding webinar access and nothing here runs webinars alone, and must
|
|
575
|
+
* not be offered bubbles, file storage or member management.
|
|
576
|
+
*
|
|
577
|
+
* Read from the subscriptions rather than from the per-user capability flags: those stay on
|
|
578
|
+
* for a webinar-only company — a capability says what a member is allowed to do, not what the
|
|
579
|
+
* company was sold. Nor from `Contact.isCollaborationTrial`, rebuilt from roles read at login:
|
|
580
|
+
* an offer subscribed since leaves it false, one that ended leaves it true.
|
|
581
|
+
*
|
|
582
|
+
* The default base tier every company holds is excluded, so it does not answer true for a
|
|
583
|
+
* company granted nothing. Answers false when the subscriptions cannot be read, so nothing is
|
|
584
|
+
* offered that the company could not honour.
|
|
585
|
+
*
|
|
586
|
+
* Synchronous: the subscription service reads its in-memory cache, filled before any screen
|
|
587
|
+
* runs and refreshed in place on every change.
|
|
588
|
+
*
|
|
589
|
+
* @public
|
|
590
|
+
* @returns true when the company's subscriptions unlock collaboration.
|
|
591
|
+
*/
|
|
592
|
+
hasCollaborationAccess(): boolean;
|
|
593
|
+
/**
|
|
594
|
+
* @public
|
|
595
|
+
* @returns true if the company is a Value Added Distributor (VAD) Business Partner company, otherwise false.
|
|
596
|
+
*/
|
|
597
|
+
isVAD(): boolean;
|
|
598
|
+
/**
|
|
599
|
+
* @public
|
|
600
|
+
* @returns true if the company is an Indirect Reseller (IR) Business Partner company, otherwise false.
|
|
601
|
+
*/
|
|
602
|
+
isIR(): boolean;
|
|
603
|
+
/**
|
|
604
|
+
* @public
|
|
605
|
+
* @returns true if the company is a Direct Reseller (DR) Business Partner company, otherwise false.
|
|
606
|
+
*/
|
|
607
|
+
isDR(): boolean;
|
|
608
|
+
/**
|
|
609
|
+
* @public
|
|
610
|
+
* @returns true if the company is End Customer (EC) company, otherwise false.
|
|
611
|
+
*/
|
|
612
|
+
isEC(): boolean;
|
|
613
|
+
/**
|
|
614
|
+
* @public
|
|
615
|
+
* @returns true if the company is the Orange company, otherwise false.
|
|
616
|
+
*/
|
|
617
|
+
isOrange(): boolean;
|
|
618
|
+
/**
|
|
619
|
+
* @public
|
|
620
|
+
* @returns true if the company is a distributor BP is allowed to sell Rainbow Edge.
|
|
621
|
+
*/
|
|
622
|
+
hasRightToSellRainbowEdge(): boolean;
|
|
623
|
+
onChange(callback: any): import("rxjs").Subscription;
|
|
624
|
+
sendChangeEvent(type: string, value?: any): any;
|
|
625
|
+
getSelectedWhiteThemeId(): string;
|
|
626
|
+
setSelectedWhiteThemeId(lightId: any): void;
|
|
627
|
+
getSelectedDarkThemeId(): string;
|
|
628
|
+
setSelectedDarkThemeId(darkId: any): void;
|
|
629
|
+
setSelectedTheme(theme: Theme): void;
|
|
630
|
+
getSelectedCustomerWhiteThemeId(): string;
|
|
631
|
+
setSelectedCustomerWhiteThemeId(lightId: any): void;
|
|
632
|
+
getSelectedCustomerDarkThemeId(): string;
|
|
633
|
+
setSelectedCustomerDarkThemeId(darkId: any): void;
|
|
634
|
+
setSelectedThemeCustomers(theme: Theme): void;
|
|
635
|
+
toJSON(): any;
|
|
636
|
+
getPrivacy(): string;
|
|
637
|
+
setPrivacy(privacy: any): void;
|
|
638
|
+
}
|
|
639
|
+
//# sourceMappingURL=company.model.d.ts.map
|