@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,605 @@
|
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import { CallRB } from "../../models/call.model";
|
|
3
|
+
import { Service } from "../../services/service";
|
|
4
|
+
import type { TelephonyService } from "../../services/telephony/telephony.service";
|
|
5
|
+
import { Contact } from "../../models/contact.model";
|
|
6
|
+
export declare const WEBRTC_GATEWAY_SVC = "WebrtcGatewayService";
|
|
7
|
+
export declare enum MPCallState {
|
|
8
|
+
Unknow = "Unknown",
|
|
9
|
+
Free = "Free",
|
|
10
|
+
WaitWebrtc = "WaitWebrtc",
|
|
11
|
+
WaitTelephony = "WaitTelephony",
|
|
12
|
+
CallOffer = "CallOffer",
|
|
13
|
+
CallOnGoing = "CallOnGoing",
|
|
14
|
+
CallActive = "CallActive",
|
|
15
|
+
CallActiveNoWebMedia = "CallActiveNoWebMedia",
|
|
16
|
+
TelCallReleasing = "TelCallReleasing",
|
|
17
|
+
WebCallReleasing = "WebCallReleasing",
|
|
18
|
+
RemoteControled = "RemoteControled",
|
|
19
|
+
AnomalyCCS = "AnomalyCCS"
|
|
20
|
+
}
|
|
21
|
+
interface MediaPillarStates {
|
|
22
|
+
mediaPillarConfigured: boolean;
|
|
23
|
+
mediaPillarAlive: boolean;
|
|
24
|
+
}
|
|
25
|
+
interface MediaPillarConnection {
|
|
26
|
+
keepAlive_TO: any;
|
|
27
|
+
mediaPillarJidArray: string[];
|
|
28
|
+
rainbowPhoneNumber: string;
|
|
29
|
+
remoteExtension: string;
|
|
30
|
+
mediaPillarStatesPool: Partial<MediaPillarStates>;
|
|
31
|
+
}
|
|
32
|
+
interface MediaPillarCallContext {
|
|
33
|
+
id: number;
|
|
34
|
+
callState: MPCallState;
|
|
35
|
+
callState_TO: any;
|
|
36
|
+
waitTelephony_TO: any;
|
|
37
|
+
isOutgoingCall3PCC: boolean;
|
|
38
|
+
telephonyCallRefs: CallRB[];
|
|
39
|
+
webrtcCallRef: any;
|
|
40
|
+
previousCallConnectionId: string;
|
|
41
|
+
previousCallStatus: string;
|
|
42
|
+
updateContactFlag: boolean;
|
|
43
|
+
getMediaPillarJid: any;
|
|
44
|
+
onGoingCallMediaPillarJid: string;
|
|
45
|
+
callOwnerForOxoMultiClientFlag: boolean;
|
|
46
|
+
}
|
|
47
|
+
export declare class WebrtcGatewayService extends Service {
|
|
48
|
+
private portalURL;
|
|
49
|
+
started: boolean;
|
|
50
|
+
private listeners;
|
|
51
|
+
private myContact;
|
|
52
|
+
private mediaPillarContact;
|
|
53
|
+
private mediaPillarConfigured;
|
|
54
|
+
private mediaPillarAlive;
|
|
55
|
+
private evtQueue;
|
|
56
|
+
private SEM;
|
|
57
|
+
private mediaPillarPollingSelected;
|
|
58
|
+
private TO_transition;
|
|
59
|
+
private TO_transition_long;
|
|
60
|
+
private TO_NoWebMedia;
|
|
61
|
+
private TO_NoWebMediaNotel;
|
|
62
|
+
private TO_PILLAR_POLLING;
|
|
63
|
+
private TO_waitTelephony;
|
|
64
|
+
private mediaPillarKeepAliveSuspend;
|
|
65
|
+
private keepAliveIterationCpt;
|
|
66
|
+
mediaPillarConnection: MediaPillarConnection;
|
|
67
|
+
mediaPillarCallContext: MediaPillarCallContext;
|
|
68
|
+
mediaPillarCallContexts: MediaPillarCallContext[];
|
|
69
|
+
mediaPillarCallContextId: number;
|
|
70
|
+
private isMixPstnWebRtcAllowed;
|
|
71
|
+
private systemId;
|
|
72
|
+
private displayName;
|
|
73
|
+
private oxeBusyCapability;
|
|
74
|
+
private systDeviceName;
|
|
75
|
+
private startRetryTimer;
|
|
76
|
+
private xmppConnectionSubscription;
|
|
77
|
+
private subscriptions;
|
|
78
|
+
rxSubject: Subject<any>;
|
|
79
|
+
private mainService;
|
|
80
|
+
private xmppService;
|
|
81
|
+
private logger;
|
|
82
|
+
private authService;
|
|
83
|
+
private profileService;
|
|
84
|
+
private errorHelperService;
|
|
85
|
+
private contactService;
|
|
86
|
+
private eventService;
|
|
87
|
+
private webrtcConfigAndUtils;
|
|
88
|
+
private settingsService;
|
|
89
|
+
private conversationService;
|
|
90
|
+
private userService;
|
|
91
|
+
private webrtcP2PService;
|
|
92
|
+
telephonyService: TelephonyService;
|
|
93
|
+
private supervisionService;
|
|
94
|
+
static getInstance(): WebrtcGatewayService;
|
|
95
|
+
static build(): WebrtcGatewayService;
|
|
96
|
+
protected constructor();
|
|
97
|
+
/**
|
|
98
|
+
* Start service method
|
|
99
|
+
* @public
|
|
100
|
+
* @memberof WebrtcGatewayService
|
|
101
|
+
*/
|
|
102
|
+
start(): Promise<void>;
|
|
103
|
+
private telConfigChanged;
|
|
104
|
+
stop(): void;
|
|
105
|
+
private setMediaPillarConfigured;
|
|
106
|
+
private onCallEventPreProcessing;
|
|
107
|
+
/**
|
|
108
|
+
* Method onCallEvent
|
|
109
|
+
* @private
|
|
110
|
+
* @memberof WebrtcGatewayService
|
|
111
|
+
* Manage call events (but only if media pillar situation)
|
|
112
|
+
* @param __event
|
|
113
|
+
* @param call
|
|
114
|
+
* @param infoEvt
|
|
115
|
+
*/
|
|
116
|
+
private onCallEvent;
|
|
117
|
+
/**
|
|
118
|
+
* Method processEvt
|
|
119
|
+
* @private
|
|
120
|
+
* @param callEvent
|
|
121
|
+
* @memberof WebrtcGatewayService
|
|
122
|
+
* Event processing
|
|
123
|
+
*/
|
|
124
|
+
private processEvt;
|
|
125
|
+
getOrCreateMediaPIllarCallContext(call: CallRB): MediaPillarCallContext | null;
|
|
126
|
+
getOrCreateContextForTelCall(call: CallRB): MediaPillarCallContext | null;
|
|
127
|
+
getOrCreateContextForWebrtcCallIncoming(call: CallRB): MediaPillarCallContext;
|
|
128
|
+
getContextForWebrtcCallExisting(call: CallRB): MediaPillarCallContext | undefined;
|
|
129
|
+
createMediaPIllarCallContext(): MediaPillarCallContext;
|
|
130
|
+
/**
|
|
131
|
+
* Method releaseMediaPillarCallContext
|
|
132
|
+
* @public
|
|
133
|
+
* @memberof WebrtcGatewayService
|
|
134
|
+
* Allow to free the media pillar call context (all field except mediaPillarJid)
|
|
135
|
+
* but do not check the associated calls (tel and webrtc)
|
|
136
|
+
* @param mediaPillarCallContext
|
|
137
|
+
*/
|
|
138
|
+
releaseMediaPillarCallContext(mediaPillarCallContext?: MediaPillarCallContext): void;
|
|
139
|
+
/**
|
|
140
|
+
* Method resetEvtAutomaton
|
|
141
|
+
* @public
|
|
142
|
+
* @memberof WebrtcGatewayService
|
|
143
|
+
* Allow to reset the eventing automaton
|
|
144
|
+
* linked to onCallEvent
|
|
145
|
+
*/
|
|
146
|
+
resetEvtAutomaton(): void;
|
|
147
|
+
/**
|
|
148
|
+
* Method stopCallStateTimeOut
|
|
149
|
+
* @private
|
|
150
|
+
* @memberof WebrtcGatewayService
|
|
151
|
+
* @param mediaPillarCallContext
|
|
152
|
+
*/
|
|
153
|
+
private stopCallStateTimeOut;
|
|
154
|
+
/**
|
|
155
|
+
* Method stopWaitTelephonyTimeOut
|
|
156
|
+
* @private
|
|
157
|
+
* @memberof WebrtcGatewayService
|
|
158
|
+
* @param mediaPillarCallContext
|
|
159
|
+
*/
|
|
160
|
+
private stopWaitTelephonyTimeOut;
|
|
161
|
+
/**
|
|
162
|
+
* Method onRemoteCtrlCall
|
|
163
|
+
* @private
|
|
164
|
+
* @memberof WebrtcGatewayService
|
|
165
|
+
* Traitment of multi ressources case when other ressource manage the call
|
|
166
|
+
* @param __event
|
|
167
|
+
* @param call
|
|
168
|
+
*/
|
|
169
|
+
private onRemoteCtrlCall;
|
|
170
|
+
/**
|
|
171
|
+
* Method onRemoteReservedCall
|
|
172
|
+
* @private
|
|
173
|
+
* @memberof WebrtcGatewayService
|
|
174
|
+
* Traitment of multi ressources case when other ressource reserve the call
|
|
175
|
+
* @param __event
|
|
176
|
+
* @param call
|
|
177
|
+
*/
|
|
178
|
+
private onRemoteReservedCall;
|
|
179
|
+
/**
|
|
180
|
+
* Method addTelCallRefs
|
|
181
|
+
* @private
|
|
182
|
+
* @memberof WebrtcGatewayService
|
|
183
|
+
* add/push telcall ref in telephonyCallRefs if not already in
|
|
184
|
+
* @param callRef
|
|
185
|
+
*/
|
|
186
|
+
private addTelCallRefs;
|
|
187
|
+
/**
|
|
188
|
+
* Method removeTelCallRefs
|
|
189
|
+
* @private
|
|
190
|
+
* @memberof WebrtcGatewayService
|
|
191
|
+
* remove telcall ref in telephonyCallRefs
|
|
192
|
+
* @param callRef
|
|
193
|
+
*/
|
|
194
|
+
private removeTelCallRefs;
|
|
195
|
+
/**
|
|
196
|
+
* Method putAsMasterTelCallRefs
|
|
197
|
+
* @private
|
|
198
|
+
* @memberof WebrtcGatewayService
|
|
199
|
+
* The telephonyCallRefs[0] is intended to be the main telcall ref
|
|
200
|
+
* usually the one which was handled as 1st to mediaPillaryse the call
|
|
201
|
+
* @param callRef
|
|
202
|
+
*/
|
|
203
|
+
private putAsMasterTelCallRefs;
|
|
204
|
+
/**
|
|
205
|
+
* Method isMasterTelCallRefs
|
|
206
|
+
* @public
|
|
207
|
+
* @memberof WebrtcGatewayService
|
|
208
|
+
* return true if callRef is the master telcallref
|
|
209
|
+
* @param callRef
|
|
210
|
+
*/
|
|
211
|
+
isMasterTelCallRefs(callRef: CallRB | undefined): boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Method isInTelCallRefs
|
|
214
|
+
* @private
|
|
215
|
+
* @memberof WebrtcGatewayService
|
|
216
|
+
* @returns true if callRef is in telephonyCallRefs
|
|
217
|
+
* @param callRef
|
|
218
|
+
*/
|
|
219
|
+
private isInTelCallRefs;
|
|
220
|
+
/**
|
|
221
|
+
* Method replaceCallRefs
|
|
222
|
+
* @private
|
|
223
|
+
* @memberof WebrtcGatewayService
|
|
224
|
+
* replace one callref with another
|
|
225
|
+
* @param newCallRef
|
|
226
|
+
* @param oldCallRef
|
|
227
|
+
*/
|
|
228
|
+
replaceCallRefs(newCallRef: CallRB | undefined, oldCallRef: CallRB | undefined): void;
|
|
229
|
+
/**
|
|
230
|
+
* Method automatonDefenseTimout
|
|
231
|
+
* @private
|
|
232
|
+
* @memberof WebrtcGatewayService
|
|
233
|
+
* @param call
|
|
234
|
+
* @param mediaPillarCallContext
|
|
235
|
+
*/
|
|
236
|
+
private automatonDefenseTimout;
|
|
237
|
+
/** ======================================================================================== */
|
|
238
|
+
/** ==================================== TELEPHONY EVENT =================================== */
|
|
239
|
+
/** ======================================================================================== */
|
|
240
|
+
/**
|
|
241
|
+
* Method onTelCallIncomming
|
|
242
|
+
* @private
|
|
243
|
+
* @param call - the call
|
|
244
|
+
* @memberof WebrtcGatewayService
|
|
245
|
+
*/
|
|
246
|
+
private onTelCallIncomming;
|
|
247
|
+
/**
|
|
248
|
+
* Method onTelCallDialling
|
|
249
|
+
* @private
|
|
250
|
+
* @param call - the tel call
|
|
251
|
+
* @memberof WebrtcGatewayService
|
|
252
|
+
*/
|
|
253
|
+
private onTelCallDialling;
|
|
254
|
+
/**
|
|
255
|
+
* Method onTelCallOutgoing
|
|
256
|
+
* @private
|
|
257
|
+
* @param call - the tel call
|
|
258
|
+
* @memberof WebrtcGatewayService
|
|
259
|
+
*/
|
|
260
|
+
private onTelCallOutgoing;
|
|
261
|
+
/**
|
|
262
|
+
* Method onTelCallActive
|
|
263
|
+
* @private
|
|
264
|
+
* @param call - the tel call
|
|
265
|
+
* @memberof WebrtcGatewayService
|
|
266
|
+
*/
|
|
267
|
+
private onTelCallActive;
|
|
268
|
+
/**
|
|
269
|
+
* Method onTelCallReleasing
|
|
270
|
+
* @private
|
|
271
|
+
* @param call - the tel call
|
|
272
|
+
* @memberof WebrtcGatewayService
|
|
273
|
+
*/
|
|
274
|
+
private onTelCallReleasing;
|
|
275
|
+
/** ======================================================================================== */
|
|
276
|
+
/** ==================================== WEBRTC EVENT ==================================== */
|
|
277
|
+
/** ======================================================================================== */
|
|
278
|
+
/**
|
|
279
|
+
* Method onWebrtcCallIncomming
|
|
280
|
+
* @private
|
|
281
|
+
* @param call - the call
|
|
282
|
+
* @memberof WebrtcGatewayService
|
|
283
|
+
*/
|
|
284
|
+
private onWebrtcCallIncomming;
|
|
285
|
+
/**
|
|
286
|
+
* Method onWebrtcCallConnecting
|
|
287
|
+
* @private
|
|
288
|
+
* @param call - the webrtc call
|
|
289
|
+
* @memberof WebrtcGatewayService
|
|
290
|
+
*/
|
|
291
|
+
private onWebrtcCallConnecting;
|
|
292
|
+
/**
|
|
293
|
+
* Method onWebrtcCallActive
|
|
294
|
+
* @private
|
|
295
|
+
* @param call - the webrtc call
|
|
296
|
+
* @memberof WebrtcGatewayService
|
|
297
|
+
*/
|
|
298
|
+
private onWebrtcCallActive;
|
|
299
|
+
/**
|
|
300
|
+
* Method onWebrtcCallAnswering
|
|
301
|
+
* @private
|
|
302
|
+
* @param call - the webrtc call
|
|
303
|
+
* @memberof WebrtcGatewayService
|
|
304
|
+
*/
|
|
305
|
+
private onWebrtcCallAnswering;
|
|
306
|
+
/**
|
|
307
|
+
* Method onWebrtcCallReleasing
|
|
308
|
+
* @private
|
|
309
|
+
* @param call - the webrtc call
|
|
310
|
+
* @memberof WebrtcGatewayService
|
|
311
|
+
*/
|
|
312
|
+
private onWebrtcCallReleasing;
|
|
313
|
+
/**
|
|
314
|
+
* Method waitTelephonyTimeout
|
|
315
|
+
* @private
|
|
316
|
+
* @memberof WebrtcGatewayService
|
|
317
|
+
* No incoming telephony call received before timeout
|
|
318
|
+
* We display an incoming call popup with the mediapillar webrtc call if no call exists on secondary device
|
|
319
|
+
* @param call
|
|
320
|
+
* @param mediaPillarCallContext
|
|
321
|
+
*/
|
|
322
|
+
private waitTelephonyTimeout;
|
|
323
|
+
/**
|
|
324
|
+
* Method releasePbxCallIfPbxConnectionDown
|
|
325
|
+
* @private
|
|
326
|
+
* @memberof WebrtcGatewayService
|
|
327
|
+
* release the active pbx call if the pbx connection is down: this is called when we receive the session termination on the mp webrtc call
|
|
328
|
+
*/
|
|
329
|
+
private releasePbxCallIfPbxConnectionDown;
|
|
330
|
+
/**
|
|
331
|
+
* Method mediaPillarMakeCall1PCC
|
|
332
|
+
* @private
|
|
333
|
+
* @param phoneNumber - the number to join by mediaPillar
|
|
334
|
+
* @param contact - the called contact if available
|
|
335
|
+
* @returns the 1PCC call object
|
|
336
|
+
* @memberof WebrtcGatewayService
|
|
337
|
+
* make a media pillar call 1PCC to the phoneNumber
|
|
338
|
+
*/
|
|
339
|
+
mediaPillarMakeCall1PCC(phoneNumber: string, contact?: Contact): CallRB;
|
|
340
|
+
/**
|
|
341
|
+
* Method mediaPillarReleaseCall1PCC
|
|
342
|
+
* @private
|
|
343
|
+
* @param call - the 1PCC call to release
|
|
344
|
+
* @memberof WebrtcGatewayService
|
|
345
|
+
* release media pillar call 1PCC previously initiated
|
|
346
|
+
*/
|
|
347
|
+
mediaPillarReleaseCall1PCC(call: CallRB): void;
|
|
348
|
+
/**
|
|
349
|
+
* Method mediaPillarMakeCall
|
|
350
|
+
* @private
|
|
351
|
+
* @param phoneNumber - the number to join by mediaPillar
|
|
352
|
+
* @param contact - the called contact if available
|
|
353
|
+
* @memberof WebrtcGatewayService
|
|
354
|
+
* make a media pillar call to the phoneNumber
|
|
355
|
+
*/
|
|
356
|
+
mediaPillarMakeCall(phoneNumber: string, contact?: Contact): void;
|
|
357
|
+
/**
|
|
358
|
+
* Method mediaPillarStartCall
|
|
359
|
+
* @private
|
|
360
|
+
* @param call - the call to abort
|
|
361
|
+
* @param phoneNumber - the number to join by mediaPillar
|
|
362
|
+
* @param mediaPillarJid
|
|
363
|
+
* @memberof WebrtcGatewayService
|
|
364
|
+
*/
|
|
365
|
+
private mediaPillarStartCall;
|
|
366
|
+
/**
|
|
367
|
+
* Method abortCall
|
|
368
|
+
* @private
|
|
369
|
+
* @param call - the call to abort
|
|
370
|
+
* @memberof WebrtcGatewayService
|
|
371
|
+
*/
|
|
372
|
+
private abortCall;
|
|
373
|
+
/**
|
|
374
|
+
* Method initiateMediaPillarCall
|
|
375
|
+
* @private
|
|
376
|
+
* @memberof WebrtcGatewayService
|
|
377
|
+
* inspired by webrtcP2PServiceEventHandler.prototype.sendProposition
|
|
378
|
+
* @param call
|
|
379
|
+
*/
|
|
380
|
+
private initiateMediaPillarCall;
|
|
381
|
+
/**
|
|
382
|
+
* Method registerOneMediaPillar
|
|
383
|
+
* @private
|
|
384
|
+
* @memberof WebrtcGatewayService
|
|
385
|
+
* @param MPJid
|
|
386
|
+
*/
|
|
387
|
+
private registerOneMediaPillar;
|
|
388
|
+
/**
|
|
389
|
+
* Method registerMediaPillarPool
|
|
390
|
+
* @private
|
|
391
|
+
* @memberof WebrtcGatewayService
|
|
392
|
+
*/
|
|
393
|
+
private registerMediaPillarPool;
|
|
394
|
+
/**
|
|
395
|
+
* Method getMediaPillarData
|
|
396
|
+
* @public
|
|
397
|
+
* @returns the mediaPillarJid data associated to the system & user
|
|
398
|
+
* @memberof WebrtcGatewayService
|
|
399
|
+
*/
|
|
400
|
+
getMediaPillarData(): Promise<string[]>;
|
|
401
|
+
/**
|
|
402
|
+
* Method mediaPillarKeepAlivePolling
|
|
403
|
+
* @private
|
|
404
|
+
* @param cmd - the keep alive command
|
|
405
|
+
* @param timer - the keep alive timer
|
|
406
|
+
* @memberof WebrtcGatewayService
|
|
407
|
+
*/
|
|
408
|
+
private mediaPillarKeepAlivePolling;
|
|
409
|
+
/**
|
|
410
|
+
* Method mediaPillarUserSelectAndPolling
|
|
411
|
+
* @public
|
|
412
|
+
* @param selected - selected, true if MP is selected in nomadic menu
|
|
413
|
+
* @memberof WebrtcGatewayService
|
|
414
|
+
*/
|
|
415
|
+
mediaPillarUserSelectAndPolling(selected: boolean): void;
|
|
416
|
+
/**
|
|
417
|
+
* Method mediaPillarKeepAlive
|
|
418
|
+
* @private
|
|
419
|
+
* @memberof WebrtcGatewayService
|
|
420
|
+
*/
|
|
421
|
+
mediaPillarKeepAlive(): Promise<void>;
|
|
422
|
+
/**
|
|
423
|
+
* Method forceMPpooling
|
|
424
|
+
* @public
|
|
425
|
+
* @memberof WebrtcGatewayService
|
|
426
|
+
*/
|
|
427
|
+
forceMPpooling(): void;
|
|
428
|
+
/**
|
|
429
|
+
* Method isMediaPillarPoolConfigured
|
|
430
|
+
* @private
|
|
431
|
+
* @returns true if at least one MP is configured (or the specified one when jid is given as parameter)
|
|
432
|
+
* @memberof WebrtcGatewayService
|
|
433
|
+
* @param MPJid - when null check all MPs for at least one configured else check only the given MP jid
|
|
434
|
+
*/
|
|
435
|
+
isMediaPillarPoolConfigured(MPJid: string): boolean;
|
|
436
|
+
/**
|
|
437
|
+
* Method isMediaPillarPoolAlive
|
|
438
|
+
* @private
|
|
439
|
+
* @returns true if at least one MP is alive (or the specified one when jid is given as parameter)
|
|
440
|
+
* @memberof WebrtcGatewayService
|
|
441
|
+
* @param MPJid - when null check all MPs for at least one alive else check only the given MP jid
|
|
442
|
+
*/
|
|
443
|
+
isMediaPillarPoolAlive(MPJid: string): boolean;
|
|
444
|
+
/**
|
|
445
|
+
* Method getAllMediaPillarJid
|
|
446
|
+
* @public
|
|
447
|
+
* @returns all mediaPillar Jid
|
|
448
|
+
* @memberof WebrtcGatewayService
|
|
449
|
+
*/
|
|
450
|
+
getAllMediaPillarJid(): string[];
|
|
451
|
+
/**
|
|
452
|
+
* Method getDefaultMediaPillarJid
|
|
453
|
+
* @public
|
|
454
|
+
* @returns the default mediaPillar Jid
|
|
455
|
+
* @memberof WebrtcGatewayService
|
|
456
|
+
*/
|
|
457
|
+
getDefaultMediaPillarJid(): string;
|
|
458
|
+
/**
|
|
459
|
+
* Method getOnGoingMediaPillarJid
|
|
460
|
+
* @public
|
|
461
|
+
* @returns the current mediaPillar Jid for active call (default otherwise)
|
|
462
|
+
* @memberof WebrtcGatewayService
|
|
463
|
+
*/
|
|
464
|
+
getOnGoingMediaPillarJid(): string;
|
|
465
|
+
/**
|
|
466
|
+
* Method getMyMediaPillarRemoteExtension
|
|
467
|
+
* @public
|
|
468
|
+
* @returns my mediaPillar remote extension ("" if not already obtained from server )
|
|
469
|
+
* @memberof WebrtcGatewayService
|
|
470
|
+
*/
|
|
471
|
+
getMyMediaPillarRemoteExtension(): string;
|
|
472
|
+
/**
|
|
473
|
+
* Method shouldUseMediaPillar
|
|
474
|
+
* @public
|
|
475
|
+
* @returns true if media pillar should be used for PBX calls
|
|
476
|
+
* @memberof WebrtcGatewayService
|
|
477
|
+
*/
|
|
478
|
+
shouldUseMediaPillar(): boolean;
|
|
479
|
+
/**
|
|
480
|
+
* Method isMediaPillarConfigured
|
|
481
|
+
* @public
|
|
482
|
+
* @returns true if media pillar is configured for this user (configuration + rights)
|
|
483
|
+
* @memberof WebrtcGatewayService
|
|
484
|
+
*/
|
|
485
|
+
isMediaPillarConfigured(): boolean;
|
|
486
|
+
/**
|
|
487
|
+
* Method isMediaPillarAvailable
|
|
488
|
+
* @public
|
|
489
|
+
* @returns true if media pillar is available for this user (configuration + infra Up)
|
|
490
|
+
* @memberof WebrtcGatewayService
|
|
491
|
+
*/
|
|
492
|
+
isMediaPillarAvailable(): boolean;
|
|
493
|
+
/**
|
|
494
|
+
* Method isMediaPillarUserSelected
|
|
495
|
+
* @public
|
|
496
|
+
* @returns true if media pillar is selected (through Nomadic) for this user
|
|
497
|
+
* @memberof WebrtcGatewayService
|
|
498
|
+
*/
|
|
499
|
+
isMediaPillarUserSelected(): boolean;
|
|
500
|
+
/**
|
|
501
|
+
* Method isMediaPillarJid
|
|
502
|
+
* @public
|
|
503
|
+
* @param fromJid - the from jid
|
|
504
|
+
* @returns true if it is the media pillar Jid
|
|
505
|
+
* @memberof WebrtcGatewayService
|
|
506
|
+
*/
|
|
507
|
+
isMediaPillarJid(fromJid: string): boolean;
|
|
508
|
+
/**
|
|
509
|
+
* Method isMediaPillarCallCase
|
|
510
|
+
* @public
|
|
511
|
+
* @returns true if Media pillar call
|
|
512
|
+
* @memberof WebrtcGatewayService
|
|
513
|
+
* check only the media pillar profile
|
|
514
|
+
*/
|
|
515
|
+
isMediaPillarCallCase(): boolean;
|
|
516
|
+
/**
|
|
517
|
+
* Method isMediaPillarSituation
|
|
518
|
+
* @public
|
|
519
|
+
* @param call - a call
|
|
520
|
+
* @returns true if Media pillar call situation
|
|
521
|
+
* @memberof WebrtcGatewayService
|
|
522
|
+
* In all cases test profile and Media pilar availability
|
|
523
|
+
* If call provided check also that the call is linked to the centralized media pillar context
|
|
524
|
+
* or if from jid is media pillar
|
|
525
|
+
*/
|
|
526
|
+
isMediaPillarCallSituation(call?: CallRB): boolean;
|
|
527
|
+
/**
|
|
528
|
+
* Method mediaPillaryseTheCall
|
|
529
|
+
* @public
|
|
530
|
+
* @param telephonyCall the telephonic call ref
|
|
531
|
+
* @param webrtcCall the web rtc call ref
|
|
532
|
+
* @returns operation status
|
|
533
|
+
* @memberof WebrtcGatewayService
|
|
534
|
+
*/
|
|
535
|
+
mediaPillaryseTheCall(telephonyCall: CallRB, webrtcCall: CallRB): string;
|
|
536
|
+
/**
|
|
537
|
+
* Method getMediaPillarCallContext
|
|
538
|
+
* @public
|
|
539
|
+
* @returns the media pillar call context
|
|
540
|
+
* @memberof WebrtcGatewayService
|
|
541
|
+
* Allow to link a call (tel or webrtc) to the media pillar call context
|
|
542
|
+
* @param call
|
|
543
|
+
*/
|
|
544
|
+
getMediaPillarCallContext(call?: CallRB): MediaPillarCallContext;
|
|
545
|
+
/**
|
|
546
|
+
* Method isMediaPillarOutgoingCall
|
|
547
|
+
* @public
|
|
548
|
+
* @returns true if outgoing 3PCC call
|
|
549
|
+
* @memberof WebrtcGatewayService
|
|
550
|
+
* return true if the mediaPillarCallContext is used for an outgoing 3PCC call
|
|
551
|
+
*/
|
|
552
|
+
isMediaPillarOutgoingCall(): boolean;
|
|
553
|
+
/**
|
|
554
|
+
* Method isMediaPillarActivableCall
|
|
555
|
+
* @private
|
|
556
|
+
* @returns true if
|
|
557
|
+
* @memberof WebrtcGatewayService
|
|
558
|
+
* return true if
|
|
559
|
+
*/
|
|
560
|
+
/**
|
|
561
|
+
* Method isMediaPillarReleasableCall
|
|
562
|
+
* @private
|
|
563
|
+
* @returns true if
|
|
564
|
+
* @memberof WebrtcGatewayService
|
|
565
|
+
*/
|
|
566
|
+
private isMediaPillarReleasableCall;
|
|
567
|
+
/**
|
|
568
|
+
* Method mediaPillarReleaseWebrtcCall
|
|
569
|
+
* @public
|
|
570
|
+
* @memberof WebrtcGatewayService
|
|
571
|
+
* release only webrtc call (not tel part)
|
|
572
|
+
* @param mediaPillarCallContext
|
|
573
|
+
*/
|
|
574
|
+
mediaPillarReleaseWebrtcCall(mediaPillarCallContext: MediaPillarCallContext): void;
|
|
575
|
+
/**
|
|
576
|
+
* Method timeOutCallActiveNoWebMedia
|
|
577
|
+
* @public
|
|
578
|
+
* @memberof WebrtcGatewayService
|
|
579
|
+
* @param mediaPillarCallContext
|
|
580
|
+
*/
|
|
581
|
+
timeOutCallActiveNoWebMedia(mediaPillarCallContext: MediaPillarCallContext): void;
|
|
582
|
+
/**
|
|
583
|
+
* Method mediaPillarCallTerminator
|
|
584
|
+
* @public
|
|
585
|
+
* @memberof WebrtcGatewayService
|
|
586
|
+
* Deep release of media pillar context including release of associated calls
|
|
587
|
+
* @param mediaPillarCallContext
|
|
588
|
+
*/
|
|
589
|
+
mediaPillarCallTerminator(mediaPillarCallContext?: MediaPillarCallContext): void;
|
|
590
|
+
/**
|
|
591
|
+
* @param jid
|
|
592
|
+
*/
|
|
593
|
+
private createMediaPillarContact;
|
|
594
|
+
muteAudio(pbxCall: any, muted: any, conversation: any): void;
|
|
595
|
+
private getActivePbxCall;
|
|
596
|
+
/**
|
|
597
|
+
* @param call
|
|
598
|
+
*/
|
|
599
|
+
answerCall(call: CallRB): Promise<void>;
|
|
600
|
+
actionOnActiveCallIfNecessary(incomingcall: CallRB): Promise<any>;
|
|
601
|
+
releaseCall(call: CallRB): void;
|
|
602
|
+
private specialCaseNotComputerModeButMPCall;
|
|
603
|
+
}
|
|
604
|
+
export {};
|
|
605
|
+
//# sourceMappingURL=webrtcGateway.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webrtcGateway.service.d.ts","sourceRoot":"","sources":["../../../src/services/webrtcGateway/webrtcGateway.service.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAC/B,OAAO,EAAa,MAAM,EAAwB,MAAM,wCAAwC,CAAC;AAEjG,OAAO,EAAE,OAAO,EAAE,MAAM,uCAAuC,CAAC;AAWhE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2DAA2D,CAAC;AAWlG,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAUrD,eAAO,MAAM,kBAAkB,y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AKG;IACI,2BAA2B,CAAC,sBAAsB,EAAE,sBAAsB;IAUjF;;;;;;OAMG;IACI,yBAAyB,CAAC,sBAAsB,CAAC,EAAE,sBAAsB;IA4BhF;;OAEG;IACH,OAAO,CAAC,wBAAwB;IAwBzB,SAAS,CAAC,OAAO,KAAA,EAAE,KAAK,KAAA,EAAE,YAAY,KAAA;IA4C7C,OAAO,CAAC,gBAAgB;IASxB;;OAEG;IACU,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAqEvC,6BAA6B,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,GAAG,CAAC;IAsBvE,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAiCtC,OAAO,CAAC,mCAAmC;CAsC9C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"strophejs.d.ts","sourceRoot":"","sources":["../src/strophejs.ts"],"names":[],"mappings":"AACA,OAAO,4BAA4B,CAAC;AAQpC,wBAAgB,WAAW,SAK1B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/typings/helpers.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,CAAC,CAAC,IAAI,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;AAC7C,MAAM,MAAM,UAAU,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"allSettled.d.ts","sourceRoot":"","sources":["../../src/utils/allSettled.ts"],"names":[],"mappings":"AAAA,wBAAgB,UAAU,CAAC,QAAQ,KAAA,kBAQlC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Anonymisation modes available depending on the data categories and classification rules
|
|
3
|
+
* defined in document 'Rainbow — PII Masking Policy for ClientApplications Log Files'
|
|
4
|
+
*/
|
|
5
|
+
export declare enum AnonymizeMode {
|
|
6
|
+
/** Replace every character (except spaces) with '*' */
|
|
7
|
+
FULL = "FULL",
|
|
8
|
+
/** Anonymize a person's name: First name / Last name / Nickname*/
|
|
9
|
+
NAME = "NAME",
|
|
10
|
+
/** Anonymize a phone number */
|
|
11
|
+
PHONENUMBER = "PHONENUMBER",
|
|
12
|
+
/** Anonymize an email address */
|
|
13
|
+
EMAIL = "EMAIL",
|
|
14
|
+
/** Anonymize an IP address (v4 or v6) */
|
|
15
|
+
IPADDR = "IPADDR",
|
|
16
|
+
/** Anonymize a MAC address */
|
|
17
|
+
MACADDR = "MACADDR"
|
|
18
|
+
}
|
|
19
|
+
declare const _default: (text: string) => string | null;
|
|
20
|
+
export default _default;
|
|
21
|
+
/**
|
|
22
|
+
* Anonymizes a string according to the given mode, following the PII Masking Policy.
|
|
23
|
+
* @param mode - The anonymization strategy to apply (see {@link AnonymizeMode})
|
|
24
|
+
* @param data - The string to anonymize
|
|
25
|
+
* @returns The anonymized string, or an empty string if data is falsy
|
|
26
|
+
*/
|
|
27
|
+
export declare function anonymize(mode: AnonymizeMode, data: string): string;
|
|
28
|
+
//# sourceMappingURL=anonymizer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anonymizer.d.ts","sourceRoot":"","sources":["../../src/utils/anonymizer.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,oBAAY,aAAa;IACrB,uDAAuD;IACvD,IAAI,SAAS;IAEb,kEAAkE;IAClE,IAAI,SAAS;IAEb,+BAA+B;IAC/B,WAAW,gBAAgB;IAE3B,iCAAiC;IACjC,KAAK,UAAU;IAEf,yCAAyC;IACzC,MAAM,WAAW;IAEjB,8BAA8B;IAC9B,OAAO,YAAY;CACtB;yBAOe,MAAM,MAAM,KAAG,MAAM,GAAG,IAAI;AAA5C,wBAUE;AAOF;;;;;GAKG;AACH,wBAAgB,SAAS,CAAC,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,GAAG,MAAM,CAwGnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"branded.d.ts","sourceRoot":"","sources":["../../src/utils/branded.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,OAAO,CAAC,CAAC,EAAE,QAAQ,IAAI,CAAC,GAAG;IAAE,OAAO,EAAE,QAAQ,CAAC;CAAE,CAAC"}
|