@azure/communication-react 1.3.3-alpha-202210290014.0 → 1.4.1-beta.1
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 → CHANGELOG.beta.md} +52 -211
- package/CHANGELOG.json +2307 -0
- package/CHANGELOG.stable.md +287 -0
- package/dist/communication-react.d.ts +307 -91
- package/dist/dist-cjs/communication-react/index.js +11193 -10508
- package/dist/dist-cjs/communication-react/index.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetry.d.ts +10 -0
- package/dist/dist-esm/acs-ui-common/src/telemetry.js +10 -0
- package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
- package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +5 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +5 -0
- package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +51 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +270 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.d.ts +20 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +36 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +6 -51
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +22 -299
- package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +43 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +81 -0
- package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js +17 -5
- package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +2 -2
- package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js +3 -3
- package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/index.d.ts +4 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js +4 -0
- package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +10 -3
- package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +12 -2
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js +25 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +16 -2
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +27 -1
- package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +11 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +15 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +7 -1
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +11 -0
- package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +26 -0
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js +4 -0
- package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +9 -6
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js +37 -182
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +53 -0
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +204 -0
- package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +5 -1
- package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +4 -65
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.d.ts +13 -0
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +88 -0
- package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +2 -2
- package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +4 -3
- package/dist/dist-esm/calling-stateful-client/src/Converter.js +4 -0
- package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.d.ts +2 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.d.ts +3 -2
- package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +16 -0
- package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +89 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
- package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +19 -0
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +35 -0
- package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +8 -0
- package/dist/dist-esm/calling-stateful-client/src/index-public.js +4 -0
- package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -0
- package/dist/dist-esm/calling-stateful-client/src/index.d.ts +3 -7
- package/dist/dist-esm/calling-stateful-client/src/index.js +2 -1
- package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +5 -0
- package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
- package/dist/dist-esm/communication-react/src/index.d.ts +6 -4
- package/dist/dist-esm/communication-react/src/index.js +4 -2
- package/dist/dist-esm/communication-react/src/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/{BrowserPermissionDenied.d.ts → DevicePermissions/BrowserPermissionDenied.d.ts} +4 -4
- package/dist/dist-esm/react-components/src/components/{BrowserPermissionDenied.js → DevicePermissions/BrowserPermissionDenied.js} +8 -6
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{BrowserPermissionDeniedIOS.d.ts → DevicePermissions/BrowserPermissionDeniedIOS.d.ts} +1 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/{DevicePermissionDropdown.d.ts → DevicePermissions/DevicePermissionDropdown.d.ts} +4 -0
- package/dist/dist-esm/react-components/src/components/{DevicePermissionDropdown.js → DevicePermissions/DevicePermissionDropdown.js} +3 -2
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.d.ts +101 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js +80 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissions.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.d.ts +86 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js +31 -0
- package/dist/dist-esm/react-components/src/components/DevicePermissions/DomainPermissionsScaffolding.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +1 -1
- package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/MessageThread.js +7 -11
- package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +3 -3
- package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/VideoTile.js +9 -2
- package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/index.d.ts +9 -8
- package/dist/dist-esm/react-components/src/components/index.js +4 -4
- package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js +0 -2
- package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js +10 -1
- package/dist/dist-esm/react-components/src/components/styles/DomainPermissions.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +1 -1
- package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.d.ts +1 -5
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -11
- package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js +6 -0
- package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
- package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
- package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
- package/dist/dist-esm/react-components/src/components/utils.d.ts +4 -0
- package/dist/dist-esm/react-components/src/components/utils.js +6 -0
- package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +21 -5
- package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +56 -2
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +2 -1
- package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.d.ts +4 -1
- package/dist/dist-esm/react-components/src/theming/icons.js +30 -18
- package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
- package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
- package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +3 -0
- package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +0 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +23 -17
- package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +25 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +24 -11
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +7 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +14 -12
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +4 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js +4 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageCameraDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageErrorBar.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageErrorBar.js +4 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageErrorBar.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js +6 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationpageMicDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +2 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +11 -3
- package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +1 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +76 -5
- package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +5 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.d.ts +6 -2
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +9 -4
- package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +8 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +26 -0
- package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +4 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +3 -3
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +2 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.d.ts +0 -2
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js +0 -13
- package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +3 -1
- package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +10 -1
- package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.d.ts +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +4 -1
- package/dist/dist-esm/react-composites/src/composites/common/icons.js +2 -2
- package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
- package/package.json +12 -12
- package/dist/dist-esm/react-components/src/components/BrowserPermissionDenied.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/BrowserPermissionDeniedIOS.js +0 -57
- package/dist/dist-esm/react-components/src/components/BrowserPermissionDeniedIOS.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DevicePermissionDropdown.js.map +0 -1
- package/dist/dist-esm/react-components/src/components/DomainPermissions.d.ts +0 -53
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js +0 -43
- package/dist/dist-esm/react-components/src/components/DomainPermissions.js.map +0 -1
@@ -83,6 +83,8 @@ import { RoomCallLocator } from '@azure/communication-calling';
|
|
83
83
|
import { ScalingMode } from '@azure/communication-calling';
|
84
84
|
import { SendMessageOptions } from '@azure/communication-chat';
|
85
85
|
import { StartCallOptions } from '@azure/communication-calling';
|
86
|
+
import { TeamsCall } from '@azure/communication-calling';
|
87
|
+
import { TeamsCallAgent } from '@azure/communication-calling';
|
86
88
|
import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
|
87
89
|
import { Theme } from '@fluentui/react';
|
88
90
|
import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
|
@@ -260,6 +262,24 @@ export declare type AzureCommunicationCallAdapterArgs = {
|
|
260
262
|
credential: CommunicationTokenCredential;
|
261
263
|
locator: CallAdapterLocator;
|
262
264
|
alternateCallerId?: string;
|
265
|
+
/**
|
266
|
+
* Optional parameters for the {@link AzureCommunicationCallAdapter} created
|
267
|
+
*/
|
268
|
+
options?: AzureCommunicationCallAdapterOptions;
|
269
|
+
};
|
270
|
+
|
271
|
+
/**
|
272
|
+
* Optional parameters to create {@link AzureCommunicationCallAdapter}
|
273
|
+
*
|
274
|
+
* @beta
|
275
|
+
*/
|
276
|
+
export declare type AzureCommunicationCallAdapterOptions = {
|
277
|
+
/**
|
278
|
+
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
279
|
+
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
280
|
+
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
281
|
+
*/
|
282
|
+
roleHint?: Role;
|
263
283
|
};
|
264
284
|
|
265
285
|
/**
|
@@ -365,7 +385,7 @@ export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissi
|
|
365
385
|
/**
|
366
386
|
* Localization strings for BrowserPermissionDeniedIOS component.
|
367
387
|
*/
|
368
|
-
strings
|
388
|
+
strings?: BrowserPermissionDeniedIOSStrings;
|
369
389
|
/**
|
370
390
|
* Link to image source.
|
371
391
|
*
|
@@ -433,15 +453,15 @@ export declare interface BrowserPermissionDeniedProps {
|
|
433
453
|
/**
|
434
454
|
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
435
455
|
*/
|
436
|
-
onTroubleshootingClick
|
456
|
+
onTroubleshootingClick?: () => void;
|
437
457
|
/**
|
438
458
|
* Action to be taken by the try again primary button.
|
439
459
|
*/
|
440
|
-
onTryAgainClick
|
460
|
+
onTryAgainClick?: () => void;
|
441
461
|
/**
|
442
462
|
* Localization strings for BrowserPermissionDenied component.
|
443
463
|
*/
|
444
|
-
strings
|
464
|
+
strings?: BrowserPermissionDeniedStrings;
|
445
465
|
/**
|
446
466
|
* Allows users to pass in an object contains custom CSS styles.
|
447
467
|
* @Example
|
@@ -665,6 +685,12 @@ export declare type CallAdapterClientState = {
|
|
665
685
|
* Azure communications Phone number to make PSTN calls with.
|
666
686
|
*/
|
667
687
|
alternateCallerId?: string;
|
688
|
+
/**
|
689
|
+
* Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
|
690
|
+
* should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
|
691
|
+
* {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
|
692
|
+
*/
|
693
|
+
roleHint?: Role;
|
668
694
|
};
|
669
695
|
|
670
696
|
/**
|
@@ -902,7 +928,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
|
|
902
928
|
*/
|
903
929
|
export declare interface CallAgentProviderProps {
|
904
930
|
children: React_2.ReactNode;
|
905
|
-
callAgent?: CallAgent;
|
931
|
+
callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
906
932
|
}
|
907
933
|
|
908
934
|
/**
|
@@ -1196,10 +1222,6 @@ export declare interface CallCompositeProps extends BaseCompositeProps<CallCompo
|
|
1196
1222
|
* Flags to enable/disable or customize UI elements of the {@link CallComposite}.
|
1197
1223
|
*/
|
1198
1224
|
options?: CallCompositeOptions;
|
1199
|
-
/**
|
1200
|
-
* Set this to enable/disable capacities for different roles
|
1201
|
-
*/
|
1202
|
-
role?: Role;
|
1203
1225
|
}
|
1204
1226
|
|
1205
1227
|
/**
|
@@ -1638,7 +1660,7 @@ export declare type CallErrors = {
|
|
1638
1660
|
*
|
1639
1661
|
* @public
|
1640
1662
|
*/
|
1641
|
-
export declare type CallErrorTarget = 'Call.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject';
|
1663
|
+
export declare type CallErrorTarget = 'Call.addParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallClient.getEnvironmentInfo' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject' | /* @conditional-compile-remove(calling-beta-sdk) */ /* @conditional-compile-remove(teams-identity-support) */ 'TeamsCall.addParticipant';
|
1642
1664
|
|
1643
1665
|
/**
|
1644
1666
|
* Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
|
@@ -1666,30 +1688,9 @@ export declare type CallingBaseSelectorProps = {
|
|
1666
1688
|
*
|
1667
1689
|
* @public
|
1668
1690
|
*/
|
1669
|
-
export declare
|
1670
|
-
|
1671
|
-
|
1672
|
-
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => Call | undefined;
|
1673
|
-
onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;
|
1674
|
-
onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;
|
1675
|
-
onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>;
|
1676
|
-
onToggleMicrophone: () => Promise<void>;
|
1677
|
-
onStartScreenShare: () => Promise<void>;
|
1678
|
-
onStopScreenShare: () => Promise<void>;
|
1679
|
-
onToggleScreenShare: () => Promise<void>;
|
1680
|
-
onHangUp: (forEveryone?: boolean) => Promise<void>;
|
1681
|
-
onToggleHold: () => Promise<void>;
|
1682
|
-
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
1683
|
-
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
1684
|
-
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
1685
|
-
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
1686
|
-
onRemoveParticipant(userId: string): Promise<void>;
|
1687
|
-
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
1688
|
-
onDisposeRemoteStreamView: (userId: string) => Promise<void>;
|
1689
|
-
onDisposeLocalStreamView: () => Promise<void>;
|
1690
|
-
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
1691
|
-
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
1692
|
-
};
|
1691
|
+
export declare interface CallingHandlers extends CommonCallingHandlers {
|
1692
|
+
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => Call | undefined;
|
1693
|
+
}
|
1693
1694
|
|
1694
1695
|
/**
|
1695
1696
|
* Helper type for {@link usePropsFor}.
|
@@ -1726,6 +1727,8 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
|
|
1726
1727
|
isMuted?: boolean;
|
1727
1728
|
/** Whether calling participant is speaking */
|
1728
1729
|
isSpeaking?: boolean;
|
1730
|
+
/** Role of participant in Rooms call */
|
1731
|
+
role?: Role;
|
1729
1732
|
};
|
1730
1733
|
|
1731
1734
|
/**
|
@@ -1761,7 +1764,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
|
|
1761
1764
|
*/
|
1762
1765
|
export declare interface CallProviderProps {
|
1763
1766
|
children: React_2.ReactNode;
|
1764
|
-
call?: Call;
|
1767
|
+
call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
1765
1768
|
}
|
1766
1769
|
|
1767
1770
|
/**
|
@@ -1775,6 +1778,10 @@ export declare interface CallState {
|
|
1775
1778
|
* Proxy of {@link @azure/communication-calling#Call.id}.
|
1776
1779
|
*/
|
1777
1780
|
id: string;
|
1781
|
+
/**
|
1782
|
+
* Type of the call.
|
1783
|
+
*/
|
1784
|
+
type: 'Teams' | 'ACS';
|
1778
1785
|
/**
|
1779
1786
|
* Proxy of {@link @azure/communication-calling#Call.callerInfo}.
|
1780
1787
|
*/
|
@@ -2643,6 +2650,35 @@ export declare interface CallWithChatControlOptions {
|
|
2643
2650
|
*/
|
2644
2651
|
export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
|
2645
2652
|
|
2653
|
+
/**
|
2654
|
+
* @beta
|
2655
|
+
*
|
2656
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2657
|
+
* by their browsers settings.
|
2658
|
+
*/
|
2659
|
+
export declare const CameraAndMicrophoneDomainPermissions: (props: CameraAndMicrophoneDomainPermissionsProps) => JSX.Element;
|
2660
|
+
|
2661
|
+
/**
|
2662
|
+
* @beta
|
2663
|
+
* Props for CameraAndMicrophoneDomainPermissions component.
|
2664
|
+
*/
|
2665
|
+
export declare interface CameraAndMicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
|
2666
|
+
/** Icon name for the camera icon */
|
2667
|
+
cameraIconName?: string;
|
2668
|
+
/** Icon name for the microphone icon */
|
2669
|
+
microphoneIconName?: string;
|
2670
|
+
/** Icon name for the central icon between the camera and microphone icons */
|
2671
|
+
connectorIconName?: string;
|
2672
|
+
/** Strings for use with the {@link CameraAndMicrophoneDomainPermissions} */
|
2673
|
+
strings?: CameraAndMicrophoneDomainPermissionsStrings;
|
2674
|
+
}
|
2675
|
+
|
2676
|
+
/**
|
2677
|
+
* @beta
|
2678
|
+
* Strings for CameraAndMicrophoneDomainPermissions component.
|
2679
|
+
*/
|
2680
|
+
export declare type CameraAndMicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
|
2681
|
+
|
2646
2682
|
/**
|
2647
2683
|
* A button to turn camera on / off.
|
2648
2684
|
*
|
@@ -2779,6 +2815,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
|
|
2779
2815
|
menuStyles?: Partial<CameraButtonContextualMenuStyles>;
|
2780
2816
|
}
|
2781
2817
|
|
2818
|
+
/**
|
2819
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
2820
|
+
* by their browsers settings.
|
2821
|
+
*
|
2822
|
+
* @beta
|
2823
|
+
*/
|
2824
|
+
export declare const CameraDomainPermissions: (props: CameraDomainPermissionsProps) => JSX.Element;
|
2825
|
+
|
2826
|
+
/**
|
2827
|
+
* @beta
|
2828
|
+
* Props for CameraDomainPermissions component.
|
2829
|
+
*/
|
2830
|
+
export declare interface CameraDomainPermissionsProps extends CommonDomainPermissionsProps {
|
2831
|
+
/** Icon name for the camera icon */
|
2832
|
+
cameraIconName?: string;
|
2833
|
+
/** Strings for use with the {@link CameraDomainPermissions} */
|
2834
|
+
strings?: CameraDomainPermissionsStrings;
|
2835
|
+
}
|
2836
|
+
|
2837
|
+
/**
|
2838
|
+
* @beta
|
2839
|
+
* Strings for CameraDomainPermissions component.
|
2840
|
+
*/
|
2841
|
+
export declare type CameraDomainPermissionsStrings = DomainPermissionsStrings;
|
2842
|
+
|
2782
2843
|
/**
|
2783
2844
|
* {@link ChatComposite} Adapter interface.
|
2784
2845
|
*
|
@@ -3337,6 +3398,68 @@ export declare type ClientState = CallClientState & ChatClientState;
|
|
3337
3398
|
*/
|
3338
3399
|
export declare type Common<A, B> = Pick<A, CommonProperties<A, B>>;
|
3339
3400
|
|
3401
|
+
/**
|
3402
|
+
* Object containing all the handlers required for calling components.
|
3403
|
+
*
|
3404
|
+
* Calling related components from this package are able to pick out relevant handlers from this object.
|
3405
|
+
* See {@link useHandlers} and {@link usePropsFor}.
|
3406
|
+
*
|
3407
|
+
* @public
|
3408
|
+
*/
|
3409
|
+
export declare interface CommonCallingHandlers {
|
3410
|
+
onStartLocalVideo: () => Promise<void>;
|
3411
|
+
onToggleCamera: (options?: VideoStreamOptions) => Promise<void>;
|
3412
|
+
onSelectMicrophone: (device: AudioDeviceInfo) => Promise<void>;
|
3413
|
+
onSelectSpeaker: (device: AudioDeviceInfo) => Promise<void>;
|
3414
|
+
onSelectCamera: (device: VideoDeviceInfo, options?: VideoStreamOptions) => Promise<void>;
|
3415
|
+
onToggleMicrophone: () => Promise<void>;
|
3416
|
+
onStartScreenShare: () => Promise<void>;
|
3417
|
+
onStopScreenShare: () => Promise<void>;
|
3418
|
+
onToggleScreenShare: () => Promise<void>;
|
3419
|
+
onHangUp: (forEveryone?: boolean) => Promise<void>;
|
3420
|
+
onToggleHold: () => Promise<void>;
|
3421
|
+
onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
|
3422
|
+
onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
|
3423
|
+
onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3424
|
+
onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
|
3425
|
+
onDisposeRemoteStreamView: (userId: string) => Promise<void>;
|
3426
|
+
onDisposeLocalStreamView: () => Promise<void>;
|
3427
|
+
onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
|
3428
|
+
onRemoveParticipant(userId: string): Promise<void>;
|
3429
|
+
onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
|
3430
|
+
askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
|
3431
|
+
onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
|
3432
|
+
}
|
3433
|
+
|
3434
|
+
/**
|
3435
|
+
* @beta
|
3436
|
+
* Props for DomainPermissions components.
|
3437
|
+
*/
|
3438
|
+
export declare interface CommonDomainPermissionsProps {
|
3439
|
+
/**
|
3440
|
+
* Name of application calling experience is in.
|
3441
|
+
*/
|
3442
|
+
appName: string;
|
3443
|
+
/**
|
3444
|
+
* Type of the Domain Permissions component.
|
3445
|
+
*/
|
3446
|
+
type: 'request' | 'denied' | 'check';
|
3447
|
+
/**
|
3448
|
+
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
3449
|
+
* If this is not provided the button will not be shown.
|
3450
|
+
*/
|
3451
|
+
onTroubleshootingClick?: () => void;
|
3452
|
+
/**
|
3453
|
+
* Action that is taken when the user clicks the continue anyway button.
|
3454
|
+
* If this is not provided the button will not be shown.
|
3455
|
+
*/
|
3456
|
+
onContinueAnywayClick?: () => void;
|
3457
|
+
/**
|
3458
|
+
* Styles for DomainPermissions component.
|
3459
|
+
*/
|
3460
|
+
styles?: DomainPermissionsStyles;
|
3461
|
+
}
|
3462
|
+
|
3340
3463
|
/**
|
3341
3464
|
* Return intersect properties of 2 types
|
3342
3465
|
*
|
@@ -3525,8 +3648,24 @@ export declare interface ComponentStrings {
|
|
3525
3648
|
videoTile: VideoTileStrings;
|
3526
3649
|
/** Strings for HoldButton */
|
3527
3650
|
holdButton: HoldButtonStrings;
|
3528
|
-
/** Strings for
|
3529
|
-
|
3651
|
+
/** Strings for a domain permission request prompt */
|
3652
|
+
CameraAndMicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
|
3653
|
+
/** Strings for a domain permission request prompt */
|
3654
|
+
CameraDomainPermissionsRequest: DomainPermissionsStrings;
|
3655
|
+
/** Strings for a domain permission request prompt */
|
3656
|
+
MicrophoneDomainPermissionsRequest: DomainPermissionsStrings;
|
3657
|
+
/** Strings for a domain permission generic checking prompt */
|
3658
|
+
CameraAndMicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
|
3659
|
+
/** Strings for a domain permission generic checking prompt */
|
3660
|
+
CameraDomainPermissionsCheck: DomainPermissionsStrings;
|
3661
|
+
/** Strings for a domain permission generic checking prompt */
|
3662
|
+
MicrophoneDomainPermissionsCheck: DomainPermissionsStrings;
|
3663
|
+
/** Strings for a domain permission denied prompt */
|
3664
|
+
CameraAndMicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
|
3665
|
+
/** Strings for a domain permission denied prompt */
|
3666
|
+
CameraDomainPermissionsDenied: DomainPermissionsStrings;
|
3667
|
+
/** Strings for a domain permission denied prompt */
|
3668
|
+
MicrophoneDomainPermissionsDenied: DomainPermissionsStrings;
|
3530
3669
|
/** Strings for unsupported browser UI */
|
3531
3670
|
UnsupportedBrowser: UnsupportedBrowserStrings;
|
3532
3671
|
/** Strings for BrowserPemissionDenied */
|
@@ -3840,7 +3979,7 @@ export declare interface ControlBarProps {
|
|
3840
3979
|
*
|
3841
3980
|
* @public
|
3842
3981
|
*/
|
3843
|
-
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
3982
|
+
export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
|
3844
3983
|
|
3845
3984
|
/**
|
3846
3985
|
* Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
|
@@ -3850,7 +3989,9 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
|
|
3850
3989
|
*
|
3851
3990
|
* @public
|
3852
3991
|
*/
|
3853
|
-
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator
|
3992
|
+
export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: {
|
3993
|
+
roleHint?: Role;
|
3994
|
+
}) => Promise<CallAdapter>;
|
3854
3995
|
|
3855
3996
|
/**
|
3856
3997
|
* Create a CallWithChatAdapter backed by Azure Communication services
|
@@ -3890,7 +4031,7 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
|
|
3890
4031
|
export declare const createAzureCommunicationChatAdapterFromClient: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => Promise<ChatAdapter>;
|
3891
4032
|
|
3892
4033
|
/**
|
3893
|
-
* Create the default implementation of {@link CallingHandlers}.
|
4034
|
+
* Create the default implementation of {@link CallingHandlers} for teams call.
|
3894
4035
|
*
|
3895
4036
|
* Useful when implementing a custom component that utilizes the providers
|
3896
4037
|
* exported from this library.
|
@@ -3911,6 +4052,16 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
|
|
3911
4052
|
*/
|
3912
4053
|
export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
|
3913
4054
|
|
4055
|
+
/**
|
4056
|
+
* Create the default implementation of {@link TeamsCallingHandlers} for teams call.
|
4057
|
+
*
|
4058
|
+
* Useful when implementing a custom component that utilizes the providers
|
4059
|
+
* exported from this library.
|
4060
|
+
*
|
4061
|
+
* @beta
|
4062
|
+
*/
|
4063
|
+
export declare const createDefaultTeamsCallingHandlers: (callClient: StatefulCallClient, callAgent: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent, deviceManager: StatefulDeviceManager | undefined, call: undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall) => never | TeamsCallingHandlers;
|
4064
|
+
|
3914
4065
|
/**
|
3915
4066
|
* Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
|
3916
4067
|
* {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
|
@@ -4159,20 +4310,10 @@ export declare interface CustomMessage extends MessageCommon {
|
|
4159
4310
|
export declare const darkTheme: PartialTheme & CallingTheme;
|
4160
4311
|
|
4161
4312
|
/**
|
4162
|
-
* @
|
4313
|
+
* @beta
|
4163
4314
|
* `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
|
4164
4315
|
*/
|
4165
|
-
export declare type DeclarativeCallAgent = CallAgent &
|
4166
|
-
/**
|
4167
|
-
* @beta
|
4168
|
-
* A readonly array that returns all the active `incomingCalls`.
|
4169
|
-
* An active incoming call is a call that has not been answered, declined or disconnected.
|
4170
|
-
*
|
4171
|
-
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
4172
|
-
* @returns readonly array of {@link DeclarativeIncomingCall}
|
4173
|
-
*/
|
4174
|
-
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
4175
|
-
};
|
4316
|
+
export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
|
4176
4317
|
|
4177
4318
|
/**
|
4178
4319
|
* @beta
|
@@ -4239,12 +4380,15 @@ export declare const DEFAULT_COMPONENT_ICONS: {
|
|
4239
4380
|
SendBoxSend: JSX.Element;
|
4240
4381
|
SendBoxSendHovered: JSX.Element;
|
4241
4382
|
VideoTileMicOff: JSX.Element;
|
4242
|
-
|
4383
|
+
DialpadBackspace: JSX.Element;
|
4243
4384
|
DomainPermissionsSparkle: JSX.Element;
|
4244
4385
|
DomainPermissionCamera: JSX.Element;
|
4245
4386
|
DomainPermissionMic: JSX.Element;
|
4387
|
+
DomainPermissionCameraDenied: JSX.Element;
|
4388
|
+
DomainPermissionMicDenied: JSX.Element;
|
4246
4389
|
UnsupportedBrowserWarning: JSX.Element;
|
4247
4390
|
BrowserPermissionDeniedError: JSX.Element;
|
4391
|
+
VideoTilePinned: JSX.Element;
|
4248
4392
|
};
|
4249
4393
|
|
4250
4394
|
/**
|
@@ -4332,12 +4476,15 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
|
|
4332
4476
|
HoldCallContextualMenuItem: JSX.Element;
|
4333
4477
|
HoldCallButton: JSX.Element;
|
4334
4478
|
ResumeCall: JSX.Element;
|
4335
|
-
|
4479
|
+
DialpadBackspace: JSX.Element;
|
4336
4480
|
DomainPermissionsSparkle: JSX.Element;
|
4337
4481
|
DomainPermissionCamera: JSX.Element;
|
4338
4482
|
DomainPermissionMic: JSX.Element;
|
4483
|
+
DomainPermissionCameraDenied: JSX.Element;
|
4484
|
+
DomainPermissionMicDenied: JSX.Element;
|
4339
4485
|
UnsupportedBrowserWarning: JSX.Element;
|
4340
4486
|
BrowserPermissionDeniedError: JSX.Element;
|
4487
|
+
VideoTilePinned: JSX.Element;
|
4341
4488
|
};
|
4342
4489
|
|
4343
4490
|
/**
|
@@ -4425,6 +4572,10 @@ export declare interface _DevicePermissionDropdownProps {
|
|
4425
4572
|
* @param constrain - Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4426
4573
|
*/
|
4427
4574
|
askDevicePermission?(constrain: _PermissionConstraints): Promise<void>;
|
4575
|
+
/**
|
4576
|
+
* Optional callback when component is clicked
|
4577
|
+
*/
|
4578
|
+
onClick?: () => void;
|
4428
4579
|
/**
|
4429
4580
|
* Define constraints for accessing local devices {@link @azure/communication-calling#PermissionConstraints }
|
4430
4581
|
*/
|
@@ -4717,58 +4868,43 @@ export declare interface Disposable {
|
|
4717
4868
|
dispose(): void;
|
4718
4869
|
}
|
4719
4870
|
|
4720
|
-
/**
|
4721
|
-
* @beta
|
4722
|
-
*
|
4723
|
-
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
4724
|
-
* by their browsers settings.
|
4725
|
-
*/
|
4726
|
-
export declare const DomainPermissions: (props: DomainPermissionsProps) => JSX.Element;
|
4727
|
-
|
4728
|
-
/**
|
4729
|
-
* @beta
|
4730
|
-
* Props for DomainPermissions component.
|
4731
|
-
*/
|
4732
|
-
export declare interface DomainPermissionsProps {
|
4733
|
-
/**
|
4734
|
-
* Name of application calling experience is in.
|
4735
|
-
*/
|
4736
|
-
appName: string;
|
4737
|
-
/**
|
4738
|
-
* Action to be taken by the more help link. Possible to send to external page or show other modal.
|
4739
|
-
*/
|
4740
|
-
onTroubleshootingClick: () => void;
|
4741
|
-
/**
|
4742
|
-
* Action to be taken by the Allow Access button.
|
4743
|
-
*/
|
4744
|
-
onAllowAccessClick?: () => void;
|
4745
|
-
/**
|
4746
|
-
* Localization strings for DomainPermissions component.
|
4747
|
-
*/
|
4748
|
-
strings: DomainPermissionsStrings;
|
4749
|
-
}
|
4750
|
-
|
4751
4871
|
/**
|
4752
4872
|
* @beta
|
4753
4873
|
* Strings for DomainPermissions component
|
4754
4874
|
*/
|
4755
|
-
export declare
|
4875
|
+
export declare type DomainPermissionsStrings = {
|
4756
4876
|
/**
|
4757
4877
|
* Main text string.
|
4758
4878
|
*/
|
4759
|
-
primaryText
|
4879
|
+
primaryText?: string;
|
4760
4880
|
/**
|
4761
4881
|
* Subtext string.
|
4762
4882
|
*/
|
4763
|
-
secondaryText
|
4883
|
+
secondaryText?: string;
|
4764
4884
|
/**
|
4765
4885
|
* More help link string.
|
4766
4886
|
*/
|
4767
|
-
linkText
|
4887
|
+
linkText?: string;
|
4768
4888
|
/**
|
4769
4889
|
* Primary button text string.
|
4770
4890
|
*/
|
4771
|
-
primaryButtonText
|
4891
|
+
primaryButtonText?: string;
|
4892
|
+
/**
|
4893
|
+
* Aria label describing the content of the container
|
4894
|
+
*/
|
4895
|
+
ariaLabel?: string;
|
4896
|
+
};
|
4897
|
+
|
4898
|
+
/**
|
4899
|
+
* Fluent styles for {@link DomainPermissionsContainer}.
|
4900
|
+
*
|
4901
|
+
* @beta
|
4902
|
+
*/
|
4903
|
+
export declare interface DomainPermissionsStyles extends BaseCustomStyles {
|
4904
|
+
/** Styles for the primary button. */
|
4905
|
+
primaryButton?: IButtonStyles;
|
4906
|
+
/** Styles for the help troubleshooting link text. */
|
4907
|
+
troubleshootingLink?: ILinkStyles;
|
4772
4908
|
}
|
4773
4909
|
|
4774
4910
|
/**
|
@@ -5432,6 +5568,20 @@ export declare interface _Identifiers {
|
|
5432
5568
|
horizontalGalleryRightNavButton: string;
|
5433
5569
|
}
|
5434
5570
|
|
5571
|
+
/**
|
5572
|
+
* @beta
|
5573
|
+
* This contains a readonly array that returns all the active `incomingCalls`.
|
5574
|
+
* An active incoming call is a call that has not been answered, declined or disconnected.
|
5575
|
+
*/
|
5576
|
+
export declare type IncomingCallManagement = {
|
5577
|
+
/**
|
5578
|
+
* @beta
|
5579
|
+
* @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
|
5580
|
+
* @returns readonly array of {@link DeclarativeIncomingCall}
|
5581
|
+
*/
|
5582
|
+
incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
|
5583
|
+
};
|
5584
|
+
|
5435
5585
|
/**
|
5436
5586
|
* State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
|
5437
5587
|
* automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
|
@@ -6205,6 +6355,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
|
|
6205
6355
|
menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
|
6206
6356
|
}
|
6207
6357
|
|
6358
|
+
/**
|
6359
|
+
* Component to allow Contoso to help their end user with their devices should their permissions be blocked
|
6360
|
+
* by their browsers settings.
|
6361
|
+
*
|
6362
|
+
* @beta
|
6363
|
+
*/
|
6364
|
+
export declare const MicrophoneDomainPermissions: (props: MicrophoneDomainPermissionsProps) => JSX.Element;
|
6365
|
+
|
6366
|
+
/**
|
6367
|
+
* @beta
|
6368
|
+
* Props for MicrophoneDomainPermissions component.
|
6369
|
+
*/
|
6370
|
+
export declare interface MicrophoneDomainPermissionsProps extends CommonDomainPermissionsProps {
|
6371
|
+
/** Icon name for the microphone icon */
|
6372
|
+
microphoneIconName?: string;
|
6373
|
+
/** Strings for use with the {@link MicrophoneDomainPermissions} */
|
6374
|
+
strings?: MicrophoneDomainPermissionsStrings;
|
6375
|
+
}
|
6376
|
+
|
6377
|
+
/**
|
6378
|
+
* @beta
|
6379
|
+
* Strings for MicrophoneDomainPermissions component.
|
6380
|
+
*/
|
6381
|
+
export declare type MicrophoneDomainPermissionsStrings = DomainPermissionsStrings;
|
6382
|
+
|
6208
6383
|
/**
|
6209
6384
|
* Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
|
6210
6385
|
*
|
@@ -6760,8 +6935,9 @@ export declare interface RemoteVideoStreamState {
|
|
6760
6935
|
|
6761
6936
|
/**
|
6762
6937
|
* @beta
|
6938
|
+
* The role of a call participant.
|
6763
6939
|
*/
|
6764
|
-
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer';
|
6940
|
+
export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer';
|
6765
6941
|
|
6766
6942
|
/**
|
6767
6943
|
* A button to start / stop screen sharing.
|
@@ -7267,6 +7443,18 @@ export declare interface SystemMessageCommon extends MessageCommon {
|
|
7267
7443
|
iconName: string;
|
7268
7444
|
}
|
7269
7445
|
|
7446
|
+
/**
|
7447
|
+
* Object containing all the teams call handlers required for calling components.
|
7448
|
+
*
|
7449
|
+
* Calling related components from this package are able to pick out relevant handlers from this object.
|
7450
|
+
* See {@link useHandlers} and {@link usePropsFor}.
|
7451
|
+
*
|
7452
|
+
* @beta
|
7453
|
+
*/
|
7454
|
+
export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
|
7455
|
+
onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
7456
|
+
}
|
7457
|
+
|
7270
7458
|
/**
|
7271
7459
|
* A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
|
7272
7460
|
*
|
@@ -7541,6 +7729,8 @@ export declare const useAzureCommunicationChatAdapter: (args: Partial<AzureCommu
|
|
7541
7729
|
* Useful when implementing a custom component that utilizes the providers
|
7542
7730
|
* exported from this library.
|
7543
7731
|
*
|
7732
|
+
* you must have previously used the CallProvider with a Call object to use this hook
|
7733
|
+
*
|
7544
7734
|
* @public
|
7545
7735
|
*/
|
7546
7736
|
export declare const useCall: () => Call | undefined;
|
@@ -7631,6 +7821,28 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
|
|
7631
7821
|
*/
|
7632
7822
|
export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: "chat" | "calling" | undefined) => ParamT extends Selector ? ReturnType<ParamT> : undefined;
|
7633
7823
|
|
7824
|
+
/**
|
7825
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
|
7826
|
+
*
|
7827
|
+
* Useful when implementing a custom component that utilizes the providers
|
7828
|
+
* exported from this library.
|
7829
|
+
*
|
7830
|
+
* you must have previously used the CallProvider with a TeamsCall object to use this hook
|
7831
|
+
*
|
7832
|
+
* @beta
|
7833
|
+
*/
|
7834
|
+
export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
|
7835
|
+
|
7836
|
+
/**
|
7837
|
+
* Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
|
7838
|
+
*
|
7839
|
+
* Useful when implementing a custom component that utilizes the providers
|
7840
|
+
* exported from this library.
|
7841
|
+
*
|
7842
|
+
* @beta
|
7843
|
+
*/
|
7844
|
+
export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
|
7845
|
+
|
7634
7846
|
/**
|
7635
7847
|
* React hook to access theme
|
7636
7848
|
*
|
@@ -7901,6 +8113,10 @@ export declare interface VideoTileProps {
|
|
7901
8113
|
* Whether the video is muted or not.
|
7902
8114
|
*/
|
7903
8115
|
isMuted?: boolean;
|
8116
|
+
/**
|
8117
|
+
* If true, the video tile will show the pin icon.
|
8118
|
+
*/
|
8119
|
+
isPinned?: boolean;
|
7904
8120
|
/**
|
7905
8121
|
* Display Name of the Participant to be shown in the label.
|
7906
8122
|
* @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
|