@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,768 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module Conversations
|
|
3
|
+
*/
|
|
4
|
+
import { Contact } from "../models/contact.model";
|
|
5
|
+
import type { Call, CallRB } from "../models/call.model";
|
|
6
|
+
import type { Bubble, BubbleRB } from "../models/bubble.model";
|
|
7
|
+
import type { Subscription } from "rxjs";
|
|
8
|
+
import type { AnswerMessage, Message, MessageID, Urgency } from "./message.model";
|
|
9
|
+
import { MessageSide } from "./message.model";
|
|
10
|
+
import type { Webinar } from "../models/webinar.model";
|
|
11
|
+
import type { RBEvent } from "./event.model";
|
|
12
|
+
import type { SendFileMessageData, SendMessageData } from "../services/conversation/conversation.service";
|
|
13
|
+
import type { User } from "./user.model";
|
|
14
|
+
import type { SearchTextResult } from "./searchTextConvResults.model";
|
|
15
|
+
import type { FileDocument } from "./fileDocument.model";
|
|
16
|
+
import type { EventableService } from "../services/service";
|
|
17
|
+
import type { MaybeArray } from "../typings/helpers";
|
|
18
|
+
import { ContextMap } from "./common";
|
|
19
|
+
/**
|
|
20
|
+
* Conversation public events
|
|
21
|
+
* @eventProperty
|
|
22
|
+
*/
|
|
23
|
+
export declare enum ConversationEvents {
|
|
24
|
+
/**
|
|
25
|
+
* @eventProperty
|
|
26
|
+
* This RBEvent is send when a new message is added in this conversation
|
|
27
|
+
*/
|
|
28
|
+
ON_MESSAGE_ADDED = "ON_MESSAGE_ADDED",
|
|
29
|
+
/**
|
|
30
|
+
* @eventProperty
|
|
31
|
+
* This RBEvent is send when the replaced/deleted message is the last one
|
|
32
|
+
*/
|
|
33
|
+
ON_MESSAGE_REPLACED = "ON_MESSAGE_REPLACED",
|
|
34
|
+
/**
|
|
35
|
+
* @eventProperty
|
|
36
|
+
* This RBEvent is send when a bookmark is set in this conversation
|
|
37
|
+
*/
|
|
38
|
+
ON_MESSAGE_BOOKMARKED = "ON_MESSAGE_BOOKMARKED",
|
|
39
|
+
/**
|
|
40
|
+
* @eventProperty
|
|
41
|
+
* This RBEvent is send when a message is add in the "cache message".
|
|
42
|
+
* This "cache message" is used to store messages which belongs to the conversation but not
|
|
43
|
+
* already loaded. For example an old replied message.
|
|
44
|
+
*/
|
|
45
|
+
ON_MESSAGE_CACHED = "ON_MESSAGE_CACHED",
|
|
46
|
+
/**
|
|
47
|
+
* @eventProperty
|
|
48
|
+
* This RBEvent is send when something occurs on conversation messages
|
|
49
|
+
*/
|
|
50
|
+
ON_MESSAGES_UPDATED = "ON_MESSAGES_UPDATED",
|
|
51
|
+
/**
|
|
52
|
+
* @eventProperty
|
|
53
|
+
* This RBEvent is send when conversation messages are cleared
|
|
54
|
+
*/
|
|
55
|
+
ON_MESSAGES_CLEARED = "ON_MESSAGES_CLEARED",
|
|
56
|
+
/**
|
|
57
|
+
* @eventProperty
|
|
58
|
+
* This RBEvent is send when the missed message counter is updated
|
|
59
|
+
*/
|
|
60
|
+
ON_MISSED_COUNTER_UPDATED = "ON_MISSED_COUNTER_UPDATED",
|
|
61
|
+
/**
|
|
62
|
+
* @eventProperty
|
|
63
|
+
* This RBEvent is send when the conversation status is changed
|
|
64
|
+
* This status represent the user typing activity.
|
|
65
|
+
* + ACTIVE
|
|
66
|
+
* + INACTIVE
|
|
67
|
+
* + COMPOSING
|
|
68
|
+
* + PAUSED
|
|
69
|
+
*/
|
|
70
|
+
ON_STATUS_CHANGED = "ON_STATUS_CHANGED",
|
|
71
|
+
/**
|
|
72
|
+
* @eventProperty
|
|
73
|
+
* This RBEvent is send when
|
|
74
|
+
* In some situations when the call is "remotely picked" by another client and we update the tel call area (??)
|
|
75
|
+
* In some situations to manage the mute / unmute / sharing buttons in tell call area;
|
|
76
|
+
* This event is to be DELETED and replaced with something else;
|
|
77
|
+
*/
|
|
78
|
+
RAINBOW_CONVERSATION_CALL_UPDATE = "RAINBOW_CONVERSATION_CALL_UPDATE",
|
|
79
|
+
/**
|
|
80
|
+
* @eventProperty
|
|
81
|
+
* @internal
|
|
82
|
+
* This RBEvent is send when the contact is replced by a new one in the conversation :
|
|
83
|
+
* It is used in the following usecases:
|
|
84
|
+
* - PBX Hybride (OXO/OXE) conference call is "reverted" to single call
|
|
85
|
+
* - temp contact replaced by a directory contact
|
|
86
|
+
* As the conversation stays the same, we only modify the "contact" inside to adapt to the new situation.
|
|
87
|
+
*/
|
|
88
|
+
ON_CONVERSATION_CALL_CONTACT_CHANGE = "ON_CONVERSATION_CALL_CONTACT_CHANGE",
|
|
89
|
+
/**
|
|
90
|
+
* @eventProperty
|
|
91
|
+
* @internal
|
|
92
|
+
* This RBEvent is send when
|
|
93
|
+
* FIXME : MCO GUI EVENT
|
|
94
|
+
*/
|
|
95
|
+
ON_CONVERSATION_CALL_SHIFT_CHANGE = "ON_CONVERSATION_CALL_SHIFT_CHANGE",
|
|
96
|
+
/**
|
|
97
|
+
* @eventProperty
|
|
98
|
+
* @internal
|
|
99
|
+
* This RBEvent is send when
|
|
100
|
+
* FIXME : MCO GUI EVENT
|
|
101
|
+
*/
|
|
102
|
+
RAINBOW_CONVERSATION_USER_UPDATED = "RAINBOW_CONVERSATION_USER_UPDATED",
|
|
103
|
+
/**
|
|
104
|
+
* @eventProperty
|
|
105
|
+
* @internal
|
|
106
|
+
* This RBEvent is send when
|
|
107
|
+
* FIXME : MCO GUI EVENT
|
|
108
|
+
*/
|
|
109
|
+
RAINBOW_CONVERSATION_ROOM_UPDATED = "RAINBOW_CONVERSATION_ROOM_UPDATED",
|
|
110
|
+
/**
|
|
111
|
+
* @eventProperty
|
|
112
|
+
* @internal
|
|
113
|
+
* This RBEvent is send when
|
|
114
|
+
* FIXME : MCO WRONG PLACE : SFUCALLAREA SERVICE EVENT : GUI
|
|
115
|
+
*/
|
|
116
|
+
RAINBOW_CONVERSATION_REQUEST_TRANSFERT_SHARING = "RAINBOW_CONVERSATION_REQUEST_TRANSFERT_SHARING",
|
|
117
|
+
/**
|
|
118
|
+
* @eventProperty
|
|
119
|
+
* @internal
|
|
120
|
+
* This RBEvent is send when
|
|
121
|
+
* FIXME : MCO WRONG PLACE : SFUCALLAREA SERVICE EVENT : GUI
|
|
122
|
+
*/
|
|
123
|
+
RAINBOW_CONVERSATION_ACCEPT_TRANSFERT_SHARING = "RAINBOW_CONVERSATION_ACCEPT_TRANSFERT_SHARING",
|
|
124
|
+
/**
|
|
125
|
+
* @eventProperty
|
|
126
|
+
* @internal
|
|
127
|
+
* This RBEvent is send when the conversation urgency level is reset
|
|
128
|
+
* FIXME : MCO GUI EVENT
|
|
129
|
+
*/
|
|
130
|
+
RAINBOW_CONVERSATION_RESET_MESSAGE_LEVEL = "RAINBOW_CONVERSATION_RESET_MESSAGE_LEVEL",
|
|
131
|
+
/**
|
|
132
|
+
* @eventProperty
|
|
133
|
+
* @internal
|
|
134
|
+
* This RBEvent is send when
|
|
135
|
+
* FIXME : MCO GUI EVENT
|
|
136
|
+
*/
|
|
137
|
+
RAINBOW_CONVERSATION_INFO_VISIBLE = "RAINBOW_CONVERSATION_INFO_VISIBLE"
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Conversation public events
|
|
141
|
+
*/
|
|
142
|
+
export interface IConversationEvents {
|
|
143
|
+
/**
|
|
144
|
+
* @eventProperty
|
|
145
|
+
* This RBEvent is send when a new message is added in this conversation
|
|
146
|
+
*/
|
|
147
|
+
ON_MESSAGE_ADDED: {
|
|
148
|
+
message: Message;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* @eventProperty
|
|
152
|
+
* This RBEvent is send when the replaced/deleted message is the last one
|
|
153
|
+
*/
|
|
154
|
+
ON_MESSAGE_REPLACED: {
|
|
155
|
+
message: Message;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* @eventProperty
|
|
159
|
+
* This RBEvent is send when a bookmark is set in this conversation
|
|
160
|
+
*/
|
|
161
|
+
ON_MESSAGE_BOOKMARKED: {
|
|
162
|
+
bookmark: ConversationBookmark;
|
|
163
|
+
};
|
|
164
|
+
/**
|
|
165
|
+
* @eventProperty
|
|
166
|
+
* This RBEvent is send when a message is add in the "cache message".
|
|
167
|
+
* This "cache message" is used to store messages which belongs to the conversation but not
|
|
168
|
+
* already loaded. For example an old replied message.
|
|
169
|
+
*/
|
|
170
|
+
ON_MESSAGE_CACHED: {
|
|
171
|
+
message: Message;
|
|
172
|
+
};
|
|
173
|
+
/**
|
|
174
|
+
* @eventProperty
|
|
175
|
+
* This RBEvent is send when something occurs on conversation messages
|
|
176
|
+
*/
|
|
177
|
+
ON_MESSAGES_UPDATED: unknown;
|
|
178
|
+
/**
|
|
179
|
+
* @eventProperty
|
|
180
|
+
* This RBEvent is send when conversation messages are cleared
|
|
181
|
+
*/
|
|
182
|
+
ON_MESSAGES_CLEARED: unknown;
|
|
183
|
+
/**
|
|
184
|
+
* @eventProperty
|
|
185
|
+
* This RBEvent is send when the missed message counter is updated
|
|
186
|
+
*/
|
|
187
|
+
ON_MISSED_COUNTER_UPDATED: {
|
|
188
|
+
missedCounter: number;
|
|
189
|
+
};
|
|
190
|
+
/**
|
|
191
|
+
* @eventProperty
|
|
192
|
+
* This RBEvent is send when the conversation status is changed
|
|
193
|
+
* This status represent the user typing activity.
|
|
194
|
+
* + ACTIVE
|
|
195
|
+
* + INACTIVE
|
|
196
|
+
* + COMPOSING
|
|
197
|
+
* + PAUSED
|
|
198
|
+
*/
|
|
199
|
+
ON_STATUS_CHANGED: {
|
|
200
|
+
status: ConversationStatus;
|
|
201
|
+
composers: User[];
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* @eventProperty
|
|
205
|
+
* This RBEvent is send when
|
|
206
|
+
* In some situations when the call is "remotely picked" by another client and we update the tel call area (??)
|
|
207
|
+
* In some situations to manage the mute / unmute / sharing buttons in tell call area;
|
|
208
|
+
* This event is to be DELETED and replaced with something else;
|
|
209
|
+
*/
|
|
210
|
+
RAINBOW_CONVERSATION_CALL_UPDATE: {
|
|
211
|
+
call: Call;
|
|
212
|
+
};
|
|
213
|
+
/**
|
|
214
|
+
* @eventProperty
|
|
215
|
+
* @internal
|
|
216
|
+
* This RBEvent is send when the contact is replced by a new one in the conversation :
|
|
217
|
+
* It is used in the following usecases:
|
|
218
|
+
* - PBX Hybride (OXO/OXE) conference call is "reverted" to single call
|
|
219
|
+
* - temp contact replaced by a directory contact
|
|
220
|
+
* As the conversation stays the same, we only modify the "contact" inside to adapt to the new situation.
|
|
221
|
+
*/
|
|
222
|
+
ON_CONVERSATION_CALL_CONTACT_CHANGE: {
|
|
223
|
+
call: Call;
|
|
224
|
+
};
|
|
225
|
+
/**
|
|
226
|
+
* @eventProperty
|
|
227
|
+
* @internal
|
|
228
|
+
* This RBEvent is send when
|
|
229
|
+
* FIXME : MCO GUI EVENT
|
|
230
|
+
*/
|
|
231
|
+
ON_CONVERSATION_CALL_SHIFT_CHANGE: unknown;
|
|
232
|
+
/**
|
|
233
|
+
* @eventProperty
|
|
234
|
+
* @internal
|
|
235
|
+
* This RBEvent is send when
|
|
236
|
+
* FIXME : MCO GUI EVENT
|
|
237
|
+
*/
|
|
238
|
+
RAINBOW_CONVERSATION_USER_UPDATED: unknown;
|
|
239
|
+
/**
|
|
240
|
+
* @eventProperty
|
|
241
|
+
* @internal
|
|
242
|
+
* This RBEvent is send when
|
|
243
|
+
* FIXME : MCO GUI EVENT
|
|
244
|
+
*/
|
|
245
|
+
RAINBOW_CONVERSATION_ROOM_UPDATED: unknown;
|
|
246
|
+
/**
|
|
247
|
+
* @eventProperty
|
|
248
|
+
* @internal
|
|
249
|
+
* This RBEvent is send when
|
|
250
|
+
* FIXME : MCO GUI EVENT
|
|
251
|
+
*/
|
|
252
|
+
RAINBOW_CONVERSATION_INFO_VISIBLE: unknown;
|
|
253
|
+
/**
|
|
254
|
+
* @eventProperty
|
|
255
|
+
* @internal
|
|
256
|
+
* This RBEvent is send when the conversation urgency level is reset
|
|
257
|
+
* FIXME : MCO GUI EVENT
|
|
258
|
+
*/
|
|
259
|
+
RAINBOW_CONVERSATION_RESET_MESSAGE_LEVEL: unknown;
|
|
260
|
+
/**
|
|
261
|
+
* @eventProperty
|
|
262
|
+
* @internal
|
|
263
|
+
* This RBEvent is send when
|
|
264
|
+
* FIXME : MCO WRONG PLACE : SFUCALLAREA SERVICE EVENT : GUI
|
|
265
|
+
*/
|
|
266
|
+
RAINBOW_CONVERSATION_REQUEST_TRANSFERT_SHARING: {
|
|
267
|
+
fromContact: any;
|
|
268
|
+
from: any;
|
|
269
|
+
};
|
|
270
|
+
/**
|
|
271
|
+
* @eventProperty
|
|
272
|
+
* @internal
|
|
273
|
+
* This RBEvent is send when
|
|
274
|
+
* FIXME : MCO WRONG PLACE : SFUCALLAREA SERVICE EVENT : GUI
|
|
275
|
+
*/
|
|
276
|
+
RAINBOW_CONVERSATION_ACCEPT_TRANSFERT_SHARING: {
|
|
277
|
+
fromContact: any;
|
|
278
|
+
from: any;
|
|
279
|
+
};
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
* This enum is used to represent the type of the conversation
|
|
283
|
+
*/
|
|
284
|
+
export declare enum ConversationType {
|
|
285
|
+
P2P = "P2P",
|
|
286
|
+
BUBBLE = "BUBBLE",
|
|
287
|
+
BOT = "BOT"
|
|
288
|
+
}
|
|
289
|
+
/**
|
|
290
|
+
* This enum is used to represent the status of the conversation
|
|
291
|
+
*/
|
|
292
|
+
export declare enum ConversationStatus {
|
|
293
|
+
ACTIVE = "active",
|
|
294
|
+
INACTIVE = "inactive",
|
|
295
|
+
COMPOSING = "composing",
|
|
296
|
+
PAUSED = "paused"
|
|
297
|
+
}
|
|
298
|
+
export interface DocumentMessageData {
|
|
299
|
+
/**
|
|
300
|
+
* The document name to be shown in the conversation
|
|
301
|
+
*/
|
|
302
|
+
documentName?: string;
|
|
303
|
+
/**
|
|
304
|
+
* The Document to send ( in case of already existing document)
|
|
305
|
+
*/
|
|
306
|
+
document?: FileDocument;
|
|
307
|
+
/**
|
|
308
|
+
* The urgency of the message; Allowed values are (standard) 'std', (notify) 'low', (warning) 'middle', (emergency) 'high'; Default value is "std"
|
|
309
|
+
*/
|
|
310
|
+
urgency?: Urgency;
|
|
311
|
+
}
|
|
312
|
+
export declare class ConversationLastMessage {
|
|
313
|
+
/**
|
|
314
|
+
* The text of the last message received of the conversation
|
|
315
|
+
* @readonly
|
|
316
|
+
*/
|
|
317
|
+
text: string;
|
|
318
|
+
/**
|
|
319
|
+
* The content type of the last message received of the conversation
|
|
320
|
+
* @readonly
|
|
321
|
+
*/
|
|
322
|
+
contentType: string;
|
|
323
|
+
/**
|
|
324
|
+
* The ID of the user for the last message
|
|
325
|
+
* @readonly
|
|
326
|
+
*/
|
|
327
|
+
sender: string | null;
|
|
328
|
+
/**
|
|
329
|
+
* The Side of the Last message.
|
|
330
|
+
* + LEFT
|
|
331
|
+
* + RIGHT
|
|
332
|
+
* + ADMIN
|
|
333
|
+
* @readonly
|
|
334
|
+
*/
|
|
335
|
+
side?: MessageSide;
|
|
336
|
+
/**
|
|
337
|
+
* The ID the last message replaced by
|
|
338
|
+
* @readonly
|
|
339
|
+
*/
|
|
340
|
+
messageId: string;
|
|
341
|
+
/**
|
|
342
|
+
* Allow to reset the lastMessage parameters
|
|
343
|
+
*/
|
|
344
|
+
reset(): void;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* This class is used to represent a conversation capabilities
|
|
348
|
+
*/
|
|
349
|
+
export declare class ConversationCapabilities {
|
|
350
|
+
/**
|
|
351
|
+
* User can make or receive telephony calls
|
|
352
|
+
*/
|
|
353
|
+
telephony: boolean;
|
|
354
|
+
/**
|
|
355
|
+
* User can make / receive webrtc calls
|
|
356
|
+
*/
|
|
357
|
+
webRTC: boolean;
|
|
358
|
+
/**
|
|
359
|
+
* User can make a desktop sharing call with that user
|
|
360
|
+
*/
|
|
361
|
+
sharedDesktop: boolean;
|
|
362
|
+
/**
|
|
363
|
+
* Means telephony || webRTC is TRUE
|
|
364
|
+
*/
|
|
365
|
+
mediaAvailable: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* True if user is already in call and has an active fullJid
|
|
368
|
+
*/
|
|
369
|
+
addMedia: boolean;
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* This class is used to represent a conversation missed info counters
|
|
373
|
+
*/
|
|
374
|
+
export declare class ConversationMissedInfoCounters {
|
|
375
|
+
static create(): ConversationMissedInfoCounters;
|
|
376
|
+
missedIMCounter: number;
|
|
377
|
+
missedIMDetails: any[];
|
|
378
|
+
}
|
|
379
|
+
export declare class ConversationBookmark {
|
|
380
|
+
messageId: MessageID;
|
|
381
|
+
timestamp: number;
|
|
382
|
+
}
|
|
383
|
+
export type MessageLevel = "standard" | "notify" | "warning" | "emergency";
|
|
384
|
+
/**
|
|
385
|
+
* A conversation modelize an interaction between one or more Rainbow users.
|
|
386
|
+
* In the Rainbow ecosystem we'll come across two types of conversations:
|
|
387
|
+
* + The "peer-to-peer" (P2P) conversations : where two Rainbow users interact with each other.
|
|
388
|
+
* + The "bubble" conversations : where several users interact all together.
|
|
389
|
+
*/
|
|
390
|
+
export interface Conversation extends EventableService<IConversationEvents> {
|
|
391
|
+
/**
|
|
392
|
+
* The conversation ID
|
|
393
|
+
* @readonly
|
|
394
|
+
*/
|
|
395
|
+
id: string;
|
|
396
|
+
/**
|
|
397
|
+
* The database ID
|
|
398
|
+
* @readonly
|
|
399
|
+
*/
|
|
400
|
+
dbId?: string;
|
|
401
|
+
/**
|
|
402
|
+
* The conversation name
|
|
403
|
+
* @readonly
|
|
404
|
+
*/
|
|
405
|
+
name?: string;
|
|
406
|
+
/**
|
|
407
|
+
* The type of the conversation. Can be P2P (0), BUBBLE (1) or BOT (2)
|
|
408
|
+
* @readonly
|
|
409
|
+
*/
|
|
410
|
+
type?: ConversationType;
|
|
411
|
+
/**
|
|
412
|
+
* (P2P conversation only) The recipient of the conversation
|
|
413
|
+
* @readonly
|
|
414
|
+
*/
|
|
415
|
+
user?: User;
|
|
416
|
+
/**
|
|
417
|
+
* (Bubble conversation only) The conversation Bubble if any
|
|
418
|
+
* @readonly
|
|
419
|
+
*/
|
|
420
|
+
bubble?: Bubble;
|
|
421
|
+
/**
|
|
422
|
+
* The capabilities of the conversation
|
|
423
|
+
* @readonly
|
|
424
|
+
*/
|
|
425
|
+
capabilities?: ConversationCapabilities;
|
|
426
|
+
/**
|
|
427
|
+
* The name of the conversation (the display name of the recipient for P2P conversation or the room name for a BUBBLE conversation)
|
|
428
|
+
* @readonly
|
|
429
|
+
*/
|
|
430
|
+
filterName: string;
|
|
431
|
+
/**
|
|
432
|
+
* The number of instant messages not read
|
|
433
|
+
* @readonly
|
|
434
|
+
*/
|
|
435
|
+
missedCounter: number;
|
|
436
|
+
/**
|
|
437
|
+
* The list of messages downloaded for this conversation
|
|
438
|
+
* @readonly
|
|
439
|
+
*/
|
|
440
|
+
messages: Message[];
|
|
441
|
+
/**
|
|
442
|
+
* The status of the conversation
|
|
443
|
+
* @readonly
|
|
444
|
+
*/
|
|
445
|
+
status: ConversationStatus;
|
|
446
|
+
/**
|
|
447
|
+
* The date of the last modification of the conversation
|
|
448
|
+
* @readonly
|
|
449
|
+
*/
|
|
450
|
+
lastModification?: Date;
|
|
451
|
+
/**
|
|
452
|
+
* The date of the creation of the conversation
|
|
453
|
+
* @readonly
|
|
454
|
+
*/
|
|
455
|
+
creationDate?: Date;
|
|
456
|
+
/**
|
|
457
|
+
* The last message received of the conversation
|
|
458
|
+
* @readonly
|
|
459
|
+
*/
|
|
460
|
+
lastMessage: ConversationLastMessage;
|
|
461
|
+
/**
|
|
462
|
+
* If the last message that is forwarded is a file
|
|
463
|
+
* @readonly
|
|
464
|
+
*/
|
|
465
|
+
isForwardedMessageFile: boolean;
|
|
466
|
+
/**
|
|
467
|
+
* The last message forwarded
|
|
468
|
+
* @readonly
|
|
469
|
+
*/
|
|
470
|
+
forwardedMessage: string;
|
|
471
|
+
/**
|
|
472
|
+
* TRUE if conversation favorite
|
|
473
|
+
* @readonly
|
|
474
|
+
*/
|
|
475
|
+
isFavorite: boolean;
|
|
476
|
+
/**
|
|
477
|
+
* The bookmarked message in the conversation
|
|
478
|
+
*/
|
|
479
|
+
bookmark: ConversationBookmark;
|
|
480
|
+
/**
|
|
481
|
+
* True if this conversation is a webinar conversation
|
|
482
|
+
* @readonly
|
|
483
|
+
*/
|
|
484
|
+
isWebinarConversation: boolean;
|
|
485
|
+
/**
|
|
486
|
+
* The webinar associated to this conversation (if any)
|
|
487
|
+
* @readonly
|
|
488
|
+
*/
|
|
489
|
+
webinar?: Webinar;
|
|
490
|
+
call: CallRB;
|
|
491
|
+
context: ContextMap;
|
|
492
|
+
/**
|
|
493
|
+
* Subscribe to updates on the current conversation (all events are of RBEvent type);
|
|
494
|
+
* @param handler - The call-back function that will be subscribed to the RxJS subject
|
|
495
|
+
* @param filterEvent - a list of event names that the user wants to receive when subscribing (used a filter)
|
|
496
|
+
*/
|
|
497
|
+
subscribe: (handler: (event: RBEvent<keyof IConversationEvents>) => any, filterEvent?: MaybeArray<keyof IConversationEvents>) => Subscription;
|
|
498
|
+
/**
|
|
499
|
+
* This method allows us to retrieve archived message pages.
|
|
500
|
+
* By default, no message history is loaded, but this method will allow us to retrieve them page by page.
|
|
501
|
+
* @param nbMessages - the number of messages to get in this page
|
|
502
|
+
*/
|
|
503
|
+
getHistoryPage: (nbMessages: number) => Promise<void>;
|
|
504
|
+
/**
|
|
505
|
+
* Return all the already loaded messages
|
|
506
|
+
*/
|
|
507
|
+
getMessages: () => Message[];
|
|
508
|
+
/**
|
|
509
|
+
* Remove given message from the conversation (should be a message that the user has sent)
|
|
510
|
+
* @param message - the message we want to delete
|
|
511
|
+
*/
|
|
512
|
+
deleteMessage: (message: Message) => void;
|
|
513
|
+
/**
|
|
514
|
+
* Remove all message of the conversation
|
|
515
|
+
*/
|
|
516
|
+
deleteAllMessages: () => Promise<void>;
|
|
517
|
+
/**
|
|
518
|
+
* Return the message with the corresponding identifier
|
|
519
|
+
* @param messId - the message identifier
|
|
520
|
+
* @param searchInCache - if true this methods start to search in cacheMessage
|
|
521
|
+
* @returns the search message if founded undefined else
|
|
522
|
+
*/
|
|
523
|
+
getMessageById: (messId: MessageID, searchInCache?: boolean) => Message | undefined;
|
|
524
|
+
/**
|
|
525
|
+
* This method permits to send a chat Message
|
|
526
|
+
* @param messageText - the text to be send
|
|
527
|
+
* @param messageData - the message data object
|
|
528
|
+
* @returns the sent message (or undefined in case of an issue)
|
|
529
|
+
*/
|
|
530
|
+
sendMessage: (messageText: string, messageData?: SendMessageData) => Message | undefined;
|
|
531
|
+
/**
|
|
532
|
+
* This method permits to send a file Message
|
|
533
|
+
* @param messageData - The document message data to be send
|
|
534
|
+
*/
|
|
535
|
+
sendFileMessage: (messageData: SendFileMessageData) => Promise<Message>;
|
|
536
|
+
/**
|
|
537
|
+
* This method permits to send a file document message
|
|
538
|
+
* @param messageData - The file message data to be send
|
|
539
|
+
*/
|
|
540
|
+
sendFileDocumentMessage: (messageData: DocumentMessageData) => Promise<Message>;
|
|
541
|
+
/**
|
|
542
|
+
* Method to set or replace conversation bookmark
|
|
543
|
+
* This API will provoque an update on the conversation object (event of type ConversationEvents.ON_MESSAGE_BOOKMARKED)
|
|
544
|
+
* @param message - the message to bookmark
|
|
545
|
+
*/
|
|
546
|
+
setBookmark: (message: Message) => Promise<void>;
|
|
547
|
+
/**
|
|
548
|
+
* Method to delete a conversation bookmark
|
|
549
|
+
*/
|
|
550
|
+
deleteBookmark: () => Promise<void>;
|
|
551
|
+
/**
|
|
552
|
+
* This API can be used to add an emoji reaction to an already existing message.
|
|
553
|
+
* @param message - The Message we want to react to
|
|
554
|
+
* @param emojiReaction - The emoji reaction to add
|
|
555
|
+
* @returns the updated message or undefined in case of issue
|
|
556
|
+
*/
|
|
557
|
+
addReactionToMessage: (message: Message, emojiReaction?: string) => Promise<Message>;
|
|
558
|
+
/**
|
|
559
|
+
* The API can be used to remove an emoji reaction we previously added from a message
|
|
560
|
+
* @param message - The message from which we want to remove the reaction
|
|
561
|
+
* @param emojiReaction - The emoji reaction to remove
|
|
562
|
+
* @returns the updated message or undefined in case of issue
|
|
563
|
+
*/
|
|
564
|
+
removeReactionFromMessage: (message: Message, emojiReaction?: string) => Promise<Message>;
|
|
565
|
+
/**
|
|
566
|
+
* This API can be used to modify an already existing sent message; The user is allowed to modify the text of the message, the additional content and the mentions;
|
|
567
|
+
* NB The new SendMessageData will replace the existing data, so all the existing informations (additionalContents or mentions) should also be added in the data otherwise they'll be removed
|
|
568
|
+
* @param message - The Message we want to modify
|
|
569
|
+
* @param newMessageText - The new text of the message
|
|
570
|
+
* @param messageData - the updated send message data
|
|
571
|
+
* @returns the updated message or undefined in case of issue
|
|
572
|
+
*/
|
|
573
|
+
modifyMessage: (message: Message, newMessageText?: string, messageData?: SendMessageData) => Message;
|
|
574
|
+
/**
|
|
575
|
+
* This method permits to forward a Message to another conversation
|
|
576
|
+
* @param destConv - conversation to which the Message is forwarded
|
|
577
|
+
* @param message - the message to forward
|
|
578
|
+
* @param anonymous - allow to specify if yes or not the message orioginbator has to be displayed (default: true)
|
|
579
|
+
*/
|
|
580
|
+
forwardMessage: (destConv: Conversation, message: Message, anonymous?: boolean) => Promise<Message | undefined>;
|
|
581
|
+
/**
|
|
582
|
+
* This method permits to send a "typing" (or remove it) state to the distant party;
|
|
583
|
+
* @param isTypingState - if the user is currently "typing" inside the conversation
|
|
584
|
+
*/
|
|
585
|
+
sendIsTypingState: (isTypingState: boolean) => void;
|
|
586
|
+
/**
|
|
587
|
+
* This API permit to send the text content of the conversation at the connectUser e-mail address.
|
|
588
|
+
*/
|
|
589
|
+
sendByEmail: () => Promise<void>;
|
|
590
|
+
/**
|
|
591
|
+
* This method permits to send a ACK READ status for message to mark it as READ
|
|
592
|
+
* @param message - the chat message to "ACK read"
|
|
593
|
+
*/
|
|
594
|
+
ackReadMessage: (message: Message) => void;
|
|
595
|
+
/**
|
|
596
|
+
* This method permits to send a ACK READ all received messages inside the conversation
|
|
597
|
+
*/
|
|
598
|
+
ackReadMessages: () => boolean;
|
|
599
|
+
/**
|
|
600
|
+
* Method used to search for text in a given conversation P2P or bulle. The searched text length should be 3+ characters.
|
|
601
|
+
* This API will return a SearchTextResult that contains the list of IDs of messages to be searched after that
|
|
602
|
+
* @param searchedText - the text to be searched
|
|
603
|
+
* @param limit - number of results to get; Default value is 20;
|
|
604
|
+
*/
|
|
605
|
+
searchForText: (searchedText: string, limit: number) => Promise<SearchTextResult>;
|
|
606
|
+
/**
|
|
607
|
+
* Method used to load the messages around a given timestamp. Can be used when we search for a message via API searchForTextInConversation
|
|
608
|
+
* and then we want to load the message (or also the messages around it); This API will load the messages in the conversation list of messages and resolve once it's done;
|
|
609
|
+
* @param timestamp - the timestamp of the message to be loaded
|
|
610
|
+
* @param nbMessages - the number of messages to load before and after this one
|
|
611
|
+
*/
|
|
612
|
+
loadHistoryMessagesAroundGivenMessage: (timestamp: number, nbMessages: number) => Promise<void>;
|
|
613
|
+
/**
|
|
614
|
+
* JSON serialisation of conversation for debug purpose
|
|
615
|
+
*/
|
|
616
|
+
toJSON: () => any;
|
|
617
|
+
}
|
|
618
|
+
declare const ConversationRB_base: object & (abstract new (...args: any[]) => import("../services/event-mixin").EventsMixinTemplate<IConversationEvents>);
|
|
619
|
+
/**
|
|
620
|
+
* @internal
|
|
621
|
+
* This class is used to represent a conversation
|
|
622
|
+
*/
|
|
623
|
+
export declare class ConversationRB extends ConversationRB_base implements Conversation {
|
|
624
|
+
private static randomBase;
|
|
625
|
+
private static messageId;
|
|
626
|
+
static ChatstatesNS: string;
|
|
627
|
+
static ReceiptNS: string;
|
|
628
|
+
static contentNS: string;
|
|
629
|
+
static AttentionNS: string;
|
|
630
|
+
static FORWARDNS: string;
|
|
631
|
+
static createConversation(peer: Contact | BubbleRB): ConversationRB;
|
|
632
|
+
static getUniqueMessageId(): MessageID;
|
|
633
|
+
id: string;
|
|
634
|
+
dbId?: string;
|
|
635
|
+
type?: ConversationType;
|
|
636
|
+
filterName: string;
|
|
637
|
+
contact: Contact | null;
|
|
638
|
+
bubble?: BubbleRB;
|
|
639
|
+
infoVisible: boolean;
|
|
640
|
+
capabilities?: ConversationCapabilities;
|
|
641
|
+
missedCounter: number;
|
|
642
|
+
missedCalls: number;
|
|
643
|
+
messages: Message[];
|
|
644
|
+
participantStatuses: Record<string, ConversationStatus>;
|
|
645
|
+
status: ConversationStatus;
|
|
646
|
+
historyIndex: number;
|
|
647
|
+
historyLastIndex: number;
|
|
648
|
+
historyMessages: Message[];
|
|
649
|
+
historyDefered: any;
|
|
650
|
+
historyAboveComplete: boolean;
|
|
651
|
+
historyBelowComplete: boolean;
|
|
652
|
+
currentHistoryIndex?: number;
|
|
653
|
+
lastModification?: Date;
|
|
654
|
+
creationDate?: Date;
|
|
655
|
+
lastMessage: ConversationLastMessage;
|
|
656
|
+
forwardFrom: any;
|
|
657
|
+
forwardedMessage: any;
|
|
658
|
+
pip: boolean;
|
|
659
|
+
videoCall: CallRB | null;
|
|
660
|
+
audioCall: CallRB | null;
|
|
661
|
+
muted: boolean;
|
|
662
|
+
isMutedAudio: boolean;
|
|
663
|
+
largeInfoVisible: boolean;
|
|
664
|
+
selectedTabName: string;
|
|
665
|
+
isFavorite: boolean;
|
|
666
|
+
cacheMessages: Message[];
|
|
667
|
+
telephonyContacts: any;
|
|
668
|
+
isWebinarConversation: boolean;
|
|
669
|
+
webinar?: Webinar;
|
|
670
|
+
lastCallInfo: any;
|
|
671
|
+
isForwardedMessageFile: boolean;
|
|
672
|
+
isGeoLoc?: boolean;
|
|
673
|
+
private _isDraft;
|
|
674
|
+
replyData: AnswerMessage;
|
|
675
|
+
readonly context: ContextMap;
|
|
676
|
+
lastEvent: Record<string, unknown>;
|
|
677
|
+
private _callShift;
|
|
678
|
+
private _bookmark;
|
|
679
|
+
get getNameForLogs(): string;
|
|
680
|
+
get bookmark(): ConversationBookmark;
|
|
681
|
+
set bookmark(value: ConversationBookmark);
|
|
682
|
+
private _shouldRemoveBookMark;
|
|
683
|
+
get shouldRemoveBookMark(): boolean;
|
|
684
|
+
set shouldRemoveBookMark(value: boolean);
|
|
685
|
+
get room(): BubbleRB;
|
|
686
|
+
set room(value: BubbleRB);
|
|
687
|
+
get isDraft(): boolean;
|
|
688
|
+
set isDraft(value: boolean);
|
|
689
|
+
set callShift(callShift: boolean);
|
|
690
|
+
get callShift(): boolean;
|
|
691
|
+
get call(): CallRB;
|
|
692
|
+
get name(): string;
|
|
693
|
+
get user(): User;
|
|
694
|
+
private conversationService?;
|
|
695
|
+
getHistoryPage(nbMessages?: number): Promise<void>;
|
|
696
|
+
getMessages(): Message[];
|
|
697
|
+
sendMessage(messageText: string, messageData?: SendMessageData): Message | undefined;
|
|
698
|
+
sendFileDocumentMessage(messageData: DocumentMessageData): Promise<Message>;
|
|
699
|
+
sendFileMessage(messageData: SendFileMessageData): Promise<Message>;
|
|
700
|
+
deleteMessage(message: Message): void;
|
|
701
|
+
deleteAllMessages(): Promise<void>;
|
|
702
|
+
setBookmark(message: Message): Promise<void>;
|
|
703
|
+
deleteBookmark(): Promise<void>;
|
|
704
|
+
addReactionToMessage(message: Message, emojiReaction?: string): Promise<Message>;
|
|
705
|
+
removeReactionFromMessage(message: Message, emojiReaction?: string): Promise<Message>;
|
|
706
|
+
modifyMessage(message: Message, newMessageText?: string, messageData?: SendMessageData): Message;
|
|
707
|
+
forwardMessage(destConv: Conversation, message: Message, anonymous?: boolean): Promise<Message | undefined>;
|
|
708
|
+
sendIsTypingState(isTypingState: boolean): void;
|
|
709
|
+
sendByEmail(): Promise<void>;
|
|
710
|
+
ackReadMessage(message: Message): void;
|
|
711
|
+
ackReadMessages(): boolean;
|
|
712
|
+
searchForText(searchedText: string, limit?: number): Promise<SearchTextResult>;
|
|
713
|
+
loadHistoryMessagesAroundGivenMessage(timestamp: number, loadAround: number): Promise<void>;
|
|
714
|
+
constructor(conversationId: string);
|
|
715
|
+
sendEvent<const EventName extends keyof IConversationEvents & string>(eventName: EventName, data: IConversationEvents[EventName]): void;
|
|
716
|
+
/**
|
|
717
|
+
* Search in cache the message with the corresponding identifier
|
|
718
|
+
* @param messId - the message identifier
|
|
719
|
+
*/
|
|
720
|
+
private getMessageInCacheById;
|
|
721
|
+
getMessageById(messId: MessageID, searchInCache?: boolean): Message;
|
|
722
|
+
/**
|
|
723
|
+
* Search in history the message with the corresponding identifier
|
|
724
|
+
* @param messId - the message identifier
|
|
725
|
+
*/
|
|
726
|
+
getMessageByIdInHistory(messId: MessageID): Message;
|
|
727
|
+
/**
|
|
728
|
+
* get a replaced message by identifier
|
|
729
|
+
* @param messId - the message identifier
|
|
730
|
+
*/
|
|
731
|
+
getReplacedMessageById(messId: MessageID): Message | null;
|
|
732
|
+
/**
|
|
733
|
+
* Reset conversation instance
|
|
734
|
+
*/
|
|
735
|
+
reset(): void;
|
|
736
|
+
resetHistoryInfo(): void;
|
|
737
|
+
subscribe(handler: (event: RBEvent<keyof IConversationEvents>) => any, eventNames?: MaybeArray<keyof IConversationEvents>): Subscription;
|
|
738
|
+
/**
|
|
739
|
+
* Subscribe to conversation change observable
|
|
740
|
+
* @param missedCounter - the missed message value to set
|
|
741
|
+
*/
|
|
742
|
+
setMissedCounter(missedCounter: number): void;
|
|
743
|
+
/**
|
|
744
|
+
* Check if conversation has an incomming call
|
|
745
|
+
*/
|
|
746
|
+
isAudioCallIncomming(): boolean;
|
|
747
|
+
/**
|
|
748
|
+
* Add message in history messages
|
|
749
|
+
* @param message - the message
|
|
750
|
+
*/
|
|
751
|
+
addMessageInHistoryMessages(message: Message): void;
|
|
752
|
+
/**
|
|
753
|
+
* Add message in the cache (these are messages that are part of the conversation but often not in the right place, like in case
|
|
754
|
+
* of some old reply or something like that, so the message is added in the cache and not in the list of messages, as it's separated)
|
|
755
|
+
* @param message - the message
|
|
756
|
+
*/
|
|
757
|
+
addMessageInCacheMessages(message: Message): void;
|
|
758
|
+
ackReadAllSentMessages: () => void;
|
|
759
|
+
ackReceivedAllSentMessages(): void;
|
|
760
|
+
/**
|
|
761
|
+
* Marks all received messages as READ
|
|
762
|
+
*/
|
|
763
|
+
ackReadAllReceivedMessages(): boolean;
|
|
764
|
+
updateAfterReplaceEvent(message: Message): void;
|
|
765
|
+
toJSON(): any;
|
|
766
|
+
}
|
|
767
|
+
export {};
|
|
768
|
+
//# sourceMappingURL=conversation.model.d.ts.map
|