@ethora/chat-component-rn 26.10.9 → 26.10.11
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/CHANGELOG.md +17 -0
- package/README.md +126 -1
- package/lib/commonjs/booking/index.js +44 -0
- package/lib/commonjs/booking/index.js.map +1 -0
- package/lib/commonjs/booking/pendingScheduledCall.js +275 -0
- package/lib/commonjs/booking/pendingScheduledCall.js.map +1 -0
- package/lib/commonjs/booking/scheduleForm.js +91 -0
- package/lib/commonjs/booking/scheduleForm.js.map +1 -0
- package/lib/commonjs/booking/scheduledCall.js +141 -0
- package/lib/commonjs/booking/scheduledCall.js.map +1 -0
- package/lib/commonjs/booking/scheduledCallActions.js +128 -0
- package/lib/commonjs/booking/scheduledCallActions.js.map +1 -0
- package/lib/commonjs/booking/scheduledCallLink.js +143 -0
- package/lib/commonjs/booking/scheduledCallLink.js.map +1 -0
- package/lib/commonjs/booking/scheduledCallStore.js +64 -0
- package/lib/commonjs/booking/scheduledCallStore.js.map +1 -0
- package/lib/commonjs/booking/startRoomCall.js +84 -0
- package/lib/commonjs/booking/startRoomCall.js.map +1 -0
- package/lib/commonjs/calls/callBusy.js +18 -0
- package/lib/commonjs/calls/callBusy.js.map +1 -0
- package/lib/commonjs/calls/callDisplay.js +73 -0
- package/lib/commonjs/calls/callDisplay.js.map +1 -0
- package/lib/commonjs/calls/callMode.js +175 -0
- package/lib/commonjs/calls/callMode.js.map +1 -0
- package/lib/commonjs/calls/declineReport.js +20 -0
- package/lib/commonjs/calls/declineReport.js.map +1 -0
- package/lib/commonjs/calls/p2p/P2PCallController.js +724 -0
- package/lib/commonjs/calls/p2p/P2PCallController.js.map +1 -0
- package/lib/commonjs/calls/p2p/icePolicy.js +107 -0
- package/lib/commonjs/calls/p2p/icePolicy.js.map +1 -0
- package/lib/commonjs/calls/p2p/negotiator.js +202 -0
- package/lib/commonjs/calls/p2p/negotiator.js.map +1 -0
- package/lib/commonjs/calls/p2p/p2pRuntime.js +147 -0
- package/lib/commonjs/calls/p2p/p2pRuntime.js.map +1 -0
- package/lib/commonjs/calls/p2p/signalInbox.js +98 -0
- package/lib/commonjs/calls/p2p/signalInbox.js.map +1 -0
- package/lib/commonjs/calls/p2p/signalStanza.js +141 -0
- package/lib/commonjs/calls/p2p/signalStanza.js.map +1 -0
- package/lib/commonjs/calls/p2p/webrtcRuntime.js +53 -0
- package/lib/commonjs/calls/p2p/webrtcRuntime.js.map +1 -0
- package/lib/commonjs/calls/senderTrust.js +43 -0
- package/lib/commonjs/calls/senderTrust.js.map +1 -0
- package/lib/commonjs/calls/startCall.js +51 -0
- package/lib/commonjs/calls/startCall.js.map +1 -0
- package/lib/commonjs/components/Booking/BookingIcons.js +55 -0
- package/lib/commonjs/components/Booking/BookingIcons.js.map +1 -0
- package/lib/commonjs/components/Booking/ScheduleCallButton.js +64 -0
- package/lib/commonjs/components/Booking/ScheduleCallButton.js.map +1 -0
- package/lib/commonjs/components/Booking/ScheduleCallSheet.js +351 -0
- package/lib/commonjs/components/Booking/ScheduleCallSheet.js.map +1 -0
- package/lib/commonjs/components/Booking/ScheduledCallCard.js +203 -0
- package/lib/commonjs/components/Booking/ScheduledCallCard.js.map +1 -0
- package/lib/commonjs/components/Booking/ScheduledCallHost.js +23 -0
- package/lib/commonjs/components/Booking/ScheduledCallHost.js.map +1 -0
- package/lib/commonjs/components/Booking/ScheduledCallMessage.js +55 -0
- package/lib/commonjs/components/Booking/ScheduledCallMessage.js.map +1 -0
- package/lib/commonjs/components/Booking/ScheduledCallPreJoin.js +235 -0
- package/lib/commonjs/components/Booking/ScheduledCallPreJoin.js.map +1 -0
- package/lib/commonjs/components/Booking/bookingShared.js +305 -0
- package/lib/commonjs/components/Booking/bookingShared.js.map +1 -0
- package/lib/commonjs/components/MainComponents/AlbumGrid.js +6 -2
- package/lib/commonjs/components/MainComponents/AlbumGrid.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ChatHeader.js +18 -12
- package/lib/commonjs/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/commonjs/components/MainComponents/LanguageSelectorButton.js +5 -2
- package/lib/commonjs/components/MainComponents/LanguageSelectorButton.js.map +1 -1
- package/lib/commonjs/components/MainComponents/LanguageSelectorModal.js +6 -3
- package/lib/commonjs/components/MainComponents/LanguageSelectorModal.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MediaMessage.js +13 -0
- package/lib/commonjs/components/MainComponents/MediaMessage.js.map +1 -1
- package/lib/commonjs/components/MainComponents/MessageContainer.js +13 -0
- package/lib/commonjs/components/MainComponents/MessageContainer.js.map +1 -1
- package/lib/commonjs/components/MainComponents/ReduxWrapper.js +10 -0
- package/lib/commonjs/components/MainComponents/ReduxWrapper.js.map +1 -1
- package/lib/commonjs/components/MainComponents/RoomList.js +7 -16
- package/lib/commonjs/components/MainComponents/RoomList.js.map +1 -1
- package/lib/commonjs/components/MessageBubble/Message.js +27 -1
- package/lib/commonjs/components/MessageBubble/Message.js.map +1 -1
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatMediaGrid.js +159 -0
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatMediaGrid.js.map +1 -0
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js +203 -134
- package/lib/commonjs/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
- package/lib/commonjs/components/Modals/ChatProfileModal/LeaveChatModal.js +180 -0
- package/lib/commonjs/components/Modals/ChatProfileModal/LeaveChatModal.js.map +1 -0
- package/lib/commonjs/components/Modals/ChatProfileModal/ReportChatModal.js +19 -15
- package/lib/commonjs/components/Modals/ChatProfileModal/ReportChatModal.js.map +1 -1
- package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js +100 -162
- package/lib/commonjs/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
- package/lib/commonjs/components/Modals/FilePreviewModal/MediaViewer.js +824 -0
- package/lib/commonjs/components/Modals/FilePreviewModal/MediaViewer.js.map +1 -0
- package/lib/commonjs/components/Modals/FilePreviewModal/useSaveFile.js +179 -0
- package/lib/commonjs/components/Modals/FilePreviewModal/useSaveFile.js.map +1 -0
- package/lib/commonjs/components/Modals/MessageSearchModal/MessageSearchModal.js +22 -5
- package/lib/commonjs/components/Modals/MessageSearchModal/MessageSearchModal.js.map +1 -1
- package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js +15 -8
- package/lib/commonjs/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
- package/lib/commonjs/components/Modals/UserSettingsModal/LanguageCard.js +1 -1
- package/lib/commonjs/components/Modals/UserSettingsModal/LanguageCard.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/ActiveCallBar.js +3 -2
- package/lib/commonjs/components/VideoCalls/ActiveCallBar.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/CallButtons.js +19 -11
- package/lib/commonjs/components/VideoCalls/CallButtons.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/CallControlBar.js +119 -0
- package/lib/commonjs/components/VideoCalls/CallControlBar.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/CallVideo.js +49 -0
- package/lib/commonjs/components/VideoCalls/CallVideo.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/GroupCallView.js +281 -0
- package/lib/commonjs/components/VideoCalls/GroupCallView.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/P2PCallRunner.js +151 -0
- package/lib/commonjs/components/VideoCalls/P2PCallRunner.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/VideoCallOverlay.js +38 -14
- package/lib/commonjs/components/VideoCalls/VideoCallOverlay.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/VideoCallSession.js +57 -128
- package/lib/commonjs/components/VideoCalls/VideoCallSession.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/callActions.js +3 -0
- package/lib/commonjs/components/VideoCalls/callActions.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/callElapsed.js +38 -0
- package/lib/commonjs/components/VideoCalls/callElapsed.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/callLive.js +15 -0
- package/lib/commonjs/components/VideoCalls/callLive.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/callSessionController.js +81 -24
- package/lib/commonjs/components/VideoCalls/callSessionController.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/callSessionTypes.js +41 -0
- package/lib/commonjs/components/VideoCalls/callSessionTypes.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/groupLayout.js +43 -0
- package/lib/commonjs/components/VideoCalls/groupLayout.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/p2pCallSession.js +272 -0
- package/lib/commonjs/components/VideoCalls/p2pCallSession.js.map +1 -0
- package/lib/commonjs/components/VideoCalls/useCallKeep.js +7 -2
- package/lib/commonjs/components/VideoCalls/useCallKeep.js.map +1 -1
- package/lib/commonjs/components/VideoCalls/useOngoingCallNotification.js +2 -1
- package/lib/commonjs/components/VideoCalls/useOngoingCallNotification.js.map +1 -1
- package/lib/commonjs/components/styled/MessageImage.js +4 -1
- package/lib/commonjs/components/styled/MessageImage.js.map +1 -1
- package/lib/commonjs/components/styled/VideoMessage.js +5 -1
- package/lib/commonjs/components/styled/VideoMessage.js.map +1 -1
- package/lib/commonjs/context/MediaSourceContext.js +18 -0
- package/lib/commonjs/context/MediaSourceContext.js.map +1 -0
- package/lib/commonjs/context/xmppProvider.js +2 -1
- package/lib/commonjs/context/xmppProvider.js.map +1 -1
- package/lib/commonjs/helpers/callPush.js +3 -1
- package/lib/commonjs/helpers/callPush.js.map +1 -1
- package/lib/commonjs/helpers/constants/MODAL_COMPONENTS.js +3 -1
- package/lib/commonjs/helpers/constants/MODAL_COMPONENTS.js.map +1 -1
- package/lib/commonjs/helpers/constants/MODAL_TYPES.js +2 -0
- package/lib/commonjs/helpers/constants/MODAL_TYPES.js.map +1 -1
- package/lib/commonjs/helpers/incomingCallFromPush.js +63 -7
- package/lib/commonjs/helpers/incomingCallFromPush.js.map +1 -1
- package/lib/commonjs/helpers/publicChatsEntry.js +8 -6
- package/lib/commonjs/helpers/publicChatsEntry.js.map +1 -1
- package/lib/commonjs/helpers/pushPayload.js +5 -0
- package/lib/commonjs/helpers/pushPayload.js.map +1 -1
- package/lib/commonjs/helpers/reportRoom.js +76 -0
- package/lib/commonjs/helpers/reportRoom.js.map +1 -0
- package/lib/commonjs/helpers/roomMedia.js +118 -0
- package/lib/commonjs/helpers/roomMedia.js.map +1 -0
- package/lib/commonjs/i18n/strings.js +480 -0
- package/lib/commonjs/i18n/strings.js.map +1 -1
- package/lib/commonjs/main.js +93 -0
- package/lib/commonjs/main.js.map +1 -1
- package/lib/commonjs/networking/api-requests/callState.api.js +75 -0
- package/lib/commonjs/networking/api-requests/callState.api.js.map +1 -0
- package/lib/commonjs/networking/api-requests/push.api.js +29 -6
- package/lib/commonjs/networking/api-requests/push.api.js.map +1 -1
- package/lib/commonjs/networking/api-requests/rooms.api.js +17 -15
- package/lib/commonjs/networking/api-requests/rooms.api.js.map +1 -1
- package/lib/commonjs/networking/api-requests/scheduledCalls.api.js +141 -0
- package/lib/commonjs/networking/api-requests/scheduledCalls.api.js.map +1 -0
- package/lib/commonjs/networking/callTokenStanza.js +210 -50
- package/lib/commonjs/networking/callTokenStanza.js.map +1 -1
- package/lib/commonjs/roomStore/callSlice.js +59 -4
- package/lib/commonjs/roomStore/callSlice.js.map +1 -1
- package/lib/commonjs/services/appBadge.js +80 -0
- package/lib/commonjs/services/appBadge.js.map +1 -0
- package/lib/commonjs/services/languageSettings.js +47 -15
- package/lib/commonjs/services/languageSettings.js.map +1 -1
- package/lib/commonjs/services/pushRegistration.js +21 -5
- package/lib/commonjs/services/pushRegistration.js.map +1 -1
- package/lib/commonjs/version.js +1 -1
- package/lib/commonjs/version.js.map +1 -1
- package/lib/module/booking/index.js +5 -0
- package/lib/module/booking/index.js.map +1 -0
- package/lib/module/booking/pendingScheduledCall.js +261 -0
- package/lib/module/booking/pendingScheduledCall.js.map +1 -0
- package/lib/module/booking/scheduleForm.js +79 -0
- package/lib/module/booking/scheduleForm.js.map +1 -0
- package/lib/module/booking/scheduledCall.js +129 -0
- package/lib/module/booking/scheduledCall.js.map +1 -0
- package/lib/module/booking/scheduledCallActions.js +118 -0
- package/lib/module/booking/scheduledCallActions.js.map +1 -0
- package/lib/module/booking/scheduledCallLink.js +136 -0
- package/lib/module/booking/scheduledCallLink.js.map +1 -0
- package/lib/module/booking/scheduledCallStore.js +60 -0
- package/lib/module/booking/scheduledCallStore.js.map +1 -0
- package/lib/module/booking/startRoomCall.js +80 -0
- package/lib/module/booking/startRoomCall.js.map +1 -0
- package/lib/module/calls/callBusy.js +13 -0
- package/lib/module/calls/callBusy.js.map +1 -0
- package/lib/module/calls/callDisplay.js +65 -0
- package/lib/module/calls/callDisplay.js.map +1 -0
- package/lib/module/calls/callMode.js +168 -0
- package/lib/module/calls/callMode.js.map +1 -0
- package/lib/module/calls/declineReport.js +16 -0
- package/lib/module/calls/declineReport.js.map +1 -0
- package/lib/module/calls/p2p/P2PCallController.js +718 -0
- package/lib/module/calls/p2p/P2PCallController.js.map +1 -0
- package/lib/module/calls/p2p/icePolicy.js +102 -0
- package/lib/module/calls/p2p/icePolicy.js.map +1 -0
- package/lib/module/calls/p2p/negotiator.js +197 -0
- package/lib/module/calls/p2p/negotiator.js.map +1 -0
- package/lib/module/calls/p2p/p2pRuntime.js +137 -0
- package/lib/module/calls/p2p/p2pRuntime.js.map +1 -0
- package/lib/module/calls/p2p/signalInbox.js +93 -0
- package/lib/module/calls/p2p/signalInbox.js.map +1 -0
- package/lib/module/calls/p2p/signalStanza.js +135 -0
- package/lib/module/calls/p2p/signalStanza.js.map +1 -0
- package/lib/module/calls/p2p/webrtcRuntime.js +46 -0
- package/lib/module/calls/p2p/webrtcRuntime.js.map +1 -0
- package/lib/module/calls/senderTrust.js +38 -0
- package/lib/module/calls/senderTrust.js.map +1 -0
- package/lib/module/calls/startCall.js +47 -0
- package/lib/module/calls/startCall.js.map +1 -0
- package/lib/module/components/Booking/BookingIcons.js +48 -0
- package/lib/module/components/Booking/BookingIcons.js.map +1 -0
- package/lib/module/components/Booking/ScheduleCallButton.js +59 -0
- package/lib/module/components/Booking/ScheduleCallButton.js.map +1 -0
- package/lib/module/components/Booking/ScheduleCallSheet.js +345 -0
- package/lib/module/components/Booking/ScheduleCallSheet.js.map +1 -0
- package/lib/module/components/Booking/ScheduledCallCard.js +197 -0
- package/lib/module/components/Booking/ScheduledCallCard.js.map +1 -0
- package/lib/module/components/Booking/ScheduledCallHost.js +18 -0
- package/lib/module/components/Booking/ScheduledCallHost.js.map +1 -0
- package/lib/module/components/Booking/ScheduledCallMessage.js +48 -0
- package/lib/module/components/Booking/ScheduledCallMessage.js.map +1 -0
- package/lib/module/components/Booking/ScheduledCallPreJoin.js +229 -0
- package/lib/module/components/Booking/ScheduledCallPreJoin.js.map +1 -0
- package/lib/module/components/Booking/bookingShared.js +291 -0
- package/lib/module/components/Booking/bookingShared.js.map +1 -0
- package/lib/module/components/MainComponents/AlbumGrid.js +6 -2
- package/lib/module/components/MainComponents/AlbumGrid.js.map +1 -1
- package/lib/module/components/MainComponents/ChatHeader.js +20 -14
- package/lib/module/components/MainComponents/ChatHeader.js.map +1 -1
- package/lib/module/components/MainComponents/LanguageSelectorButton.js +5 -2
- package/lib/module/components/MainComponents/LanguageSelectorButton.js.map +1 -1
- package/lib/module/components/MainComponents/LanguageSelectorModal.js +7 -4
- package/lib/module/components/MainComponents/LanguageSelectorModal.js.map +1 -1
- package/lib/module/components/MainComponents/MediaMessage.js +13 -0
- package/lib/module/components/MainComponents/MediaMessage.js.map +1 -1
- package/lib/module/components/MainComponents/MessageContainer.js +13 -0
- package/lib/module/components/MainComponents/MessageContainer.js.map +1 -1
- package/lib/module/components/MainComponents/ReduxWrapper.js +10 -0
- package/lib/module/components/MainComponents/ReduxWrapper.js.map +1 -1
- package/lib/module/components/MainComponents/RoomList.js +7 -16
- package/lib/module/components/MainComponents/RoomList.js.map +1 -1
- package/lib/module/components/MessageBubble/Message.js +27 -1
- package/lib/module/components/MessageBubble/Message.js.map +1 -1
- package/lib/module/components/Modals/ChatProfileModal/ChatMediaGrid.js +154 -0
- package/lib/module/components/Modals/ChatProfileModal/ChatMediaGrid.js.map +1 -0
- package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js +204 -136
- package/lib/module/components/Modals/ChatProfileModal/ChatProfileModal.js.map +1 -1
- package/lib/module/components/Modals/ChatProfileModal/LeaveChatModal.js +175 -0
- package/lib/module/components/Modals/ChatProfileModal/LeaveChatModal.js.map +1 -0
- package/lib/module/components/Modals/ChatProfileModal/ReportChatModal.js +21 -15
- package/lib/module/components/Modals/ChatProfileModal/ReportChatModal.js.map +1 -1
- package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js +100 -163
- package/lib/module/components/Modals/FilePreviewModal/FilePreviewModal.js.map +1 -1
- package/lib/module/components/Modals/FilePreviewModal/MediaViewer.js +819 -0
- package/lib/module/components/Modals/FilePreviewModal/MediaViewer.js.map +1 -0
- package/lib/module/components/Modals/FilePreviewModal/useSaveFile.js +172 -0
- package/lib/module/components/Modals/FilePreviewModal/useSaveFile.js.map +1 -0
- package/lib/module/components/Modals/MessageSearchModal/MessageSearchModal.js +20 -4
- package/lib/module/components/Modals/MessageSearchModal/MessageSearchModal.js.map +1 -1
- package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js +17 -10
- package/lib/module/components/Modals/UserProfileModal/UserProfileModal.js.map +1 -1
- package/lib/module/components/Modals/UserSettingsModal/LanguageCard.js +1 -1
- package/lib/module/components/Modals/UserSettingsModal/LanguageCard.js.map +1 -1
- package/lib/module/components/VideoCalls/ActiveCallBar.js +3 -2
- package/lib/module/components/VideoCalls/ActiveCallBar.js.map +1 -1
- package/lib/module/components/VideoCalls/CallButtons.js +19 -11
- package/lib/module/components/VideoCalls/CallButtons.js.map +1 -1
- package/lib/module/components/VideoCalls/CallControlBar.js +113 -0
- package/lib/module/components/VideoCalls/CallControlBar.js.map +1 -0
- package/lib/module/components/VideoCalls/CallVideo.js +43 -0
- package/lib/module/components/VideoCalls/CallVideo.js.map +1 -0
- package/lib/module/components/VideoCalls/GroupCallView.js +275 -0
- package/lib/module/components/VideoCalls/GroupCallView.js.map +1 -0
- package/lib/module/components/VideoCalls/P2PCallRunner.js +147 -0
- package/lib/module/components/VideoCalls/P2PCallRunner.js.map +1 -0
- package/lib/module/components/VideoCalls/VideoCallOverlay.js +38 -14
- package/lib/module/components/VideoCalls/VideoCallOverlay.js.map +1 -1
- package/lib/module/components/VideoCalls/VideoCallSession.js +46 -127
- package/lib/module/components/VideoCalls/VideoCallSession.js.map +1 -1
- package/lib/module/components/VideoCalls/callActions.js +3 -0
- package/lib/module/components/VideoCalls/callActions.js.map +1 -1
- package/lib/module/components/VideoCalls/callElapsed.js +33 -0
- package/lib/module/components/VideoCalls/callElapsed.js.map +1 -0
- package/lib/module/components/VideoCalls/callLive.js +10 -0
- package/lib/module/components/VideoCalls/callLive.js.map +1 -0
- package/lib/module/components/VideoCalls/callSessionController.js +80 -24
- package/lib/module/components/VideoCalls/callSessionController.js.map +1 -1
- package/lib/module/components/VideoCalls/callSessionTypes.js +37 -0
- package/lib/module/components/VideoCalls/callSessionTypes.js.map +1 -0
- package/lib/module/components/VideoCalls/groupLayout.js +36 -0
- package/lib/module/components/VideoCalls/groupLayout.js.map +1 -0
- package/lib/module/components/VideoCalls/p2pCallSession.js +256 -0
- package/lib/module/components/VideoCalls/p2pCallSession.js.map +1 -0
- package/lib/module/components/VideoCalls/useCallKeep.js +8 -2
- package/lib/module/components/VideoCalls/useCallKeep.js.map +1 -1
- package/lib/module/components/VideoCalls/useOngoingCallNotification.js +2 -1
- package/lib/module/components/VideoCalls/useOngoingCallNotification.js.map +1 -1
- package/lib/module/components/styled/MessageImage.js +4 -1
- package/lib/module/components/styled/MessageImage.js.map +1 -1
- package/lib/module/components/styled/VideoMessage.js +5 -1
- package/lib/module/components/styled/VideoMessage.js.map +1 -1
- package/lib/module/context/MediaSourceContext.js +13 -0
- package/lib/module/context/MediaSourceContext.js.map +1 -0
- package/lib/module/context/xmppProvider.js +2 -1
- package/lib/module/context/xmppProvider.js.map +1 -1
- package/lib/module/helpers/callPush.js +3 -1
- package/lib/module/helpers/callPush.js.map +1 -1
- package/lib/module/helpers/constants/MODAL_COMPONENTS.js +2 -1
- package/lib/module/helpers/constants/MODAL_COMPONENTS.js.map +1 -1
- package/lib/module/helpers/constants/MODAL_TYPES.js +2 -0
- package/lib/module/helpers/constants/MODAL_TYPES.js.map +1 -1
- package/lib/module/helpers/incomingCallFromPush.js +63 -7
- package/lib/module/helpers/incomingCallFromPush.js.map +1 -1
- package/lib/module/helpers/publicChatsEntry.js +8 -6
- package/lib/module/helpers/publicChatsEntry.js.map +1 -1
- package/lib/module/helpers/pushPayload.js +5 -0
- package/lib/module/helpers/pushPayload.js.map +1 -1
- package/lib/module/helpers/reportRoom.js +70 -0
- package/lib/module/helpers/reportRoom.js.map +1 -0
- package/lib/module/helpers/roomMedia.js +112 -0
- package/lib/module/helpers/roomMedia.js.map +1 -0
- package/lib/module/i18n/strings.js +480 -0
- package/lib/module/i18n/strings.js.map +1 -1
- package/lib/module/main.js +5 -0
- package/lib/module/main.js.map +1 -1
- package/lib/module/networking/api-requests/callState.api.js +66 -0
- package/lib/module/networking/api-requests/callState.api.js.map +1 -0
- package/lib/module/networking/api-requests/push.api.js +29 -6
- package/lib/module/networking/api-requests/push.api.js.map +1 -1
- package/lib/module/networking/api-requests/rooms.api.js +17 -15
- package/lib/module/networking/api-requests/rooms.api.js.map +1 -1
- package/lib/module/networking/api-requests/scheduledCalls.api.js +130 -0
- package/lib/module/networking/api-requests/scheduledCalls.api.js.map +1 -0
- package/lib/module/networking/callTokenStanza.js +210 -50
- package/lib/module/networking/callTokenStanza.js.map +1 -1
- package/lib/module/roomStore/callSlice.js +57 -3
- package/lib/module/roomStore/callSlice.js.map +1 -1
- package/lib/module/services/appBadge.js +74 -0
- package/lib/module/services/appBadge.js.map +1 -0
- package/lib/module/services/languageSettings.js +44 -13
- package/lib/module/services/languageSettings.js.map +1 -1
- package/lib/module/services/pushRegistration.js +21 -5
- package/lib/module/services/pushRegistration.js.map +1 -1
- package/lib/module/version.js +1 -1
- package/lib/module/version.js.map +1 -1
- package/lib/typescript/booking/index.d.ts +3 -0
- package/lib/typescript/booking/index.d.ts.map +1 -0
- package/lib/typescript/booking/pendingScheduledCall.d.ts +80 -0
- package/lib/typescript/booking/pendingScheduledCall.d.ts.map +1 -0
- package/lib/typescript/booking/scheduleForm.d.ts +28 -0
- package/lib/typescript/booking/scheduleForm.d.ts.map +1 -0
- package/lib/typescript/booking/scheduledCall.d.ts +52 -0
- package/lib/typescript/booking/scheduledCall.d.ts.map +1 -0
- package/lib/typescript/booking/scheduledCallActions.d.ts +22 -0
- package/lib/typescript/booking/scheduledCallActions.d.ts.map +1 -0
- package/lib/typescript/booking/scheduledCallLink.d.ts +37 -0
- package/lib/typescript/booking/scheduledCallLink.d.ts.map +1 -0
- package/lib/typescript/booking/scheduledCallStore.d.ts +47 -0
- package/lib/typescript/booking/scheduledCallStore.d.ts.map +1 -0
- package/lib/typescript/booking/startRoomCall.d.ts +12 -0
- package/lib/typescript/booking/startRoomCall.d.ts.map +1 -0
- package/lib/typescript/calls/callBusy.d.ts +9 -0
- package/lib/typescript/calls/callBusy.d.ts.map +1 -0
- package/lib/typescript/calls/callDisplay.d.ts +23 -0
- package/lib/typescript/calls/callDisplay.d.ts.map +1 -0
- package/lib/typescript/calls/callMode.d.ts +106 -0
- package/lib/typescript/calls/callMode.d.ts.map +1 -0
- package/lib/typescript/calls/declineReport.d.ts +11 -0
- package/lib/typescript/calls/declineReport.d.ts.map +1 -0
- package/lib/typescript/calls/p2p/P2PCallController.d.ts +150 -0
- package/lib/typescript/calls/p2p/P2PCallController.d.ts.map +1 -0
- package/lib/typescript/calls/p2p/icePolicy.d.ts +37 -0
- package/lib/typescript/calls/p2p/icePolicy.d.ts.map +1 -0
- package/lib/typescript/calls/p2p/negotiator.d.ts +57 -0
- package/lib/typescript/calls/p2p/negotiator.d.ts.map +1 -0
- package/lib/typescript/calls/p2p/p2pRuntime.d.ts +41 -0
- package/lib/typescript/calls/p2p/p2pRuntime.d.ts.map +1 -0
- package/lib/typescript/calls/p2p/signalInbox.d.ts +35 -0
- package/lib/typescript/calls/p2p/signalInbox.d.ts.map +1 -0
- package/lib/typescript/calls/p2p/signalStanza.d.ts +52 -0
- package/lib/typescript/calls/p2p/signalStanza.d.ts.map +1 -0
- package/lib/typescript/calls/p2p/webrtcRuntime.d.ts +32 -0
- package/lib/typescript/calls/p2p/webrtcRuntime.d.ts.map +1 -0
- package/lib/typescript/calls/senderTrust.d.ts +8 -0
- package/lib/typescript/calls/senderTrust.d.ts.map +1 -0
- package/lib/typescript/calls/startCall.d.ts +17 -0
- package/lib/typescript/calls/startCall.d.ts.map +1 -0
- package/lib/typescript/components/Booking/BookingIcons.d.ts +9 -0
- package/lib/typescript/components/Booking/BookingIcons.d.ts.map +1 -0
- package/lib/typescript/components/Booking/ScheduleCallButton.d.ts +11 -0
- package/lib/typescript/components/Booking/ScheduleCallButton.d.ts.map +1 -0
- package/lib/typescript/components/Booking/ScheduleCallSheet.d.ts +4 -0
- package/lib/typescript/components/Booking/ScheduleCallSheet.d.ts.map +1 -0
- package/lib/typescript/components/Booking/ScheduledCallCard.d.ts +14 -0
- package/lib/typescript/components/Booking/ScheduledCallCard.d.ts.map +1 -0
- package/lib/typescript/components/Booking/ScheduledCallHost.d.ts +10 -0
- package/lib/typescript/components/Booking/ScheduledCallHost.d.ts.map +1 -0
- package/lib/typescript/components/Booking/ScheduledCallMessage.d.ts +20 -0
- package/lib/typescript/components/Booking/ScheduledCallMessage.d.ts.map +1 -0
- package/lib/typescript/components/Booking/ScheduledCallPreJoin.d.ts +8 -0
- package/lib/typescript/components/Booking/ScheduledCallPreJoin.d.ts.map +1 -0
- package/lib/typescript/components/Booking/bookingShared.d.ts +199 -0
- package/lib/typescript/components/Booking/bookingShared.d.ts.map +1 -0
- package/lib/typescript/components/MainComponents/AlbumGrid.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/ChatHeader.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/LanguageSelectorButton.d.ts +3 -1
- package/lib/typescript/components/MainComponents/LanguageSelectorButton.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/LanguageSelectorModal.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/MediaMessage.d.ts +3 -1
- package/lib/typescript/components/MainComponents/MediaMessage.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/MessageContainer.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/ReduxWrapper.d.ts.map +1 -1
- package/lib/typescript/components/MainComponents/RoomList.d.ts.map +1 -1
- package/lib/typescript/components/MessageBubble/Message.d.ts.map +1 -1
- package/lib/typescript/components/Modals/ChatProfileModal/ChatMediaGrid.d.ts +16 -0
- package/lib/typescript/components/Modals/ChatProfileModal/ChatMediaGrid.d.ts.map +1 -0
- package/lib/typescript/components/Modals/ChatProfileModal/ChatProfileModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/ChatProfileModal/LeaveChatModal.d.ts +18 -0
- package/lib/typescript/components/Modals/ChatProfileModal/LeaveChatModal.d.ts.map +1 -0
- package/lib/typescript/components/Modals/ChatProfileModal/ReportChatModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/FilePreviewModal/FilePreviewModal.d.ts +16 -0
- package/lib/typescript/components/Modals/FilePreviewModal/FilePreviewModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/FilePreviewModal/MediaViewer.d.ts +27 -0
- package/lib/typescript/components/Modals/FilePreviewModal/MediaViewer.d.ts.map +1 -0
- package/lib/typescript/components/Modals/FilePreviewModal/useSaveFile.d.ts +9 -0
- package/lib/typescript/components/Modals/FilePreviewModal/useSaveFile.d.ts.map +1 -0
- package/lib/typescript/components/Modals/MessageSearchModal/MessageSearchModal.d.ts +8 -0
- package/lib/typescript/components/Modals/MessageSearchModal/MessageSearchModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/UserProfileModal/UserProfileModal.d.ts.map +1 -1
- package/lib/typescript/components/Modals/UserSettingsModal/LanguageCard.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/ActiveCallBar.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/CallButtons.d.ts +2 -1
- package/lib/typescript/components/VideoCalls/CallButtons.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/CallControlBar.d.ts +17 -0
- package/lib/typescript/components/VideoCalls/CallControlBar.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/CallVideo.d.ts +23 -0
- package/lib/typescript/components/VideoCalls/CallVideo.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/GroupCallView.d.ts +22 -0
- package/lib/typescript/components/VideoCalls/GroupCallView.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/P2PCallRunner.d.ts +2 -0
- package/lib/typescript/components/VideoCalls/P2PCallRunner.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/VideoCallOverlay.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/VideoCallSession.d.ts +10 -12
- package/lib/typescript/components/VideoCalls/VideoCallSession.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/callActions.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/callElapsed.d.ts +8 -0
- package/lib/typescript/components/VideoCalls/callElapsed.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/callLive.d.ts +9 -0
- package/lib/typescript/components/VideoCalls/callLive.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/callSessionController.d.ts +10 -31
- package/lib/typescript/components/VideoCalls/callSessionController.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/callSessionTypes.d.ts +60 -0
- package/lib/typescript/components/VideoCalls/callSessionTypes.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/groupLayout.d.ts +23 -0
- package/lib/typescript/components/VideoCalls/groupLayout.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/p2pCallSession.d.ts +31 -0
- package/lib/typescript/components/VideoCalls/p2pCallSession.d.ts.map +1 -0
- package/lib/typescript/components/VideoCalls/useCallKeep.d.ts.map +1 -1
- package/lib/typescript/components/VideoCalls/useOngoingCallNotification.d.ts.map +1 -1
- package/lib/typescript/components/styled/MessageImage.d.ts.map +1 -1
- package/lib/typescript/components/styled/VideoMessage.d.ts.map +1 -1
- package/lib/typescript/context/MediaSourceContext.d.ts +4 -0
- package/lib/typescript/context/MediaSourceContext.d.ts.map +1 -0
- package/lib/typescript/context/xmppProvider.d.ts.map +1 -1
- package/lib/typescript/helpers/callPush.d.ts +11 -1
- package/lib/typescript/helpers/callPush.d.ts.map +1 -1
- package/lib/typescript/helpers/constants/MODAL_COMPONENTS.d.ts.map +1 -1
- package/lib/typescript/helpers/constants/MODAL_TYPES.d.ts +2 -0
- package/lib/typescript/helpers/constants/MODAL_TYPES.d.ts.map +1 -1
- package/lib/typescript/helpers/incomingCallFromPush.d.ts.map +1 -1
- package/lib/typescript/helpers/publicChatsEntry.d.ts +7 -5
- package/lib/typescript/helpers/publicChatsEntry.d.ts.map +1 -1
- package/lib/typescript/helpers/pushPayload.d.ts +1 -1
- package/lib/typescript/helpers/pushPayload.d.ts.map +1 -1
- package/lib/typescript/helpers/reportRoom.d.ts +19 -0
- package/lib/typescript/helpers/reportRoom.d.ts.map +1 -0
- package/lib/typescript/helpers/roomMedia.d.ts +26 -0
- package/lib/typescript/helpers/roomMedia.d.ts.map +1 -0
- package/lib/typescript/i18n/strings.d.ts.map +1 -1
- package/lib/typescript/main.d.ts +6 -1
- package/lib/typescript/main.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/callState.api.d.ts +25 -0
- package/lib/typescript/networking/api-requests/callState.api.d.ts.map +1 -0
- package/lib/typescript/networking/api-requests/push.api.d.ts +9 -2
- package/lib/typescript/networking/api-requests/push.api.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/rooms.api.d.ts +8 -6
- package/lib/typescript/networking/api-requests/rooms.api.d.ts.map +1 -1
- package/lib/typescript/networking/api-requests/scheduledCalls.api.d.ts +86 -0
- package/lib/typescript/networking/api-requests/scheduledCalls.api.d.ts.map +1 -0
- package/lib/typescript/networking/callTokenStanza.d.ts.map +1 -1
- package/lib/typescript/roomStore/callSlice.d.ts +23 -1
- package/lib/typescript/roomStore/callSlice.d.ts.map +1 -1
- package/lib/typescript/services/appBadge.d.ts +3 -0
- package/lib/typescript/services/appBadge.d.ts.map +1 -0
- package/lib/typescript/services/languageSettings.d.ts +7 -0
- package/lib/typescript/services/languageSettings.d.ts.map +1 -1
- package/lib/typescript/services/pushRegistration.d.ts.map +1 -1
- package/lib/typescript/types/models/modal.model.d.ts +18 -0
- package/lib/typescript/types/models/modal.model.d.ts.map +1 -1
- package/lib/typescript/types/types.d.ts +85 -4
- package/lib/typescript/types/types.d.ts.map +1 -1
- package/lib/typescript/version.d.ts +1 -1
- package/lib/typescript/version.d.ts.map +1 -1
- package/package.json +9 -2
- package/src/booking/index.ts +10 -0
- package/src/booking/pendingScheduledCall.ts +272 -0
- package/src/booking/scheduleForm.ts +84 -0
- package/src/booking/scheduledCall.ts +163 -0
- package/src/booking/scheduledCallActions.ts +141 -0
- package/src/booking/scheduledCallLink.ts +145 -0
- package/src/booking/scheduledCallStore.ts +69 -0
- package/src/booking/startRoomCall.ts +103 -0
- package/src/calls/callBusy.ts +10 -0
- package/src/calls/callDisplay.ts +74 -0
- package/src/calls/callMode.ts +286 -0
- package/src/calls/declineReport.ts +16 -0
- package/src/calls/p2p/P2PCallController.ts +813 -0
- package/src/calls/p2p/icePolicy.ts +99 -0
- package/src/calls/p2p/negotiator.ts +186 -0
- package/src/calls/p2p/p2pRuntime.ts +164 -0
- package/src/calls/p2p/signalInbox.ts +117 -0
- package/src/calls/p2p/signalStanza.ts +205 -0
- package/src/calls/p2p/webrtcRuntime.ts +60 -0
- package/src/calls/senderTrust.ts +40 -0
- package/src/calls/startCall.ts +56 -0
- package/src/components/Booking/BookingIcons.tsx +44 -0
- package/src/components/Booking/ScheduleCallButton.tsx +66 -0
- package/src/components/Booking/ScheduleCallSheet.tsx +380 -0
- package/src/components/Booking/ScheduledCallCard.tsx +216 -0
- package/src/components/Booking/ScheduledCallHost.tsx +18 -0
- package/src/components/Booking/ScheduledCallMessage.tsx +62 -0
- package/src/components/Booking/ScheduledCallPreJoin.tsx +230 -0
- package/src/components/Booking/bookingShared.tsx +295 -0
- package/src/components/MainComponents/AlbumGrid.tsx +5 -1
- package/src/components/MainComponents/ChatHeader.tsx +18 -11
- package/src/components/MainComponents/LanguageSelectorButton.tsx +9 -2
- package/src/components/MainComponents/LanguageSelectorModal.tsx +10 -6
- package/src/components/MainComponents/MediaMessage.tsx +13 -2
- package/src/components/MainComponents/MessageContainer.tsx +15 -0
- package/src/components/MainComponents/ReduxWrapper.tsx +10 -0
- package/src/components/MainComponents/RoomList.tsx +8 -19
- package/src/components/MessageBubble/Message.tsx +24 -1
- package/src/components/Modals/ChatProfileModal/ChatMediaGrid.tsx +174 -0
- package/src/components/Modals/ChatProfileModal/ChatProfileModal.tsx +119 -48
- package/src/components/Modals/ChatProfileModal/LeaveChatModal.tsx +191 -0
- package/src/components/Modals/ChatProfileModal/ReportChatModal.tsx +22 -22
- package/src/components/Modals/FilePreviewModal/FilePreviewModal.tsx +115 -185
- package/src/components/Modals/FilePreviewModal/MediaViewer.tsx +880 -0
- package/src/components/Modals/FilePreviewModal/useSaveFile.ts +207 -0
- package/src/components/Modals/MessageSearchModal/MessageSearchModal.tsx +56 -30
- package/src/components/Modals/UserProfileModal/UserProfileModal.tsx +28 -9
- package/src/components/Modals/UserSettingsModal/LanguageCard.tsx +9 -7
- package/src/components/VideoCalls/ActiveCallBar.tsx +6 -5
- package/src/components/VideoCalls/CallButtons.tsx +23 -12
- package/src/components/VideoCalls/CallControlBar.tsx +131 -0
- package/src/components/VideoCalls/CallVideo.tsx +59 -0
- package/src/components/VideoCalls/GroupCallView.tsx +324 -0
- package/src/components/VideoCalls/P2PCallRunner.tsx +192 -0
- package/src/components/VideoCalls/VideoCallOverlay.tsx +62 -17
- package/src/components/VideoCalls/VideoCallSession.tsx +55 -133
- package/src/components/VideoCalls/callActions.ts +3 -0
- package/src/components/VideoCalls/callElapsed.ts +27 -0
- package/src/components/VideoCalls/callLive.ts +13 -0
- package/src/components/VideoCalls/callSessionController.ts +130 -55
- package/src/components/VideoCalls/callSessionTypes.ts +80 -0
- package/src/components/VideoCalls/groupLayout.ts +48 -0
- package/src/components/VideoCalls/p2pCallSession.ts +291 -0
- package/src/components/VideoCalls/useCallKeep.ts +9 -2
- package/src/components/VideoCalls/useOngoingCallNotification.ts +2 -2
- package/src/components/styled/MessageImage.tsx +3 -1
- package/src/components/styled/VideoMessage.tsx +5 -1
- package/src/context/MediaSourceContext.tsx +14 -0
- package/src/context/xmppProvider.tsx +3 -0
- package/src/helpers/callPush.ts +13 -1
- package/src/helpers/constants/MODAL_COMPONENTS.tsx +4 -1
- package/src/helpers/constants/MODAL_TYPES.ts +2 -0
- package/src/helpers/incomingCallFromPush.ts +65 -7
- package/src/helpers/publicChatsEntry.ts +8 -7
- package/src/helpers/pushPayload.ts +9 -1
- package/src/helpers/reportRoom.ts +93 -0
- package/src/helpers/roomMedia.ts +126 -0
- package/src/i18n/strings.ts +480 -0
- package/src/main.ts +33 -0
- package/src/networking/api-requests/callState.api.ts +83 -0
- package/src/networking/api-requests/push.api.ts +28 -3
- package/src/networking/api-requests/rooms.api.ts +25 -15
- package/src/networking/api-requests/scheduledCalls.api.ts +232 -0
- package/src/networking/callTokenStanza.ts +247 -50
- package/src/roomStore/callSlice.ts +86 -2
- package/src/services/appBadge.ts +85 -0
- package/src/services/languageSettings.ts +43 -8
- package/src/services/pushRegistration.ts +34 -3
- package/src/types/models/modal.model.ts +16 -0
- package/src/types/types.ts +86 -4
- package/src/version.ts +1 -1
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* What the call UI reads from the media session of the current call.
|
|
3
|
+
*
|
|
4
|
+
* Two transports fill the same snapshot: the LiveKit room
|
|
5
|
+
* (callSessionController.ts) and the peer to peer connection
|
|
6
|
+
* (p2pCallSession.ts), so the screen, the minimized strip, CallKit and the
|
|
7
|
+
* ongoing-call notification never need to know which one carries the call.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* One person in a group call grid. `video` is an opaque handle for
|
|
11
|
+
* `<CallVideo source={...} />`, present only while a live, unmuted camera
|
|
12
|
+
* track exists.
|
|
13
|
+
*/
|
|
14
|
+
export interface CallParticipantView {
|
|
15
|
+
identity: string;
|
|
16
|
+
name: string;
|
|
17
|
+
isLocal: boolean;
|
|
18
|
+
video: any;
|
|
19
|
+
micMuted: boolean;
|
|
20
|
+
speaking: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface CallSessionSnapshot {
|
|
23
|
+
/** A media session (LiveKit room or p2p connection) exists for the current call. */
|
|
24
|
+
active: boolean;
|
|
25
|
+
connected: boolean;
|
|
26
|
+
/** Translated, dismissible camera/mic problem. Never fails the call. */
|
|
27
|
+
deviceError: string | null;
|
|
28
|
+
micOn: boolean;
|
|
29
|
+
cameraOn: boolean;
|
|
30
|
+
speakerOn: boolean;
|
|
31
|
+
/** Which camera the local video comes from; only the front one is mirrored. */
|
|
32
|
+
facingMode: 'user' | 'environment';
|
|
33
|
+
/**
|
|
34
|
+
* Bumped whenever the local camera track is re-acquired, so the self view
|
|
35
|
+
* can remount onto the new stream instead of holding the stopped one.
|
|
36
|
+
*/
|
|
37
|
+
localVideoEpoch: number;
|
|
38
|
+
/** Opaque video handle for `<CallVideo />`, live and unmuted only. */
|
|
39
|
+
remoteVideo: any;
|
|
40
|
+
localVideo: any;
|
|
41
|
+
remoteName: string | null;
|
|
42
|
+
remoteJoined: boolean;
|
|
43
|
+
/** Peer joined but has no live microphone. */
|
|
44
|
+
remoteMicMuted: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When the call truly connected: the later of the two LiveKit `joinedAt`
|
|
47
|
+
* stamps (p2p: when media first flowed). The server sets the LiveKit ones,
|
|
48
|
+
* so both sides count from the same moment (web's useSharedCallElapsed).
|
|
49
|
+
* Null until the peer is in. In a group: when the first two were in.
|
|
50
|
+
*/
|
|
51
|
+
anchorAt: number | null;
|
|
52
|
+
/** Group room call: render `participants` as a grid. */
|
|
53
|
+
isGroup: boolean;
|
|
54
|
+
/** Everyone in a group call, local first. Empty for a 1:1 call. */
|
|
55
|
+
participants: CallParticipantView[];
|
|
56
|
+
/** p2p only: media was flowing and the connection is being restored. */
|
|
57
|
+
reconnecting: boolean;
|
|
58
|
+
}
|
|
59
|
+
export declare const IDLE_SESSION: CallSessionSnapshot;
|
|
60
|
+
//# sourceMappingURL=callSessionTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callSessionTypes.d.ts","sourceRoot":"","sources":["../../../../src/components/VideoCalls/callSessionTypes.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,GAAG,CAAC;IACX,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,mBAAmB;IAClC,oFAAoF;IACpF,MAAM,EAAE,OAAO,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;IACnB,wEAAwE;IACxE,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,KAAK,EAAE,OAAO,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,SAAS,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,UAAU,EAAE,MAAM,GAAG,aAAa,CAAC;IACnC;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB,sEAAsE;IACtE,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,EAAE,GAAG,CAAC;IAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,YAAY,EAAE,OAAO,CAAC;IACtB,8CAA8C;IAC9C,cAAc,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,wDAAwD;IACxD,OAAO,EAAE,OAAO,CAAC;IACjB,mEAAmE;IACnE,YAAY,EAAE,mBAAmB,EAAE,CAAC;IACpC,wEAAwE;IACxE,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,YAAY,EAAE,mBAkB1B,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { CallParticipantView } from './callSessionTypes';
|
|
2
|
+
/**
|
|
3
|
+
* Pure layout decisions of the group call grid, kept apart from the view so
|
|
4
|
+
* they can be tested on their own.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Most camera surfaces rendered at once. A phone cannot decode and draw 50
|
|
8
|
+
* videos; the rest of the room shows as avatars until they speak. A track
|
|
9
|
+
* with no surface attached is also not requested from the server
|
|
10
|
+
* (adaptiveStream), so this bounds the bandwidth too.
|
|
11
|
+
*/
|
|
12
|
+
export declare const MAX_VIDEO_TILES = 9;
|
|
13
|
+
/** Columns of the grid for `count` participants. */
|
|
14
|
+
export declare const gridColumns: (count: number, landscape: boolean) => number;
|
|
15
|
+
/**
|
|
16
|
+
* Which participants get a live video surface. Whoever is speaking comes
|
|
17
|
+
* first, then us, then everyone else in grid order, until the budget is
|
|
18
|
+
* used. Participants without a live camera never take a slot.
|
|
19
|
+
*/
|
|
20
|
+
export declare const pickVideoTiles: (participants: CallParticipantView[], max?: number) => Set<string>;
|
|
21
|
+
/** Names of the people currently speaking, for the header line. */
|
|
22
|
+
export declare const speakingNames: (participants: CallParticipantView[], youLabel: string) => string[];
|
|
23
|
+
//# sourceMappingURL=groupLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"groupLayout.d.ts","sourceRoot":"","sources":["../../../../src/components/VideoCalls/groupLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D;;;GAGG;AAEH;;;;;GAKG;AACH,eAAO,MAAM,eAAe,IAAI,CAAC;AAEjC,oDAAoD;AACpD,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,WAAW,OAAO,KAAG,MAI/D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,cAAc,GACzB,cAAc,mBAAmB,EAAE,EACnC,MAAK,MAAwB,KAC5B,GAAG,CAAC,MAAM,CAQZ,CAAC;AAEF,mEAAmE;AACnE,eAAO,MAAM,aAAa,GACxB,cAAc,mBAAmB,EAAE,EACnC,UAAU,MAAM,KACf,MAAM,EAGuC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { P2PCallController } from '../../calls/p2p/P2PCallController';
|
|
2
|
+
import { CallSessionSnapshot } from './callSessionTypes';
|
|
3
|
+
/** Translated version of a message the p2p controller produced. */
|
|
4
|
+
export declare const localizeP2PMessage: (message: string) => string;
|
|
5
|
+
export declare const getP2PSessionSnapshot: () => CallSessionSnapshot;
|
|
6
|
+
export declare const isP2PSessionActive: () => boolean;
|
|
7
|
+
export declare const useP2PSession: () => CallSessionSnapshot;
|
|
8
|
+
/**
|
|
9
|
+
* Show `controller`'s call through the session snapshot. Returns the unbind
|
|
10
|
+
* function. Only one call is ever bound; binding another replaces it.
|
|
11
|
+
*/
|
|
12
|
+
export declare const bindP2PSession: (controller: P2PCallController, kind: "audio" | "video") => (() => void);
|
|
13
|
+
export declare const unbindP2PSession: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Claim the native audio session before the connection comes up. Without
|
|
16
|
+
* this the first seconds route to the earpiece on Android even for a video
|
|
17
|
+
* call (the LiveKit session does the same before `room.connect`). Best
|
|
18
|
+
* effort: a call answered from CallKit already owns the iOS session.
|
|
19
|
+
*/
|
|
20
|
+
export declare const prepareP2PAudio: (kind: "audio" | "video") => Promise<void>;
|
|
21
|
+
/** Audio session first, then media and the offer / answer. */
|
|
22
|
+
export declare const startP2PController: (controller: P2PCallController, kind: "audio" | "video") => Promise<void>;
|
|
23
|
+
export declare const setP2PMicEnabled: (next: boolean) => void;
|
|
24
|
+
export declare const toggleP2PCamera: () => Promise<void>;
|
|
25
|
+
/** Front / back camera of the live local video track. */
|
|
26
|
+
export declare const switchP2PCamera: () => void;
|
|
27
|
+
export declare const toggleP2PSpeaker: () => Promise<void>;
|
|
28
|
+
export declare const dismissP2PDeviceError: () => void;
|
|
29
|
+
/** Reset module state. Test seam only. */
|
|
30
|
+
export declare const __resetP2PCallSessionForTests: () => void;
|
|
31
|
+
//# sourceMappingURL=p2pCallSession.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"p2pCallSession.d.ts","sourceRoot":"","sources":["../../../../src/components/VideoCalls/p2pCallSession.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,iBAAiB,EAElB,MAAM,mCAAmC,CAAC;AAG3C,OAAO,EAAE,mBAAmB,EAAgB,MAAM,oBAAoB,CAAC;AA8BvE,mEAAmE;AACnE,eAAO,MAAM,kBAAkB,GAAI,SAAS,MAAM,KAAG,MAGpD,CAAC;AA8BF,eAAO,MAAM,qBAAqB,QAAO,mBAA+B,CAAC;AAEzE,eAAO,MAAM,kBAAkB,QAAO,OAAyB,CAAC;AAEhE,eAAO,MAAM,aAAa,QAAO,mBAC8C,CAAC;AA+DhF;;;GAGG;AACH,eAAO,MAAM,cAAc,GACzB,YAAY,iBAAiB,EAC7B,MAAM,OAAO,GAAG,OAAO,KACtB,CAAC,MAAM,IAAI,CAgBb,CAAC;AAMF,eAAO,MAAM,gBAAgB,QAAO,IAanC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAC1B,MAAM,OAAO,GAAG,OAAO,KACtB,OAAO,CAAC,IAAI,CAiBd,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,kBAAkB,GAC7B,YAAY,iBAAiB,EAC7B,MAAM,OAAO,GAAG,OAAO,KACtB,OAAO,CAAC,IAAI,CAYd,CAAC;AAIF,eAAO,MAAM,gBAAgB,GAAI,MAAM,OAAO,KAAG,IAIhD,CAAC;AAEF,eAAO,MAAM,eAAe,QAAa,OAAO,CAAC,IAAI,CAIpD,CAAC;AAEF,yDAAyD;AACzD,eAAO,MAAM,eAAe,QAAO,IAYlC,CAAC;AAEF,eAAO,MAAM,gBAAgB,QAAa,OAAO,CAAC,IAAI,CAqBrD,CAAC;AAEF,eAAO,MAAM,qBAAqB,QAAO,IAExC,CAAC;AAEF,0CAA0C;AAC1C,eAAO,MAAM,6BAA6B,QAAO,IAIhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCallKeep.d.ts","sourceRoot":"","sources":["../../../../src/components/VideoCalls/useCallKeep.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"useCallKeep.d.ts","sourceRoot":"","sources":["../../../../src/components/VideoCalls/useCallKeep.ts"],"names":[],"mappings":"AAUA,OAAO,EAEL,YAAY,EAGb,MAAM,cAAc,CAAC;AAEtB;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AAEH,OAAO,EAAE,YAAY,EAAE,CAAC;AAYxB,eAAO,MAAM,WAAW,QAAO,IA4W9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useOngoingCallNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/VideoCalls/useOngoingCallNotification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,uBAAuB,EAExB,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"useOngoingCallNotification.d.ts","sourceRoot":"","sources":["../../../../src/components/VideoCalls/useOngoingCallNotification.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EACV,uBAAuB,EAExB,MAAM,mBAAmB,CAAC;AAM3B;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,GACrC,SAAS,uBAAuB,GAAG,SAAS,KAC3C,IA0FF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageImage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/MessageImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MessageImage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/MessageImage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAqBnD,UAAU,uBAAuB;IAC/B,wEAAwE;IACxE,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;OAGG;IACH,IAAI,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AASD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAwGzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VideoMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/VideoMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"VideoMessage.d.ts","sourceRoot":"","sources":["../../../../src/components/styled/VideoMessage.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAoBnD,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,oEAAoE;IACpE,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qFAAqF;IACrF,IAAI,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,wFAAwF;IACxF,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAgHD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAyCzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { ModalFileSource } from '../types/types';
|
|
2
|
+
export declare const MediaSourceProvider: import("react").Provider<ModalFileSource | undefined>;
|
|
3
|
+
export declare const useMediaSource: () => ModalFileSource | undefined;
|
|
4
|
+
//# sourceMappingURL=MediaSourceContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MediaSourceContext.d.ts","sourceRoot":"","sources":["../../../src/context/MediaSourceContext.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAUtD,eAAO,MAAM,mBAAmB,uDAA8B,CAAC;AAE/D,eAAO,MAAM,cAAc,mCAAuC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"xmppProvider.d.ts","sourceRoot":"","sources":["../../../src/context/xmppProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAQV,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"xmppProvider.d.ts","sourceRoot":"","sources":["../../../src/context/xmppProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAQV,MAAM,OAAO,CAAC;AAKf,OAAO,UAEN,MAAM,0BAA0B,CAAC;AAGlC,OAAO,EACL,OAAO,EACP,uBAAuB,EAEvB,qBAAqB,EACtB,MAAM,gBAAgB,CAAC;AA4CxB,UAAU,QAAQ;IAChB,OAAO,EAAE,UAAU,GAAG,MAAM,CAAC;CAC9B;AAED,UAAU,eAAe;IACvB,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC;IAC1B,uBAAuB,EAAE,uBAAuB,CAAC;IACjD,QAAQ,EAAE,QAAQ,CAAC,SAAS,CAAC,CAAC;IAC9B,SAAS,EAAE,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,KAAK,IAAI,CAAC;IAC/C,gBAAgB,EAAE,CAChB,QAAQ,EAAE,MAAM,EAChB,QAAQ,EAAE,MAAM,EAChB,YAAY,CAAC,EAAE,qBAAqB,KACjC,OAAO,CAAC,UAAU,CAAC,CAAC;CAC1B;AAID,UAAU,iBAAiB;IACzB,QAAQ,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,OAAO,CAAC;IAIjB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAcD,iFAAiF;AACjF,eAAO,MAAM,kBAAkB,uBAAuB,CAAC;AAEvD,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAy2BpD,CAAC;AAEF,eAAO,MAAM,aAAa,uBAkBzB,CAAC;AAEF,iFAAiF;AACjF,wBAAgB,cAAc,SAE7B"}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export interface ParsedCallPush {
|
|
2
2
|
callId: string | null;
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* LiveKit token, if the push carried one (lets us ring + accept offline).
|
|
5
|
+
* Empty for a peer to peer call: there is no room to join with it.
|
|
6
|
+
*/
|
|
4
7
|
token: string | null;
|
|
5
8
|
kind: 'audio' | 'video';
|
|
6
9
|
/** Bare room name (JID localpart) the call belongs to. */
|
|
@@ -11,6 +14,13 @@ export interface ParsedCallPush {
|
|
|
11
14
|
callerName: string | null;
|
|
12
15
|
/** Caller's xmpp localpart, when provided. */
|
|
13
16
|
callerXmppUsername: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* How the call is carried. `p2p` pushes carry an empty token; an older push
|
|
19
|
+
* service sends no `mode`, which means `livekit`.
|
|
20
|
+
*/
|
|
21
|
+
mode: 'p2p' | 'livekit';
|
|
22
|
+
/** The call is for a group room (always LiveKit). */
|
|
23
|
+
isGroup: boolean;
|
|
14
24
|
}
|
|
15
25
|
/**
|
|
16
26
|
* True when a push `data` payload represents an incoming call. Matches on an
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callPush.d.ts","sourceRoot":"","sources":["../../../src/helpers/callPush.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB
|
|
1
|
+
{"version":3,"file":"callPush.d.ts","sourceRoot":"","sources":["../../../src/helpers/callPush.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB;;;OAGG;IACH,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,OAAO,GAAG,OAAO,CAAC;IACxB,0DAA0D;IAC1D,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,mEAAmE;IACnE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,iDAAiD;IACjD,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B,8CAA8C;IAC9C,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC;;;OAGG;IACH,IAAI,EAAE,KAAK,GAAG,SAAS,CAAC;IACxB,qDAAqD;IACrD,OAAO,EAAE,OAAO,CAAC;CAClB;AAYD;;;;;GAKG;AACH,eAAO,MAAM,UAAU,GACrB,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,KAC3C,OAwBF,CAAC;AAEF,eAAO,MAAM,aAAa,GACxB,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,KAC3C,cAqBF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MODAL_COMPONENTS.d.ts","sourceRoot":"","sources":["../../../../src/helpers/constants/MODAL_COMPONENTS.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MODAL_COMPONENTS.d.ts","sourceRoot":"","sources":["../../../../src/helpers/constants/MODAL_COMPONENTS.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAmB1B,eAAO,MAAM,gBAAgB,EAAE,MAAM,CACnC,MAAM,EACN,KAAK,CAAC,EAAE,CAAC;IAAE,gBAAgB,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC,CAiB3C,CAAC"}
|
|
@@ -12,6 +12,8 @@ export declare const MODAL_TYPES: {
|
|
|
12
12
|
FILE_PREVIEW: string;
|
|
13
13
|
NEW_CHAT: string;
|
|
14
14
|
MESSAGE_SEARCH: string;
|
|
15
|
+
/** Message search locked to the open chat, reached from its profile. */
|
|
16
|
+
CHAT_MESSAGE_SEARCH: string;
|
|
15
17
|
PUBLIC_CHATS: string;
|
|
16
18
|
};
|
|
17
19
|
//# sourceMappingURL=MODAL_TYPES.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MODAL_TYPES.d.ts","sourceRoot":"","sources":["../../../../src/helpers/constants/MODAL_TYPES.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"MODAL_TYPES.d.ts","sourceRoot":"","sources":["../../../../src/helpers/constants/MODAL_TYPES.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;IAmBtB,wEAAwE;;;CAGzE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"incomingCallFromPush.d.ts","sourceRoot":"","sources":["../../../src/helpers/incomingCallFromPush.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"incomingCallFromPush.d.ts","sourceRoot":"","sources":["../../../src/helpers/incomingCallFromPush.ts"],"names":[],"mappings":"AAcA,MAAM,MAAM,cAAc,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;AAyK3D,eAAO,MAAM,cAAc,GACzB,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,EAC5C,SAAQ,cAAuB,KAC9B,OAWF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC7B,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,KAC3C,OAAyC,CAAC;AAE7C,eAAO,MAAM,mBAAmB,GAC9B,MAAM,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,KAC3C,OAA0C,CAAC;AAE9C,eAAO,MAAM,uBAAuB,QAAO,IAI1C,CAAC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { IConfig } from '../types/types';
|
|
2
2
|
/**
|
|
3
3
|
* "Discover chats" lives in the room list menu sheet. A host that takes the
|
|
4
|
-
* burger over (`headerMenu` as a function)
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* header
|
|
8
|
-
*
|
|
4
|
+
* burger over (`headerMenu` as a function) would otherwise have no obvious
|
|
5
|
+
* way to reach the directory, so it also gets a button of its own in the
|
|
6
|
+
* room list header. `chatHeaderSettings.disableMenu` does not count: the
|
|
7
|
+
* header avatar still opens the sheet, Discover included, and a second
|
|
8
|
+
* compass next to it was a duplicate. `disableRoomMenu` removes the menu
|
|
9
|
+
* entry point, and with it the button; `disablePublicChatsDirectory`
|
|
10
|
+
* removes the feature altogether.
|
|
9
11
|
*/
|
|
10
12
|
export declare const showsStandaloneDiscoverButton: (config?: IConfig) => boolean;
|
|
11
13
|
//# sourceMappingURL=publicChatsEntry.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicChatsEntry.d.ts","sourceRoot":"","sources":["../../../src/helpers/publicChatsEntry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C
|
|
1
|
+
{"version":3,"file":"publicChatsEntry.d.ts","sourceRoot":"","sources":["../../../src/helpers/publicChatsEntry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAE9C;;;;;;;;;GASG;AACH,eAAO,MAAM,6BAA6B,GAAI,SAAS,OAAO,KAAG,OAGvB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type PushPayloadOutcome = 'call' | 'room' | 'pending' | 'unknown';
|
|
1
|
+
export type PushPayloadOutcome = 'call' | 'scheduledCall' | 'room' | 'pending' | 'unknown';
|
|
2
2
|
export declare const PENDING_NOTIFICATION_JID_KEY = "ethora_pending_notification_jid";
|
|
3
3
|
export declare const PENDING_NOTIFICATION_TTL_MS: number;
|
|
4
4
|
export declare const readPendingJid: () => Promise<string | null>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pushPayload.d.ts","sourceRoot":"","sources":["../../../src/helpers/pushPayload.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pushPayload.d.ts","sourceRoot":"","sources":["../../../src/helpers/pushPayload.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,kBAAkB,GAC1B,MAAM,GACN,eAAe,GACf,MAAM,GACN,SAAS,GACT,SAAS,CAAC;AAEd,eAAO,MAAM,4BAA4B,oCAAoC,CAAC;AAC9E,eAAO,MAAM,2BAA2B,QAAgB,CAAC;AAEzD,eAAO,MAAM,cAAc,QAAa,OAAO,CAAC,MAAM,GAAG,IAAI,CAgB5D,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAI,KAAK,MAAM,KAAG,MAAM,GAAG,SAgBvD,CAAC;AAEF,eAAO,MAAM,iBAAiB,GAC5B,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,KAC/C,kBAUF,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { PostReportRoom } from '../types/models/room.model';
|
|
2
|
+
export interface ReportCategory {
|
|
3
|
+
id: string;
|
|
4
|
+
labelKey: string;
|
|
5
|
+
apiCategory: string;
|
|
6
|
+
/** English name, used in `text` (the report e-mail is not localized). */
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const REPORT_CATEGORIES: ReportCategory[];
|
|
10
|
+
export declare const OTHER_REPORT_CATEGORY: ReportCategory;
|
|
11
|
+
export declare const findReportCategory: (id: string) => ReportCategory | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* The request body for a room report. `roomJid` may be the full room JID or
|
|
14
|
+
* the bare room name: the route takes the bare name (JID localpart), like
|
|
15
|
+
* every other /v1/chats/... route. Returns null for an unknown category or
|
|
16
|
+
* an empty room.
|
|
17
|
+
*/
|
|
18
|
+
export declare const buildReportRoomPayload: (roomJid: string, categoryId: string, details?: string) => PostReportRoom | null;
|
|
19
|
+
//# sourceMappingURL=reportRoom.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reportRoom.d.ts","sourceRoot":"","sources":["../../../src/helpers/reportRoom.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAUjE,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,MAAM,CAAC;IACpB,yEAAyE;IACzE,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAqC7C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,cAKnC,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,IAAI,MAAM,KAAG,cAAc,GAAG,SACO,CAAC;AAEzE;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,GACjC,SAAS,MAAM,EACf,YAAY,MAAM,EAClB,UAAU,MAAM,KACf,cAAc,GAAG,IAenB,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { IMessage, ModalFile } from '../types/types';
|
|
2
|
+
import { isOwnMessage } from './isOwnMessage';
|
|
3
|
+
export interface MediaOptions {
|
|
4
|
+
/** The signed-in user, as isOwnMessage takes it. */
|
|
5
|
+
me: Parameters<typeof isOwnMessage>[1];
|
|
6
|
+
fileToken?: string;
|
|
7
|
+
interactive: boolean;
|
|
8
|
+
repliesOn: boolean;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Every picture and video of the room's loaded history, newest first, each
|
|
12
|
+
* carrying the message it came from so the viewer's Reply and Delete act on
|
|
13
|
+
* the right one (same rules as a bubble: Delete on one's own, Reply where
|
|
14
|
+
* replies are on).
|
|
15
|
+
*/
|
|
16
|
+
export declare const collectRoomMedia: (messages: IMessage[] | undefined, roomJid: string, { me, fileToken, interactive, repliesOn }: MediaOptions) => ModalFile[];
|
|
17
|
+
/**
|
|
18
|
+
* The media feed the viewer pages through when a picture or video is opened
|
|
19
|
+
* from a bubble: every picture and video of the list that bubble sits in (the
|
|
20
|
+
* channel, or the one thread for a thread-only reply), oldest first so a
|
|
21
|
+
* swipe to the left goes forward in time, the way the chat reads. The opened
|
|
22
|
+
* file comes back with that feed as its siblings; null when the file is not
|
|
23
|
+
* in the loaded history (the caller then keeps what it was opened with).
|
|
24
|
+
*/
|
|
25
|
+
export declare const withChatSiblings: (file: ModalFile, messages: IMessage[] | undefined, options: MediaOptions) => ModalFile | null;
|
|
26
|
+
//# sourceMappingURL=roomMedia.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roomMedia.d.ts","sourceRoot":"","sources":["../../../src/helpers/roomMedia.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAM1D,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,WAAW,YAAY;IAC3B,oDAAoD;IACpD,EAAE,EAAE,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,SAAS,EAAE,OAAO,CAAC;CACpB;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB,GAC3B,UAAU,QAAQ,EAAE,GAAG,SAAS,EAChC,SAAS,MAAM,EACf,2CAA2C,YAAY,KACtD,SAAS,EAoDX,CAAC;AAaF;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,GAC3B,MAAM,SAAS,EACf,UAAU,QAAQ,EAAE,GAAG,SAAS,EAChC,SAAS,YAAY,KACpB,SAAS,GAAG,IAsBd,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../../src/i18n/strings.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"strings.d.ts","sourceRoot":"","sources":["../../../src/i18n/strings.ts"],"names":[],"mappings":"AAaA,MAAM,MAAM,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAk2FnD,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,aAAa,CAOzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,OAAO,CAAC;AAExC,gFAAgF;AAChF,eAAO,MAAM,cAAc,GAAI,SAAS,MAAM,GAAG,IAAI,KAAG,MAIf,CAAC;AAE1C;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,GAC7B,SAAS,MAAM,GAAG,IAAI,EACtB,YAAY,aAAa,GAAG,IAAI,KAC/B,aAQF,CAAC;AAEF,6DAA6D;AAC7D,eAAO,MAAM,WAAW,GACtB,UAAU,MAAM,EAChB,OAAO,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAKF,CAAC;AAEF,uDAAuD;AACvD,eAAO,MAAM,YAAY,GACvB,KAAK,MAAM,EACX,SAAS,MAAM,GAAG,IAAI,EACtB,YAAY,aAAa,GAAG,IAAI,EAChC,OAAO,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACrC,MAGF,CAAC"}
|
package/lib/typescript/main.d.ts
CHANGED
|
@@ -33,6 +33,11 @@ export type { CallPushIntent } from './helpers/incomingCallFromPush';
|
|
|
33
33
|
export { isCallPush, parseCallPush } from './helpers/callPush';
|
|
34
34
|
export type { ParsedCallPush } from './helpers/callPush';
|
|
35
35
|
export type { PushPayloadOutcome } from './helpers/pushPayload';
|
|
36
|
+
export { parseScheduledCallLink, configureScheduledCallLinks, DEFAULT_SCHEDULED_CALL_HOSTS, } from './booking/scheduledCallLink';
|
|
37
|
+
export type { ScheduledCallLinkOptions } from './booking/scheduledCallLink';
|
|
38
|
+
export { openScheduledCall, handleScheduledCallUrl, handleScheduledCallPush, isScheduledCallReminderPush, scheduledCallSlugFromPush, SCHEDULED_CALL_REMINDER_PUSH_TYPE, } from './booking/pendingScheduledCall';
|
|
39
|
+
export { getScheduledCall, listScheduledCalls, createScheduledCall, updateScheduledCall, cancelScheduledCall, isScheduledCallApiError, } from './networking/api-requests/scheduledCalls.api';
|
|
40
|
+
export type { ScheduledCall, ScheduledCallDetail, ScheduledCallLinks, CreateScheduledCallInput, UpdateScheduledCallInput, } from './networking/api-requests/scheduledCalls.api';
|
|
36
41
|
export { registerPushToken, unregisterPushToken, getRegisteredPushToken, getRegisteredPushTokens, } from './services/pushRegistration';
|
|
37
42
|
export type { RegisterPushTokenOptions, RegisterPushTokenOutcome, UnregisterPushTokenOutcome, RegisteredPushToken, } from './services/pushRegistration';
|
|
38
43
|
export { detectPushTokenType, PushRegistrationError, isPushRegistrationError, } from './networking/api-requests/push.api';
|
|
@@ -52,7 +57,7 @@ export { useChatFonts } from './hooks/useChatFonts';
|
|
|
52
57
|
export { useT, useUiLocale } from './i18n/useT';
|
|
53
58
|
export { BUILTIN_STRINGS, DEFAULT_UI_LANGUAGE, resolveStringTable, toBaseLanguage, translateKey, } from './i18n/strings';
|
|
54
59
|
export type { UiStringTable } from './i18n/strings';
|
|
55
|
-
export type { IConfig, IRoom, IMessage, IUser, User, ConfigUser, MessageProps, TypographyConfig, RNFontSource, ChatTextStyle, VideoCallsConfig, VideoCallIcons, OngoingCallNotification, OngoingCallNotificationAction, OngoingCallNotificationState, } from './types/types';
|
|
60
|
+
export type { IConfig, IRoom, IMessage, IUser, User, ConfigUser, MessageProps, TypographyConfig, RNFontSource, ChatTextStyle, VideoCallsConfig, ScheduledCallsConfig, VideoCallIcons, OngoingCallNotification, OngoingCallNotificationAction, OngoingCallNotificationState, } from './types/types';
|
|
56
61
|
export type { Iso639_1Codes } from './types/models/language.model';
|
|
57
62
|
export type { TranslateMode } from './utils/translateModePolicy';
|
|
58
63
|
export { refreshAuthTokens, refreshAuthTokensQuietly, RefreshFatalError, isRefreshFatalError, } from './networking/authRefresh';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../../src/main.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,gCAAgC,CAAC;AAGxC,OAAO,EAAE,YAAY,IAAI,IAAI,EAAE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W,EACX,QAAQ,GACT,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAC9E,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC9C,YAAY,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IceServerConfig } from '../../calls/callMode';
|
|
2
|
+
/** Callee: the incoming UI is on screen. */
|
|
3
|
+
export declare const reportCallRinging: (callId: string | null) => void;
|
|
4
|
+
/** Callee: the user rejected the call. The server relays it to the caller. */
|
|
5
|
+
export declare const reportCallDeclined: (callId: string | null) => void;
|
|
6
|
+
/** Media is flowing (ICE connected). Starts the server-side call timer. */
|
|
7
|
+
export declare const reportCallConnected: (callId: string | null) => void;
|
|
8
|
+
/**
|
|
9
|
+
* A ringing or connected call ended for any reason. Idempotent on the server
|
|
10
|
+
* (a second report returns `ended:false`), so both peers may send it.
|
|
11
|
+
*/
|
|
12
|
+
export declare const reportCallEnded: (callId: string | null) => void;
|
|
13
|
+
export interface IceServersResponse {
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
iceServers: IceServerConfig[];
|
|
16
|
+
ttlSeconds: number | null;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* GET /v1/calls/ice-servers: fresh STUN/TURN credentials. Used by a callee
|
|
20
|
+
* whose call-token carried no `ice` list, and to refresh the (ephemeral)
|
|
21
|
+
* credentials before an ICE restart. Returns null on any failure so callers
|
|
22
|
+
* can carry on with the servers they already have.
|
|
23
|
+
*/
|
|
24
|
+
export declare function fetchIceServers(): Promise<IceServersResponse | null>;
|
|
25
|
+
//# sourceMappingURL=callState.api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"callState.api.d.ts","sourceRoot":"","sources":["../../../../src/networking/api-requests/callState.api.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAuB,MAAM,sBAAsB,CAAC;AAgC5E,4CAA4C;AAC5C,eAAO,MAAM,iBAAiB,GAAI,QAAQ,MAAM,GAAG,IAAI,SACrB,CAAC;AAEnC,8EAA8E;AAC9E,eAAO,MAAM,kBAAkB,GAAI,QAAQ,MAAM,GAAG,IAAI,SACtB,CAAC;AAEnC,2EAA2E;AAC3E,eAAO,MAAM,mBAAmB,GAAI,QAAQ,MAAM,GAAG,IAAI,SACrB,CAAC;AAErC;;;GAGG;AACH,eAAO,MAAM,eAAe,GAAI,QAAQ,MAAM,GAAG,IAAI,SACvB,CAAC;AAE/B,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,eAAe,EAAE,CAAC;IAC9B,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CAC3B;AAED;;;;;GAKG;AACH,wBAAsB,eAAe,IAAI,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAgB1E"}
|
|
@@ -27,6 +27,11 @@ export interface PushSubscriptionPayload {
|
|
|
27
27
|
pushKey?: string;
|
|
28
28
|
pushKeyAlg?: typeof PUSH_KEY_ALG;
|
|
29
29
|
pushKeyId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* BCP-47 tag the service writes this device's pushes in. A full tag is
|
|
32
|
+
* fine: the service reduces fr-CA / es-US to fr / es itself.
|
|
33
|
+
*/
|
|
34
|
+
language?: string;
|
|
30
35
|
}
|
|
31
36
|
export interface RegisterPushSubscriptionArgs {
|
|
32
37
|
appId: string;
|
|
@@ -36,9 +41,11 @@ export interface RegisterPushSubscriptionArgs {
|
|
|
36
41
|
/** Base64 public key for encrypted pushes (`ensurePushKeyPair().publicKey`). */
|
|
37
42
|
pushKey?: string;
|
|
38
43
|
pushKeyId?: string;
|
|
44
|
+
/** Language of this device's pushes (`config.translates.readerLocale` / `i18n.locale`). */
|
|
45
|
+
language?: string;
|
|
39
46
|
}
|
|
40
|
-
export declare const buildPushSubscriptionPayload: (token: string, tokenType: PushTokenType, pushKey?: string, pushKeyId?: string) => PushSubscriptionPayload;
|
|
41
|
-
export declare function registerPushSubscription({ appId, token, tokenType, authToken, pushKey, pushKeyId, }: RegisterPushSubscriptionArgs): Promise<void>;
|
|
47
|
+
export declare const buildPushSubscriptionPayload: (token: string, tokenType: PushTokenType, pushKey?: string, pushKeyId?: string, language?: string) => PushSubscriptionPayload;
|
|
48
|
+
export declare function registerPushSubscription({ appId, token, tokenType, authToken, pushKey, pushKeyId, language, }: RegisterPushSubscriptionArgs): Promise<void>;
|
|
42
49
|
export interface UnregisterPushSubscriptionArgs {
|
|
43
50
|
appId: string;
|
|
44
51
|
token: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"push.api.d.ts","sourceRoot":"","sources":["../../../../src/networking/api-requests/push.api.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,YAAY,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,SAAS,GAAG,KAAK,CAAC;AAEvD;;;;GAIG;AACH,qBAAa,qBAAsB,SAAQ,KAAK;IAC9C,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC;gBAEZ,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO;CAM7D;AAED,eAAO,MAAM,uBAAuB,GAClC,OAAO,OAAO,KACb,KAAK,IAAI,qBACwD,CAAC;AAKrE,eAAO,MAAM,mBAAmB,GAAI,OAAO,MAAM,KAAG,aASnD,CAAC;AAEF,e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AAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;CACnB;AAWD,eAAO,MAAM,uBAAuB,GAAI,kCAIrC,IAAI,CAAC,oBAAoB,EAAE,OAAO,GAAG,SAAS,GAAG,aAAa,CAAC,KAAG,8BAKnE,CAAC;AAEH,wBAAsB,sBAAsB,CAC1C,IAAI,EAAE,oBAAoB,GACzB,OAAO,CAAC,IAAI,CAAC,CASf"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiRoom, DeleteRoomMember, PostAddRoomMember, PostReportRoom, PostRoom, RoomMember } from '../../types/models/room.model';
|
|
2
|
+
import { CallCreateResult } from '../../calls/callMode';
|
|
2
3
|
/**
|
|
3
4
|
* Materialize a REST `/chats/my` item into an `IRoom` + dispatch
|
|
4
5
|
* `addRoom`. Without this, REST-fetched rooms never make it into
|
|
@@ -46,17 +47,18 @@ export declare function postReportRoom(data: PostReportRoom): Promise<any>;
|
|
|
46
47
|
export declare function postAddRoomMember(data: PostAddRoomMember): Promise<RoomMember[]>;
|
|
47
48
|
export declare function deleteRoomMember(data: DeleteRoomMember): Promise<any>;
|
|
48
49
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
50
|
+
* Leave a chat on the server: `PUT /v1/chats/my/{chatName}/leave` sets the
|
|
51
|
+
* `left` flag on the caller's own membership, and /chats/my stops listing
|
|
52
|
+
* the room. The unavailable presence alone only leaves the MUC for this
|
|
53
|
+
* session, the next /chats/my would bring the chat back. Not
|
|
54
|
+
* `DELETE /users-access`: that one is owner-only and refuses self-removal.
|
|
55
|
+
* A 404 means we are not a member any more, which is what we wanted.
|
|
54
56
|
*/
|
|
55
57
|
export declare function leaveRoom(chatName: string): Promise<void>;
|
|
56
58
|
export declare function deleteRoom(name: string): Promise<any>;
|
|
57
59
|
export declare function createChatCall(chatName: string, options?: {
|
|
58
60
|
kind?: 'audio' | 'video';
|
|
59
|
-
}): Promise<
|
|
61
|
+
}): Promise<CallCreateResult>;
|
|
60
62
|
export declare function clearRoomsRestCache(): void;
|
|
61
63
|
export type { ApiRoom };
|
|
62
64
|
//# sourceMappingURL=rooms.api.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rooms.api.d.ts","sourceRoot":"","sources":["../../../../src/networking/api-requests/rooms.api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"rooms.api.d.ts","sourceRoot":"","sources":["../../../../src/networking/api-requests/rooms.api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,cAAc,EAAE,QAAQ,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAMnI,OAAO,EACL,gBAAgB,EAEjB,MAAM,sBAAsB,CAAC;AAmF9B;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAIhE;AAED,wBAAgB,QAAQ,IAAI,MAAM,CAKjC;AAqHD;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,MAAM,EACf,OAAO,GAAE;IAAE,KAAK,CAAC,EAAE,OAAO,CAAA;CAAO,GAChC,OAAO,CAAC,OAAO,CAAC,CAuDlB;AAmBD;;;;GAIG;AACH,wBAAsB,QAAQ,IAAI,OAAO,CAAC;IAAE,KAAK,EAAE,OAAO,EAAE,CAAA;CAAE,CAAC,CA2C9D;AAED,wBAAsB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAatE;AAED,wBAAsB,QAAQ,CAAC,IAAI,EAAE,QAAQ,gBAa5C;AAED,wBAAsB,eAAe,CACnC,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,OAAe,GACpB,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED,wBAAsB,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAarF;AAED,wBAAsB,cAAc,CAAC,IAAI,EAAE,cAAc,gBAkBxD;AAED,wBAAsB,iBAAiB,CACrC,IAAI,EAAE,iBAAiB,GACtB,OAAO,CAAC,UAAU,EAAE,CAAC,CAkBvB;AAED,wBAAsB,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,gBAkB5D;AAED;;;;;;;GAOG;AACH,wBAAsB,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiB/D;AAED,wBAAsB,UAAU,CAAC,IAAI,EAAE,MAAM,gBAc5C;AAyBD,wBAAsB,cAAc,CAClC,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE;IAAE,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;CAAE,GACrC,OAAO,CAAC,gBAAgB,CAAC,CA0B3B;AAED,wBAAgB,mBAAmB,SAGlC;AAED,YAAY,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Scheduled calls (booking). Wrappers for `/v1/chats/calls/scheduled`.
|
|
3
|
+
*
|
|
4
|
+
* The backend decides every link: the join link, the .ics download and the
|
|
5
|
+
* Google / Outlook templates come back in `links`, and the client only opens
|
|
6
|
+
* them. No calendar URL is ever built here.
|
|
7
|
+
*/
|
|
8
|
+
export type ScheduledCallKind = 'video' | 'audio';
|
|
9
|
+
export type ScheduledCallRecordStatus = 'scheduled' | 'cancelled';
|
|
10
|
+
export interface ScheduledCall {
|
|
11
|
+
id?: string;
|
|
12
|
+
chatName: string;
|
|
13
|
+
chatType?: 'private' | 'group' | 'public' | string;
|
|
14
|
+
createdBy?: string;
|
|
15
|
+
title: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
/** ISO 8601, UTC. */
|
|
18
|
+
startAt: string;
|
|
19
|
+
durationMinutes: number;
|
|
20
|
+
timezone?: string;
|
|
21
|
+
kind: ScheduledCallKind;
|
|
22
|
+
slug: string;
|
|
23
|
+
status: ScheduledCallRecordStatus;
|
|
24
|
+
sequence?: number;
|
|
25
|
+
}
|
|
26
|
+
export interface ScheduledCallLinks {
|
|
27
|
+
join: string;
|
|
28
|
+
ics?: string;
|
|
29
|
+
google?: string;
|
|
30
|
+
outlook?: string;
|
|
31
|
+
office365?: string;
|
|
32
|
+
}
|
|
33
|
+
export interface ScheduledCallChat {
|
|
34
|
+
name?: string;
|
|
35
|
+
title?: string;
|
|
36
|
+
type?: string;
|
|
37
|
+
jid?: string;
|
|
38
|
+
}
|
|
39
|
+
export interface ScheduledCallDetail {
|
|
40
|
+
scheduledCall: ScheduledCall;
|
|
41
|
+
links: ScheduledCallLinks;
|
|
42
|
+
/** Only the single-call GET carries it. */
|
|
43
|
+
chat?: ScheduledCallChat;
|
|
44
|
+
}
|
|
45
|
+
export interface CreateScheduledCallInput {
|
|
46
|
+
/** The bare room name (JID localpart), as the call endpoints take it. */
|
|
47
|
+
chatName: string;
|
|
48
|
+
title?: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
/** ISO 8601. */
|
|
51
|
+
startAt: string;
|
|
52
|
+
durationMinutes?: number;
|
|
53
|
+
timezone?: string;
|
|
54
|
+
kind?: ScheduledCallKind;
|
|
55
|
+
}
|
|
56
|
+
export interface UpdateScheduledCallInput {
|
|
57
|
+
title?: string;
|
|
58
|
+
description?: string;
|
|
59
|
+
startAt?: string;
|
|
60
|
+
durationMinutes?: number;
|
|
61
|
+
kind?: ScheduledCallKind;
|
|
62
|
+
}
|
|
63
|
+
export type ScheduledCallErrorCode = 'not-found' | 'not-a-member' | 'forbidden' | 'invalid' | 'conflict' | 'network' | 'unknown';
|
|
64
|
+
export declare class ScheduledCallApiError extends Error {
|
|
65
|
+
code: ScheduledCallErrorCode;
|
|
66
|
+
status?: number;
|
|
67
|
+
/** The server's own `code` (e.g. `START_IN_PAST`, `CALL_CANCELLED`), when it sent one. */
|
|
68
|
+
serverCode?: string;
|
|
69
|
+
constructor(code: ScheduledCallErrorCode, status?: number, message?: string, serverCode?: string);
|
|
70
|
+
}
|
|
71
|
+
export declare const isScheduledCallApiError: (error: unknown) => error is ScheduledCallApiError;
|
|
72
|
+
/** POST /v1/chats/calls/scheduled */
|
|
73
|
+
export declare const createScheduledCall: (input: CreateScheduledCallInput) => Promise<ScheduledCallDetail>;
|
|
74
|
+
/** GET /v1/chats/calls/scheduled?chatName=&from=&to= (upcoming first). */
|
|
75
|
+
export declare const listScheduledCalls: (params: {
|
|
76
|
+
chatName?: string;
|
|
77
|
+
from?: string;
|
|
78
|
+
to?: string;
|
|
79
|
+
}) => Promise<ScheduledCallDetail[]>;
|
|
80
|
+
/** GET /v1/chats/calls/scheduled/:slug. 404 unknown, 403 not a member. */
|
|
81
|
+
export declare const getScheduledCall: (slug: string) => Promise<ScheduledCallDetail>;
|
|
82
|
+
/** PATCH /v1/chats/calls/scheduled/:slug (creator or room owner). */
|
|
83
|
+
export declare const updateScheduledCall: (slug: string, patch: UpdateScheduledCallInput) => Promise<ScheduledCallDetail>;
|
|
84
|
+
/** DELETE /v1/chats/calls/scheduled/:slug (creator or room owner). */
|
|
85
|
+
export declare const cancelScheduledCall: (slug: string) => Promise<ScheduledCall>;
|
|
86
|
+
//# sourceMappingURL=scheduledCalls.api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scheduledCalls.api.d.ts","sourceRoot":"","sources":["../../../../src/networking/api-requests/scheduledCalls.api.ts"],"names":[],"mappings":"AAGA;;;;;;GAMG;AAEH,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,OAAO,CAAC;AAClD,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G,OAAO,CAAC,mBAAmB,CAOvE,CAAC;AAEL,qEAAqE;AACrE,eAAO,MAAM,mBAAmB,GAC9B,MAAM,MAAM,EACZ,OAAO,wBAAwB,KAC9B,OAAO,CAAC,mBAAmB,CAQ1B,CAAC;AAEL,sEAAsE;AACtE,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,KAAG,OAAO,CAAC,aAAa,CAWpE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"callTokenStanza.d.ts","sourceRoot":"","sources":["../../../src/networking/callTokenStanza.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"callTokenStanza.d.ts","sourceRoot":"","sources":["../../../src/networking/callTokenStanza.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AA2X9B,eAAO,MAAM,kBAAkB,GAAI,QAAQ,OAAO,KAAG,OAmZpD,CAAC;AAYF,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,UAAU,GAAG,WAAW,GAAG,UAAU,CAAC;AAE9E,eAAO,MAAM,mBAAmB,GAC9B,OAAO,eAAe,EACtB,UAAU;IACR,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC9B,KACA,IA0CF,CAAC;AAUF,eAAO,MAAM,oBAAoB,GAC/B,MAAM,OAAO,GAAG,OAAO,EACvB,SAAS;IACP,gBAAgB,EAAE,MAAM,CAAC;IACzB,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACxB,KACA,IA6BF,CAAC"}
|