@azure/communication-react 1.6.0 → 1.6.1-alpha-202306220014

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.
Files changed (952) hide show
  1. package/dist/communication-react.d.ts +2966 -57
  2. package/dist/dist-cjs/communication-react/index.js +17407 -8202
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/MessageStatus.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/areEqual.js.map +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/common.js.map +1 -1
  7. package/dist/dist-esm/acs-ui-common/src/commonProperties.js.map +1 -1
  8. package/dist/dist-esm/acs-ui-common/src/constants.js.map +1 -1
  9. package/dist/dist-esm/acs-ui-common/src/cssUtils.js.map +1 -1
  10. package/dist/dist-esm/acs-ui-common/src/identifier.js +4 -1
  11. package/dist/dist-esm/acs-ui-common/src/identifier.js.map +1 -1
  12. package/dist/dist-esm/acs-ui-common/src/index.js.map +1 -1
  13. package/dist/dist-esm/acs-ui-common/src/localizationUtils.js.map +1 -1
  14. package/dist/dist-esm/acs-ui-common/src/logEvent.js.map +1 -1
  15. package/dist/dist-esm/acs-ui-common/src/memoizeFnAll.js.map +1 -1
  16. package/dist/dist-esm/acs-ui-common/src/safeStringify.js.map +1 -1
  17. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  18. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  20. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +30 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +62 -0
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  23. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +13 -0
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +20 -5
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  26. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.d.ts +48 -0
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +73 -0
  28. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -0
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +26 -55
  30. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +24 -1
  32. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +133 -31
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +11 -1
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +15 -1
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +43 -0
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +81 -0
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  41. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  42. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  43. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +22 -0
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  47. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +9 -0
  48. package/dist/dist-esm/calling-component-bindings/src/index.js +10 -0
  49. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +24 -11
  51. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  52. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  53. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
  54. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  55. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  56. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
  58. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
  59. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  60. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  61. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  62. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
  63. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +21 -6
  64. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +5 -0
  66. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +11 -0
  67. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  68. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +23 -11
  69. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  70. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.d.ts +1 -0
  71. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +30 -6
  72. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  73. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
  74. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  75. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
  76. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  77. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +62 -67
  79. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  80. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +166 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  82. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +23 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +199 -4
  84. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  86. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  87. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +155 -71
  88. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  89. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  91. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +6 -0
  92. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +68 -3
  93. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.d.ts +18 -0
  95. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js +38 -0
  96. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -0
  97. package/dist/dist-esm/calling-stateful-client/src/Converter.d.ts +10 -0
  98. package/dist/dist-esm/calling-stateful-client/src/Converter.js +52 -9
  99. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  100. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +9 -0
  101. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +56 -57
  102. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  103. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  104. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  105. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  106. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.d.ts +1 -0
  107. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +28 -18
  108. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +28 -0
  110. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js +49 -0
  111. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -0
  112. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.d.ts +24 -0
  114. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +28 -0
  115. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -0
  116. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
  117. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
  118. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  120. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  121. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  122. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  123. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +25 -1
  124. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
  125. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +33 -31
  127. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  128. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  129. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  130. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
  131. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +89 -0
  132. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
  133. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
  134. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
  135. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
  136. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  137. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +9 -2
  138. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +18 -0
  139. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  140. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  141. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  142. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  143. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  144. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +6 -0
  145. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  146. package/dist/dist-esm/calling-stateful-client/src/index.d.ts +1 -0
  147. package/dist/dist-esm/calling-stateful-client/src/index.js +2 -0
  148. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  150. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  151. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  152. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  153. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +13 -14
  154. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  155. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +4 -1
  156. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  157. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  158. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  159. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  161. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +131 -15
  163. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  164. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  165. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  166. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  167. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  168. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  169. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  170. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  171. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  172. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  173. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  174. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  175. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  176. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +5 -9
  177. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  178. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  179. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +10 -11
  180. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  181. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  182. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
  183. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  184. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +113 -127
  185. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  186. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
  187. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  188. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  190. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  191. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  192. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  193. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  194. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
  195. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  196. package/dist/dist-esm/communication-react/src/index.d.ts +30 -0
  197. package/dist/dist-esm/communication-react/src/index.js +14 -0
  198. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  199. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  200. package/dist/dist-esm/northstar-wrapper/src/index.js +1 -1
  201. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  202. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  204. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  206. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  207. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  208. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  209. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  210. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  211. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  212. package/dist/dist-esm/react-components/src/components/CameraButton.d.ts +8 -0
  213. package/dist/dist-esm/react-components/src/components/CameraButton.js +24 -12
  214. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  215. package/dist/dist-esm/react-components/src/components/Caption.d.ts +21 -0
  216. package/dist/dist-esm/react-components/src/components/Caption.js +32 -0
  217. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -0
  218. package/dist/dist-esm/react-components/src/components/CaptionsBanner.d.ts +41 -0
  219. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +51 -0
  220. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -0
  221. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.d.ts +37 -0
  222. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +95 -0
  223. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -0
  224. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +7 -8
  225. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  226. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +36 -17
  227. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  228. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +17 -1
  229. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +18 -5
  230. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  231. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +2 -0
  232. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +31 -35
  233. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  234. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +17 -1
  235. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +59 -23
  236. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  237. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +14 -0
  238. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +102 -21
  239. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  240. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
  241. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
  242. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
  243. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  244. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  246. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  248. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  249. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  251. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  252. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  253. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  255. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  256. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  257. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  258. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  259. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  260. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  261. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  262. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  263. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  264. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  265. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  266. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  267. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  268. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  269. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
  270. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
  271. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  272. package/dist/dist-esm/react-components/src/components/DevicesButton.js +16 -12
  273. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  274. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +42 -44
  275. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  276. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  277. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  278. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  279. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  281. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  283. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  285. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  286. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  287. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  288. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  289. package/dist/dist-esm/react-components/src/components/ErrorBar.d.ts +4 -0
  290. package/dist/dist-esm/react-components/src/components/ErrorBar.js +2 -4
  291. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  292. package/dist/dist-esm/react-components/src/components/FileCard.js +2 -3
  293. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  294. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  295. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  296. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +13 -0
  297. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +26 -13
  298. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  299. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  300. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  301. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  302. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  303. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  304. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  305. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  306. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  307. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  308. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +12 -11
  309. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  310. package/dist/dist-esm/react-components/src/components/InputBoxComponent.d.ts +2 -0
  311. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js +31 -15
  312. package/dist/dist-esm/react-components/src/components/InputBoxComponent.js.map +1 -1
  313. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js +3 -5
  314. package/dist/dist-esm/react-components/src/components/LocalVideoCameraButton.js.map +1 -1
  315. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js +27 -9
  316. package/dist/dist-esm/react-components/src/components/LocalVideoTile.js.map +1 -1
  317. package/dist/dist-esm/react-components/src/components/MentionPopover.d.ts +121 -0
  318. package/dist/dist-esm/react-components/src/components/MentionPopover.js +125 -0
  319. package/dist/dist-esm/react-components/src/components/MentionPopover.js.map +1 -0
  320. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js +23 -36
  321. package/dist/dist-esm/react-components/src/components/MessageStatusIndicator.js.map +1 -1
  322. package/dist/dist-esm/react-components/src/components/MessageThread.d.ts +46 -2
  323. package/dist/dist-esm/react-components/src/components/MessageThread.js +199 -83
  324. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  325. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js +17 -14
  326. package/dist/dist-esm/react-components/src/components/MicrophoneButton.js.map +1 -1
  327. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js +94 -101
  328. package/dist/dist-esm/react-components/src/components/ModalClone/ModalClone.js.map +1 -1
  329. package/dist/dist-esm/react-components/src/components/ParticipantItem.d.ts +18 -0
  330. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +21 -18
  331. package/dist/dist-esm/react-components/src/components/ParticipantItem.js.map +1 -1
  332. package/dist/dist-esm/react-components/src/components/ParticipantList.d.ts +2 -0
  333. package/dist/dist-esm/react-components/src/components/ParticipantList.js +27 -11
  334. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  335. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js +46 -32
  336. package/dist/dist-esm/react-components/src/components/ParticipantsButton.js.map +1 -1
  337. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js +3 -3
  338. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPicture.js.map +1 -1
  339. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js +3 -3
  340. package/dist/dist-esm/react-components/src/components/PictureInPictureInPicture/PictureInPictureInPictureTile.js.map +1 -1
  341. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +63 -8
  342. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  343. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  344. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.d.ts +35 -0
  346. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +33 -0
  347. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -0
  348. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  349. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  350. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +41 -0
  351. package/dist/dist-esm/react-components/src/components/SendBox.js +39 -13
  352. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  353. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  354. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  355. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  356. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.d.ts +70 -0
  357. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +59 -0
  358. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -0
  359. package/dist/dist-esm/react-components/src/components/StreamMedia.js +3 -3
  360. package/dist/dist-esm/react-components/src/components/StreamMedia.js.map +1 -1
  361. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  362. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  363. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +41 -0
  364. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +579 -0
  365. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
  366. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
  367. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +792 -0
  368. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
  369. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  370. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  371. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  372. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  373. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +3 -1
  374. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  375. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +3 -1
  376. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  377. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
  378. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  379. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
  380. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  381. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +37 -36
  382. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  383. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  384. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  385. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
  386. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  387. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +13 -15
  388. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  389. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -3
  390. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  391. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +46 -12
  392. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  393. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +10 -10
  394. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  395. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +5 -0
  396. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +80 -22
  397. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  398. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.d.ts +9 -1
  399. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  401. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  402. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.d.ts +5 -0
  403. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +44 -4
  404. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  405. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  406. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  407. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.d.ts +10 -0
  408. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +24 -0
  409. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -0
  410. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  411. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  412. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.d.ts +1 -1
  413. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +13 -35
  414. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  416. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  417. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  418. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  419. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  420. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  421. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.d.ts +10 -0
  422. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +29 -0
  423. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -0
  424. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  425. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  426. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  427. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  428. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  429. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +25 -30
  431. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  432. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  433. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.d.ts +1 -0
  434. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +83 -18
  435. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +103 -1
  437. package/dist/dist-esm/react-components/src/components/VideoGallery.js +186 -17
  438. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  439. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +22 -0
  440. package/dist/dist-esm/react-components/src/components/VideoTile.js +97 -35
  441. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  442. package/dist/dist-esm/react-components/src/components/index.d.ts +21 -0
  443. package/dist/dist-esm/react-components/src/components/index.js +18 -0
  444. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  445. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  446. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  447. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  448. package/dist/dist-esm/react-components/src/components/styles/Captions.style.d.ts +37 -0
  449. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js +67 -0
  450. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -0
  451. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.d.ts +34 -0
  452. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js +86 -0
  453. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -0
  454. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +3 -12
  455. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  456. package/dist/dist-esm/react-components/src/components/styles/Common.style.d.ts +14 -0
  457. package/dist/dist-esm/react-components/src/components/styles/Common.style.js +16 -0
  458. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -0
  459. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  460. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  461. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js +1 -3
  462. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  463. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  464. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  465. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  466. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +1 -4
  467. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  468. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +31 -0
  469. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +70 -0
  470. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
  471. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  472. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +5 -0
  473. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +30 -7
  474. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  475. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +0 -1
  476. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  477. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +4 -13
  479. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  480. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
  481. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
  482. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  483. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +0 -3
  484. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  485. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  486. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +0 -1
  487. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  489. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  490. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
  491. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  492. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -1
  493. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.d.ts +4 -0
  495. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +8 -13
  496. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  497. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  498. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  499. package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
  500. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  501. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  503. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
  504. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  505. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  506. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  507. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
  508. package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
  509. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
  510. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  511. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  512. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  513. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  514. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  515. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  516. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  517. package/dist/dist-esm/react-components/src/components/utils.d.ts +0 -4
  518. package/dist/dist-esm/react-components/src/components/utils.js +13 -14
  519. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  520. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  521. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  522. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  523. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +8 -0
  524. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +9 -1
  525. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  526. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  527. package/dist/dist-esm/react-components/src/index.d.ts +4 -0
  528. package/dist/dist-esm/react-components/src/index.js +2 -0
  529. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  530. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +62 -0
  531. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  532. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  533. package/dist/dist-esm/react-components/src/localization/locales/index.js +20 -60
  534. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  535. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.d.ts +61 -0
  536. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js +74 -0
  537. package/dist/dist-esm/react-components/src/permissions/PermissionsProvider.js.map +1 -0
  538. package/dist/dist-esm/react-components/src/permissions/index.d.ts +2 -0
  539. package/dist/dist-esm/react-components/src/permissions/index.js +4 -0
  540. package/dist/dist-esm/react-components/src/permissions/index.js.map +1 -0
  541. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -6
  542. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/theming/icons.d.ts +29 -0
  544. package/dist/dist-esm/react-components/src/theming/icons.js +147 -11
  545. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  546. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  547. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  548. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  549. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  550. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  551. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  552. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  553. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +27 -1
  554. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  555. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  556. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  557. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  558. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +8 -0
  559. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.d.ts +3 -0
  561. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js +2 -0
  562. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  563. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  564. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +8 -0
  565. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +2 -0
  566. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  567. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  568. package/dist/dist-esm/react-composites/src/Logger.d.ts +5 -0
  569. package/dist/dist-esm/react-composites/src/Logger.js +8 -0
  570. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -0
  571. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +113 -0
  572. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +77 -20
  573. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  574. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +245 -0
  575. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js +2 -0
  576. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  577. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +119 -16
  578. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +526 -44
  579. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  580. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +299 -1
  581. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +9 -1
  582. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  583. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  584. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  585. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +2 -4
  586. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  587. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  588. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
  589. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +8 -2
  590. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  591. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +9 -0
  592. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
  593. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  594. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.d.ts +2 -0
  595. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +124 -18
  596. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  597. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +2 -0
  598. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +131 -13
  599. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  600. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +48 -0
  601. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
  602. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  603. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +2 -0
  604. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
  605. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  606. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +20 -2
  607. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  608. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +2 -0
  609. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
  610. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  611. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  612. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  613. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
  614. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
  615. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
  616. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +2 -2
  617. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  618. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +32 -22
  619. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  620. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +2 -0
  621. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +72 -21
  622. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  623. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +25 -34
  624. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  625. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.d.ts +4 -0
  626. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +53 -22
  627. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  628. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  629. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  630. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  631. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  632. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +20 -10
  633. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  634. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  635. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +5 -7
  636. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  637. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.d.ts +25 -0
  638. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +75 -0
  639. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -0
  640. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  641. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  642. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.d.ts +5 -4
  643. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +3 -1
  644. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  645. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.d.ts +6 -2
  646. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js +7 -4
  647. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Custom.js.map +1 -1
  648. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +44 -5
  649. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  650. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  651. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  652. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +8 -6
  653. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  654. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  655. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  656. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  657. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  658. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  659. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  660. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  661. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +13 -9
  662. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  663. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.d.ts +2 -1
  664. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +66 -8
  665. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  666. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  667. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  668. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  669. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +12 -0
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +8 -2
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +7 -0
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +159 -15
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +19 -0
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +36 -0
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +17 -7
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +3 -3
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +14 -0
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +113 -0
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -0
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.d.ts +7 -0
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +21 -0
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -0
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +36 -0
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +61 -0
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +1 -1
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +4 -4
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +2 -2
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.d.ts +7 -0
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js +14 -0
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/videoBackgroundErrorsSelector.js.map +1 -0
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +2 -6
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +1 -4
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +0 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +0 -1
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +37 -0
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +55 -0
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -0
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +3 -2
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +9 -11
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +24 -3
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +123 -12
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +61 -1
  765. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +83 -20
  766. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  767. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  769. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  770. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  771. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +3 -6
  772. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  773. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +44 -0
  774. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  775. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +53 -5
  776. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +244 -9
  777. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  778. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +142 -1
  779. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  780. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +23 -2
  781. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +96 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  783. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +13 -0
  784. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +37 -1
  785. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  787. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  789. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.d.ts +1 -0
  790. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  791. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  792. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  793. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +27 -0
  794. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +19 -3
  795. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  796. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  797. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +20 -0
  798. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +6 -2
  799. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  800. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  801. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  802. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +51 -9
  803. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  805. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  806. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  807. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
  808. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
  809. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
  810. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  811. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +28 -2
  813. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +152 -29
  814. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  815. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
  816. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
  817. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  818. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +17 -2
  819. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  820. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
  821. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  822. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  823. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
  824. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  825. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  827. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +3 -5
  828. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  829. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +3 -1
  830. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  831. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  832. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
  833. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
  834. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
  835. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
  836. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  837. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
  838. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +13 -0
  839. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
  840. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +23 -0
  841. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
  842. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
  843. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  844. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  845. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +5 -1
  846. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -6
  847. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  848. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
  849. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
  850. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
  851. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
  852. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
  853. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
  854. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +5 -0
  855. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +10 -4
  856. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  858. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  859. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
  860. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
  861. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
  862. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
  863. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
  864. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
  865. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.d.ts +6 -0
  866. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +68 -0
  867. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -0
  868. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.d.ts +12 -0
  869. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +104 -0
  870. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -0
  871. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.d.ts +7 -0
  872. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +38 -0
  873. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -0
  874. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  875. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  876. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +3 -0
  877. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +64 -24
  878. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  879. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +32 -25
  880. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  881. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.d.ts +17 -0
  882. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +190 -0
  883. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -0
  884. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  886. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  887. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.d.ts +13 -0
  888. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +162 -20
  889. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  890. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.d.ts +6 -0
  891. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js +24 -0
  892. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -0
  893. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +2 -0
  894. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js +5 -1
  895. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  896. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.d.ts +20 -0
  897. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js +55 -0
  898. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.js.map +1 -0
  899. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.d.ts +7 -0
  900. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js +24 -0
  901. package/dist/dist-esm/react-composites/src/composites/common/Drawer/SpokenLanguageDrawer.styles.js.map +1 -0
  902. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  903. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +21 -6
  905. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  906. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  907. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  908. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +9 -9
  909. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  910. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +32 -5
  911. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  912. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +17 -0
  913. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +42 -0
  914. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
  915. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
  916. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +40 -0
  917. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
  918. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +8 -20
  919. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  920. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +12 -8
  921. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  922. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.d.ts +14 -0
  923. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +156 -0
  924. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -0
  925. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  926. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  927. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +46 -1
  928. package/dist/dist-esm/react-composites/src/composites/common/icons.js +24 -4
  929. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  930. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  931. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  932. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +5 -16
  933. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  934. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  935. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  936. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  937. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  938. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  939. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  940. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +26 -4
  941. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  942. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  943. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  944. package/dist/dist-esm/react-composites/src/composites/index.d.ts +2 -0
  945. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  947. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  948. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  949. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +2 -1
  950. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  951. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  952. package/package.json +20 -18
@@ -17,7 +17,10 @@
17
17
 
18
18
  /// <reference types="react" />
19
19
 
20
+ import { AddPhoneNumberOptions } from '@azure/communication-calling';
20
21
  import { AudioDeviceInfo } from '@azure/communication-calling';
22
+ import { BackgroundBlurConfig } from '@azure/communication-calling-effects';
23
+ import { BackgroundReplacementConfig } from '@azure/communication-calling-effects';
21
24
  import { Call } from '@azure/communication-calling';
22
25
  import { CallAgent } from '@azure/communication-calling';
23
26
  import { CallClient } from '@azure/communication-calling';
@@ -25,7 +28,9 @@ import { CallClientOptions } from '@azure/communication-calling';
25
28
  import { CallDirection } from '@azure/communication-calling';
26
29
  import { CallEndReason } from '@azure/communication-calling';
27
30
  import { CallerInfo } from '@azure/communication-calling';
31
+ import { CallKind } from '@azure/communication-calling';
28
32
  import { CallState as CallState_2 } from '@azure/communication-calling';
33
+ import { CaptionsResultType } from '@azure/communication-calling';
29
34
  import { ChatClient } from '@azure/communication-chat';
30
35
  import { ChatClientOptions } from '@azure/communication-chat';
31
36
  import { ChatMessage as ChatMessage_2 } from '@azure/communication-chat';
@@ -41,26 +46,35 @@ import { CreateViewOptions } from '@azure/communication-calling';
41
46
  import { DeviceAccess } from '@azure/communication-calling';
42
47
  import { DeviceManager } from '@azure/communication-calling';
43
48
  import { DominantSpeakersInfo } from '@azure/communication-calling';
49
+ import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
50
+ import { EnvironmentInfo } from '@azure/communication-calling';
44
51
  import { GroupCallLocator } from '@azure/communication-calling';
45
52
  import { IButtonProps } from '@fluentui/react';
46
53
  import { IButtonStyles } from '@fluentui/react';
47
54
  import { IContextualMenuItem } from '@fluentui/react';
48
55
  import { IContextualMenuItemStyles } from '@fluentui/react';
56
+ import { IContextualMenuProps } from '@fluentui/react';
49
57
  import { IContextualMenuStyles } from '@fluentui/react';
58
+ import { ILinkStyles } from '@fluentui/react';
50
59
  import { IMessageBarProps } from '@fluentui/react';
60
+ import { IncomingCall } from '@azure/communication-calling';
51
61
  import { IPersonaStyleProps } from '@fluentui/react';
52
62
  import { IPersonaStyles } from '@fluentui/react';
53
63
  import { IRawStyle } from '@fluentui/react';
54
64
  import { IRenderFunction } from '@fluentui/react';
55
65
  import { IStyle } from '@fluentui/react';
56
66
  import { IStyleFunctionOrObject } from '@fluentui/react';
67
+ import { ITextFieldStyles } from '@fluentui/react';
57
68
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
58
69
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
70
+ import { LocalVideoStream } from '@azure/communication-calling';
59
71
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
60
72
  import { MediaStreamType } from '@azure/communication-calling';
73
+ import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
61
74
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
62
75
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
63
76
  import { PartialTheme } from '@fluentui/react';
77
+ import { ParticipantRole } from '@azure/communication-calling';
64
78
  import { PermissionConstraints } from '@azure/communication-calling';
65
79
  import { PersonaInitialsColor } from '@fluentui/react';
66
80
  import { PersonaPresence } from '@fluentui/react';
@@ -71,18 +85,40 @@ import { PropertyChangedEvent } from '@azure/communication-calling';
71
85
  import { default as React_2 } from 'react';
72
86
  import type { RemoteParticipant } from '@azure/communication-calling';
73
87
  import { RemoteParticipantState as RemoteParticipantState_2 } from '@azure/communication-calling';
88
+ import { RoomCallLocator } from '@azure/communication-calling';
74
89
  import { ScalingMode } from '@azure/communication-calling';
75
90
  import { SendMessageOptions } from '@azure/communication-chat';
76
91
  import { StartCallOptions } from '@azure/communication-calling';
92
+ import { StartCaptionsOptions } from '@azure/communication-calling';
93
+ import { TeamsCall } from '@azure/communication-calling';
94
+ import { TeamsCallAgent } from '@azure/communication-calling';
77
95
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
78
96
  import { Theme } from '@fluentui/react';
97
+ import { TransferRequestedEventArgs } from '@azure/communication-calling';
79
98
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
80
99
  import { UnknownIdentifier } from '@azure/communication-common';
81
100
  import { UnknownIdentifierKind } from '@azure/communication-common';
82
101
  import { VideoDeviceInfo } from '@azure/communication-calling';
102
+ import { VideoEffectName } from '@azure/communication-calling';
83
103
  import { VideoStreamRenderer } from '@azure/communication-calling';
84
104
  import { VideoStreamRendererView } from '@azure/communication-calling';
85
105
 
106
+ /**
107
+ * Transfer feature state
108
+ *
109
+ * @beta
110
+ */
111
+ export declare interface AcceptedTransfer {
112
+ /**
113
+ * Stores call id of accepted transfer
114
+ */
115
+ callId: string;
116
+ /**
117
+ * Stores timestamp when transfer was accepted
118
+ */
119
+ timestamp: Date;
120
+ }
121
+
86
122
  /**
87
123
  * Active error messages to be shown via {@link ErrorBar}.
88
124
  *
@@ -102,6 +138,38 @@ export declare interface ActiveErrorMessage {
102
138
  timestamp?: Date;
103
139
  }
104
140
 
141
+ /**
142
+ * Attributes required for SendBox to show file uploads like name, progress etc.
143
+ * @beta
144
+ */
145
+ export declare interface ActiveFileUpload {
146
+ /**
147
+ * Unique identifier for the file upload.
148
+ */
149
+ id: string;
150
+ /**
151
+ * File name to be rendered for uploaded file.
152
+ */
153
+ filename: string;
154
+ /**
155
+ * A number between 0 and 1 indicating the progress of the upload.
156
+ * This is unrelated to the `uploadComplete` property.
157
+ * It is only used to show the progress of the upload.
158
+ * Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
159
+ * property to true to mark the upload as complete.
160
+ */
161
+ progress: number;
162
+ /**
163
+ * Error to be displayed to the user if the upload fails.
164
+ */
165
+ error?: SendBoxErrorBarError;
166
+ /**
167
+ * `true` means that the upload is completed.
168
+ * This is independent of the upload `progress`.
169
+ */
170
+ uploadComplete?: boolean;
171
+ }
172
+
105
173
  /**
106
174
  * Error reported via error events and stored in adapter state.
107
175
  *
@@ -168,6 +236,13 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
168
236
  */
169
237
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
170
238
 
239
+ /**
240
+ * @beta
241
+ */
242
+ export declare interface AttachmentDownloadResult {
243
+ blobUrl: string;
244
+ }
245
+
171
246
  /**
172
247
  * Custom data attributes for displaying avatar for a user.
173
248
  *
@@ -197,6 +272,11 @@ export declare type AvatarPersonaData = {
197
272
  * @defaultvalue `white`
198
273
  */
199
274
  initialsTextColor?: string;
275
+ /**
276
+ * If true, show the special coin for unknown persona.
277
+ * It has '?' in place of initials, with static font and background colors
278
+ */
279
+ showUnknownPersonaCoin?: boolean;
200
280
  };
201
281
 
202
282
  /**
@@ -218,8 +298,31 @@ export declare type AzureCommunicationCallAdapterArgs = {
218
298
  displayName: string;
219
299
  credential: CommunicationTokenCredential;
220
300
  locator: CallAdapterLocator;
301
+ /**
302
+ * A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
303
+ * E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
304
+ */
305
+ alternateCallerId?: string;
306
+ /**
307
+ * Optional parameters for the {@link AzureCommunicationCallAdapter} created
308
+ */
309
+ options?: AzureCommunicationCallAdapterOptions;
221
310
  };
222
311
 
312
+ /**
313
+ * Optional parameters to create {@link AzureCommunicationCallAdapter}
314
+ *
315
+ * @beta
316
+ */
317
+ export declare type AzureCommunicationCallAdapterOptions = {
318
+ /**
319
+ * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
320
+ * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
321
+ * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
322
+ */
323
+ roleHint?: Role;
324
+ } & CommonCallAdapterOptions;
325
+
223
326
  /**
224
327
  * Arguments for {@link createAzureCommunicationCallWithChatAdapter}
225
328
  *
@@ -231,6 +334,8 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
231
334
  displayName: string;
232
335
  credential: CommunicationTokenCredential;
233
336
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
337
+ alternateCallerId?: string;
338
+ callAdapterOptions?: AzureCommunicationCallAdapterOptions;
234
339
  };
235
340
 
236
341
  /**
@@ -244,6 +349,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
244
349
  callClient: StatefulCallClient;
245
350
  chatClient: StatefulChatClient;
246
351
  chatThreadClient: ChatThreadClient;
352
+ options?: AzureCommunicationChatAdapterOptions;
247
353
  };
248
354
 
249
355
  /**
@@ -259,6 +365,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
259
365
  threadId: string;
260
366
  };
261
367
 
368
+ /**
369
+ * Configuration options to include when creating AzureCommunicationChatAdapter.
370
+ * @beta
371
+ */
372
+ export declare type AzureCommunicationChatAdapterOptions = {
373
+ credential?: CommunicationTokenCredential;
374
+ };
375
+
262
376
  /**
263
377
  * Properties common to all composites exported from this library.
264
378
  *
@@ -314,6 +428,156 @@ export declare interface BaseCustomStyles {
314
428
  root?: IStyle;
315
429
  }
316
430
 
431
+ /**
432
+ * Content blocked message type.
433
+ *
434
+ * Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
435
+ *
436
+ * @beta
437
+ */
438
+ export declare interface BlockedMessage extends MessageCommon {
439
+ messageType: 'blocked';
440
+ warningText?: string;
441
+ linkText?: string;
442
+ link?: string;
443
+ deletedOn?: Date;
444
+ senderId?: string;
445
+ senderDisplayName?: string;
446
+ status?: MessageStatus;
447
+ attached?: MessageAttachedStatus;
448
+ mine?: boolean;
449
+ }
450
+
451
+ /**
452
+ * @beta
453
+ * Props for BrowserPermissionDeniedIOS component.
454
+ */
455
+ export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
456
+ /**
457
+ * Localization strings for BrowserPermissionDeniedIOS component.
458
+ */
459
+ strings?: BrowserPermissionDeniedIOSStrings;
460
+ /**
461
+ * Link to image source.
462
+ *
463
+ * Image is inserted into the top of the component.
464
+ */
465
+ imageSource?: string;
466
+ }
467
+
468
+ /**
469
+ * @beta
470
+ * Strings for BrowserPermissionDeniedIOS component
471
+ */
472
+ export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
473
+ /**
474
+ * Image alt text
475
+ */
476
+ imageAltText: string;
477
+ /**
478
+ * Main text string.
479
+ */
480
+ primaryText: string;
481
+ /**
482
+ * Subtext string.
483
+ */
484
+ secondaryText: string;
485
+ /**
486
+ * Step 1 string
487
+ */
488
+ step1Text: string;
489
+ /**
490
+ * Step 1 digit string
491
+ */
492
+ step1DigitText: string;
493
+ /**
494
+ * Step 2 string
495
+ */
496
+ step2Text: string;
497
+ /**
498
+ * Step 2 digit string
499
+ */
500
+ step2DigitText: string;
501
+ /**
502
+ * Step 3 string
503
+ */
504
+ step3Text: string;
505
+ /**
506
+ * Step 3 digit string
507
+ */
508
+ step3DigitText: string;
509
+ /**
510
+ * Step 4 string
511
+ */
512
+ step4Text: string;
513
+ /**
514
+ * Step 4 digit string
515
+ */
516
+ step4DigitText: string;
517
+ }
518
+
519
+ /**
520
+ * @beta
521
+ * Props for BrowserPermissionDenied component.
522
+ */
523
+ export declare interface BrowserPermissionDeniedProps {
524
+ /**
525
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
526
+ */
527
+ onTroubleshootingClick?: () => void;
528
+ /**
529
+ * Action to be taken by the try again primary button.
530
+ */
531
+ onTryAgainClick?: () => void;
532
+ /**
533
+ * Localization strings for BrowserPermissionDenied component.
534
+ */
535
+ strings?: BrowserPermissionDeniedStrings;
536
+ /**
537
+ * Allows users to pass in an object contains custom CSS styles.
538
+ * @Example
539
+ * ```
540
+ * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
541
+ * ```
542
+ */
543
+ styles?: BrowserPermissionDeniedStyles;
544
+ }
545
+
546
+ /**
547
+ * @beta
548
+ * Strings for BrowserPermissionDenied component
549
+ */
550
+ export declare interface BrowserPermissionDeniedStrings {
551
+ /**
552
+ * Main button text string.
553
+ */
554
+ primaryButtonText: string;
555
+ /**
556
+ * Main text string.
557
+ */
558
+ primaryText: string;
559
+ /**
560
+ * Subtext string.
561
+ */
562
+ secondaryText: string;
563
+ /**
564
+ * More help link string.
565
+ */
566
+ linkText: string;
567
+ }
568
+
569
+ /**
570
+ * Fluent styles for {@link BrowserPermissionDenied}.
571
+ *
572
+ * @beta
573
+ */
574
+ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
575
+ /** Styles for the primary button. */
576
+ primaryButton?: IButtonStyles;
577
+ /** Styles for the help troubleshooting link text. */
578
+ troubleshootingLink?: ILinkStyles;
579
+ }
580
+
317
581
  /**
318
582
  * An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
319
583
  *
@@ -336,6 +600,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
336
600
  * @public
337
601
  */
338
602
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
603
+ /**
604
+ * Start the call.
605
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
606
+ * @beta
607
+ */
608
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
339
609
  }
340
610
 
341
611
  /**
@@ -369,6 +639,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
369
639
  * @public
370
640
  */
371
641
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
642
+ /**
643
+ * Start the call.
644
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
645
+ * @beta
646
+ */
647
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
372
648
  }
373
649
 
374
650
  /**
@@ -433,6 +709,12 @@ export declare interface CallAdapterCallOperations {
433
709
  * @public
434
710
  */
435
711
  removeParticipant(userId: string): Promise<void>;
712
+ /**
713
+ * Remove a participant from the call.
714
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
715
+ * @beta
716
+ */
717
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
436
718
  /**
437
719
  * Create the html view for a stream.
438
720
  *
@@ -451,12 +733,113 @@ export declare interface CallAdapterCallOperations {
451
733
  * @remarks
452
734
  * This method is implemented for composite
453
735
  *
736
+ * @deprecated Use {@link disposeRemoteVideoStreamView}, {@link disposeLocalVideoStreamView} and {@link disposeRemoteVideoStreamView} instead.
737
+ *
454
738
  * @param remoteUserId - Id of the participant to render, leave it undefined to dispose the local camera view
455
739
  * @param options - Options to control how video streams are rendered {@link @azure/communication-calling#VideoStreamOptions }
456
740
  *
457
741
  * @public
458
742
  */
459
743
  disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
744
+ /**
745
+ * Dispose the html view for a screen share stream
746
+ *
747
+ * @remarks
748
+ * this method is implemented for composite
749
+ *
750
+ * @param remoteUserId - Id of the participant to dispose the screen share stream view for.
751
+ *
752
+ * @public
753
+ */
754
+ disposeScreenShareStreamView(remoteUserId: string): Promise<void>;
755
+ /**
756
+ * Dispose the html view for a remote video stream
757
+ *
758
+ * @param remoteUserId - Id of the participant to dispose
759
+ *
760
+ * @public
761
+ */
762
+ disposeRemoteVideoStreamView(remoteUserId: string): Promise<void>;
763
+ /**
764
+ * Dispose the html view for a local video stream
765
+ *
766
+ * @public
767
+ */
768
+ disposeLocalVideoStreamView(): Promise<void>;
769
+ /**
770
+ * Holds the call.
771
+ *
772
+ * @beta
773
+ */
774
+ holdCall(): Promise<void>;
775
+ /**
776
+ * Resumes the call from a `LocalHold` state.
777
+ *
778
+ * @beta
779
+ */
780
+ resumeCall(): Promise<void>;
781
+ /**
782
+ * Add a participant to the call.
783
+ *
784
+ * @beta
785
+ */
786
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
787
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
788
+ /**
789
+ * send dtmf tone to another participant in a 1:1 PSTN call
790
+ *
791
+ * @beta
792
+ */
793
+ sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
794
+ /**
795
+ * Continues into a call when the browser version is not supported.
796
+ */
797
+ allowUnsupportedBrowserVersion(): void;
798
+ /**
799
+ * Function to Start captions
800
+ * @param options - options for start captions
801
+ */
802
+ startCaptions(options?: StartCaptionsOptions): Promise<void>;
803
+ /**
804
+ * Function to set caption language
805
+ * @param language - language set for caption
806
+ */
807
+ setCaptionLanguage(language: string): Promise<void>;
808
+ /**
809
+ * Function to set spoken language
810
+ * @param language - spoken language
811
+ */
812
+ setSpokenLanguage(language: string): Promise<void>;
813
+ /**
814
+ * Funtion to stop captions
815
+ */
816
+ stopCaptions(): Promise<void>;
817
+ /**
818
+ * Start the video background effect.
819
+ *
820
+ * @beta
821
+ */
822
+ startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
823
+ /**
824
+ * Stop the video background effect.
825
+ *
826
+ * @beta
827
+ */
828
+ stopVideoBackgroundEffects(): Promise<void>;
829
+ /**
830
+ * Override the background picker images for background replacement effect.
831
+ *
832
+ * @param backgroundImages - Array of custom background images.
833
+ *
834
+ * @beta
835
+ */
836
+ updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
837
+ /**
838
+ * Update the selected video background effect.
839
+ *
840
+ * @beta
841
+ */
842
+ updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
460
843
  }
461
844
 
462
845
  /**
@@ -475,11 +858,37 @@ export declare type CallAdapterClientState = {
475
858
  * Latest error encountered for each operation performed via the adapter.
476
859
  */
477
860
  latestErrors: AdapterErrors;
861
+ /**
862
+ * Azure communications Phone number to make PSTN calls with.
863
+ */
864
+ alternateCallerId?: string;
865
+ /**
866
+ * Environment information about system the adapter is made on
867
+ */
868
+ environmentInfo?: EnvironmentInfo;
869
+ /**
870
+ * Use this to hint the role of the user when the role is not available before a Rooms call is started. This value
871
+ * should be obtained using the Rooms API. This role will determine permissions in the configuration page of the
872
+ * {@link CallComposite}. The true role of the user will be synced with ACS services when a Rooms call starts.
873
+ */
874
+ roleHint?: Role;
478
875
  /**
479
876
  * State to track whether the local participant's camera is on. To be used when creating a custom
480
877
  * control bar with the CallComposite.
481
878
  */
482
879
  cameraStatus?: 'On' | 'Off';
880
+ /**
881
+ * Default set of background images for background replacement effect.
882
+ */
883
+ videoBackgroundImages?: VideoBackgroundImage[];
884
+ /**
885
+ * State to track the selected video background effect.
886
+ */
887
+ selectedVideoBackgroundEffect?: VideoBackgroundEffect;
888
+ /**
889
+ * Call from transfer request accepted by local user
890
+ */
891
+ acceptedTransferCallState?: CallState;
483
892
  };
484
893
 
485
894
  /**
@@ -564,7 +973,7 @@ export declare interface CallAdapterDeviceManagement {
564
973
  *
565
974
  * @public
566
975
  */
567
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator;
976
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
568
977
 
569
978
  /**
570
979
  * {@link CommonCallAdapter} state.
@@ -641,6 +1050,18 @@ export declare interface CallAdapterSubscribers {
641
1050
  * Subscribe function for 'error' event.
642
1051
  */
643
1052
  on(event: 'error', listener: (e: AdapterError) => void): void;
1053
+ /**
1054
+ * Subscribe function for 'captionsReceived' event.
1055
+ */
1056
+ on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
1057
+ /**
1058
+ * Subscribe function for 'isCaptionsActiveChanged' event.
1059
+ */
1060
+ on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1061
+ /**
1062
+ * Subscribe function for 'transferRequested' event.
1063
+ */
1064
+ on(event: 'transferRequested', listener: TransferRequestedListener): void;
644
1065
  /**
645
1066
  * Unsubscribe function for 'participantsJoined' event.
646
1067
  */
@@ -689,6 +1110,18 @@ export declare interface CallAdapterSubscribers {
689
1110
  * Unsubscribe function for 'error' event.
690
1111
  */
691
1112
  off(event: 'error', listener: (e: AdapterError) => void): void;
1113
+ /**
1114
+ * Unsubscribe function for 'captionsReceived' event.
1115
+ */
1116
+ off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
1117
+ /**
1118
+ * Unsubscribe function for 'isCaptionsActiveChanged' event.
1119
+ */
1120
+ off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1121
+ /**
1122
+ * Unsubscribe function for 'transferRequested' event.
1123
+ */
1124
+ off(event: 'transferRequested', listener: TransferRequestedListener): void;
692
1125
  }
693
1126
 
694
1127
  /**
@@ -699,6 +1132,7 @@ export declare interface CallAdapterSubscribers {
699
1132
  export declare type CallAdapterUiState = {
700
1133
  isLocalPreviewMicrophoneEnabled: boolean;
701
1134
  page: CallCompositePage;
1135
+ unsupportedBrowserVersionsAllowed?: boolean;
702
1136
  };
703
1137
 
704
1138
  /**
@@ -717,7 +1151,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
717
1151
  */
718
1152
  export declare interface CallAgentProviderProps {
719
1153
  children: React_2.ReactNode;
720
- callAgent?: CallAgent;
1154
+ callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
721
1155
  }
722
1156
 
723
1157
  /**
@@ -742,7 +1176,7 @@ export declare interface CallAgentState {
742
1176
  */
743
1177
  export declare interface CallAndChatLocator {
744
1178
  /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
745
- callLocator: GroupCallLocator;
1179
+ callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
746
1180
  /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
747
1181
  chatThreadId: string;
748
1182
  }
@@ -829,6 +1263,16 @@ export declare interface CallClientState {
829
1263
  * See documentation of {@Link CallErrors} for details.
830
1264
  */
831
1265
  latestErrors: CallErrors;
1266
+ /**
1267
+ * A phone number in E.164 format that will be used to represent callers identity.
1268
+ * For example, using the alternateCallerId to add a participant using PSTN, this number will
1269
+ * be used as the caller id in the PSTN call.
1270
+ */
1271
+ alternateCallerId?: string;
1272
+ /**
1273
+ * state to track the environment that the stateful client was made in is supported
1274
+ */
1275
+ environmentInfo?: EnvironmentInfo;
832
1276
  }
833
1277
 
834
1278
  /**
@@ -893,6 +1337,12 @@ export declare type CallCompositeIcons = {
893
1337
  ParticipantItemScreenShareStart?: JSX.Element;
894
1338
  VideoTileMicOff?: JSX.Element;
895
1339
  LocalCameraSwitch?: JSX.Element;
1340
+ PeoplePaneAddPerson?: JSX.Element;
1341
+ PeoplePaneOpenDialpad?: JSX.Element;
1342
+ DialpadStartCall?: JSX.Element;
1343
+ NoticePageInvalidRoom?: JSX.Element;
1344
+ BlurVideoBackground?: JSX.Element;
1345
+ RemoveVideoBackgroundEffect?: JSX.Element;
896
1346
  };
897
1347
 
898
1348
  /**
@@ -913,6 +1363,66 @@ export declare type CallCompositeOptions = {
913
1363
  * @defaultValue true
914
1364
  */
915
1365
  callControls?: boolean | CallControlOptions;
1366
+ /**
1367
+ * Device permissions check options for your call.
1368
+ * Here you can choose what device permissions you prompt the user for,
1369
+ * as well as what device permissions must be accepted before starting a call.
1370
+ */
1371
+ deviceChecks?: DeviceCheckOptions;
1372
+ /**
1373
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1374
+ * unable to grant your site the required permissions for the call.
1375
+ *
1376
+ * @example
1377
+ * ```ts
1378
+ * onPermissionsTroubleshootingClick: () =>
1379
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
1380
+ * ```
1381
+ *
1382
+ * @remarks
1383
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
1384
+ */
1385
+ onPermissionsTroubleshootingClick?: (permissionsState: {
1386
+ camera: PermissionState;
1387
+ microphone: PermissionState;
1388
+ }) => void;
1389
+ /**
1390
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1391
+ * having network issues when connecting to the call.
1392
+ *
1393
+ * @example
1394
+ * ```ts
1395
+ * onNetworkingTroubleShootingClick?: () =>
1396
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
1397
+ * ```
1398
+ *
1399
+ * @remarks
1400
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
1401
+ */
1402
+ onNetworkingTroubleShootingClick?: () => void;
1403
+ /**
1404
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
1405
+ *
1406
+ * @example
1407
+ * ```ts
1408
+ * onBrowserTroubleShootingClick?: () =>
1409
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
1410
+ * ```
1411
+ *
1412
+ * @remarks
1413
+ * if this is not supplied, the composite will not show a unsupported browser page.
1414
+ */
1415
+ onEnvironmentInfoTroubleshootingClick?: () => void;
1416
+ /**
1417
+ * Remote participant video tile menu options
1418
+ */
1419
+ remoteVideoTileMenu?: RemoteVideoTileMenuOptions;
1420
+ /**
1421
+ * Options for controlling the local video tile.
1422
+ *
1423
+ * @remarks if 'false' the local video tile will not be rendered.
1424
+ */
1425
+ localVideoTile?: boolean | LocalVideoTileOptions;
916
1426
  };
917
1427
 
918
1428
  /**
@@ -920,7 +1430,7 @@ export declare type CallCompositeOptions = {
920
1430
  *
921
1431
  * @public
922
1432
  */
923
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
1433
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | /* @conditional-compile-remove(rooms) */ 'deniedPermissionToRoom' | 'removedFromCall' | /* @conditional-compile-remove(rooms) */ 'roomNotFound' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
924
1434
 
925
1435
  /**
926
1436
  * Props for {@link CallComposite}.
@@ -1139,9 +1649,165 @@ export declare interface CallCompositeStrings {
1139
1649
  */
1140
1650
  microphoneToggleInLobbyNotAllowed: string;
1141
1651
  /**
1142
- * aria label for when the invite link has been actioned
1652
+ * Side pane People section Title.
1653
+ */
1654
+ peoplePaneTitle: string;
1655
+ /**
1656
+ * Aria label string for return to call back button
1657
+ */
1658
+ returnToCallButtonAriaLabel?: string;
1659
+ /**
1660
+ * Aria Description string for return to call button
1661
+ */
1662
+ returnToCallButtonAriaDescription?: string;
1663
+ /**
1664
+ * control bar People button label
1665
+ */
1666
+ peopleButtonLabel: string;
1667
+ /**
1668
+ * control bar Chat button label.
1669
+ */
1670
+ chatButtonLabel: string;
1671
+ /**
1672
+ * Label for SidePaneHeader dismiss button
1673
+ */
1674
+ dismissSidePaneButtonLabel?: string;
1675
+ /**
1676
+ * Side pane People section subheader.
1677
+ */
1678
+ peoplePaneSubTitle: string;
1679
+ /**
1680
+ * Label for button to copy invite link
1681
+ */
1682
+ copyInviteLinkButtonLabel: string;
1683
+ /**
1684
+ * Label for button to open dialpad
1685
+ */
1686
+ openDialpadButtonLabel: string;
1687
+ /**
1688
+ * Label for menu item to remove participant
1689
+ */
1690
+ removeMenuLabel: string;
1691
+ /**
1692
+ * Label for add people dropdown
1693
+ */
1694
+ peoplePaneAddPeopleButtonLabel: string;
1695
+ /**
1696
+ * Label for button to start a call
1697
+ */
1698
+ dialpadStartCallButtonLabel: string;
1699
+ /**
1700
+ * Title for dialpad Modal
1701
+ */
1702
+ dialpadModalTitle: string;
1703
+ /**
1704
+ * Aria Label for dialpad Modal
1705
+ */
1706
+ dialpadModalAriaLabel: string;
1707
+ /**
1708
+ * Aria Label for dialpad Modal close button
1709
+ */
1710
+ dialpadCloseModalButtonAriaLabel: string;
1711
+ /**
1712
+ * label for more button in the Calling composite
1713
+ */
1714
+ moreButtonCallingLabel: string;
1715
+ /**
1716
+ * Label for the resume call button on the hold pane
1717
+ */
1718
+ resumeCallButtonLabel: string;
1719
+ /**
1720
+ * Label for the resume call button on the hold pane when call is resuming
1721
+ */
1722
+ resumingCallButtonLabel: string;
1723
+ /**
1724
+ * Aria label for the resume call button on the hold pane
1725
+ */
1726
+ resumeCallButtonAriaLabel: string;
1727
+ /**
1728
+ * Aria label for the resume call button on the hold pane when call is resuming
1729
+ */
1730
+ resumingCallButtonAriaLabel: string;
1731
+ /**
1732
+ * Label for the hold pane
1733
+ */
1734
+ holdScreenLabel: string;
1735
+ /**
1736
+ * Placeholder text for dtmf dialpad
1737
+ */
1738
+ dtmfDialpadPlaceholderText: string;
1739
+ /**
1740
+ * Label for the button to open dtmf dialpad
1741
+ */
1742
+ openDtmfDialpadLabel: string;
1743
+ /**
1744
+ * aria label for when the invite link has been actioned
1143
1745
  */
1144
1746
  copyInviteLinkActionedAriaLabel: string;
1747
+ /**
1748
+ * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1749
+ */
1750
+ roomNotFoundTitle: string;
1751
+ /**
1752
+ * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1753
+ */
1754
+ roomNotFoundDetails?: string;
1755
+ /**
1756
+ * Video Effects pane title.
1757
+ */
1758
+ videoEffectsPaneTitle: string;
1759
+ /**
1760
+ * Video Effects pane sub section title for choosing background.
1761
+ */
1762
+ videoEffectsPaneBackgroundSelectionTitle: string;
1763
+ /**
1764
+ * Label for the button to open effects
1765
+ */
1766
+ configurationPageVideoEffectsButtonLabel?: string;
1767
+ /**
1768
+ * Error message for video effect failure
1769
+ */
1770
+ unableToStartVideoEffect?: string;
1771
+ /**
1772
+ * Label for the blur video background effect item
1773
+ */
1774
+ blurBackgroundEffectButtonLabel?: string;
1775
+ /**
1776
+ * Tooltip text for the blur video background effect item
1777
+ */
1778
+ blurBackgroundTooltip?: string;
1779
+ /**
1780
+ * Label for the remove video background effect item
1781
+ */
1782
+ removeBackgroundEffectButtonLabel?: string;
1783
+ /**
1784
+ * Tooltip text for the blur video background effect item
1785
+ */
1786
+ removeBackgroundTooltip?: string;
1787
+ /**
1788
+ * Text to show when warning the user the camera is off and inform the user to turn the camera on to see the selected video background effect.
1789
+ */
1790
+ cameraOffBackgroundEffectWarningText?: string;
1791
+ /**
1792
+ * Title text of the page shown to the user when the user attempts to join a room to which they are not invited.
1793
+ */
1794
+ deniedPermissionToRoomTitle: string;
1795
+ /**
1796
+ * More details text of the page shown to the user when the user attempts to join a room to which they are not invited.
1797
+ */
1798
+ deniedPermissionToRoomDetails?: string;
1799
+ /**
1800
+ * Control bar People button ToolTipContent
1801
+ */
1802
+ peopleButtonTooltipOpen: string;
1803
+ /**
1804
+ * Control bar People button ToolTipContent
1805
+ */
1806
+ peopleButtonTooltipClose: string;
1807
+ /**
1808
+ * Label disaplayed on the lobby screen during a 1:1 outbound call.
1809
+ */
1810
+ outboundCallingNoticeString: string;
1145
1811
  /**
1146
1812
  * Notice to be announced by narrator when a participant joins a call
1147
1813
  */
@@ -1186,6 +1852,94 @@ export declare interface CallCompositeStrings {
1186
1852
  * string to be used to announce when multiple unnamed participants have left at the same time.
1187
1853
  */
1188
1854
  manyUnnamedParticipantsLeft: string;
1855
+ /**
1856
+ * string to be used to open live captions contextual menu
1857
+ */
1858
+ liveCaptionsLabel?: string;
1859
+ /**
1860
+ * label for opening captions setting modal
1861
+ */
1862
+ captionsSettingsLabel?: string;
1863
+ /**
1864
+ * string to be used to start captions
1865
+ */
1866
+ startCaptionsButtonOnLabel?: string;
1867
+ /**
1868
+ * string to be used to stop captions
1869
+ */
1870
+ startCaptionsButtonOffLabel?: string;
1871
+ /**
1872
+ * tooltip string to be used to show captions is on
1873
+ */
1874
+ startCaptionsButtonTooltipOnContent?: string;
1875
+ /**
1876
+ *tooltip string to be used to show captions is off
1877
+ */
1878
+ startCaptionsButtonTooltipOffContent?: string;
1879
+ /**
1880
+ * captions setting modal title
1881
+ */
1882
+ captionsSettingsModalTitle?: string;
1883
+ /**
1884
+ * label for dropdown inside captions setting modal
1885
+ */
1886
+ captionsSettingsDropdownLabel?: string;
1887
+ /**
1888
+ * text under captions setting dropdown indicating what the dropdown is for
1889
+ */
1890
+ captionsSettingsDropdownInfoText?: string;
1891
+ /**
1892
+ * confirm button label in captions setting modal
1893
+ */
1894
+ captionsSettingsConfirmButtonLabel?: string;
1895
+ /**
1896
+ * cancel button label in captions setting modal
1897
+ */
1898
+ captionsSettingsCancelButtonLabel?: string;
1899
+ /**
1900
+ * arial label for captions setting modal
1901
+ */
1902
+ captionsSettingsModalAriaLabel?: string;
1903
+ /**
1904
+ * arial label for captions setting modal close button
1905
+ */
1906
+ captionsSettingsCloseModalButtonAriaLabel?: string;
1907
+ /**
1908
+ * label for more button inside captions banner
1909
+ */
1910
+ captionsBannerMoreButtonCallingLabel?: string;
1911
+ /**
1912
+ * arial label for more button inside captions banner
1913
+ */
1914
+ captionsBannerMoreButtonTooltip?: string;
1915
+ /**
1916
+ * list of key value pairs that pairs language code to language names
1917
+ */
1918
+ captionsAvailableLanguageStrings?: CaptionsAvailableLanguageStrings;
1919
+ /**
1920
+ * captions banner loading spinner label
1921
+ */
1922
+ captionsBannerSpinnerText?: string;
1923
+ /**
1924
+ * transfer page text when showing the transferor who initiated the transfer
1925
+ */
1926
+ transferPageTransferorText: string;
1927
+ /**
1928
+ * transfer page text when showing the transfer target
1929
+ */
1930
+ transferPageTransferTargetText: string;
1931
+ /**
1932
+ * transfer page display name for unknown participant
1933
+ */
1934
+ transferPageUnknownTransferorDisplayName: string;
1935
+ /**
1936
+ * transfer page display name for unknown participant
1937
+ */
1938
+ transferPageUnknownTransferTargetDisplayName: string;
1939
+ /**
1940
+ * notice to be announced by narrator the transfer page is showing
1941
+ */
1942
+ transferPageNoticeString: string;
1189
1943
  }
1190
1944
 
1191
1945
  /**
@@ -1200,7 +1954,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
1200
1954
  *
1201
1955
  * @public
1202
1956
  */
1203
- export declare type CallControlOptions = (CommonCallControlOptions & {
1957
+ export declare type CallControlOptions = CommonCallControlOptions & {
1204
1958
  /**
1205
1959
  * Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
1206
1960
  * @defaultValue true
@@ -1208,7 +1962,8 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
1208
1962
  participantsButton?: boolean | {
1209
1963
  disabled: boolean;
1210
1964
  };
1211
- });
1965
+ legacyControlBarExperience?: boolean;
1966
+ };
1212
1967
 
1213
1968
  /**
1214
1969
  * Callback for {@link CallAdapterSubscribers} 'callEnded' event.
@@ -1269,7 +2024,7 @@ export declare type CallErrors = {
1269
2024
  *
1270
2025
  * @public
1271
2026
  */
1272
- export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | 'CallClient.createTeamsCallAgent' | 'CallClient.feature' | 'CallClient.getDeviceManager' | 'DeviceManager.askDevicePermission' | 'DeviceManager.getCameras' | 'DeviceManager.getMicrophones' | 'DeviceManager.getSpeakers' | 'DeviceManager.off' | 'DeviceManager.on' | 'DeviceManager.selectMicrophone' | 'DeviceManager.selectSpeaker' | 'IncomingCall.accept' | 'IncomingCall.reject';
2027
+ export declare type CallErrorTarget = 'Call.addParticipant' | 'Call.dispose' | 'Call.feature' | 'Call.hangUp' | 'Call.hold' | 'Call.mute' | 'Call.muteIncomingAudio' | 'Call.off' | 'Call.on' | 'Call.removeParticipant' | 'Call.resume' | 'Call.sendDtmf' | 'Call.startAudio' | 'Call.startScreenSharing' | 'Call.startVideo' | 'Call.stopScreenSharing' | 'Call.stopAudio' | 'Call.stopVideo' | 'Call.unmute' | 'Call.unmuteIncomingAudio' | 'CallAgent.dispose' | 'CallAgent.feature' | 'CallAgent.join' | 'CallAgent.off' | 'CallAgent.on' | 'CallAgent.startCall' | 'CallClient.createCallAgent' | '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' | /* @conditional-compile-remove(video-background-effects) */ 'VideoEffectsFeature.startEffects' | /* @conditional-compile-remove(calling-beta-sdk) */ 'CallAgent.handlePushNotification' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admit' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.rejectParticipant' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.admitAll';
1273
2028
 
1274
2029
  /**
1275
2030
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1336,6 +2091,25 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
1336
2091
  isMuted?: boolean;
1337
2092
  /** Whether calling participant is speaking */
1338
2093
  isSpeaking?: boolean;
2094
+ /** Role of participant in Rooms call */
2095
+ role?: Role;
2096
+ };
2097
+
2098
+ /**
2099
+ * Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
2100
+ *
2101
+ * @remarks
2102
+ * This is currently in beta and only supports calling one Teams User.
2103
+ *
2104
+ * @example
2105
+ * ```
2106
+ * ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
2107
+ * ```
2108
+ *
2109
+ * @beta
2110
+ */
2111
+ export declare type CallParticipantsLocator = {
2112
+ participantIds: string[];
1339
2113
  };
1340
2114
 
1341
2115
  /**
@@ -1354,7 +2128,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
1354
2128
  */
1355
2129
  export declare interface CallProviderProps {
1356
2130
  children: React_2.ReactNode;
1357
- call?: Call;
2131
+ call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1358
2132
  }
1359
2133
 
1360
2134
  /**
@@ -1368,6 +2142,10 @@ export declare interface CallState {
1368
2142
  * Proxy of {@link @azure/communication-calling#Call.id}.
1369
2143
  */
1370
2144
  id: string;
2145
+ /**
2146
+ * Type of the call.
2147
+ */
2148
+ kind: CallKind;
1371
2149
  /**
1372
2150
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
1373
2151
  */
@@ -1422,6 +2200,14 @@ export declare interface CallState {
1422
2200
  * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
1423
2201
  */
1424
2202
  transcription: TranscriptionCallFeature;
2203
+ /**
2204
+ * Proxy of {@link @azure/communication-calling#TranscriptionCallFeature}.
2205
+ */
2206
+ captionsFeature: CaptionsCallFeatureState;
2207
+ /**
2208
+ * Proxy of {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
2209
+ */
2210
+ optimalVideoCount: OptimalVideoCountFeatureState;
1425
2211
  /**
1426
2212
  * Proxy of {@link @azure/communication-calling#RecordingCallFeature}.
1427
2213
  */
@@ -1450,6 +2236,18 @@ export declare interface CallState {
1450
2236
  * Stores the latest call diagnostics.
1451
2237
  */
1452
2238
  diagnostics: DiagnosticsCallFeatureState;
2239
+ /**
2240
+ * Proxy of {@link @azure/communication-calling#Call.role}.
2241
+ */
2242
+ role?: ParticipantRole;
2243
+ /**
2244
+ * Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
2245
+ */
2246
+ totalParticipantCount?: number;
2247
+ /**
2248
+ * Transfer state of call
2249
+ */
2250
+ transfer: TransferFeature;
1453
2251
  }
1454
2252
 
1455
2253
  /**
@@ -1473,6 +2271,12 @@ export declare interface CallWithChatAdapterManagement {
1473
2271
  * @public
1474
2272
  */
1475
2273
  removeParticipant(userId: string): Promise<void>;
2274
+ /**
2275
+ * Remove a participant from the call.
2276
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
2277
+ * @beta
2278
+ */
2279
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
1476
2280
  /**
1477
2281
  * Join the call with microphone initially on/off.
1478
2282
  *
@@ -1527,6 +2331,12 @@ export declare interface CallWithChatAdapterManagement {
1527
2331
  * @public
1528
2332
  */
1529
2333
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
2334
+ /**
2335
+ * Start the call.
2336
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
2337
+ * @beta
2338
+ */
2339
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
1530
2340
  /**
1531
2341
  * Start sharing the screen during a call.
1532
2342
  *
@@ -1563,6 +2373,31 @@ export declare interface CallWithChatAdapterManagement {
1563
2373
  * @public
1564
2374
  */
1565
2375
  disposeStreamView(remoteUserId?: string, options?: VideoStreamOptions): Promise<void>;
2376
+ /**
2377
+ * Dispose the html view for a screen share stream
2378
+ *
2379
+ * @remarks
2380
+ * this method is implemented for composite
2381
+ *
2382
+ * @param remoteUserId - Id of the participant to dispose the screen share stream view for.
2383
+ *
2384
+ * @public
2385
+ */
2386
+ disposeScreenShareStreamView(remoteUserId: string): Promise<void>;
2387
+ /**
2388
+ * Dispose the html view for a remote video stream
2389
+ *
2390
+ * @param remoteUserId - Id of the participant to dispose
2391
+ *
2392
+ * @public
2393
+ */
2394
+ disposeRemoteVideoStreamView(remoteUserId: string): Promise<void>;
2395
+ /**
2396
+ * Dispose the html view for a local video stream
2397
+ *
2398
+ * @public
2399
+ */
2400
+ disposeLocalVideoStreamView(): Promise<void>;
1566
2401
  /**
1567
2402
  * Ask for permissions of devices.
1568
2403
  *
@@ -1679,6 +2514,97 @@ export declare interface CallWithChatAdapterManagement {
1679
2514
  * @public
1680
2515
  */
1681
2516
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
2517
+ /** @beta */
2518
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
2519
+ /** @beta */
2520
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
2521
+ /** @beta */
2522
+ clearFileUploads: () => void;
2523
+ /** @beta */
2524
+ cancelFileUpload: (id: string) => void;
2525
+ /** @beta */
2526
+ updateFileUploadProgress: (id: string, progress: number) => void;
2527
+ /** @beta */
2528
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2529
+ /** @beta */
2530
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2531
+ downloadAttachments: (options: {
2532
+ attachmentUrls: string[];
2533
+ }) => Promise<AttachmentDownloadResult[]>;
2534
+ /**
2535
+ * Puts the Call in a Localhold.
2536
+ *
2537
+ * @beta
2538
+ */
2539
+ holdCall: () => Promise<void>;
2540
+ /**
2541
+ * Resumes the call from a LocalHold state.
2542
+ *
2543
+ * @beta
2544
+ */
2545
+ resumeCall: () => Promise<void>;
2546
+ /**
2547
+ * Adds a new Participant to the call.
2548
+ *
2549
+ * @beta
2550
+ */
2551
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
2552
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
2553
+ /**
2554
+ * send dtmf tone to another participant in the call in 1:1 calls
2555
+ *
2556
+ * @beta
2557
+ */
2558
+ sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2559
+ /**
2560
+ * Continues into a call when the browser version is not supported.
2561
+ */
2562
+ allowUnsupportedBrowserVersion(): void;
2563
+ /**
2564
+ * Function to Start captions
2565
+ * @param options - options for start captions
2566
+ */
2567
+ startCaptions(options?: StartCaptionsOptions): Promise<void>;
2568
+ /**
2569
+ * Function to set caption language
2570
+ * @param language - language set for caption
2571
+ */
2572
+ setCaptionLanguage(language: string): Promise<void>;
2573
+ /**
2574
+ * Function to set spoken language
2575
+ * @param language - spoken language
2576
+ */
2577
+ setSpokenLanguage(language: string): Promise<void>;
2578
+ /**
2579
+ * Funtion to stop captions
2580
+ */
2581
+ stopCaptions(): Promise<void>;
2582
+ /**
2583
+ * Start the video background effect.
2584
+ *
2585
+ * @beta
2586
+ */
2587
+ startVideoBackgroundEffect(videoBackgroundEffect: VideoBackgroundEffect): Promise<void>;
2588
+ /**
2589
+ * Stop the video background effect.
2590
+ *
2591
+ * @beta
2592
+ */
2593
+ stopVideoBackgroundEffects(): Promise<void>;
2594
+ /**
2595
+ * Override the background picker images for background replacement effect.
2596
+ *
2597
+ * @param backgroundImages - Array of custom background images.
2598
+ *
2599
+ * @beta
2600
+ */
2601
+ updateBackgroundPickerImages(backgroundImages: VideoBackgroundImage[]): void;
2602
+ /**
2603
+ * Update the selected video background effect
2604
+ *
2605
+ * @beta
2606
+ */
2607
+ updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
1682
2608
  }
1683
2609
 
1684
2610
  /**
@@ -1706,6 +2632,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1706
2632
  on(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1707
2633
  on(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1708
2634
  on(event: 'callError', listener: (e: AdapterError) => void): void;
2635
+ on(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2636
+ on(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1709
2637
  off(event: 'callEnded', listener: CallEndedListener): void;
1710
2638
  off(event: 'isMutedChanged', listener: IsMutedChangedListener): void;
1711
2639
  off(event: 'callIdChanged', listener: CallIdChangedListener): void;
@@ -1717,6 +2645,8 @@ export declare interface CallWithChatAdapterSubscriptions {
1717
2645
  off(event: 'selectedMicrophoneChanged', listener: PropertyChangedEvent): void;
1718
2646
  off(event: 'selectedSpeakerChanged', listener: PropertyChangedEvent): void;
1719
2647
  off(event: 'callError', listener: (e: AdapterError) => void): void;
2648
+ off(event: 'captionsReceived', listener: CaptionsReceivedListener): void;
2649
+ off(event: 'isCaptionsActiveChanged', listener: IsCaptionsActiveChangedListener): void;
1720
2650
  on(event: 'messageReceived', listener: MessageReceivedListener): void;
1721
2651
  on(event: 'messageSent', listener: MessageSentListener): void;
1722
2652
  on(event: 'messageRead', listener: MessageReadListener): void;
@@ -1749,6 +2679,22 @@ export declare interface CallWithChatAdapterUiState {
1749
2679
  * @public
1750
2680
  */
1751
2681
  page: CallCompositePage;
2682
+ /**
2683
+ * Files being uploaded by a user in the current thread.
2684
+ * Should be set to null once the upload is complete.
2685
+ * Array of type {@link FileUploadsUiState}
2686
+ *
2687
+ * @beta
2688
+ */
2689
+ fileUploads?: FileUploadsUiState;
2690
+ /**
2691
+ * State to track whether the end user has opted in to using a
2692
+ * out of date version of a supported browser. Allows the user
2693
+ * to start a call in this state.
2694
+ *
2695
+ * @beta
2696
+ */
2697
+ unsupportedBrowserVersionsAllowed?: boolean;
1752
2698
  }
1753
2699
 
1754
2700
  /**
@@ -1773,6 +2719,14 @@ export declare interface CallWithChatClientState {
1773
2719
  devices: DeviceManagerState;
1774
2720
  /** State of whether the active call is a Teams interop call */
1775
2721
  isTeamsCall: boolean;
2722
+ /** alternateCallerId for PSTN call */
2723
+ alternateCallerId?: string | undefined;
2724
+ /** Environment information for system adapter is made on */
2725
+ environmentInfo?: EnvironmentInfo;
2726
+ /** Default set of background images for background replacement effect */
2727
+ videoBackgroundImages?: VideoBackgroundImage[];
2728
+ /** State to track the selected video background effect */
2729
+ selectedVideoBackgroundEffect?: VideoBackgroundEffect;
1776
2730
  }
1777
2731
 
1778
2732
  /**
@@ -1839,6 +2793,9 @@ export declare type CallWithChatCompositeIcons = {
1839
2793
  ParticipantItemScreenShareStart?: JSX.Element;
1840
2794
  VideoTileMicOff?: JSX.Element;
1841
2795
  LocalCameraSwitch?: JSX.Element;
2796
+ PeoplePaneAddPerson?: JSX.Element;
2797
+ PeoplePaneOpenDialpad?: JSX.Element;
2798
+ DialpadStartCall?: JSX.Element;
1842
2799
  EditBoxCancel?: JSX.Element;
1843
2800
  EditBoxSubmit?: JSX.Element;
1844
2801
  MessageDelivered?: JSX.Element;
@@ -1865,6 +2822,62 @@ export declare type CallWithChatCompositeOptions = {
1865
2822
  * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
1866
2823
  */
1867
2824
  callControls?: boolean | CallWithChatControlOptions;
2825
+ /**
2826
+ * Properties for configuring the File Sharing feature.
2827
+ * If undefined, file sharing feature will be disabled.
2828
+ * @beta
2829
+ */
2830
+ fileSharing?: FileSharingOptions;
2831
+ /**
2832
+ * Device permissions check options for your call.
2833
+ * Here you can choose what device permissions you prompt the user for,
2834
+ * as well as what device permissions must be accepted before starting a call.
2835
+ */
2836
+ deviceChecks?: DeviceCheckOptions;
2837
+ /**
2838
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
2839
+ * unable to grant your site the required permissions for the call.
2840
+ *
2841
+ * @example
2842
+ * ```ts
2843
+ * onPermissionsTroubleshootingClick: () =>
2844
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
2845
+ * ```
2846
+ *
2847
+ * @remarks
2848
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
2849
+ */
2850
+ onPermissionsTroubleshootingClick?: (permissionsState: {
2851
+ camera: PermissionState;
2852
+ microphone: PermissionState;
2853
+ }) => void;
2854
+ /**
2855
+ * Optional callback to supply users with further troubleshooting steps for network issues
2856
+ * experienced when connecting to a call.
2857
+ *
2858
+ * @example
2859
+ * ```ts
2860
+ * onNetworkingTroubleShootingClick?: () =>
2861
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
2862
+ * ```
2863
+ *
2864
+ * @remarks
2865
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
2866
+ */
2867
+ onNetworkingTroubleShootingClick?: () => void;
2868
+ /**
2869
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
2870
+ *
2871
+ * @example
2872
+ * ```ts
2873
+ * onBrowserTroubleShootingClick?: () =>
2874
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
2875
+ * ```
2876
+ *
2877
+ * @remarks
2878
+ * if this is not supplied, the composite will not show a unsupported browser page.
2879
+ */
2880
+ onEnvironmentInfoTroubleshootingClick?: () => void;
1868
2881
  };
1869
2882
 
1870
2883
  /**
@@ -1950,6 +2963,18 @@ export declare interface CallWithChatCompositeStrings {
1950
2963
  * Only used with `mobileView` set to `true`.
1951
2964
  */
1952
2965
  moreDrawerSpeakerMenuTitle: string;
2966
+ /**
2967
+ * Title for the captions sub-menu in more button drawer.
2968
+ *
2969
+ * Only used with `mobileView` set to `true`.
2970
+ */
2971
+ moreDrawerCaptionsMenuTitle: string;
2972
+ /**
2973
+ * Title for the spoken language sub-menu in more button drawer.
2974
+ *
2975
+ * Only used with `mobileView` set to `true`.
2976
+ */
2977
+ moreDrawerSpokenLanguageMenuTitle: string;
1953
2978
  /**
1954
2979
  * {@Link CallWithChatComposite} control bar More button label
1955
2980
  */
@@ -1990,6 +3015,10 @@ export declare interface CallWithChatCompositeStrings {
1990
3015
  * Label for button to copy invite link
1991
3016
  */
1992
3017
  copyInviteLinkButtonLabel: string;
3018
+ /**
3019
+ * Label for button to open dialpad
3020
+ */
3021
+ openDialpadButtonLabel: string;
1993
3022
  /**
1994
3023
  * Label for SidePaneHeader dismiss button
1995
3024
  */
@@ -2002,6 +3031,34 @@ export declare interface CallWithChatCompositeStrings {
2002
3031
  * Aria label string for return to call back button
2003
3032
  */
2004
3033
  returnToCallButtonAriaLabel?: string;
3034
+ /**
3035
+ * Label for add people dropdown
3036
+ */
3037
+ peoplePaneAddPeopleButtonLabel: string;
3038
+ /**
3039
+ * Label for button to start a call
3040
+ */
3041
+ dialpadStartCallButtonLabel: string;
3042
+ /**
3043
+ * Title for dialpad Modal
3044
+ */
3045
+ dialpadModalTitle: string;
3046
+ /**
3047
+ * Aria Label for dialpad Modal
3048
+ */
3049
+ dialpadModalAriaLabel: string;
3050
+ /**
3051
+ * Aria Label for dialpad Modal close button
3052
+ */
3053
+ dialpadCloseModalButtonAriaLabel: string;
3054
+ /**
3055
+ * Placeholder text for dtmf dialpad
3056
+ */
3057
+ dtmfDialpadPlaceholderText: string;
3058
+ /**
3059
+ * Label for the button to open dtmf dialpad
3060
+ */
3061
+ openDtmfDialpadLabel: string;
2005
3062
  /**
2006
3063
  * aria label for when the invite link has been actioned
2007
3064
  */
@@ -2018,7 +3075,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2018
3075
  * Show or hide the chat button in the call-with-chat composite control bar.
2019
3076
  * @defaultValue true
2020
3077
  */
2021
- chatButton?: boolean;
3078
+ chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3079
+ disabled: boolean;
3080
+ };
2022
3081
  }
2023
3082
 
2024
3083
  /**
@@ -2026,7 +3085,36 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2026
3085
  *
2027
3086
  * @public
2028
3087
  */
2029
- export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
3088
+ export declare type CallWithChatEvent = 'callError' | 'chatError' | 'callEnded' | 'isMutedChanged' | 'callIdChanged' | 'isLocalScreenSharingActiveChanged' | 'displayNameChanged' | 'isSpeakingChanged' | 'callParticipantsJoined' | 'callParticipantsLeft' | 'selectedMicrophoneChanged' | 'selectedSpeakerChanged' | /* @conditional-compile-remove(close-captions) */ 'isCaptionsActiveChanged' | /* @conditional-compile-remove(close-captions) */ 'captionsReceived' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
3089
+
3090
+ /**
3091
+ * @beta
3092
+ *
3093
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3094
+ * by their browsers settings.
3095
+ */
3096
+ export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
3097
+
3098
+ /**
3099
+ * @beta
3100
+ * Props for CameraAndMicrophoneSitePermissions component.
3101
+ */
3102
+ export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
3103
+ /** Icon name for the camera icon */
3104
+ cameraIconName?: string;
3105
+ /** Icon name for the microphone icon */
3106
+ microphoneIconName?: string;
3107
+ /** Icon name for the central icon between the camera and microphone icons */
3108
+ connectorIconName?: string;
3109
+ /** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
3110
+ strings?: CameraAndMicrophoneSitePermissionsStrings;
3111
+ }
3112
+
3113
+ /**
3114
+ * @beta
3115
+ * Strings for CameraAndMicrophoneSitePermissions component.
3116
+ */
3117
+ export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
2030
3118
 
2031
3119
  /**
2032
3120
  * A button to turn camera on / off.
@@ -2090,6 +3178,10 @@ export declare interface CameraButtonProps extends ControlBarButtonProps {
2090
3178
  * Styles for {@link CameraButton} and the device selection flyout.
2091
3179
  */
2092
3180
  styles?: Partial<CameraButtonStyles>;
3181
+ /**
3182
+ * Callback when a effects is clicked
3183
+ */
3184
+ onShowVideoEffectsPicker?: (showVideoEffectsOptions: boolean) => void;
2093
3185
  }
2094
3186
 
2095
3187
  /**
@@ -2162,6 +3254,10 @@ export declare interface CameraButtonStrings {
2162
3254
  * Title for primary action section of split button
2163
3255
  */
2164
3256
  cameraPrimaryActionSplitButtonTitle?: string;
3257
+ /**
3258
+ * Title for video effects menu item
3259
+ */
3260
+ videoEffectsMenuItemTitle?: string;
2165
3261
  }
2166
3262
 
2167
3263
  /**
@@ -2176,18 +3272,177 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
2176
3272
  menuStyles?: Partial<CameraButtonContextualMenuStyles>;
2177
3273
  }
2178
3274
 
3275
+ /**
3276
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3277
+ * by their browsers settings.
3278
+ *
3279
+ * @beta
3280
+ */
3281
+ export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
3282
+
3283
+ /**
3284
+ * @beta
3285
+ * Props for CameraSitePermissions component.
3286
+ */
3287
+ export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
3288
+ /** Icon name for the camera icon */
3289
+ cameraIconName?: string;
3290
+ /** Strings for use with the {@link CameraSitePermissions} */
3291
+ strings?: CameraSitePermissionsStrings;
3292
+ }
3293
+
3294
+ /**
3295
+ * @beta
3296
+ * Strings for CameraSitePermissions component.
3297
+ */
3298
+ export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
3299
+
2179
3300
  /**
2180
3301
  * @public
2181
3302
  * Callback function run when a message edit is cancelled.
2182
3303
  */
2183
3304
  export declare type CancelEditCallback = (messageId: string) => void;
2184
3305
 
3306
+ /**
3307
+ * @beta
3308
+ * strings for captions setting modal
3309
+ */
3310
+ export declare interface CaptionsAvailableLanguageStrings {
3311
+ 'ar-ae': string;
3312
+ 'ar-sa': string;
3313
+ 'da-dk': string;
3314
+ 'de-de': string;
3315
+ 'en-au': string;
3316
+ 'en-ca': string;
3317
+ 'en-gb': string;
3318
+ 'en-in': string;
3319
+ 'en-nz': string;
3320
+ 'en-us': string;
3321
+ 'es-es': string;
3322
+ 'es-mx': string;
3323
+ 'fi-fi': string;
3324
+ 'fr-ca': string;
3325
+ 'fr-fr': string;
3326
+ 'hi-in': string;
3327
+ 'it-it': string;
3328
+ 'ja-jp': string;
3329
+ 'ko-kr': string;
3330
+ 'nb-no': string;
3331
+ 'nl-be': string;
3332
+ 'nl-nl': string;
3333
+ 'pl-pl': string;
3334
+ 'pt-br': string;
3335
+ 'ru-ru': string;
3336
+ 'sv-se': string;
3337
+ 'zh-cn': string;
3338
+ 'zh-hk': string;
3339
+ 'cs-cz': string;
3340
+ 'pt-pt': string;
3341
+ 'tr-tr': string;
3342
+ 'vi-vn': string;
3343
+ 'th-th': string;
3344
+ 'he-il': string;
3345
+ 'cy-gb': string;
3346
+ 'uk-ua': string;
3347
+ 'el-gr': string;
3348
+ 'hu-hu': string;
3349
+ 'ro-ro': string;
3350
+ 'sk-sk': string;
3351
+ 'zh-tw': string;
3352
+ }
3353
+
3354
+ /**
3355
+ * @beta
3356
+ */
3357
+ export declare interface CaptionsCallFeatureState {
3358
+ /**
3359
+ * supported spoken languages
3360
+ */
3361
+ supportedSpokenLanguages: string[];
3362
+ /**
3363
+ * array of received captions
3364
+ */
3365
+ captions: CaptionsInfo[];
3366
+ /**
3367
+ * whether captions is on/off
3368
+ */
3369
+ isCaptionsFeatureActive: boolean;
3370
+ /**
3371
+ * whether start captions button is clicked or now
3372
+ */
3373
+ startCaptionsInProgress: boolean;
3374
+ /**
3375
+ * supported caption languages
3376
+ */
3377
+ supportedCaptionLanguages: string[];
3378
+ /**
3379
+ * current spoken language
3380
+ */
3381
+ currentSpokenLanguage: string;
3382
+ /**
3383
+ * current caption language
3384
+ */
3385
+ currentCaptionLanguage: string;
3386
+ }
3387
+
3388
+ /**
3389
+ * @beta
3390
+ */
3391
+ export declare interface CaptionsInfo {
3392
+ /**
3393
+ * The state in which this caption data can be classified.
3394
+ */
3395
+ resultType: CaptionsResultType;
3396
+ /**
3397
+ * The information of the call participant who spoke the captioned text.
3398
+ */
3399
+ speaker: CallerInfo;
3400
+ /**
3401
+ * The language that the spoken words were interpretted as. Corresponds to the language specified in startCaptions / setSpokenLanguage.
3402
+ */
3403
+ spokenLanguage: string;
3404
+ /**
3405
+ * The caption text.
3406
+ */
3407
+ captionText: string;
3408
+ /**
3409
+ * Timestamp of when the captioned words were initially spoken.
3410
+ */
3411
+ timestamp: Date;
3412
+ /**
3413
+ * The language that the captions are presented in. Corresponds to the captionLanguage specified in startCaptions / setCaptionLanguage.
3414
+ */
3415
+ captionLanguage?: string;
3416
+ /**
3417
+ * The original spoken caption text prior to translating to subtitle language
3418
+ */
3419
+ spokenText?: string;
3420
+ }
3421
+
3422
+ /**
3423
+ * options bag to start captions
3424
+ *
3425
+ * @beta
3426
+ */
3427
+ export declare type CaptionsOptions = {
3428
+ spokenLanguage: string;
3429
+ };
3430
+
3431
+ /**
3432
+ * Callback for {@link CallAdapterSubscribers} 'captionsReceived' event.
3433
+ *
3434
+ * @beta
3435
+ */
3436
+ export declare type CaptionsReceivedListener = (event: {
3437
+ captionsInfo: CaptionsInfo;
3438
+ }) => void;
3439
+
2185
3440
  /**
2186
3441
  * {@link ChatComposite} Adapter interface.
2187
3442
  *
2188
3443
  * @public
2189
3444
  */
2190
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers;
3445
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable & ChatAdapterSubscribers & FileUploadAdapter;
2191
3446
 
2192
3447
  /**
2193
3448
  * {@link ChatAdapter} state.
@@ -2295,7 +3550,9 @@ export declare interface ChatAdapterThreadManagement {
2295
3550
  /**
2296
3551
  * Update a message content.
2297
3552
  */
2298
- updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
3553
+ updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
3554
+ attachedFilesMetadata?: FileMetadata[];
3555
+ }): Promise<void>;
2299
3556
  /**
2300
3557
  * Delete a message in the thread.
2301
3558
  */
@@ -2308,6 +3565,9 @@ export declare interface ChatAdapterThreadManagement {
2308
3565
  *
2309
3566
  */
2310
3567
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3568
+ downloadAttachments: (options: {
3569
+ attachmentUrls: string[];
3570
+ }) => Promise<AttachmentDownloadResult[]>;
2311
3571
  }
2312
3572
 
2313
3573
  /**
@@ -2317,6 +3577,13 @@ export declare interface ChatAdapterThreadManagement {
2317
3577
  */
2318
3578
  export declare type ChatAdapterUiState = {
2319
3579
  error?: Error;
3580
+ /**
3581
+ * Files being uploaded by a user in the current thread.
3582
+ * Should be set to null once the upload is complete.
3583
+ * Array of type {@link FileUploadsUiState}
3584
+ * @beta
3585
+ */
3586
+ fileUploads?: FileUploadsUiState;
2320
3587
  };
2321
3588
 
2322
3589
  /**
@@ -2419,6 +3686,7 @@ export declare type ChatCompositeIcons = {
2419
3686
  ParticipantItemOptionsHovered?: JSX.Element;
2420
3687
  SendBoxSend?: JSX.Element;
2421
3688
  SendBoxSendHovered?: JSX.Element;
3689
+ SendBoxAttachFile?: JSX.Element;
2422
3690
  };
2423
3691
 
2424
3692
  /**
@@ -2433,6 +3701,13 @@ export declare type ChatCompositeOptions = {
2433
3701
  * @defaultValue true
2434
3702
  */
2435
3703
  errorBar?: boolean;
3704
+ /**
3705
+ * Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
3706
+ * @defaultValue false
3707
+ *
3708
+ * @beta
3709
+ */
3710
+ participantPane?: boolean;
2436
3711
  /**
2437
3712
  * Show or hide the topic at the top of the chat. Hidden if set to `false`
2438
3713
  * @defaultValue true
@@ -2443,6 +3718,12 @@ export declare type ChatCompositeOptions = {
2443
3718
  * When undefined nothing has focus on render
2444
3719
  */
2445
3720
  autoFocus?: 'sendBoxTextField';
3721
+ /**
3722
+ * Properties for configuring the File Sharing feature.
3723
+ * If undefined, file sharing feature will be disabled.
3724
+ * @beta
3725
+ */
3726
+ fileSharing?: FileSharingOptions;
2446
3727
  };
2447
3728
 
2448
3729
  /**
@@ -2470,6 +3751,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
2470
3751
  * Flags to enable/disable visual elements of the {@link ChatComposite}.
2471
3752
  */
2472
3753
  options?: ChatCompositeOptions;
3754
+ /**
3755
+ * Optimizes the composite form factor for either desktop or mobile.
3756
+ * @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
3757
+ * @defaultValue 'desktop'
3758
+ */
3759
+ formFactor?: 'desktop' | 'mobile';
2473
3760
  }
2474
3761
 
2475
3762
  /**
@@ -2484,6 +3771,10 @@ export declare interface ChatCompositeStrings {
2484
3771
  * Chat list header text
2485
3772
  */
2486
3773
  chatListHeader: string;
3774
+ /**
3775
+ * Upload File Button text
3776
+ */
3777
+ uploadFile: string;
2487
3778
  }
2488
3779
 
2489
3780
  /**
@@ -2549,7 +3840,9 @@ export declare type ChatHandlers = {
2549
3840
  onRemoveParticipant: (userId: string) => Promise<void>;
2550
3841
  updateThreadTopicName: (topicName: string) => Promise<void>;
2551
3842
  onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
2552
- onUpdateMessage: (messageId: string, content: string) => Promise<void>;
3843
+ onUpdateMessage: (messageId: string, content: string, metadata?: Record<string, string>, options?: {
3844
+ attachedFilesMetadata?: FileMetadata[];
3845
+ }) => Promise<void>;
2553
3846
  onDeleteMessage: (messageId: string) => Promise<void>;
2554
3847
  };
2555
3848
 
@@ -2576,6 +3869,12 @@ export declare interface ChatMessage extends MessageCommon {
2576
3869
  * {@link @azure/communication-chat#ChatMessage.metadata}
2577
3870
  */
2578
3871
  metadata?: Record<string, string>;
3872
+ /**
3873
+ * @beta
3874
+ * A list of files attached to the message.
3875
+ * {@link FileMetadata}
3876
+ */
3877
+ attachedFilesMetadata?: FileMetadata[];
2579
3878
  }
2580
3879
 
2581
3880
  /**
@@ -2589,6 +3888,7 @@ export declare interface ChatMessage extends MessageCommon {
2589
3888
  export declare type ChatMessageWithStatus = ChatMessage_2 & {
2590
3889
  clientMessageId?: string;
2591
3890
  status: MessageStatus;
3891
+ policyViolation?: boolean;
2592
3892
  };
2593
3893
 
2594
3894
  /**
@@ -2722,8 +4022,32 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
2722
4022
  * @public
2723
4023
  */
2724
4024
  startCall(participants: string[], options?: StartCallOptions): void;
4025
+ /**
4026
+ * Start the call.
4027
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
4028
+ * @beta
4029
+ */
4030
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
2725
4031
  }
2726
4032
 
4033
+ /**
4034
+ * Common optional parameters to create {@link AzureCommunicationCallAdapter} or {@link TeamsCallAdapter}
4035
+ *
4036
+ * @beta
4037
+ */
4038
+ export declare type CommonCallAdapterOptions = {
4039
+ /**
4040
+ * Default set of background images for background image picker.
4041
+ */
4042
+ videoBackgroundImages?: VideoBackgroundImage[];
4043
+ /**
4044
+ * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
4045
+ * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
4046
+ * and would not be updated again within the lifecycle of adapter.
4047
+ */
4048
+ onFetchProfile?: OnFetchProfileCallback;
4049
+ };
4050
+
2727
4051
  /**
2728
4052
  * Customization options for the control bar in calling experience.
2729
4053
  *
@@ -2744,7 +4068,9 @@ export declare type CommonCallControlOptions = {
2744
4068
  * Show or Hide Camera Button during a call
2745
4069
  * @defaultValue true
2746
4070
  */
2747
- cameraButton?: boolean;
4071
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4072
+ disabled: boolean;
4073
+ };
2748
4074
  /**
2749
4075
  * Show or Hide EndCall button during a call.
2750
4076
  * @defaultValue true
@@ -2754,12 +4080,16 @@ export declare type CommonCallControlOptions = {
2754
4080
  * Show or Hide Microphone button during a call.
2755
4081
  * @defaultValue true
2756
4082
  */
2757
- microphoneButton?: boolean;
4083
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4084
+ disabled: boolean;
4085
+ };
2758
4086
  /**
2759
4087
  * Show or Hide Devices button during a call.
2760
4088
  * @defaultValue true
2761
4089
  */
2762
- devicesButton?: boolean;
4090
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4091
+ disabled: boolean;
4092
+ };
2763
4093
  /**
2764
4094
  * Show, Hide or Disable participants button during a call.
2765
4095
  * @defaultValue true
@@ -2768,17 +4098,33 @@ export declare type CommonCallControlOptions = {
2768
4098
  disabled: boolean;
2769
4099
  };
2770
4100
  /**
2771
- * Show, Hide or Disable the screen share button during a call.
4101
+ * Show, Hide or Disable the screen share button during a call.
4102
+ * @defaultValue true
4103
+ */
4104
+ screenShareButton?: boolean | {
4105
+ disabled: boolean;
4106
+ };
4107
+ /**
4108
+ * Show, Hide or disable the more button during a call.
2772
4109
  * @defaultValue true
2773
4110
  */
2774
- screenShareButton?: boolean | {
4111
+ moreButton?: boolean;
4112
+ /**
4113
+ * Inject custom buttons in the call controls.
4114
+ *
4115
+ * @beta
4116
+ */
4117
+ onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
4118
+ holdButton?: boolean | {
2775
4119
  disabled: boolean;
2776
4120
  };
2777
4121
  /**
2778
4122
  * Show or hide the people button in the composite control bar.
2779
4123
  * @defaultValue true
2780
4124
  */
2781
- peopleButton?: boolean;
4125
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4126
+ disabled: boolean;
4127
+ };
2782
4128
  };
2783
4129
 
2784
4130
  /**
@@ -2800,12 +4146,30 @@ export declare interface CommonCallingHandlers {
2800
4146
  onStopScreenShare: () => Promise<void>;
2801
4147
  onToggleScreenShare: () => Promise<void>;
2802
4148
  onHangUp: (forEveryone?: boolean) => Promise<void>;
4149
+ onToggleHold: () => Promise<void>;
4150
+ onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
4151
+ onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
2803
4152
  onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
2804
4153
  onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
4154
+ /**
4155
+ * @deprecated use {@link onDisposeRemoteVideoStreamView} and {@link onDisposeRemoteScreenShareStreamView} instead.
4156
+ */
2805
4157
  onDisposeRemoteStreamView: (userId: string) => Promise<void>;
2806
4158
  onDisposeLocalStreamView: () => Promise<void>;
4159
+ onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
4160
+ onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
4161
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2807
4162
  onRemoveParticipant(userId: string): Promise<void>;
4163
+ onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
4164
+ askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
2808
4165
  onStartCall: (participants: (CommunicationUserIdentifier | PhoneNumberIdentifier | UnknownIdentifier)[], options?: StartCallOptions) => void;
4166
+ onRemoveVideoBackgroundEffects: () => Promise<void>;
4167
+ onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
4168
+ onReplaceVideoBackground: (backgroundReplacementConfig: BackgroundReplacementConfig) => Promise<void>;
4169
+ onStartCaptions: (options?: CaptionsOptions) => Promise<void>;
4170
+ onStopCaptions: () => Promise<void>;
4171
+ onSetSpokenLanguage: (language: string) => Promise<void>;
4172
+ onSetCaptionLanguage: (language: string) => Promise<void>;
2809
4173
  }
2810
4174
 
2811
4175
  /**
@@ -2817,6 +4181,39 @@ export declare type CommonProperties<A, B> = {
2817
4181
  [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
2818
4182
  }[keyof A & keyof B];
2819
4183
 
4184
+ /**
4185
+ * @beta
4186
+ * Props for SitePermissions components.
4187
+ */
4188
+ export declare interface CommonSitePermissionsProps {
4189
+ /**
4190
+ * Name of application calling experience is in.
4191
+ */
4192
+ appName: string;
4193
+ /**
4194
+ * Kind of the Site Permissions component.
4195
+ */
4196
+ kind: 'request' | 'denied' | 'check';
4197
+ /**
4198
+ * Type of the browser used, the Site permission component will show different guidance text based on the browser type
4199
+ */
4200
+ browserHint?: 'safari' | 'unset';
4201
+ /**
4202
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
4203
+ * If this is not provided the button will not be shown.
4204
+ */
4205
+ onTroubleshootingClick?: () => void;
4206
+ /**
4207
+ * Action that is taken when the user clicks the continue anyway button.
4208
+ * If this is not provided the button will not be shown.
4209
+ */
4210
+ onContinueAnywayClick?: () => void;
4211
+ /**
4212
+ * Styles for SitePermissions component.
4213
+ */
4214
+ styles?: SitePermissionsStyles;
4215
+ }
4216
+
2820
4217
  /**
2821
4218
  * A Chat or Calling participant's state, as reflected in the UI.
2822
4219
  *
@@ -2986,6 +4383,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
2986
4383
  export declare interface ComponentLocale {
2987
4384
  /** Strings for components */
2988
4385
  strings: ComponentStrings;
4386
+ /**
4387
+ * Optional function to provide customized date format.
4388
+ * @beta
4389
+ */
4390
+ onDisplayDateTimeString?: (messageDate: Date) => string;
2989
4391
  }
2990
4392
 
2991
4393
  /**
@@ -3029,12 +4431,58 @@ export declare interface ComponentStrings {
3029
4431
  typingIndicator: TypingIndicatorStrings;
3030
4432
  /** Strings for SendBox */
3031
4433
  sendBox: SendBoxStrings;
4434
+ /** Strings for MentionPopover */
4435
+ mentionPopover: MentionPopoverStrings;
3032
4436
  /** Strings for MessageStatusIndicator */
3033
4437
  messageStatusIndicator: MessageStatusIndicatorStrings;
3034
4438
  /** Strings for ErroBar */
3035
4439
  errorBar: ErrorBarStrings;
3036
4440
  /** Strings for VideoGallery */
3037
4441
  videoGallery: VideoGalleryStrings;
4442
+ /** Strings for Dialpad */
4443
+ dialpad: DialpadStrings;
4444
+ /** Strings for VideoTile */
4445
+ videoTile: VideoTileStrings;
4446
+ /** Strings for HoldButton */
4447
+ holdButton: HoldButtonStrings;
4448
+ /** Strings for a site's permission request prompt */
4449
+ CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
4450
+ /** Strings for a site's permission request prompt */
4451
+ CameraSitePermissionsRequest: SitePermissionsStrings;
4452
+ /** Strings for a site's permission request prompt */
4453
+ MicrophoneSitePermissionsRequest: SitePermissionsStrings;
4454
+ /** Strings for a site's permission generic checking prompt */
4455
+ CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
4456
+ /** Strings for a site's permission generic checking prompt */
4457
+ CameraSitePermissionsCheck: SitePermissionsStrings;
4458
+ /** Strings for a site's permission generic checking prompt */
4459
+ MicrophoneSitePermissionsCheck: SitePermissionsStrings;
4460
+ /** Strings for a site's permission denied prompt */
4461
+ CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
4462
+ /** Strings for a site's permission denied prompt for safari browsers*/
4463
+ CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
4464
+ /** Strings for a site's permission denied prompt */
4465
+ CameraSitePermissionsDenied: SitePermissionsStrings;
4466
+ /** Strings for a site's permission denied prompt */
4467
+ MicrophoneSitePermissionsDenied: SitePermissionsStrings;
4468
+ /** Strings for a site's permission denied prompt for safari browsers*/
4469
+ CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
4470
+ /** Strings for a site's permission denied prompt for safari browsers*/
4471
+ MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
4472
+ /** Strings for unsupported browser UI */
4473
+ UnsupportedBrowser: UnsupportedBrowserStrings;
4474
+ /** Strings for unsupported browser version UI */
4475
+ UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
4476
+ /** Strings for unsupported browser version UI */
4477
+ UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
4478
+ /** Strings for BrowserPemissionDenied */
4479
+ BrowserPermissionDenied: BrowserPermissionDeniedStrings;
4480
+ /** Strings for BrowserPemissionDeniedIOS */
4481
+ BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
4482
+ /**
4483
+ * Strings for the VerticalGallery.
4484
+ */
4485
+ VerticalGallery: VerticalGalleryStrings;
3038
4486
  }
3039
4487
 
3040
4488
  /**
@@ -3384,7 +4832,7 @@ export declare interface ControlBarProps {
3384
4832
  *
3385
4833
  * @public
3386
4834
  */
3387
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4835
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
3388
4836
 
3389
4837
  /**
3390
4838
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -3394,7 +4842,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
3394
4842
  *
3395
4843
  * @public
3396
4844
  */
3397
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator) => Promise<CallAdapter>;
4845
+ export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
3398
4846
 
3399
4847
  /**
3400
4848
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -3402,7 +4850,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
3402
4850
  *
3403
4851
  * @public
3404
4852
  */
3405
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
4853
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
3406
4854
 
3407
4855
  /**
3408
4856
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -3412,7 +4860,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
3412
4860
  *
3413
4861
  * @public
3414
4862
  */
3415
- export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4863
+ export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, options }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
3416
4864
 
3417
4865
  /**
3418
4866
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -3431,7 +4879,9 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
3431
4879
  *
3432
4880
  * @public
3433
4881
  */
3434
- export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
4882
+ export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
4883
+ credential?: CommunicationTokenCredential;
4884
+ }): Promise<ChatAdapter>;
3435
4885
 
3436
4886
  /**
3437
4887
  * Create the default implementation of {@link CallingHandlers} for teams call.
@@ -3455,6 +4905,16 @@ export declare const createDefaultCallingHandlers: (callClient: StatefulCallClie
3455
4905
  */
3456
4906
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
3457
4907
 
4908
+ /**
4909
+ * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
4910
+ *
4911
+ * Useful when implementing a custom component that utilizes the providers
4912
+ * exported from this library.
4913
+ *
4914
+ * @beta
4915
+ */
4916
+ 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;
4917
+
3458
4918
  /**
3459
4919
  * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
3460
4920
  * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
@@ -3480,6 +4940,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
3480
4940
  */
3481
4941
  export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions | undefined) => StatefulChatClient;
3482
4942
 
4943
+ /**
4944
+ * @beta
4945
+ */
4946
+ export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
4947
+
4948
+ /**
4949
+ * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
4950
+ *
4951
+ * Useful if you want to keep a reference to {@link StatefulCallClient}.
4952
+ * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
4953
+ *
4954
+ * @beta
4955
+ */
4956
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: CommonCallAdapterOptions | undefined) => Promise<TeamsCallAdapter>;
4957
+
3483
4958
  /**
3484
4959
  * Object returned after creating a local or remote VideoStream.
3485
4960
  * This contains helper functions to manipulate the render of the stream.
@@ -3530,8 +5005,146 @@ export declare type CustomAvatarOptions = {
3530
5005
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
3531
5006
  /** Display name to be used in Persona */
3532
5007
  text?: string;
5008
+ /** State for the participant to be displayed in the defaultPlaceHolder */
5009
+ participantState?: ParticipantState;
5010
+ /**
5011
+ * If true, show the special coin for unknown persona.
5012
+ * It has '?' in place of initials, with static font and background colors
5013
+ */
5014
+ showUnknownPersonaCoin?: boolean;
3533
5015
  };
3534
5016
 
5017
+ /**
5018
+ * A callback that returns the props to render a custom {@link ControlBarButton} and {@link DrawerMenuItem}.
5019
+ *
5020
+ * The response indicates where the custom button should be placed.
5021
+ *
5022
+ * Performance tip: This callback is only called when either the callback or its arguments change.
5023
+ * @beta
5024
+ */
5025
+ declare type CustomCallControlButtonCallback = (args: CustomCallControlButtonCallbackArgs) => CustomCallWithChatControlButtonProps;
5026
+ export { CustomCallControlButtonCallback }
5027
+ export { CustomCallControlButtonCallback as CustomCallWithChatControlButtonCallback }
5028
+
5029
+ /**
5030
+ * Arguments for {@link CustomCallControlButtonCallback}.
5031
+ *
5032
+ * @beta
5033
+ */
5034
+ export declare interface CustomCallControlButtonCallbackArgs {
5035
+ /**
5036
+ * Buttons should reduce the size to fit a smaller viewport when `displayType` is `'compact'`.
5037
+ *
5038
+ * @defaultValue `'default'`
5039
+ */
5040
+ displayType?: CallControlDisplayType;
5041
+ }
5042
+
5043
+ /**
5044
+ * Placement for a custom button injected in the {@link CommonCallControlBar}.
5045
+ *
5046
+ * 'primary': Place the button(s) on the right end of the center control bar but before the EndCallButton (left end in rtl mode).
5047
+ * 'overflow': Place the buttons(s) on the end of the overflow Menu.
5048
+ * 'secondary': Place the button(s) on the left end of the side control bar (right in rtl mode).
5049
+ *
5050
+ * Multiple buttons assigned the same placement are appended in order.
5051
+ * E.g., if two buttons are placed in 'secondary', they'll both appear on the left end (right end in rtl mode)
5052
+ * in the order provided.
5053
+ *
5054
+ * Only 'primary' placement works when legacy call control is enabled in call composite
5055
+ *
5056
+ * @beta
5057
+ */
5058
+ declare type CustomCallControlButtonPlacement = 'primary' | 'overflow' | 'secondary';
5059
+ export { CustomCallControlButtonPlacement }
5060
+ export { CustomCallControlButtonPlacement as CustomCallWithChatControlButtonPlacement }
5061
+
5062
+ /**
5063
+ * Response from {@link CustomCallControlButtonCallback}.
5064
+ *
5065
+ * Includes the placement prop necessary to indicate where to place the
5066
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
5067
+ *
5068
+ * @beta
5069
+ */
5070
+ export declare interface CustomCallControlButtonProps extends CustomControlButtonProps {
5071
+ /**
5072
+ * Where to place the custom button relative to other buttons.
5073
+ */
5074
+ placement: CustomCallControlButtonPlacement;
5075
+ /**
5076
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
5077
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
5078
+ */
5079
+ iconName?: string;
5080
+ }
5081
+
5082
+ /**
5083
+ * Response from {@link CustomCallControlButtonCallback}.
5084
+ *
5085
+ * Includes the icon and placement prop necessary to indicate where to place the
5086
+ * {@link ControlBarButton} and a {@link DrawerMenuItem}
5087
+ *
5088
+ * @beta
5089
+ */
5090
+ export declare interface CustomCallWithChatControlButtonProps extends CustomControlButtonProps {
5091
+ /**
5092
+ * Where to place the custom button relative to other buttons.
5093
+ */
5094
+ placement: CustomCallControlButtonPlacement;
5095
+ /**
5096
+ * Icon to render. Icon is a non-default icon name that needs to be registered as a
5097
+ * custom icon using registerIcons through fluentui. Examples include icons from the fluentui library
5098
+ */
5099
+ iconName?: string;
5100
+ }
5101
+
5102
+ /**
5103
+ * Includes the base props necessary to render a {@link ControlBarButton} or {@link DrawerMenuItem}.
5104
+ *
5105
+ * @beta
5106
+ */
5107
+ export declare interface CustomControlButtonProps {
5108
+ /**
5109
+ * Calback for when button is clicked
5110
+ */
5111
+ onItemClick?: () => void;
5112
+ /**
5113
+ * Whether the buttons is disabled
5114
+ */
5115
+ disabled?: boolean;
5116
+ /**
5117
+ * Whether the label is displayed or not.
5118
+ *
5119
+ * @defaultValue `false`
5120
+ */
5121
+ showLabel?: boolean;
5122
+ /**
5123
+ * Fluent styles, common to all {@link ControlBarButton}s or {@link DrawerMenuItem}s.
5124
+ */
5125
+ styles?: ControlBarButtonStyles | BaseCustomStyles;
5126
+ /**
5127
+ * Optional label for the button
5128
+ */
5129
+ text?: string;
5130
+ /**
5131
+ * A unique key for the button
5132
+ */
5133
+ key?: string | number;
5134
+ /**
5135
+ * The aria label of the button for the benefit of screen readers.
5136
+ */
5137
+ ariaLabel?: string;
5138
+ /**
5139
+ * Detailed description of the button for the benefit of screen readers.
5140
+ */
5141
+ ariaDescription?: string;
5142
+ /**
5143
+ * A unique id set for the standard HTML id attibute
5144
+ */
5145
+ id?: string;
5146
+ }
5147
+
3535
5148
  /**
3536
5149
  * A custom message type.
3537
5150
  *
@@ -3551,6 +5164,18 @@ export declare interface CustomMessage extends MessageCommon {
3551
5164
  */
3552
5165
  export declare const darkTheme: PartialTheme & CallingTheme;
3553
5166
 
5167
+ /**
5168
+ * @beta
5169
+ * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
5170
+ */
5171
+ export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
5172
+
5173
+ /**
5174
+ * @beta
5175
+ * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
5176
+ */
5177
+ export declare type DeclarativeIncomingCall = IncomingCall;
5178
+
3554
5179
  /**
3555
5180
  * The default set of icons that are available to use in the UI components.
3556
5181
  *
@@ -3567,8 +5192,12 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3567
5192
  ControlButtonMicOn: JSX.Element;
3568
5193
  ControlButtonOptions: JSX.Element;
3569
5194
  ControlButtonParticipants: JSX.Element;
5195
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
3570
5196
  ControlButtonScreenShareStart: JSX.Element;
3571
5197
  ControlButtonScreenShareStop: JSX.Element;
5198
+ CancelFileUpload: JSX.Element;
5199
+ DownloadFile: JSX.Element;
5200
+ DataLossPreventionProhibited: JSX.Element;
3572
5201
  EditBoxCancel: JSX.Element;
3573
5202
  EditBoxSubmit: JSX.Element;
3574
5203
  ErrorBarCallCameraAccessDenied: JSX.Element;
@@ -3601,13 +5230,38 @@ export declare const DEFAULT_COMPONENT_ICONS: {
3601
5230
  ParticipantItemOptions: JSX.Element;
3602
5231
  ParticipantItemOptionsHovered: JSX.Element;
3603
5232
  ParticipantItemScreenShareStart: JSX.Element;
5233
+ HoldCallContextualMenuItem: JSX.Element;
5234
+ HoldCallButton: JSX.Element;
5235
+ ResumeCall: JSX.Element;
3604
5236
  SendBoxSend: JSX.Element;
3605
5237
  SendBoxSendHovered: JSX.Element;
3606
5238
  VideoTileMicOff: JSX.Element;
5239
+ DialpadBackspace: JSX.Element;
5240
+ SitePermissionsSparkle: JSX.Element;
5241
+ SitePermissionCamera: JSX.Element;
5242
+ SitePermissionMic: JSX.Element;
5243
+ SitePermissionCameraDenied: JSX.Element;
5244
+ SitePermissionMicDenied: JSX.Element;
5245
+ UnsupportedEnvironmentWarning: JSX.Element;
5246
+ BrowserPermissionDeniedError: JSX.Element;
5247
+ VideoTilePinned: JSX.Element;
5248
+ VideoTileMoreOptions: JSX.Element;
5249
+ VideoTileScaleFit: JSX.Element;
5250
+ VideoTileScaleFill: JSX.Element;
5251
+ PinParticipant: JSX.Element;
5252
+ UnpinParticipant: JSX.Element;
3607
5253
  SplitButtonPrimaryActionCameraOn: JSX.Element;
3608
5254
  SplitButtonPrimaryActionCameraOff: JSX.Element;
3609
5255
  SplitButtonPrimaryActionMicUnmuted: JSX.Element;
3610
5256
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5257
+ VerticalGalleryLeftButton: JSX.Element;
5258
+ VerticalGalleryRightButton: JSX.Element;
5259
+ ControlButtonVideoEffectsOption: JSX.Element;
5260
+ ConfigurationScreenVideoEffectsButton: JSX.Element;
5261
+ CaptionsIcon: JSX.Element;
5262
+ CaptionsOffIcon: JSX.Element;
5263
+ CaptionsSettingsIcon: JSX.Element;
5264
+ ChangeSpokenLanguageIcon: JSX.Element;
3611
5265
  };
3612
5266
 
3613
5267
  /**
@@ -3628,6 +5282,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3628
5282
  ParticipantItemOptionsHovered: JSX.Element;
3629
5283
  SendBoxSend: JSX.Element;
3630
5284
  SendBoxSendHovered: JSX.Element;
5285
+ SendBoxAttachFile?: JSX.Element | undefined;
3631
5286
  ControlBarPeopleButton?: JSX.Element | undefined;
3632
5287
  ControlButtonCameraOff: JSX.Element;
3633
5288
  ControlButtonCameraOn: JSX.Element;
@@ -3671,6 +5326,12 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3671
5326
  ParticipantItemScreenShareStart: JSX.Element;
3672
5327
  VideoTileMicOff: JSX.Element;
3673
5328
  LocalCameraSwitch?: JSX.Element | undefined;
5329
+ PeoplePaneAddPerson?: JSX.Element | undefined;
5330
+ PeoplePaneOpenDialpad?: JSX.Element | undefined;
5331
+ DialpadStartCall?: JSX.Element | undefined;
5332
+ NoticePageInvalidRoom?: JSX.Element | undefined;
5333
+ BlurVideoBackground?: JSX.Element | undefined;
5334
+ RemoveVideoBackgroundEffect?: JSX.Element | undefined;
3674
5335
  ChevronLeft?: JSX.Element | undefined;
3675
5336
  ControlBarChatButtonActive?: JSX.Element | undefined;
3676
5337
  ControlBarChatButtonInactive?: JSX.Element | undefined;
@@ -3680,17 +5341,68 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
3680
5341
  MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
3681
5342
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
3682
5343
  MoreDrawerSpeakers?: JSX.Element | undefined;
3683
- SendBoxAttachFile?: JSX.Element | undefined;
3684
5344
  ChatMessageOptions: JSX.Element;
5345
+ ControlButtonParticipantsContextualMenuItem: JSX.Element;
5346
+ CancelFileUpload: JSX.Element;
5347
+ DownloadFile: JSX.Element;
5348
+ DataLossPreventionProhibited: JSX.Element;
3685
5349
  ErrorBarCallVideoRecoveredBySystem: JSX.Element;
3686
5350
  ErrorBarCallVideoStoppedBySystem: JSX.Element;
3687
5351
  MessageResend: JSX.Element;
5352
+ HoldCallContextualMenuItem: JSX.Element;
5353
+ HoldCallButton: JSX.Element;
5354
+ ResumeCall: JSX.Element;
5355
+ DialpadBackspace: JSX.Element;
5356
+ SitePermissionsSparkle: JSX.Element;
5357
+ SitePermissionCamera: JSX.Element;
5358
+ SitePermissionMic: JSX.Element;
5359
+ SitePermissionCameraDenied: JSX.Element;
5360
+ SitePermissionMicDenied: JSX.Element;
5361
+ UnsupportedEnvironmentWarning: JSX.Element;
5362
+ BrowserPermissionDeniedError: JSX.Element;
5363
+ VideoTilePinned: JSX.Element;
5364
+ VideoTileMoreOptions: JSX.Element;
5365
+ VideoTileScaleFit: JSX.Element;
5366
+ VideoTileScaleFill: JSX.Element;
5367
+ PinParticipant: JSX.Element;
5368
+ UnpinParticipant: JSX.Element;
3688
5369
  SplitButtonPrimaryActionCameraOn: JSX.Element;
3689
5370
  SplitButtonPrimaryActionCameraOff: JSX.Element;
3690
5371
  SplitButtonPrimaryActionMicUnmuted: JSX.Element;
3691
5372
  SplitButtonPrimaryActionMicMuted: JSX.Element;
5373
+ VerticalGalleryLeftButton: JSX.Element;
5374
+ VerticalGalleryRightButton: JSX.Element;
5375
+ ControlButtonVideoEffectsOption: JSX.Element;
5376
+ ConfigurationScreenVideoEffectsButton: JSX.Element;
5377
+ CaptionsIcon: JSX.Element;
5378
+ CaptionsOffIcon: JSX.Element;
5379
+ CaptionsSettingsIcon: JSX.Element;
5380
+ ChangeSpokenLanguageIcon: JSX.Element;
3692
5381
  };
3693
5382
 
5383
+ /**
5384
+ * Device Checks.
5385
+ * Choose whether or not to block starting a call depending on camera and microphone permission options.
5386
+ *
5387
+ * @beta
5388
+ */
5389
+ export declare interface DeviceCheckOptions {
5390
+ /**
5391
+ * Camera Permission prompts for your call.
5392
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
5393
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
5394
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
5395
+ */
5396
+ camera: 'required' | 'optional' | 'doNotPrompt';
5397
+ /**
5398
+ * Microphone permission prompts for your call.
5399
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
5400
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
5401
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
5402
+ */
5403
+ microphone: 'required' | 'optional' | 'doNotPrompt';
5404
+ }
5405
+
3694
5406
  /**
3695
5407
  * This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
3696
5408
  * optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
@@ -3909,6 +5621,60 @@ export declare interface DiagnosticsCallFeatureState {
3909
5621
  media: MediaDiagnosticsState;
3910
5622
  }
3911
5623
 
5624
+ /**
5625
+ * A component to allow users to enter phone number through clicking on dialpad/using keyboard
5626
+ * It will return empty component for stable builds
5627
+ *
5628
+ * @beta
5629
+ */
5630
+ export declare const Dialpad: (props: DialpadProps) => JSX.Element;
5631
+
5632
+ /**
5633
+ * Props for {@link Dialpad} component.
5634
+ *
5635
+ * @beta
5636
+ */
5637
+ export declare interface DialpadProps {
5638
+ strings?: DialpadStrings;
5639
+ /** function to send dtmf tones on button click */
5640
+ onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
5641
+ /** Callback for dialpad button behavior*/
5642
+ onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
5643
+ /** set dialpad textfield content */
5644
+ textFieldValue?: string;
5645
+ /** on change function for text field, provides an unformatted plain text*/
5646
+ onChange?: (input: string) => void;
5647
+ /** boolean input to determine when to show/hide delete button, default true */
5648
+ showDeleteButton?: boolean;
5649
+ /** boolean input to determine if dialpad is in mobile view, default false */
5650
+ isMobile?: boolean;
5651
+ styles?: DialpadStyles;
5652
+ }
5653
+
5654
+ /**
5655
+ * Strings of {@link Dialpad} that can be overridden.
5656
+ *
5657
+ * @beta
5658
+ */
5659
+ export declare interface DialpadStrings {
5660
+ placeholderText: string;
5661
+ deleteButtonAriaLabel?: string;
5662
+ }
5663
+
5664
+ /**
5665
+ * Styles for {@link Dialpad} component.
5666
+ *
5667
+ * @beta
5668
+ */
5669
+ export declare interface DialpadStyles {
5670
+ root?: IStyle;
5671
+ button?: IButtonStyles;
5672
+ textField?: Partial<ITextFieldStyles>;
5673
+ digit?: IStyle;
5674
+ letter?: IStyle;
5675
+ deleteIcon?: IButtonStyles;
5676
+ }
5677
+
3912
5678
  /**
3913
5679
  * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
3914
5680
  *
@@ -3929,6 +5695,13 @@ export declare interface Disposable {
3929
5695
  dispose(): void;
3930
5696
  }
3931
5697
 
5698
+ /**
5699
+ * DTMF tone for PSTN calls.
5700
+ *
5701
+ * @beta
5702
+ */
5703
+ export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
5704
+
3932
5705
  /**
3933
5706
  * A type for trivial selectors that return no data.
3934
5707
  *
@@ -4124,54 +5897,259 @@ export declare interface ErrorBarStrings {
4124
5897
  */
4125
5898
  callCameraAccessDenied: string;
4126
5899
  /**
4127
- * Message shown when camera can be enumerated but access is blocked by the system, for safari browsers
5900
+ * Message shown when camera can be enumerated but access is blocked by the system, for safari browsers
5901
+ */
5902
+ callCameraAccessDeniedSafari: string;
5903
+ /**
5904
+ * Message shown when local video fails to start because camera is already in use by
5905
+ * another applciation.
5906
+ */
5907
+ callCameraAlreadyInUse: string;
5908
+ /**
5909
+ * Message shown when local video is stopped by the system (not by local or remote participants)
5910
+ */
5911
+ callVideoStoppedBySystem: string;
5912
+ /**
5913
+ * Message shown when local video was recovered by the system (not by the local participant)
5914
+ */
5915
+ callVideoRecoveredBySystem: string;
5916
+ /**
5917
+ * Mac OS specific message shown when system denies access to camera.
5918
+ */
5919
+ callMacOsCameraAccessDenied: string;
5920
+ /**
5921
+ * Mac OS specific message shown when system denies sharing local screen on a call.
5922
+ */
5923
+ callMacOsScreenShareAccessDenied: string;
5924
+ /**
5925
+ * Dimiss errorbar button aria label read by screen reader accessibility tools
5926
+ */
5927
+ dismissButtonAriaLabel?: string;
5928
+ /**
5929
+ * An error message when joining a call fails.
5930
+ */
5931
+ failedToJoinCallGeneric?: string;
5932
+ /**
5933
+ * An error message when joining a call fails specifically due to an invalid meeting link.
5934
+ */
5935
+ failedToJoinCallInvalidMeetingLink?: string;
5936
+ /**
5937
+ * Error bar string letting you know remote participants see a frozen stream for you.
5938
+ */
5939
+ cameraFrozenForRemoteParticipants?: string;
5940
+ /**
5941
+ * Unable to start effect
5942
+ */
5943
+ unableToStartVideoEffect?: string;
5944
+ }
5945
+
5946
+ /**
5947
+ * All errors that can be shown in the {@link ErrorBar}.
5948
+ *
5949
+ * @public
5950
+ */
5951
+ export declare type ErrorType = keyof ErrorBarStrings;
5952
+
5953
+ /**
5954
+ * @beta
5955
+ * A file download error returned via a {@link FileDownloadHandler}.
5956
+ * This error message is used to render an error message in the UI.
5957
+ */
5958
+ export declare interface FileDownloadError {
5959
+ /** The error message to display in the UI */
5960
+ errorMessage: string;
5961
+ }
5962
+
5963
+ /**
5964
+ * @beta
5965
+ *
5966
+ * A callback function for handling file downloads.
5967
+ * The function needs to return a promise that resolves to a file download URL.
5968
+ * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
5969
+ *
5970
+ * @example
5971
+ * ```ts
5972
+ * const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
5973
+ * if (isUnauthorizedUser(userId)) {
5974
+ * return { errorMessage: 'You don’t have permission to download this file.' };
5975
+ * } else {
5976
+ * return new URL(fileData.url);
5977
+ * }
5978
+ * }
5979
+ *
5980
+ * const App = () => (
5981
+ * <ChatComposite
5982
+ * ...
5983
+ * fileSharing={{
5984
+ * fileDownloadHandler: fileDownloadHandler
5985
+ * }}
5986
+ * />
5987
+ * )
5988
+ *
5989
+ * ```
5990
+ * @param userId - The user ID of the user downloading the file.
5991
+ * @param fileMetadata - The {@link FileMetadata} containing file `url`, `extension` and `name`.
5992
+ */
5993
+ export declare type FileDownloadHandler = (userId: string, fileMetadata: FileMetadata) => Promise<URL | FileDownloadError>;
5994
+
5995
+ /**
5996
+ * Meta Data containing information about the uploaded file.
5997
+ * @beta
5998
+ */
5999
+ export declare interface FileMetadata {
6000
+ attachmentType: FileMetadataAttachmentType;
6001
+ id: string;
6002
+ /**
6003
+ * File name to be displayed.
6004
+ */
6005
+ name: string;
6006
+ /**
6007
+ * Extension is used for rendering the file icon.
6008
+ * An unknown extension will be rendered as a generic icon.
6009
+ * Example: `jpeg`
6010
+ */
6011
+ extension: string;
6012
+ /**
6013
+ * Download URL for the file.
6014
+ */
6015
+ url: string;
6016
+ previewUrl?: string;
6017
+ }
6018
+
6019
+ /**
6020
+ * @beta
6021
+ */
6022
+ export declare type FileMetadataAttachmentType = 'fileSharing' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'teamsInlineImage' | 'unknown';
6023
+
6024
+ /**
6025
+ * Properties for configuring the File Sharing feature.
6026
+ * @beta
6027
+ */
6028
+ export declare interface FileSharingOptions {
6029
+ /**
6030
+ * A string containing the comma separated list of accepted file types.
6031
+ * Similar to the `accept` attribute of the `<input type="file" />` element.
6032
+ * Accepts any type of file if not specified.
6033
+ * @beta
6034
+ */
6035
+ accept?: string;
6036
+ /**
6037
+ * Allows multiple files to be selected if set to `true`.
6038
+ * Similar to the `multiple` attribute of the `<input type="file" />` element.
6039
+ * @defaultValue false
6040
+ * @beta
6041
+ */
6042
+ multiple?: boolean;
6043
+ /**
6044
+ * A function of type {@link FileUploadHandler} for handling file uploads.
6045
+ * @beta
6046
+ */
6047
+ uploadHandler: FileUploadHandler;
6048
+ /**
6049
+ * A function of type {@link FileDownloadHandler} for handling file downloads.
6050
+ * If the function is not specified, the file's `url` will be opened in a new tab to
6051
+ * initiate the download.
6052
+ */
6053
+ downloadHandler?: FileDownloadHandler;
6054
+ }
6055
+
6056
+ /**
6057
+ * @beta
6058
+ */
6059
+ export declare interface FileUploadAdapter {
6060
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
6061
+ registerCompletedFileUploads: (metadata: FileMetadata[]) => FileUploadManager[];
6062
+ clearFileUploads: () => void;
6063
+ cancelFileUpload: (id: string) => void;
6064
+ updateFileUploadProgress: (id: string, progress: number) => void;
6065
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
6066
+ updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
6067
+ }
6068
+
6069
+ /**
6070
+ * @beta
6071
+ * Error message to be displayed to the user if the upload fails.
6072
+ */
6073
+ export declare type FileUploadError = {
6074
+ message: string;
6075
+ timestamp: number;
6076
+ };
6077
+
6078
+ /**
6079
+ * @beta
6080
+ * A callback function for handling file uploads.
6081
+ *
6082
+ * @param userId - The user ID of the user uploading the file.
6083
+ * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
6084
+ */
6085
+ export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
6086
+
6087
+ /**
6088
+ * A wrapper object for a file that is being uploaded.
6089
+ * Allows mmanaging file uploads by providing common functions for updating the
6090
+ * upload progress, canceling an upload, completing an upload etc.
6091
+ * @beta
6092
+ */
6093
+ export declare interface FileUploadManager {
6094
+ /**
6095
+ * Unique identifier for the file upload.
4128
6096
  */
4129
- callCameraAccessDeniedSafari: string;
6097
+ id: string;
4130
6098
  /**
4131
- * Message shown when local video fails to start because camera is already in use by
4132
- * another applciation.
6099
+ * HTML {@link File} object for the uploaded file.
4133
6100
  */
4134
- callCameraAlreadyInUse: string;
6101
+ file?: File;
4135
6102
  /**
4136
- * Message shown when local video is stopped by the system (not by local or remote participants)
6103
+ * Update the progress of the upload.
6104
+ * @param value - number between 0 and 1
4137
6105
  */
4138
- callVideoStoppedBySystem: string;
6106
+ notifyUploadProgressChanged: (value: number) => void;
4139
6107
  /**
4140
- * Message shown when local video was recovered by the system (not by the local participant)
6108
+ * Mark the upload as complete.
6109
+ * Requires the `metadata` param containing uploaded file information.
6110
+ * @param metadata - {@link FileMetadata}
4141
6111
  */
4142
- callVideoRecoveredBySystem: string;
6112
+ notifyUploadCompleted: (metadata: FileMetadata) => void;
4143
6113
  /**
4144
- * Mac OS specific message shown when system denies access to camera.
6114
+ * Mark the upload as failed.
6115
+ * @param message - An error message that can be displayed to the user.
4145
6116
  */
4146
- callMacOsCameraAccessDenied: string;
6117
+ notifyUploadFailed: (message: string) => void;
6118
+ }
6119
+
6120
+ /**
6121
+ * Contains the state attibutes of a file upload like name, progress etc.
6122
+ * @beta
6123
+ */
6124
+ export declare interface FileUploadState {
4147
6125
  /**
4148
- * Mac OS specific message shown when system denies sharing local screen on a call.
6126
+ * Unique identifier for the file upload.
4149
6127
  */
4150
- callMacOsScreenShareAccessDenied: string;
6128
+ id: string;
4151
6129
  /**
4152
- * Dimiss errorbar button aria label read by screen reader accessibility tools
6130
+ * Filename extracted from the {@link File} object.
6131
+ * This attribute is used to render the filename if `metadata.name` is not available.
4153
6132
  */
4154
- dismissButtonAriaLabel?: string;
6133
+ filename: string;
4155
6134
  /**
4156
- * An error message when joining a call fails.
6135
+ * A number between 0 and 1 indicating the progress of the upload.
4157
6136
  */
4158
- failedToJoinCallGeneric?: string;
6137
+ progress: number;
4159
6138
  /**
4160
- * An error message when joining a call fails specifically due to an invalid meeting link.
6139
+ * Meta Data {@link FileMetadata} containing information about the uploaded file.
4161
6140
  */
4162
- failedToJoinCallInvalidMeetingLink?: string;
6141
+ metadata?: FileMetadata;
4163
6142
  /**
4164
- * Error bar string letting you know remote participants see a frozen stream for you.
6143
+ * Error message to be displayed to the user if the upload fails.
4165
6144
  */
4166
- cameraFrozenForRemoteParticipants?: string;
6145
+ error?: FileUploadError;
4167
6146
  }
4168
6147
 
4169
6148
  /**
4170
- * All errors that can be shown in the {@link ErrorBar}.
4171
- *
4172
- * @public
6149
+ * A record containing {@link FileUploadState} mapped to unique ids.
6150
+ * @beta
4173
6151
  */
4174
- export declare type ErrorType = keyof ErrorBarStrings;
6152
+ export declare type FileUploadsUiState = Record<string, FileUploadState>;
4175
6153
 
4176
6154
  /**
4177
6155
  * Provider to apply a Fluent theme across this library's react components.
@@ -4213,7 +6191,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
4213
6191
  *
4214
6192
  * @public
4215
6193
  */
4216
- export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : undefined;
6194
+ export declare type GetCallingSelector<Component extends (props: any) => JSX.Element | undefined> = AreEqual<Component, typeof VideoGallery> extends true ? VideoGallerySelector : AreEqual<Component, typeof DevicesButton> extends true ? DevicesButtonSelector : AreEqual<Component, typeof MicrophoneButton> extends true ? MicrophoneButtonSelector : AreEqual<Component, typeof CameraButton> extends true ? CameraButtonSelector : AreEqual<Component, typeof ScreenShareButton> extends true ? ScreenShareButtonSelector : AreEqual<Component, typeof ParticipantList> extends true ? ParticipantListSelector : AreEqual<Component, typeof ParticipantsButton> extends true ? ParticipantsButtonSelector : AreEqual<Component, typeof EndCallButton> extends true ? EmptySelector : AreEqual<Component, typeof ErrorBar> extends true ? CallErrorBarSelector : AreEqual<Component, typeof Dialpad> extends true ? EmptySelector : AreEqual<Component, typeof HoldButton> extends true ? HoldButtonSelector : undefined;
4217
6195
 
4218
6196
  /**
4219
6197
  * Get the selector for a specified component.
@@ -4275,6 +6253,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
4275
6253
  children?: IStyle;
4276
6254
  }
4277
6255
 
6256
+ /**
6257
+ * a button to hold or resume a ongoing call.
6258
+ *
6259
+ * Can be used with {@link ControlBar}
6260
+ *
6261
+ * @param props - properties for the hold button.
6262
+ * @returns
6263
+ * @beta
6264
+ */
6265
+ export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
6266
+
6267
+ /**
6268
+ *@beta
6269
+ */
6270
+ export declare interface HoldButtonProps extends ControlBarButtonProps {
6271
+ /**
6272
+ * Utility property for using this component with communication react handlers
6273
+ * Holds the call or resumes it based on call state.
6274
+ */
6275
+ onToggleHold: () => Promise<void>;
6276
+ /**
6277
+ * Optional strings to override in component
6278
+ */
6279
+ strings?: HoldButtonStrings;
6280
+ }
6281
+
6282
+ /**
6283
+ * Selector type for the {@link HoldButton} component.
6284
+ * @public
6285
+ */
6286
+ export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
6287
+ checked: boolean;
6288
+ };
6289
+
6290
+ /**
6291
+ * Strings for the hold button labels
6292
+ * @beta
6293
+ */
6294
+ export declare interface HoldButtonStrings {
6295
+ /**
6296
+ * Label for when action is to resume call.
6297
+ */
6298
+ onLabel: string;
6299
+ /**
6300
+ * Label for when action is to hold call.
6301
+ */
6302
+ offLabel: string;
6303
+ /**
6304
+ * Content for when button is checked
6305
+ */
6306
+ tooltipOnContent: string;
6307
+ /**
6308
+ * Content for when button is unchecked
6309
+ */
6310
+ tooltipOffContent: string;
6311
+ }
6312
+
4278
6313
  /**
4279
6314
  * {@link HorizontalGallery} Component Styles.
4280
6315
  * @public
@@ -4355,8 +6390,30 @@ export declare interface _Identifiers {
4355
6390
  overflowGalleryRightNavButton: string;
4356
6391
  /** `data-ui-id` value for the video tiles in the horizontal gallery */
4357
6392
  horizontalGalleryVideoTile: string;
6393
+ /** `data-ui-id` value for `VerticalGallery` Component's children video tiles */
6394
+ verticalGalleryVideoTile: string;
6395
+ /** `data-ui-id` value for `VerticalGallery` Component's page counter */
6396
+ verticalGalleryPageCounter: string;
6397
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list */
6398
+ mentionSuggestionList: string;
6399
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
6400
+ mentionSuggestionItem: string;
4358
6401
  }
4359
6402
 
6403
+ /**
6404
+ * @beta
6405
+ * This contains a readonly array that returns all the active `incomingCalls`.
6406
+ * An active incoming call is a call that has not been answered, declined or disconnected.
6407
+ */
6408
+ export declare type IncomingCallManagement = {
6409
+ /**
6410
+ * @beta
6411
+ * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
6412
+ * @returns readonly array of {@link DeclarativeIncomingCall}
6413
+ */
6414
+ incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
6415
+ };
6416
+
4360
6417
  /**
4361
6418
  * State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
4362
6419
  * automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
@@ -4389,6 +6446,15 @@ export declare interface IncomingCallState {
4389
6446
  endTime?: Date;
4390
6447
  }
4391
6448
 
6449
+ /**
6450
+ * Callback for {@link CallAdapterSubscribers} 'isCaptionsActiveChanged' event.
6451
+ *
6452
+ * @beta
6453
+ */
6454
+ export declare type IsCaptionsActiveChangedListener = (event: {
6455
+ isActive: boolean;
6456
+ }) => void;
6457
+
4392
6458
  /**
4393
6459
  * Callback for {@link CallAdapterSubscribers} 'isLocalScreenSharingActiveChanged' event.
4394
6460
  *
@@ -4500,8 +6566,51 @@ export declare interface LocalVideoStreamState {
4500
6566
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
4501
6567
  */
4502
6568
  view?: VideoStreamRendererViewState;
6569
+ /**
6570
+ * Stores the state of the video effects.
6571
+ * @beta
6572
+ */
6573
+ videoEffects?: LocalVideoStreamVideoEffectsState;
6574
+ }
6575
+
6576
+ /**
6577
+ * State only version of a LocalVideoStream's {@link @azure/communication-calling#VideoEffectsFeature}.
6578
+ *
6579
+ * @beta
6580
+ */
6581
+ export declare interface LocalVideoStreamVideoEffectsState {
6582
+ /**
6583
+ * List of effects if any are active.
6584
+ */
6585
+ activeEffects?: VideoEffectName[];
6586
+ }
6587
+
6588
+ /**
6589
+ * Options for the local video tile in the Call composite.
6590
+ *
6591
+ * @beta
6592
+ */
6593
+ export declare interface LocalVideoTileOptions {
6594
+ /**
6595
+ * Position of the local video tile. If unset will render the local tile in the floating local position.
6596
+ *
6597
+ * @defaultValue 'floating'
6598
+ * @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
6599
+ * 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
6600
+ * local video tile rules and be docked in the bottom corner.
6601
+ * 'hidden' - local video tile will not be rendered.
6602
+ * This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
6603
+ */
6604
+ position?: 'grid' | 'floating';
4503
6605
  }
4504
6606
 
6607
+ /**
6608
+ * different modes of the local video tile
6609
+ *
6610
+ * @beta
6611
+ */
6612
+ export declare type LocalVideoTileSize = '9:16' | '16:9' | 'hidden' | 'followDeviceOrientation';
6613
+
4505
6614
  /**
4506
6615
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a media diagnostic.
4507
6616
  *
@@ -4520,6 +6629,76 @@ export declare interface MediaDiagnosticsState {
4520
6629
  latest: LatestMediaDiagnostics;
4521
6630
  }
4522
6631
 
6632
+ /**
6633
+ * Mention's state, as reflected in the UI.
6634
+ *
6635
+ * @beta
6636
+ */
6637
+ export declare interface Mention {
6638
+ /** ID of a mention */
6639
+ id: string;
6640
+ /** Display text of a mention */
6641
+ displayText: string;
6642
+ /** Optional React element to render an item icon of a mention suggestion */
6643
+ icon?: JSX.Element;
6644
+ }
6645
+
6646
+ /**
6647
+ * Options to display suggestions in the mention scenario.
6648
+ *
6649
+ * @beta
6650
+ */
6651
+ export declare interface MentionDisplayOptions {
6652
+ /**
6653
+ * Optional callback for customizing the mention renderer in a message thread.
6654
+ */
6655
+ onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
6656
+ }
6657
+
6658
+ /**
6659
+ * Options to lookup suggestions in the mention scenario.
6660
+ *
6661
+ * @beta
6662
+ */
6663
+ export declare interface MentionLookupOptions {
6664
+ /**
6665
+ * Optional string to set trigger keyword for mention a specific participant.
6666
+ *
6667
+ * @defaultValue `@`
6668
+ */
6669
+ trigger?: string;
6670
+ /**
6671
+ * Optional callback to fetch a list of mention suggestions base on the query.
6672
+ */
6673
+ onQueryUpdated: (query: string) => Promise<Mention[]>;
6674
+ /**
6675
+ * Optional callback to render an item of the mention suggestions list.
6676
+ */
6677
+ onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
6678
+ }
6679
+
6680
+ /**
6681
+ * Options to lookup suggestions and display mentions in the mention scenario.
6682
+ *
6683
+ * @beta
6684
+ */
6685
+ export declare type MentionOptions = {
6686
+ lookupOptions?: MentionLookupOptions;
6687
+ displayOptions?: MentionDisplayOptions;
6688
+ };
6689
+
6690
+ /**
6691
+ * Strings of {@link _MentionPopover} that can be overridden.
6692
+ *
6693
+ * @beta
6694
+ */
6695
+ export declare interface MentionPopoverStrings {
6696
+ /**
6697
+ * Header text for MentionPopover
6698
+ */
6699
+ mentionPopoverHeader: string;
6700
+ }
6701
+
4523
6702
  /**
4524
6703
  * Discriminated union of all messages.
4525
6704
  *
@@ -4527,7 +6706,7 @@ export declare interface MediaDiagnosticsState {
4527
6706
  *
4528
6707
  * @public
4529
6708
  */
4530
- export declare type Message = ChatMessage | SystemMessage | CustomMessage;
6709
+ export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
4531
6710
 
4532
6711
  /**
4533
6712
  * Indicate whether a chat message should be displayed merged with the message before / after it.
@@ -4747,7 +6926,7 @@ export declare type MessageThreadProps = {
4747
6926
  /**
4748
6927
  * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
4749
6928
  */
4750
- messages: (ChatMessage | SystemMessage | CustomMessage)[];
6929
+ messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
4751
6930
  /**
4752
6931
  * number of participants in the thread
4753
6932
  */
@@ -4829,6 +7008,17 @@ export declare type MessageThreadProps = {
4829
7008
  * `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
4830
7009
  */
4831
7010
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
7011
+ /**
7012
+ * Optional callback to render uploaded files in the message component.
7013
+ * @beta
7014
+ */
7015
+ onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
7016
+ /**
7017
+ * Optional callback to retrieve the inline image in a message.
7018
+ * @param attachment - FileMetadata object we want to render
7019
+ * @beta
7020
+ */
7021
+ onFetchAttachments?: (attachment: FileMetadata) => Promise<AttachmentDownloadResult[]>;
4832
7022
  /**
4833
7023
  * Optional callback to edit a message.
4834
7024
  *
@@ -4870,6 +7060,23 @@ export declare type MessageThreadProps = {
4870
7060
  * Optional strings to override in component
4871
7061
  */
4872
7062
  strings?: Partial<MessageThreadStrings>;
7063
+ /**
7064
+ * @beta
7065
+ * Optional function called when someone clicks on the file download icon.
7066
+ * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
7067
+ * this function will be called with the data inside `fileSharingMetadata` key.
7068
+ */
7069
+ fileDownloadHandler?: FileDownloadHandler;
7070
+ /**
7071
+ * Optional function to provide customized date format.
7072
+ * @beta
7073
+ */
7074
+ onDisplayDateTimeString?: (messageDate: Date) => string;
7075
+ /**
7076
+ * Optional props needed to lookup a mention query and display mentions
7077
+ * @beta
7078
+ */
7079
+ mentionOptions?: MentionOptions;
4873
7080
  };
4874
7081
 
4875
7082
  /**
@@ -4941,6 +7148,14 @@ export declare interface MessageThreadStrings {
4941
7148
  editBoxSubmitButton: string;
4942
7149
  /** String for action menu indicating there are more options */
4943
7150
  actionMenuMoreOptions?: string;
7151
+ /** String for download file button in file card */
7152
+ downloadFile: string;
7153
+ /** String for policy violation message removal */
7154
+ blockedWarningText: string;
7155
+ /** String for policy violation message removal details link */
7156
+ blockedWarningLinkText: string;
7157
+ /** String for aria text in file attachment group*/
7158
+ fileCardGroupMessage: string;
4944
7159
  }
4945
7160
 
4946
7161
  /**
@@ -4968,6 +7183,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
4968
7183
  /** Styles for system message container. */
4969
7184
  systemMessageContainer?: ComponentSlotStyle;
4970
7185
  /** Styles for blocked message container. */
7186
+ blockedMessageContainer?: ComponentSlotStyle;
4971
7187
  /** Styles for message status indicator container. */
4972
7188
  messageStatusContainer?: (mine: boolean) => IStyle;
4973
7189
  }
@@ -5136,6 +7352,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
5136
7352
  menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
5137
7353
  }
5138
7354
 
7355
+ /**
7356
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
7357
+ * by their browsers settings.
7358
+ *
7359
+ * @beta
7360
+ */
7361
+ export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
7362
+
7363
+ /**
7364
+ * @beta
7365
+ * Props for MicrophoneSitePermissions component.
7366
+ */
7367
+ export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
7368
+ /** Icon name for the microphone icon */
7369
+ microphoneIconName?: string;
7370
+ /** Strings for use with the {@link MicrophoneSitePermissions} */
7371
+ strings?: MicrophoneSitePermissionsStrings;
7372
+ }
7373
+
7374
+ /**
7375
+ * @beta
7376
+ * Strings for MicrophoneSitePermissions component.
7377
+ */
7378
+ export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
7379
+
5139
7380
  /**
5140
7381
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
5141
7382
  *
@@ -5154,6 +7395,13 @@ export declare interface NetworkDiagnosticsState {
5154
7395
  latest: LatestNetworkDiagnostics;
5155
7396
  }
5156
7397
 
7398
+ /**
7399
+ * Callback function used to provide custom data to build profile for a user.
7400
+ *
7401
+ * @beta
7402
+ */
7403
+ export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
7404
+
5157
7405
  /**
5158
7406
  * A custom rendered callback that allows users to customize the rendering of a Persona Component.
5159
7407
  *
@@ -5170,6 +7418,18 @@ userId?: string, options?: CustomAvatarOptions,
5170
7418
  */
5171
7419
  defaultOnRender?: (props: CustomAvatarOptions) => JSX.Element) => JSX.Element;
5172
7420
 
7421
+ /**
7422
+ * State only version of Optimal Video Count Feature {@link @azure/communication-calling#OptimalVideoCountCallFeature}.
7423
+ *
7424
+ * @beta
7425
+ */
7426
+ export declare interface OptimalVideoCountFeatureState {
7427
+ /**
7428
+ * State of the current optimal video count.
7429
+ */
7430
+ maxRemoteVideoStreams: number;
7431
+ }
7432
+
5173
7433
  /**
5174
7434
  * A device, e.g. camera, microphone, or speaker, in the {@link DevicesButton} flyout.
5175
7435
  *
@@ -5186,6 +7446,13 @@ export declare interface OptionsDevice {
5186
7446
  name: string;
5187
7447
  }
5188
7448
 
7449
+ /**
7450
+ * Different modes and positions of the overflow gallery in the VideoGallery
7451
+ *
7452
+ * @beta
7453
+ */
7454
+ export declare type OverflowGalleryPosition = 'HorizontalBottom' | 'VerticalRight';
7455
+
5189
7456
  /**
5190
7457
  * A system message notifying that a participant was added to the chat thread.
5191
7458
  *
@@ -5243,6 +7510,19 @@ export declare interface ParticipantItemProps {
5243
7510
  onClick?: (props?: ParticipantItemProps) => void;
5244
7511
  /** prop to determine if we should show tooltip for participants or not */
5245
7512
  showParticipantOverflowTooltip?: boolean;
7513
+ /**
7514
+ * Optional value to determine and display a participants connection status.
7515
+ * For example, `Connecting`, `Ringing` etc.
7516
+ * The actual text that is displayed is determined by the localized string
7517
+ * corresponding to the provided participant state.
7518
+ * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
7519
+ */
7520
+ participantState?: ParticipantState;
7521
+ /**
7522
+ * Optional aria property that prefixes the ParticipantItems aria content
7523
+ * Takes in a unique id value of the element you would like to be read before the ParticipantItem.
7524
+ */
7525
+ ariaLabelledBy?: string;
5246
7526
  }
5247
7527
 
5248
7528
  /**
@@ -5263,6 +7543,10 @@ export declare interface ParticipantItemStrings {
5263
7543
  mutedIconLabel: string;
5264
7544
  /** placeholder text for participants who does not have a display name*/
5265
7545
  displayNamePlaceholder?: string;
7546
+ /** String shown when `participantState` is `Ringing` */
7547
+ participantStateRinging?: string;
7548
+ /** String shown when `participantState` is `Hold` */
7549
+ participantStateHold?: string;
5266
7550
  }
5267
7551
 
5268
7552
  /**
@@ -5342,6 +7626,8 @@ export declare type ParticipantListProps = {
5342
7626
  styles?: ParticipantListStyles;
5343
7627
  /** prop to determine if we should show tooltip for participants or not */
5344
7628
  showParticipantOverflowTooltip?: boolean;
7629
+ /** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
7630
+ participantAriaLabelledBy?: string;
5345
7631
  };
5346
7632
 
5347
7633
  /**
@@ -5570,6 +7856,18 @@ export declare type ParticipantsRemovedListener = (event: {
5570
7856
  */
5571
7857
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
5572
7858
 
7859
+ /**
7860
+ * The profile of a user.
7861
+ *
7862
+ * @beta
7863
+ */
7864
+ export declare type Profile = {
7865
+ /**
7866
+ * Primary text to display, usually the name of the person.
7867
+ */
7868
+ displayName?: string;
7869
+ };
7870
+
5573
7871
  /**
5574
7872
  * An array of key value pairs that stores each sender's display name and last read message
5575
7873
  *
@@ -5633,6 +7931,10 @@ export declare interface RemoteParticipantState {
5633
7931
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
5634
7932
  */
5635
7933
  isSpeaking: boolean;
7934
+ /**
7935
+ * Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
7936
+ */
7937
+ role?: ParticipantRole;
5636
7938
  }
5637
7939
 
5638
7940
  /**
@@ -5657,6 +7959,7 @@ export declare interface RemoteVideoStreamState {
5657
7959
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
5658
7960
  * @beta
5659
7961
  */
7962
+ isReceiving: boolean;
5660
7963
  /**
5661
7964
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
5662
7965
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -5664,6 +7967,26 @@ export declare interface RemoteVideoStreamState {
5664
7967
  view?: VideoStreamRendererViewState;
5665
7968
  }
5666
7969
 
7970
+ /**
7971
+ * Menu options for remote video tiles in {@link VideoGallery}.
7972
+ *
7973
+ * @beta
7974
+ */
7975
+ export declare interface RemoteVideoTileMenuOptions {
7976
+ /**
7977
+ * If set to true, remote video tiles in the VideoGallery will not have menu options
7978
+ *
7979
+ * @defaultValue false
7980
+ */
7981
+ isHidden?: boolean;
7982
+ }
7983
+
7984
+ /**
7985
+ * @beta
7986
+ * The role of a call participant.
7987
+ */
7988
+ export declare type Role = 'Presenter' | 'Attendee' | 'Consumer' | 'Organizer' | 'Co-organizer';
7989
+
5667
7990
  /**
5668
7991
  * A button to start / stop screen sharing.
5669
7992
  *
@@ -5697,6 +8020,7 @@ export declare interface ScreenShareButtonProps extends ControlBarButtonProps {
5697
8020
  */
5698
8021
  export declare type ScreenShareButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
5699
8022
  checked?: boolean;
8023
+ disabled?: boolean;
5700
8024
  };
5701
8025
 
5702
8026
  /**
@@ -5734,6 +8058,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
5734
8058
  */
5735
8059
  export declare const SendBox: (props: SendBoxProps) => JSX.Element;
5736
8060
 
8061
+ /**
8062
+ * @beta
8063
+ * Error to be displayed to the user in an error bar above sendbox.
8064
+ */
8065
+ export declare interface SendBoxErrorBarError {
8066
+ /** Error Message to be displayed */
8067
+ message: string;
8068
+ /**
8069
+ * Unix Timestamp. Preferred generation using `Date.now()`
8070
+ */
8071
+ timestamp: number;
8072
+ }
8073
+
5737
8074
  /**
5738
8075
  * Props for {@link SendBox}.
5739
8076
  *
@@ -5753,6 +8090,11 @@ export declare interface SendBoxProps {
5753
8090
  * Optional callback called when message is sent
5754
8091
  */
5755
8092
  onSendMessage?: (content: string) => Promise<void>;
8093
+ /**
8094
+ * Optional props needed to lookup suggestions in the mention scenario.
8095
+ * @beta
8096
+ */
8097
+ mentionLookupOptions?: MentionLookupOptions;
5756
8098
  /**
5757
8099
  * Optional callback called when user is typing
5758
8100
  */
@@ -5789,6 +8131,25 @@ export declare interface SendBoxProps {
5789
8131
  * When undefined nothing has focus on render
5790
8132
  */
5791
8133
  autoFocus?: 'sendBoxTextField';
8134
+ /**
8135
+ * Optional callback to render uploaded files in the SendBox. The sendBox will expand
8136
+ * vertically to accommodate the uploaded files. File uploads will
8137
+ * be rendered below the text area in sendBox.
8138
+ * @beta
8139
+ */
8140
+ onRenderFileUploads?: () => JSX.Element;
8141
+ /**
8142
+ * Optional array of active file uploads where each object has attributes
8143
+ * of a file upload like name, progress, errorMessage etc.
8144
+ * @beta
8145
+ */
8146
+ activeFileUploads?: ActiveFileUpload[];
8147
+ /**
8148
+ * Optional callback to remove the file upload before sending by clicking on
8149
+ * cancel icon.
8150
+ * @beta
8151
+ */
8152
+ onCancelFileUpload?: (fileId: string) => void;
5792
8153
  }
5793
8154
 
5794
8155
  /**
@@ -5819,6 +8180,22 @@ export declare interface SendBoxStrings {
5819
8180
  * Aria label for send message button
5820
8181
  */
5821
8182
  sendButtonAriaLabel: string;
8183
+ /**
8184
+ * Error message indicating that all file uploads are not complete.
8185
+ */
8186
+ fileUploadsPendingError: string;
8187
+ /**
8188
+ * Aria label to notify user when focus is on cancel file upload button.
8189
+ */
8190
+ removeFile: string;
8191
+ /**
8192
+ * Aria label to notify user file uploading starts.
8193
+ */
8194
+ uploading: string;
8195
+ /**
8196
+ * Aria label to notify user file is uploaded.
8197
+ */
8198
+ uploadCompleted: string;
5822
8199
  }
5823
8200
 
5824
8201
  /**
@@ -5839,6 +8216,45 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
5839
8216
  systemMessage?: IStyle;
5840
8217
  }
5841
8218
 
8219
+ /**
8220
+ * @beta
8221
+ * Strings for SitePermissions component
8222
+ */
8223
+ export declare type SitePermissionsStrings = {
8224
+ /**
8225
+ * Main text string.
8226
+ */
8227
+ primaryText?: string;
8228
+ /**
8229
+ * Subtext string.
8230
+ */
8231
+ secondaryText?: string;
8232
+ /**
8233
+ * More help link string.
8234
+ */
8235
+ linkText?: string;
8236
+ /**
8237
+ * Primary button text string.
8238
+ */
8239
+ primaryButtonText?: string;
8240
+ /**
8241
+ * Aria label describing the content of the container
8242
+ */
8243
+ ariaLabel?: string;
8244
+ };
8245
+
8246
+ /**
8247
+ * Fluent styles for {@link SitePermissionsContainer}.
8248
+ *
8249
+ * @beta
8250
+ */
8251
+ export declare interface SitePermissionsStyles extends BaseCustomStyles {
8252
+ /** Styles for the primary button. */
8253
+ primaryButton?: IButtonStyles;
8254
+ /** Styles for the help troubleshooting link text. */
8255
+ troubleshootingLink?: ILinkStyles;
8256
+ }
8257
+
5842
8258
  /**
5843
8259
  * Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
5844
8260
  * The interface provides access to proxied state and also allows registering a handler for state change events. For
@@ -5945,6 +8361,19 @@ export declare interface StatefulCallClient extends CallClient {
5945
8361
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
5946
8362
  */
5947
8363
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
8364
+ /** @conditional-compile-remove(one-to-n-calling) */
8365
+ /**
8366
+ * The CallAgent is used to handle calls.
8367
+ * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
8368
+ * - The CallClient can only have one active CallAgent instance at a time.
8369
+ * - You can create a new CallClient instance to create a new CallAgent.
8370
+ * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
8371
+ * createCallAgent() method again to create a new CallAgent.
8372
+ * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
8373
+ * @param options - The CallAgentOptions for additional options like display name.
8374
+ * @public
8375
+ */
8376
+ createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
5948
8377
  }
5949
8378
 
5950
8379
  /**
@@ -5957,7 +8386,16 @@ export declare type StatefulCallClientArgs = {
5957
8386
  * UserId from SDK. This is provided for developer convenience to easily access the userId from the
5958
8387
  * state. It is not used by StatefulCallClient.
5959
8388
  */
5960
- userId: CommunicationUserIdentifier;
8389
+ userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
8390
+ /**
8391
+ * A phone number in E.164 format that will be used to represent the callers identity. This number is required
8392
+ * to start a PSTN call.
8393
+ *
8394
+ * example: +11234567
8395
+ *
8396
+ * This is not a cached value from the headless calling client.
8397
+ */
8398
+ alternateCallerId?: string;
5961
8399
  };
5962
8400
 
5963
8401
  /**
@@ -6045,6 +8483,14 @@ export declare interface StatefulDeviceManager extends DeviceManager {
6045
8483
  * {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
6046
8484
  */
6047
8485
  selectCamera: (VideoDeviceInfo: any) => void;
8486
+ /**
8487
+ * Gets the list of unparented video streams. This is a list of video streams that have not been added to a
8488
+ * {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
8489
+ * video streams before they have started a call. See also {@link @azure/communication-react#CallClient.createView}.
8490
+ *
8491
+ * @beta
8492
+ */
8493
+ getUnparentedVideoStreams: () => LocalVideoStream[];
6048
8494
  }
6049
8495
 
6050
8496
  /**
@@ -6097,6 +8543,70 @@ export declare interface SystemMessageCommon extends MessageCommon {
6097
8543
  iconName: string;
6098
8544
  }
6099
8545
 
8546
+ /**
8547
+ * Optional parameters to create {@link TeamsCallAdapter}
8548
+ *
8549
+ * @beta
8550
+ */
8551
+ export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
8552
+
8553
+ /**
8554
+ * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
8555
+ *
8556
+ * @beta
8557
+ */
8558
+ export declare interface TeamsCallAdapter extends CommonCallAdapter {
8559
+ /**
8560
+ * Join the call with microphone initially on/off.
8561
+ *
8562
+ * @param microphoneOn - Whether microphone is initially enabled
8563
+ *
8564
+ * @beta
8565
+ */
8566
+ joinCall(microphoneOn?: boolean): TeamsCall | undefined;
8567
+ /**
8568
+ * Start the call.
8569
+ *
8570
+ * @param participants - An array of participant ids to join
8571
+ *
8572
+ * @beta
8573
+ */
8574
+ startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
8575
+ /**
8576
+ * Start the call.
8577
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
8578
+ * @beta
8579
+ */
8580
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
8581
+ }
8582
+
8583
+ /**
8584
+ * Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
8585
+ *
8586
+ * @beta
8587
+ */
8588
+ export declare type TeamsCallAdapterArgs = {
8589
+ userId: MicrosoftTeamsUserIdentifier;
8590
+ credential: CommunicationTokenCredential;
8591
+ locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
8592
+ /**
8593
+ * Optional parameters for the {@link TeamsCallAdapter} created
8594
+ */
8595
+ options?: TeamsAdapterOptions;
8596
+ };
8597
+
8598
+ /**
8599
+ * Object containing all the teams call handlers required for calling components.
8600
+ *
8601
+ * Calling related components from this package are able to pick out relevant handlers from this object.
8602
+ * See {@link useHandlers} and {@link usePropsFor}.
8603
+ *
8604
+ * @beta
8605
+ */
8606
+ export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
8607
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
8608
+ }
8609
+
6100
8610
  /**
6101
8611
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
6102
8612
  *
@@ -6142,6 +8652,27 @@ export declare interface TranscriptionCallFeature {
6142
8652
  isTranscriptionActive: boolean;
6143
8653
  }
6144
8654
 
8655
+ /**
8656
+ * Transfer feature state
8657
+ *
8658
+ * @beta
8659
+ */
8660
+ export declare interface TransferFeature {
8661
+ /**
8662
+ * Accepted transfer requests
8663
+ */
8664
+ acceptedTransfers: {
8665
+ [key: string]: AcceptedTransfer;
8666
+ };
8667
+ }
8668
+
8669
+ /**
8670
+ * Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
8671
+ *
8672
+ * @beta
8673
+ */
8674
+ export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
8675
+
6145
8676
  /**
6146
8677
  * Component to notify local user when one or more participants in the chat thread are typing.
6147
8678
  *
@@ -6276,11 +8807,117 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
6276
8807
  typingString?: IStyle;
6277
8808
  }
6278
8809
 
8810
+ /**
8811
+ * UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
8812
+ *
8813
+ * @beta
8814
+ */
8815
+ export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
8816
+
8817
+ /**
8818
+ * props for {@link UnsupportedBrowser} UI
8819
+ *
8820
+ * @beta
8821
+ */
8822
+ export declare interface UnsupportedBrowserProps {
8823
+ /** Handler to perform an action when the help link is actioned */
8824
+ onTroubleshootingClick?: () => void;
8825
+ /** String overrides for the component */
8826
+ strings?: UnsupportedBrowserStrings;
8827
+ }
8828
+
8829
+ /**
8830
+ * Strings for UnsupportedBrowser component
8831
+ *
8832
+ * @beta
8833
+ */
8834
+ export declare interface UnsupportedBrowserStrings {
8835
+ /** String for the primary text */
8836
+ primaryText: string;
8837
+ /** String for the secondary text */
8838
+ secondaryText: string;
8839
+ /** String to display in the text for the help link */
8840
+ moreHelpLinkText: string;
8841
+ }
8842
+
8843
+ /**
8844
+ * UI to display to the user that the browser version they are using is out of date
8845
+ * and not supported by Azure Communications Calling service.
8846
+ *
8847
+ * @beta
8848
+ */
8849
+ export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
8850
+
8851
+ /**
8852
+ * props for {@link UnsupportedBrowserVersion} UI
8853
+ *
8854
+ * @beta
8855
+ */
8856
+ export declare interface UnsupportedBrowserVersionProps {
8857
+ /** Handler to perform an action when the help link is actioned */
8858
+ onTroubleshootingClick?: () => void;
8859
+ /** String overrides for the component */
8860
+ strings?: UnsupportedBrowserVersionStrings;
8861
+ /** Handler to allow user to continue into the call */
8862
+ onContinueAnywayClick?: () => void;
8863
+ }
8864
+
8865
+ /**
8866
+ * Strings for UnsupportedBrowser component
8867
+ *
8868
+ * @beta
8869
+ */
8870
+ export declare interface UnsupportedBrowserVersionStrings {
8871
+ /** String for the primary text */
8872
+ primaryText: string;
8873
+ /** String for the secondary text */
8874
+ secondaryText: string;
8875
+ /** String to display in the text for the help link */
8876
+ moreHelpLinkText: string;
8877
+ /** String for continue without updating button */
8878
+ continueAnywayButtonText?: string;
8879
+ }
8880
+
8881
+ /**
8882
+ * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
8883
+ *
8884
+ * @beta
8885
+ */
8886
+ export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
8887
+
8888
+ /**
8889
+ * Props for {@link UnsupportedOperatingSystem} UI
8890
+ *
8891
+ * @beta
8892
+ */
8893
+ export declare interface UnsupportedOperatingSystemProps {
8894
+ /** Handler to perform a action when the help link is actioned */
8895
+ onTroubleshootingClick?: () => void;
8896
+ /** String overrides for the component */
8897
+ strings?: UnsupportedOperatingSystemStrings;
8898
+ }
8899
+
8900
+ /**
8901
+ * Strings for UnsupportedBrowser component
8902
+ *
8903
+ * @beta
8904
+ */
8905
+ export declare interface UnsupportedOperatingSystemStrings {
8906
+ /** String for the primary text */
8907
+ primaryText: string;
8908
+ /** String for the secondary text */
8909
+ secondaryText: string;
8910
+ /** String to display in the text for the help link */
8911
+ moreHelpLinkText: string;
8912
+ }
8913
+
6279
8914
  /**
6280
8915
  * @public
6281
8916
  * Callback function run when a message is updated.
6282
8917
  */
6283
- export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
8918
+ export declare type UpdateMessageCallback = (messageId: string, content: string, metadata?: Record<string, string>, options?: {
8919
+ attachedFilesMetadata?: FileMetadata[];
8920
+ }) => Promise<void>;
6284
8921
 
6285
8922
  /**
6286
8923
  * A custom React hook to simplify the creation of {@link CallAdapter}.
@@ -6428,6 +9065,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
6428
9065
  */
6429
9066
  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;
6430
9067
 
9068
+ /**
9069
+ * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
9070
+ *
9071
+ * Useful when implementing a custom component that utilizes the providers
9072
+ * exported from this library.
9073
+ *
9074
+ * you must have previously used the CallProvider with a TeamsCall object to use this hook
9075
+ *
9076
+ * @beta
9077
+ */
9078
+ export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
9079
+
9080
+ /**
9081
+ * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
9082
+ *
9083
+ * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
9084
+ * creation of the adapter internally.
9085
+ *
9086
+ * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
9087
+ * as they are created. The adapter is only created when all arguments are defined.
9088
+ *
9089
+ * Note that you must memoize the arguments to avoid recreating adapter on each render.
9090
+ * See storybook for typical usage examples.
9091
+ *
9092
+ * @beta
9093
+ */
9094
+ export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
9095
+
9096
+ /**
9097
+ * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
9098
+ *
9099
+ * Useful when implementing a custom component that utilizes the providers
9100
+ * exported from this library.
9101
+ *
9102
+ * @beta
9103
+ */
9104
+ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
9105
+
6431
9106
  /**
6432
9107
  * React hook to access theme
6433
9108
  *
@@ -6435,6 +9110,117 @@ export declare const useSelector: <ParamT extends Selector | undefined>(selector
6435
9110
  */
6436
9111
  export declare const useTheme: () => Theme;
6437
9112
 
9113
+ /**
9114
+ * Styles for the control bar inside the VerticalGallery component
9115
+ *
9116
+ * @beta
9117
+ */
9118
+ export declare interface VerticalGalleryControlBarStyles extends BaseCustomStyles {
9119
+ /**
9120
+ * styles for the next button in the VerticalGalleryControlBar
9121
+ */
9122
+ nextButton?: IStyle;
9123
+ /**
9124
+ * Styles for the previous button in the VerticalGalleryControlBar
9125
+ */
9126
+ previousButton?: IStyle;
9127
+ /**
9128
+ * Styles for the counter in the VerticalGalleryControlBar
9129
+ */
9130
+ counter?: IStyle;
9131
+ }
9132
+
9133
+ /**
9134
+ * Strings for localization of the vertical gallery.
9135
+ *
9136
+ * @beta
9137
+ */
9138
+ export declare interface VerticalGalleryStrings {
9139
+ /** Aria label for the left page navigation button */
9140
+ leftNavButtonAriaLabel?: string;
9141
+ /** Aria label for the right page navigation button */
9142
+ rightNavButtonAriaLabel?: string;
9143
+ }
9144
+
9145
+ /**
9146
+ * Styles for the VerticalGallery component
9147
+ *
9148
+ * @beta
9149
+ */
9150
+ export declare interface VerticalGalleryStyles extends BaseCustomStyles {
9151
+ /** Styles for each video tile in the vertical gallery */
9152
+ children?: IStyle;
9153
+ /** Styles for the verticalGallery control bar */
9154
+ controlBar?: VerticalGalleryControlBarStyles;
9155
+ }
9156
+
9157
+ /**
9158
+ * Contains the attibutes of the blur video background effect
9159
+ *
9160
+ * @beta
9161
+ */
9162
+ export declare interface VideoBackgroundBlurEffect extends BackgroundBlurConfig {
9163
+ /**
9164
+ * Name of effect to blur video background effect
9165
+ */
9166
+ effectName: 'blur';
9167
+ }
9168
+
9169
+ /**
9170
+ * Contains the attibutes of a selected video background effect
9171
+ *
9172
+ * @beta
9173
+ */
9174
+ export declare type VideoBackgroundEffect = VideoBackgroundNoEffect | VideoBackgroundBlurEffect | VideoBackgroundReplacementEffect;
9175
+
9176
+ /**
9177
+ * Contains the attibutes of a background image like url, name etc.
9178
+ *
9179
+ * @beta
9180
+ */
9181
+ export declare interface VideoBackgroundImage {
9182
+ /**
9183
+ * key for unique identification of the custom background
9184
+ */
9185
+ key: string;
9186
+ /**
9187
+ * URL of the uploaded background image.
9188
+ */
9189
+ url: string;
9190
+ /**
9191
+ * Image name to be displayed.
9192
+ */
9193
+ tooltipText?: string;
9194
+ }
9195
+
9196
+ /**
9197
+ * Contains the attibutes to remove video background effect
9198
+ *
9199
+ * @beta
9200
+ */
9201
+ export declare interface VideoBackgroundNoEffect {
9202
+ /**
9203
+ * Name of effect to remove video background effect
9204
+ */
9205
+ effectName: 'none';
9206
+ }
9207
+
9208
+ /**
9209
+ * Contains the attibutes of a selected replacement video background effect
9210
+ *
9211
+ * @beta
9212
+ */
9213
+ export declare interface VideoBackgroundReplacementEffect extends BackgroundReplacementConfig {
9214
+ /**
9215
+ * Name of effect to replace video background effect
9216
+ */
9217
+ effectName: 'replacement';
9218
+ /**
9219
+ * key for unique identification of the custom background
9220
+ */
9221
+ key?: string;
9222
+ }
9223
+
6438
9224
  /**
6439
9225
  * VideoGallery represents a layout of video tiles for a specific call.
6440
9226
  * It displays a {@link VideoTile} for the local user as well as for each remote participant who has joined the call.
@@ -6510,8 +9296,16 @@ export declare interface VideoGalleryProps {
6510
9296
  onCreateRemoteStreamView?: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
6511
9297
  /** Callback to render a remote video tile */
6512
9298
  onRenderRemoteVideoTile?: (remoteParticipant: VideoGalleryRemoteParticipant) => JSX.Element;
6513
- /** Callback to dispose a remote video stream view */
9299
+ /**
9300
+ * @deprecated use {@link onDisposeRemoteVideoStreamView} and {@link onDisposeRemoteScreenShareStreamView} instead
9301
+ *
9302
+ * Callback to dispose a remote video stream view
9303
+ */
6514
9304
  onDisposeRemoteStreamView?: (userId: string) => Promise<void>;
9305
+ /** Callback to dispose a remote video stream view */
9306
+ onDisposeRemoteVideoStreamView?: (userId: string) => Promise<void>;
9307
+ /** Callback to dispose a remote screen share stream view */
9308
+ onDisposeRemoteScreenShareStreamView?: (userId: string) => Promise<void>;
6515
9309
  /** Callback to render a particpant avatar */
6516
9310
  onRenderAvatar?: OnRenderAvatarCallback;
6517
9311
  /**
@@ -6534,6 +9328,36 @@ export declare interface VideoGalleryProps {
6534
9328
  * Camera control information for button to switch cameras.
6535
9329
  */
6536
9330
  localVideoCameraCycleButtonProps?: LocalVideoCameraCycleButtonProps;
9331
+ /**
9332
+ * List of pinned participant userIds.
9333
+ */
9334
+ pinnedParticipants?: string[];
9335
+ /**
9336
+ * This callback will be called when a participant video tile is pinned.
9337
+ */
9338
+ onPinParticipant?: (userId: string) => void;
9339
+ /**
9340
+ * This callback will be called when a participant video tile is un-pinned.
9341
+ */
9342
+ onUnpinParticipant?: (userId: string) => void;
9343
+ /**
9344
+ * Options for showing the remote video tile menu.
9345
+ *
9346
+ * @defaultValue \{ kind: 'contextual' \}
9347
+ */
9348
+ remoteVideoTileMenuOptions?: false | VideoTileContextualMenuProps | VideoTileDrawerMenuProps;
9349
+ /**
9350
+ * Determines the layout of the overflowGallery inside the VideoGallery.
9351
+ * @defaultValue 'HorizontalBottom'
9352
+ */
9353
+ overflowGalleryPosition?: OverflowGalleryPosition;
9354
+ /**
9355
+ * Determines the aspect ratio of local video tile in the video gallery.
9356
+ * @remarks 'followDeviceOrientation' will be responsive to the screen orientation and will change between 9:16 (portrait) and
9357
+ * 16:9 (landscape) aspect ratios.
9358
+ * @defaultValue 'followDeviceOrientation'
9359
+ */
9360
+ localVideoTileSize?: LocalVideoTileSize;
6537
9361
  }
6538
9362
 
6539
9363
  /**
@@ -6546,6 +9370,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
6546
9370
  isSpeaking?: boolean;
6547
9371
  /** Video stream of shared screen */
6548
9372
  screenShareStream?: VideoGalleryStream;
9373
+ /**
9374
+ * @beta
9375
+ * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
9376
+ */
9377
+ state?: ParticipantState;
6549
9378
  }
6550
9379
 
6551
9380
  /**
@@ -6558,6 +9387,7 @@ export declare type VideoGallerySelector = (state: CallClientState, props: Calli
6558
9387
  localParticipant: VideoGalleryLocalParticipant;
6559
9388
  remoteParticipants: VideoGalleryRemoteParticipant[];
6560
9389
  dominantSpeakers?: string[];
9390
+ optimalVideoCount?: number;
6561
9391
  };
6562
9392
 
6563
9393
  /**
@@ -6576,6 +9406,8 @@ export declare interface VideoGalleryStream {
6576
9406
  isMirrored?: boolean;
6577
9407
  /** Render element of the video stream */
6578
9408
  renderElement?: HTMLElement;
9409
+ /** Scaling mode of the video stream */
9410
+ scalingMode?: ViewScalingMode;
6579
9411
  }
6580
9412
 
6581
9413
  /**
@@ -6598,6 +9430,22 @@ export declare interface VideoGalleryStrings {
6598
9430
  localVideoSelectedDescription: string;
6599
9431
  /** placeholder text for participants who does not have a display name*/
6600
9432
  displayNamePlaceholder: string;
9433
+ /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fit in frame */
9434
+ fitRemoteParticipantToFrame: string;
9435
+ /** Menu text shown in Video Tile contextual menu for setting a remote participants video to fill the frame */
9436
+ fillRemoteParticipantFrame: string;
9437
+ /** Menu text shown in Video Tile contextual menu for pinning a remote participant's video tile */
9438
+ pinParticipantForMe: string;
9439
+ /** Menu text shown in Video Tile contextual menu for setting a remote participant's video tile */
9440
+ unpinParticipantForMe: string;
9441
+ /** Aria label for pin participant menu item of remote participant's video tile */
9442
+ pinParticipantMenuItemAriaLabel: string;
9443
+ /** Aria label for unpin participant menu item of remote participant's video tile */
9444
+ unpinParticipantMenuItemAriaLabel: string;
9445
+ /** Aria label to announce when remote participant's video tile is pinned */
9446
+ pinnedParticipantAnnouncementAriaLabel: string;
9447
+ /** Aria label to announce when remote participant's video tile is unpinned */
9448
+ unpinnedParticipantAnnouncementAriaLabel: string;
6601
9449
  }
6602
9450
 
6603
9451
  /**
@@ -6611,6 +9459,8 @@ export declare interface VideoGalleryStyles extends BaseCustomStyles {
6611
9459
  horizontalGallery?: HorizontalGalleryStyles;
6612
9460
  /** Styles for the local video */
6613
9461
  localVideo?: IStyle;
9462
+ /** Styles for the vertical gallery */
9463
+ verticalGallery?: VerticalGalleryStyles;
6614
9464
  }
6615
9465
 
6616
9466
  /**
@@ -6655,6 +9505,36 @@ export declare interface VideoStreamRendererViewState {
6655
9505
  */
6656
9506
  export declare const VideoTile: (props: VideoTileProps) => JSX.Element;
6657
9507
 
9508
+ /**
9509
+ * Properties for showing contextual menu for remote {@link VideoTile} components in {@link VideoGallery}.
9510
+ *
9511
+ * @beta
9512
+ */
9513
+ export declare interface VideoTileContextualMenuProps {
9514
+ /**
9515
+ * The menu property kind
9516
+ */
9517
+ kind: 'contextual';
9518
+ }
9519
+
9520
+ /**
9521
+ * Properties for showing drawer menu on remote {@link VideoTile} long touch in {@link VideoGallery}.
9522
+ *
9523
+ * @beta
9524
+ */
9525
+ export declare interface VideoTileDrawerMenuProps {
9526
+ /**
9527
+ * The menu property kind
9528
+ */
9529
+ kind: 'drawer';
9530
+ /**
9531
+ * The optional id property provided on an element that the drawer menu should render within when a
9532
+ * remote participant video tile Drawer is shown. If an id is not provided, then a drawer menu will
9533
+ * render within the VideoGallery component.
9534
+ */
9535
+ hostId?: string;
9536
+ }
9537
+
6658
9538
  /**
6659
9539
  * Props for {@link VideoTile}.
6660
9540
  *
@@ -6693,6 +9573,10 @@ export declare interface VideoTileProps {
6693
9573
  * Whether the video is muted or not.
6694
9574
  */
6695
9575
  isMuted?: boolean;
9576
+ /**
9577
+ * If true, the video tile will show the pin icon.
9578
+ */
9579
+ isPinned?: boolean;
6696
9580
  /**
6697
9581
  * Display Name of the Participant to be shown in the label.
6698
9582
  * @remarks `displayName` is used to generate avatar initials if `initialsName` is not provided.
@@ -6721,6 +9605,31 @@ export declare interface VideoTileProps {
6721
9605
  noVideoAvailableAriaLabel?: string;
6722
9606
  /** Whether the participant in the videoTile is speaking. Shows a speaking indicator (border). */
6723
9607
  isSpeaking?: boolean;
9608
+ /**
9609
+ * The call connection state of the participant.
9610
+ * For example, `Hold` means the participant is on hold.
9611
+ */
9612
+ participantState?: ParticipantState;
9613
+ strings?: VideoTileStrings;
9614
+ /**
9615
+ * Display custom menu items in the VideoTile's contextual menu.
9616
+ * Uses Fluent UI ContextualMenu.
9617
+ * An ellipses icon will be displayed to open the contextual menu if this prop is defined.
9618
+ */
9619
+ contextualMenu?: IContextualMenuProps;
9620
+ /**
9621
+ * Callback triggered by video tile on touch and hold.
9622
+ */
9623
+ onLongTouch?: () => void;
9624
+ }
9625
+
9626
+ /**
9627
+ * Strings of {@link VideoTile} that can be overridden.
9628
+ * @beta
9629
+ */
9630
+ export declare interface VideoTileStrings {
9631
+ participantStateRinging: string;
9632
+ participantStateHold: string;
6724
9633
  }
6725
9634
 
6726
9635
  /**