@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,563 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module CallLog
|
|
3
|
+
*/
|
|
4
|
+
import type { Subscription } from "rxjs";
|
|
5
|
+
import type { CallLog } from "../../models/callLog.model";
|
|
6
|
+
import { CallLogRB } from "../../models/callLog.model";
|
|
7
|
+
import { RBEvent } from "../../models/event.model";
|
|
8
|
+
import type { User } from "../../models/user.model";
|
|
9
|
+
import { Service } from "../../services/service";
|
|
10
|
+
/** @internal */
|
|
11
|
+
export declare const CALL_LOG_SVC = "CallLogService";
|
|
12
|
+
/**
|
|
13
|
+
* @eventProperty
|
|
14
|
+
* CallLog service events send to other services
|
|
15
|
+
* Can listen to it via `CallLogService.subscribe()` API
|
|
16
|
+
*/
|
|
17
|
+
export declare enum CallLogServiceEvents {
|
|
18
|
+
/**
|
|
19
|
+
* @eventProperty
|
|
20
|
+
* This `RBEvent` is sent when the call log history has been updated in one of the following ways:
|
|
21
|
+
* - Reception of a new call log from the server (in the form of a notification, and not in response to an explicit fetch request).
|
|
22
|
+
* - User request to delete call logs.\
|
|
23
|
+
* This covers cases of deletion of a specific call log, all call logs associated with a user, or the user's entire call log history.\
|
|
24
|
+
* This event contains no data, the current call logs history have to be retrieved by using the getCallLogs() API.
|
|
25
|
+
*/
|
|
26
|
+
ON_CALLLOG_UPDATED = "ON_CALLLOG_UPDATED",
|
|
27
|
+
/**
|
|
28
|
+
* @eventProperty
|
|
29
|
+
* This `RBEvent` is sent when the total number of call logs for the connected user has been updated.
|
|
30
|
+
*
|
|
31
|
+
* **Event Data**
|
|
32
|
+
* - **counter**: The total number of call logs
|
|
33
|
+
*/
|
|
34
|
+
ON_CALLLOG_TOTAL_NUMBER_UPDATED = "ON_CALLLOG_TOTAL_NUMBER_UPDATED",
|
|
35
|
+
/**
|
|
36
|
+
* @eventProperty
|
|
37
|
+
* This `RBEvent` is sent when the counter of missed calls has been updated.
|
|
38
|
+
*
|
|
39
|
+
* **Event Data**
|
|
40
|
+
* - **counter**: The number of missed calls
|
|
41
|
+
*/
|
|
42
|
+
ON_CALLLOG_MISSEDCALLS_COUNTER_UPDATED = "ON_CALLLOG_MISSEDCALLS_COUNTER_UPDATED"
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @ignore
|
|
46
|
+
* @eventProperty
|
|
47
|
+
* CallLog service internal events send to other sevices via sendInnerEvent()
|
|
48
|
+
* Should not be used by SDK user
|
|
49
|
+
*/
|
|
50
|
+
export declare enum CallLogServiceInnerEvents {
|
|
51
|
+
/**
|
|
52
|
+
* @eventProperty
|
|
53
|
+
* This RB event is sent when at least one call log present in the internal cache has been updated after a change
|
|
54
|
+
* in the Personal Directory of the user.
|
|
55
|
+
* By change, we mean the creation, modification or removal of a personal contact leading to the update of the display information
|
|
56
|
+
* associated to a call log item such as the display name or the associated contact details.
|
|
57
|
+
* This event does not cover any update in the call logs list.
|
|
58
|
+
*/
|
|
59
|
+
RAINBOW_ON_CALLLOG_INFOS_UPDATED = "RAINBOW_ON_CALLLOG_INFOS_UPDATED"
|
|
60
|
+
}
|
|
61
|
+
export interface CallLogService {
|
|
62
|
+
/**
|
|
63
|
+
* Subscribe to the CallLog updates, all events are of RBEvent<CallLogServiceEvents>
|
|
64
|
+
* @param callback - The callback function that will be called when events are received
|
|
65
|
+
* @param eventNames - (optional) array of event to listen
|
|
66
|
+
* @returns Returns RxJS Subscription
|
|
67
|
+
*/
|
|
68
|
+
subscribe: (callback: (event: RBEvent<CallLogServiceEvents>) => any, eventNames?: CallLogServiceEvents | CallLogServiceEvents[]) => Subscription;
|
|
69
|
+
/**
|
|
70
|
+
* Indicates whether the CallLog Service has been initialized or not.
|
|
71
|
+
* If this is not the case, no call log has yet been retrieved.
|
|
72
|
+
* @returns True if the CallLog Service has been intitialized; False otherwise.
|
|
73
|
+
*/
|
|
74
|
+
isInitialized: () => boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Initializes the CallLog service for the user by returning the most recent call logs.
|
|
77
|
+
* The number of call logs to be returned can optionnaly be specified in the request
|
|
78
|
+
* Additional call logs have to be retrieved furthermore via the API 'getNextCallLogs'.
|
|
79
|
+
* @param number - (optional) Number of call logs to retrieve at initialization step.
|
|
80
|
+
* This parameter is optional and set by default to 100.
|
|
81
|
+
* The allowed range of values is [1..250].
|
|
82
|
+
* If the value provided is greater, the maximum value will be used.
|
|
83
|
+
* If the value is 0 or less, the request will be rejected and an error thrown.
|
|
84
|
+
* @returns Returns a Promise with an array of the first retrieved call logs
|
|
85
|
+
* @throws Error - In the event of the specified parameter is invalid.
|
|
86
|
+
*/
|
|
87
|
+
initCallLogs: (number: number) => Promise<CallLog[]>;
|
|
88
|
+
/**
|
|
89
|
+
* Get the current content of the call logs history.
|
|
90
|
+
* The request can be made at any time to retrieve the call logs already known by the Call Log service.
|
|
91
|
+
* It is also advisable to make this request when an 'ON_CALLLOG_UPDATED' event has been received notifying you
|
|
92
|
+
* that the call logs history has been updated following an operation such as the reception of a brand new call log,
|
|
93
|
+
* the modification (e.g., marking as read) or the deletion of existing call log(s).
|
|
94
|
+
* @returns Returns a Promise with an array of the call logs already known by the Call Log service
|
|
95
|
+
*/
|
|
96
|
+
getCallLogs: () => Promise<CallLog[]>;
|
|
97
|
+
/**
|
|
98
|
+
* Get additional call logs.
|
|
99
|
+
* The number of additional call logs to be returned can be specified in the request
|
|
100
|
+
* @param number - (optional) Number of additional call logs to get.
|
|
101
|
+
* This parameter is optional and set by default to 100.
|
|
102
|
+
* The allowed range of values is [1..250].
|
|
103
|
+
* If the value provided is greater, the maximum value will be used.
|
|
104
|
+
* If the value is 0 or less, the request will be rejected and an error thrown.
|
|
105
|
+
* @returns Returns a Promise with an array of the call logs already known by the Call Log service and the newly retrieved.
|
|
106
|
+
* @throws Error - In the event of the specified parameter is invalid.
|
|
107
|
+
*/
|
|
108
|
+
getNextCallLogs: (number: number) => Promise<CallLog[]>;
|
|
109
|
+
/**
|
|
110
|
+
* Return the number total of call logs available for the connected user
|
|
111
|
+
*/
|
|
112
|
+
getCallLogsCounter: () => number;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the number total of missed calls.
|
|
115
|
+
* Missed call is a call with the following properties: state is 'missed', direction is 'incoming' and read flag is 'false'.
|
|
116
|
+
* This API can be called before the first call logs are retrieved, i.e. before the initialization step.
|
|
117
|
+
*/
|
|
118
|
+
getMissedCallsCounter: () => number;
|
|
119
|
+
/**
|
|
120
|
+
* Mark a call log item specified by its object instance as read
|
|
121
|
+
* @param callLog - The call log instance to mark as read
|
|
122
|
+
*/
|
|
123
|
+
markCallLogAsRead: (callLog: CallLog) => void;
|
|
124
|
+
/**
|
|
125
|
+
* Mark all call logs already known by the Call Log service as read
|
|
126
|
+
* This concerns the call logs fetched from server during the initialization step and through additional fetch requests.
|
|
127
|
+
*/
|
|
128
|
+
markAllCallsLogsAsRead: () => void;
|
|
129
|
+
/**
|
|
130
|
+
* Delete all call logs associated with a user
|
|
131
|
+
* A ON_CALLLOG_UPDATED event is sent afterwards at the completion of the operation to notify about the call logs history update.
|
|
132
|
+
*/
|
|
133
|
+
deleteCallLogsForUser: (user: User) => Promise<any>;
|
|
134
|
+
/**
|
|
135
|
+
* Delete the call log specified by its object instance
|
|
136
|
+
* A ON_CALLLOG_UPDATED event is sent afterwards at the completion of the operation to notify about the call logs history update.
|
|
137
|
+
* @param callLog - The call log instance to delete
|
|
138
|
+
*/
|
|
139
|
+
deleteCallLog: (callLog: CallLog) => Promise<any>;
|
|
140
|
+
/**
|
|
141
|
+
* Delete all the call logs history of the connected user
|
|
142
|
+
* A ON_CALLLOG_UPDATED event is sent afterwards at the completion of the operation to notify about the call logs history update.
|
|
143
|
+
*/
|
|
144
|
+
deleteAllCallLogs: () => Promise<any>;
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* @ignore
|
|
148
|
+
*/
|
|
149
|
+
export declare class CallLogServiceRB extends Service implements CallLogService {
|
|
150
|
+
private static CALL_LOG_NAMESPACE;
|
|
151
|
+
private static CALL_LOG_ACK_NAMESPACE;
|
|
152
|
+
private static CALL_LOG_NOTIF_NAMESPACE;
|
|
153
|
+
private static NB_DEF_UCAAS_CALL_LOG;
|
|
154
|
+
private static NB_MAX_NEXT_CALL_LOGS;
|
|
155
|
+
private static NB_DEF_CALL_LOGS;
|
|
156
|
+
private errorHelperService;
|
|
157
|
+
private xmppService;
|
|
158
|
+
private profileService;
|
|
159
|
+
private logger;
|
|
160
|
+
private contactService;
|
|
161
|
+
private mainService;
|
|
162
|
+
private telephonyService?;
|
|
163
|
+
private webrtcGatewayService?;
|
|
164
|
+
private personalDirectoryService?;
|
|
165
|
+
private office365AdService?;
|
|
166
|
+
private companyDirectoryService;
|
|
167
|
+
private centralizedService;
|
|
168
|
+
private initialized;
|
|
169
|
+
private fetchServerXMPPError;
|
|
170
|
+
private rxSubject;
|
|
171
|
+
private innerRxSubject;
|
|
172
|
+
private xmppConnectionSubscription;
|
|
173
|
+
private personalDirSubscriptions;
|
|
174
|
+
private callLogHandlerRef;
|
|
175
|
+
private callLogMessageAckRef;
|
|
176
|
+
private callLogNotificationRef;
|
|
177
|
+
private usePhonebookDirectory;
|
|
178
|
+
private useTelephonyRichCallLogs;
|
|
179
|
+
/** Memoised by 'roleFamilies()'. Never read directly. */
|
|
180
|
+
private static roleFamiliesCache;
|
|
181
|
+
/**
|
|
182
|
+
* The role families a 'party' element is classified into.
|
|
183
|
+
* A call log never carries more than one destination (RVCP-PCG integration guide, rule 2), so the destination group
|
|
184
|
+
* cannot be ambiguous.
|
|
185
|
+
*
|
|
186
|
+
* Built on first call and NOT in a static field, because it would then be evaluated while this
|
|
187
|
+
* class is being defined - and 'callLog.model' imports this module back (for CALL_LOG_SVC),
|
|
188
|
+
* so at that point 'CallLogPartyRole' is still in its temporal dead zone.
|
|
189
|
+
* Reading the enum lazily, once every module is initialised, is what keeps the cycle harmless.
|
|
190
|
+
* @returns The four role families, built once
|
|
191
|
+
*/
|
|
192
|
+
private static roleFamilies;
|
|
193
|
+
private callLogPromises;
|
|
194
|
+
private numberMissedCallLogs;
|
|
195
|
+
private numberTotalCallLogs;
|
|
196
|
+
private numberDuplicatedCallLogs;
|
|
197
|
+
private callLogs;
|
|
198
|
+
private aggregatedCallLogs;
|
|
199
|
+
private firstTimeStamp;
|
|
200
|
+
private lastTimestamp;
|
|
201
|
+
private startPromise;
|
|
202
|
+
private startPromiseResolve;
|
|
203
|
+
private ackAllCallLogsInDBDone;
|
|
204
|
+
private fetchingCallLogs;
|
|
205
|
+
private userFetchRequest;
|
|
206
|
+
/**
|
|
207
|
+
* Returns the Call Log singleton
|
|
208
|
+
*/
|
|
209
|
+
static getInstance(): CallLogServiceRB;
|
|
210
|
+
static build(): CallLogServiceRB;
|
|
211
|
+
private constructor();
|
|
212
|
+
/**
|
|
213
|
+
* This async method has to be call to start the CallLogs service
|
|
214
|
+
*/
|
|
215
|
+
start(): Promise<void>;
|
|
216
|
+
/**
|
|
217
|
+
* This async method has to be call to stop the CallLogs service
|
|
218
|
+
*/
|
|
219
|
+
stop(): Promise<void>;
|
|
220
|
+
private attachHandlers;
|
|
221
|
+
private removeXMPPListeners;
|
|
222
|
+
private attachXMPPListeners;
|
|
223
|
+
private resetCallLogsData;
|
|
224
|
+
/**
|
|
225
|
+
* Subscribe to the CallLog updates, all events are of RBEvent<CallLogServiceEvents>
|
|
226
|
+
* @param callback - The callback function that will be called when events are received
|
|
227
|
+
* @param eventNames - (optional) array of event to listen
|
|
228
|
+
* @returns Returns RxJS Subscription
|
|
229
|
+
*/
|
|
230
|
+
subscribe(callback: (event: RBEvent<CallLogServiceEvents>) => any, eventNames?: CallLogServiceEvents | CallLogServiceEvents[]): Subscription;
|
|
231
|
+
/**
|
|
232
|
+
* Call log service events send to other services via sendEvent()
|
|
233
|
+
* Can listen to it via CallLogServiceRB.subscribe() API
|
|
234
|
+
* @param name - The name of the event
|
|
235
|
+
* @param data - The data to be send (an object)
|
|
236
|
+
*/
|
|
237
|
+
private sendEvent;
|
|
238
|
+
/**
|
|
239
|
+
* Subscribe to updates from the service (all events are of RBEvent type {name: string, data:any});
|
|
240
|
+
* Here's a list of events received :
|
|
241
|
+
* - RAINBOW_ON_CALLLOG_INFOS_UPDATED
|
|
242
|
+
* @param handler - The call-back function that will be subscribed to the RxJS subject
|
|
243
|
+
*/
|
|
244
|
+
subscribeToInnerEvents(handler: any): Subscription;
|
|
245
|
+
/**
|
|
246
|
+
* Call log service events send to other services via sendEvent()
|
|
247
|
+
* Can listen to it via CallLogServiceRB.subscribe() API
|
|
248
|
+
* @param name - The name of the event
|
|
249
|
+
* @param data - The data to be send (an object)
|
|
250
|
+
*/
|
|
251
|
+
private sendInnerEvent;
|
|
252
|
+
/**
|
|
253
|
+
* Initialize the Call Logs service on the 1st request to fetch call logs from the server
|
|
254
|
+
* Only the following methods are allowed to initialize the call logs, i.e. to retrieve them for the first time from the server
|
|
255
|
+
* - getCalllogs
|
|
256
|
+
* - getAggregatedCalllogs
|
|
257
|
+
* The consistency of the number of missed calls logs is also check
|
|
258
|
+
* @param initFetchOptions - [optional] Options to fect the initial call logs from server
|
|
259
|
+
*/
|
|
260
|
+
private initialize;
|
|
261
|
+
/**
|
|
262
|
+
* Get the number of missed calls logs (state === "missed" && direction === CallDirection.INCOMING) from the server
|
|
263
|
+
* This method can be used before retrieving all the callLogs from the server (by using fetch)
|
|
264
|
+
* An event 'ON_CALLLOG_MISSEDCALLS_COUNTER_UPDATED' is sent with the number of missed calls logs.
|
|
265
|
+
*/
|
|
266
|
+
private getMissedCallsCounterFromServer;
|
|
267
|
+
/**
|
|
268
|
+
* Retrieve from server N call logs (specified by NB_DEF_UCAAS_CALL_LOG) time-stamped after the specified date
|
|
269
|
+
* This method is called at reconnection after a XMPP disconnection.
|
|
270
|
+
* @param useAfter - [optional] A date after which the call logs must be retrieved
|
|
271
|
+
*/
|
|
272
|
+
private getCallLogHistoryPage;
|
|
273
|
+
/**
|
|
274
|
+
* Retrieve (via a XMPP request to server) N call log from the server
|
|
275
|
+
* after a specified timestamp (priority date criteria) or before a specified timestamp
|
|
276
|
+
* @param options - fetch options
|
|
277
|
+
*/
|
|
278
|
+
private fetchCallLogsFromServer;
|
|
279
|
+
/**
|
|
280
|
+
* Management of XMPP Message regarding namespace 'jabber:iq:telephony:call_log' such as
|
|
281
|
+
* - Number of call logs for the current user
|
|
282
|
+
* - Number of unread call logs
|
|
283
|
+
* - Reception of a call log item following a fetch request
|
|
284
|
+
* @param stanza - The received stanza.
|
|
285
|
+
*/
|
|
286
|
+
private onHistoryCallLogMessageReceived;
|
|
287
|
+
/**
|
|
288
|
+
* Management of XMPP Message regarding namespace 'urn:xmpp:telephony:call_log:receipts'
|
|
289
|
+
* Message received as an acknowledge following a call log operation 'mark-as-read' previously sent to the server
|
|
290
|
+
* In the internal call logs table, the concerned call logs (identified by received "call_id" attribute(s)) are marked as as read.
|
|
291
|
+
* This operation is done once a XMPP message in the format
|
|
292
|
+
* <read xmlns='urn:xmpp:telephony:call_log:receipts' call_id='web_xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx'/>
|
|
293
|
+
* is received from the server.
|
|
294
|
+
* Then the number of missed calls logs is checked again on internal cache and associated counter may be updated
|
|
295
|
+
* If the case, an event 'ON_CALLLOG_MISSEDCALLS_COUNTER_UPDATED' is sent with the new value of the missed calls logs.
|
|
296
|
+
* @param stanza - The received stanza.
|
|
297
|
+
*/
|
|
298
|
+
private onCallLogAckReceived;
|
|
299
|
+
/**
|
|
300
|
+
* Management of XMPP Message regarding namespace 'jabber:iq:notification:telephony:call_log' such as
|
|
301
|
+
* - Reception of a new call log item from server (as notification, not on request)
|
|
302
|
+
* - Deletion of one or more call logs (single call log, call log, call logs associated to a contact)
|
|
303
|
+
* This operation is done once a XMPP message with a "deleted_call_log" elem or a "updated_call_log" elem is received from the server.
|
|
304
|
+
* @param stanza - The received stanza.
|
|
305
|
+
*/
|
|
306
|
+
private onCallLogNotificationReceived;
|
|
307
|
+
/**
|
|
308
|
+
* Management of personal directory service events concerning the addition, modification and deletion (single or complete) of personal contacts
|
|
309
|
+
* The call logs will be scanned to see if a name resolution can be performed for entries that only have a displayed phone number.
|
|
310
|
+
* A name resolution in the personal directory can also be updated (in the case of a change in names, for example)
|
|
311
|
+
* or even deleted if the associated number is no longer linked to a personal contact.
|
|
312
|
+
* The "association" of a call log item with a personal contact is done via the data 'directoryContactId'
|
|
313
|
+
* @param event - The received stanza.
|
|
314
|
+
*/
|
|
315
|
+
private onPersonalContactEvent;
|
|
316
|
+
/**
|
|
317
|
+
* Indicates whether the CallLog Service has been initialized or not.
|
|
318
|
+
* If this is not the case, no call log has yet been retrieved.
|
|
319
|
+
* @returns True if the CallLog Service has been initialized; False otherwise.
|
|
320
|
+
*/
|
|
321
|
+
isInitialized(): boolean;
|
|
322
|
+
/**
|
|
323
|
+
* Return an array of available call logs, each item representing one call log.
|
|
324
|
+
* By available, we means first the call logs already recovered after the first initialization following a request to the server
|
|
325
|
+
* to get the N most recent one. And then the call logs that have been added following new notification(s) from server.
|
|
326
|
+
* Also some call logs may have been deleted following a user action.
|
|
327
|
+
* Note that if it has not yet been done, the initialization phase will be automatically performed by retrieving
|
|
328
|
+
* a certain number of logs from server (Fetch options defined by default by CallLogService are used)
|
|
329
|
+
*/
|
|
330
|
+
getCalllogs(): Promise<CallLog[]>;
|
|
331
|
+
/**
|
|
332
|
+
* Return an array of aggregated call logs, each item representing one more call logs grouped by contact.
|
|
333
|
+
* The aggregated call logs are deduced from the available call logs (obtained with the 'getCalllogs' method) but the items
|
|
334
|
+
* are grouped by contact according to different information such as status ("missed" or not), direction ("incoming", "outgoing")
|
|
335
|
+
* Note that if it has not yet been done, the initialization phase will be automatically performed by retrieving
|
|
336
|
+
* a certain number of logs from server (Fetch options defined by default by CallLogService are used)
|
|
337
|
+
*/
|
|
338
|
+
getAggregatedCalllogs(): Promise<CallLogRB[]>;
|
|
339
|
+
/**
|
|
340
|
+
* Request to retrieve new call logs from the server.
|
|
341
|
+
* The number of new call logs to retrieve can be specified.
|
|
342
|
+
* This API returns the whole call logs, those already retrieved by previous requests and the new one.
|
|
343
|
+
* Each call log will contain some selected and simplified information .
|
|
344
|
+
* Note that the initialization phase must have been done previously. If this is not the case, an error is returned
|
|
345
|
+
* @param numberOfElts - Number of new call logs to fetch
|
|
346
|
+
*/
|
|
347
|
+
fetchNextPage(numberOfElts?: number): Promise<CallLog[]>;
|
|
348
|
+
/**
|
|
349
|
+
* Return an customized array of call logs with selected and simplified item information.
|
|
350
|
+
* The customized call logs are deduced from the available call logs
|
|
351
|
+
*/
|
|
352
|
+
private orderCallLogsHistory;
|
|
353
|
+
/**
|
|
354
|
+
* Returns the number total of missed calls.
|
|
355
|
+
* Missed call is a call with the following properties: state is 'missed', direction is 'incoming' and read flag is 'false'.
|
|
356
|
+
* This API can be called before the first call logs are retrieved, i.e. before the initialization step.
|
|
357
|
+
*/
|
|
358
|
+
getMissedCallsCounter(): number;
|
|
359
|
+
/**
|
|
360
|
+
* Return the number total of call logs available for the connected user
|
|
361
|
+
*/
|
|
362
|
+
getCallLogsCounter(): number;
|
|
363
|
+
/**
|
|
364
|
+
* Get the number of missed calls (state === "missed" && direction === CallDirection.INCOMING) for call logs
|
|
365
|
+
* present in the internal cache ONLY.
|
|
366
|
+
* This counter may be different to the counter known by the server which covers all call logs available on its side
|
|
367
|
+
*/
|
|
368
|
+
private getMissedCallLogsInCacheCounter;
|
|
369
|
+
/**
|
|
370
|
+
* Mark a call log item specified by its object instance as read
|
|
371
|
+
* @param calllog - The call log instance to mark as read
|
|
372
|
+
*/
|
|
373
|
+
markCallLogAsRead(callLog: CallLog): void;
|
|
374
|
+
/**
|
|
375
|
+
* Mark all call logs already known by the Call Log service as read
|
|
376
|
+
* This concerns the call logs fetched from server during the initialization step and through additional fetch requests.
|
|
377
|
+
*/
|
|
378
|
+
markAllCallsLogsAsRead(): void;
|
|
379
|
+
/**
|
|
380
|
+
* Ack all call logs on server side.
|
|
381
|
+
*/
|
|
382
|
+
private ackAllCallLogsInDB;
|
|
383
|
+
/**
|
|
384
|
+
* Process the deletion of all call logs associated with a directory contact.
|
|
385
|
+
* The contactId (i.E. the userId) is not managed by the xmpp server in "delete" IQ.
|
|
386
|
+
* It will be necessary to carry out a deletion via the phone numbers used by the directory contact.
|
|
387
|
+
* @param contact - The directory contact instance to delete
|
|
388
|
+
*/
|
|
389
|
+
private deleteCallLogsForDirectoryContact;
|
|
390
|
+
/**
|
|
391
|
+
* Delete all call logs associated to a user
|
|
392
|
+
* A ON_CALLLOG_UPDATED event is sent afterwards at the completion of the operation to notify about the call logs history update.
|
|
393
|
+
*/
|
|
394
|
+
deleteCallLogsForUser(user: User): Promise<any>;
|
|
395
|
+
/**
|
|
396
|
+
* Delete the call log specified by its object instance
|
|
397
|
+
* A ON_CALLLOG_UPDATED event is sent afterwards at the completion of the operation to notify about the call logs history update.
|
|
398
|
+
* @param callLog - The call log instance to delete
|
|
399
|
+
*/
|
|
400
|
+
deleteCallLog(callLog: CallLog): Promise<any>;
|
|
401
|
+
/**
|
|
402
|
+
* Delete the call log specified by its id
|
|
403
|
+
* A ON_CALLLOG_UPDATED event is sent afterwards at the completion of the operation to notify about the call logs history update.
|
|
404
|
+
* @param id - The call log identifier
|
|
405
|
+
*/
|
|
406
|
+
deleteCallLogById(id: string): Promise<any>;
|
|
407
|
+
/**
|
|
408
|
+
* Delete all the call logs history of the connected user
|
|
409
|
+
* A ON_CALLLOG_UPDATED event is sent afterwards at the completion of the operation to notify about the call logs history update.
|
|
410
|
+
*/
|
|
411
|
+
deleteAllCallLogs(): Promise<any>;
|
|
412
|
+
/**
|
|
413
|
+
* Remove in the internal call logs table one call log specified by its id
|
|
414
|
+
* This operation is done once a XMPP message with a "peer" elem and "call_id" attribute is received from the server.
|
|
415
|
+
* @param jid - The contact's jid
|
|
416
|
+
*/
|
|
417
|
+
private removeCallLogsForUser;
|
|
418
|
+
/**
|
|
419
|
+
* Remove in the internal call logs table the call log item specified by its callId
|
|
420
|
+
* This operation is done once a XMPP message with a "deleted_call_log" elem and "call_id" attribute is received from the server.
|
|
421
|
+
* @param callId - Call log id
|
|
422
|
+
*/
|
|
423
|
+
private removeOneCallLog;
|
|
424
|
+
/**
|
|
425
|
+
* If the remote user is not an RB user, we will analyse whether we have any identifying information (names), as follows:
|
|
426
|
+
* - Checks whether a name resolution has been performed on the server side
|
|
427
|
+
* This requires attributes "origin" and "id" to be provided in the element "identity"
|
|
428
|
+
* - If such name resolution done and a valid directory contact has been retrieved, this contact is also returned as result
|
|
429
|
+
* - A temporary contact associated with the current call log is created in all cases: No name resolution done on server side,
|
|
430
|
+
* provided information did not allow a directory contact to be retrieved (Invalid Id) or directory contact found
|
|
431
|
+
* - Check whether name information can be retrieved in the following way:
|
|
432
|
+
* - Presence of stanza attributes linked to names: "firstName"/"lastName"/"displayName"
|
|
433
|
+
* - Search in Outlook if allowed
|
|
434
|
+
* @param callLogElem - The received call log element
|
|
435
|
+
* @param otherPartyNumber - The phone number of the remote party
|
|
436
|
+
* Either the external number called by the Rainbow user OR the phone number that called the user
|
|
437
|
+
* @returns Promise that resolves with contact(s) that will be linked to the call log entry
|
|
438
|
+
*/
|
|
439
|
+
private getOrCreateContactWithNameResolution;
|
|
440
|
+
/**
|
|
441
|
+
* Resolve a single 'party' element of a received call log into a displayable contact.
|
|
442
|
+
* First by its jid (a Rainbow user); failing that, from the number and the names provided by the
|
|
443
|
+
* stanza, which gives a temporary contact.
|
|
444
|
+
* A resolution error is absorbed here: it never loses the call log.
|
|
445
|
+
* @param partyElem - One 'party' element of the received call log
|
|
446
|
+
* @param initialPartyRoles - The roles of that party, already read by the caller
|
|
447
|
+
* @returns Promise that resolves with the party, or with 'undefined' when no contact could be built for it
|
|
448
|
+
*/
|
|
449
|
+
private buildPartyContact;
|
|
450
|
+
/**
|
|
451
|
+
* Choose the ONE party to name on the second line of a call log entry.
|
|
452
|
+
* The server may send several parties (<party> elements), but the cell only manages one name.
|
|
453
|
+
*
|
|
454
|
+
* Parties are tried group by group, in this order: destination, then transferBy, then called.
|
|
455
|
+
* In each group, only a party we know how to display is accepted.
|
|
456
|
+
*
|
|
457
|
+
* @param calledParties - The parties the call was initially placed to
|
|
458
|
+
* @param transferByParties - The parties that handed the correspondent over to the connected user
|
|
459
|
+
* @param destinationParties - The party the call went to afterwards (the server never sends more than one)
|
|
460
|
+
* @param state - The call state, needed to know whether a party would give a second line
|
|
461
|
+
* @param direction - The call direction, needed for the same reason
|
|
462
|
+
* @returns The chosen party, or nothing if there is none to display
|
|
463
|
+
*/
|
|
464
|
+
private selectInitialParty;
|
|
465
|
+
/**
|
|
466
|
+
* Resolve every 'party' element of a received call log, classifying them on the 'role' attribute,
|
|
467
|
+
* then keep the single party worth being displayed on the call log entry.
|
|
468
|
+
* @param callLogElem - The received call log element
|
|
469
|
+
* @param state - The call state, passed down to the selection
|
|
470
|
+
* @param direction - The call direction, passed down to the selection
|
|
471
|
+
* @returns Promise that resolves with the party that will be linked to the call log entry
|
|
472
|
+
*/
|
|
473
|
+
private manageInitialParticipants;
|
|
474
|
+
/**
|
|
475
|
+
* The single decision rule of the enhanced call log: which second-line text, if any, qualifies a call.
|
|
476
|
+
*
|
|
477
|
+
* Called from two places:
|
|
478
|
+
* - 'updateCallRoutingInfo()' to set the value
|
|
479
|
+
* - 'selectInitialParty()' to find out whether a candidate party would give a second line at all.
|
|
480
|
+
* Both MUST go through this one function - a second, parallel check would drift away from these rules at the first change.
|
|
481
|
+
* It never returns FORWARDED or MISSED: those belong to the historical path of 'updateCallRoutingInfo()'.
|
|
482
|
+
*
|
|
483
|
+
* @param state - The call log state as sent by the server
|
|
484
|
+
* @param direction - Incoming or outgoing, deduced from the caller jid
|
|
485
|
+
* @param roles - The whole role set of the party being considered, never just one role
|
|
486
|
+
* @param isSelf - Whether that party IS the connected user. Optional, false by default.
|
|
487
|
+
* @returns The routing info, 'DIRECT' meaning "nothing truthful to say, render no second line"
|
|
488
|
+
*/
|
|
489
|
+
private computeRoutingInfo;
|
|
490
|
+
/**
|
|
491
|
+
* Determines the Call Routing status if the TELEPHONY_RICH_CALLLOG profile is enabled.
|
|
492
|
+
* Compute the 'routingInfo' data qualifying the call, from its state, its direction and the presence or not
|
|
493
|
+
* of a initial party,i.e. The party for whom the call was originally intended.
|
|
494
|
+
*
|
|
495
|
+
* @param callLog - The call log instance to qualify
|
|
496
|
+
*/
|
|
497
|
+
updateCallRoutingInfo(callLog: CallLogRB): void;
|
|
498
|
+
/**
|
|
499
|
+
* Create a Call log from received call log or stanza XMPP element and add it in internal cache.
|
|
500
|
+
* @param stanzaElem - The received stanza.
|
|
501
|
+
* @param callLogElem - The received call log element
|
|
502
|
+
*/
|
|
503
|
+
private createCallLogFromStanza;
|
|
504
|
+
/**
|
|
505
|
+
* Order the call logs stored in the internal table (array) by date
|
|
506
|
+
* A ON_CALLLOG_UPDATED event is sent to notify about the call logs history cache update
|
|
507
|
+
* This event is sent only if the classification does not follow a explicit fetch request.
|
|
508
|
+
* Update the counter of missed calls (state === "missed" && CallDirection.INCOMING)
|
|
509
|
+
* The number of missed calls logs is then checked again on internal cache and the associated counter may be updated
|
|
510
|
+
* If the case, an event 'ON_CALLLOG_MISSEDCALLS_COUNTER_UPDATED' is sent with the new value.
|
|
511
|
+
*/
|
|
512
|
+
private orderCallLogs;
|
|
513
|
+
/**
|
|
514
|
+
* Build the table of aggregated call logs
|
|
515
|
+
* The aggregated call logs are deduced from the available call logs (obtained with the 'getCalllogs' method) but the items
|
|
516
|
+
* are grouped by user according to different information such as status ("missed" or not), direction ("incoming", "outgoing")
|
|
517
|
+
*/
|
|
518
|
+
private aggregateCalllogs;
|
|
519
|
+
/**
|
|
520
|
+
* Check if the specified contact is a directory contact i.e. coming from one of the following directories:
|
|
521
|
+
* - Personal directory / Business directory / Microsoft O365 contacts/AD users
|
|
522
|
+
* - PBX phonebook / Outlook (for Desktop only)
|
|
523
|
+
* @param contact - The contact to check.
|
|
524
|
+
*/
|
|
525
|
+
private isDirectoryContact;
|
|
526
|
+
/**
|
|
527
|
+
* Get a callLog entry from calLogs array by its id
|
|
528
|
+
* @param id - The call log Id
|
|
529
|
+
*/
|
|
530
|
+
getCallLogById(id: string): CallLogRB;
|
|
531
|
+
/**
|
|
532
|
+
* Initializes the CallLog service for the user by returning the most recent call logs.
|
|
533
|
+
* The number of call logs to be returned can optionnaly be specified in the request
|
|
534
|
+
* Additional call logs have to be retrieved furthermore via the API 'getNextCallLogs'.
|
|
535
|
+
* @param number - (optional) Number of call logs to retrieve at initialization step.
|
|
536
|
+
* This parameter is optional and set by default to 100.
|
|
537
|
+
* The maximum value allowed is 250. If the value supplied is greater, the maximum value will be used.
|
|
538
|
+
* @returns Returns a Promise with an array of the first retrieved call logs
|
|
539
|
+
*/
|
|
540
|
+
initCallLogs(number?: number): Promise<CallLog[]>;
|
|
541
|
+
/**
|
|
542
|
+
* Get the current content of the call logs history.
|
|
543
|
+
* The request can be made at any time to retrieve the call logs already known by the Call Log service.
|
|
544
|
+
* It is also advisable to make this request when an 'ON_CALLLOG_UPDATED' event has been received notifying you
|
|
545
|
+
* that the call logs history has been updated following an operation such as the reception of a brand new call log,
|
|
546
|
+
* the modification (e.g., marking as read) or the deletion of existing call log(s).
|
|
547
|
+
* @returns Returns a Promise with an array of the call logs already known by the Call Log service
|
|
548
|
+
*/
|
|
549
|
+
getCallLogs(): Promise<CallLog[]>;
|
|
550
|
+
/**
|
|
551
|
+
* Get additional call logs.
|
|
552
|
+
* The number of additional call logs to be returned can be specified in the request
|
|
553
|
+
* @param number - (optional) Number of additional call logs to get.
|
|
554
|
+
* This parameter is optional and set by default to 100.
|
|
555
|
+
* The allowed range of values is [1..250].
|
|
556
|
+
* If the value provided is greater, the maximum value will be used.
|
|
557
|
+
* If the value is 0 or less, the request will be rejected and an error thrown.
|
|
558
|
+
* @returns Returns a Promise with an array of the call logs already known by the Call Log service and the newly retrieved.
|
|
559
|
+
* @throws Error - In the event of the specified parameter is invalid.
|
|
560
|
+
*/
|
|
561
|
+
getNextCallLogs(number?: number): Promise<CallLog[]>;
|
|
562
|
+
}
|
|
563
|
+
//# sourceMappingURL=callLog.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callLog.service.d.ts","sourceRoot":"","sources":["../../../src/services/callLog/callLog.service.ts"],"names":[],"mappings":"AAKA;;GAEG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAQzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAoB,SAAS,EAAgC,MAAM,4BAA4B,CAAC;A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AG,OAAO,CAAC,GAAG,CAAC;IAUxD;;;OAGG;IACU,iBAAiB,IAAI,OAAO,CAAC,GAAG,CAAC;IAW9C;;;;OAIG;IACH,OAAO,CAAC,qBAAqB;IAgC7B;;;;OAIG;IACH,OAAO,CAAC,gBAAgB;IAUxB;;;;;;;;;;;;;;OAcG;YACW,oCAAoC;IA4JlD;;;;;;;;OAQG;YACW,iBAAiB;IA8F/B;;;;;;;;;;;;;OAaG;IACH,OAAO,CAAC,kBAAkB;IA6C1B;;;;;;;OAOG;YACW,yBAAyB;IAoEvC;;;;;;;;;;;;;;OAcG;IACH,OAAO,CAAC,kBAAkB;IA8C1B;;;;;;OAMG;IACI,qBAAqB,CAAC,OAAO,EAAE,SAAS,GAAG,IAAI;IA4BtD;;;;OAIG;YACW,uBAAuB;IAqQrC;;;;;;;OAOG;IACH,OAAO,CAAC,aAAa;IAsBrB;;;;OAIG;IACH,OAAO,CAAC,iBAAiB;IAqEzB;;;;;OAKG;IACH,OAAO,CAAC,kBAAkB;IAQ1B;;;OAGG;IACI,cAAc,CAAC,EAAE,EAAE,MAAM,GAAG,SAAS;IAQ5C;;;;;;;;OAQG;IACU,YAAY,CAAC,MAAM,GAAE,MAA0C,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;IAwCjG;;;;;;;OAOG;IACU,WAAW,IAAI,OAAO,CAAC,OAAO,EAAE,CAAC;IAM9C;;;;;;;;;;OAUG;IACU,eAAe,CAAC,MAAM,GAAE,MAA0C,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC;CAwBvG"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type { CallLogService } from "./callLog.service";
|
|
2
|
+
export { CALL_LOG_SVC, CallLogServiceEvents } from "./callLog.service";
|
|
3
|
+
export type { P2PRecapService } from "./p2pRecap.service";
|
|
4
|
+
export { P2P_RECAP_SVC, P2PRecapServiceEvents, P2PRecapParams } from "./p2pRecap.service";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/callLog/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACvE,YAAY,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC"}
|