@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,66 @@
|
|
|
1
|
+
import { Service } from "../../services/service";
|
|
2
|
+
export declare const COUNTRY_SVC = "CountryService";
|
|
3
|
+
export interface Country {
|
|
4
|
+
"name": string;
|
|
5
|
+
"alpha-2": string;
|
|
6
|
+
"alpha-3": string;
|
|
7
|
+
"country-code"?: string;
|
|
8
|
+
"default"?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare class CountryService extends Service {
|
|
11
|
+
private portalURL;
|
|
12
|
+
private errorHelperService;
|
|
13
|
+
private authService;
|
|
14
|
+
private logger;
|
|
15
|
+
private i18n;
|
|
16
|
+
/**
|
|
17
|
+
* List of data center locations, grouped by geographical regions
|
|
18
|
+
*/
|
|
19
|
+
datacenters: any[];
|
|
20
|
+
/**
|
|
21
|
+
* List of countries (obsolete)
|
|
22
|
+
*/
|
|
23
|
+
countries: Country[];
|
|
24
|
+
/** Alphabetical list of Canadian states **/
|
|
25
|
+
statesOfCanada: any;
|
|
26
|
+
/** Alphabetical list of US states **/
|
|
27
|
+
statesOfAmerica: any;
|
|
28
|
+
countryToInternationalCallingCodeMapping: any;
|
|
29
|
+
countryToLanguageMapping: any;
|
|
30
|
+
private timeZoneCityToCountry;
|
|
31
|
+
static getInstance(): CountryService;
|
|
32
|
+
static build(): CountryService;
|
|
33
|
+
private constructor();
|
|
34
|
+
start(): Promise<void>;
|
|
35
|
+
stop(): Promise<void>;
|
|
36
|
+
/** ******************************************************/
|
|
37
|
+
/** PUBLIC **/
|
|
38
|
+
/** ******************************************************/
|
|
39
|
+
getCountries(): Country[];
|
|
40
|
+
getCountryStates(country: any): any;
|
|
41
|
+
getCountry(countryCodeAlpha3: string, defaulted?: any): Country;
|
|
42
|
+
getCountryFromAlpha2(countryCodeAlpha2: string): Country;
|
|
43
|
+
getDefaultCountry(): Country;
|
|
44
|
+
getCountryName(countryCode: string): string;
|
|
45
|
+
getCountryCode(country: Country): string;
|
|
46
|
+
getCountryDataFromName(countryName: string): Country;
|
|
47
|
+
getCountryCodeFromName(countryName: string): string;
|
|
48
|
+
getStateCodeFromName(countryName: string, stateName: string): string;
|
|
49
|
+
getStateName(country: string, state: string): string;
|
|
50
|
+
getDefaultState(country: any): string;
|
|
51
|
+
getAlpha2Code(alpha3Code: string): string;
|
|
52
|
+
getAlpha3Code(alpha2Code: string): string;
|
|
53
|
+
getCountryLabel(alphaCode: string): string;
|
|
54
|
+
getDataCenterLabel(datacenterLocation: any, companyCountry: any): string;
|
|
55
|
+
getRegionLabel(regionName: string): string;
|
|
56
|
+
getInternationalCallingCode(countryAlpha2Code: string): string;
|
|
57
|
+
mapCountryToLanguages(countryAlpha2Code: string): string[];
|
|
58
|
+
initializeCountriesWithoutAuthToken(): Promise<void>;
|
|
59
|
+
/** ******************************************************/
|
|
60
|
+
/** PRIVATE **/
|
|
61
|
+
/** ******************************************************/
|
|
62
|
+
private initializeCountries;
|
|
63
|
+
private getAvailableCountries;
|
|
64
|
+
getCountryFromComputerTimezone(): Country;
|
|
65
|
+
}
|
|
66
|
+
//# sourceMappingURL=country.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"country.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/country.service.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAEhE,eAAO,MAAM,WAAW,mBAAmB,CAAC;AAE5C,MAAM,WAAW,OAAO;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,qBAAa,cAAe,SAAQ,OAAO;IACvC,OAAO,CAAC,SAAS,CAAgB;IACjC,OAAO,CAAC,kBAAkB,CAAwD;IAClF,OAAO,CAAC,WAAW,CAA0C;IAC7D,OAAO,CAAC,MAAM,CAA8C;IAC5D,OAAO,CAAC,IAAI,CAA0C;IAEtD;;OAEG;IACI,WAAW,EAAE,GAAG,EAAE,CAKvB;IAEF;;OAEG;IACI,SAAS,EAAE,OAAO,EAAE,CAyLzB;IAEF,4CAA4C;IACrC,cAAc,EAAE,GAAG,CAcxB;IAEF,sCAAsC;IAC/B,eAAe,EAAE,GAAG,CA0DzB;IAgBK,wCAAwC,EAAE,GAAG,CAiPlD;IAKK,wBAAwB,EAAE,GAAG,CAsPlC;IAMF,OAAO,CAAC,qBAAqB,CAka3B;WAKY,WA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YnD"}
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module DirectorySearch
|
|
3
|
+
*/
|
|
4
|
+
import { Service } from "../../services/service";
|
|
5
|
+
import type { Contact } from "../../models/contact.model";
|
|
6
|
+
import type { User } from "../../models";
|
|
7
|
+
export declare const DIRECTORY_SEARCH_SVC = "DirectorySearchService";
|
|
8
|
+
/**
|
|
9
|
+
* List of different directories in which users or contacts can be searched by name.
|
|
10
|
+
*/
|
|
11
|
+
export declare enum DirectoryType {
|
|
12
|
+
/**
|
|
13
|
+
* Network of Rainbow users of the logged-in user
|
|
14
|
+
* This directory type is more of a container than a directory an refers to the network of Rainbow users of the logged-in user.
|
|
15
|
+
* This network also known as 'roster' contains users who have been explicitly invited by the logged-in user
|
|
16
|
+
* to share their online status.
|
|
17
|
+
* No profile feature is required to use this directory.
|
|
18
|
+
* Any Rainbow user, including those belonging to the default company, can use this directory.
|
|
19
|
+
*/
|
|
20
|
+
RAINBOW_USERS_NETWORK = "RAINBOW_USERS_NETWORK",
|
|
21
|
+
/**
|
|
22
|
+
* Directory for Rainbow Users.
|
|
23
|
+
* No profile feature is required to use this directory.
|
|
24
|
+
* Any Rainbow user, including those belonging to the default company, can use this directory.
|
|
25
|
+
* The directory scope corresponds to all Rainbow public users and users being in companies visible to the logged-in user.
|
|
26
|
+
* This visibility depends on that defined for the logged-in user and the company to which he belongs.
|
|
27
|
+
*/
|
|
28
|
+
RAINBOW_USERS = "RAINBOW_USERS",
|
|
29
|
+
/**
|
|
30
|
+
* Directory for Rainbow Business Contacts.
|
|
31
|
+
* No profile feature is required to use this directory.
|
|
32
|
+
* However, a user of a default company cannot use this directory.
|
|
33
|
+
* A search request will be rejected if this directory cannot be used.
|
|
34
|
+
*/
|
|
35
|
+
RAINBOW_BUSINESS_CONTACTS_DIRECTORY = "RAINBOW_BUSINESS_CONTACTS_DIRECTORY",
|
|
36
|
+
/**
|
|
37
|
+
* Directory for Rainbow Personal Contacts.
|
|
38
|
+
* This directory is available only if the user has the profile feature PERSONAL_DIRECTORY.
|
|
39
|
+
* A user of a default company cannot use this directory either.
|
|
40
|
+
* A search request will be rejected if this directory cannot be used.
|
|
41
|
+
*/
|
|
42
|
+
RAINBOW_PERSONAL_CONTACTS_DIRECTORY = "RAINBOW_PERSONAL_CONTACTS_DIRECTORY",
|
|
43
|
+
/**
|
|
44
|
+
* Directory for PBX users.
|
|
45
|
+
* This directory is available only if the user has the profile feature TELEPHONY_PHONE_BOOK.
|
|
46
|
+
* A user of a default company cannot use this directory either.
|
|
47
|
+
* A search request will be rejected if this directory cannot be used.
|
|
48
|
+
*/
|
|
49
|
+
RAINBOW_PBX_USERS = "RAINBOW_PBX_USERS",
|
|
50
|
+
/**
|
|
51
|
+
* Directory for Microsoft Azure AD users/Microsoft O365 contacts.
|
|
52
|
+
* This directory is available only if the user has the profile feature MSO365_DIRECTORY_SEARCH.
|
|
53
|
+
* A user of a default company cannot use this directory either.
|
|
54
|
+
* A search request will be rejected if this directory cannot be used.
|
|
55
|
+
*/
|
|
56
|
+
MICROSOFT_O365_USERS = "MICROSOFT_O365_USERS",
|
|
57
|
+
/**
|
|
58
|
+
* Directory for Microsoft Outlook personal contacts.
|
|
59
|
+
* This directory is available only if the user has the profile feature MSO365_DIRECTORY_SEARCH.
|
|
60
|
+
* A user of a default company cannot use this directory either.
|
|
61
|
+
* A search request will be rejected if this directory cannot be used.
|
|
62
|
+
*/
|
|
63
|
+
MICROSOFT_OUTLOOK_CONTACTS = "MICROSOFT_OUTLOOK_CONTACTS"
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Specified how the company specified in the search option will be managed in the search scope.
|
|
67
|
+
*/
|
|
68
|
+
export declare enum CompanyScopeType {
|
|
69
|
+
/**
|
|
70
|
+
* Refine the search by specifying that only users in my company are being searched for.
|
|
71
|
+
*/
|
|
72
|
+
MY_COMPANY = "MY_COMPANY",
|
|
73
|
+
/**
|
|
74
|
+
* Refine the search by excluding users from my company.
|
|
75
|
+
*/
|
|
76
|
+
MY_COMPANY_EXCLUDED = "MY_COMPANY_EXCLUDED"
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* List of parameters associated with the company filter option.
|
|
80
|
+
*/
|
|
81
|
+
export interface CompanyOptions {
|
|
82
|
+
/**
|
|
83
|
+
* This information indicates how the company criterion will be handled in the search field.
|
|
84
|
+
* This option is managed differently depending on the directory type, as described below:
|
|
85
|
+
* - RAINBOW_USERS_NETWORK: This option is not available.
|
|
86
|
+
* - RAINBOW_USERS: All options defined by CompanyScopeType are available.
|
|
87
|
+
* - RAINBOW_BUSINESS_CONTACTS_DIRECTORY: Only MY_COMPANY scope type can be specified.
|
|
88
|
+
* - RAINBOW_PERSONAL_CONTACTS_DIRECTORY: This option is not available.
|
|
89
|
+
* - MICROSOFT_O365_USERS: This option is not available.
|
|
90
|
+
* - RAINBOW_PBX_USERS: This option is not available.
|
|
91
|
+
* - MICROSOFT_OUTLOOK_CONTACTS: This option is not available.
|
|
92
|
+
*
|
|
93
|
+
* If the option value is not compatible with the specified directory, the request will be rejected and an error logged.
|
|
94
|
+
*/
|
|
95
|
+
companyScope?: CompanyScopeType;
|
|
96
|
+
/**
|
|
97
|
+
* Identifier of a company whose users must be excluded from the search results.
|
|
98
|
+
* Unlike {@link companyScope}, which always designates the connected user's own company, this option
|
|
99
|
+
* targets an arbitrary company - typically the "Rainbow public company" of a public cloud.
|
|
100
|
+
* This option is only honoured for the RAINBOW_USERS directory; for any other directory type it is
|
|
101
|
+
* ignored and a warning is logged.
|
|
102
|
+
* It maps to the `excludeCompanyId` query parameter of the search portal `/users` endpoint, which
|
|
103
|
+
* accepts a single company: if the MY_COMPANY_EXCLUDED scope already claimed that parameter, this
|
|
104
|
+
* option is ignored and a warning is logged.
|
|
105
|
+
*/
|
|
106
|
+
excludedCompanyId?: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* List of options for refining the search and specifying the results to be provided.
|
|
110
|
+
*/
|
|
111
|
+
export interface DirectorySearchOptions {
|
|
112
|
+
/**
|
|
113
|
+
* The number of results to return.
|
|
114
|
+
* Limit value must be in range [1..100]. Default value is 20.
|
|
115
|
+
* If the value is not in the authorized range, the request will be rejected and an error logged.
|
|
116
|
+
*/
|
|
117
|
+
limit?: number;
|
|
118
|
+
/**
|
|
119
|
+
* Position of the first result to return, for paginating through a large result set.
|
|
120
|
+
* Default value is 0 (first result). A negative value is rejected and an error logged.
|
|
121
|
+
* Maps to the `offset` query parameter of the search portal `/users` endpoint and is therefore only
|
|
122
|
+
* honoured for the RAINBOW_USERS directory; for any other directory type it is ignored and a warning
|
|
123
|
+
* is logged (their backends return the first N results and cannot be paginated).
|
|
124
|
+
* Note the portal does not report a total, so the only way to know whether a further page exists
|
|
125
|
+
* remains the `moreResultsAvailable` flag of the current page.
|
|
126
|
+
* Warning: an offset greater than the number of matching users returns no result at all.
|
|
127
|
+
*/
|
|
128
|
+
offset?: number;
|
|
129
|
+
/**
|
|
130
|
+
* Allows to search the user/contact on extended fields. [default value=false]
|
|
131
|
+
* Default value is false.
|
|
132
|
+
* In addition to the name-fields used by a "basic" search, an extended search will be carried out on addition fields
|
|
133
|
+
* such as the job title or the company name for example.
|
|
134
|
+
* The complete list of fields used in a extended search is described below.
|
|
135
|
+
* This extended search is only available to user having the feature SEARCH_BY_TAGS in their profile.
|
|
136
|
+
* If this option is set but the user does not have the feature SEARCH_BY_TAGS, the option is ignored and the search is performed in simple mode.
|
|
137
|
+
* Furthermore, a warning is logged.
|
|
138
|
+
* This option is managed differently depending on the directory type, as described below:
|
|
139
|
+
* - RAINBOW_USERS_NETWORK:
|
|
140
|
+
* The extended search is not available.
|
|
141
|
+
* - RAINBOW_USERS:
|
|
142
|
+
* This extended search applies on the following fields: firstName, lastName, company name, job title, department and tags.
|
|
143
|
+
* - RAINBOW_BUSINESS_CONTACTS_DIRECTORY:
|
|
144
|
+
* This extended search applies on the following fields: firstName, lastName, company name, job title, department and tags.
|
|
145
|
+
* - RAINBOW_PERSONAL_CONTACTS_DIRECTORY:
|
|
146
|
+
* This extended search applies on the following fields: firstName, lastName, company name, job title, department and tags.
|
|
147
|
+
* - RAINBOW_PBX_USERS:
|
|
148
|
+
* The extended search is not available.
|
|
149
|
+
* - MICROSOFT_O365_USERS:
|
|
150
|
+
* This extended search applies on the following fields: firstName, lastName, company name, job title and department.
|
|
151
|
+
* - MICROSOFT_OUTLOOK_CONTACTS:
|
|
152
|
+
* The extended search is not available.
|
|
153
|
+
*/
|
|
154
|
+
extendedMode?: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Restrict the search to the "tags" fields only (companyName, jobTitle, department, tags),
|
|
157
|
+
* excluding firstName/lastName. [default value=false]
|
|
158
|
+
* Maps to the `searchTagsOnly` query parameter of the search portal `/users` endpoint and is
|
|
159
|
+
* therefore only valid for the RAINBOW_USERS directory. It is mutually exclusive with
|
|
160
|
+
* `extendedMode` (if both are set, `tagsOnly` takes precedence).
|
|
161
|
+
* Like `extendedMode`, this is only available to users having the feature SEARCH_BY_TAGS in
|
|
162
|
+
* their profile. If the feature is missing, the option is ignored, a warning is logged and the
|
|
163
|
+
* search falls back to a simple `displayName` search.
|
|
164
|
+
*/
|
|
165
|
+
tagsOnly?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Company filter to refine the search to include or exclude users/contacts of the connected users's company,
|
|
168
|
+
* or to exclude an arbitrary company (see {@link CompanyOptions.excludedCompanyId}).
|
|
169
|
+
* Default value is null meaning that no company filter is specified.
|
|
170
|
+
* This option is only valid for searches in RAINBOW_USERS and RAINBOW_BUSINESS_CONTACTS_DIRECTORY directories.
|
|
171
|
+
* If the option is specified but not managed for the given directory type, it will be ignored.
|
|
172
|
+
*/
|
|
173
|
+
company?: CompanyOptions;
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* List of data provided as the result of a directory search.
|
|
177
|
+
*/
|
|
178
|
+
export interface DirectorySearchResults {
|
|
179
|
+
/**
|
|
180
|
+
* The list of users (as User model) matching the search criteria.
|
|
181
|
+
*/
|
|
182
|
+
users: User[];
|
|
183
|
+
/**
|
|
184
|
+
* Indicates whether there are more results available.
|
|
185
|
+
* If this flag is true and the contact/user searched for is not present in the results list, then the user can
|
|
186
|
+
* - request more results (via 'limit' option) for the same query
|
|
187
|
+
* - refine the search
|
|
188
|
+
*/
|
|
189
|
+
moreResultsAvailable: boolean;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* List of data provided as results by an internal directory search service (users, Personal, Company, O365, PBX) implemented in the Web Client.
|
|
193
|
+
* @internal
|
|
194
|
+
*/
|
|
195
|
+
export interface DirectoryInternalSearchResults {
|
|
196
|
+
/**
|
|
197
|
+
* contacts The list of items (as Contact model) matching the search criteria.
|
|
198
|
+
*/
|
|
199
|
+
contacts: Contact[];
|
|
200
|
+
/**
|
|
201
|
+
* Total number of directory entries matching the criteria
|
|
202
|
+
* If this total number is not known (e.g. not returned by the server), this field is set to undefined.
|
|
203
|
+
* NOTE: This information is not managed by DirectorySearch service and NOT returned to the client (SDK, UCaaS)
|
|
204
|
+
*/
|
|
205
|
+
total: number | undefined;
|
|
206
|
+
}
|
|
207
|
+
export interface DirectorySearchService {
|
|
208
|
+
/**
|
|
209
|
+
* This API returns the list of directories that can be used for a search by the logged-in user.
|
|
210
|
+
* @returns List of directories usable by the logged-in user.
|
|
211
|
+
*/
|
|
212
|
+
getAvailableDirectories: () => DirectoryType[];
|
|
213
|
+
/**
|
|
214
|
+
* This API allows to search Rainbow users or contacts in a specified directory.
|
|
215
|
+
* It will finds a users/contacts that match a search criteria applied on names properties; depending on the type of directory.
|
|
216
|
+
* Search options can be specified for
|
|
217
|
+
* - Managing the number of expected results.
|
|
218
|
+
* - Activating the extended search mode.
|
|
219
|
+
* This mode allows to apply the search on more extensive names fields (than first and last names); depending on the type of directory.
|
|
220
|
+
* - Refining the search the search by including an additional company criterion to include or exclude users/contacts of a company.
|
|
221
|
+
* This option is only available for certain directories.
|
|
222
|
+
*
|
|
223
|
+
* As a result, the search will return
|
|
224
|
+
* - An array of results (as User model) depending on the number parameter.
|
|
225
|
+
* - A flag indicating whether more results are available.
|
|
226
|
+
*
|
|
227
|
+
* Notes:
|
|
228
|
+
* - A search returns the first N results found, unless an 'offset' option is supplied.
|
|
229
|
+
* Pagination via 'offset' is only supported by the RAINBOW_USERS directory; every other
|
|
230
|
+
* directory always returns the first N results and ignores that option.
|
|
231
|
+
* - The total number of results is not available.
|
|
232
|
+
* @param searchPattern - The search criteria
|
|
233
|
+
* @param directory - The type of directory to be searched
|
|
234
|
+
* @param options - Options for refining the search and specifying the results to be provided.
|
|
235
|
+
* @throws Error - In the event of a problem with the options supplied (e.g. their value) or encountered during query processing.
|
|
236
|
+
*/
|
|
237
|
+
searchByName: (searchPattern: string, directory: DirectoryType, options?: DirectorySearchOptions) => Promise<DirectorySearchResults>;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @internal
|
|
241
|
+
*/
|
|
242
|
+
export declare class DirectorySearchServiceRB extends Service implements DirectorySearchService {
|
|
243
|
+
private mainService;
|
|
244
|
+
private logger;
|
|
245
|
+
private errorHelperService;
|
|
246
|
+
private profileService;
|
|
247
|
+
private contactService;
|
|
248
|
+
private directoryService;
|
|
249
|
+
private office365AdService;
|
|
250
|
+
private personalDirectoryService;
|
|
251
|
+
private companyDirectoryService;
|
|
252
|
+
private phonebookService;
|
|
253
|
+
private userInDefaultCompany;
|
|
254
|
+
/**
|
|
255
|
+
* Returns the DirectorySearch service singleton
|
|
256
|
+
*/
|
|
257
|
+
static getInstance(): DirectorySearchServiceRB;
|
|
258
|
+
static build(): DirectorySearchServiceRB;
|
|
259
|
+
private constructor();
|
|
260
|
+
start(): Promise<void>;
|
|
261
|
+
stop(): Promise<void>;
|
|
262
|
+
/**
|
|
263
|
+
* Check the options (if present) specified in the Directory search request
|
|
264
|
+
* @param directory - The type of directory to be searched
|
|
265
|
+
* @param options - The request options to check
|
|
266
|
+
* @throws Error - In the event of a problem with the options supplied, in particular their value.
|
|
267
|
+
*/
|
|
268
|
+
private checkRequestOptions;
|
|
269
|
+
/**
|
|
270
|
+
* Initializes some options with default values
|
|
271
|
+
* Adapt the limit of results to search by changing it to +1.
|
|
272
|
+
* This will allow us to know if there are more results than requested and thus manage the flag 'moreResultsAvailable'
|
|
273
|
+
* in the final response to the SDK client.
|
|
274
|
+
* @param options - The request options to initialze
|
|
275
|
+
*/
|
|
276
|
+
private fillInternalSearchOptions;
|
|
277
|
+
/**
|
|
278
|
+
* This API returns the list of directories that can be used for a search by the logged-in user.
|
|
279
|
+
*/
|
|
280
|
+
getAvailableDirectories(): DirectoryType[];
|
|
281
|
+
/**
|
|
282
|
+
* This API allows to search Rainbow users or contacts in a specified directory.
|
|
283
|
+
* It will find users/directory contacts that match a search criteria applied on names properties; depending on the type of directory.
|
|
284
|
+
* Search options can be specified for
|
|
285
|
+
* - Managing the number of expected results.
|
|
286
|
+
* - Activating the extended search mode
|
|
287
|
+
* This mode allows to apply the search on more extensive names fields (than first and last names); depending on the type of directory.
|
|
288
|
+
* - Refining the search the search by including an additional company criterion to include or exclude users/contacts of a company.
|
|
289
|
+
* This option is only available for certain directories.
|
|
290
|
+
* As a result, the search will return
|
|
291
|
+
* - An array of results (as User model) depending on the number parameter.
|
|
292
|
+
* - A flag indicating whether more results are available.
|
|
293
|
+
* Notes:
|
|
294
|
+
* - A search returns the first N results found, unless an 'offset' option is supplied.
|
|
295
|
+
* Pagination via 'offset' is only supported by the RAINBOW_USERS directory; every other
|
|
296
|
+
* directory always returns the first N results and ignores that option.
|
|
297
|
+
* - The total number of results is not available.
|
|
298
|
+
* @param searchPattern - The search criteria
|
|
299
|
+
* @param directory - The type of directory to be searched
|
|
300
|
+
* @param options - Options for refining the search and specifying the results to be provided.
|
|
301
|
+
* @throws Error - In the event of a problem with the options supplied (e.g. their value) or encountered during query processing.
|
|
302
|
+
*/
|
|
303
|
+
searchByName(searchPattern: string, directory: DirectoryType, options?: DirectorySearchOptions): Promise<DirectorySearchResults>;
|
|
304
|
+
}
|
|
305
|
+
//# sourceMappingURL=directorySearch.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"directorySearch.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/directorySearch.service.ts"],"names":[],"mappings":"AACA;;GAEG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAEhE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,2CAA2C,CAAC;AAczE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AAExD,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAK7D;;GAEG;AACH,oBAAY,aAAa;IACrB;;;;;;;OAOG;IACH,qBAAqB,0BAA0B;IAE/C;;;;;;OAMG;IACH,aAAa,kBAAkB;IAE/B;;;;;OAKG;IACH,mCAAmC,wCAAwC;IAE3E;;;;;OAKG;IACH,mCAAmC,wCAAwC;IAE3E;;;;;OAKG;IACH,iBAAiB,sBAAsB;IAEvC;;;;;OAKG;IACH,oBAAoB,yBAAyB;IAE7C;;;;;OAKG;IACH,0BAA0B,+BAA+B;CAC5D;AAED;;GAEG;AACH,oBAAY,gBAAgB;IACxB;;OAEG;IACH,UAAU,eAAe;IAEzB;;OAEG;IACH,mBAAmB,wBAAwB;CAC9C;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;;;;;;;;;OAYG;IACH,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAEhC;;;;;;;;;OASG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;;;;;;;OASG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;;;;;;;;OAS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AmB;IA8C3B;;;;;;OAMG;IACH,OAAO,CAAC,yBAAyB;IAuBjC;;OAEG;IACI,uBAAuB,IAAI,aAAa,EAAE;IAyBjD;;;;;;;;;;;;;;;;;;;;;OAqBG;IACU,YAAY,CAAC,aAAa,EAAE,MAAM,EAAE,SAAS,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,sBAAsB,GAAG,OAAO,CAAC,sBAAsB,CAAC;CAsMhJ"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Service } from "../../services/service";
|
|
2
|
+
export declare const EVENT_SVC = "EventService";
|
|
3
|
+
/**
|
|
4
|
+
* Collection of Rainbow global events.
|
|
5
|
+
*
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export declare enum EventServiceEvents {
|
|
9
|
+
/**
|
|
10
|
+
* This event is fired when Rainbow App needs to open a window popup and that user has blocked the popup usage.
|
|
11
|
+
* This event is generally used to display an information message.
|
|
12
|
+
*/
|
|
13
|
+
RAINBOW_APP_NEEDS_POPUP = "RAINBOW_APP_NEED_POPUP",
|
|
14
|
+
TOAST = "RAINBOW_TOAST"
|
|
15
|
+
}
|
|
16
|
+
export declare class EventService extends Service {
|
|
17
|
+
private $rootScope;
|
|
18
|
+
private rxSubject;
|
|
19
|
+
private listeners;
|
|
20
|
+
private events;
|
|
21
|
+
static getInstance(): EventService;
|
|
22
|
+
static build(): EventService;
|
|
23
|
+
private constructor();
|
|
24
|
+
configure($rootScope?: any): void;
|
|
25
|
+
subscribe(eventName: string, handler: any): any;
|
|
26
|
+
unsubscribe(subscription: any): void;
|
|
27
|
+
publish(eventName: string, ...args: any[]): void;
|
|
28
|
+
setVariable(varName: string, value: string): void;
|
|
29
|
+
getVariable(varName: string): any;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=event.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/event.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAGhE,eAAO,MAAM,SAAS,iBAAiB,CAAC;AAExC;;;;GAIG;AACH,oBAAY,kBAAkB;IAE1B;;;OAGG;IACH,uBAAuB,2BAA2B;IAClD,KAAK,kBAAkB;CAC1B;AAED,qBAAa,YAAa,SAAQ,OAAO;IACrC,OAAO,CAAC,UAAU,CAAa;IAE/B,OAAO,CAAC,SAAS,CAAoC;IACrD,OAAO,CAAC,SAAS,CAAW;IAC5B,OAAO,CAAC,MAAM,CAAM;WAEN,WAAW;WAIX,KAAK;IAInB,OAAO;IAYA,SAAS,CAAC,UAAU,GAAE,GAAU;IAChC,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,GAAG,GAAG;IAY/C,WAAW,CAAC,YAAY,EAAE,GAAG,GAAG,IAAI;IACpC,OAAO,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI;IAMhD,WAAW,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAI1C,WAAW,CAAC,OAAO,EAAE,MAAM;CAGrC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Subscription } from "rxjs";
|
|
2
|
+
import { Service } from "../../services/service";
|
|
3
|
+
export declare const I18N_SVC = "I18nService";
|
|
4
|
+
export declare class I18nService extends Service {
|
|
5
|
+
isInitialized: boolean;
|
|
6
|
+
private subject;
|
|
7
|
+
private translator;
|
|
8
|
+
private settingsService;
|
|
9
|
+
private loggerService;
|
|
10
|
+
static getInstance(): I18nService;
|
|
11
|
+
static build(): I18nService;
|
|
12
|
+
private constructor();
|
|
13
|
+
subscribe(observable: any): Subscription;
|
|
14
|
+
configure(translator: any): Promise<void>;
|
|
15
|
+
translate(label: string, params?: any): string;
|
|
16
|
+
getCurrentLanguage(): string;
|
|
17
|
+
private updateTranslationLanguage;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=i18n.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i18n.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/i18n.service.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEzC,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAGhE,eAAO,MAAM,QAAQ,gBAAgB,CAAC;AAyBtC,qBAAa,WAAY,SAAQ,OAAO;IAC7B,aAAa,EAAE,OAAO,CAAS;IAEtC,OAAO,CAAC,OAAO,CAAsC;IACrD,OAAO,CAAC,UAAU,CAAM;IACxB,OAAO,CAAC,eAAe,CAAkD;IACzE,OAAO,CAAC,aAAa,CAA8C;WAErD,WAAW;WACX,KAAK;IAEnB,OAAO;IAKA,SAAS,CAAC,UAAU,EAAE,GAAG,GAAG,YAAY;IAElC,SAAS,CAAC,UAAU,EAAE,GAAG;IAK/B,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,GAAE,GAAU,GAAG,MAAM;IAmBpD,kBAAkB;YAQX,yBAAyB;CA+B1C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @param avatarImg
|
|
3
|
+
* @param maxWidth
|
|
4
|
+
* @param maxHeight
|
|
5
|
+
*/
|
|
6
|
+
export declare function resizeImage(avatarImg: any, maxWidth: number, maxHeight: number): Promise<any>;
|
|
7
|
+
/**
|
|
8
|
+
* @param image
|
|
9
|
+
*/
|
|
10
|
+
export declare function getBinaryData(image: any): {
|
|
11
|
+
type: any;
|
|
12
|
+
data: Uint8Array<ArrayBuffer>;
|
|
13
|
+
};
|
|
14
|
+
export declare function getBase64Image(url: string): Promise<string>;
|
|
15
|
+
//# sourceMappingURL=imageUtils.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"imageUtils.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/imageUtils.service.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,WAAW,CAAC,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,gBAiC9E;AAED;;GAEG;AACH,wBAAgB,aAAa,CAAC,KAAK,EAAE,GAAG;;;EAUvC;AAED,wBAAsB,cAAc,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAiBjE"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export { ContactServiceEvents } from "./contact.service";
|
|
2
|
+
export type { UserNetworkService } from "./userNetwork.service";
|
|
3
|
+
export { UserNetworkServiceEvents } from "./userNetwork.service";
|
|
4
|
+
export * from "./company.service";
|
|
5
|
+
export * from "./country.service";
|
|
6
|
+
export * from "./event.service";
|
|
7
|
+
export * from "./i18n.service";
|
|
8
|
+
export * from "./imageUtils.service";
|
|
9
|
+
export * from "./logger.service";
|
|
10
|
+
export * from "./main.service";
|
|
11
|
+
export * from "./profile.service";
|
|
12
|
+
export * from "./settings.service";
|
|
13
|
+
export * from "./userInfo.service";
|
|
14
|
+
export * from "./xmpp.service";
|
|
15
|
+
export * from "./connection.service";
|
|
16
|
+
export * from "./auth.service";
|
|
17
|
+
export * from "./logging.service";
|
|
18
|
+
export * from "./account.service";
|
|
19
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/core/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,mBAAmB,CAAC;AACzD,YAAY,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,sBAAsB,CAAC;AACrC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
import { Service } from "../../services/service";
|
|
2
|
+
import { Subject } from "rxjs";
|
|
3
|
+
import { LogEntry } from "../../models/logEntry.model";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export declare const LOGGER_SVC = "LoggerService";
|
|
8
|
+
export interface ExternalLoggerInterface {
|
|
9
|
+
error: (message: string, ...args: unknown[]) => void;
|
|
10
|
+
warn: (message: string, ...args: unknown[]) => void;
|
|
11
|
+
info: (message: string, ...args: unknown[]) => void;
|
|
12
|
+
infoBlue: (message: string, ...args: unknown[]) => void;
|
|
13
|
+
infoEvent: (message: string, ...args: unknown[]) => void;
|
|
14
|
+
infoUser: (message: string, ...args: unknown[]) => void;
|
|
15
|
+
infoOrange: (message: string, ...args: unknown[]) => void;
|
|
16
|
+
log: (message: string, ...args: unknown[]) => void;
|
|
17
|
+
debug: (message: string, ...args: unknown[]) => void;
|
|
18
|
+
webrtc: (message: string, ...args: unknown[]) => void;
|
|
19
|
+
sdk: (message: string, ...args: unknown[]) => void;
|
|
20
|
+
sdkError: (message: string, ...args: unknown[]) => void;
|
|
21
|
+
}
|
|
22
|
+
export declare const LogLevelColor: Readonly<{
|
|
23
|
+
trace: "color:blue";
|
|
24
|
+
debug: "color:gray";
|
|
25
|
+
info: "color:teal";
|
|
26
|
+
infoUser: "color:darkslateblue";
|
|
27
|
+
infoEvent: "color:darkslategrey";
|
|
28
|
+
debugEvent: "color:darkslategrey";
|
|
29
|
+
infoBlue: "color:white; background: blue";
|
|
30
|
+
infoRed: "color:white; background: red";
|
|
31
|
+
infoOrange: "color:black; background: orange";
|
|
32
|
+
log: "color:teal";
|
|
33
|
+
warn: "color:red";
|
|
34
|
+
error: "color:red";
|
|
35
|
+
webrtc: "color:green";
|
|
36
|
+
}>;
|
|
37
|
+
export declare enum LogLevelEnum {
|
|
38
|
+
ERROR = 0,
|
|
39
|
+
WARNING = 1,
|
|
40
|
+
INFO = 2,
|
|
41
|
+
DEBUG = 3
|
|
42
|
+
}
|
|
43
|
+
type LogLevel = keyof typeof LogLevelColor;
|
|
44
|
+
export declare class LoggerService extends Service implements ExternalLoggerInterface {
|
|
45
|
+
/**
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
enableConsoleLog: boolean;
|
|
49
|
+
logLevel: LogLevelEnum;
|
|
50
|
+
logsBufferSize: number;
|
|
51
|
+
readonly events: Subject<LogEntry>;
|
|
52
|
+
private logsBuffer;
|
|
53
|
+
private desktopMode;
|
|
54
|
+
private externalLogger?;
|
|
55
|
+
private readonly settingsService;
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
static getInstance(): LoggerService;
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
static build(): LoggerService;
|
|
64
|
+
private constructor();
|
|
65
|
+
/**
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
computeConsoleStatus(): void;
|
|
69
|
+
/**
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
configure<T extends ExternalLoggerInterface>(externalLogger: T): void;
|
|
73
|
+
static makeObscure(str: string): string;
|
|
74
|
+
error(message: string, ...args: unknown[]): void;
|
|
75
|
+
warn(message: string, ...args: unknown[]): void;
|
|
76
|
+
info(message: string, ...args: unknown[]): void;
|
|
77
|
+
log(message: string, ...args: unknown[]): void;
|
|
78
|
+
debug(message: string, ...args: unknown[]): void;
|
|
79
|
+
/**
|
|
80
|
+
* @internal
|
|
81
|
+
*/
|
|
82
|
+
infoEvent(message: string, ...args: unknown[]): void;
|
|
83
|
+
/**
|
|
84
|
+
* @internal
|
|
85
|
+
*/
|
|
86
|
+
debugEvent(message: string, ...args: unknown[]): void;
|
|
87
|
+
/**
|
|
88
|
+
* @internal
|
|
89
|
+
*/
|
|
90
|
+
infoUser(message: string, ...args: unknown[]): void;
|
|
91
|
+
/**
|
|
92
|
+
* @internal
|
|
93
|
+
*/
|
|
94
|
+
infoBlue(message: string, ...args: unknown[]): void;
|
|
95
|
+
/**
|
|
96
|
+
* @internal
|
|
97
|
+
*/
|
|
98
|
+
infoOrange(message: string, ...args: unknown[]): void;
|
|
99
|
+
/**
|
|
100
|
+
* @internal
|
|
101
|
+
*/
|
|
102
|
+
infoRed(message: string, ...args: unknown[]): void;
|
|
103
|
+
/**
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
webrtc(message: string, ...args: unknown[]): void;
|
|
107
|
+
/**
|
|
108
|
+
* @internal
|
|
109
|
+
*/
|
|
110
|
+
sdk(message: string, ...args: unknown[]): void;
|
|
111
|
+
/**
|
|
112
|
+
* @internal
|
|
113
|
+
*/
|
|
114
|
+
sdkError(message: string, ...args: unknown[]): void;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
getLogs(): string[];
|
|
119
|
+
/**
|
|
120
|
+
* @internal
|
|
121
|
+
*/
|
|
122
|
+
logger(level: LogLevel, text: string, ...args: unknown[]): void;
|
|
123
|
+
db(level: LogLevel, module: string, method: string, params: Record<string, any>, details?: string): void;
|
|
124
|
+
private getRealLevel;
|
|
125
|
+
private getLogLevelEnum;
|
|
126
|
+
/**
|
|
127
|
+
* Clean the log buffer.
|
|
128
|
+
*/
|
|
129
|
+
clearLogs(): void;
|
|
130
|
+
/**
|
|
131
|
+
* Save the log buffer on disk in the default 'download' fodler.
|
|
132
|
+
* @param custoFilename - User custom file name that will contain all logs present in the buffer.
|
|
133
|
+
*/
|
|
134
|
+
saveLogs(custoFilename?: string): void;
|
|
135
|
+
/**
|
|
136
|
+
* Save raw data from a Blob on disk in the default 'download' fodler.
|
|
137
|
+
* @param blob - Raw data as Blob buffer
|
|
138
|
+
* @param custoFilename - User custom file name that will contain the raw data.
|
|
139
|
+
*/
|
|
140
|
+
private saveBlobToDisk;
|
|
141
|
+
}
|
|
142
|
+
export {};
|
|
143
|
+
//# sourceMappingURL=logger.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"logger.service.d.ts","sourceRoot":"","sources":["../../../src/services/core/logger.service.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAChE,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD;;GAEG;AACH,eAAO,MAAM,UAAU,kBAAkB,CAAC;AAE1C,MAAM,WAAW,uBAAuB;IACpC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACrD,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACpD,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACpD,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACxD,SAAS,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IAAI,CAAC;IACzD,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,OAAO,EAAE,KAAK,IA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