@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,108 @@
|
|
|
1
|
+
import type { Subscription } from "rxjs";
|
|
2
|
+
import type { Contact } from "../../models/contact.model";
|
|
3
|
+
import { Service } from "../../services/service";
|
|
4
|
+
import type { DirectoryInternalSearchResults, DirectorySearchOptions } from "../core/directorySearch.service";
|
|
5
|
+
export declare const DIRECTORY_SVC = "DirectoryService";
|
|
6
|
+
declare class SdkApis {
|
|
7
|
+
searchUserByLogin: any;
|
|
8
|
+
searchUserByJid: any;
|
|
9
|
+
searchUserByPhoneNumber: any;
|
|
10
|
+
searchAllContacts: any;
|
|
11
|
+
constructor(searchUserByLogin?: any, searchUserByJid?: any, searchUserByPhoneNumber?: any, searchAllContacts?: any);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Rainbow Directory service allows access to contacts search
|
|
15
|
+
* SDK supports only the APIs listed in the _sdkApis array (you can access it through i.e. rainbowSDK.directoryService._sdkApis)
|
|
16
|
+
*/
|
|
17
|
+
export declare class DirectoryService extends Service implements SdkApis {
|
|
18
|
+
private centralizedService;
|
|
19
|
+
private authService;
|
|
20
|
+
private profileService;
|
|
21
|
+
private contactService;
|
|
22
|
+
private conversationService;
|
|
23
|
+
private logger;
|
|
24
|
+
private errorHelperService;
|
|
25
|
+
private mainService;
|
|
26
|
+
_sdkApis: any[];
|
|
27
|
+
private rxSubject;
|
|
28
|
+
static getInstance(): DirectoryService;
|
|
29
|
+
static build(): DirectoryService;
|
|
30
|
+
private constructor();
|
|
31
|
+
start(): Promise<void>;
|
|
32
|
+
stop(): Promise<void>;
|
|
33
|
+
subscribe(observer: any): Subscription;
|
|
34
|
+
searchRainbowUsers(searchPattern: string, options?: DirectorySearchOptions, filterOwnUser?: boolean): Promise<DirectoryInternalSearchResults>;
|
|
35
|
+
/**
|
|
36
|
+
* Method searchUserByLogin
|
|
37
|
+
* @description Search for a contact through its email address (used for login).
|
|
38
|
+
* @memberof DirectoryService
|
|
39
|
+
* @public
|
|
40
|
+
* @async
|
|
41
|
+
* @param {string} loginEmail User email address (used for login) used as search criteria
|
|
42
|
+
* @returns {Promise} Promise that resolves with a contact matching the provided loginEmail or rejects with an Error
|
|
43
|
+
*/
|
|
44
|
+
searchUserByLogin(loginEmail: string): Promise<Contact>;
|
|
45
|
+
/**
|
|
46
|
+
* Method searchUserByJid
|
|
47
|
+
* @description Search for a contact through its jid.
|
|
48
|
+
* @memberof DirectoryService
|
|
49
|
+
* @public
|
|
50
|
+
* @async
|
|
51
|
+
* @param {string} jid User jid_im used as search criteria
|
|
52
|
+
* @returns {Promise} Promise that resolves with a contact matching the jid provided or rejects with an Error
|
|
53
|
+
*/
|
|
54
|
+
searchUserByJid(jid: string): Promise<Contact>;
|
|
55
|
+
/**
|
|
56
|
+
* Method searchUserByPhoneNumber
|
|
57
|
+
* @description Search for a contact being associated to the requested phone number.
|
|
58
|
+
* @memberof DirectoryService
|
|
59
|
+
* @public
|
|
60
|
+
* @async
|
|
61
|
+
* @param {string} phoneNumber Phone number to search used as search criteria
|
|
62
|
+
* @returns {Promise} Promise that resolves with a contact matching the phoneNumber provided or rejects with an Error
|
|
63
|
+
*/
|
|
64
|
+
searchUserByPhoneNumber(phoneNumber: string): Promise<Contact>;
|
|
65
|
+
/**
|
|
66
|
+
* Method searchAllContacts
|
|
67
|
+
* @description Search for a contact matching a string.
|
|
68
|
+
* @memberof DirectoryService
|
|
69
|
+
* @public
|
|
70
|
+
* @async
|
|
71
|
+
* @param {string} searchText text to search
|
|
72
|
+
* @param {number} [limit] Max number of result. Default: 20
|
|
73
|
+
* @param {string} [companyId] ID of the company on which users are searched. Default = ""
|
|
74
|
+
* companyId and excludeCompanyId parameters are exclusives, companyId parameter can only be set if excludeCompanyId parameter is not provided.
|
|
75
|
+
* @param {boolean} [addRosters] whether or not to include our contact roster in the search. Default: true
|
|
76
|
+
* @param {boolean} [addOutlook] whether or not to include our outlook contacts in the search. Default: true
|
|
77
|
+
* @param {string} [excludeCompanyId] Exclude users being in the requested company ID from the search results. Default = null
|
|
78
|
+
* companyId and excludeCompanyId parameters are exclusives, excludeCompanyId parameter can only be set if companyId parameter is not provided.
|
|
79
|
+
* @returns {Promise} Promise that resolves with an array containing a list of contacts matching the searchText or rejects with an Error
|
|
80
|
+
*/
|
|
81
|
+
searchAllContacts(searchText: string, limit?: number, companyId?: string, addRosters?: boolean, addOutlook?: boolean, excludeCompanyId?: string, filterOwnUser?: boolean): Promise<any[]>;
|
|
82
|
+
/**
|
|
83
|
+
* Search Microsoft Outlook personal contacts through the desktop "centralized service".
|
|
84
|
+
*
|
|
85
|
+
* Desktop client only: returns an empty array when not running in the desktop app or when
|
|
86
|
+
* the centralized Outlook service is unavailable.
|
|
87
|
+
*
|
|
88
|
+
* Runs two independent, fault-tolerant lookups (by name, then by email); if either Outlook
|
|
89
|
+
* service is down it is logged and skipped. Both result sets are merged and de-duplicated
|
|
90
|
+
* by `contactID` (see `mergeOutlookContact`).
|
|
91
|
+
*
|
|
92
|
+
* @param searchPattern - The text to search Outlook contacts for (name / email).
|
|
93
|
+
* @param rawResults - When `true` (default), returns raw Outlook data adapted for display
|
|
94
|
+
* (avatars, phone numbers…) as `any[]`. When `false`, returns SDK `Contact[]` instances
|
|
95
|
+
* built via `createDirectoryContact` + `updateContactWithOutlookData`.
|
|
96
|
+
* @returns Merged, de-duplicated Outlook contacts, or `[]` when unavailable.
|
|
97
|
+
*/
|
|
98
|
+
searchOutlookContactsForDesktopApp(searchPattern: string, rawResults?: boolean): Promise<Contact[] | any[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Update the specified RB contact instance with the provided Microsoft Outlook contact data.
|
|
101
|
+
*/
|
|
102
|
+
private updateContactWithOutlookData;
|
|
103
|
+
private adaptOutlookContacts;
|
|
104
|
+
private searchOutlookUsersByName;
|
|
105
|
+
private searchOutlookUsersByEmail;
|
|
106
|
+
}
|
|
107
|
+
export {};
|
|
108
|
+
//# sourceMappingURL=directory.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directory.service.d.ts","sourceRoot":"","sources":["../../../src/services/directory/directory.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAIzC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AASzE,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,KAAK,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAG9G,eAAO,MAAM,aAAa,qBAAqB,CAAC;AAGhD,cAAM,OAAO;IAGE,iBAAiB,EAAE,GAAG;IACtB,eAAe,EAAE,GAAG;IACpB,uBAAuB,EAAE,GAAG;IAC5B,iBAAiB,EAAE,GAAG;gBAHtB,iBAAiB,GAAE,GAAU,EAC7B,eAAe,GAAE,GAAU,EAC3B,uBAAuB,GAAE,GAAU,EACnC,iBAAiB,GAAE,GAAU;CAE3C;AAGD;;;GAGG;AACH,qBAAa,gBAAiB,SAAQ,OAAQ,YAAW,OAAO;IAG5D,OAAO,CAAC,kBAAkB,CAAM;IAChC,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,cAAc,CAAgD;IACtE,OAAO,CAAC,cAAc,CAAgD;IACtE,OAAO,CAAC,mBAAmB,CAA8D;IACzF,OAAO,CAAC,MAAM,CAA8C;IAC5D,OAAO,CAAC,kBAAkB,CAAwD;IAClF,OAAO,CAAC,WAAW,CAA0C;IACtD,QAAQ,EAAE,GAAG,EAAE,CAA8B;IAKpD,OAAO,CAAC,SAAS,CAAmB;WAEtB,WAAW;WAIX,KAAK;IAInB,OAAO;IASM,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAYtB,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAM3B,SAAS,CAAC,QAAQ,EAAE,GAAG,GAAG,YAAY;IAShC,kBAAkB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,EAAE,aAAa,GAAE,OAAc,GAAG,OAAO,CAAC,8BAA8B,CAAC;IAkIhK;;;;;;;;OAQG;IACU,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAgCpE;;;;;;;;OAQG;IACU,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IA8B3D;;;;;;;;OAQG;IACU,uBAAuB,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IA8B3E;;;;;;;;;;;;;;;OAeG;IACU,iBAAiB,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,EAAE,SAAS,GAAE,MAAW,EAAE,UAAU,GAAE,OAAc,EAAE,UAAU,GAAE,OAAc,EAAE,gBAAgB,GAAE,MAAa,EAAE,aAAa,GAAE,OAAc,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAqDtO;;;;;;;;;;;;;;;OAeG;IACU,kCAAkC,CAAC,aAAa,EAAE,MAAM,EAAE,UAAU,GAAE,OAAc,GAAG,OAAO,CAAC,OAAO,EAAE,GAAG,GAAG,EAAE,CAAC;IA6C9H;;OAEG;IACH,OAAO,CAAC,4BAA4B;IAoEpC,OAAO,CAAC,oBAAoB;YA4Bd,wBAAwB;YAYxB,yBAAyB;CAW1C"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { DirectorySearchService, DirectorySearchOptions, CompanyOptions, DirectorySearchResults } from "../core/directorySearch.service";
|
|
2
|
+
export { DIRECTORY_SEARCH_SVC, DirectoryType, CompanyScopeType } from "../core/directorySearch.service";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/directory/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9I,OAAO,EAAE,oBAAoB,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { Contact } from "../../models/contact.model";
|
|
2
|
+
import { Service } from "../../services/service";
|
|
3
|
+
import type { DirectoryInternalSearchResults, DirectorySearchOptions } from "../core/directorySearch.service";
|
|
4
|
+
export declare const OFFICE365_AD_SVC = "Office365AdService";
|
|
5
|
+
export declare class Office365AdService extends Service {
|
|
6
|
+
private logger;
|
|
7
|
+
private authService;
|
|
8
|
+
private errorHelperService;
|
|
9
|
+
private profileService;
|
|
10
|
+
private contactService;
|
|
11
|
+
static getInstance(): Office365AdService;
|
|
12
|
+
static build(): Office365AdService;
|
|
13
|
+
private constructor();
|
|
14
|
+
/**
|
|
15
|
+
* Search contacts in the Microsoft O365/Azure AD directories configured for the user's company by using a specified pattern to filter items.
|
|
16
|
+
* This search is only available if the user has the feature MSO365_DIRECTORY_SEARCH in its profile.
|
|
17
|
+
* Concerning 'extendedMode' in 'options' parameter:
|
|
18
|
+
* If requested and the user has the feature SEARCH_BY_TAGS in its profile, a multi-criteria search will then be performed.
|
|
19
|
+
* The multi-criteria search applies on fields firstName, lastName, jobTitle, companyName, department and tags.
|
|
20
|
+
* If this option is not specified or the user does not have the feature SEARCH_BY_TAGS in his profile,
|
|
21
|
+
* the search is based on names only (first name, last name and company name).
|
|
22
|
+
* Returns the results and the total number of directory items matching the criteria.
|
|
23
|
+
* @param searchPattern - Pattern to search
|
|
24
|
+
* @param DirectorySearchOptions - Search options
|
|
25
|
+
*/
|
|
26
|
+
searchO365usersADcontacts(searchPattern: string, options?: DirectorySearchOptions): Promise<DirectoryInternalSearchResults>;
|
|
27
|
+
getUserDetails(contact: any): Promise<void>;
|
|
28
|
+
/**
|
|
29
|
+
* This API allows users to retrieve from server one Microsoft Office 365 Azure contact card from its identifier
|
|
30
|
+
* (API request to {@link https://api.openrainbow.org/office365/#api-users-getOffice365UserDetailsByOid Office365 portal - users - Get user details.
|
|
31
|
+
* A new contact based on Contact model is created for the found contact.
|
|
32
|
+
* @param oid - Office 365 Azure directory object identifier of the contact to retrieve
|
|
33
|
+
*/
|
|
34
|
+
getO365ContactFromServer(oid: any): Promise<Contact | null>;
|
|
35
|
+
getO365DirectoryContactById(oid: string): Promise<Contact>;
|
|
36
|
+
private updateContactWithData;
|
|
37
|
+
private updateContactWithOffice365Data;
|
|
38
|
+
/**
|
|
39
|
+
* Method updateContactWithOffice365Details
|
|
40
|
+
* @description Update an existing o365 contact with o365 complete data retrieved from the server
|
|
41
|
+
* @memberof Office365AdService
|
|
42
|
+
* @public
|
|
43
|
+
* @param {Contact} contact The contact The o365 contact to update
|
|
44
|
+
* @param {any} data The o365 complete data retrieved from the server
|
|
45
|
+
*/
|
|
46
|
+
private updateContactWithOffice365Details;
|
|
47
|
+
/**
|
|
48
|
+
* Update the specified exisitng RB contact instance with some provided Microsoft Outlook contact data.
|
|
49
|
+
*/
|
|
50
|
+
private updateContactWithOutlookSearchData;
|
|
51
|
+
/**
|
|
52
|
+
* This API allows users to retrieve from server one Microsoft Outlook contact card from its identifier
|
|
53
|
+
* and update the given contact. No new contact instance is created.
|
|
54
|
+
* Retrieving an Outloo personal contact is available only if the user has the feature MSO365_DIRECTORY_SEARCH in its profile.
|
|
55
|
+
* @param contact - The internal contact to update with additional or last Outlook contact data.
|
|
56
|
+
*/
|
|
57
|
+
getOutlookContactDetails(contact: Contact): Promise<Contact | null>;
|
|
58
|
+
/**
|
|
59
|
+
* This API allows users to retrieve from server one Microsoft Outlook contact card from its identifier.
|
|
60
|
+
* Retrieving an Outloo personal contact is available only if the user has the feature MSO365_DIRECTORY_SEARCH in its profile.
|
|
61
|
+
* A new contact based on Contact model is created for the found contact.
|
|
62
|
+
* @param oid - Identifier of the Outlook contact to retrieve
|
|
63
|
+
*/
|
|
64
|
+
getOutlookContactById(oid: string): Promise<Contact>;
|
|
65
|
+
/**
|
|
66
|
+
* Search personal contacts in the Microsoft Outlook directory by specifying a string pattern to filter items.
|
|
67
|
+
* The pattern is the beginning of a name or a phone number.
|
|
68
|
+
* This search is only available if the user has the feature MSO365_DIRECTORY_SEARCH in its profile.
|
|
69
|
+
* Returns the results items matching the criteria.
|
|
70
|
+
* @param searchPattern - Pattern to search
|
|
71
|
+
*/
|
|
72
|
+
searchOutlookPersonalcontacts(searchPattern: string): Promise<DirectoryInternalSearchResults>;
|
|
73
|
+
}
|
|
74
|
+
//# sourceMappingURL=office365ad.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"office365ad.service.d.ts","sourceRoot":"","sources":["../../../src/services/directory/office365ad.service.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AACzE,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,KAAK,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9G,eAAO,MAAM,gBAAgB,uBAAuB,CAAC;AAErD,qBAAa,kBAAmB,SAAQ,OAAO;IAC3C,OAAO,CAAC,MAAM,CAA8C;IAC5D,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,kBAAkB,CAAwD;IAClF,OAAO,CAAC,cAAc,CAAgD;IACtE,OAAO,CAAC,cAAc,CAAgD;WAExD,WAAW;WAIX,KAAK;IAInB,OAAO;IAEP;;;;;;;;;;;OAWG;IACU,yBAAyB,CAAC,aAAa,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,8BAA8B,CAAC;IA2E3H,cAAc,CAAC,OAAO,EAAE,GAAG;IA4BxC;;;;;OAKG;IACU,wBAAwB,CAAC,GAAG,EAAE,GAAG,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAyC3D,2BAA2B,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAavE,OAAO,CAAC,qBAAqB;IAa7B,OAAO,CAAC,8BAA8B;IAgEtC;;;;;;;OAOG;IACH,OAAO,CAAC,iCAAiC;IAoEzC;;OAEG;IACH,OAAO,CAAC,kCAAkC;IAyE1C;;;;;OAKG;IACU,wBAAwB,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAwChF;;;;;OAKG;IACU,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAyCjE;;;;;;OAMG;IACU,6BAA6B,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,8BAA8B,CAAC;CA+C7G"}
|
|
@@ -0,0 +1,425 @@
|
|
|
1
|
+
import type { Subscription } from "rxjs";
|
|
2
|
+
import { BehaviorSubject } from "rxjs";
|
|
3
|
+
import { DirectoryContact } from "../../models/directoryContact.model";
|
|
4
|
+
import type { Contact } from "../../models/contact.model";
|
|
5
|
+
import type { DirectoryInternalSearchResults, DirectorySearchOptions } from "../core/directorySearch.service";
|
|
6
|
+
import { Service } from "../../services/service";
|
|
7
|
+
export declare const PERSONAL_DIRECTORY_SVC = "PersonalDirectoryService";
|
|
8
|
+
/**
|
|
9
|
+
* @enum {string}
|
|
10
|
+
* @public
|
|
11
|
+
* @readonly
|
|
12
|
+
* @description
|
|
13
|
+
* Collection of events fired by {@link PersonalDirectoryService} regarding the Personal Directory
|
|
14
|
+
*/
|
|
15
|
+
export declare enum PersonalDirectoryEvent {
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_ADD
|
|
19
|
+
* @description
|
|
20
|
+
* This event is fired when a new contact is added in the personal directory
|
|
21
|
+
* The event contains a Contact object
|
|
22
|
+
* @param {Contact} data containing the information of the personal contact
|
|
23
|
+
*/
|
|
24
|
+
PERSONAL_DIRECTORY_ADD = "PERSONAL_DIRECTORY_ADD",
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_DELETE
|
|
28
|
+
* @description
|
|
29
|
+
* This event is fired when a contact is deleted from the personal directory
|
|
30
|
+
* The event contains the id of the deleted contact
|
|
31
|
+
* @param {string} id containing the id of the deleted contact
|
|
32
|
+
*/
|
|
33
|
+
PERSONAL_DIRECTORY_DELETE = "PERSONAL_DIRECTORY_DELETE",
|
|
34
|
+
/**
|
|
35
|
+
* @public
|
|
36
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_UPDATE
|
|
37
|
+
* @description
|
|
38
|
+
* This event is fired when a contact is updated in the personal directory
|
|
39
|
+
* The event contains a Contact object
|
|
40
|
+
* @param {Contact} data containing the information of the personal contact
|
|
41
|
+
*/
|
|
42
|
+
PERSONAL_DIRECTORY_UPDATE = "PERSONAL_DIRECTORY_UPDATE",
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_IMPORT_PROGRESS
|
|
46
|
+
* @description
|
|
47
|
+
* This event is fired when import of personal directory is progressing
|
|
48
|
+
* The event contains a number
|
|
49
|
+
* @param {number} percent containing the percent of the import
|
|
50
|
+
*/
|
|
51
|
+
PERSONAL_DIRECTORY_IMPORT_PROGRESS = "PERSONAL_DIRECTORY_IMPORT_PROGRESS",
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_IMPORT_COMPLETION
|
|
55
|
+
* @description
|
|
56
|
+
* This event is fired when import of personal directory is completed
|
|
57
|
+
*/
|
|
58
|
+
PERSONAL_DIRECTORY_IMPORT_COMPLETION = "PERSONAL_DIRECTORY_IMPORT_COMPLETION",
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_DELETE_ALL
|
|
62
|
+
* @description
|
|
63
|
+
* This event is fired when all contacts are removed from the personal directory of the user
|
|
64
|
+
*/
|
|
65
|
+
PERSONAL_DIRECTORY_DELETE_ALL = "PERSONAL_DIRECTORY_DELETE_ALL",
|
|
66
|
+
/**
|
|
67
|
+
* @public
|
|
68
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_TAG_DELETE
|
|
69
|
+
* @description
|
|
70
|
+
* This event is fired when a tag is removed from all the personal directory entries
|
|
71
|
+
* The event contains the name of the removed tag
|
|
72
|
+
* @param {string} name of the removed tag
|
|
73
|
+
*/
|
|
74
|
+
PERSONAL_DIRECTORY_TAG_DELETE = "PERSONAL_DIRECTORY_TAG_DELETE",
|
|
75
|
+
/**
|
|
76
|
+
* @public
|
|
77
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_TAG_RENAME
|
|
78
|
+
* @description
|
|
79
|
+
* This event is fired when a tag is renamed inside all personal directory entries
|
|
80
|
+
* The event contains the old anf the new name of the tag
|
|
81
|
+
* @param {string} Old name of the removed tag
|
|
82
|
+
* @param {string} New name of the removed tag
|
|
83
|
+
*/
|
|
84
|
+
PERSONAL_DIRECTORY_TAG_RENAME = "PERSONAL_DIRECTORY_TAG_RENAME",
|
|
85
|
+
/**
|
|
86
|
+
* @public
|
|
87
|
+
* @event PersonalDirectoryEvent#PERSONAL_DIRECTORY_UPDATE_ALL
|
|
88
|
+
* @description
|
|
89
|
+
* This event is fired when all personal directory contacts stored in internal cache have been updated.
|
|
90
|
+
* This happens for example after a XMPP reconnection, these contacts must be updated again
|
|
91
|
+
* (thanks to a new 'getPersonalContacts') as during the time of disconnection such contacts may have been
|
|
92
|
+
* added, updated or deleted by the end-user through another Rainbow client.
|
|
93
|
+
*/
|
|
94
|
+
PERSONAL_DIRECTORY_UPDATE_ALL = "PERSONAL_DIRECTORY_UPDATE_ALL"
|
|
95
|
+
}
|
|
96
|
+
export declare class PersonalDirectoryService extends Service {
|
|
97
|
+
private logger;
|
|
98
|
+
private authService;
|
|
99
|
+
private eventService;
|
|
100
|
+
private xmppService;
|
|
101
|
+
private profileService;
|
|
102
|
+
private contactService;
|
|
103
|
+
private countryService;
|
|
104
|
+
private userInfoService;
|
|
105
|
+
private errorHelperService;
|
|
106
|
+
private favoritesService;
|
|
107
|
+
private rxSubject;
|
|
108
|
+
xmppManagementHandler: any;
|
|
109
|
+
serviceReady: BehaviorSubject<boolean>;
|
|
110
|
+
startupFailed: BehaviorSubject<boolean>;
|
|
111
|
+
private directoryPortalURL;
|
|
112
|
+
private massProPortalURL;
|
|
113
|
+
private personalDirectoryEnabled;
|
|
114
|
+
private deleteAllInProgress;
|
|
115
|
+
private DEFAULT_CSV_BOM;
|
|
116
|
+
private DEFAULT_CSV_TYPE;
|
|
117
|
+
static getInstance(): PersonalDirectoryService;
|
|
118
|
+
static build(): PersonalDirectoryService;
|
|
119
|
+
private constructor();
|
|
120
|
+
start(): Promise<void>;
|
|
121
|
+
stop(): Promise<void>;
|
|
122
|
+
reconnect(): Promise<void>;
|
|
123
|
+
init(): void;
|
|
124
|
+
private attachXMPPListeners;
|
|
125
|
+
private removeXMPPListeners;
|
|
126
|
+
subscribe(handler: any): Subscription;
|
|
127
|
+
private onDirectoryManagementReceived;
|
|
128
|
+
private onPersonalDirectoryImportInitializing;
|
|
129
|
+
private onPersonalDirectoryImportDeletion;
|
|
130
|
+
private onPersonalDirectoryImportCreation;
|
|
131
|
+
private onPersonalDirectoryImportSuccess;
|
|
132
|
+
private onPersonalDirectyDeletion;
|
|
133
|
+
private buildContactCardFromXmpp;
|
|
134
|
+
private onPersonalDirectoryCreation;
|
|
135
|
+
private onPersonalDirectoryUpdate;
|
|
136
|
+
/**
|
|
137
|
+
* Method createPersonalContact
|
|
138
|
+
* @description This API allows users to create a contact in its personal directory
|
|
139
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-PostDirectory Rainbow Company Directory portal - directory - Create a directory entry})
|
|
140
|
+
* @memberof PersonalDirectoryService
|
|
141
|
+
* @public
|
|
142
|
+
* @param {DirectoryContact} persDirContact a {@link DirectoryContact} The personal contact to create on server
|
|
143
|
+
* @returns {Promise<Contact>} The created personal directory contact as a Contact model
|
|
144
|
+
* @memberof PersonalDirectoryService
|
|
145
|
+
* @fires PersonalDirectoryEvent#PERSONAL_DIRECTORY_ADD
|
|
146
|
+
*/
|
|
147
|
+
createPersonalContact(persDirContact: DirectoryContact): Promise<Contact | null>;
|
|
148
|
+
/**
|
|
149
|
+
* Method deletePersonalContact
|
|
150
|
+
* @description This API allows users to delete a personal directory contact
|
|
151
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-DeleteDirectory Rainbow Company Directory portal - directory - Delete a directory entry})
|
|
152
|
+
* @memberof PersonalDirectoryService
|
|
153
|
+
* @public
|
|
154
|
+
* @param {Contact} contact Contact instance associated to the personal directory contact to delete
|
|
155
|
+
* @returns {Promise<void>} resolves when deletion is done
|
|
156
|
+
* @fires PersonalDirectoryEvent#PERSONAL_DIRECTORY_DELETE
|
|
157
|
+
*/
|
|
158
|
+
deletePersonalContact(contact: Contact): Promise<void>;
|
|
159
|
+
/**
|
|
160
|
+
* Method deletePersonalContactById
|
|
161
|
+
* @description This API allows users to delete a personal directory contact
|
|
162
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-DeleteDirectory Rainbow Company Directory portal - directory - Delete a directory entry})
|
|
163
|
+
* @memberof PersonalDirectoryService
|
|
164
|
+
* @public
|
|
165
|
+
* @param {string} id Identifier of the personal directory contact to delete
|
|
166
|
+
* @returns {Promise<void>} resolves when deletion is done
|
|
167
|
+
* @fires PersonalDirectoryEvent#PERSONAL_DIRECTORY_DELETE
|
|
168
|
+
*/
|
|
169
|
+
deletePersonalContactById(id: string): Promise<void>;
|
|
170
|
+
/**
|
|
171
|
+
* Method deleteAllContacts
|
|
172
|
+
* @description This API allows users to delete all the contacts present in its personal directory
|
|
173
|
+
* @memberof PersonalDirectoryService
|
|
174
|
+
* @public
|
|
175
|
+
* @returns {Promise<void>} resolves when deletion is done
|
|
176
|
+
* @fires PersonalDirectoryEvent#PERSONAL_DIRECTORY_DELETE_ALL
|
|
177
|
+
*/
|
|
178
|
+
deleteAllPersonalContacts(): Promise<void>;
|
|
179
|
+
/**
|
|
180
|
+
* Method updatePersonalContactFromUserData
|
|
181
|
+
* @description This API allows users to update a personal contact present in its personal directory
|
|
182
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-PutDirectory Rainbow Company Directory portal - directory - Update a directory entry})
|
|
183
|
+
* @memberof PersonalDirectoryService
|
|
184
|
+
* @public
|
|
185
|
+
* @param {Contact} contact Contact instance associated to the personal directory contact to update
|
|
186
|
+
* @returns {Promise<Contact>} The created personal directory contact as a Contact model
|
|
187
|
+
* @fires PersonalDirectoryEvent#PERSONAL_DIRECTORY_UPDATE
|
|
188
|
+
*/
|
|
189
|
+
updatePersonalContactFromUserData(contact: Contact): Promise<Contact | null>;
|
|
190
|
+
/**
|
|
191
|
+
* Method updatePersonalContact
|
|
192
|
+
* @description This API allows users to update an contact present in its personal directory.
|
|
193
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-PutDirectory Rainbow Company Directory portal - directory - Update a directory entry})
|
|
194
|
+
* @memberof PersonalDirectoryService
|
|
195
|
+
* @public
|
|
196
|
+
* @param {Contact} persDirContact Contact instance associated to the personal directory contact to update
|
|
197
|
+
* @returns {Promise<Contact>} The created personal directory contact as a Contact model
|
|
198
|
+
* @fires PersonalDirectoryEvent#PERSONAL_DIRECTORY_UPDATE
|
|
199
|
+
*/
|
|
200
|
+
updatePersonalContact(persDirContact: DirectoryContact): Promise<Contact | null>;
|
|
201
|
+
/**
|
|
202
|
+
* Method getPersonalContacts
|
|
203
|
+
* @description This API allows users to retrieve the list of the personal directory contacts of the user with full information pour each of them
|
|
204
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-GetDirectoryList Rainbow Company Directory portal - directory - Get a list of directory entries data})
|
|
205
|
+
* @memberof PersonalDirectoryService
|
|
206
|
+
* @public
|
|
207
|
+
* @param {string} [format] Allows to retrieve more or less contact details in response.
|
|
208
|
+
* - small: id, directoryType, firstName, lastName
|
|
209
|
+
* - medium: id, directoryType, firstName, lastName, workPhoneNumbers
|
|
210
|
+
* - full: all fields.
|
|
211
|
+
* @returns {Promise<{ contacts: DirectoryContact[]; limit: number; offset: number; total: number }>} object contaning result of search with
|
|
212
|
+
* {
|
|
213
|
+
* contacts : {array} // Found personal directory contacts
|
|
214
|
+
* limit : {number} // Limit specified at the search request, fix in our case by default to max possible.
|
|
215
|
+
* offset : {number} // The position of first retrieved contact entry
|
|
216
|
+
* total : {number} // Total number of available personal directory contacts (May be different from the number of returned contacts)
|
|
217
|
+
* }
|
|
218
|
+
*/
|
|
219
|
+
getPersonalContacts(format?: string): Promise<{
|
|
220
|
+
contacts: DirectoryContact[];
|
|
221
|
+
limit: number;
|
|
222
|
+
offset: number;
|
|
223
|
+
total: number;
|
|
224
|
+
}>;
|
|
225
|
+
/**
|
|
226
|
+
* Method getPersonalContactsByCriteria
|
|
227
|
+
* @description This API allows users to get a list of personal directory contacts data by optionally specifying
|
|
228
|
+
* - Data format
|
|
229
|
+
* - Pagination criteria (offset, limit)
|
|
230
|
+
* - Search criteria (mode, pattern)
|
|
231
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-GetDirectoryList Rainbow Company Directory portal - directory - Get a list of directory entries data})
|
|
232
|
+
* @memberof PersonalDirectoryService
|
|
233
|
+
* @public
|
|
234
|
+
* @param {object} [options] Search filter and criteria specified via the Option object
|
|
235
|
+
* @property {string} options Option object that may contain the following properties:
|
|
236
|
+
* @property {string} [options.format='full'] Allows to retrieve more or less contact details in response.
|
|
237
|
+
* - small: id, directoryType, firstName, lastName
|
|
238
|
+
* - medium: id, directoryType, firstName, lastName, workPhoneNumbers
|
|
239
|
+
* - full: all fields.
|
|
240
|
+
* @property {number} [options.limit] Allows to specify the number personal directory contacts to retrieve.
|
|
241
|
+
* Default value: 100
|
|
242
|
+
* @property {number} [options.offset] Allows to specify the position of first personal directory contact to retrieve
|
|
243
|
+
* If not specified, the search begins at the beginning, from the the first personal directory contact.
|
|
244
|
+
* Warning: if offset > total, no results are returned.
|
|
245
|
+
* @property {string} [options.searchBy] Allows to filter the list of directory entries on phone number or on the name provided in this option.
|
|
246
|
+
* @property {string} [options.searchPattern] Allows to filter the list of directory entries by the words provided in this option
|
|
247
|
+
* @returns {Promise<{ contacts: DirectoryContact[]; limit: number; offset: number; total: number }>} object contaning result of search with
|
|
248
|
+
* {
|
|
249
|
+
* contacts : {array} // Found personal directory contacts
|
|
250
|
+
* limit : {number} // Limit specified at the search request
|
|
251
|
+
* offset : {number} // The position of first retrieved contact entry
|
|
252
|
+
* total : {number} // Total number of available personal directory contacts (May be different from the number of returned contacts)
|
|
253
|
+
* }
|
|
254
|
+
*/
|
|
255
|
+
getPersonalContactsByCriteria(options?: any): Promise<{
|
|
256
|
+
contacts: DirectoryContact[];
|
|
257
|
+
limit: number;
|
|
258
|
+
offset: number;
|
|
259
|
+
total: number;
|
|
260
|
+
}>;
|
|
261
|
+
/**
|
|
262
|
+
* Method getPersonalContactCardById
|
|
263
|
+
* @description This API allows users to retrieve from server one contact card in the users's personal directory from its identifier
|
|
264
|
+
* API request to {@link https://api.openrainbow.org/directory/#api-directory-GetDirectory Rainbow Company Directory portal - directory - Get a directory entry data})
|
|
265
|
+
* @memberof PersonalDirectoryService
|
|
266
|
+
* @public
|
|
267
|
+
* @param {string} id Identifier of contact to retrieve
|
|
268
|
+
* @param {string} [format] Allows to retrieve more or less contact details in response.
|
|
269
|
+
* - small: id, directoryType, firstName, lastName
|
|
270
|
+
* - medium: id, directoryType, firstName, lastName, workPhoneNumbers
|
|
271
|
+
* - full: all fields.
|
|
272
|
+
* @returns {Promise<DirectoryContact>} the {@link DirectoryContact} retrieved
|
|
273
|
+
*/
|
|
274
|
+
getPersonalContactCardById(id: string, format?: string): Promise<DirectoryContact | null>;
|
|
275
|
+
/**
|
|
276
|
+
* Method getPersonalContactById
|
|
277
|
+
* @description This API allows users to retrieve from server a contact in the users's personal directory from its identifier
|
|
278
|
+
* API request to {@link https://api.openrainbow.org/directory/#api-directory-GetDirectory Rainbow Company Directory portal - directory - Get a directory entry data})
|
|
279
|
+
* @memberof PersonalDirectoryService
|
|
280
|
+
* @public
|
|
281
|
+
* @param {string} id Identifier of contact to retrieve
|
|
282
|
+
* @param {string} [format] Allows to retrieve more or less contact details in response.
|
|
283
|
+
* - small: id, directoryType, firstName, lastName
|
|
284
|
+
* - medium: id, directoryType, firstName, lastName, workPhoneNumbers
|
|
285
|
+
* - full: all fields.
|
|
286
|
+
* @returns {Promise<Contact>} the retrieved contact
|
|
287
|
+
*/
|
|
288
|
+
getPersonalContactById(id: string, format?: string): Promise<Contact | null>;
|
|
289
|
+
/**
|
|
290
|
+
* Method getNumberPersonalContact
|
|
291
|
+
* @description This API allows users to retrieve from Contact internal database the personal contacts created by the user
|
|
292
|
+
* @memberof PersonalDirectoryService
|
|
293
|
+
* @public
|
|
294
|
+
* @returns {Contact[]} the retrieved personal contacts
|
|
295
|
+
*/
|
|
296
|
+
getMyContacts(): Contact[];
|
|
297
|
+
/**
|
|
298
|
+
* This API allows users to search personal directory contacts by specifying a pattern
|
|
299
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-directory-GetDirectoryList Rainbow Company Directory portal - directory - Get a list of directory entries data})
|
|
300
|
+
* @public
|
|
301
|
+
* @description
|
|
302
|
+
* Search contacts in the personal directory of the user by using a specified pattern to filter items.
|
|
303
|
+
* This search is only available if the user has the feature PERSONAL_DIRECTORY in its profile.
|
|
304
|
+
* Concerning 'extendedMode' in 'options' parameter:
|
|
305
|
+
* If requested and the user has the feature SEARCH_BY_TAGS in its profile, a multi-criteria search will then be performed.
|
|
306
|
+
* The multi-criteria search applies on fields firstName, lastName, jobTitle, companyName, department and tags.
|
|
307
|
+
* If this option is not specified or the user does not have the feature SEARCH_BY_TAGS in his profile,
|
|
308
|
+
* the search is based on names only (first name, last name and company name).
|
|
309
|
+
* @param {string} searchPattern Pattern to search
|
|
310
|
+
* @param {DirectorySearchOptions} [options] Search options {@link DirectorySearchOptions}
|
|
311
|
+
* @returns {Promise<DirectoryInternalSearchResults[]>} Resolves with an array of {@link DirectoryInternalSearchResults} results and
|
|
312
|
+
* the total number of directory items matching the criteria.
|
|
313
|
+
* @memberof PersonalDirectoryService
|
|
314
|
+
*/
|
|
315
|
+
searchPersonalContacts(searchPattern: string, options?: DirectorySearchOptions): Promise<DirectoryInternalSearchResults>;
|
|
316
|
+
/**
|
|
317
|
+
* Method getPersonalDirectoryContactFromNumber
|
|
318
|
+
* @memberof PersonalDirectoryService
|
|
319
|
+
* @public
|
|
320
|
+
* @param {string} phoneNumber The number
|
|
321
|
+
* @returns {Contact} Found contact or null otherwise
|
|
322
|
+
*/
|
|
323
|
+
getPersonalDirectoryContactFromNumber(phoneNumber: string): Contact | null;
|
|
324
|
+
/**
|
|
325
|
+
* Method getPersonalDirectoryTags
|
|
326
|
+
* @description This API allows users to retrieve from server all the tags assigned to the personal directory entries
|
|
327
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-personal_directory_tags-GetPersonalDirectoryTags Rainbow Company Directory portal - personal directory tags - List all tags assigned to personal directory entries
|
|
328
|
+
* @memberof PersonalDirectoryService
|
|
329
|
+
* @public
|
|
330
|
+
* @returns {Promise<string[]>} tags Array of tags
|
|
331
|
+
*/
|
|
332
|
+
getPersonalDirectoryTags(): Promise<string[]>;
|
|
333
|
+
/**
|
|
334
|
+
* Method deletePersonalDirectoryTag
|
|
335
|
+
* @description This API allows users to delete from server the specified tag assigned to the personal directory entries
|
|
336
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-personal_directory_tags-DelPersonalDirectoryTags Rainbow Company Directory portal - personal directory tags - Remove a given tag from all the personal directory entries
|
|
337
|
+
* @memberof PersonalDirectoryService
|
|
338
|
+
* @public
|
|
339
|
+
* @param {string} tag Name of tag to remove
|
|
340
|
+
* @returns {Promise<void>} Resolves when deletion operation is done
|
|
341
|
+
*/
|
|
342
|
+
deletePersonalDirectoryTag(tag: string): Promise<void>;
|
|
343
|
+
/**
|
|
344
|
+
* Method renamePersonalDirectoryTag
|
|
345
|
+
* @description This API allows users to rename a tag for all assigned personal directory entries
|
|
346
|
+
* (API request to {@link https://api.openrainbow.org/directory/#api-personal_directory_tags-PutPersonalDirectoryTags personal directory tags - Rename a tag for all assigned directory entries
|
|
347
|
+
* @memberof PersonalDirectoryService
|
|
348
|
+
* @public
|
|
349
|
+
* @param {string} tag Name of the tag to be renamed
|
|
350
|
+
* @param {string} newTagName New name of the tag
|
|
351
|
+
* @returns {Promise<void>} Resolves when rename operation is done
|
|
352
|
+
*/
|
|
353
|
+
renamePersonalDirectoryTag(tag: string, newTagName: string): Promise<void>;
|
|
354
|
+
/**
|
|
355
|
+
* Method getPersonalDirectoryTagsStats
|
|
356
|
+
* @description This API can be used to list all the tags being assigned to the personal directory entries of the logged in user, with the number of directory entries for each tags.
|
|
357
|
+
* (API request to {@linkhttps://api.openrainbow.org/directory/#api-personal_directory_tags-GetPersonalDirectoryTagsStats personal directory tags - Return stats regarding tags of personal directory entries
|
|
358
|
+
* @memberof PersonalDirectoryService
|
|
359
|
+
* @public
|
|
360
|
+
* @returns {Promise<{ count: number; tag: string }[]>} Array of stats with the number of use (count) and the tag name
|
|
361
|
+
*/
|
|
362
|
+
getPersonalDirectoryTagsStats(): Promise<{
|
|
363
|
+
count: number;
|
|
364
|
+
tag: string;
|
|
365
|
+
}[]>;
|
|
366
|
+
/**
|
|
367
|
+
* Method createContactFromPersonalDirectoryData
|
|
368
|
+
* @description Create a new contact based on Contact model from a personal directory object (DirectoryContact)
|
|
369
|
+
* @memberof PersonalDirectoryService
|
|
370
|
+
* @private
|
|
371
|
+
* @param {DirectoryContact} persDirContact The created personal directory contact
|
|
372
|
+
* @returns {Contact} Created contact or null if creation failed
|
|
373
|
+
*/
|
|
374
|
+
private createContactFromPersonalDirectoryData;
|
|
375
|
+
/**
|
|
376
|
+
* Method updateContactFromPersonalDirectoryData
|
|
377
|
+
* @description Update an existing contact with a personal directory object (DirectoryContact)
|
|
378
|
+
* @memberof PersonalDirectoryService
|
|
379
|
+
* @private
|
|
380
|
+
* @param {DirectoryContact} persDirContact The updated personal directory object
|
|
381
|
+
* @returns {Contact} Updated contact or null if update failed
|
|
382
|
+
*/
|
|
383
|
+
private updateContactFromPersonalDirectoryData;
|
|
384
|
+
/**
|
|
385
|
+
* Method createOrUpdateContact
|
|
386
|
+
* @description Create or update an existing contact with a personal directory object (DirectoryContact)
|
|
387
|
+
* @memberof PersonalDirectoryService
|
|
388
|
+
* @private
|
|
389
|
+
* @param {DirectoryContact} persDirContact A personal directory object just retrieved from server
|
|
390
|
+
* @returns {Contact} Created or Updated contact
|
|
391
|
+
*/
|
|
392
|
+
private createOrUpdateContact;
|
|
393
|
+
/**
|
|
394
|
+
* Method createPersonalDirectoryDataFromContact
|
|
395
|
+
*
|
|
396
|
+
* Create a personal directory object (DirectoryContact) from a contact based on Contact model
|
|
397
|
+
* Useful to update on server side a personal directory contact from data stored in a contact
|
|
398
|
+
* @memberof PersonalDirectoryService
|
|
399
|
+
* @private
|
|
400
|
+
* @param {Contact} contactData The contact associated to the given personal directory
|
|
401
|
+
* @returns {DirectoryContact} Personal directory contact object used for update on server side
|
|
402
|
+
*/
|
|
403
|
+
private createPersonalDirectoryDataFromContact;
|
|
404
|
+
/** ******************************************************/
|
|
405
|
+
/** DOWNLOAD CSV TEMPLATE **/
|
|
406
|
+
/** ******************************************************/
|
|
407
|
+
downloadCsvTemplateFile(): Promise<any>;
|
|
408
|
+
/** ******************************************************/
|
|
409
|
+
/** CHECK CSV FILE CONTENT **/
|
|
410
|
+
/** ******************************************************/
|
|
411
|
+
checkDirectoryImportCsvContent(csvContent: any): Promise<any>;
|
|
412
|
+
/** ******************************************************/
|
|
413
|
+
/** GET CSV FILE IMPORTS HISTORY **/
|
|
414
|
+
/** ******************************************************/
|
|
415
|
+
getDirectoryImportReport(): Promise<any>;
|
|
416
|
+
/** ******************************************************/
|
|
417
|
+
/** IMPORT CSV FILE PERSONAL DIRECTORY **/
|
|
418
|
+
/** ******************************************************/
|
|
419
|
+
importPersonalDirectory(csvContent: any): Promise<any>;
|
|
420
|
+
/** ******************************************************/
|
|
421
|
+
/** EXPORT CSV FILE PERSONAL DIRECTORY **/
|
|
422
|
+
/** ******************************************************/
|
|
423
|
+
exportPersonalDirectory(): Promise<any>;
|
|
424
|
+
}
|
|
425
|
+
//# sourceMappingURL=personal-directory.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"personal-directory.service.d.ts","sourceRoot":"","sources":["../../../src/services/directory/personal-directory.service.ts"],"names":[],"mappings":"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"}
|