@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 @@
|
|
|
1
|
+
{"version":3,"file":"conversation.service.d.ts","sourceRoot":"","sources":["../../../src/services/conversation/conversation.service.ts"],"names":[],"mappings":"AAGA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,EAAE,eAAe,EAAiC,MAAM,MAAM,CAAC;AAItE,OAAO,EAAa,MAAM,EAA4C,MAAM,wCAAwC,CAAC;AACrH,OAAO,EAAE,OAAO,EAAE,MAA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ACrC;;OAEG;IACH,2BAA2B,CAAC,EAAE,MAAM,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { MessageID } from "../../models/message.model";
|
|
2
|
+
import type { ConversationRB } from "../../models/conversation.model";
|
|
3
|
+
export declare class ConversationServiceBulkHistoryHandler {
|
|
4
|
+
private xmppService;
|
|
5
|
+
private mainService;
|
|
6
|
+
private i18n;
|
|
7
|
+
private logger;
|
|
8
|
+
private contactService;
|
|
9
|
+
private utilitiesService;
|
|
10
|
+
private conversationService;
|
|
11
|
+
private settingsService;
|
|
12
|
+
private fileStorageService?;
|
|
13
|
+
private fileServerService?;
|
|
14
|
+
static create(): ConversationServiceBulkHistoryHandler;
|
|
15
|
+
private constructor();
|
|
16
|
+
getHistoryPage(conversation: ConversationRB, nbMessage: number): Promise<void>;
|
|
17
|
+
getHistoryPageAroundMessage(conversation: ConversationRB, messageHistoryIndex: number, nbMessages?: number): Promise<void>;
|
|
18
|
+
getHistoryPageFromTimeTillNow(conversation: ConversationRB, timestamp: any): Promise<void>;
|
|
19
|
+
private getHistoryPageInternal;
|
|
20
|
+
resetHistory(conversation: ConversationRB, resetAfterSearch?: boolean): void;
|
|
21
|
+
onHistoryMessageReceived(stanza: Element): boolean;
|
|
22
|
+
private handleHistoryResult;
|
|
23
|
+
/**
|
|
24
|
+
* A rainbow/json payload is only displayable inside the `{ "rainbow": { ... } }` envelope (adaptive card
|
|
25
|
+
* response, messageBack), and an empty `rainbow.text` is a silent response. Anything else is a legacy
|
|
26
|
+
* signalling payload no client handles anymore — e.g. `{"type":"muteforothers",...}` archived by old
|
|
27
|
+
* web SDKs (2.1xx) during conferences — whose body is a meaningless GUID.
|
|
28
|
+
*/
|
|
29
|
+
private isHiddenRainbowJsonMessage;
|
|
30
|
+
private createMessage;
|
|
31
|
+
private createFileSharingMessage;
|
|
32
|
+
/**
|
|
33
|
+
* Find message by ID via MAM IQ request
|
|
34
|
+
*/
|
|
35
|
+
retriveMessageInConversation(conversation: ConversationRB, msgDate: any, messageId: MessageID): Promise<void>;
|
|
36
|
+
private sendRetriveMessageInConversationToMam;
|
|
37
|
+
onRetrieveMessageInConversationReceived(stanza: Element): boolean;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=conversationServiceBulkHistoryHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversationServiceBulkHistoryHandler.d.ts","sourceRoot":"","sources":["../../../src/services/conversation/conversationServiceBulkHistoryHandler.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAW,SAAS,EAAqB,MAAM,2CAA2C,CAAC;AAUvG,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gDAAgD,CAAC;AAgBrF,qBAAa,qCAAqC;IAC9C,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,IAAI,CAA0C;IACtD,OAAO,CAAC,MAAM,CAA8C;IAC5D,OAAO,CAAC,cAAc,CAAgD;IACtE,OAAO,CAAC,gBAAgB,CAAoD;IAC5E,OAAO,CAAC,mBAAmB,CAA8D;IACzF,OAAO,CAAC,eAAe,CAAkD;IAEzE,OAAO,CAAC,kBAAkB,CAAC,CAAiC;IAC5D,OAAO,CAAC,iBAAiB,CAAC,CAAgC;WAE5C,MAAM,IAAI,qCAAqC;IAI7D,OAAO;IASM,cAAc,CAAC,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAW9E,2BAA2B,CAAC,YAAY,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,EAAE,UAAU,GAAE,MAAW,GAAG,OAAO,CAAC,IAAI,CAAC;IAM9H,6BAA6B,CAAC,YAAY,EAAE,cAAc,EAAE,SAAS,EAAE,GAAG;YAazE,sBAAsB;IA6E7B,YAAY,CAAC,YAAY,EAAE,cAAc,EAAE,gBAAgB,GAAE,OAAe,GAAG,IAAI;IAenF,wBAAwB,CAAC,MAAM,EAAE,OAAO;IA8G/C,OAAO,CAAC,mBAAmB;IA0B3B;;;;;OAKG;IACH,OAAO,CAAC,0BAA0B;IAalC,OAAO,CAAC,aAAa;IAuVrB,OAAO,CAAC,wBAAwB;IAkChC;;OAEG;IAEU,4BAA4B,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAkB1H,OAAO,CAAC,qCAAqC;IA+BtC,uCAAuC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;CAsD3E"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import type { MessageID } from "../../models/message.model";
|
|
2
|
+
import type { Contact } from "../../models/contact.model";
|
|
3
|
+
import type { ConversationRB } from "../../models/conversation.model";
|
|
4
|
+
import { ConversationStatus } from "../../models/conversation.model";
|
|
5
|
+
export declare class ConversationServiceEventHandler {
|
|
6
|
+
static create(): ConversationServiceEventHandler;
|
|
7
|
+
private xmppService;
|
|
8
|
+
private logger;
|
|
9
|
+
private mainService;
|
|
10
|
+
private contactService;
|
|
11
|
+
private eventService;
|
|
12
|
+
private conversationService;
|
|
13
|
+
private i18n;
|
|
14
|
+
private settingsService;
|
|
15
|
+
private webConferenceService?;
|
|
16
|
+
private webinarService?;
|
|
17
|
+
private fileServerService?;
|
|
18
|
+
private fileStorageService?;
|
|
19
|
+
private webrtcGatewayService?;
|
|
20
|
+
private roomService?;
|
|
21
|
+
private callRecorderService?;
|
|
22
|
+
private constructor();
|
|
23
|
+
onChatMessageReceived(stanza: Element): boolean;
|
|
24
|
+
onErrorMessageReceived(stanza: Element): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* An error stanza echoing back a `<reaction>` is the server refusing that reaction -- typically with
|
|
27
|
+
* item-not-found when the msg_ts we sent does not match the one it stored the message under. The chat
|
|
28
|
+
* message itself was delivered fine, so it must NOT be flagged as a send failure: `extractStanzaData`
|
|
29
|
+
* resolves the reaction's msg_id onto the original message, which would otherwise make an
|
|
30
|
+
* already-delivered message show an error. Revert the reaction we applied optimistically instead.
|
|
31
|
+
*
|
|
32
|
+
* The selector is the bare tag, matching what `extractStanzaData` already uses. An `[xmlns=...]`
|
|
33
|
+
* selector only matches an element that literally carries the declaration, so if the server ever
|
|
34
|
+
* echoed the reaction back without repeating it we would fall through and flag the message again.
|
|
35
|
+
* `msg_id` is what makes it precise instead: the MAM aggregate is `<reactions>` (plural tag, no
|
|
36
|
+
* match) and its `<reaction from=...>` children carry no `msg_id`.
|
|
37
|
+
*
|
|
38
|
+
* @returns true when the stanza was a refused reaction and has been handled.
|
|
39
|
+
*/
|
|
40
|
+
private handleRefusedReaction;
|
|
41
|
+
onConferenceMessageReceived(stanza: Element): boolean;
|
|
42
|
+
onRoomAdminMessageReceived(conversation: ConversationRB, contact: Contact, type: string, msgId: MessageID, translatedMessage: any): void;
|
|
43
|
+
onFileMessageReceived(stanza: Element): boolean;
|
|
44
|
+
onWebRTCMessageReceived(stanza: Element): boolean;
|
|
45
|
+
onPBXMessageReceived(stanza: Element): boolean;
|
|
46
|
+
onManagementMessageReceived(stanza: Element): boolean;
|
|
47
|
+
onReceiptMessageReceived(stanza: Element): boolean;
|
|
48
|
+
/** *******************************************************************/
|
|
49
|
+
/** PRIVATE METHODS */
|
|
50
|
+
/** *******************************************************************/
|
|
51
|
+
private extractStanzaData;
|
|
52
|
+
/**
|
|
53
|
+
* The microsecond id the server archived this message under -- the `msg_ts` half of the
|
|
54
|
+
* (msg_id, msg_ts) key, and the source of the message's date.
|
|
55
|
+
*
|
|
56
|
+
* XEP-0359 allows several `<stanza-id>`, one per archive that stored the message: in a room the
|
|
57
|
+
* server can emit both the room's and our own. They are different ids, so taking whichever comes
|
|
58
|
+
* first in document order can hand back the wrong archive's value. Prefer the one belonging to the
|
|
59
|
+
* archive this conversation is read from -- the room for a groupchat, our own bare jid otherwise --
|
|
60
|
+
* and only fall back to the first when no `@by` matches. `<archived>` (the older urn:xmpp:mam:tmp
|
|
61
|
+
* form) carries the same id and is used when no `<stanza-id>` is present.
|
|
62
|
+
*/
|
|
63
|
+
private findArchiveId;
|
|
64
|
+
private handleCommonData;
|
|
65
|
+
private handleStandardMsg;
|
|
66
|
+
private handleCarbonMsg;
|
|
67
|
+
extractWebrtcStanzaData(stanza: Element): Promise<any>;
|
|
68
|
+
handleChatMessage(stanzaData: any): Promise<void>;
|
|
69
|
+
private acknowledgeHandledChatMessage;
|
|
70
|
+
private handleReceiptReceiveMessage;
|
|
71
|
+
private handleStatusMessage;
|
|
72
|
+
stringToStatus(status: string): ConversationStatus;
|
|
73
|
+
onRecordingMessageReceived(stanza: Element): boolean;
|
|
74
|
+
handleRecapShareMessage(stanzaData: any): void;
|
|
75
|
+
handlePinMessage(stanzaData: any): void;
|
|
76
|
+
handlePollEvent(conversation: ConversationRB, contact: Contact, msgId: MessageID, pollId: string): void;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=conversationServiceEventHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversationServiceEventHandler.d.ts","sourceRoot":"","sources":["../../../src/services/conversation/conversationServiceEventHandler.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAW,SAAS,EAAE,MAAM,2CAA2C,CAAC;AAGpF,OAAO,KAAK,EAAE,O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,oBAAoB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IA8B9C,2BAA2B,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IA0IrD,wBAAwB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IA8EzD,wEAAwE;IACxE,sEAAsE;IACtE,wEAAwE;YAC1D,iBAAiB;IA6C/B;;;;;;;;;;OAUG;IACH,OAAO,CAAC,aAAa;IAYrB,OAAO,CAAC,gBAAgB;IAwHxB,OAAO,CAAC,iBAAiB;IAgKzB,OAAO,CAAC,eAAe;IAmJV,uBAAuB,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,GAAG,CAAC;IAyFtD,iBAAiB,CAAC,UAAU,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;IAoG9D,OAAO,CAAC,6BAA6B;IAgErC,OAAO,CAAC,2BAA2B;IAoDnC,OAAO,CAAC,mBAAmB;IAapB,cAAc,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB;IAQlD,0BAA0B,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO;IA6CpD,uBAAuB,CAAC,UAAU,EAAE,GAAG;IAoBvC,gBAAgB,CAAC,UAAU,EAAE,GAAG;IAiBhC,eAAe,CAAC,YAAY,EAAE,cAAc,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM;CAkB1G"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/conversation/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AACxG,OAAO,EAAE,yBAAyB,EAAE,MAAM,wBAAwB,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Service } from "../../services/service";
|
|
2
|
+
export declare const ACCOUNT_SVC = "AccountService";
|
|
3
|
+
export declare class AccountService extends Service {
|
|
4
|
+
private logger;
|
|
5
|
+
private contactService;
|
|
6
|
+
private errorHelperService;
|
|
7
|
+
private settingsService;
|
|
8
|
+
private authService;
|
|
9
|
+
static getInstance(): AccountService;
|
|
10
|
+
static build(): AccountService;
|
|
11
|
+
private constructor();
|
|
12
|
+
/**
|
|
13
|
+
* Sends subscribe email (API request to https://api.openrainbow.org/enduser/#api-notifications_emails-sendSelfRegisterEmail Rainbow End User portal - notifications emails - Self-register email)
|
|
14
|
+
* Method sends a self-register email to a user. A temporary user token is generated and send in the email body. This token is required in the self register validation workflow
|
|
15
|
+
* @param email - Email of the user requesting a self-register email with a temporary token
|
|
16
|
+
* Size range: 3..255
|
|
17
|
+
* Allowed values: "/^[a-zA-Z0-9_\+-]+(\.[a-zA-Z0-9_\+-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.([a-zA-Z]{2,4})$/"
|
|
18
|
+
* @param freemium - Set for the freemium onboarding flow. When the email matches a company's self-register allowed domain,
|
|
19
|
+
* the server then creates no account and emails the user to contact their company administrator instead.
|
|
20
|
+
* @returns A promise that resolves when subscribe is done
|
|
21
|
+
*/
|
|
22
|
+
sendSubscribeEmail(email: string, freemium?: boolean): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Sends subscribe email (API request to https://api.openrainbow.org/enduser/#api-users-registerMyself Rainbow End User portal - users - Self register a user)
|
|
25
|
+
* Method allows a user to self register a user account in Rainbow application.
|
|
26
|
+
* @param loginEmail - User email address (used for login). Must be unique (409 error is returned if a user already exists with the same email address).
|
|
27
|
+
* @param newPassword - User password. Rules: more than 8 characters, at least 1 capital letter, 1 number, 1 special character. Size range: 8..64
|
|
28
|
+
* @param temporaryToken - User temporary token (obtained from sendSubscribeEmail) (do not use if invitationId, joinCompanyInvitationId, joinCompanyLinkId or openInviteId is specified).
|
|
29
|
+
* @param invitationId - User invitation unique identifier (like 569ce8c8f9336c471b98eda4) (obtained from POST /api/rainbow/enduser/v1.0/users/:userId/invitations API) (do not use if temporaryToken, joinCompanyInvitationId, joinCompanyLinkId or openInviteId is specified).
|
|
30
|
+
* @param joinCompanyInvitationId - Join company invitation unique identifier (like 5819ed7c9547b313509237d6) (obtained from POST /api/rainbow/admin/v1.0/companies/:companyId/join-companies/invitations API)
|
|
31
|
+
* (do not use if temporaryToken, invitationId, joinCompanyLinkId or openInviteId is specified).
|
|
32
|
+
* @param joinRoomConfId - deprecated
|
|
33
|
+
* @param openInviteId - A Rainbow user is sharing with co-workers an unique URL to join a meeting.
|
|
34
|
+
* This URL is used by somebody not yet a Rainbow user (doesn't have a Rainbow account).
|
|
35
|
+
*
|
|
36
|
+
* Some explanations about this use case:
|
|
37
|
+
*
|
|
38
|
+
* Each user has a personal UUID.
|
|
39
|
+
* In the api documentation, this UUID is called openInviteId. It can be generated on demand.
|
|
40
|
+
* The public URL is based on this openInviteId (ex: https://web.openrainbow.com/#/invite?invitationId=0fc06e0ce4a849fcbe214ae5e1107417&scenario=public-url)
|
|
41
|
+
* Refer to /api/rainbow/enduser/v1.0/users/:userId/open-invites/xxxx API(s) to manage the openInviteId
|
|
42
|
+
* @param visibility - User visibility
|
|
43
|
+
* Define if the user can be searched by users being in other company and if the user can search users being in other companies.
|
|
44
|
+
* Visibility can be:
|
|
45
|
+
|
|
46
|
+
* same_than_company: The same visibility than the user's company's is applied to the user. When this user visibility is used, if the visibility of the company is * changed the user's visibility will use this company new visibility.
|
|
47
|
+
* public: User can be searched by external users / can search external users. User can invite external users / can be invited by external users
|
|
48
|
+
* private: User can't be searched by external users / can search external users. User can invite external users / can be invited by external users
|
|
49
|
+
* closed: User can't be searched by external users / can't search external users. User can invite external users / can be invited by external users
|
|
50
|
+
* isolated: User can't be searched by external users / can't search external users. User can't invite external users / can't be invited by external users
|
|
51
|
+
* none: Default value reserved for guest. User can't be searched by any users (even within the same company) / can search external users.
|
|
52
|
+
* User can invite external users / can be invited by external users External users mean 'public user not being in user's company nor user's organisation nor a company visible by user's company.
|
|
53
|
+
* @param roomPassword - In case user is created related to invitation ID and the bubble is password protected, user should send also the password to the user creation process
|
|
54
|
+
* @param freemiumType - Freemium offer type selected during self-registration (e.g. "webinar", "collaboration"). Sent only for the freemium onboarding flow.
|
|
55
|
+
* @returns A promise that resolves when subscribe is done
|
|
56
|
+
*/
|
|
57
|
+
subscribe(loginEmail: string, newPassword: string, temporaryToken?: string, invitationId?: string, joinCompanyInvitationId?: string, joinRoomConfId?: string, openInviteId?: string, visibility?: string, roomPassword?: string, freemiumType?: string): Promise<void>;
|
|
58
|
+
/**
|
|
59
|
+
* Sends subscribe email (API request to https://api.openrainbow.org/enduser/#api-notifications_emails-sendResetPasswordEmail Rainbow End User portal - notifications emails - Reset-password email)
|
|
60
|
+
* Method allows to send a reset-password email to a user.
|
|
61
|
+
* A temporary user token is generated and sent in the email body. This token is required in the reset password validation workflow (see documentation of related API: PUT /api/rainbow/enduser/v1.0/users/reset-password for more information).
|
|
62
|
+
* Note: A rainbow user with the role guest can't reset his password.
|
|
63
|
+
* @param email - Email of the user requesting a reset-password email with a temporary token
|
|
64
|
+
* Size range: 3..255
|
|
65
|
+
* Allowed values: "/^[a-zA-Z0-9_\+-]+(\.[a-zA-Z0-9_\+-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.([a-zA-Z]{2,4})$/"
|
|
66
|
+
* @returns A promise that resolves when reset is done
|
|
67
|
+
*/
|
|
68
|
+
sendResetPasswordEmail(email: string): Promise<void>;
|
|
69
|
+
/**
|
|
70
|
+
* Sends new password (API request to {@link https://api.openrainbow.org/enduser/#api-password-resetPassword} Rainbow End User portal - password - Reset user password)
|
|
71
|
+
* Method allow user to reset his password (i.e. change his password when he does not remember his current password).
|
|
72
|
+
* This API requires a temporary user token to validate that this is well the user who reset his password.
|
|
73
|
+
* Clients have to first call POST /api/rainbow/enduser/v1.0/notifications/emails/reset-password so that user receive an email with a temporary token.
|
|
74
|
+
* User enters this token and his new password, and Clients have to call PUT /api/rainbow/enduser/v1.0/users/:userId/reset-password with this code and the new password.
|
|
75
|
+
* Note than when user password is reset, all user's previously generated JWT are revoked and jid_password of its jid_im and jid_tel is updated with a new password. All connected jid_im and jid_tel resources are also disconnected.
|
|
76
|
+
* Therefore, clients have to login again with this user in order to retrieve a new valid JWT and its new jid_password.
|
|
77
|
+
* @param loginEmail - User login email address. Size range: 3..255
|
|
78
|
+
* @param newPassword - New user password. Size range: 8..64
|
|
79
|
+
* @param temporaryToken - User temporary token (obtained from POST /api/rainbow/enduser/v1.0/notifications/emails/reset-password API). Size range: 6
|
|
80
|
+
* @returns A promise that resolves when reset is done
|
|
81
|
+
*/
|
|
82
|
+
sendNewPassword(loginEmail: string, newPassword: string, temporaryToken: string): Promise<void>;
|
|
83
|
+
/**
|
|
84
|
+
* Creates a user invitation (API request to https://api.openrainbow.org/enduser/#api-invitations-createUserInvitation Rainbow End User portal - invitations - Create a user invitation)
|
|
85
|
+
* Method allow logged in user to invite another user.
|
|
86
|
+
* @param email - Invited user email address. Size range: 3..255
|
|
87
|
+
* @returns A promise that resolves when invite is done
|
|
88
|
+
*/
|
|
89
|
+
inviteUserByEmail(email: string): Promise<void>;
|
|
90
|
+
/**
|
|
91
|
+
* Resends the activation email to an already-enrolled freemium address.
|
|
92
|
+
* (API request to POST /api/rainbow/enduser/v1.0/freemium/resend-activation)
|
|
93
|
+
* @param email - The login email address to resend the activation email to.
|
|
94
|
+
* @returns A promise that resolves when the resend request is done
|
|
95
|
+
*/
|
|
96
|
+
resendActivationEmail(email: string): Promise<void>;
|
|
97
|
+
}
|
|
98
|
+
//# sourceMappingURL=account.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/account.service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAGhE,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAE5C,qBAAa,cAAe,SAAQ,OAAO;IACvC,OAAO,CAAC,MAAM,CAA8C;IAC5D,OAAO,CAAC,cAAc,CAAgD;IACtE,OAAO,CAAC,kBAAkB,CAAwD;IAClF,OAAO,CAAC,eAAe,CAAkD;IACzE,OAAO,CAAC,WAAW,CAA0C;WAE/C,WAAW;WACX,KAAK;IAEnB,OAAO;IAEP;;;;;;;;;OASG;IACU,kBAAkB,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAqDjF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAiCG;IACU,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,uBAAuB,CAAC,EAAE,MAAM,EAAE,cAAc,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA0FnR;;;;;;;;;OASG;IACU,sBAAsB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA8CjE;;;;;;;;;;;;OAYG;IACU,eAAe,CAAC,UAAU,EAAE,MAAM,EAAE,WAAW,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA8C5G;;;;;OAKG;IACU,iBAAiB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IA6C5D;;;;;OAKG;IACU,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;CAmBnE"}
|
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
import type { Subscription } from "rxjs";
|
|
2
|
+
import { AuthSettings } from "../../models/authSettings.model";
|
|
3
|
+
import { Service } from "../../services/service";
|
|
4
|
+
import type { MultiFactorAuthPolicy, MultiFactorAuthVerifInfo } from "../../models/rainbow-auth.model";
|
|
5
|
+
import { MultiFactorAuthFeatureInfo, MultiFactorAuthInformation } from "../../models/rainbow-auth.model";
|
|
6
|
+
export declare const AUTH_SVC = "AuthService";
|
|
7
|
+
export declare enum AUTO_AUTH_TYPES {
|
|
8
|
+
CommandLine = "CommandLine",
|
|
9
|
+
AuthToken = "AuthToken",
|
|
10
|
+
KeyChain = "KeyChain",
|
|
11
|
+
NoAuth = "NoAuth"
|
|
12
|
+
}
|
|
13
|
+
export declare enum AUTH_STATUS {
|
|
14
|
+
Failure = "Failure",
|
|
15
|
+
Success = "Success"
|
|
16
|
+
}
|
|
17
|
+
export declare enum AUTH_TYPE {
|
|
18
|
+
RAINBOW = "RAINBOW",
|
|
19
|
+
SAML = "SAML",
|
|
20
|
+
OIDC = "OIDC",
|
|
21
|
+
TOTP = "TOTP",
|
|
22
|
+
PASSWORDLESS = "PASSWORDLESS"
|
|
23
|
+
}
|
|
24
|
+
export interface AutoAuthResult {
|
|
25
|
+
type: AUTO_AUTH_TYPES;
|
|
26
|
+
status?: AUTH_STATUS;
|
|
27
|
+
error?: Error;
|
|
28
|
+
errorCode?: string;
|
|
29
|
+
authInfo?: any;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @eventProperty
|
|
33
|
+
*/
|
|
34
|
+
export declare enum AuthServiceEvents {
|
|
35
|
+
/**
|
|
36
|
+
* @eventProperty
|
|
37
|
+
* This RB event is send when a conversation has been removed from the user (or from another client)
|
|
38
|
+
*/
|
|
39
|
+
RAINBOW_ON_AUTH_TOKEN_EXPIRE = "RAINBOW_ON_AUTH_TOKEN_EXPIRE",
|
|
40
|
+
/**
|
|
41
|
+
* @eventProperty
|
|
42
|
+
* This RB event is send when a conversation has been removed from the user (or from another client)
|
|
43
|
+
*/
|
|
44
|
+
RAINBOW_ON_AUTH_TOKEN_WILL_EXPIRE = "RAINBOW_ON_AUTH_TOKEN_WILL_EXPIRE",
|
|
45
|
+
/**
|
|
46
|
+
* @eventProperty
|
|
47
|
+
* This RB event is send when a conversation has been removed from the user (or from another client)
|
|
48
|
+
*/
|
|
49
|
+
RAINBOW_ON_AUTH_SESSION_SHOULD_RENEW = "RAINBOW_ON_AUTH_SESSION_SHOULD_RENEW",
|
|
50
|
+
/**
|
|
51
|
+
* @eventProperty
|
|
52
|
+
* This RB event is send when a conversation has been removed from the user (or from another client)
|
|
53
|
+
*/
|
|
54
|
+
RAINBOW_ON_AUTH_TOKEN_RENEW = "RAINBOW_ON_AUTH_TOKEN_RENEW",
|
|
55
|
+
/**
|
|
56
|
+
* @eventProperty
|
|
57
|
+
* This RB event is sent when the redirection from external browser to rainbow is done for the backchannel authent (used for Azure Cond Access)
|
|
58
|
+
*/
|
|
59
|
+
RAINBOW_ON_AUTH_BACKCHANNEL_REDIRECT_COMMAND = "RAINBOW_ON_AUTH_BACKCHANNEL_REDIRECT_COMMAND",
|
|
60
|
+
/**
|
|
61
|
+
* @eventProperty
|
|
62
|
+
* This RB event is sent when a successful token is retrieved by backchannel authent (used for Azure Cond Access)
|
|
63
|
+
*/
|
|
64
|
+
RAINBOW_ON_AUTH_BACKCHANNEL_SUCCESS = "RAINBOW_ON_AUTH_BACKCHANNEL_SUCCESS",
|
|
65
|
+
/**
|
|
66
|
+
* @eventProperty
|
|
67
|
+
* This RB event is sent when a failure occurs in token retrieval in backchannel authent (used for Azure Cond Access)
|
|
68
|
+
*/
|
|
69
|
+
RAINBOW_ON_AUTH_BACKCHANNEL_FAILURE = "RAINBOW_ON_AUTH_BACKCHANNEL_FAILURE",
|
|
70
|
+
/**
|
|
71
|
+
* @eventProperty
|
|
72
|
+
* This RB event is sent when a 503 Service Unavailable response is received during authentication, indicating the server is temporarily unavailable
|
|
73
|
+
*/
|
|
74
|
+
RAINBOW_ON_AUTH_SERVICE_UNAVAILABLE = "RAINBOW_ON_AUTH_SERVICE_UNAVAILABLE",
|
|
75
|
+
/**
|
|
76
|
+
* @eventProperty
|
|
77
|
+
* This RB event is sent when the server becomes available again after a 503 retry sequence
|
|
78
|
+
*/
|
|
79
|
+
RAINBOW_ON_AUTH_SERVICE_AVAILABLE = "RAINBOW_ON_AUTH_SERVICE_AVAILABLE",
|
|
80
|
+
/**
|
|
81
|
+
* @eventProperty
|
|
82
|
+
* This RB event is sent when a storage event detects that a different user has logged in
|
|
83
|
+
* on the same browser. The current session is unaffected but the shared localStorage token
|
|
84
|
+
* has been overwritten. A page refresh would restore the other user's session.
|
|
85
|
+
*/
|
|
86
|
+
RAINBOW_ON_ANOTHER_ACCOUNT_CONNECTED = "RAINBOW_ON_ANOTHER_ACCOUNT_CONNECTED",
|
|
87
|
+
/**
|
|
88
|
+
* @eventProperty
|
|
89
|
+
* Fired on the signing-in tab (User B) after server authentication succeeds,
|
|
90
|
+
* just BEFORE the new token is written to localStorage, when a valid non-expired
|
|
91
|
+
* token belonging to a different user is already stored there.
|
|
92
|
+
*
|
|
93
|
+
* The consumer MUST call authService.confirmTokenConflict(true|false):
|
|
94
|
+
* - true → write the token and continue the login flow
|
|
95
|
+
* - false → abort; the consumer is responsible for closing or redirecting the tab
|
|
96
|
+
*
|
|
97
|
+
* Not fired in SDK mode (config.sdk) or on the desktop app (single-instance).
|
|
98
|
+
*
|
|
99
|
+
* Data: { existingUserId: string; existingLogin: string; incomingUserId: string; incomingLogin: string }
|
|
100
|
+
*/
|
|
101
|
+
RAINBOW_ON_AUTH_TOKEN_WILL_CONFLICT = "RAINBOW_ON_AUTH_TOKEN_WILL_CONFLICT"
|
|
102
|
+
}
|
|
103
|
+
export declare class AuthService extends Service {
|
|
104
|
+
SSO_LOGIN_POPUP_WINDOW_NAME: string;
|
|
105
|
+
SSO_LOGOUT_POPUP_WINDOW_NAME: string;
|
|
106
|
+
token: string;
|
|
107
|
+
login: string;
|
|
108
|
+
userId: string;
|
|
109
|
+
jidIm: string;
|
|
110
|
+
jidTel: string;
|
|
111
|
+
jidPwd: string;
|
|
112
|
+
xmppDomain: string;
|
|
113
|
+
companyId: string;
|
|
114
|
+
firstUseNewVersion: boolean;
|
|
115
|
+
initialized: boolean;
|
|
116
|
+
isGuest: boolean;
|
|
117
|
+
loggedInUser: any;
|
|
118
|
+
authType: AUTH_TYPE;
|
|
119
|
+
sessionShouldBeUpdated: boolean;
|
|
120
|
+
sessionExpirationTimestamp: number;
|
|
121
|
+
private authSettings;
|
|
122
|
+
browserFingerprint: string;
|
|
123
|
+
private renewTokenTimer?;
|
|
124
|
+
private renewSessionTimer?;
|
|
125
|
+
private tokenSurveyTimer?;
|
|
126
|
+
private win;
|
|
127
|
+
private globalSSOSettings;
|
|
128
|
+
private rxSubject;
|
|
129
|
+
private logger;
|
|
130
|
+
private settingsService;
|
|
131
|
+
private errorHelperService;
|
|
132
|
+
private mainService;
|
|
133
|
+
private backChannelPollingTimeout;
|
|
134
|
+
private backChannelRenewSession;
|
|
135
|
+
private rememberMe;
|
|
136
|
+
private pendingConflictResolver;
|
|
137
|
+
private randomFullJid;
|
|
138
|
+
static getInstance(): AuthService;
|
|
139
|
+
static build(): AuthService;
|
|
140
|
+
private constructor();
|
|
141
|
+
subscribe(handler: any): Subscription;
|
|
142
|
+
sendEvent(eventName: AuthServiceEvents, data?: any): void;
|
|
143
|
+
logon(login: string, password: string, rememberMe?: boolean, authSettings?: AuthSettings, retryCount?: number): Promise<{
|
|
144
|
+
mfaPolicy: MultiFactorAuthPolicy;
|
|
145
|
+
authType: AUTH_TYPE.TOTP;
|
|
146
|
+
token: string;
|
|
147
|
+
} | null>;
|
|
148
|
+
getRandomFullJid(jid?: string): string;
|
|
149
|
+
logonOneTimeGuest(login: string, password: string): Promise<{
|
|
150
|
+
mfaPolicy: MultiFactorAuthPolicy;
|
|
151
|
+
authType: AUTH_TYPE.TOTP;
|
|
152
|
+
token: string;
|
|
153
|
+
} | null>;
|
|
154
|
+
logonWithToken(token?: string): Promise<void>;
|
|
155
|
+
sdkLogOn(login: string, password: string, host: string, appToken: any, token: string): Promise<void | {
|
|
156
|
+
mfaPolicy: MultiFactorAuthPolicy;
|
|
157
|
+
authType: AUTH_TYPE.TOTP;
|
|
158
|
+
token: string;
|
|
159
|
+
}>;
|
|
160
|
+
setRenewedToken(token?: string): Promise<void>;
|
|
161
|
+
logout(): Promise<string>;
|
|
162
|
+
getGlobalSSOConfiguration(): Promise<any>;
|
|
163
|
+
getUserAuthenticationSettings(login?: string, inAppAuth?: boolean, country?: string, isDesktopApp?: boolean): Promise<AuthSettings>;
|
|
164
|
+
removeLocalStorageItems(): void;
|
|
165
|
+
removeCredentials(): void;
|
|
166
|
+
resetUserEnvironment(): void;
|
|
167
|
+
getRequestHeader(accept?: string): any;
|
|
168
|
+
getRequestHeaderWithRange(range: any): any;
|
|
169
|
+
getPostHeader(contentType?: string, accept?: string): any;
|
|
170
|
+
getPostHeaderWithRange(range: any, contentType: string): any;
|
|
171
|
+
setInformationHeaders(headers: any): void;
|
|
172
|
+
getInformationHeadersApp(): string;
|
|
173
|
+
getInformationHeadersAppVersion(): string;
|
|
174
|
+
startTokenSurvey(): Promise<void>;
|
|
175
|
+
private sendAuthSessionShouldRenewEvent;
|
|
176
|
+
suspendRenewSessionEventing(): void;
|
|
177
|
+
stopTokenSurvey(): void;
|
|
178
|
+
getRainbowAppAuth(appId: string, appSecret: string, password?: string): string;
|
|
179
|
+
private getMajorVersion;
|
|
180
|
+
getServerApiUrls(): void;
|
|
181
|
+
renewAuthToken(restartTokenSurvey?: boolean): Promise<void>;
|
|
182
|
+
private getUserData;
|
|
183
|
+
getUserEnvironments(login: string): Promise<any>;
|
|
184
|
+
getSAMLConfiguration(companyId: string, ssoId: string): Promise<string>;
|
|
185
|
+
getFingerPrint(): Promise<string>;
|
|
186
|
+
private getWebGlSignature;
|
|
187
|
+
private formatDuration;
|
|
188
|
+
private createError;
|
|
189
|
+
private extractUserInfo;
|
|
190
|
+
autoAuth(noAutoLoginPatterns?: string[], commandLineInfo?: any): Promise<AutoAuthResult>;
|
|
191
|
+
getMainProcessArguments(): Promise<string[]>;
|
|
192
|
+
getKeyChainDesktopAuthInfo(): Promise<any>;
|
|
193
|
+
getCommandLine(): Promise<string | null>;
|
|
194
|
+
handleAuthCommandLine(commandLine: string): any;
|
|
195
|
+
handleAuthBackChannelCommandLine(commandLine: string): void;
|
|
196
|
+
getLocationSearchParameters(): any;
|
|
197
|
+
private stripUrlParams;
|
|
198
|
+
/**
|
|
199
|
+
* Retrieve multifactor authentication information from server
|
|
200
|
+
*/
|
|
201
|
+
retrieveMfaInformation(): Promise<MultiFactorAuthInformation>;
|
|
202
|
+
/**
|
|
203
|
+
* This API allows Rainbow users to verify that rainbow multifactor authentication is operational
|
|
204
|
+
* @param token - 6-digits TOTP code
|
|
205
|
+
*/
|
|
206
|
+
verifyMFAInformation(token: string): Promise<MultiFactorAuthVerifInfo>;
|
|
207
|
+
/**
|
|
208
|
+
* Allows Rainbow users to enable Multifactor Authentication in order to finalize activation process
|
|
209
|
+
*/
|
|
210
|
+
enableMFA(): Promise<void>;
|
|
211
|
+
/**
|
|
212
|
+
* This API allows Rainbow users to login during a short duration for executing some specific operation concerning a feature given in body content
|
|
213
|
+
* If login is successful, the API returns a JSON Web Token (<abbr title="JSON Web Token">JWT) which has to be provided by clients for all Rainbow APIs
|
|
214
|
+
* requiring this user authentication with short duration:
|
|
215
|
+
* The JWT is valid only for a given time period.
|
|
216
|
+
* The JWT cannot be renewed.
|
|
217
|
+
* Once the JWT expired, user must login again using this API.
|
|
218
|
+
* @param login - loginEmail of user trying to authenticate
|
|
219
|
+
* @param password - password of user trying to authenticate
|
|
220
|
+
* @param feature - feature for which the login is for. Default: 'mfa'
|
|
221
|
+
* @param duration - duration in seconds of the limited login. Default: 600 seconds
|
|
222
|
+
*/
|
|
223
|
+
loginCheck(login: string, password: string, feature?: string, duration?: number): Promise<MultiFactorAuthFeatureInfo>;
|
|
224
|
+
/**
|
|
225
|
+
* Allows Rainbow users to disable multifactor authentication
|
|
226
|
+
* @param token - to be used for disable API call
|
|
227
|
+
*/
|
|
228
|
+
disableMFA(token: string): Promise<void>;
|
|
229
|
+
/**
|
|
230
|
+
* Realize the second authication with a totp code as second factor using
|
|
231
|
+
* @param mfaToken - A valid JWT token is generated by the API and returned as answer of a call to the route GET /api/rainbow/authentication/v1.0/login giving a valid user & password
|
|
232
|
+
* @param mfaTotpCode -TOTP code
|
|
233
|
+
* @param trustedApp - indicates if MFA policy is configured to authorize trusted app to not ask for totp code at next login
|
|
234
|
+
*/
|
|
235
|
+
loginUsingToTp(mfaToken: string, mfaTotpCode: number, trustedApp?: boolean): Promise<void>;
|
|
236
|
+
/**
|
|
237
|
+
* Realize the second authication with a recovery code as second factor using
|
|
238
|
+
* @param mfaToken - A valid JWT token is generated by the API and returned as answer of a call to the route GET /api/rainbow/authentication/v1.0/login giving a valid user & password
|
|
239
|
+
* @param mfaRecoveryCode - recovery code
|
|
240
|
+
*/
|
|
241
|
+
loginUsingRecoveryCode(mfaToken: string, mfaRecoveryCode: string): Promise<void>;
|
|
242
|
+
/**
|
|
243
|
+
* Allows Rainbow users to reset recovery code for multifactor authentication
|
|
244
|
+
* @param token - to be used for reset API call
|
|
245
|
+
*/
|
|
246
|
+
resetRecoveryCode(token: string): Promise<string>;
|
|
247
|
+
/**
|
|
248
|
+
* Allows Rainbow users to delete all trusted applications using
|
|
249
|
+
* @param token - to be used for disable API call
|
|
250
|
+
*/
|
|
251
|
+
disableAllMfaTrustedApps(token: string): Promise<void>;
|
|
252
|
+
/**
|
|
253
|
+
* Allows Rainbow users to delete a trusted application
|
|
254
|
+
* @param token - to be used for disable API call
|
|
255
|
+
* @param appId - application unique id
|
|
256
|
+
*/
|
|
257
|
+
disableMfaTrustedApp(token: string, appId: string): Promise<void>;
|
|
258
|
+
/**
|
|
259
|
+
* Get a "standard" Rainbow JWT from a temporary microsoft token.
|
|
260
|
+
* This API can only be used by the "Rainbow official Desktop application".
|
|
261
|
+
* @param temporaryToken - a temporary microsoft token
|
|
262
|
+
*/
|
|
263
|
+
getRainbowTokenFromTemporaryToken(temporaryToken: string): Promise<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Ask the backend to send a verification code by email or sms to the identified user.
|
|
266
|
+
* @param uid - User identifier (loginEmail or loginPhone)
|
|
267
|
+
* @param country - country code (alpha3) of the loginPhone 'used for passwordless by phone number authentication method
|
|
268
|
+
*/
|
|
269
|
+
sendPasswordlessCodeToUser(uid: string, country?: string): Promise<{
|
|
270
|
+
codeLength: number;
|
|
271
|
+
codeDuration: number;
|
|
272
|
+
expirationDate: string;
|
|
273
|
+
smsSent: boolean;
|
|
274
|
+
emailSent: boolean;
|
|
275
|
+
smsSentTo?: string;
|
|
276
|
+
emailSentTo?: string;
|
|
277
|
+
}>;
|
|
278
|
+
/**
|
|
279
|
+
* This API allows Rainbow users to login without password, but with a verification code sent by mail or sms
|
|
280
|
+
* @param uid - User identifier (loginEmail or loginPhone)
|
|
281
|
+
* @param code - OTP code
|
|
282
|
+
* @param challenge - for autorized application identification
|
|
283
|
+
* @param rememberMe - Indicates wether the browser must memorize the token and do auto token renewals
|
|
284
|
+
*/
|
|
285
|
+
loginUsingPasswordlessLogin(uid: string, code: string, challenge: string, rememberMe: boolean): Promise<void>;
|
|
286
|
+
retrieveBackChannelUserToken(authSettings: AuthSettings, rememberMe: boolean, renewSession?: boolean): Promise<string>;
|
|
287
|
+
private startSsoCondAccessTokenPolling;
|
|
288
|
+
stopPollingBackChannelUserToken(): void;
|
|
289
|
+
private startSsoCondAccessPoll;
|
|
290
|
+
/**
|
|
291
|
+
* This API allows Rainbow users to login without password, but with a verification code sent by mail or sms
|
|
292
|
+
* @param uid - User identifier (loginEmail or loginPhone)
|
|
293
|
+
* @param code - OTP code
|
|
294
|
+
* @param challenge - for autorized application identification
|
|
295
|
+
* @param rememberMe - Indicates wether the browser must memorize the token and do auto token renewals
|
|
296
|
+
*/
|
|
297
|
+
private pollingBackChannelUserToken;
|
|
298
|
+
private userLeaveAfterConfict;
|
|
299
|
+
confirmTokenConflict(confirmed: boolean): void;
|
|
300
|
+
private checkAndWaitForConflictResolution;
|
|
301
|
+
private getExistingTokenConflict;
|
|
302
|
+
}
|
|
303
|
+
//# sourceMappingURL=auth.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/auth.service.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAGzC,OAAO,EAAE,YAAY,EAAE,MAAM,gDAAgD,CAAC;AAK9E,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAEhE,OAAO,KAAK,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AACtH,OAAO,EAAE,0BAA0B,EAAE,0BAA0B,EAAE,MAAM,gDAAgD,CAAC;AAaxH,eAAO,MAAM,QAAQ,gBAAgB,CAAC;AAEtC,oBAAY,eAAe;IACvB,WAAW,gBAAgB;IAC3B,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,MAAM,WAAW;CACpB;AAED,oBAAY,WAAW;IACnB,OAAO,YAAY;IACnB,OAAO,YAAY;CACtB;AAED,oBAAY,SAAS;IACjB,OAAO,YAAY;IACnB,IAAI,SAAS;IACb,IAAI,SAAS;IACb,IAAI,SAAS;IACb,YAAY,iBAAiB;CAChC;AACD,MAAM,WAAW,cAAc;IAC3B,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB;AAED;;GAEG;AACH,oBAAY,iBAAiB;IAEzB;;;OAGG;IACH,4BAA4B,iCAAiC;IAE7D;;;OAGG;IACH,iCAAiC,sCAAsC;IAEvE;;;OAGG;IACH,oCAAoC,yCAAyC;IAE7E;;;OAGG;IACH,2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"../../services/service";
|
|
3
|
+
export declare const COMPANY_SVC = "CompanyService";
|
|
4
|
+
export declare class CompanyService extends Service {
|
|
5
|
+
private eventService;
|
|
6
|
+
private logger;
|
|
7
|
+
private authService;
|
|
8
|
+
private userInfoService;
|
|
9
|
+
private xmppService;
|
|
10
|
+
private errorHelperService;
|
|
11
|
+
private companies;
|
|
12
|
+
static getInstance(): CompanyService;
|
|
13
|
+
static build(): CompanyService;
|
|
14
|
+
private constructor();
|
|
15
|
+
private configure;
|
|
16
|
+
getCompanyById(companyId: string, update?: boolean): Promise<Company>;
|
|
17
|
+
searchCompanies(searchText: string, hasBP?: string, isBP?: boolean, bpType?: string): Promise<any>;
|
|
18
|
+
getCompanyAdminsData(companyId: string): Promise<any>;
|
|
19
|
+
getCompanyUsers(companyId: string, pageSize: number): Promise<void>;
|
|
20
|
+
getCompanyLogo(company: Company): Promise<Company>;
|
|
21
|
+
getCompanyBanner(company: Company): Promise<Company>;
|
|
22
|
+
getImageMimeType(imageUrl: any): Promise<any>;
|
|
23
|
+
uploadCompanyBanner(company: Company, base64Image: string): Promise<void>;
|
|
24
|
+
deleteCompanyBanner(company: Company): Promise<void>;
|
|
25
|
+
uploadCompanyLogo(company: Company, base64Image: string): Promise<void>;
|
|
26
|
+
deleteCompanyLogo(company: Company): Promise<void>;
|
|
27
|
+
updateCompany(company: Company): Promise<void>;
|
|
28
|
+
getCompanyFeatures(companyId: string): Promise<any>;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=company.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"company.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/company.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AAOpE,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAIhE,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAC5C,qBAAa,cAAe,SAAQ,OAAO;IACvC,O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