@azure/communication-react 1.11.0 → 1.11.1-alpha-202312160012

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 (1047) hide show
  1. package/dist/communication-react.d.ts +2469 -62
  2. package/dist/dist-cjs/communication-react/index.js +15962 -8594
  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 +2 -2
  18. package/dist/dist-esm/acs-ui-common/src/telemetry.js.map +1 -1
  19. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  20. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  21. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.d.ts +2 -1
  22. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js +8 -0
  23. package/dist/dist-esm/calling-component-bindings/src/baseSelectors.js.map +1 -1
  24. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.d.ts +12 -0
  25. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js +54 -10
  26. package/dist/dist-esm/calling-component-bindings/src/callControlSelectors.js.map +1 -1
  27. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js +12 -5
  28. package/dist/dist-esm/calling-component-bindings/src/captionsSelector.js.map +1 -1
  29. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js +24 -55
  30. package/dist/dist-esm/calling-component-bindings/src/errorBarSelector.js.map +1 -1
  31. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js +1 -1
  32. package/dist/dist-esm/calling-component-bindings/src/getRemoteParticipantsExcludingConsumers.js.map +1 -1
  33. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +13 -1
  34. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js +59 -43
  35. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  36. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js +11 -1
  37. package/dist/dist-esm/calling-component-bindings/src/handlers/createDefaultCallingHandlersForComponent.js.map +1 -1
  38. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.d.ts +1 -1
  39. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js +19 -3
  40. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  41. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.d.ts +45 -0
  42. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js +87 -0
  43. package/dist/dist-esm/calling-component-bindings/src/handlers/createTeamsCallHandlers.js.map +1 -0
  44. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.d.ts +1 -1
  45. package/dist/dist-esm/calling-component-bindings/src/hooks/useHandlers.js.map +1 -1
  46. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.d.ts +4 -1
  47. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js +19 -0
  48. package/dist/dist-esm/calling-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  49. package/dist/dist-esm/calling-component-bindings/src/hooks/useSelector.js.map +1 -1
  50. package/dist/dist-esm/calling-component-bindings/src/index.d.ts +6 -0
  51. package/dist/dist-esm/calling-component-bindings/src/index.js +8 -0
  52. package/dist/dist-esm/calling-component-bindings/src/index.js.map +1 -1
  53. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.d.ts +1 -0
  54. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +52 -14
  55. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  56. package/dist/dist-esm/calling-component-bindings/src/participantsButtonSelector.js.map +1 -1
  57. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.d.ts +4 -3
  58. package/dist/dist-esm/calling-component-bindings/src/providers/CallAgentProvider.js.map +1 -1
  59. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js +6 -3
  60. package/dist/dist-esm/calling-component-bindings/src/providers/CallClientProvider.js.map +1 -1
  61. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.d.ts +14 -2
  62. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js +20 -1
  63. package/dist/dist-esm/calling-component-bindings/src/providers/CallProvider.js.map +1 -1
  64. package/dist/dist-esm/calling-component-bindings/src/providers/index.js.map +1 -1
  65. package/dist/dist-esm/calling-component-bindings/src/utils/SelectorUtils.js.map +1 -1
  66. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.d.ts +7 -0
  67. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js +23 -7
  68. package/dist/dist-esm/calling-component-bindings/src/utils/callUtils.js.map +1 -1
  69. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +3 -1
  70. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  71. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.d.ts +2 -1
  72. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js +39 -13
  73. package/dist/dist-esm/calling-component-bindings/src/utils/videoGalleryUtils.js.map +1 -1
  74. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js +51 -10
  75. package/dist/dist-esm/calling-component-bindings/src/videoGallerySelector.js.map +1 -1
  76. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.d.ts +6 -5
  77. package/dist/dist-esm/calling-stateful-client/src/BetaToStableTypes.js.map +1 -1
  78. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.d.ts +15 -1
  79. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarative.js.map +1 -1
  80. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.d.ts +2 -1
  81. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js +66 -71
  82. package/dist/dist-esm/calling-stateful-client/src/CallAgentDeclarativeCommon.js.map +1 -1
  83. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +58 -1
  84. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  85. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +7 -1
  86. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +68 -16
  87. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  88. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js +7 -8
  89. package/dist/dist-esm/calling-stateful-client/src/CallDeclarative.js.map +1 -1
  90. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js +109 -79
  91. package/dist/dist-esm/calling-stateful-client/src/CallDeclarativeCommon.js.map +1 -1
  92. package/dist/dist-esm/calling-stateful-client/src/CallIdHistory.js.map +1 -1
  93. package/dist/dist-esm/calling-stateful-client/src/CallIdRef.js.map +1 -1
  94. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  95. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +9 -3
  96. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  97. package/dist/dist-esm/calling-stateful-client/src/CapabilitiesSubscriber.js.map +1 -1
  98. package/dist/dist-esm/calling-stateful-client/src/CaptionsSubscriber.js.map +1 -1
  99. package/dist/dist-esm/calling-stateful-client/src/Converter.js +22 -12
  100. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  101. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.d.ts +2 -2
  102. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +51 -57
  103. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  104. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js +14 -16
  105. package/dist/dist-esm/calling-stateful-client/src/IncomingCallDeclarative.js.map +1 -1
  106. package/dist/dist-esm/calling-stateful-client/src/IncomingCallSubscriber.js.map +1 -1
  107. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js +3 -15
  108. package/dist/dist-esm/calling-stateful-client/src/InternalCallContext.js.map +1 -1
  109. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  110. package/dist/dist-esm/calling-stateful-client/src/Logger.js.map +1 -1
  111. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js +1 -3
  112. package/dist/dist-esm/calling-stateful-client/src/OptimalVideoCountSubscriber.js.map +1 -1
  113. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  114. package/dist/dist-esm/calling-stateful-client/src/RaiseHandSubscriber.js.map +1 -1
  115. package/dist/dist-esm/calling-stateful-client/src/RecordingSubscriber.js.map +1 -1
  116. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.d.ts +1 -0
  117. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js +8 -0
  118. package/dist/dist-esm/calling-stateful-client/src/RemoteVideoStreamSubscriber.js.map +1 -1
  119. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.d.ts +25 -1
  120. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js +69 -40
  121. package/dist/dist-esm/calling-stateful-client/src/StatefulCallClient.js.map +1 -1
  122. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js +32 -24
  123. package/dist/dist-esm/calling-stateful-client/src/StreamUtils.js.map +1 -1
  124. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js +8 -11
  125. package/dist/dist-esm/calling-stateful-client/src/StreamUtilsLogging.js.map +1 -1
  126. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.d.ts +19 -0
  127. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js +91 -0
  128. package/dist/dist-esm/calling-stateful-client/src/TeamsCallAgentDeclarative.js.map +1 -0
  129. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.d.ts +23 -0
  130. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js +48 -0
  131. package/dist/dist-esm/calling-stateful-client/src/TeamsCallDeclarative.js.map +1 -0
  132. package/dist/dist-esm/calling-stateful-client/src/TranscriptionSubscriber.js.map +1 -1
  133. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.d.ts +2 -2
  134. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js +8 -0
  135. package/dist/dist-esm/calling-stateful-client/src/TypeGuards.js.map +1 -1
  136. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js +3 -3
  137. package/dist/dist-esm/calling-stateful-client/src/UserFacingDiagnosticsSubscriber.js.map +1 -1
  138. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js +6 -7
  139. package/dist/dist-esm/calling-stateful-client/src/VideoStreamRendererViewDeclarative.js.map +1 -1
  140. package/dist/dist-esm/calling-stateful-client/src/index-public.d.ts +3 -0
  141. package/dist/dist-esm/calling-stateful-client/src/index-public.js.map +1 -1
  142. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  143. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js +4 -4
  144. package/dist/dist-esm/chat-component-bindings/src/baseSelectors.js.map +1 -1
  145. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js +3 -3
  146. package/dist/dist-esm/chat-component-bindings/src/chatParticipantListSelector.js.map +1 -1
  147. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js +13 -14
  148. package/dist/dist-esm/chat-component-bindings/src/errorBarSelector.js.map +1 -1
  149. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.d.ts +5 -1
  150. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js +3 -10
  151. package/dist/dist-esm/chat-component-bindings/src/handlers/createHandlers.js.map +1 -1
  152. package/dist/dist-esm/chat-component-bindings/src/hooks/useHandlers.js.map +1 -1
  153. package/dist/dist-esm/chat-component-bindings/src/hooks/usePropsFor.js.map +1 -1
  154. package/dist/dist-esm/chat-component-bindings/src/hooks/useSelector.js.map +1 -1
  155. package/dist/dist-esm/chat-component-bindings/src/index.js.map +1 -1
  156. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js +166 -15
  157. package/dist/dist-esm/chat-component-bindings/src/messageThreadSelector.js.map +1 -1
  158. package/dist/dist-esm/chat-component-bindings/src/providers/ChatClientProvider.js.map +1 -1
  159. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js +1 -1
  160. package/dist/dist-esm/chat-component-bindings/src/providers/ChatThreadClientProvider.js.map +1 -1
  161. package/dist/dist-esm/chat-component-bindings/src/sendBoxSelector.js.map +1 -1
  162. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js +3 -7
  163. package/dist/dist-esm/chat-component-bindings/src/typingIndicatorSelector.js.map +1 -1
  164. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js +3 -1
  165. package/dist/dist-esm/chat-component-bindings/src/utils/compareMessages.js.map +1 -1
  166. package/dist/dist-esm/chat-component-bindings/src/utils/constants.js.map +1 -1
  167. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js +10 -3
  168. package/dist/dist-esm/chat-component-bindings/src/utils/updateMessagesWithAttached.js.map +1 -1
  169. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.d.ts +1 -1
  170. package/dist/dist-esm/chat-stateful-client/src/ChatClientState.js.map +1 -1
  171. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js +5 -9
  172. package/dist/dist-esm/chat-stateful-client/src/ChatContext.js.map +1 -1
  173. package/dist/dist-esm/chat-stateful-client/src/Constants.js.map +1 -1
  174. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js +11 -12
  175. package/dist/dist-esm/chat-stateful-client/src/EventSubscriber.js.map +1 -1
  176. package/dist/dist-esm/chat-stateful-client/src/Logger.js.map +1 -1
  177. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js +57 -67
  178. package/dist/dist-esm/chat-stateful-client/src/StatefulChatClient.js.map +1 -1
  179. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js +114 -128
  180. package/dist/dist-esm/chat-stateful-client/src/StatefulChatThreadClient.js.map +1 -1
  181. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js +6 -1
  182. package/dist/dist-esm/chat-stateful-client/src/convertChatMessage.js.map +1 -1
  183. package/dist/dist-esm/chat-stateful-client/src/index.js.map +1 -1
  184. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedIterator.js.map +1 -1
  185. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListMessages.js.map +1 -1
  186. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListParticipants.js.map +1 -1
  187. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListReadReceipts.js.map +1 -1
  188. package/dist/dist-esm/chat-stateful-client/src/iterators/createDecoratedListThreads.js.map +1 -1
  189. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.d.ts +1 -0
  190. package/dist/dist-esm/chat-stateful-client/src/types/ChatMessageWithStatus.js.map +1 -1
  191. package/dist/dist-esm/communication-react/src/index.d.ts +28 -0
  192. package/dist/dist-esm/communication-react/src/index.js +16 -0
  193. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  194. package/dist/dist-esm/communication-react/src/mergedHooks.js.map +1 -1
  195. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js +3 -6
  196. package/dist/dist-esm/react-components/src/components/Announcer/Announcer.js.map +1 -1
  197. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerContext.js.map +1 -1
  198. package/dist/dist-esm/react-components/src/components/Announcer/AnnouncerMessage.js.map +1 -1
  199. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js +4 -10
  200. package/dist/dist-esm/react-components/src/components/Announcer/LiveAnnouncer.js.map +1 -1
  201. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js +1 -1
  202. package/dist/dist-esm/react-components/src/components/Announcer/LiveMessage.js.map +1 -1
  203. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js +1 -1
  204. package/dist/dist-esm/react-components/src/components/Announcer/MessageBlock.js.map +1 -1
  205. package/dist/dist-esm/react-components/src/components/Announcer.js.map +1 -1
  206. package/dist/dist-esm/react-components/src/components/CameraButton.js +8 -19
  207. package/dist/dist-esm/react-components/src/components/CameraButton.js.map +1 -1
  208. package/dist/dist-esm/react-components/src/components/Caption.js +2 -2
  209. package/dist/dist-esm/react-components/src/components/Caption.js.map +1 -1
  210. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js +9 -8
  211. package/dist/dist-esm/react-components/src/components/CaptionsBanner.js.map +1 -1
  212. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js +44 -22
  213. package/dist/dist-esm/react-components/src/components/CaptionsSettingsModal.js.map +1 -1
  214. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js +2 -5
  215. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionMenu.js.map +1 -1
  216. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js +37 -22
  217. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageActionsFlyout.js.map +1 -1
  218. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.d.ts +27 -1
  219. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +20 -5
  220. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  221. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.d.ts +2 -0
  222. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js +36 -39
  223. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsEditBox.js.map +1 -1
  224. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.d.ts +22 -1
  225. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +99 -21
  226. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  227. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.d.ts +11 -1
  228. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js +30 -24
  229. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  230. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.d.ts +15 -0
  231. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +130 -22
  232. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  233. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js +9 -5
  234. package/dist/dist-esm/react-components/src/components/ChatMessage/DefaultSystemMessage.js.map +1 -1
  235. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.d.ts +2 -1
  236. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +97 -24
  237. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  238. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.d.ts +10 -0
  239. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js +15 -0
  240. package/dist/dist-esm/react-components/src/components/ChatMessage/MentionRenderer.js.map +1 -0
  241. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js +18 -18
  242. package/dist/dist-esm/react-components/src/components/ComplianceBanner/BannerMessage.js.map +1 -1
  243. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js +7 -4
  244. package/dist/dist-esm/react-components/src/components/ComplianceBanner/ComplianceBanner.js.map +1 -1
  245. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js +2 -2
  246. package/dist/dist-esm/react-components/src/components/ComplianceBanner/DelayedUpdateBanner.js.map +1 -1
  247. package/dist/dist-esm/react-components/src/components/ComplianceBanner/Utils.js.map +1 -1
  248. package/dist/dist-esm/react-components/src/components/ComplianceBanner/index.js.map +1 -1
  249. package/dist/dist-esm/react-components/src/components/ComplianceBanner/types.js.map +1 -1
  250. package/dist/dist-esm/react-components/src/components/ControlBar.js +10 -14
  251. package/dist/dist-esm/react-components/src/components/ControlBar.js.map +1 -1
  252. package/dist/dist-esm/react-components/src/components/ControlBarButton.js +14 -4
  253. package/dist/dist-esm/react-components/src/components/ControlBarButton.js.map +1 -1
  254. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js +3 -14
  255. package/dist/dist-esm/react-components/src/components/ControlButtonTooltip.js.map +1 -1
  256. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.d.ts +69 -0
  257. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js +37 -0
  258. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDenied.js.map +1 -0
  259. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.d.ts +75 -0
  260. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js +58 -0
  261. package/dist/dist-esm/react-components/src/components/DevicePermissions/BrowserPermissionDeniedIOS.js.map +1 -0
  262. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js +5 -8
  263. package/dist/dist-esm/react-components/src/components/DevicePermissions/DevicePermissionDropdown.js.map +1 -1
  264. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.d.ts +105 -0
  265. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js +86 -0
  266. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissions.js.map +1 -0
  267. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.d.ts +86 -0
  268. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js +31 -0
  269. package/dist/dist-esm/react-components/src/components/DevicePermissions/SitePermissionsScaffolding.js.map +1 -0
  270. package/dist/dist-esm/react-components/src/components/DevicesButton.js +19 -27
  271. package/dist/dist-esm/react-components/src/components/DevicesButton.js.map +1 -1
  272. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js +42 -44
  273. package/dist/dist-esm/react-components/src/components/Dialpad/Dialpad.js.map +1 -1
  274. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js +4 -4
  275. package/dist/dist-esm/react-components/src/components/Drawer/DrawerContentContainer.js.map +1 -1
  276. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js +2 -6
  277. package/dist/dist-esm/react-components/src/components/Drawer/DrawerLightDismiss.js.map +1 -1
  278. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js +6 -6
  279. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenu.js.map +1 -1
  280. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js +11 -23
  281. package/dist/dist-esm/react-components/src/components/Drawer/DrawerMenuItem.js.map +1 -1
  282. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js +6 -4
  283. package/dist/dist-esm/react-components/src/components/Drawer/DrawerSurface.js.map +1 -1
  284. package/dist/dist-esm/react-components/src/components/Drawer/index.js.map +1 -1
  285. package/dist/dist-esm/react-components/src/components/EndCallButton.js +3 -7
  286. package/dist/dist-esm/react-components/src/components/EndCallButton.js.map +1 -1
  287. package/dist/dist-esm/react-components/src/components/ErrorBar.js +9 -5
  288. package/dist/dist-esm/react-components/src/components/ErrorBar.js.map +1 -1
  289. package/dist/dist-esm/react-components/src/components/FileCard.js +3 -4
  290. package/dist/dist-esm/react-components/src/components/FileCard.js.map +1 -1
  291. package/dist/dist-esm/react-components/src/components/FileCardGroup.js +1 -1
  292. package/dist/dist-esm/react-components/src/components/FileCardGroup.js.map +1 -1
  293. package/dist/dist-esm/react-components/src/components/FileDownloadCards.d.ts +34 -1
  294. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js +40 -16
  295. package/dist/dist-esm/react-components/src/components/FileDownloadCards.js.map +1 -1
  296. package/dist/dist-esm/react-components/src/components/FileUploadCards.js +8 -7
  297. package/dist/dist-esm/react-components/src/components/FileUploadCards.js.map +1 -1
  298. package/dist/dist-esm/react-components/src/components/GridLayout.js +37 -37
  299. package/dist/dist-esm/react-components/src/components/GridLayout.js.map +1 -1
  300. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js +2 -2
  301. package/dist/dist-esm/react-components/src/components/HighContrastAwareIcon.js.map +1 -1
  302. package/dist/dist-esm/react-components/src/components/HoldButton.d.ts +49 -0
  303. package/dist/dist-esm/react-components/src/components/HoldButton.js +25 -0
  304. package/dist/dist-esm/react-components/src/components/HoldButton.js.map +1 -0
  305. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js +7 -9
  306. package/dist/dist-esm/react-components/src/components/HorizontalGallery.js.map +1 -1
  307. package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +71 -0
  308. package/dist/dist-esm/react-components/src/components/ImageGallery.js +53 -0
  309. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +1 -0
  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 +26 -17
  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 +29 -10
  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 +52 -2
  323. package/dist/dist-esm/react-components/src/components/MessageThread.js +125 -44
  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 +13 -0
  330. package/dist/dist-esm/react-components/src/components/ParticipantItem.js +17 -17
  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 +15 -0
  333. package/dist/dist-esm/react-components/src/components/ParticipantList.js +73 -31
  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/RaiseHandButton.js +6 -12
  342. package/dist/dist-esm/react-components/src/components/RaiseHandButton.js.map +1 -1
  343. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js +47 -14
  344. package/dist/dist-esm/react-components/src/components/RemoteVideoTile.js.map +1 -1
  345. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js +2 -2
  346. package/dist/dist-esm/react-components/src/components/ResponsiveHorizontalGallery.js.map +1 -1
  347. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js +2 -2
  348. package/dist/dist-esm/react-components/src/components/ResponsiveVerticalGallery.js.map +1 -1
  349. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js +6 -14
  350. package/dist/dist-esm/react-components/src/components/ScreenShareButton.js.map +1 -1
  351. package/dist/dist-esm/react-components/src/components/SendBox.d.ts +41 -0
  352. package/dist/dist-esm/react-components/src/components/SendBox.js +39 -13
  353. package/dist/dist-esm/react-components/src/components/SendBox.js.map +1 -1
  354. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js +2 -2
  355. package/dist/dist-esm/react-components/src/components/SendBoxErrorBar.js.map +1 -1
  356. package/dist/dist-esm/react-components/src/components/SendBoxErrors.js.map +1 -1
  357. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js +2 -4
  358. package/dist/dist-esm/react-components/src/components/StartCaptionsButton.js.map +1 -1
  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/Survey/StarSurvey/StarSurvey.d.ts +64 -0
  362. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js +54 -0
  363. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.js.map +1 -0
  364. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.d.ts +14 -0
  365. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +39 -0
  366. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -0
  367. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.d.ts +141 -0
  368. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js +4 -0
  369. package/dist/dist-esm/react-components/src/components/Survey/SurveyTypes.js.map +1 -0
  370. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.d.ts +59 -0
  371. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js +81 -0
  372. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.js.map +1 -0
  373. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.d.ts +14 -0
  374. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +30 -0
  375. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -0
  376. package/dist/dist-esm/react-components/src/components/SystemMessage.js +2 -4
  377. package/dist/dist-esm/react-components/src/components/SystemMessage.js.map +1 -1
  378. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.d.ts +41 -0
  379. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js +611 -0
  380. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/TextFieldWithMention.js.map +1 -0
  381. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.d.ts +152 -0
  382. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js +822 -0
  383. package/dist/dist-esm/react-components/src/components/TextFieldWithMention/mentionTagUtils.js.map +1 -0
  384. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js +10 -10
  385. package/dist/dist-esm/react-components/src/components/TroubleshootingGuideErrorBar.js.map +1 -1
  386. package/dist/dist-esm/react-components/src/components/TypingIndicator.js +9 -6
  387. package/dist/dist-esm/react-components/src/components/TypingIndicator.js.map +1 -1
  388. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js +3 -1
  389. package/dist/dist-esm/react-components/src/components/UnsupportedBrowser.js.map +1 -1
  390. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js +3 -1
  391. package/dist/dist-esm/react-components/src/components/UnsupportedBrowserVersion.js.map +1 -1
  392. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js +20 -0
  393. package/dist/dist-esm/react-components/src/components/UnsupportedEnvironment.js.map +1 -1
  394. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js +3 -1
  395. package/dist/dist-esm/react-components/src/components/UnsupportedOperatingSystem.js.map +1 -1
  396. package/dist/dist-esm/react-components/src/components/VerticalGallery.js +19 -34
  397. package/dist/dist-esm/react-components/src/components/VerticalGallery.js.map +1 -1
  398. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js +3 -1
  399. package/dist/dist-esm/react-components/src/components/VideoEffects/PresetVideoEffectsItems.js.map +1 -1
  400. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js +8 -12
  401. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoBackgroundEffectsPicker.js.map +1 -1
  402. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js +13 -17
  403. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.js.map +1 -1
  404. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js +6 -2
  405. package/dist/dist-esm/react-components/src/components/VideoEffects/VideoEffectsItem.styles.js.map +1 -1
  406. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js +37 -16
  407. package/dist/dist-esm/react-components/src/components/VideoGallery/DefaultLayout.js.map +1 -1
  408. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js +14 -10
  409. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideo.js.map +1 -1
  410. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.d.ts +5 -0
  411. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js +71 -27
  412. package/dist/dist-esm/react-components/src/components/VideoGallery/FloatingLocalVideoLayout.js.map +1 -1
  413. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js +2 -2
  414. package/dist/dist-esm/react-components/src/components/VideoGallery/FocusContentLayout.js.map +1 -1
  415. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.d.ts +17 -0
  416. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js +127 -0
  417. package/dist/dist-esm/react-components/src/components/VideoGallery/LargeGalleryLayout.js.map +1 -0
  418. package/dist/dist-esm/react-components/src/components/VideoGallery/Layout.js.map +1 -1
  419. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js +7 -7
  420. package/dist/dist-esm/react-components/src/components/VideoGallery/LocalScreenShare.js.map +1 -1
  421. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js +19 -6
  422. package/dist/dist-esm/react-components/src/components/VideoGallery/OverflowGallery.js.map +1 -1
  423. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js +8 -6
  424. package/dist/dist-esm/react-components/src/components/VideoGallery/RemoteScreenShare.js.map +1 -1
  425. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js +2 -4
  426. package/dist/dist-esm/react-components/src/components/VideoGallery/ScrollableHorizontalGallery.js.map +1 -1
  427. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.d.ts +5 -0
  428. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js +66 -22
  429. package/dist/dist-esm/react-components/src/components/VideoGallery/SpeakerVideoLayout.js.map +1 -1
  430. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js +1 -6
  431. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/DefaultLayout.styles.js.map +1 -1
  432. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js +9 -34
  433. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideo.styles.js.map +1 -1
  434. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js +2 -11
  435. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/FloatingLocalVideoLayout.styles.js.map +1 -1
  436. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/Layout.styles.js.map +1 -1
  437. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/LocalScreenShare.styles.js.map +1 -1
  438. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteScreenShare.styles.js.map +1 -1
  439. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/RemoteVideoTile.styles.js.map +1 -1
  440. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js +1 -3
  441. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/ScrollableHorizontalGallery.style.js.map +1 -1
  442. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js +10 -11
  443. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveHorizontalGallery.styles.js.map +1 -1
  444. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js +22 -28
  445. package/dist/dist-esm/react-components/src/components/VideoGallery/styles/VideoGalleryResponsiveVerticalGallery.styles.js.map +1 -1
  446. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js +10 -5
  447. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoStreamLifecycleMaintainer.js.map +1 -1
  448. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js +19 -32
  449. package/dist/dist-esm/react-components/src/components/VideoGallery/useVideoTileContextualMenuProps.js.map +1 -1
  450. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/OverflowGalleryUtils.js.map +1 -1
  451. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js +62 -22
  452. package/dist/dist-esm/react-components/src/components/VideoGallery/utils/videoGalleryLayoutUtils.js.map +1 -1
  453. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -1
  454. package/dist/dist-esm/react-components/src/components/VideoGallery.js +130 -36
  455. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  456. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +7 -0
  457. package/dist/dist-esm/react-components/src/components/VideoTile.js +40 -55
  458. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  459. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +2 -2
  460. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  461. package/dist/dist-esm/react-components/src/components/index.d.ts +23 -0
  462. package/dist/dist-esm/react-components/src/components/index.js +18 -0
  463. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  464. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.d.ts +58 -0
  465. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js +144 -0
  466. package/dist/dist-esm/react-components/src/components/styles/BrowserPermissionDenied.styles.js.map +1 -0
  467. package/dist/dist-esm/react-components/src/components/styles/Captions.style.js.map +1 -1
  468. package/dist/dist-esm/react-components/src/components/styles/CaptionsSettingsModal.styles.js.map +1 -1
  469. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.d.ts +1 -1
  470. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js +2 -6
  471. package/dist/dist-esm/react-components/src/components/styles/ChatMessageComponent.styles.js.map +1 -1
  472. package/dist/dist-esm/react-components/src/components/styles/Common.style.js.map +1 -1
  473. package/dist/dist-esm/react-components/src/components/styles/ControlBar.styles.js.map +1 -1
  474. package/dist/dist-esm/react-components/src/components/styles/Dialpad.styles.js.map +1 -1
  475. package/dist/dist-esm/react-components/src/components/styles/EditBox.styles.js.map +1 -1
  476. package/dist/dist-esm/react-components/src/components/styles/GridLayout.styles.js.map +1 -1
  477. package/dist/dist-esm/react-components/src/components/styles/HorizontalGallery.styles.js.map +1 -1
  478. package/dist/dist-esm/react-components/src/components/styles/IconButton.styles.js.map +1 -1
  479. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.d.ts +68 -0
  480. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js +202 -0
  481. package/dist/dist-esm/react-components/src/components/styles/ImageGallery.style.js.map +1 -0
  482. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js +2 -5
  483. package/dist/dist-esm/react-components/src/components/styles/InputBoxComponent.style.js.map +1 -1
  484. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.d.ts +26 -0
  485. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js +68 -0
  486. package/dist/dist-esm/react-components/src/components/styles/MentionPopover.style.js.map +1 -0
  487. package/dist/dist-esm/react-components/src/components/styles/MessageStatusIndicator.styles.js.map +1 -1
  488. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.d.ts +2 -2
  489. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js +4 -10
  490. package/dist/dist-esm/react-components/src/components/styles/MessageThread.styles.js.map +1 -1
  491. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js +1 -2
  492. package/dist/dist-esm/react-components/src/components/styles/ParticipantItem.styles.js.map +1 -1
  493. package/dist/dist-esm/react-components/src/components/styles/ParticipantList.styles.js.map +1 -1
  494. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js +2 -10
  495. package/dist/dist-esm/react-components/src/components/styles/SendBox.styles.js.map +1 -1
  496. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.d.ts +38 -0
  497. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js +92 -0
  498. package/dist/dist-esm/react-components/src/components/styles/SitePermissions.styles.js.map +1 -0
  499. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js +3 -6
  500. package/dist/dist-esm/react-components/src/components/styles/StreamMedia.styles.js.map +1 -1
  501. package/dist/dist-esm/react-components/src/components/styles/SystemMessage.styles.js.map +1 -1
  502. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js +1 -2
  503. package/dist/dist-esm/react-components/src/components/styles/TroubleshootingGuideErrorBar.styles.js.map +1 -1
  504. package/dist/dist-esm/react-components/src/components/styles/TypingIndicator.styles.js.map +1 -1
  505. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.d.ts +26 -0
  506. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js +67 -0
  507. package/dist/dist-esm/react-components/src/components/styles/UnsupportedEnvironment.styles.js.map +1 -0
  508. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js +1 -2
  509. package/dist/dist-esm/react-components/src/components/styles/VerticalGallery.styles.js.map +1 -1
  510. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js +5 -19
  511. package/dist/dist-esm/react-components/src/components/styles/VideoGallery.styles.js.map +1 -1
  512. package/dist/dist-esm/react-components/src/components/styles/VideoTile.styles.js.map +1 -1
  513. package/dist/dist-esm/react-components/src/components/styles/v8StyleShim.js.map +1 -1
  514. package/dist/dist-esm/react-components/src/components/utils/Datetime.js +1 -4
  515. package/dist/dist-esm/react-components/src/components/utils/Datetime.js.map +1 -1
  516. package/dist/dist-esm/react-components/src/components/utils/common.js +4 -0
  517. package/dist/dist-esm/react-components/src/components/utils/common.js.map +1 -1
  518. package/dist/dist-esm/react-components/src/components/utils/delay.js.map +1 -1
  519. package/dist/dist-esm/react-components/src/components/utils/formatPhoneNumber.js.map +1 -1
  520. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.d.ts +2 -1
  521. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js +4 -7
  522. package/dist/dist-esm/react-components/src/components/utils/getParticipantsWhoHaveReadMessage.js.map +1 -1
  523. package/dist/dist-esm/react-components/src/components/utils/keyboardNavigation.js.map +1 -1
  524. package/dist/dist-esm/react-components/src/components/utils/merge.d.ts +7 -0
  525. package/dist/dist-esm/react-components/src/components/utils/merge.js +16 -0
  526. package/dist/dist-esm/react-components/src/components/utils/merge.js.map +1 -0
  527. package/dist/dist-esm/react-components/src/components/utils/overFlowGalleriesUtils.js.map +1 -1
  528. package/dist/dist-esm/react-components/src/components/utils/responsive.js +2 -2
  529. package/dist/dist-esm/react-components/src/components/utils/responsive.js.map +1 -1
  530. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js +10 -1
  531. package/dist/dist-esm/react-components/src/components/utils/useLongPress.js.map +1 -1
  532. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js +1 -3
  533. package/dist/dist-esm/react-components/src/components/utils/videoTileStylesUtils.js.map +1 -1
  534. package/dist/dist-esm/react-components/src/components/utils.js +13 -10
  535. package/dist/dist-esm/react-components/src/components/utils.js.map +1 -1
  536. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js +8 -6
  537. package/dist/dist-esm/react-components/src/gallery/dominantSpeaker.js.map +1 -1
  538. package/dist/dist-esm/react-components/src/gallery/index.js.map +1 -1
  539. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.d.ts +4 -0
  540. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js +5 -1
  541. package/dist/dist-esm/react-components/src/identifiers/IdentifierProvider.js.map +1 -1
  542. package/dist/dist-esm/react-components/src/identifiers/index.js.map +1 -1
  543. package/dist/dist-esm/react-components/src/index.d.ts +3 -0
  544. package/dist/dist-esm/react-components/src/index.js.map +1 -1
  545. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +65 -0
  546. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  547. package/dist/dist-esm/react-components/src/localization/index.js.map +1 -1
  548. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js +1 -3
  549. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/ComponentLocale.js.map +1 -1
  550. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js +1 -3
  551. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/ComponentLocale.js.map +1 -1
  552. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js +1 -3
  553. package/dist/dist-esm/react-components/src/localization/locales/de-DE/ComponentLocale.js.map +1 -1
  554. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js +1 -3
  555. package/dist/dist-esm/react-components/src/localization/locales/en-GB/ComponentLocale.js.map +1 -1
  556. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js +1 -3
  557. package/dist/dist-esm/react-components/src/localization/locales/es-ES/ComponentLocale.js.map +1 -1
  558. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js +1 -3
  559. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/ComponentLocale.js.map +1 -1
  560. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js +1 -3
  561. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/ComponentLocale.js.map +1 -1
  562. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js +1 -3
  563. package/dist/dist-esm/react-components/src/localization/locales/he-IL/ComponentLocale.js.map +1 -1
  564. package/dist/dist-esm/react-components/src/localization/locales/index.js +1 -3
  565. package/dist/dist-esm/react-components/src/localization/locales/index.js.map +1 -1
  566. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js +1 -3
  567. package/dist/dist-esm/react-components/src/localization/locales/it-IT/ComponentLocale.js.map +1 -1
  568. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js +1 -3
  569. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/ComponentLocale.js.map +1 -1
  570. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js +1 -3
  571. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/ComponentLocale.js.map +1 -1
  572. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js +1 -3
  573. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/ComponentLocale.js.map +1 -1
  574. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js +1 -3
  575. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/ComponentLocale.js.map +1 -1
  576. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js +1 -3
  577. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/ComponentLocale.js.map +1 -1
  578. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js +1 -3
  579. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/ComponentLocale.js.map +1 -1
  580. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js +1 -3
  581. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/ComponentLocale.js.map +1 -1
  582. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js +1 -3
  583. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/ComponentLocale.js.map +1 -1
  584. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js +1 -3
  585. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/ComponentLocale.js.map +1 -1
  586. package/dist/dist-esm/react-components/src/localization/locales/utils.js.map +1 -1
  587. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js +1 -3
  588. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/ComponentLocale.js.map +1 -1
  589. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js +1 -3
  590. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/ComponentLocale.js.map +1 -1
  591. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js +3 -5
  592. package/dist/dist-esm/react-components/src/theming/FluentThemeProvider.js.map +1 -1
  593. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js +1 -1
  594. package/dist/dist-esm/react-components/src/theming/FluentV9ThemeProvider.js.map +1 -1
  595. package/dist/dist-esm/react-components/src/theming/generateTheme.js +15 -1
  596. package/dist/dist-esm/react-components/src/theming/generateTheme.js.map +1 -1
  597. package/dist/dist-esm/react-components/src/theming/icons.d.ts +17 -0
  598. package/dist/dist-esm/react-components/src/theming/icons.js +119 -11
  599. package/dist/dist-esm/react-components/src/theming/icons.js.map +1 -1
  600. package/dist/dist-esm/react-components/src/theming/icons.styles.d.ts +6 -0
  601. package/dist/dist-esm/react-components/src/theming/icons.styles.js +25 -0
  602. package/dist/dist-esm/react-components/src/theming/icons.styles.js.map +1 -0
  603. package/dist/dist-esm/react-components/src/theming/index.js.map +1 -1
  604. package/dist/dist-esm/react-components/src/theming/themeDuplicates.js.map +1 -1
  605. package/dist/dist-esm/react-components/src/theming/themeUtils.js.map +1 -1
  606. package/dist/dist-esm/react-components/src/theming/themes.d.ts +21 -2
  607. package/dist/dist-esm/react-components/src/theming/themes.js +16 -0
  608. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  609. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js +1 -7
  610. package/dist/dist-esm/react-components/src/theming/v9ThemeShim.js.map +1 -1
  611. package/dist/dist-esm/react-components/src/types/CaptionsAvailableLanguageStrings.js.map +1 -1
  612. package/dist/dist-esm/react-components/src/types/ChatMessage.d.ts +33 -1
  613. package/dist/dist-esm/react-components/src/types/ChatMessage.js.map +1 -1
  614. package/dist/dist-esm/react-components/src/types/CommunicationParticipant.js.map +1 -1
  615. package/dist/dist-esm/react-components/src/types/ComponentSlotStyle.js.map +1 -1
  616. package/dist/dist-esm/react-components/src/types/CustomStylesProps.js.map +1 -1
  617. package/dist/dist-esm/react-components/src/types/OnRender.d.ts +8 -0
  618. package/dist/dist-esm/react-components/src/types/OnRender.js.map +1 -1
  619. package/dist/dist-esm/react-components/src/types/ParticipantListParticipant.js.map +1 -1
  620. package/dist/dist-esm/react-components/src/types/ReadReceiptsBySenderId.js.map +1 -1
  621. package/dist/dist-esm/react-components/src/types/SurveyIssues.d.ts +45 -0
  622. package/dist/dist-esm/react-components/src/types/SurveyIssues.js +4 -0
  623. package/dist/dist-esm/react-components/src/types/SurveyIssues.js.map +1 -0
  624. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.d.ts +11 -0
  625. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js +4 -0
  626. package/dist/dist-esm/react-components/src/types/SurveyIssuesHeadingStrings.js.map +1 -0
  627. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.d.ts +6 -0
  628. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js +2 -0
  629. package/dist/dist-esm/react-components/src/types/VideoGalleryParticipant.js.map +1 -1
  630. package/dist/dist-esm/react-components/src/types/index.d.ts +2 -0
  631. package/dist/dist-esm/react-components/src/types/index.js +2 -0
  632. package/dist/dist-esm/react-components/src/types/index.js.map +1 -1
  633. package/dist/dist-esm/react-composites/src/Logger.js.map +1 -1
  634. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +150 -0
  635. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +85 -32
  636. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  637. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +197 -0
  638. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  639. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +85 -6
  640. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +413 -55
  641. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  642. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +146 -1
  643. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js +7 -1
  644. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  645. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapterProvider.js.map +1 -1
  646. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.d.ts +18 -0
  647. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js +95 -0
  648. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallingSoundSubscriber.js.map +1 -0
  649. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/DiagnosticsForwarder.js.map +1 -1
  650. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js +1 -3
  651. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/OnFetchProfileCallback.js.map +1 -1
  652. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/ParticipantSubcriber.js.map +1 -1
  653. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.d.ts +3 -2
  654. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js +16 -4
  655. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/createHandlers.js.map +1 -1
  656. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +6 -0
  657. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js +2 -0
  658. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  659. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js +111 -33
  660. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallArrangement.js.map +1 -1
  661. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.d.ts +1 -0
  662. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js +99 -51
  663. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallControls.js.map +1 -1
  664. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.d.ts +48 -0
  665. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js +210 -0
  666. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallReadinessModal.js.map +1 -0
  667. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js +10 -18
  668. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CapabilitiesChangedNotificationBar.js.map +1 -1
  669. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.d.ts +2 -0
  670. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js +21 -0
  671. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageCameraDropdown.js.map +1 -1
  672. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js +20 -2
  673. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageErrorBar.js.map +1 -1
  674. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.d.ts +2 -0
  675. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js +21 -0
  676. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ConfigurationPageMicDropdown.js.map +1 -1
  677. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js +5 -4
  678. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/ExpandedLocalVideoTile.js.map +1 -1
  679. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.d.ts +12 -0
  680. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js +93 -0
  681. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/HoldPane.js.map +1 -0
  682. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js +4 -4
  683. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LobbyTile.js.map +1 -1
  684. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js +34 -23
  685. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalAndRemotePIP.js.map +1 -1
  686. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.d.ts +1 -0
  687. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js +54 -23
  688. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalDeviceSettings.js.map +1 -1
  689. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js +25 -29
  690. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/LocalPreview.js.map +1 -1
  691. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js +59 -43
  692. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MediaGallery.js.map +1 -1
  693. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js +2 -2
  694. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/MutedNotification.js.map +1 -1
  695. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js +2 -2
  696. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/NetworkReconnectTile.js.map +1 -1
  697. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js +29 -11
  698. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePane.js.map +1 -1
  699. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/SidePaneProvider.js.map +1 -1
  700. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js +3 -7
  701. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/usePeoplePane.js.map +1 -1
  702. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js +13 -8
  703. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SidePane/useVideoEffectsPane.js.map +1 -1
  704. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js +1 -1
  705. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/StartCallButton.js.map +1 -1
  706. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js +3 -5
  707. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/SvgWithWordWrapping.js.map +1 -1
  708. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js +9 -3
  709. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Camera.js.map +1 -1
  710. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js +19 -11
  711. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Devices.js.map +1 -1
  712. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js +5 -2
  713. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/EndCall.js.map +1 -1
  714. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js +14 -7
  715. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Microphone.js.map +1 -1
  716. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js +5 -2
  717. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/Participants.js.map +1 -1
  718. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.d.ts +8 -0
  719. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js +26 -0
  720. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/People.js.map +1 -0
  721. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js +1 -1
  722. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/RaiseHand.js.map +1 -1
  723. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js +3 -1
  724. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/buttons/ScreenShare.js.map +1 -1
  725. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js +12 -8
  726. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useAdaptedSelector.js.map +1 -1
  727. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js +35 -8
  728. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useHandlers.js.map +1 -1
  729. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/usePropsFor.js.map +1 -1
  730. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js +1 -1
  731. package/dist/dist-esm/react-composites/src/composites/CallComposite/hooks/useSelector.js.map +1 -1
  732. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +7 -0
  733. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js +2 -0
  734. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  735. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js +19 -8
  736. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/CallPage.js.map +1 -1
  737. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.d.ts +15 -0
  738. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js +137 -20
  739. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ConfigurationPage.js.map +1 -1
  740. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.d.ts +24 -0
  741. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js +34 -0
  742. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/HoldPage.js.map +1 -0
  743. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js +17 -7
  744. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/LobbyPage.js.map +1 -1
  745. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +33 -0
  746. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +11 -3
  747. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  748. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.d.ts +11 -0
  749. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js +113 -0
  750. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/TransferPage.js.map +1 -0
  751. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.d.ts +15 -0
  752. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js +54 -0
  753. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/UnsupportedBrowser.js.map +1 -0
  754. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.d.ts +2 -2
  755. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js +1 -1
  756. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/LocalVideoTileSelector.js.map +1 -1
  757. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js +2 -1
  758. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/activeVideoBackgroundEffectSelector.js.map +1 -1
  759. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.d.ts +9 -0
  760. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js +10 -0
  761. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  762. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.d.ts +1 -1
  763. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/callStatusSelector.js.map +1 -1
  764. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.d.ts +1 -1
  765. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js +1 -4
  766. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/capabilitiesChangedInfoAndRoleSelector.js.map +1 -1
  767. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.d.ts +1 -1
  768. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/complianceBannerSelector.js.map +1 -1
  769. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.d.ts +1 -1
  770. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/deviceCountSelector.js.map +1 -1
  771. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.d.ts +2 -2
  772. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js +1 -1
  773. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/devicePermissionSelector.js.map +1 -1
  774. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.d.ts +2 -2
  775. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js +11 -5
  776. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/dominantRemoteParticipantSelector.js.map +1 -1
  777. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.d.ts +4 -4
  778. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js +1 -1
  779. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/lobbySelector.js.map +1 -1
  780. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.d.ts +10 -10
  781. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js +7 -1
  782. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localAndRemotePIPSelector.js.map +1 -1
  783. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.d.ts +2 -2
  784. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +4 -4
  785. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  786. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.d.ts +1 -1
  787. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js +1 -1
  788. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localVideoStreamSelector.js.map +1 -1
  789. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.d.ts +5 -5
  790. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js +4 -4
  791. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mediaGallerySelector.js.map +1 -1
  792. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.d.ts +2 -2
  793. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js +1 -1
  794. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/mutedNotificationSelector.js.map +1 -1
  795. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.d.ts +5 -5
  796. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/networkReconnectTileSelector.js.map +1 -1
  797. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js +1 -1
  798. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/Buttons.styles.js.map +1 -1
  799. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js +2 -6
  800. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallComposite.styles.js.map +1 -1
  801. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js +11 -11
  802. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallConfiguration.styles.js.map +1 -1
  803. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallControls.styles.js.map +1 -1
  804. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/CallPage.styles.js.map +1 -1
  805. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js +1 -4
  806. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/ExpandedLocalVideoTile.styles.js.map +1 -1
  807. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.d.ts +32 -0
  808. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js +81 -0
  809. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/HoldPane.styles.js.map +1 -0
  810. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +2 -9
  811. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  812. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalDeviceSettings.styles.js.map +1 -1
  813. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js +1 -2
  814. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LocalPreview.styles.js.map +1 -1
  815. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NetworkReconnectTile.styles.js.map +1 -1
  816. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/NoticePage.styles.js.map +1 -1
  817. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js +1 -2
  818. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/StartCallButton.styles.js.map +1 -1
  819. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.d.ts +37 -0
  820. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js +55 -0
  821. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/TransferPage.styles.js.map +1 -0
  822. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.d.ts +2 -2
  823. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CallControlOptions.js.map +1 -1
  824. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/CapabilityChangedNotificationTracking.js.map +1 -1
  825. package/dist/dist-esm/react-composites/src/composites/CallComposite/types/ErrorTracking.js.map +1 -1
  826. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js +9 -11
  827. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/MediaGalleryUtils.js.map +1 -1
  828. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js +10 -10
  829. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackCapabilityChangedNotifications.js.map +1 -1
  830. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js +2 -2
  831. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/TrackErrors.js.map +1 -1
  832. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +14 -2
  833. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +141 -21
  834. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  835. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/index.js.map +1 -1
  836. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/useConsoleErrors.js.map +1 -1
  837. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +140 -1
  838. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +117 -25
  839. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  840. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js +1 -1
  841. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButton.js.map +1 -1
  842. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js +9 -7
  843. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/ChatButtonWithUnreadMessagesBadge.js.map +1 -1
  844. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js +6 -9
  845. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/NotificationIcon.js.map +1 -1
  846. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/ChatButton/useUnreadMessagesTracker.js.map +1 -1
  847. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.d.ts +32 -0
  848. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/Strings.js.map +1 -1
  849. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +35 -6
  850. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +156 -7
  851. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  852. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +71 -0
  853. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  854. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +12 -2
  855. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +44 -0
  856. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  857. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.d.ts +13 -0
  858. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js +37 -1
  859. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedChatAdapter.js.map +1 -1
  860. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js +1 -1
  861. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/parseTeamsUrl.js.map +1 -1
  862. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/hooks/useCallWithChatCompositeStrings.js.map +1 -1
  863. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/index.js.map +1 -1
  864. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js +1 -1
  865. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/selectors/moreDrawerSelector.js.map +1 -1
  866. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +24 -0
  867. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +13 -2
  868. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  869. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/styles/CallWithChatCompositeStyles.js.map +1 -1
  870. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.d.ts +20 -0
  871. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js +4 -2
  872. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatComposite.js.map +1 -1
  873. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js +3 -5
  874. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatHeader.js.map +1 -1
  875. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +147 -11
  876. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  877. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.d.ts +18 -0
  878. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js +18 -0
  879. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreenPeoplePane.js.map +1 -0
  880. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.d.ts +15 -0
  881. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js +21 -0
  882. package/dist/dist-esm/react-composites/src/composites/ChatComposite/FileDownloadErrorBar.js.map +1 -0
  883. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.d.ts +4 -0
  884. package/dist/dist-esm/react-composites/src/composites/ChatComposite/Strings.js.map +1 -1
  885. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +32 -3
  886. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +157 -29
  887. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  888. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +28 -0
  889. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +154 -1
  890. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  891. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +17 -2
  892. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  893. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js +2 -0
  894. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapterProvider.js.map +1 -1
  895. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUpload.js.map +1 -1
  896. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js +18 -6
  897. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadButton.js.map +1 -1
  898. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/FileUploadHandler.js.map +1 -1
  899. package/dist/dist-esm/react-composites/src/composites/ChatComposite/file-sharing/index.js.map +1 -1
  900. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js +1 -3
  901. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useAdaptedSelector.js.map +1 -1
  902. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js +7 -2
  903. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useHandlers.js.map +1 -1
  904. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/usePropsFor.js.map +1 -1
  905. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.d.ts +6 -0
  906. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js +11 -0
  907. package/dist/dist-esm/react-composites/src/composites/ChatComposite/hooks/useSelector.js.map +1 -0
  908. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.d.ts +4 -0
  909. package/dist/dist-esm/react-composites/src/composites/ChatComposite/index.js.map +1 -1
  910. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.d.ts +12 -0
  911. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js +15 -0
  912. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/baseSelectors.js.map +1 -0
  913. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.d.ts +27 -0
  914. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js +12 -0
  915. package/dist/dist-esm/react-composites/src/composites/ChatComposite/selectors/fileUploadsSelector.js.map +1 -0
  916. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js +2 -6
  917. package/dist/dist-esm/react-composites/src/composites/ChatComposite/styles/Chat.styles.js.map +1 -1
  918. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.d.ts +5 -1
  919. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js +17 -6
  920. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleButton.js.map +1 -1
  921. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.d.ts +22 -0
  922. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js +105 -0
  923. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.js.map +1 -0
  924. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.d.ts +17 -0
  925. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js +32 -0
  926. package/dist/dist-esm/react-composites/src/composites/common/AddPeopleDropdown.styles.js.map +1 -0
  927. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.d.ts +5 -0
  928. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js +12 -5
  929. package/dist/dist-esm/react-composites/src/composites/common/AvatarPersona.js.map +1 -1
  930. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js +5 -14
  931. package/dist/dist-esm/react-composites/src/composites/common/BaseComposite.js.map +1 -1
  932. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.d.ts +22 -0
  933. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js +60 -0
  934. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.js.map +1 -0
  935. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.d.ts +15 -0
  936. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js +61 -0
  937. package/dist/dist-esm/react-composites/src/composites/common/CallingDialpad.styles.js.map +1 -0
  938. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js +6 -8
  939. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBanner.js.map +1 -1
  940. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js +12 -16
  941. package/dist/dist-esm/react-composites/src/composites/common/CaptionsBannerMoreButton.js.map +1 -1
  942. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js +1 -1
  943. package/dist/dist-esm/react-composites/src/composites/common/CaptionsSettingsModal.js.map +1 -1
  944. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js +1 -5
  945. package/dist/dist-esm/react-composites/src/composites/common/ContainerRectProps.js.map +1 -1
  946. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.d.ts +1 -0
  947. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js +57 -32
  948. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CommonCallControlBar.js.map +1 -1
  949. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js +35 -33
  950. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/CustomButton.js.map +1 -1
  951. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js +136 -53
  952. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/DesktopMoreButton.js.map +1 -1
  953. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js +1 -1
  954. package/dist/dist-esm/react-composites/src/composites/common/ControlBar/PeopleButton.js.map +1 -1
  955. package/dist/dist-esm/react-composites/src/composites/common/ConvertContextualMenuItemToDrawerMenuItem.js.map +1 -1
  956. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js +5 -7
  957. package/dist/dist-esm/react-composites/src/composites/common/Drawer/CaptionSettingsDrawer.js.map +1 -1
  958. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js +106 -98
  959. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.js.map +1 -1
  960. package/dist/dist-esm/react-composites/src/composites/common/Drawer/MoreDrawer.styles.js.map +1 -1
  961. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.d.ts +1 -0
  962. package/dist/dist-esm/react-composites/src/composites/common/Drawer/PreparedMoreDrawer.js.map +1 -1
  963. package/dist/dist-esm/react-composites/src/composites/common/Drawer/captionSettingsDrawer.styles.js.map +1 -1
  964. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js +1 -1
  965. package/dist/dist-esm/react-composites/src/composites/common/HiddenFocusStartPoint.js.map +1 -1
  966. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js +19 -14
  967. package/dist/dist-esm/react-composites/src/composites/common/ModalLocalAndRemotePIP.js.map +1 -1
  968. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js +1 -1
  969. package/dist/dist-esm/react-composites/src/composites/common/MoreButton.js.map +1 -1
  970. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js +14 -12
  971. package/dist/dist-esm/react-composites/src/composites/common/ParticipantContainer.js.map +1 -1
  972. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +28 -5
  973. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  974. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.d.ts +17 -0
  975. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js +42 -0
  976. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.js.map +1 -0
  977. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.d.ts +11 -0
  978. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js +40 -0
  979. package/dist/dist-esm/react-composites/src/composites/common/SendDtmfDialpad.styles.js.map +1 -0
  980. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js +7 -15
  981. package/dist/dist-esm/react-composites/src/composites/common/SidePaneHeader.js.map +1 -1
  982. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.d.ts +6 -0
  983. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js +29 -0
  984. package/dist/dist-esm/react-composites/src/composites/common/StarSurvey.js.map +1 -0
  985. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +7 -0
  986. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +23 -0
  987. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +1 -0
  988. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.d.ts +10 -0
  989. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js +106 -0
  990. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +1 -0
  991. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js +10 -8
  992. package/dist/dist-esm/react-composites/src/composites/common/TabHeader.js.map +1 -1
  993. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.d.ts +8 -0
  994. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js +22 -0
  995. package/dist/dist-esm/react-composites/src/composites/common/TagsSurvey.js.map +1 -0
  996. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js +16 -13
  997. package/dist/dist-esm/react-composites/src/composites/common/VideoEffectsPane.js.map +1 -1
  998. package/dist/dist-esm/react-composites/src/composites/common/adapters.js.map +1 -1
  999. package/dist/dist-esm/react-composites/src/composites/common/constants.js.map +1 -1
  1000. package/dist/dist-esm/react-composites/src/composites/common/icons.d.ts +30 -1
  1001. package/dist/dist-esm/react-composites/src/composites/common/icons.js +17 -3
  1002. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  1003. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependency.js.map +1 -1
  1004. package/dist/dist-esm/react-composites/src/composites/common/resolveVideoEffectDependencyLazy.js.map +1 -1
  1005. package/dist/dist-esm/react-composites/src/composites/common/styles/Composite.styles.js.map +1 -1
  1006. package/dist/dist-esm/react-composites/src/composites/common/styles/GlobalHostLayer.styles.js.map +1 -1
  1007. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js +4 -10
  1008. package/dist/dist-esm/react-composites/src/composites/common/styles/ModalLocalAndRemotePIP.styles.js.map +1 -1
  1009. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js +12 -51
  1010. package/dist/dist-esm/react-composites/src/composites/common/styles/Pane.styles.js.map +1 -1
  1011. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js +6 -29
  1012. package/dist/dist-esm/react-composites/src/composites/common/styles/ParticipantContainer.styles.js.map +1 -1
  1013. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js +4 -22
  1014. package/dist/dist-esm/react-composites/src/composites/common/styles/PeoplePaneContent.styles.js.map +1 -1
  1015. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.d.ts +15 -4
  1016. package/dist/dist-esm/react-composites/src/composites/common/types/CommonCallControlOptions.js.map +1 -1
  1017. package/dist/dist-esm/react-composites/src/composites/common/utils.js +17 -12
  1018. package/dist/dist-esm/react-composites/src/composites/common/utils.js.map +1 -1
  1019. package/dist/dist-esm/react-composites/src/composites/index.js.map +1 -1
  1020. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js +2 -2
  1021. package/dist/dist-esm/react-composites/src/composites/localization/LocalizationProvider.js.map +1 -1
  1022. package/dist/dist-esm/react-composites/src/composites/localization/index.js.map +1 -1
  1023. package/dist/dist-esm/react-composites/src/composites/localization/locales/ar-SA/CompositeLocale.js.map +1 -1
  1024. package/dist/dist-esm/react-composites/src/composites/localization/locales/cs-CZ/CompositeLocale.js.map +1 -1
  1025. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/CompositeLocale.js.map +1 -1
  1026. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/CompositeLocale.js.map +1 -1
  1027. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +59 -0
  1028. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/CompositeLocale.js.map +1 -1
  1029. package/dist/dist-esm/react-composites/src/composites/localization/locales/fi-FI/CompositeLocale.js.map +1 -1
  1030. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/CompositeLocale.js.map +1 -1
  1031. package/dist/dist-esm/react-composites/src/composites/localization/locales/he-IL/CompositeLocale.js.map +1 -1
  1032. package/dist/dist-esm/react-composites/src/composites/localization/locales/index.js.map +1 -1
  1033. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/CompositeLocale.js.map +1 -1
  1034. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/CompositeLocale.js.map +1 -1
  1035. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/CompositeLocale.js.map +1 -1
  1036. package/dist/dist-esm/react-composites/src/composites/localization/locales/nb-NO/CompositeLocale.js.map +1 -1
  1037. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/CompositeLocale.js.map +1 -1
  1038. package/dist/dist-esm/react-composites/src/composites/localization/locales/pl-PL/CompositeLocale.js.map +1 -1
  1039. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/CompositeLocale.js.map +1 -1
  1040. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/CompositeLocale.js.map +1 -1
  1041. package/dist/dist-esm/react-composites/src/composites/localization/locales/sv-SE/CompositeLocale.js.map +1 -1
  1042. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/CompositeLocale.js.map +1 -1
  1043. package/dist/dist-esm/react-composites/src/composites/localization/locales/utils.js.map +1 -1
  1044. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/CompositeLocale.js.map +1 -1
  1045. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/CompositeLocale.js.map +1 -1
  1046. package/dist/dist-esm/react-composites/src/index-public.js.map +1 -1
  1047. package/package.json +3 -3
@@ -17,6 +17,7 @@
17
17
 
18
18
  /// <reference types="react" />
19
19
 
20
+ import { AddPhoneNumberOptions } from '@azure/communication-calling';
20
21
  import { AudioDeviceInfo } from '@azure/communication-calling';
21
22
  import { BackgroundBlurConfig } from '@azure/communication-calling';
22
23
  import { BackgroundBlurEffect } from '@azure/communication-calling';
@@ -29,7 +30,10 @@ import { CallClientOptions } from '@azure/communication-calling';
29
30
  import { CallDirection } from '@azure/communication-calling';
30
31
  import { CallEndReason } from '@azure/communication-calling';
31
32
  import { CallerInfo } from '@azure/communication-calling';
33
+ import { CallKind } from '@azure/communication-calling';
32
34
  import { CallState as CallState_2 } from '@azure/communication-calling';
35
+ import { CallSurvey } from '@azure/communication-calling';
36
+ import { CallSurveyResponse } from '@azure/communication-calling';
33
37
  import { CapabilitiesChangeInfo } from '@azure/communication-calling';
34
38
  import { CaptionsResultType } from '@azure/communication-calling';
35
39
  import { ChatClient } from '@azure/communication-chat';
@@ -47,6 +51,8 @@ import { CreateViewOptions } from '@azure/communication-calling';
47
51
  import { DeviceAccess } from '@azure/communication-calling';
48
52
  import { DeviceManager } from '@azure/communication-calling';
49
53
  import { DominantSpeakersInfo } from '@azure/communication-calling';
54
+ import { DtmfTone as DtmfTone_2 } from '@azure/communication-calling';
55
+ import { EnvironmentInfo } from '@azure/communication-calling';
50
56
  import { GroupCallLocator } from '@azure/communication-calling';
51
57
  import { IButtonProps } from '@fluentui/react';
52
58
  import { IButtonStyles } from '@fluentui/react';
@@ -54,18 +60,22 @@ import { IContextualMenuItem } from '@fluentui/react';
54
60
  import { IContextualMenuItemStyles } from '@fluentui/react';
55
61
  import { IContextualMenuProps } from '@fluentui/react';
56
62
  import { IContextualMenuStyles } from '@fluentui/react';
63
+ import { ILinkStyles } from '@fluentui/react';
57
64
  import { IMessageBarProps } from '@fluentui/react';
65
+ import { IncomingCall } from '@azure/communication-calling';
58
66
  import { IPersonaStyleProps } from '@fluentui/react';
59
67
  import { IPersonaStyles } from '@fluentui/react';
60
68
  import { IRawStyle } from '@fluentui/react';
61
69
  import { IRenderFunction } from '@fluentui/react';
62
70
  import { IStyle } from '@fluentui/react';
63
71
  import { IStyleFunctionOrObject } from '@fluentui/react';
72
+ import { ITextFieldStyles } from '@fluentui/react';
64
73
  import { LatestMediaDiagnostics } from '@azure/communication-calling';
65
74
  import { LatestNetworkDiagnostics } from '@azure/communication-calling';
66
75
  import { LocalVideoStream } from '@azure/communication-calling';
67
76
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
68
77
  import { MediaStreamType } from '@azure/communication-calling';
78
+ import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
69
79
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
70
80
  import { PartialTheme } from '@fluentui/react';
71
81
  import { ParticipantCapabilities } from '@azure/communication-calling';
@@ -74,6 +84,7 @@ import { PermissionConstraints } from '@azure/communication-calling';
74
84
  import { PersonaInitialsColor } from '@fluentui/react';
75
85
  import { PersonaPresence } from '@fluentui/react';
76
86
  import { PersonaSize } from '@fluentui/react';
87
+ import { PhoneNumberIdentifier } from '@azure/communication-common';
77
88
  import { PropertyChangedEvent } from '@azure/communication-calling';
78
89
  import { default as React_2 } from 'react';
79
90
  import type { RemoteParticipant } from '@azure/communication-calling';
@@ -83,14 +94,34 @@ import { ScalingMode } from '@azure/communication-calling';
83
94
  import { SendMessageOptions } from '@azure/communication-chat';
84
95
  import { StartCallOptions } from '@azure/communication-calling';
85
96
  import { StartCaptionsOptions } from '@azure/communication-calling';
97
+ import { SyntheticEvent } from 'react';
98
+ import { TeamsCall } from '@azure/communication-calling';
99
+ import { TeamsCallAgent } from '@azure/communication-calling';
86
100
  import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
87
101
  import { Theme } from '@fluentui/react';
102
+ import { TransferRequestedEventArgs } from '@azure/communication-calling';
88
103
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
89
104
  import { VideoDeviceInfo } from '@azure/communication-calling';
90
105
  import { VideoEffectName } from '@azure/communication-calling';
91
106
  import { VideoStreamRenderer } from '@azure/communication-calling';
92
107
  import { VideoStreamRendererView } from '@azure/communication-calling';
93
108
 
109
+ /**
110
+ * Transfer feature state
111
+ *
112
+ * @beta
113
+ */
114
+ export declare interface AcceptedTransfer {
115
+ /**
116
+ * Stores call id of accepted transfer
117
+ */
118
+ callId: string;
119
+ /**
120
+ * Stores timestamp when transfer was accepted
121
+ */
122
+ timestamp: Date;
123
+ }
124
+
94
125
  /**
95
126
  * Active error messages to be shown via {@link ErrorBar}.
96
127
  *
@@ -110,6 +141,38 @@ export declare interface ActiveErrorMessage {
110
141
  timestamp?: Date;
111
142
  }
112
143
 
144
+ /**
145
+ * Attributes required for SendBox to show file uploads like name, progress etc.
146
+ * @beta
147
+ */
148
+ export declare interface ActiveFileUpload {
149
+ /**
150
+ * Unique identifier for the file upload.
151
+ */
152
+ id: string;
153
+ /**
154
+ * File name to be rendered for uploaded file.
155
+ */
156
+ filename: string;
157
+ /**
158
+ * A number between 0 and 1 indicating the progress of the upload.
159
+ * This is unrelated to the `uploadComplete` property.
160
+ * It is only used to show the progress of the upload.
161
+ * Progress of 1 doesn't mark the upload as complete, set the `uploadComplete`
162
+ * property to true to mark the upload as complete.
163
+ */
164
+ progress: number;
165
+ /**
166
+ * Error to be displayed to the user if the upload fails.
167
+ */
168
+ error?: SendBoxErrorBarError;
169
+ /**
170
+ * `true` means that the upload is completed.
171
+ * This is independent of the upload `progress`.
172
+ */
173
+ uploadComplete?: boolean;
174
+ }
175
+
113
176
  /**
114
177
  * Error reported via error events and stored in adapter state.
115
178
  *
@@ -176,6 +239,21 @@ export declare type AreParamEqual<A extends (props: any) => JSX.Element | undefi
176
239
  */
177
240
  export declare type AreTypeEqual<A, B> = A extends B ? (B extends A ? true : false) : false;
178
241
 
242
+ /**
243
+ * Metadata of the attachment object returned by the ACS SDK.
244
+ * @beta
245
+ */
246
+ export declare interface AttachmentDownloadResult {
247
+ attachmentId: string;
248
+ blobUrl: string;
249
+ }
250
+
251
+ /**
252
+ * Metadata containing information about the uploaded file.
253
+ * @beta
254
+ */
255
+ export declare type AttachmentMetadata = FileMetadata | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ InlineImageMetadata;
256
+
179
257
  /**
180
258
  * Custom data attributes for displaying avatar for a user.
181
259
  *
@@ -205,6 +283,11 @@ export declare type AvatarPersonaData = {
205
283
  * @defaultvalue `white`
206
284
  */
207
285
  initialsTextColor?: string;
286
+ /**
287
+ * If true, show the special coin for unknown persona.
288
+ * It has '?' in place of initials, with static font and background colors
289
+ */
290
+ showUnknownPersonaCoin?: boolean;
208
291
  };
209
292
 
210
293
  /**
@@ -226,6 +309,11 @@ export declare type AzureCommunicationCallAdapterArgs = {
226
309
  displayName: string;
227
310
  credential: CommunicationTokenCredential;
228
311
  locator: CallAdapterLocator;
312
+ /**
313
+ * A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
314
+ * E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
315
+ */
316
+ alternateCallerId?: string;
229
317
  /**
230
318
  * Optional parameters for the {@link AzureCommunicationCallAdapter} created
231
319
  */
@@ -250,6 +338,7 @@ export declare type AzureCommunicationCallWithChatAdapterArgs = {
250
338
  displayName: string;
251
339
  credential: CommunicationTokenCredential;
252
340
  locator: CallAndChatLocator | TeamsMeetingLinkLocator;
341
+ alternateCallerId?: string;
253
342
  callAdapterOptions?: AzureCommunicationCallAdapterOptions;
254
343
  };
255
344
 
@@ -265,6 +354,7 @@ export declare type AzureCommunicationCallWithChatAdapterFromClientArgs = {
265
354
  chatClient: StatefulChatClient;
266
355
  chatThreadClient: ChatThreadClient;
267
356
  callAdapterOptions?: AzureCommunicationCallAdapterOptions;
357
+ chatAdapterOptions?: AzureCommunicationChatAdapterOptions;
268
358
  };
269
359
 
270
360
  /**
@@ -280,6 +370,14 @@ export declare type AzureCommunicationChatAdapterArgs = {
280
370
  threadId: string;
281
371
  };
282
372
 
373
+ /**
374
+ * Configuration options to include when creating AzureCommunicationChatAdapter.
375
+ * @beta
376
+ */
377
+ export declare type AzureCommunicationChatAdapterOptions = {
378
+ credential?: CommunicationTokenCredential;
379
+ };
380
+
283
381
  /**
284
382
  * Properties common to all composites exported from this library.
285
383
  *
@@ -335,6 +433,156 @@ export declare interface BaseCustomStyles {
335
433
  root?: IStyle;
336
434
  }
337
435
 
436
+ /**
437
+ * Content blocked message type.
438
+ *
439
+ * Content blocked messages will rendered default value, but applications can provide custom strings and icon to renderers.
440
+ *
441
+ * @beta
442
+ */
443
+ export declare interface BlockedMessage extends MessageCommon {
444
+ messageType: 'blocked';
445
+ warningText?: string;
446
+ linkText?: string;
447
+ link?: string;
448
+ deletedOn?: Date;
449
+ senderId?: string;
450
+ senderDisplayName?: string;
451
+ status?: MessageStatus;
452
+ attached?: MessageAttachedStatus;
453
+ mine?: boolean;
454
+ }
455
+
456
+ /**
457
+ * @beta
458
+ * Props for BrowserPermissionDeniedIOS component.
459
+ */
460
+ export declare interface BrowserPermissionDeniedIOSProps extends BrowserPermissionDeniedProps {
461
+ /**
462
+ * Localization strings for BrowserPermissionDeniedIOS component.
463
+ */
464
+ strings?: BrowserPermissionDeniedIOSStrings;
465
+ /**
466
+ * Link to image source.
467
+ *
468
+ * Image is inserted into the top of the component.
469
+ */
470
+ imageSource?: string;
471
+ }
472
+
473
+ /**
474
+ * @beta
475
+ * Strings for BrowserPermissionDeniedIOS component
476
+ */
477
+ export declare interface BrowserPermissionDeniedIOSStrings extends BrowserPermissionDeniedStrings {
478
+ /**
479
+ * Image alt text
480
+ */
481
+ imageAltText: string;
482
+ /**
483
+ * Main text string.
484
+ */
485
+ primaryText: string;
486
+ /**
487
+ * Subtext string.
488
+ */
489
+ secondaryText: string;
490
+ /**
491
+ * Step 1 string
492
+ */
493
+ step1Text: string;
494
+ /**
495
+ * Step 1 digit string
496
+ */
497
+ step1DigitText: string;
498
+ /**
499
+ * Step 2 string
500
+ */
501
+ step2Text: string;
502
+ /**
503
+ * Step 2 digit string
504
+ */
505
+ step2DigitText: string;
506
+ /**
507
+ * Step 3 string
508
+ */
509
+ step3Text: string;
510
+ /**
511
+ * Step 3 digit string
512
+ */
513
+ step3DigitText: string;
514
+ /**
515
+ * Step 4 string
516
+ */
517
+ step4Text: string;
518
+ /**
519
+ * Step 4 digit string
520
+ */
521
+ step4DigitText: string;
522
+ }
523
+
524
+ /**
525
+ * @beta
526
+ * Props for BrowserPermissionDenied component.
527
+ */
528
+ export declare interface BrowserPermissionDeniedProps {
529
+ /**
530
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
531
+ */
532
+ onTroubleshootingClick?: () => void;
533
+ /**
534
+ * Action to be taken by the try again primary button.
535
+ */
536
+ onTryAgainClick?: () => void;
537
+ /**
538
+ * Localization strings for BrowserPermissionDenied component.
539
+ */
540
+ strings?: BrowserPermissionDeniedStrings;
541
+ /**
542
+ * Allows users to pass in an object contains custom CSS styles.
543
+ * @Example
544
+ * ```
545
+ * <BrowserPermissionDenied styles={{ primaryButton: { root: {backgroundColor: 'blue' }}}} />
546
+ * ```
547
+ */
548
+ styles?: BrowserPermissionDeniedStyles;
549
+ }
550
+
551
+ /**
552
+ * @beta
553
+ * Strings for BrowserPermissionDenied component
554
+ */
555
+ export declare interface BrowserPermissionDeniedStrings {
556
+ /**
557
+ * Main button text string.
558
+ */
559
+ primaryButtonText: string;
560
+ /**
561
+ * Main text string.
562
+ */
563
+ primaryText: string;
564
+ /**
565
+ * Subtext string.
566
+ */
567
+ secondaryText: string;
568
+ /**
569
+ * More help link string.
570
+ */
571
+ linkText: string;
572
+ }
573
+
574
+ /**
575
+ * Fluent styles for {@link BrowserPermissionDenied}.
576
+ *
577
+ * @beta
578
+ */
579
+ export declare interface BrowserPermissionDeniedStyles extends BaseCustomStyles {
580
+ /** Styles for the primary button. */
581
+ primaryButton?: IButtonStyles;
582
+ /** Styles for the help troubleshooting link text. */
583
+ troubleshootingLink?: ILinkStyles;
584
+ }
585
+
338
586
  /**
339
587
  * An Adapter interface specific for Azure Communication identity which extends {@link CommonCallAdapter}.
340
588
  *
@@ -368,6 +616,12 @@ export declare interface CallAdapter extends CommonCallAdapter {
368
616
  * @public
369
617
  */
370
618
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
619
+ /**
620
+ * Start the call.
621
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
622
+ * @beta
623
+ */
624
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
371
625
  }
372
626
 
373
627
  /**
@@ -412,6 +666,12 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
412
666
  * @public
413
667
  */
414
668
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
669
+ /**
670
+ * Start the call.
671
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
672
+ * @beta
673
+ */
674
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
415
675
  }
416
676
 
417
677
  /**
@@ -488,6 +748,12 @@ export declare interface CallAdapterCallOperations {
488
748
  * @public
489
749
  */
490
750
  removeParticipant(userId: string): Promise<void>;
751
+ /**
752
+ * Remove a participant from the call.
753
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
754
+ * @beta
755
+ */
756
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
491
757
  /**
492
758
  * Create the html view for a stream.
493
759
  *
@@ -539,6 +805,35 @@ export declare interface CallAdapterCallOperations {
539
805
  * @public
540
806
  */
541
807
  disposeLocalVideoStreamView(): Promise<void>;
808
+ /**
809
+ * Holds the call.
810
+ *
811
+ * @beta
812
+ */
813
+ holdCall(): Promise<void>;
814
+ /**
815
+ * Resumes the call from a `LocalHold` state.
816
+ *
817
+ * @beta
818
+ */
819
+ resumeCall(): Promise<void>;
820
+ /**
821
+ * Add a participant to the call.
822
+ *
823
+ * @beta
824
+ */
825
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
826
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
827
+ /**
828
+ * send dtmf tone to another participant in a 1:1 PSTN call
829
+ *
830
+ * @beta
831
+ */
832
+ sendDtmfTone(dtmfTone: DtmfTone_2): Promise<void>;
833
+ /**
834
+ * Continues into a call when the browser version is not supported.
835
+ */
836
+ allowUnsupportedBrowserVersion(): void;
542
837
  /**
543
838
  * Function to Start captions
544
839
  * @param options - options for start captions
@@ -584,6 +879,12 @@ export declare interface CallAdapterCallOperations {
584
879
  * @public
585
880
  */
586
881
  updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
882
+ /**
883
+ * Send the end of call survey result
884
+ *
885
+ * @beta
886
+ */
887
+ submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
587
888
  }
588
889
 
589
890
  /**
@@ -595,6 +896,11 @@ export declare type CallAdapterClientState = {
595
896
  userId: CommunicationIdentifierKind;
596
897
  displayName?: string;
597
898
  call?: CallState;
899
+ /**
900
+ * State to track who the original call went out to. will be undefined the call is not a outbound
901
+ * modality. This includes, groupCalls, Rooms calls, and Teams InteropMeetings.
902
+ */
903
+ targetCallees?: CommunicationIdentifier[];
598
904
  devices: DeviceManagerState;
599
905
  endedCall?: CallState;
600
906
  isTeamsCall: boolean;
@@ -606,6 +912,14 @@ export declare type CallAdapterClientState = {
606
912
  * Latest error encountered for each operation performed via the adapter.
607
913
  */
608
914
  latestErrors: AdapterErrors;
915
+ /**
916
+ * Azure communications Phone number to make PSTN calls with.
917
+ */
918
+ alternateCallerId?: string;
919
+ /**
920
+ * Environment information about system the adapter is made on
921
+ */
922
+ environmentInfo?: EnvironmentInfo;
609
923
  /**
610
924
  * State to track whether the local participant's camera is on. To be used when creating a custom
611
925
  * control bar with the CallComposite.
@@ -623,6 +937,18 @@ export declare type CallAdapterClientState = {
623
937
  * State to track the selected video background effect.
624
938
  */
625
939
  selectedVideoBackgroundEffect?: VideoBackgroundEffect;
940
+ /**
941
+ * Call from transfer request accepted by local user
942
+ */
943
+ acceptedTransferCallState?: CallState;
944
+ /**
945
+ * Hide attendee names in teams meeting
946
+ */
947
+ hideAttendeeNames?: boolean;
948
+ /**
949
+ * State to track the sounds to be used in the call.
950
+ */
951
+ sounds?: CallingSounds;
626
952
  };
627
953
 
628
954
  /**
@@ -707,7 +1033,7 @@ export declare interface CallAdapterDeviceManagement {
707
1033
  *
708
1034
  * @public
709
1035
  */
710
- export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator;
1036
+ export declare type CallAdapterLocator = TeamsMeetingLinkLocator | GroupCallLocator | /* @conditional-compile-remove(rooms) */ RoomCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
711
1037
 
712
1038
  /**
713
1039
  * {@link CommonCallAdapter} state.
@@ -800,6 +1126,10 @@ export declare interface CallAdapterSubscribers {
800
1126
  * Subscribe function for 'isSpokenLanguageChanged' event.
801
1127
  */
802
1128
  on(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
1129
+ /**
1130
+ * Subscribe function for 'transferRequested' event.
1131
+ */
1132
+ on(event: 'transferRequested', listener: TransferRequestedListener): void;
803
1133
  /**
804
1134
  * Subscribe function for 'capabilitiesChanged' event.
805
1135
  */
@@ -872,6 +1202,10 @@ export declare interface CallAdapterSubscribers {
872
1202
  * Unsubscribe function for 'isSpokenLanguageChanged' event.
873
1203
  */
874
1204
  off(event: 'isSpokenLanguageChanged', listener: IsSpokenLanguageChangedListener): void;
1205
+ /**
1206
+ * Unsubscribe function for 'transferRequested' event.
1207
+ */
1208
+ off(event: 'transferRequested', listener: TransferRequestedListener): void;
875
1209
  /**
876
1210
  * Unsubscribe function for 'capabilitiesChanged' event.
877
1211
  */
@@ -890,6 +1224,7 @@ export declare interface CallAdapterSubscribers {
890
1224
  export declare type CallAdapterUiState = {
891
1225
  isLocalPreviewMicrophoneEnabled: boolean;
892
1226
  page: CallCompositePage;
1227
+ unsupportedBrowserVersionsAllowed?: boolean;
893
1228
  };
894
1229
 
895
1230
  /**
@@ -908,7 +1243,7 @@ export declare const CallAgentProvider: (props: CallAgentProviderProps) => JSX.E
908
1243
  */
909
1244
  export declare interface CallAgentProviderProps {
910
1245
  children: React_2.ReactNode;
911
- callAgent?: CallAgent;
1246
+ callAgent?: CallAgent | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
912
1247
  }
913
1248
 
914
1249
  /**
@@ -933,7 +1268,7 @@ export declare interface CallAgentState {
933
1268
  */
934
1269
  export declare interface CallAndChatLocator {
935
1270
  /** Locator used by {@link createAzureCommunicationCallWithChatAdapter} to locate the call to join */
936
- callLocator: GroupCallLocator;
1271
+ callLocator: GroupCallLocator | /* @conditional-compile-remove(teams-adhoc-call) */ CallParticipantsLocator;
937
1272
  /** Chat thread ID used by {@link createAzureCommunicationCallWithChatAdapter} to locate the chat thread to join */
938
1273
  chatThreadId: string;
939
1274
  }
@@ -1020,6 +1355,16 @@ export declare interface CallClientState {
1020
1355
  * See documentation of {@Link CallErrors} for details.
1021
1356
  */
1022
1357
  latestErrors: CallErrors;
1358
+ /**
1359
+ * A phone number in E.164 format that will be used to represent callers identity.
1360
+ * For example, using the alternateCallerId to add a participant using PSTN, this number will
1361
+ * be used as the caller id in the PSTN call.
1362
+ */
1363
+ alternateCallerId?: string;
1364
+ /**
1365
+ * state to track the environment that the stateful client was made in is supported
1366
+ */
1367
+ environmentInfo?: EnvironmentInfo;
1023
1368
  }
1024
1369
 
1025
1370
  /**
@@ -1081,6 +1426,7 @@ export declare type CallCompositeIcons = {
1081
1426
  NoticePageJoinCallFailedDueToNoNetwork?: JSX.Element;
1082
1427
  NoticePageLeftCall?: JSX.Element;
1083
1428
  NoticePageRemovedFromCall?: JSX.Element;
1429
+ NoticePageCallRejected?: JSX.Element;
1084
1430
  NoticePageNotInvitedToRoom?: JSX.Element;
1085
1431
  NoticePageRoomNotFound?: JSX.Element;
1086
1432
  NoticePageRoomNotValid?: JSX.Element;
@@ -1093,6 +1439,9 @@ export declare type CallCompositeIcons = {
1093
1439
  ParticipantItemScreenShareStart?: JSX.Element;
1094
1440
  VideoTileMicOff?: JSX.Element;
1095
1441
  LocalCameraSwitch?: JSX.Element;
1442
+ PeoplePaneAddPerson?: JSX.Element;
1443
+ PeoplePaneOpenDialpad?: JSX.Element;
1444
+ DialpadStartCall?: JSX.Element;
1096
1445
  NoticePageInviteToRoomRemoved?: JSX.Element;
1097
1446
  BlurVideoBackground?: JSX.Element;
1098
1447
  RemoveVideoBackgroundEffect?: JSX.Element;
@@ -1124,10 +1473,66 @@ export declare type CallCompositeOptions = {
1124
1473
  * @defaultValue true
1125
1474
  */
1126
1475
  callControls?: boolean | CallControlOptions;
1476
+ /**
1477
+ * Device permissions check options for your call.
1478
+ * Here you can choose what device permissions you prompt the user for,
1479
+ * as well as what device permissions must be accepted before starting a call.
1480
+ */
1481
+ deviceChecks?: DeviceCheckOptions;
1482
+ /**
1483
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1484
+ * unable to grant your site the required permissions for the call.
1485
+ *
1486
+ * @example
1487
+ * ```ts
1488
+ * onPermissionsTroubleshootingClick: () =>
1489
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
1490
+ * ```
1491
+ *
1492
+ * @remarks
1493
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
1494
+ */
1495
+ onPermissionsTroubleshootingClick?: (permissionsState: {
1496
+ camera: PermissionState;
1497
+ microphone: PermissionState;
1498
+ }) => void;
1499
+ /**
1500
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
1501
+ * having network issues when connecting to the call.
1502
+ *
1503
+ * @example
1504
+ * ```ts
1505
+ * onNetworkingTroubleShootingClick?: () =>
1506
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
1507
+ * ```
1508
+ *
1509
+ * @remarks
1510
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
1511
+ */
1512
+ onNetworkingTroubleShootingClick?: () => void;
1513
+ /**
1514
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
1515
+ *
1516
+ * @example
1517
+ * ```ts
1518
+ * onBrowserTroubleShootingClick?: () =>
1519
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
1520
+ * ```
1521
+ *
1522
+ * @remarks
1523
+ * if this is not supplied, the composite will not show a unsupported browser page.
1524
+ */
1525
+ onEnvironmentInfoTroubleshootingClick?: () => void;
1127
1526
  /**
1128
1527
  * Remote participant video tile menu options
1129
1528
  */
1130
1529
  remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
1530
+ /**
1531
+ * Options for controlling the local video tile.
1532
+ *
1533
+ * @remarks if 'false' the local video tile will not be rendered.
1534
+ */
1535
+ localVideoTile?: boolean | LocalVideoTileOptions;
1131
1536
  /**
1132
1537
  * Options for controlling the starting layout of the composite's video gallery
1133
1538
  */
@@ -1137,6 +1542,77 @@ export declare type CallCompositeOptions = {
1137
1542
  */
1138
1543
  layout?: VideoGalleryLayout;
1139
1544
  };
1545
+ /**
1546
+ * Options for end of call survey
1547
+ */
1548
+ surveyOptions?: {
1549
+ /**
1550
+ * Hide call survey at the end of a call.
1551
+ * @defaultValue false
1552
+ */
1553
+ hideSurvey?: boolean;
1554
+ /**
1555
+ * Optional callback to handle survey data including free form text response
1556
+ * Note that free form text response survey option is only going to be enabled when this callback is provided
1557
+ * User will need to handle all free form text response on their own
1558
+ */
1559
+ onSurveySubmitted?: (callId: string, surveyId: string,
1560
+ /**
1561
+ * This is the survey results containing star survey data and API tag survey data.
1562
+ * This part of the result will always be send to calling sdk
1563
+ * This callback provides user with the ability to gain access to survey data
1564
+ */
1565
+ submittedSurvey: CallSurvey,
1566
+ /**
1567
+ * This is the survey results containing free form text
1568
+ * This part of the result will not be handled by composites
1569
+ * User will need to collect and handle this information 100% on their own
1570
+ * Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
1571
+ */
1572
+ improvementSuggestions: {
1573
+ category: 'audio' | 'video' | 'screenshare';
1574
+ suggestion: string;
1575
+ }[]) => Promise<void>;
1576
+ };
1577
+ /**
1578
+ * Options for setting additional customizations related to personalized branding.
1579
+ */
1580
+ branding?: {
1581
+ /**
1582
+ * Logo displayed on the configuration page.
1583
+ */
1584
+ logo?: {
1585
+ /**
1586
+ * URL for the logo image.
1587
+ *
1588
+ * @remarks
1589
+ * Recommended size is 80x80 pixels.
1590
+ */
1591
+ url: string;
1592
+ /**
1593
+ * Alt text for the logo image.
1594
+ */
1595
+ alt?: string;
1596
+ /**
1597
+ * The logo can be displayed as a circle.
1598
+ *
1599
+ * @defaultValue 'unset'
1600
+ */
1601
+ shape?: 'unset' | 'circle';
1602
+ };
1603
+ /**
1604
+ * Background image displayed on the configuration page.
1605
+ */
1606
+ backgroundImage?: {
1607
+ /**
1608
+ * URL for the background image.
1609
+ *
1610
+ * @remarks
1611
+ * Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
1612
+ */
1613
+ url: string;
1614
+ };
1615
+ };
1140
1616
  };
1141
1617
 
1142
1618
  /**
@@ -1144,7 +1620,7 @@ export declare type CallCompositeOptions = {
1144
1620
  *
1145
1621
  * @public
1146
1622
  */
1147
- export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall';
1623
+ export declare type CallCompositePage = 'accessDeniedTeamsMeeting' | 'call' | 'configuration' | /* @conditional-compile-remove(PSTN-calls) */ 'hold' | 'joinCallFailedDueToNoNetwork' | 'leftCall' | 'leaving' | 'lobby' | 'removedFromCall' | /* @conditional-compile-remove(unsupported-browser) */ 'unsupportedEnvironment' | /* @conditional-compile-remove(call-transfer) */ 'transferring';
1148
1624
 
1149
1625
  /**
1150
1626
  * Props for {@link CallComposite}.
@@ -1391,63 +1867,127 @@ export declare interface CallCompositeStrings {
1391
1867
  */
1392
1868
  dismissSidePaneButtonLabel?: string;
1393
1869
  /**
1394
- * label for more button in the Calling composite
1870
+ * Side pane People section subheader.
1395
1871
  */
1396
- moreButtonCallingLabel: string;
1872
+ peoplePaneSubTitle: string;
1397
1873
  /**
1398
- * aria label for when the invite link has been actioned
1874
+ * Label for button to copy invite link
1399
1875
  */
1400
- copyInviteLinkActionedAriaLabel: string;
1876
+ copyInviteLinkButtonLabel: string;
1401
1877
  /**
1402
- * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1878
+ * Label for button to open dialpad
1403
1879
  */
1404
- roomNotFoundTitle: string;
1880
+ openDialpadButtonLabel: string;
1405
1881
  /**
1406
- * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1882
+ * Label for menu item to remove participant
1407
1883
  */
1408
- roomNotFoundDetails?: string;
1884
+ removeMenuLabel: string;
1409
1885
  /**
1410
- * Title text of the page shown to the user when the user attempts to join a room that is not valid.
1886
+ * Label for add people dropdown
1411
1887
  */
1412
- roomNotValidTitle: string;
1888
+ peoplePaneAddPeopleButtonLabel: string;
1413
1889
  /**
1414
- * More details text of the page shown to the user when the user attempts to join a room that is not valid.
1890
+ * Label for button to start a call
1415
1891
  */
1416
- roomNotValidDetails?: string;
1892
+ dialpadStartCallButtonLabel: string;
1417
1893
  /**
1418
- * Title text of the page shown to the user when the user's permission to join the room is removed.
1894
+ * Title for dialpad Modal
1419
1895
  */
1420
- inviteToRoomRemovedTitle: string;
1896
+ dialpadModalTitle: string;
1421
1897
  /**
1422
- * More details text of the page shown to the user when the user's permission to join the room is removed.
1898
+ * Aria Label for dialpad Modal
1423
1899
  */
1424
- inviteToRoomRemovedDetails?: string;
1900
+ dialpadModalAriaLabel: string;
1425
1901
  /**
1426
- * Video Effects pane title.
1902
+ * Aria Label for dialpad Modal close button
1427
1903
  */
1428
- videoEffectsPaneTitle: string;
1904
+ dialpadCloseModalButtonAriaLabel: string;
1429
1905
  /**
1430
- * Video Effects pane sub section title for choosing background.
1906
+ * label for more button in the Calling composite
1431
1907
  */
1432
- videoEffectsPaneBackgroundSelectionTitle: string;
1908
+ moreButtonCallingLabel: string;
1433
1909
  /**
1434
- * Label for the button to open effects
1910
+ * Label for the resume call button on the hold pane
1435
1911
  */
1436
- configurationPageVideoEffectsButtonLabel?: string;
1912
+ resumeCallButtonLabel: string;
1437
1913
  /**
1438
- * Error message for video effect failure
1914
+ * Label for the resume call button on the hold pane when call is resuming
1439
1915
  */
1440
- unableToStartVideoEffect?: string;
1916
+ resumingCallButtonLabel: string;
1441
1917
  /**
1442
- * Label for the blur video background effect item
1918
+ * Aria label for the resume call button on the hold pane
1443
1919
  */
1444
- blurBackgroundEffectButtonLabel?: string;
1920
+ resumeCallButtonAriaLabel: string;
1445
1921
  /**
1446
- * Tooltip text for the blur video background effect item
1922
+ * Aria label for the resume call button on the hold pane when call is resuming
1447
1923
  */
1448
- blurBackgroundTooltip?: string;
1924
+ resumingCallButtonAriaLabel: string;
1449
1925
  /**
1450
- * Label for the remove video background effect item
1926
+ * Label for the hold pane
1927
+ */
1928
+ holdScreenLabel: string;
1929
+ /**
1930
+ * Placeholder text for dtmf dialpad
1931
+ */
1932
+ dtmfDialpadPlaceholderText: string;
1933
+ /**
1934
+ * Label for the button to open dtmf dialpad
1935
+ */
1936
+ openDtmfDialpadLabel: string;
1937
+ /**
1938
+ * aria label for when the invite link has been actioned
1939
+ */
1940
+ copyInviteLinkActionedAriaLabel: string;
1941
+ /**
1942
+ * Title text of the page shown to the user when the user attempts to join a room that cannot be found.
1943
+ */
1944
+ roomNotFoundTitle: string;
1945
+ /**
1946
+ * More details text of the page shown to the user when the user attempts to join a room that cannot be found.
1947
+ */
1948
+ roomNotFoundDetails?: string;
1949
+ /**
1950
+ * Title text of the page shown to the user when the user attempts to join a room that is not valid.
1951
+ */
1952
+ roomNotValidTitle: string;
1953
+ /**
1954
+ * More details text of the page shown to the user when the user attempts to join a room that is not valid.
1955
+ */
1956
+ roomNotValidDetails?: string;
1957
+ /**
1958
+ * Title text of the page shown to the user when the user's permission to join the room is removed.
1959
+ */
1960
+ inviteToRoomRemovedTitle: string;
1961
+ /**
1962
+ * More details text of the page shown to the user when the user's permission to join the room is removed.
1963
+ */
1964
+ inviteToRoomRemovedDetails?: string;
1965
+ /**
1966
+ * Video Effects pane title.
1967
+ */
1968
+ videoEffectsPaneTitle: string;
1969
+ /**
1970
+ * Video Effects pane sub section title for choosing background.
1971
+ */
1972
+ videoEffectsPaneBackgroundSelectionTitle: string;
1973
+ /**
1974
+ * Label for the button to open effects
1975
+ */
1976
+ configurationPageVideoEffectsButtonLabel?: string;
1977
+ /**
1978
+ * Error message for video effect failure
1979
+ */
1980
+ unableToStartVideoEffect?: string;
1981
+ /**
1982
+ * Label for the blur video background effect item
1983
+ */
1984
+ blurBackgroundEffectButtonLabel?: string;
1985
+ /**
1986
+ * Tooltip text for the blur video background effect item
1987
+ */
1988
+ blurBackgroundTooltip?: string;
1989
+ /**
1990
+ * Label for the remove video background effect item
1451
1991
  */
1452
1992
  removeBackgroundEffectButtonLabel?: string;
1453
1993
  /**
@@ -1466,6 +2006,18 @@ export declare interface CallCompositeStrings {
1466
2006
  * More details text of the page shown to the user when the user attempts to join a room they are not invited to.
1467
2007
  */
1468
2008
  notInvitedToRoomDetails?: string;
2009
+ /**
2010
+ * Control bar People button ToolTipContent
2011
+ */
2012
+ peopleButtonTooltipOpen: string;
2013
+ /**
2014
+ * Control bar People button ToolTipContent
2015
+ */
2016
+ peopleButtonTooltipClose: string;
2017
+ /**
2018
+ * Label disaplayed on the lobby screen during a 1:1 outbound call.
2019
+ */
2020
+ outboundCallingNoticeString: string;
1469
2021
  /**
1470
2022
  * Notice to be announced by narrator when a participant joins a call
1471
2023
  */
@@ -1590,6 +2142,58 @@ export declare interface CallCompositeStrings {
1590
2142
  * captions banner loading spinner label
1591
2143
  */
1592
2144
  captionsBannerSpinnerText?: string;
2145
+ /**
2146
+ * transfer page text when showing the transferor who initiated the transfer
2147
+ */
2148
+ transferPageTransferorText: string;
2149
+ /**
2150
+ * transfer page text when showing the transfer target
2151
+ */
2152
+ transferPageTransferTargetText: string;
2153
+ /**
2154
+ * transfer page display name for unknown participant
2155
+ */
2156
+ transferPageUnknownTransferorDisplayName: string;
2157
+ /**
2158
+ * transfer page display name for unknown participant
2159
+ */
2160
+ transferPageUnknownTransferTargetDisplayName: string;
2161
+ /**
2162
+ * notice to be announced by narrator the transfer page is showing
2163
+ */
2164
+ transferPageNoticeString: string;
2165
+ /**
2166
+ * Title text of the page shown to the user when target participant could not be reached
2167
+ */
2168
+ participantCouldNotBeReachedTitle?: string;
2169
+ /**
2170
+ * More details text of the page shown to the user when target participant could not be reached
2171
+ */
2172
+ participantCouldNotBeReachedMoreDetails?: string;
2173
+ /**
2174
+ * Title text of the page shown to the user when permission to reach participant is not allowed
2175
+ */
2176
+ permissionToReachTargetParticipantNotAllowedTitle?: string;
2177
+ /**
2178
+ * More details text of the page shown to the user when permission to reach participant is not allowed
2179
+ */
2180
+ permissionToReachTargetParticipantNotAllowedMoreDetails?: string;
2181
+ /**
2182
+ * Title text of the page shown to the user when tenant id for the target participant could not be resolved
2183
+ */
2184
+ unableToResolveTenantTitle?: string;
2185
+ /**
2186
+ * More details text of the page shown to the user when tenant id for the target participant could not be resolved
2187
+ */
2188
+ unableToResolveTenantMoreDetails?: string;
2189
+ /**
2190
+ * Title text of the page shown to the user when target participant id is malformed
2191
+ */
2192
+ participantIdIsMalformedTitle?: string;
2193
+ /**
2194
+ * More details text of the page shown to the user when target participant id is malformed
2195
+ */
2196
+ participantIdIsMalformedMoreDetails?: string;
1593
2197
  /**
1594
2198
  * Controls label to move the overflow gallery around
1595
2199
  */
@@ -1622,10 +2226,78 @@ export declare interface CallCompositeStrings {
1622
2226
  * All strings for capability changed notification
1623
2227
  */
1624
2228
  capabilityChangedNotification?: CapabilityChangedNotificationStrings;
2229
+ /**
2230
+ * Question for the survey
2231
+ */
2232
+ surveyQuestion: string;
2233
+ /**
2234
+ * Helper text to explain what the survey is for
2235
+ */
2236
+ starSurveyHelperText: string;
2237
+ /**
2238
+ * Helper text displayed below survey question after user select one star
2239
+ */
2240
+ starSurveyOneStarText: string;
2241
+ /**
2242
+ * Helper text displayed below survey question after user select two star
2243
+ */
2244
+ starSurveyTwoStarText: string;
2245
+ /**
2246
+ * Helper text displayed below survey question after user select three star
2247
+ */
2248
+ starSurveyThreeStarText: string;
2249
+ /**
2250
+ * Helper text displayed below survey question after user select four star
2251
+ */
2252
+ starSurveyFourStarText: string;
2253
+ /**
2254
+ * Helper text displayed below survey question after user select five star
2255
+ */
2256
+ starSurveyFiveStarText: string;
2257
+ /**
2258
+ * Aria Label for each individual star rating
2259
+ */
2260
+ starRatingAriaLabel: string;
2261
+ /**
2262
+ * Tags Survey Question
2263
+ */
2264
+ tagsSurveyQuestion: string;
2265
+ /**
2266
+ * Tags Survey helper text
2267
+ */
2268
+ tagsSurveyHelperText: string;
2269
+ /**
2270
+ * Confirm button label for survey
2271
+ */
2272
+ surveyConfirmButtonLabel: string;
2273
+ /**
2274
+ * Aria Label for cancel button
2275
+ */
2276
+ surveyCancelButtonAriaLabel: string;
2277
+ /**
2278
+ * Default text for free form text box
2279
+ */
2280
+ surveyTextboxDefaultText: string;
2281
+ /**
2282
+ * Corresponding texts to each call issue
2283
+ */
2284
+ surveyIssues: SurveyIssues;
2285
+ /**
2286
+ * Corresponding texts to each call category
2287
+ */
2288
+ SurveyIssuesHeadingStrings: SurveyIssuesHeadingStrings;
1625
2289
  /**
1626
2290
  * String for the dismiss control on the local and remote PIP on mobile
1627
2291
  */
1628
2292
  dismissModalAriaLabel?: string;
2293
+ /**
2294
+ * String for title when the call is rejected by the callee
2295
+ */
2296
+ callRejectedTitle: string;
2297
+ /**
2298
+ * String for more details when the call is rejected by the callee
2299
+ */
2300
+ callRejectedMoreDetails?: string;
1629
2301
  }
1630
2302
 
1631
2303
  /**
@@ -1640,7 +2312,7 @@ export declare type CallControlDisplayType = 'default' | 'compact';
1640
2312
  *
1641
2313
  * @public
1642
2314
  */
1643
- export declare type CallControlOptions = (CommonCallControlOptions & {
2315
+ export declare type CallControlOptions = CommonCallControlOptions & {
1644
2316
  /**
1645
2317
  * Show, Hide or Disable participants button during a call. This is the option only work for legacyControl bar.
1646
2318
  * @defaultValue true
@@ -1649,7 +2321,7 @@ export declare type CallControlOptions = (CommonCallControlOptions & {
1649
2321
  disabled: boolean;
1650
2322
  };
1651
2323
  legacyControlBarExperience?: boolean;
1652
- });
2324
+ };
1653
2325
 
1654
2326
  /**
1655
2327
  * Callback for {@link CallAdapterSubscribers} 'callEnded' event.
@@ -1710,7 +2382,7 @@ export declare type CallErrors = {
1710
2382
  *
1711
2383
  * @public
1712
2384
  */
1713
- 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' | 'VideoEffectsFeature.startEffects';
2385
+ 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' | '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' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.muteAllRemoteParticipants' | /* @conditional-compile-remove(calling-beta-sdk) */ 'Call.setConstraints';
1714
2386
 
1715
2387
  /**
1716
2388
  * Callback for {@link CallAdapterSubscribers} 'callIdChanged' event.
@@ -1757,6 +2429,25 @@ export declare type CallingHandlersOptions = {
1757
2429
  */
1758
2430
  export declare type CallingReturnProps<Component extends (props: any) => JSX.Element> = GetCallingSelector<Component> extends (state: CallClientState, props: any) => any ? ReturnType<GetCallingSelector<Component>> & Common<CallingHandlers, Parameters<Component>[0]> : never;
1759
2431
 
2432
+ /**
2433
+ * @beta
2434
+ * Type for representing a set of sounds to use for different calling events
2435
+ */
2436
+ export declare type CallingSounds = {
2437
+ /**
2438
+ * Sound to be played when the call ends
2439
+ */
2440
+ callEnded?: SoundEffect;
2441
+ /**
2442
+ * Sound to be played when the call is ringing
2443
+ */
2444
+ callRinging?: SoundEffect;
2445
+ /**
2446
+ * Sound to be played when the call is rejected by the user being callede
2447
+ */
2448
+ callBusy?: SoundEffect;
2449
+ };
2450
+
1760
2451
  /**
1761
2452
  * Custom Fluent theme palette used by calling related components in this library.
1762
2453
  *
@@ -1790,6 +2481,23 @@ export declare type CallParticipantListParticipant = ParticipantListParticipant
1790
2481
  raisedHand?: RaisedHand;
1791
2482
  };
1792
2483
 
2484
+ /**
2485
+ * Locator used by {@link createAzureCommunicationCallAdapter} to call one or more participants
2486
+ *
2487
+ * @remarks
2488
+ * This is currently in beta and only supports calling one Teams User.
2489
+ *
2490
+ * @example
2491
+ * ```
2492
+ * ['8:orgid:ab220efe-5725-4742-9792-9fba7c9ac458']
2493
+ * ```
2494
+ *
2495
+ * @beta
2496
+ */
2497
+ export declare type CallParticipantsLocator = {
2498
+ participantIds: string[];
2499
+ };
2500
+
1793
2501
  /**
1794
2502
  * A {@link React.Context} that stores a {@link @azure/communication-calling#Call}.
1795
2503
  *
@@ -1806,7 +2514,7 @@ export declare const CallProvider: (props: CallProviderProps) => JSX.Element;
1806
2514
  */
1807
2515
  export declare interface CallProviderProps {
1808
2516
  children: React_2.ReactNode;
1809
- call?: Call;
2517
+ call?: Call | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
1810
2518
  }
1811
2519
 
1812
2520
  /**
@@ -1820,6 +2528,10 @@ export declare interface CallState {
1820
2528
  * Proxy of {@link @azure/communication-calling#Call.id}.
1821
2529
  */
1822
2530
  id: string;
2531
+ /**
2532
+ * Type of the call.
2533
+ */
2534
+ kind: CallKind;
1823
2535
  /**
1824
2536
  * Proxy of {@link @azure/communication-calling#Call.callerInfo}.
1825
2537
  */
@@ -1918,10 +2630,22 @@ export declare interface CallState {
1918
2630
  * Proxy of {@link @azure/communication-calling#Call.role}.
1919
2631
  */
1920
2632
  role?: ParticipantRole;
2633
+ /**
2634
+ * Proxy of {@link @azure/communication-calling#Call.totalParticipantCount}.
2635
+ */
2636
+ totalParticipantCount?: number;
2637
+ /**
2638
+ * Transfer state of call
2639
+ */
2640
+ transfer: TransferFeature;
1921
2641
  /**
1922
2642
  * Proxy of {@link @azure/communication-calling#CapabilitiesFeature}.
1923
2643
  */
1924
2644
  capabilitiesFeature?: CapabilitiesFeatureState;
2645
+ /**
2646
+ * Hide attendee names in teams meeting
2647
+ */
2648
+ hideAttendeeNames?: boolean;
1925
2649
  }
1926
2650
 
1927
2651
  /**
@@ -1945,6 +2669,12 @@ export declare interface CallWithChatAdapterManagement {
1945
2669
  * @public
1946
2670
  */
1947
2671
  removeParticipant(userId: string): Promise<void>;
2672
+ /**
2673
+ * Remove a participant from the call.
2674
+ * @param participant - {@link @azure/communication-common#CommunicationIdentifier} of the participant to be removed
2675
+ * @beta
2676
+ */
2677
+ removeParticipant(participant: CommunicationIdentifier): Promise<void>;
1948
2678
  /**
1949
2679
  * Join the call with microphone initially on/off.
1950
2680
  * @deprecated Use joinCall(options?:JoinCallOptions) instead.
@@ -2010,6 +2740,12 @@ export declare interface CallWithChatAdapterManagement {
2010
2740
  * @public
2011
2741
  */
2012
2742
  startCall(participants: string[], options?: StartCallOptions): Call | undefined;
2743
+ /**
2744
+ * Start the call.
2745
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
2746
+ * @beta
2747
+ */
2748
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
2013
2749
  /**
2014
2750
  * Start sharing the screen during a call.
2015
2751
  *
@@ -2199,6 +2935,52 @@ export declare interface CallWithChatAdapterManagement {
2199
2935
  * @public
2200
2936
  */
2201
2937
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
2938
+ /** @beta */
2939
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
2940
+ /** @beta */
2941
+ registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
2942
+ /** @beta */
2943
+ clearFileUploads: () => void;
2944
+ /** @beta */
2945
+ cancelFileUpload: (id: string) => void;
2946
+ /** @beta */
2947
+ updateFileUploadProgress: (id: string, progress: number) => void;
2948
+ /** @beta */
2949
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2950
+ /** @beta */
2951
+ updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
2952
+ downloadAttachments: (options: {
2953
+ attachmentUrls: Record<string, string>;
2954
+ }) => Promise<AttachmentDownloadResult[]>;
2955
+ /**
2956
+ * Puts the Call in a Localhold.
2957
+ *
2958
+ * @beta
2959
+ */
2960
+ holdCall: () => Promise<void>;
2961
+ /**
2962
+ * Resumes the call from a LocalHold state.
2963
+ *
2964
+ * @beta
2965
+ */
2966
+ resumeCall: () => Promise<void>;
2967
+ /**
2968
+ * Adds a new Participant to the call.
2969
+ *
2970
+ * @beta
2971
+ */
2972
+ addParticipant(participant: PhoneNumberIdentifier, options?: AddPhoneNumberOptions): Promise<void>;
2973
+ addParticipant(participant: CommunicationUserIdentifier): Promise<void>;
2974
+ /**
2975
+ * send dtmf tone to another participant in the call in 1:1 calls
2976
+ *
2977
+ * @beta
2978
+ */
2979
+ sendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
2980
+ /**
2981
+ * Continues into a call when the browser version is not supported.
2982
+ */
2983
+ allowUnsupportedBrowserVersion(): void;
2202
2984
  /**
2203
2985
  * Function to Start captions
2204
2986
  * @param options - options for start captions
@@ -2244,6 +3026,12 @@ export declare interface CallWithChatAdapterManagement {
2244
3026
  * @public
2245
3027
  */
2246
3028
  updateSelectedVideoBackgroundEffect(selectedVideoBackground: VideoBackgroundEffect): void;
3029
+ /**
3030
+ * Send the end of call survey result
3031
+ *
3032
+ * @beta
3033
+ */
3034
+ submitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
2247
3035
  }
2248
3036
 
2249
3037
  /**
@@ -2324,6 +3112,22 @@ export declare interface CallWithChatAdapterUiState {
2324
3112
  * @public
2325
3113
  */
2326
3114
  page: CallCompositePage;
3115
+ /**
3116
+ * Files being uploaded by a user in the current thread.
3117
+ * Should be set to null once the upload is complete.
3118
+ * Array of type {@link FileUploadsUiState}
3119
+ *
3120
+ * @beta
3121
+ */
3122
+ fileUploads?: FileUploadsUiState;
3123
+ /**
3124
+ * State to track whether the end user has opted in to using a
3125
+ * out of date version of a supported browser. Allows the user
3126
+ * to start a call in this state.
3127
+ *
3128
+ * @beta
3129
+ */
3130
+ unsupportedBrowserVersionsAllowed?: boolean;
2327
3131
  }
2328
3132
 
2329
3133
  /**
@@ -2348,12 +3152,18 @@ export declare interface CallWithChatClientState {
2348
3152
  devices: DeviceManagerState;
2349
3153
  /** State of whether the active call is a Teams interop call */
2350
3154
  isTeamsCall: boolean;
3155
+ /** alternateCallerId for PSTN call */
3156
+ alternateCallerId?: string | undefined;
3157
+ /** Environment information for system adapter is made on */
3158
+ environmentInfo?: EnvironmentInfo;
2351
3159
  /** Default set of background images for background replacement effect */
2352
3160
  videoBackgroundImages?: VideoBackgroundImage[];
2353
3161
  /** Dependency to be injected for video background effects */
2354
3162
  onResolveVideoEffectDependency?: () => Promise<VideoBackgroundEffectsDependency>;
2355
3163
  /** State to track the selected video background effect */
2356
3164
  selectedVideoBackgroundEffect?: VideoBackgroundEffect;
3165
+ /** Hide attendee names in teams meeting */
3166
+ hideAttendeeNames?: boolean;
2357
3167
  }
2358
3168
 
2359
3169
  /**
@@ -2422,6 +3232,9 @@ export declare type CallWithChatCompositeIcons = {
2422
3232
  ParticipantItemScreenShareStart?: JSX.Element;
2423
3233
  VideoTileMicOff?: JSX.Element;
2424
3234
  LocalCameraSwitch?: JSX.Element;
3235
+ PeoplePaneAddPerson?: JSX.Element;
3236
+ PeoplePaneOpenDialpad?: JSX.Element;
3237
+ DialpadStartCall?: JSX.Element;
2425
3238
  DefaultCustomButton?: JSX.Element;
2426
3239
  EditBoxCancel?: JSX.Element;
2427
3240
  EditBoxSubmit?: JSX.Element;
@@ -2449,10 +3262,72 @@ export declare type CallWithChatCompositeOptions = {
2449
3262
  * If using the boolean values, true will cause default behavior across the whole control bar. False hides the whole control bar.
2450
3263
  */
2451
3264
  callControls?: boolean | CallWithChatControlOptions;
3265
+ /**
3266
+ * Properties for configuring the File Sharing feature.
3267
+ * If undefined, file sharing feature will be disabled.
3268
+ * @beta
3269
+ */
3270
+ fileSharing?: FileSharingOptions;
3271
+ /**
3272
+ * Device permissions check options for your call.
3273
+ * Here you can choose what device permissions you prompt the user for,
3274
+ * as well as what device permissions must be accepted before starting a call.
3275
+ */
3276
+ deviceChecks?: DeviceCheckOptions;
3277
+ /**
3278
+ * Callback you may provide to supply users with further steps to troubleshoot why they have been
3279
+ * unable to grant your site the required permissions for the call.
3280
+ *
3281
+ * @example
3282
+ * ```ts
3283
+ * onPermissionsTroubleshootingClick: () =>
3284
+ * window.open('https://contoso.com/permissions-troubleshooting', '_blank');
3285
+ * ```
3286
+ *
3287
+ * @remarks
3288
+ * if this is not supplied, the composite will not show a 'further troubleshooting' link.
3289
+ */
3290
+ onPermissionsTroubleshootingClick?: (permissionsState: {
3291
+ camera: PermissionState;
3292
+ microphone: PermissionState;
3293
+ }) => void;
3294
+ /**
3295
+ * Optional callback to supply users with further troubleshooting steps for network issues
3296
+ * experienced when connecting to a call.
3297
+ *
3298
+ * @example
3299
+ * ```ts
3300
+ * onNetworkingTroubleShootingClick?: () =>
3301
+ * window.open('https://contoso.com/network-troubleshooting', '_blank');
3302
+ * ```
3303
+ *
3304
+ * @remarks
3305
+ * if this is not supplied, the composite will not show a 'network troubleshooting' link.
3306
+ */
3307
+ onNetworkingTroubleShootingClick?: () => void;
3308
+ /**
3309
+ * Callback you may provide to supply users with a provided page to showcase supported browsers by ACS.
3310
+ *
3311
+ * @example
3312
+ * ```ts
3313
+ * onBrowserTroubleShootingClick?: () =>
3314
+ * window.open('https://contoso.com/browser-troubleshooting', '_blank');
3315
+ * ```
3316
+ *
3317
+ * @remarks
3318
+ * if this is not supplied, the composite will not show a unsupported browser page.
3319
+ */
3320
+ onEnvironmentInfoTroubleshootingClick?: () => void;
2452
3321
  /**
2453
3322
  * Remote participant video tile menu options
2454
3323
  */
2455
3324
  remoteVideoTileMenuOptions?: RemoteVideoTileMenuOptions;
3325
+ /**
3326
+ * Options for controlling the local video tile.
3327
+ *
3328
+ * @remarks if 'false' the local video tile will not be rendered.
3329
+ */
3330
+ localVideoTile?: boolean | LocalVideoTileOptions;
2456
3331
  /**
2457
3332
  * Options for controlling the starting layout of the composite's video gallery
2458
3333
  */
@@ -2462,6 +3337,77 @@ export declare type CallWithChatCompositeOptions = {
2462
3337
  */
2463
3338
  layout?: VideoGalleryLayout;
2464
3339
  };
3340
+ /**
3341
+ * Options for end of call survey
3342
+ */
3343
+ surveyOptions?: {
3344
+ /**
3345
+ * Hide call survey at the end of a call.
3346
+ * @defaultValue false
3347
+ */
3348
+ hideSurvey?: boolean;
3349
+ /**
3350
+ * Optional callback to handle survey data including free form text response
3351
+ * Note that free form text response survey option is only going to be enabled when this callback is provided
3352
+ * User will need to handle all free form text response on their own
3353
+ */
3354
+ onSurveySubmitted?: (callId: string, surveyId: string,
3355
+ /**
3356
+ * This is the survey results containing star survey data and API tag survey data.
3357
+ * This part of the result will always be send to calling sdk
3358
+ * This callback provides user with the ability to gain access to survey data
3359
+ */
3360
+ submittedSurvey: CallSurvey,
3361
+ /**
3362
+ * This is the survey results containing free form text
3363
+ * This part of the result will not be handled by composites
3364
+ * User will need to collect and handle this information 100% on their own
3365
+ * Free form text survey is not going to show in the UI if onSurveySubmitted is not populated
3366
+ */
3367
+ improvementSuggestions: {
3368
+ category: 'audio' | 'video' | 'screenshare';
3369
+ suggestion: string;
3370
+ }[]) => Promise<void>;
3371
+ };
3372
+ /**
3373
+ * Options for setting additional customizations related to personalized branding.
3374
+ */
3375
+ branding?: {
3376
+ /**
3377
+ * Logo displayed on the configuration page.
3378
+ */
3379
+ logo?: {
3380
+ /**
3381
+ * URL for the logo image.
3382
+ *
3383
+ * @remarks
3384
+ * Recommended size is 80x80 pixels.
3385
+ */
3386
+ url: string;
3387
+ /**
3388
+ * Alt text for the logo image.
3389
+ */
3390
+ alt?: string;
3391
+ /**
3392
+ * The logo can be displayed as a circle.
3393
+ *
3394
+ * @defaultValue 'unset'
3395
+ */
3396
+ shape?: 'unset' | 'circle';
3397
+ };
3398
+ /**
3399
+ * Background image displayed on the configuration page.
3400
+ */
3401
+ backgroundImage?: {
3402
+ /**
3403
+ * URL for the background image.
3404
+ *
3405
+ * @remarks
3406
+ * Background image should be larger than 576x567 pixels and smaller than 2048x2048 pixels pixels.
3407
+ */
3408
+ url: string;
3409
+ };
3410
+ };
2465
3411
  };
2466
3412
 
2467
3413
  /**
@@ -2613,6 +3559,10 @@ export declare interface CallWithChatCompositeStrings {
2613
3559
  * Label for button to copy invite link
2614
3560
  */
2615
3561
  copyInviteLinkButtonLabel: string;
3562
+ /**
3563
+ * Label for button to open dialpad
3564
+ */
3565
+ openDialpadButtonLabel: string;
2616
3566
  /**
2617
3567
  * Label for SidePaneHeader dismiss button
2618
3568
  */
@@ -2625,6 +3575,34 @@ export declare interface CallWithChatCompositeStrings {
2625
3575
  * Aria label string for return to call back button
2626
3576
  */
2627
3577
  returnToCallButtonAriaLabel?: string;
3578
+ /**
3579
+ * Label for add people dropdown
3580
+ */
3581
+ peoplePaneAddPeopleButtonLabel: string;
3582
+ /**
3583
+ * Label for button to start a call
3584
+ */
3585
+ dialpadStartCallButtonLabel: string;
3586
+ /**
3587
+ * Title for dialpad Modal
3588
+ */
3589
+ dialpadModalTitle: string;
3590
+ /**
3591
+ * Aria Label for dialpad Modal
3592
+ */
3593
+ dialpadModalAriaLabel: string;
3594
+ /**
3595
+ * Aria Label for dialpad Modal close button
3596
+ */
3597
+ dialpadCloseModalButtonAriaLabel: string;
3598
+ /**
3599
+ * Placeholder text for dtmf dialpad
3600
+ */
3601
+ dtmfDialpadPlaceholderText: string;
3602
+ /**
3603
+ * Label for the button to open dtmf dialpad
3604
+ */
3605
+ openDtmfDialpadLabel: string;
2628
3606
  /**
2629
3607
  * aria label for when the invite link has been actioned
2630
3608
  */
@@ -2641,7 +3619,9 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2641
3619
  * Show or hide the chat button in the call-with-chat composite control bar.
2642
3620
  * @defaultValue true
2643
3621
  */
2644
- chatButton?: boolean;
3622
+ chatButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
3623
+ disabled: boolean;
3624
+ };
2645
3625
  }
2646
3626
 
2647
3627
  /**
@@ -2651,6 +3631,35 @@ export declare interface CallWithChatControlOptions extends CommonCallControlOpt
2651
3631
  */
2652
3632
  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' | /* @conditional-compile-remove(close-captions) */ 'isCaptionLanguageChanged' | /* @conditional-compile-remove(close-captions) */ 'isSpokenLanguageChanged' | /* @conditional-compile-remove(capabilities) */ 'capabilitiesChanged' | 'messageReceived' | 'messageSent' | 'messageRead' | 'chatParticipantsAdded' | 'chatParticipantsRemoved';
2653
3633
 
3634
+ /**
3635
+ * @beta
3636
+ *
3637
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3638
+ * by their browsers settings.
3639
+ */
3640
+ export declare const CameraAndMicrophoneSitePermissions: (props: CameraAndMicrophoneSitePermissionsProps) => JSX.Element;
3641
+
3642
+ /**
3643
+ * @beta
3644
+ * Props for CameraAndMicrophoneSitePermissions component.
3645
+ */
3646
+ export declare interface CameraAndMicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
3647
+ /** Icon name for the camera icon */
3648
+ cameraIconName?: string;
3649
+ /** Icon name for the microphone icon */
3650
+ microphoneIconName?: string;
3651
+ /** Icon name for the central icon between the camera and microphone icons */
3652
+ connectorIconName?: string;
3653
+ /** Strings for use with the {@link CameraAndMicrophoneSitePermissions} */
3654
+ strings?: CameraAndMicrophoneSitePermissionsStrings;
3655
+ }
3656
+
3657
+ /**
3658
+ * @beta
3659
+ * Strings for CameraAndMicrophoneSitePermissions component.
3660
+ */
3661
+ export declare type CameraAndMicrophoneSitePermissionsStrings = SitePermissionsStrings;
3662
+
2654
3663
  /**
2655
3664
  * A button to turn camera on / off.
2656
3665
  *
@@ -2807,6 +3816,31 @@ export declare interface CameraButtonStyles extends ControlBarButtonStyles {
2807
3816
  menuStyles?: Partial<CameraButtonContextualMenuStyles>;
2808
3817
  }
2809
3818
 
3819
+ /**
3820
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
3821
+ * by their browsers settings.
3822
+ *
3823
+ * @beta
3824
+ */
3825
+ export declare const CameraSitePermissions: (props: CameraSitePermissionsProps) => JSX.Element;
3826
+
3827
+ /**
3828
+ * @beta
3829
+ * Props for CameraSitePermissions component.
3830
+ */
3831
+ export declare interface CameraSitePermissionsProps extends CommonSitePermissionsProps {
3832
+ /** Icon name for the camera icon */
3833
+ cameraIconName?: string;
3834
+ /** Strings for use with the {@link CameraSitePermissions} */
3835
+ strings?: CameraSitePermissionsStrings;
3836
+ }
3837
+
3838
+ /**
3839
+ * @beta
3840
+ * Strings for CameraSitePermissions component.
3841
+ */
3842
+ export declare type CameraSitePermissionsStrings = SitePermissionsStrings;
3843
+
2810
3844
  /**
2811
3845
  * @public
2812
3846
  * Callback function run when a message edit is cancelled.
@@ -3012,7 +4046,7 @@ export declare type CaptionsReceivedListener = (event: {
3012
4046
  *
3013
4047
  * @public
3014
4048
  */
3015
- export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers;
4049
+ export declare type ChatAdapter = ChatAdapterThreadManagement & AdapterState<ChatAdapterState> & Disposable_2 & ChatAdapterSubscribers & FileUploadAdapter;
3016
4050
 
3017
4051
  /**
3018
4052
  * {@link ChatAdapter} state.
@@ -3120,7 +4154,9 @@ export declare interface ChatAdapterThreadManagement {
3120
4154
  /**
3121
4155
  * Update a message content.
3122
4156
  */
3123
- updateMessage(messageId: string, content: string, metadata?: Record<string, string>): Promise<void>;
4157
+ updateMessage(messageId: string, content: string, metadata?: Record<string, string>, options?: {
4158
+ attachmentMetadata?: AttachmentMetadata[];
4159
+ }): Promise<void>;
3124
4160
  /**
3125
4161
  * Delete a message in the thread.
3126
4162
  */
@@ -3133,6 +4169,9 @@ export declare interface ChatAdapterThreadManagement {
3133
4169
  *
3134
4170
  */
3135
4171
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
4172
+ downloadAttachments: (options: {
4173
+ attachmentUrls: Record<string, string>;
4174
+ }) => Promise<AttachmentDownloadResult[]>;
3136
4175
  }
3137
4176
 
3138
4177
  /**
@@ -3142,8 +4181,21 @@ export declare interface ChatAdapterThreadManagement {
3142
4181
  */
3143
4182
  export declare type ChatAdapterUiState = {
3144
4183
  error?: Error;
4184
+ /**
4185
+ * Files being uploaded by a user in the current thread.
4186
+ * Should be set to null once the upload is complete.
4187
+ * Array of type {@link FileUploadsUiState}
4188
+ * @beta
4189
+ */
4190
+ fileUploads?: FileUploadsUiState;
3145
4191
  };
3146
4192
 
4193
+ /**
4194
+ * Represents the type of attachment
4195
+ * @beta
4196
+ */
4197
+ export declare type ChatAttachmentType = 'file' | /* @conditional-compile-remove(teams-inline-images-and-file-sharing) */ 'inlineImage' | 'unknown';
4198
+
3147
4199
  /**
3148
4200
  * Common props for selectors for {@link ChatClientState}.
3149
4201
  *
@@ -3244,6 +4296,7 @@ export declare type ChatCompositeIcons = {
3244
4296
  ParticipantItemOptionsHovered?: JSX.Element;
3245
4297
  SendBoxSend?: JSX.Element;
3246
4298
  SendBoxSendHovered?: JSX.Element;
4299
+ SendBoxAttachFile?: JSX.Element;
3247
4300
  };
3248
4301
 
3249
4302
  /**
@@ -3258,6 +4311,13 @@ export declare type ChatCompositeOptions = {
3258
4311
  * @defaultValue true
3259
4312
  */
3260
4313
  errorBar?: boolean;
4314
+ /**
4315
+ * Show or hide the participant pane. This feature is in beta and not supported on mobile or narrow screen views.
4316
+ * @defaultValue false
4317
+ *
4318
+ * @beta
4319
+ */
4320
+ participantPane?: boolean;
3261
4321
  /**
3262
4322
  * Show or hide the topic at the top of the chat. Hidden if set to `false`
3263
4323
  * @defaultValue true
@@ -3268,6 +4328,12 @@ export declare type ChatCompositeOptions = {
3268
4328
  * When undefined nothing has focus on render
3269
4329
  */
3270
4330
  autoFocus?: 'sendBoxTextField';
4331
+ /**
4332
+ * Properties for configuring the File Sharing feature.
4333
+ * If undefined, file sharing feature will be disabled.
4334
+ * @beta
4335
+ */
4336
+ fileSharing?: FileSharingOptions;
3271
4337
  };
3272
4338
 
3273
4339
  /**
@@ -3295,6 +4361,12 @@ export declare interface ChatCompositeProps extends BaseCompositeProps<ChatCompo
3295
4361
  * Flags to enable/disable visual elements of the {@link ChatComposite}.
3296
4362
  */
3297
4363
  options?: ChatCompositeOptions;
4364
+ /**
4365
+ * Optimizes the composite form factor for either desktop or mobile.
4366
+ * @remarks `mobile` is currently only optimized for Portrait mode on mobile devices and does not support landscape.
4367
+ * @defaultValue 'desktop'
4368
+ */
4369
+ formFactor?: 'desktop' | 'mobile';
3298
4370
  }
3299
4371
 
3300
4372
  /**
@@ -3309,6 +4381,10 @@ export declare interface ChatCompositeStrings {
3309
4381
  * Chat list header text
3310
4382
  */
3311
4383
  chatListHeader: string;
4384
+ /**
4385
+ * Upload File Button text
4386
+ */
4387
+ uploadFile: string;
3312
4388
  }
3313
4389
 
3314
4390
  /**
@@ -3357,7 +4433,7 @@ export declare type ChatErrors = {
3357
4433
  *
3358
4434
  * @public
3359
4435
  */
3360
- export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | 'ChatThreadClient.updateTopic';
4436
+ export declare type ChatErrorTarget = 'ChatClient.createChatThread' | 'ChatClient.deleteChatThread' | 'ChatClient.getChatThreadClient' | 'ChatClient.listChatThreads' | 'ChatClient.off' | 'ChatClient.on' | 'ChatClient.startRealtimeNotifications' | 'ChatClient.stopRealtimeNotifications' | 'ChatThreadClient.addParticipants' | 'ChatThreadClient.deleteMessage' | 'ChatThreadClient.getMessage' | 'ChatThreadClient.getProperties' | 'ChatThreadClient.listMessages' | 'ChatThreadClient.listParticipants' | 'ChatThreadClient.listReadReceipts' | 'ChatThreadClient.removeParticipant' | 'ChatThreadClient.sendMessage' | 'ChatThreadClient.sendReadReceipt' | 'ChatThreadClient.sendTypingNotification' | 'ChatThreadClient.updateMessage' | /* @conditional-compile-remove(chat-beta-sdk) */ 'ChatThreadClient.updateProperties' | 'ChatThreadClient.updateTopic';
3361
4437
 
3362
4438
  /**
3363
4439
  * Object containing all the handlers required for chat components.
@@ -3374,7 +4450,10 @@ export declare type ChatHandlers = {
3374
4450
  onRemoveParticipant: (userId: string) => Promise<void>;
3375
4451
  updateThreadTopicName: (topicName: string) => Promise<void>;
3376
4452
  onLoadPreviousChatMessages: (messagesToLoad: number) => Promise<boolean>;
3377
- onUpdateMessage: (messageId: string, content: string) => Promise<void>;
4453
+ onUpdateMessage: (messageId: string, content: string, options?: {
4454
+ metadata?: Record<string, string>;
4455
+ attachmentMetadata?: AttachmentMetadata[];
4456
+ }) => Promise<void>;
3378
4457
  onDeleteMessage: (messageId: string) => Promise<void>;
3379
4458
  };
3380
4459
 
@@ -3401,6 +4480,18 @@ export declare interface ChatMessage extends MessageCommon {
3401
4480
  * {@link @azure/communication-chat#ChatMessage.metadata}
3402
4481
  */
3403
4482
  metadata?: Record<string, string>;
4483
+ /**
4484
+ * @beta
4485
+ * A list of file attachments for the message.
4486
+ * {@link FileMetadata}
4487
+ */
4488
+ files?: FileMetadata[];
4489
+ /**
4490
+ * @beta
4491
+ * A list of inline images embedded in the message.
4492
+ * {@link InlineImageMetadata}
4493
+ */
4494
+ inlineImages?: InlineImageMetadata[];
3404
4495
  }
3405
4496
 
3406
4497
  /**
@@ -3414,6 +4505,7 @@ export declare interface ChatMessage extends MessageCommon {
3414
4505
  export declare type ChatMessageWithStatus = ChatMessage_2 & {
3415
4506
  clientMessageId?: string;
3416
4507
  status: MessageStatus;
4508
+ policyViolation?: boolean;
3417
4509
  };
3418
4510
 
3419
4511
  /**
@@ -3433,6 +4525,26 @@ export declare type ChatParticipantListSelector = (state: ChatClientState, props
3433
4525
  */
3434
4526
  export declare type ChatReturnProps<Component extends (props: any) => JSX.Element> = GetChatSelector<Component> extends (state: ChatClientState, props: any) => any ? ReturnType<GetChatSelector<Component>> & Common<ChatHandlers, Parameters<Component>[0]> : never;
3435
4527
 
4528
+ /**
4529
+ * Custom Fluent theme palette used by chat related components in this library.
4530
+ *
4531
+ * @beta
4532
+ */
4533
+ export declare interface ChatTheme {
4534
+ /**
4535
+ * Custom Fluent theme palette used by chat related components in this library.
4536
+ *
4537
+ * @beta
4538
+ */
4539
+ chatPalette: {
4540
+ modalOverlayBlack: string;
4541
+ modalTitleWhite: string;
4542
+ modalButtonBackground: string;
4543
+ modalButtonBackgroundHover: string;
4544
+ modalButtonBackgroundActive: string;
4545
+ };
4546
+ }
4547
+
3436
4548
  /**
3437
4549
  * A {@link React.Context} that stores a {@link @azure/communication-chat#ChatThreadClient}.
3438
4550
  *
@@ -3558,6 +4670,12 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
3558
4670
  * @public
3559
4671
  */
3560
4672
  startCall(participants: string[], options?: StartCallOptions): void;
4673
+ /**
4674
+ * Start the call.
4675
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
4676
+ * @beta
4677
+ */
4678
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
3561
4679
  }
3562
4680
 
3563
4681
  /**
@@ -3573,6 +4691,16 @@ export declare type CommonCallAdapterOptions = {
3573
4691
  videoBackgroundImages?: VideoBackgroundImage[];
3574
4692
  onResolveDependency?: () => Promise<VideoBackgroundEffectsDependency>;
3575
4693
  };
4694
+ /**
4695
+ * Use this to fetch profile information which will override data in {@link CallAdapterState} like display name
4696
+ * The onFetchProfile is fetch-and-forget one time action for each user, once a user profile is updated, the value will be cached
4697
+ * and would not be updated again within the lifecycle of adapter.
4698
+ */
4699
+ onFetchProfile?: OnFetchProfileCallback;
4700
+ /**
4701
+ * Sounds to use for calling events
4702
+ */
4703
+ callingSounds?: CallingSounds;
3576
4704
  };
3577
4705
 
3578
4706
  /**
@@ -3595,7 +4723,9 @@ export declare type CommonCallControlOptions = {
3595
4723
  * Show or Hide Camera Button during a call
3596
4724
  * @defaultValue true
3597
4725
  */
3598
- cameraButton?: boolean;
4726
+ cameraButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4727
+ disabled: boolean;
4728
+ };
3599
4729
  /**
3600
4730
  * Show or Hide EndCall button during a call.
3601
4731
  * @defaultValue true
@@ -3605,12 +4735,16 @@ export declare type CommonCallControlOptions = {
3605
4735
  * Show or Hide Microphone button during a call.
3606
4736
  * @defaultValue true
3607
4737
  */
3608
- microphoneButton?: boolean;
4738
+ microphoneButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4739
+ disabled: boolean;
4740
+ };
3609
4741
  /**
3610
4742
  * Show or Hide Devices button during a call.
3611
4743
  * @defaultValue true
3612
4744
  */
3613
- devicesButton?: boolean;
4745
+ devicesButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4746
+ disabled: boolean;
4747
+ };
3614
4748
  /**
3615
4749
  * Show, Hide or Disable participants button during a call.
3616
4750
  * @defaultValue true
@@ -3641,11 +4775,16 @@ export declare type CommonCallControlOptions = {
3641
4775
  * Inject custom buttons in the call controls.
3642
4776
  */
3643
4777
  onFetchCustomButtonProps?: CustomCallControlButtonCallback[];
4778
+ holdButton?: boolean | {
4779
+ disabled: boolean;
4780
+ };
3644
4781
  /**
3645
4782
  * Show or hide the people button in the composite control bar.
3646
4783
  * @defaultValue true
3647
4784
  */
3648
- peopleButton?: boolean;
4785
+ peopleButton?: boolean | /* @conditional-compile-remove(PSTN-calls) */ {
4786
+ disabled: boolean;
4787
+ };
3649
4788
  };
3650
4789
 
3651
4790
  /**
@@ -3670,6 +4809,9 @@ export declare interface CommonCallingHandlers {
3670
4809
  onRaiseHand: () => Promise<void>;
3671
4810
  onLowerHand: () => Promise<void>;
3672
4811
  onToggleRaiseHand: () => Promise<void>;
4812
+ onToggleHold: () => Promise<void>;
4813
+ onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
4814
+ onAddParticipant(participant: PhoneNumberIdentifier, options: AddPhoneNumberOptions): Promise<void>;
3673
4815
  onCreateLocalStreamView: (options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3674
4816
  onCreateRemoteStreamView: (userId: string, options?: VideoStreamOptions) => Promise<void | CreateVideoStreamViewResult>;
3675
4817
  /**
@@ -3679,7 +4821,10 @@ export declare interface CommonCallingHandlers {
3679
4821
  onDisposeLocalStreamView: () => Promise<void>;
3680
4822
  onDisposeRemoteVideoStreamView: (userId: string) => Promise<void>;
3681
4823
  onDisposeRemoteScreenShareStreamView: (userId: string) => Promise<void>;
4824
+ onSendDtmfTone: (dtmfTone: DtmfTone_2) => Promise<void>;
3682
4825
  onRemoveParticipant(userId: string): Promise<void>;
4826
+ onRemoveParticipant(participant: CommunicationIdentifier): Promise<void>;
4827
+ askDevicePermission: (constrain: PermissionConstraints) => Promise<void>;
3683
4828
  onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => void;
3684
4829
  onRemoveVideoBackgroundEffects: () => Promise<void>;
3685
4830
  onBlurVideoBackground: (backgroundBlurConfig?: BackgroundBlurConfig) => Promise<void>;
@@ -3688,6 +4833,7 @@ export declare interface CommonCallingHandlers {
3688
4833
  onStopCaptions: () => Promise<void>;
3689
4834
  onSetSpokenLanguage: (language: string) => Promise<void>;
3690
4835
  onSetCaptionLanguage: (language: string) => Promise<void>;
4836
+ onSubmitSurvey(survey: CallSurvey): Promise<CallSurveyResponse | undefined>;
3691
4837
  }
3692
4838
 
3693
4839
  /**
@@ -3699,6 +4845,39 @@ export declare type CommonProperties<A, B> = {
3699
4845
  [P in keyof A & keyof B]: A[P] extends B[P] ? P : never;
3700
4846
  }[keyof A & keyof B];
3701
4847
 
4848
+ /**
4849
+ * @beta
4850
+ * Props for SitePermissions components.
4851
+ */
4852
+ export declare interface CommonSitePermissionsProps {
4853
+ /**
4854
+ * Name of application calling experience is in.
4855
+ */
4856
+ appName: string;
4857
+ /**
4858
+ * Kind of the Site Permissions component.
4859
+ */
4860
+ kind: 'request' | 'denied' | 'check';
4861
+ /**
4862
+ * Type of the browser used, the Site permission component will show different guidance text based on the browser type
4863
+ */
4864
+ browserHint?: 'safari' | 'unset';
4865
+ /**
4866
+ * Action to be taken by the more help link. Possible to send to external page or show other modal.
4867
+ * If this is not provided the button will not be shown.
4868
+ */
4869
+ onTroubleshootingClick?: () => void;
4870
+ /**
4871
+ * Action that is taken when the user clicks the continue anyway button.
4872
+ * If this is not provided the button will not be shown.
4873
+ */
4874
+ onContinueAnywayClick?: () => void;
4875
+ /**
4876
+ * Styles for SitePermissions component.
4877
+ */
4878
+ styles?: SitePermissionsStyles;
4879
+ }
4880
+
3702
4881
  /**
3703
4882
  * A Chat or Calling participant's state, as reflected in the UI.
3704
4883
  *
@@ -3875,6 +5054,11 @@ export declare type ComponentIcons = Record<keyof typeof DEFAULT_COMPONENT_ICONS
3875
5054
  export declare interface ComponentLocale {
3876
5055
  /** Strings for components */
3877
5056
  strings: ComponentStrings;
5057
+ /**
5058
+ * Optional function to provide customized date format.
5059
+ * @beta
5060
+ */
5061
+ onDisplayDateTimeString?: (messageDate: Date) => string;
3878
5062
  }
3879
5063
 
3880
5064
  /**
@@ -3920,16 +5104,64 @@ export declare interface ComponentStrings {
3920
5104
  typingIndicator: TypingIndicatorStrings;
3921
5105
  /** Strings for SendBox */
3922
5106
  sendBox: SendBoxStrings;
5107
+ /** Strings for MentionPopover */
5108
+ mentionPopover: MentionPopoverStrings;
5109
+ /** Strings for ImageGallery */
5110
+ imageGallery: ImageGalleryStrings;
3923
5111
  /** Strings for MessageStatusIndicator */
3924
5112
  messageStatusIndicator: MessageStatusIndicatorStrings;
3925
5113
  /** Strings for ErroBar */
3926
5114
  errorBar: ErrorBarStrings;
3927
5115
  /** Strings for VideoGallery */
3928
5116
  videoGallery: VideoGalleryStrings;
5117
+ /** Strings for Dialpad */
5118
+ dialpad: DialpadStrings;
5119
+ /** Strings for VideoTile */
5120
+ videoTile: VideoTileStrings;
5121
+ /** Strings for HoldButton */
5122
+ holdButton: HoldButtonStrings;
5123
+ /** Strings for a site's permission request prompt */
5124
+ CameraAndMicrophoneSitePermissionsRequest: SitePermissionsStrings;
5125
+ /** Strings for a site's permission request prompt */
5126
+ CameraSitePermissionsRequest: SitePermissionsStrings;
5127
+ /** Strings for a site's permission request prompt */
5128
+ MicrophoneSitePermissionsRequest: SitePermissionsStrings;
5129
+ /** Strings for a site's permission generic checking prompt */
5130
+ CameraAndMicrophoneSitePermissionsCheck: SitePermissionsStrings;
5131
+ /** Strings for a site's permission generic checking prompt */
5132
+ CameraSitePermissionsCheck: SitePermissionsStrings;
5133
+ /** Strings for a site's permission generic checking prompt */
5134
+ MicrophoneSitePermissionsCheck: SitePermissionsStrings;
5135
+ /** Strings for a site's permission denied prompt */
5136
+ CameraAndMicrophoneSitePermissionsDenied: SitePermissionsStrings;
5137
+ /** Strings for a site's permission denied prompt for safari browsers*/
5138
+ CameraAndMicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
5139
+ /** Strings for a site's permission denied prompt */
5140
+ CameraSitePermissionsDenied: SitePermissionsStrings;
5141
+ /** Strings for a site's permission denied prompt */
5142
+ MicrophoneSitePermissionsDenied: SitePermissionsStrings;
5143
+ /** Strings for a site's permission denied prompt for safari browsers*/
5144
+ CameraSitePermissionsDeniedSafari: SitePermissionsStrings;
5145
+ /** Strings for a site's permission denied prompt for safari browsers*/
5146
+ MicrophoneSitePermissionsDeniedSafari: SitePermissionsStrings;
5147
+ /** Strings for unsupported browser UI */
5148
+ UnsupportedBrowser: UnsupportedBrowserStrings;
5149
+ /** Strings for unsupported browser version UI */
5150
+ UnsupportedBrowserVersion: UnsupportedBrowserVersionStrings;
5151
+ /** Strings for unsupported browser version UI */
5152
+ UnsupportedOperatingSystem: UnsupportedOperatingSystemStrings;
5153
+ /** Strings for BrowserPemissionDenied */
5154
+ BrowserPermissionDenied: BrowserPermissionDeniedStrings;
5155
+ /** Strings for BrowserPemissionDeniedIOS */
5156
+ BrowserPermissionDeniedIOS: BrowserPermissionDeniedIOSStrings;
3929
5157
  /**
3930
5158
  * Strings for the VerticalGallery.
3931
5159
  */
3932
5160
  verticalGallery: VerticalGalleryStrings;
5161
+ /** Strings for the participant list component */
5162
+ ParticipantList: ParticipantListStrings;
5163
+ /** Strings for the attendee role */
5164
+ AttendeeRole: string;
3933
5165
  }
3934
5166
 
3935
5167
  /**
@@ -4292,7 +5524,7 @@ export declare interface ControlBarProps {
4292
5524
  *
4293
5525
  * @public
4294
5526
  */
4295
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
5527
+ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
4296
5528
 
4297
5529
  /**
4298
5530
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -4302,7 +5534,7 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
4302
5534
  *
4303
5535
  * @public
4304
5536
  */
4305
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, /* @conditional-compile-remove(video-background-effects) */ options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
5537
+ export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
4306
5538
 
4307
5539
  /**
4308
5540
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -4310,7 +5542,7 @@ export declare const createAzureCommunicationCallAdapterFromClient: (callClient:
4310
5542
  *
4311
5543
  * @public
4312
5544
  */
4313
- export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
5545
+ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, displayName, credential, endpoint, locator, alternateCallerId, callAdapterOptions }: AzureCommunicationCallWithChatAdapterArgs) => Promise<CallWithChatAdapter>;
4314
5546
 
4315
5547
  /**
4316
5548
  * Create a {@link CallWithChatAdapter} using the provided {@link StatefulChatClient} and {@link StatefulCallClient}.
@@ -4321,7 +5553,7 @@ export declare const createAzureCommunicationCallWithChatAdapter: ({ userId, dis
4321
5553
  *
4322
5554
  * @public
4323
5555
  */
4324
- export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
5556
+ export declare const createAzureCommunicationCallWithChatAdapterFromClients: ({ callClient, callAgent, callLocator, chatClient, chatThreadClient, callAdapterOptions, chatAdapterOptions }: AzureCommunicationCallWithChatAdapterFromClientArgs) => Promise<CallWithChatAdapter>;
4325
5557
 
4326
5558
  /**
4327
5559
  * Create a {@link ChatAdapter} backed by Azure Communication Services.
@@ -4340,14 +5572,16 @@ export declare const createAzureCommunicationChatAdapter: ({ endpoint: endpointU
4340
5572
  *
4341
5573
  * @public
4342
5574
  */
4343
- export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient): Promise<ChatAdapter>;
5575
+ export declare function createAzureCommunicationChatAdapterFromClient(chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient, options?: {
5576
+ credential?: CommunicationTokenCredential;
5577
+ }): Promise<ChatAdapter>;
4344
5578
 
4345
5579
  /**
4346
5580
  * Type of {@link createDefaultCallingHandlers}.
4347
5581
  *
4348
5582
  * @public
4349
5583
  */
4350
- export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, /* @conditional-compile-remove(video-background-effects) */ options?: CallingHandlersOptions) => CallingHandlers;
5584
+ export declare type CreateDefaultCallingHandlers = (callClient: StatefulCallClient, callAgent: CallAgent | undefined, deviceManager: StatefulDeviceManager | undefined, call: Call | undefined, options?: CallingHandlersOptions) => CallingHandlers;
4351
5585
 
4352
5586
  /**
4353
5587
  * Create the default implementation of {@link CallingHandlers} for teams call.
@@ -4371,6 +5605,18 @@ export declare const createDefaultCallingHandlers: CreateDefaultCallingHandlers;
4371
5605
  */
4372
5606
  export declare const createDefaultChatHandlers: (chatClient: StatefulChatClient, chatThreadClient: ChatThreadClient) => ChatHandlers;
4373
5607
 
5608
+ /**
5609
+ * Create the default implementation of {@link TeamsCallingHandlers} for teams call.
5610
+ *
5611
+ * Useful when implementing a custom component that utilizes the providers
5612
+ * exported from this library.
5613
+ *
5614
+ * @beta
5615
+ */
5616
+ 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, options?: {
5617
+ onResolveVideoBackgroundEffectsDependency?: () => Promise<VideoBackgroundEffectsDependency>;
5618
+ }) => never | TeamsCallingHandlers;
5619
+
4374
5620
  /**
4375
5621
  * Creates a StatefulCallClient {@link StatefulCallClient} by proxying CallClient
4376
5622
  * {@link @azure/communication-calling#CallClient} with ProxyCallClient {@link ProxyCallClient} which then allows access
@@ -4396,6 +5642,21 @@ export declare const createStatefulCallClient: (args: StatefulCallClientArgs, op
4396
5642
  */
4397
5643
  export declare const createStatefulChatClient: (args: StatefulChatClientArgs, options?: StatefulChatClientOptions) => StatefulChatClient;
4398
5644
 
5645
+ /**
5646
+ * @beta
5647
+ */
5648
+ export declare const createTeamsCallAdapter: ({ userId, credential, locator, options }: TeamsCallAdapterArgs) => Promise<TeamsCallAdapter>;
5649
+
5650
+ /**
5651
+ * Create a {@link TeamsCallAdapter} using the provided {@link StatefulCallClient}.
5652
+ *
5653
+ * Useful if you want to keep a reference to {@link StatefulCallClient}.
5654
+ * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
5655
+ *
5656
+ * @beta
5657
+ */
5658
+ export declare const createTeamsCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: TeamsCallAgent, locator: CallAdapterLocator, options?: TeamsAdapterOptions) => Promise<TeamsCallAdapter>;
5659
+
4399
5660
  /**
4400
5661
  * Object returned after creating a local or remote VideoStream.
4401
5662
  * This contains helper functions to manipulate the render of the stream.
@@ -4446,6 +5707,13 @@ export declare type CustomAvatarOptions = {
4446
5707
  styles?: IStyleFunctionOrObject<IPersonaStyleProps, IPersonaStyles>;
4447
5708
  /** Display name to be used in Persona */
4448
5709
  text?: string;
5710
+ /** State for the participant to be displayed in the defaultPlaceHolder */
5711
+ participantState?: ParticipantState;
5712
+ /**
5713
+ * If true, show the special coin for unknown persona.
5714
+ * It has '?' in place of initials, with static font and background colors
5715
+ */
5716
+ showUnknownPersonaCoin?: boolean;
4449
5717
  };
4450
5718
 
4451
5719
  /**
@@ -4571,7 +5839,19 @@ export declare interface CustomMessage extends MessageCommon {
4571
5839
  *
4572
5840
  * @public
4573
5841
  */
4574
- export declare const darkTheme: PartialTheme & CallingTheme;
5842
+ export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
5843
+
5844
+ /**
5845
+ * @beta
5846
+ * `DeclarativeCallAgent` extends and proxies the {@link @azure/communication-calling#CallAgent}
5847
+ */
5848
+ export declare type DeclarativeCallAgent = CallAgent & IncomingCallManagement;
5849
+
5850
+ /**
5851
+ * @beta
5852
+ * Proxies the {@link @azure/communication-calling#IncomingCall} interface.
5853
+ */
5854
+ export declare type DeclarativeIncomingCall = IncomingCall;
4575
5855
 
4576
5856
  /**
4577
5857
  * The default set of icons that are available to use in the UI components.
@@ -4589,12 +5869,16 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4589
5869
  ControlButtonMicOn: React_2.JSX.Element;
4590
5870
  ControlButtonOptions: React_2.JSX.Element;
4591
5871
  ControlButtonParticipants: React_2.JSX.Element;
5872
+ ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
4592
5873
  ControlButtonScreenShareStart: React_2.JSX.Element;
4593
5874
  ControlButtonScreenShareStop: React_2.JSX.Element;
4594
5875
  ControlButtonRaiseHand: React_2.JSX.Element;
4595
5876
  ControlButtonLowerHand: React_2.JSX.Element;
4596
5877
  RaiseHandContextualMenuItem: React_2.JSX.Element;
4597
5878
  LowerHandContextualMenuItem: React_2.JSX.Element;
5879
+ CancelFileUpload: React_2.JSX.Element;
5880
+ DownloadFile: React_2.JSX.Element;
5881
+ DataLossPreventionProhibited: React_2.JSX.Element;
4598
5882
  EditBoxCancel: React_2.JSX.Element;
4599
5883
  EditBoxSubmit: React_2.JSX.Element;
4600
5884
  ErrorBarCallCameraAccessDenied: React_2.JSX.Element;
@@ -4627,9 +5911,20 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4627
5911
  ParticipantItemOptions: React_2.JSX.Element;
4628
5912
  ParticipantItemOptionsHovered: React_2.JSX.Element;
4629
5913
  ParticipantItemScreenShareStart: React_2.JSX.Element;
5914
+ HoldCallContextualMenuItem: React_2.JSX.Element;
5915
+ HoldCallButton: React_2.JSX.Element;
5916
+ ResumeCall: React_2.JSX.Element;
4630
5917
  SendBoxSend: React_2.JSX.Element;
4631
5918
  SendBoxSendHovered: React_2.JSX.Element;
4632
5919
  VideoTileMicOff: React_2.JSX.Element;
5920
+ DialpadBackspace: React_2.JSX.Element;
5921
+ SitePermissionsSparkle: React_2.JSX.Element;
5922
+ SitePermissionCamera: React_2.JSX.Element;
5923
+ SitePermissionMic: React_2.JSX.Element;
5924
+ SitePermissionCameraDenied: React_2.JSX.Element;
5925
+ SitePermissionMicDenied: React_2.JSX.Element;
5926
+ UnsupportedEnvironmentWarning: React_2.JSX.Element;
5927
+ BrowserPermissionDeniedError: React_2.JSX.Element;
4633
5928
  VideoTilePinned: React_2.JSX.Element;
4634
5929
  VideoTileMoreOptions: React_2.JSX.Element;
4635
5930
  VideoTileScaleFit: React_2.JSX.Element;
@@ -4652,6 +5947,8 @@ export declare const DEFAULT_COMPONENT_ICONS: {
4652
5947
  ContextMenuCameraIcon: React_2.JSX.Element;
4653
5948
  ContextMenuMicIcon: React_2.JSX.Element;
4654
5949
  ContextMenuSpeakerIcon: React_2.JSX.Element;
5950
+ SurveyStarIcon: React_2.JSX.Element;
5951
+ SurveyStarIconFilled: React_2.JSX.Element;
4655
5952
  };
4656
5953
 
4657
5954
  /**
@@ -4672,6 +5969,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4672
5969
  ParticipantItemOptionsHovered: JSX.Element;
4673
5970
  SendBoxSend: JSX.Element;
4674
5971
  SendBoxSendHovered: JSX.Element;
5972
+ SendBoxAttachFile?: JSX.Element | undefined;
4675
5973
  ControlBarPeopleButton?: JSX.Element | undefined;
4676
5974
  ControlButtonCameraOff: JSX.Element;
4677
5975
  ControlButtonCameraOn: JSX.Element;
@@ -4714,6 +6012,7 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4714
6012
  NoticePageJoinCallFailedDueToNoNetwork?: JSX.Element | undefined;
4715
6013
  NoticePageLeftCall?: JSX.Element | undefined;
4716
6014
  NoticePageRemovedFromCall?: JSX.Element | undefined;
6015
+ NoticePageCallRejected?: JSX.Element | undefined;
4717
6016
  NoticePageNotInvitedToRoom?: JSX.Element | undefined;
4718
6017
  NoticePageRoomNotFound?: JSX.Element | undefined;
4719
6018
  NoticePageRoomNotValid?: JSX.Element | undefined;
@@ -4724,6 +6023,9 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4724
6023
  ParticipantItemScreenShareStart: JSX.Element;
4725
6024
  VideoTileMicOff: JSX.Element;
4726
6025
  LocalCameraSwitch?: JSX.Element | undefined;
6026
+ PeoplePaneAddPerson?: JSX.Element | undefined;
6027
+ PeoplePaneOpenDialpad?: JSX.Element | undefined;
6028
+ DialpadStartCall?: JSX.Element | undefined;
4727
6029
  NoticePageInviteToRoomRemoved?: JSX.Element | undefined;
4728
6030
  BlurVideoBackground?: JSX.Element | undefined;
4729
6031
  RemoveVideoBackgroundEffect?: JSX.Element | undefined;
@@ -4744,11 +6046,25 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4744
6046
  MoreDrawerSelectedMicrophone?: JSX.Element | undefined;
4745
6047
  MoreDrawerSelectedSpeaker?: JSX.Element | undefined;
4746
6048
  MoreDrawerSpeakers?: JSX.Element | undefined;
4747
- SendBoxAttachFile?: JSX.Element | undefined;
4748
6049
  ChatMessageOptions: React_2.JSX.Element;
6050
+ ControlButtonParticipantsContextualMenuItem: React_2.JSX.Element;
6051
+ CancelFileUpload: React_2.JSX.Element;
6052
+ DownloadFile: React_2.JSX.Element;
6053
+ DataLossPreventionProhibited: React_2.JSX.Element;
4749
6054
  ErrorBarCallVideoRecoveredBySystem: React_2.JSX.Element;
4750
6055
  ErrorBarCallVideoStoppedBySystem: React_2.JSX.Element;
4751
6056
  MessageResend: React_2.JSX.Element;
6057
+ HoldCallContextualMenuItem: React_2.JSX.Element;
6058
+ HoldCallButton: React_2.JSX.Element;
6059
+ ResumeCall: React_2.JSX.Element;
6060
+ DialpadBackspace: React_2.JSX.Element;
6061
+ SitePermissionsSparkle: React_2.JSX.Element;
6062
+ SitePermissionCamera: React_2.JSX.Element;
6063
+ SitePermissionMic: React_2.JSX.Element;
6064
+ SitePermissionCameraDenied: React_2.JSX.Element;
6065
+ SitePermissionMicDenied: React_2.JSX.Element;
6066
+ UnsupportedEnvironmentWarning: React_2.JSX.Element;
6067
+ BrowserPermissionDeniedError: React_2.JSX.Element;
4752
6068
  VideoTilePinned: React_2.JSX.Element;
4753
6069
  VideoTileMoreOptions: React_2.JSX.Element;
4754
6070
  VideoTileScaleFit: React_2.JSX.Element;
@@ -4771,8 +6087,33 @@ export declare const DEFAULT_COMPOSITE_ICONS: {
4771
6087
  ContextMenuCameraIcon: React_2.JSX.Element;
4772
6088
  ContextMenuMicIcon: React_2.JSX.Element;
4773
6089
  ContextMenuSpeakerIcon: React_2.JSX.Element;
6090
+ SurveyStarIcon: React_2.JSX.Element;
6091
+ SurveyStarIconFilled: React_2.JSX.Element;
4774
6092
  };
4775
6093
 
6094
+ /**
6095
+ * Device Checks.
6096
+ * Choose whether or not to block starting a call depending on camera and microphone permission options.
6097
+ *
6098
+ * @beta
6099
+ */
6100
+ export declare interface DeviceCheckOptions {
6101
+ /**
6102
+ * Camera Permission prompts for your call.
6103
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
6104
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
6105
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
6106
+ */
6107
+ camera: 'required' | 'optional' | 'doNotPrompt';
6108
+ /**
6109
+ * Microphone permission prompts for your call.
6110
+ * 'required' - requires the permission to be allowed before permitting the user join the call.
6111
+ * 'optional' - permission can be disallowed and the user is still permitted to join the call.
6112
+ * 'doNotPrompt' - permission is not required and the user is not prompted to allow the permission.
6113
+ */
6114
+ microphone: 'required' | 'optional' | 'doNotPrompt';
6115
+ }
6116
+
4776
6117
  /**
4777
6118
  * This type is meant to encapsulate all the state inside {@link @azure/communication-calling#DeviceManager}. For
4778
6119
  * optional parameters they may not be available until permission is granted by the user. The cameras, microphones,
@@ -4991,6 +6332,60 @@ export declare interface DiagnosticsCallFeatureState {
4991
6332
  media: MediaDiagnosticsState;
4992
6333
  }
4993
6334
 
6335
+ /**
6336
+ * A component to allow users to enter phone number through clicking on dialpad/using keyboard
6337
+ * It will return empty component for stable builds
6338
+ *
6339
+ * @beta
6340
+ */
6341
+ export declare const Dialpad: (props: DialpadProps) => JSX.Element;
6342
+
6343
+ /**
6344
+ * Props for {@link Dialpad} component.
6345
+ *
6346
+ * @beta
6347
+ */
6348
+ export declare interface DialpadProps {
6349
+ strings?: DialpadStrings;
6350
+ /** function to send dtmf tones on button click */
6351
+ onSendDtmfTone?: (dtmfTone: DtmfTone) => Promise<void>;
6352
+ /** Callback for dialpad button behavior*/
6353
+ onClickDialpadButton?: (buttonValue: string, buttonIndex: number) => void;
6354
+ /** set dialpad textfield content */
6355
+ textFieldValue?: string;
6356
+ /** on change function for text field, provides an unformatted plain text*/
6357
+ onChange?: (input: string) => void;
6358
+ /** boolean input to determine when to show/hide delete button, default true */
6359
+ showDeleteButton?: boolean;
6360
+ /** boolean input to determine if dialpad is in mobile view, default false */
6361
+ isMobile?: boolean;
6362
+ styles?: DialpadStyles;
6363
+ }
6364
+
6365
+ /**
6366
+ * Strings of {@link Dialpad} that can be overridden.
6367
+ *
6368
+ * @beta
6369
+ */
6370
+ export declare interface DialpadStrings {
6371
+ placeholderText: string;
6372
+ deleteButtonAriaLabel?: string;
6373
+ }
6374
+
6375
+ /**
6376
+ * Styles for {@link Dialpad} component.
6377
+ *
6378
+ * @beta
6379
+ */
6380
+ export declare interface DialpadStyles {
6381
+ root?: IStyle;
6382
+ button?: IButtonStyles;
6383
+ textField?: Partial<ITextFieldStyles>;
6384
+ digit?: IStyle;
6385
+ letter?: IStyle;
6386
+ deleteIcon?: IButtonStyles;
6387
+ }
6388
+
4994
6389
  /**
4995
6390
  * Callback for {@link CallAdapterSubscribers} 'displayNameChanged' event.
4996
6391
  *
@@ -5012,6 +6407,13 @@ declare interface Disposable_2 {
5012
6407
  }
5013
6408
  export { Disposable_2 as Disposable }
5014
6409
 
6410
+ /**
6411
+ * DTMF tone for PSTN calls.
6412
+ *
6413
+ * @beta
6414
+ */
6415
+ export declare type DtmfTone = 'A' | 'B' | 'C' | 'D' | 'Flash' | 'Num0' | 'Num1' | 'Num2' | 'Num3' | 'Num4' | 'Num5' | 'Num6' | 'Num7' | 'Num8' | 'Num9' | 'Pound' | 'Star';
6416
+
5015
6417
  /**
5016
6418
  * A type for trivial selectors that return no data.
5017
6419
  *
@@ -5265,6 +6667,206 @@ export declare interface ErrorBarStrings {
5265
6667
  */
5266
6668
  export declare type ErrorType = keyof ErrorBarStrings;
5267
6669
 
6670
+ /**
6671
+ * @beta
6672
+ * A file download error returned via a {@link FileDownloadHandler}.
6673
+ * This error message is used to render an error message in the UI.
6674
+ */
6675
+ export declare interface FileDownloadError {
6676
+ /** The error message to display in the UI */
6677
+ errorMessage: string;
6678
+ }
6679
+
6680
+ /**
6681
+ * @beta
6682
+ *
6683
+ * A callback function for handling file downloads.
6684
+ * The function needs to return a promise that resolves to a file download URL.
6685
+ * If the promise is rejected, the {@link Error.message} will be used to display an error message to the user.
6686
+ *
6687
+ * @example
6688
+ * ```ts
6689
+ * const fileDownloadHandler: FileDownloadHandler = async (userId, fileData) => {
6690
+ * if (isUnauthorizedUser(userId)) {
6691
+ * return { errorMessage: 'You don’t have permission to download this file.' };
6692
+ * } else {
6693
+ * return new URL(fileData.url);
6694
+ * }
6695
+ * }
6696
+ *
6697
+ * const App = () => (
6698
+ * <ChatComposite
6699
+ * ...
6700
+ * fileSharing={{
6701
+ * fileDownloadHandler: fileDownloadHandler
6702
+ * }}
6703
+ * />
6704
+ * )
6705
+ *
6706
+ * ```
6707
+ * @param userId - The user ID of the user downloading the file.
6708
+ * @param fileMetadata - The {@link AttachmentMetadata} containing file `url`, `extension` and `name`.
6709
+ */
6710
+ export declare type FileDownloadHandler = (userId: string, fileMetadata: AttachmentMetadata) => Promise<URL | FileDownloadError>;
6711
+
6712
+ /**
6713
+ * Metadata containing basic information about the uploaded file.
6714
+ *
6715
+ * @beta
6716
+ */
6717
+ export declare interface FileMetadata {
6718
+ attachmentType: 'file';
6719
+ /**
6720
+ * Extension hint, useful for rendering a specific icon.
6721
+ * An unknown or empty extension will be rendered as a generic icon.
6722
+ * Example: `pdf`
6723
+ */
6724
+ extension: string;
6725
+ /**
6726
+ * Unique ID of the file.
6727
+ */
6728
+ id: string;
6729
+ /**
6730
+ * File name to be displayed.
6731
+ */
6732
+ name: string;
6733
+ /**
6734
+ * Download URL for the file.
6735
+ */
6736
+ url: string;
6737
+ payload?: Record<string, string>;
6738
+ }
6739
+
6740
+ /**
6741
+ * Properties for configuring the File Sharing feature.
6742
+ * @beta
6743
+ */
6744
+ export declare interface FileSharingOptions {
6745
+ /**
6746
+ * A string containing the comma separated list of accepted file types.
6747
+ * Similar to the `accept` attribute of the `<input type="file" />` element.
6748
+ * Accepts any type of file if not specified.
6749
+ * @beta
6750
+ */
6751
+ accept?: string;
6752
+ /**
6753
+ * Allows multiple files to be selected if set to `true`.
6754
+ * Similar to the `multiple` attribute of the `<input type="file" />` element.
6755
+ * @defaultValue false
6756
+ * @beta
6757
+ */
6758
+ multiple?: boolean;
6759
+ /**
6760
+ * A function of type {@link FileUploadHandler} for handling file uploads.
6761
+ * @beta
6762
+ */
6763
+ uploadHandler: FileUploadHandler;
6764
+ /**
6765
+ * A function of type {@link FileDownloadHandler} for handling file downloads.
6766
+ * If the function is not specified, the file's `url` will be opened in a new tab to
6767
+ * initiate the download.
6768
+ */
6769
+ downloadHandler?: FileDownloadHandler;
6770
+ }
6771
+
6772
+ /**
6773
+ * @beta
6774
+ */
6775
+ export declare interface FileUploadAdapter {
6776
+ registerActiveFileUploads: (files: File[]) => FileUploadManager[];
6777
+ registerCompletedFileUploads: (metadata: AttachmentMetadata[]) => FileUploadManager[];
6778
+ clearFileUploads: () => void;
6779
+ cancelFileUpload: (id: string) => void;
6780
+ updateFileUploadProgress: (id: string, progress: number) => void;
6781
+ updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
6782
+ updateFileUploadMetadata: (id: string, metadata: AttachmentMetadata) => void;
6783
+ }
6784
+
6785
+ /**
6786
+ * @beta
6787
+ * Error message to be displayed to the user if the upload fails.
6788
+ */
6789
+ export declare type FileUploadError = {
6790
+ message: string;
6791
+ timestamp: number;
6792
+ };
6793
+
6794
+ /**
6795
+ * @beta
6796
+ * A callback function for handling file uploads.
6797
+ *
6798
+ * @param userId - The user ID of the user uploading the file.
6799
+ * @param fileUploads - The list of uploaded files. Each file is represented by an {@link FileUpload} object.
6800
+ */
6801
+ export declare type FileUploadHandler = (userId: string, fileUploads: FileUploadManager[]) => void;
6802
+
6803
+ /**
6804
+ * A wrapper object for a file that is being uploaded.
6805
+ * Allows managing file uploads by providing common functions for updating the
6806
+ * upload progress, canceling an upload, completing an upload etc.
6807
+ * @beta
6808
+ */
6809
+ export declare interface FileUploadManager {
6810
+ /**
6811
+ * Unique identifier for the file upload.
6812
+ */
6813
+ id: string;
6814
+ /**
6815
+ * HTML {@link File} object for the uploaded file.
6816
+ */
6817
+ file?: File;
6818
+ /**
6819
+ * Update the progress of the upload.
6820
+ * @param value - number between 0 and 1
6821
+ */
6822
+ notifyUploadProgressChanged: (value: number) => void;
6823
+ /**
6824
+ * Mark the upload as complete.
6825
+ * Requires the `metadata` param containing uploaded file information.
6826
+ * @param metadata - {@link AttachmentMetadata}
6827
+ */
6828
+ notifyUploadCompleted: (metadata: AttachmentMetadata) => void;
6829
+ /**
6830
+ * Mark the upload as failed.
6831
+ * @param message - An error message that can be displayed to the user.
6832
+ */
6833
+ notifyUploadFailed: (message: string) => void;
6834
+ }
6835
+
6836
+ /**
6837
+ * Contains the state attributes of a file upload like name, progress etc.
6838
+ * @beta
6839
+ */
6840
+ export declare interface FileUploadState {
6841
+ /**
6842
+ * Unique identifier for the file upload.
6843
+ */
6844
+ id: string;
6845
+ /**
6846
+ * Filename extracted from the {@link File} object.
6847
+ * This attribute is used to render the filename if `metadata.name` is not available.
6848
+ */
6849
+ filename: string;
6850
+ /**
6851
+ * A number between 0 and 1 indicating the progress of the upload.
6852
+ */
6853
+ progress: number;
6854
+ /**
6855
+ * Metadata {@link AttachmentMetadata} containing information about the uploaded file.
6856
+ */
6857
+ metadata?: AttachmentMetadata;
6858
+ /**
6859
+ * Error message to be displayed to the user if the upload fails.
6860
+ */
6861
+ error?: FileUploadError;
6862
+ }
6863
+
6864
+ /**
6865
+ * A record containing {@link FileUploadState} mapped to unique ids.
6866
+ * @beta
6867
+ */
6868
+ export declare type FileUploadsUiState = Record<string, FileUploadState>;
6869
+
5268
6870
  /**
5269
6871
  * Provider to apply a Fluent theme across this library's react components.
5270
6872
  *
@@ -5304,7 +6906,7 @@ export declare const fromFlatCommunicationIdentifier: (id: string) => Communicat
5304
6906
  *
5305
6907
  * @public
5306
6908
  */
5307
- 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;
6909
+ 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;
5308
6910
 
5309
6911
  /**
5310
6912
  * Get the selector for a specified component.
@@ -5366,6 +6968,63 @@ export declare interface GridLayoutStyles extends BaseCustomStyles {
5366
6968
  children?: IStyle;
5367
6969
  }
5368
6970
 
6971
+ /**
6972
+ * a button to hold or resume a ongoing call.
6973
+ *
6974
+ * Can be used with {@link ControlBar}
6975
+ *
6976
+ * @param props - properties for the hold button.
6977
+ * @returns
6978
+ * @beta
6979
+ */
6980
+ export declare const HoldButton: (props: HoldButtonProps) => JSX.Element;
6981
+
6982
+ /**
6983
+ *@beta
6984
+ */
6985
+ export declare interface HoldButtonProps extends ControlBarButtonProps {
6986
+ /**
6987
+ * Utility property for using this component with communication react handlers
6988
+ * Holds the call or resumes it based on call state.
6989
+ */
6990
+ onToggleHold: () => Promise<void>;
6991
+ /**
6992
+ * Optional strings to override in component
6993
+ */
6994
+ strings?: HoldButtonStrings;
6995
+ }
6996
+
6997
+ /**
6998
+ * Selector type for the {@link HoldButton} component.
6999
+ * @public
7000
+ */
7001
+ export declare type HoldButtonSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
7002
+ checked: boolean;
7003
+ };
7004
+
7005
+ /**
7006
+ * Strings for the hold button labels
7007
+ * @beta
7008
+ */
7009
+ export declare interface HoldButtonStrings {
7010
+ /**
7011
+ * Label for when action is to resume call.
7012
+ */
7013
+ onLabel: string;
7014
+ /**
7015
+ * Label for when action is to hold call.
7016
+ */
7017
+ offLabel: string;
7018
+ /**
7019
+ * Content for when button is checked
7020
+ */
7021
+ tooltipOnContent: string;
7022
+ /**
7023
+ * Content for when button is unchecked
7024
+ */
7025
+ tooltipOffContent: string;
7026
+ }
7027
+
5369
7028
  /**
5370
7029
  * {@link HorizontalGallery} Component Styles.
5371
7030
  * @public
@@ -5450,8 +7109,99 @@ export declare interface _Identifiers {
5450
7109
  verticalGalleryVideoTile: string;
5451
7110
  /** `data-ui-id` value for `VerticalGallery` Component's page counter */
5452
7111
  verticalGalleryPageCounter: string;
7112
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list */
7113
+ mentionSuggestionList: string;
7114
+ /** `data-ui-id` value for `MentionPopover` Component's suggestion list item */
7115
+ mentionSuggestionItem: string;
7116
+ }
7117
+
7118
+ /**
7119
+ * Component to render a fullscreen modal for a selected image.
7120
+ *
7121
+ * @beta
7122
+ */
7123
+ export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
7124
+
7125
+ /**
7126
+ * Props for {@link ImageGallery}.
7127
+ *
7128
+ * @beta
7129
+ */
7130
+ export declare interface ImageGalleryImageProps {
7131
+ /** Image Url used to display the image in a large scale. */
7132
+ imageUrl: string;
7133
+ /** String used as a file name when downloading this image to user's local device. */
7134
+ downloadFilename: string;
7135
+ /** Optional string used as a alt text for the image. @default 'image' */
7136
+ altText?: string;
7137
+ /** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
7138
+ title?: string;
7139
+ /** Optional JSX element used as a title icon and displayed to the left of the title element. */
7140
+ titleIcon?: JSX.Element;
7141
+ }
7142
+
7143
+ /**
7144
+ * Props for {@link ImageGallery}.
7145
+ *
7146
+ * @beta
7147
+ */
7148
+ export declare interface ImageGalleryProps {
7149
+ /**
7150
+ * Boolean that controls whether the modal is displayed.
7151
+ */
7152
+ isOpen: boolean;
7153
+ /**
7154
+ * Array of images used to populate the ImageGallery
7155
+ */
7156
+ images: Array<ImageGalleryImageProps>;
7157
+ /**
7158
+ * Callback to invoke when the ImageGallery modal is dismissed
7159
+ */
7160
+ onDismiss: () => void;
7161
+ /**
7162
+ * Callback called when the download button is clicked.
7163
+ */
7164
+ onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
7165
+ /**
7166
+ * Callback called when there's an error loading the image.
7167
+ */
7168
+ onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
7169
+ /**
7170
+ * Indicating which index of the images array to start with.
7171
+ */
7172
+ startIndex?: number;
7173
+ }
7174
+
7175
+ /**
7176
+ * Strings of {@link ImageGallery} that can be overridden.
7177
+ *
7178
+ * @beta
7179
+ */
7180
+ export declare interface ImageGalleryStrings {
7181
+ /**
7182
+ * Download button label for ImageGallery
7183
+ */
7184
+ downloadButtonLabel: string;
7185
+ /**
7186
+ * Dismiss button aria label for ImageGallery
7187
+ */
7188
+ dismissButtonAriaLabel: string;
5453
7189
  }
5454
7190
 
7191
+ /**
7192
+ * @beta
7193
+ * This contains a readonly array that returns all the active `incomingCalls`.
7194
+ * An active incoming call is a call that has not been answered, declined or disconnected.
7195
+ */
7196
+ export declare type IncomingCallManagement = {
7197
+ /**
7198
+ * @beta
7199
+ * @Remark This attribute doesn't exist on the {@link @azure/communication-calling#CallAgent} interface.
7200
+ * @returns readonly array of {@link DeclarativeIncomingCall}
7201
+ */
7202
+ incomingCalls: ReadonlyArray<DeclarativeIncomingCall>;
7203
+ };
7204
+
5455
7205
  /**
5456
7206
  * State only version of {@link @azure/communication-calling#IncomingCall}. {@link StatefulCallClient} will
5457
7207
  * automatically detect incoming calls and add their state to the state exposed by {@link StatefulCallClient}.
@@ -5484,6 +7234,24 @@ export declare interface IncomingCallState {
5484
7234
  endTime?: Date;
5485
7235
  }
5486
7236
 
7237
+ /**
7238
+ * Metadata for rendering images inline with a message.
7239
+ * This does not include images attached as files.
7240
+ * @beta
7241
+ */
7242
+ export declare interface InlineImageMetadata {
7243
+ attachmentType: 'inlineImage';
7244
+ /**
7245
+ * Unique ID of the attachment.
7246
+ */
7247
+ id: string;
7248
+ previewUrl?: string;
7249
+ /**
7250
+ * Download URL for the full resolution version.
7251
+ */
7252
+ url: string;
7253
+ }
7254
+
5487
7255
  /**
5488
7256
  * Callback for {@link CallAdapterSubscribers} 'isCaptionLanguageChanged' event.
5489
7257
  *
@@ -5582,7 +7350,7 @@ export declare interface JumpToNewMessageButtonProps {
5582
7350
  *
5583
7351
  * @public
5584
7352
  */
5585
- export declare const lightTheme: PartialTheme & CallingTheme;
7353
+ export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
5586
7354
 
5587
7355
  /**
5588
7356
  * Whether the stream is loading or not.
@@ -5668,6 +7436,24 @@ export declare interface LocalVideoStreamVideoEffectsState {
5668
7436
  activeEffects?: VideoEffectName[];
5669
7437
  }
5670
7438
 
7439
+ /**
7440
+ * Options for the local video tile in the Call composite.
7441
+ *
7442
+ * @beta
7443
+ */
7444
+ export declare interface LocalVideoTileOptions {
7445
+ /**
7446
+ * Position of the local video tile. If unset will render the local tile in the floating local position.
7447
+ *
7448
+ * @defaultValue 'floating'
7449
+ * @remarks 'grid' - local video tile will be rendered in the grid view of the videoGallery.
7450
+ * 'floating' - local video tile will be rendered in the floating position and will observe overflow gallery
7451
+ * local video tile rules and be docked in the bottom corner.
7452
+ * This does not affect the Configuration screen or the side pane Picture in Picture in Picture view.
7453
+ */
7454
+ position?: 'grid' | 'floating';
7455
+ }
7456
+
5671
7457
  /**
5672
7458
  * different modes of the local video tile
5673
7459
  *
@@ -5693,6 +7479,76 @@ export declare interface MediaDiagnosticsState {
5693
7479
  latest: LatestMediaDiagnostics;
5694
7480
  }
5695
7481
 
7482
+ /**
7483
+ * Mention's state, as reflected in the UI.
7484
+ *
7485
+ * @beta
7486
+ */
7487
+ export declare interface Mention {
7488
+ /** ID of a mention */
7489
+ id: string;
7490
+ /** Display text of a mention */
7491
+ displayText: string;
7492
+ /** Optional React element to render an item icon of a mention suggestion */
7493
+ icon?: JSX.Element;
7494
+ }
7495
+
7496
+ /**
7497
+ * Options to display suggestions in the mention scenario.
7498
+ *
7499
+ * @beta
7500
+ */
7501
+ export declare interface MentionDisplayOptions {
7502
+ /**
7503
+ * Optional callback for customizing the mention renderer in a message thread.
7504
+ */
7505
+ onRenderMention?: (mention: Mention, defaultOnRender: (mention: Mention) => JSX.Element) => JSX.Element;
7506
+ }
7507
+
7508
+ /**
7509
+ * Options to lookup suggestions in the mention scenario.
7510
+ *
7511
+ * @beta
7512
+ */
7513
+ export declare interface MentionLookupOptions {
7514
+ /**
7515
+ * Optional string to set trigger keyword for mention a specific participant.
7516
+ *
7517
+ * @defaultValue `@`
7518
+ */
7519
+ trigger?: string;
7520
+ /**
7521
+ * Optional callback to fetch a list of mention suggestions base on the query.
7522
+ */
7523
+ onQueryUpdated: (query: string) => Promise<Mention[]>;
7524
+ /**
7525
+ * Optional callback to render an item of the mention suggestions list.
7526
+ */
7527
+ onRenderSuggestionItem?: (suggestion: Mention, onSuggestionSelected: (suggestion: Mention) => void) => JSX.Element;
7528
+ }
7529
+
7530
+ /**
7531
+ * Options to lookup suggestions and display mentions in the mention scenario.
7532
+ *
7533
+ * @beta
7534
+ */
7535
+ export declare type MentionOptions = {
7536
+ lookupOptions?: MentionLookupOptions;
7537
+ displayOptions?: MentionDisplayOptions;
7538
+ };
7539
+
7540
+ /**
7541
+ * Strings of {@link _MentionPopover} that can be overridden.
7542
+ *
7543
+ * @beta
7544
+ */
7545
+ export declare interface MentionPopoverStrings {
7546
+ /**
7547
+ * Header text for MentionPopover
7548
+ */
7549
+ mentionPopoverHeader: string;
7550
+ }
7551
+
5696
7552
  /**
5697
7553
  * Discriminated union of all messages.
5698
7554
  *
@@ -5700,7 +7556,7 @@ export declare interface MediaDiagnosticsState {
5700
7556
  *
5701
7557
  * @public
5702
7558
  */
5703
- export declare type Message = ChatMessage | SystemMessage | CustomMessage;
7559
+ export declare type Message = ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage;
5704
7560
 
5705
7561
  /**
5706
7562
  * Indicate whether a chat message should be displayed merged with the message before / after it.
@@ -5920,7 +7776,7 @@ export declare type MessageThreadProps = {
5920
7776
  /**
5921
7777
  * Messages to render in message thread. A message can be of type `ChatMessage`, `SystemMessage`, `BlockedMessage` or `CustomMessage`.
5922
7778
  */
5923
- messages: (ChatMessage | SystemMessage | CustomMessage)[];
7779
+ messages: (ChatMessage | SystemMessage | CustomMessage | /* @conditional-compile-remove(data-loss-prevention) */ BlockedMessage)[];
5924
7780
  /**
5925
7781
  * number of participants in the thread
5926
7782
  */
@@ -6001,6 +7857,17 @@ export declare type MessageThreadProps = {
6001
7857
  * `messageRenderer` is not provided for `CustomMessage` and thus only available for `ChatMessage` and `SystemMessage`.
6002
7858
  */
6003
7859
  onRenderMessage?: (messageProps: MessageProps, messageRenderer?: MessageRenderer) => JSX.Element;
7860
+ /**
7861
+ * Optional callback to render attached files in the message component.
7862
+ * @beta
7863
+ */
7864
+ onRenderFileDownloads?: (userId: string, message: ChatMessage) => JSX.Element;
7865
+ /**
7866
+ * Optional callback to retrieve the inline image in a message.
7867
+ * @param attachment - AttachmentMetadata object we want to render
7868
+ * @beta
7869
+ */
7870
+ onFetchAttachments?: (attachments: AttachmentMetadata[]) => Promise<AttachmentDownloadResult[]>;
6004
7871
  /**
6005
7872
  * Optional callback to edit a message.
6006
7873
  *
@@ -6042,6 +7909,28 @@ export declare type MessageThreadProps = {
6042
7909
  * Optional strings to override in component
6043
7910
  */
6044
7911
  strings?: Partial<MessageThreadStrings>;
7912
+ /**
7913
+ * @beta
7914
+ * Optional function called when someone clicks on the file download icon.
7915
+ * If file attachments are defined in the `message.metadata` property using the `fileSharingMetadata` key,
7916
+ * this function will be called with the data inside `fileSharingMetadata` key.
7917
+ */
7918
+ fileDownloadHandler?: FileDownloadHandler;
7919
+ /**
7920
+ * Optional function to provide customized date format.
7921
+ * @beta
7922
+ */
7923
+ onDisplayDateTimeString?: (messageDate: Date) => string;
7924
+ /**
7925
+ * Optional props needed to lookup a mention query and display mentions
7926
+ * @beta
7927
+ */
7928
+ mentionOptions?: MentionOptions;
7929
+ /**
7930
+ * Optional callback called when an inline image is clicked.
7931
+ * @beta
7932
+ */
7933
+ onInlineImageClicked?: (attachmentId: string, messageId: string) => Promise<void>;
6045
7934
  };
6046
7935
 
6047
7936
  /**
@@ -6115,6 +8004,14 @@ export declare interface MessageThreadStrings {
6115
8004
  actionMenuMoreOptions?: string;
6116
8005
  /** Aria label to announce when a message is deleted */
6117
8006
  messageDeletedAnnouncementAriaLabel: string;
8007
+ /** String for download file button in file card */
8008
+ downloadFile: string;
8009
+ /** String for policy violation message removal */
8010
+ blockedWarningText: string;
8011
+ /** String for policy violation message removal details link */
8012
+ blockedWarningLinkText: string;
8013
+ /** String for aria text in file attachment group*/
8014
+ fileCardGroupMessage: string;
6118
8015
  }
6119
8016
 
6120
8017
  /**
@@ -6142,6 +8039,7 @@ export declare interface MessageThreadStyles extends BaseCustomStyles {
6142
8039
  /** Styles for system message container. */
6143
8040
  systemMessageContainer?: ComponentSlotStyle;
6144
8041
  /** Styles for blocked message container. */
8042
+ blockedMessageContainer?: ComponentSlotStyle;
6145
8043
  /** Styles for message status indicator container. */
6146
8044
  messageStatusContainer?: (mine: boolean) => IStyle;
6147
8045
  }
@@ -6310,6 +8208,31 @@ export declare interface MicrophoneButtonStyles extends ControlBarButtonStyles {
6310
8208
  menuStyles?: Partial<MicrophoneButtonContextualMenuStyles>;
6311
8209
  }
6312
8210
 
8211
+ /**
8212
+ * Component to allow Contoso to help their end user with their devices should their permissions be blocked
8213
+ * by their browsers settings.
8214
+ *
8215
+ * @beta
8216
+ */
8217
+ export declare const MicrophoneSitePermissions: (props: MicrophoneSitePermissionsProps) => JSX.Element;
8218
+
8219
+ /**
8220
+ * @beta
8221
+ * Props for MicrophoneSitePermissions component.
8222
+ */
8223
+ export declare interface MicrophoneSitePermissionsProps extends CommonSitePermissionsProps {
8224
+ /** Icon name for the microphone icon */
8225
+ microphoneIconName?: string;
8226
+ /** Strings for use with the {@link MicrophoneSitePermissions} */
8227
+ strings?: MicrophoneSitePermissionsStrings;
8228
+ }
8229
+
8230
+ /**
8231
+ * @beta
8232
+ * Strings for MicrophoneSitePermissions component.
8233
+ */
8234
+ export declare type MicrophoneSitePermissionsStrings = SitePermissionsStrings;
8235
+
6313
8236
  /**
6314
8237
  * Payload for {@link DiagnosticChangedEventListner} where there is a change in a network diagnostic.
6315
8238
  *
@@ -6328,6 +8251,13 @@ export declare interface NetworkDiagnosticsState {
6328
8251
  latest: LatestNetworkDiagnostics;
6329
8252
  }
6330
8253
 
8254
+ /**
8255
+ * Callback function used to provide custom data to build profile for a user.
8256
+ *
8257
+ * @beta
8258
+ */
8259
+ export declare type OnFetchProfileCallback = (userId: string, defaultProfile?: Profile) => Promise<Profile | undefined>;
8260
+
6331
8261
  /**
6332
8262
  * A custom rendered callback that allows users to customize the rendering of a Persona Component.
6333
8263
  *
@@ -6450,6 +8380,14 @@ export declare interface ParticipantItemProps {
6450
8380
  onClick?: (props?: ParticipantItemProps) => void;
6451
8381
  /** Optional value to determine if the tooltip should be shown for participants or not */
6452
8382
  showParticipantOverflowTooltip?: boolean;
8383
+ /**
8384
+ * Optional value to determine and display a participants connection status.
8385
+ * For example, `Connecting`, `Ringing` etc.
8386
+ * The actual text that is displayed is determined by the localized string
8387
+ * corresponding to the provided participant state.
8388
+ * For example, `strings.participantStateConnecting` will be used if `participantState` is `Connecting`.
8389
+ */
8390
+ participantState?: ParticipantState;
6453
8391
  /**
6454
8392
  * Optional aria property that prefixes the ParticipantItems aria content
6455
8393
  * Takes in a unique id value of the element you would like to be read before the ParticipantItem.
@@ -6475,6 +8413,10 @@ export declare interface ParticipantItemStrings {
6475
8413
  mutedIconLabel: string;
6476
8414
  /** placeholder text for participants who does not have a display name*/
6477
8415
  displayNamePlaceholder?: string;
8416
+ /** String shown when `participantState` is `Ringing` */
8417
+ participantStateRinging?: string;
8418
+ /** String shown when `participantState` is `Hold` */
8419
+ participantStateHold?: string;
6478
8420
  }
6479
8421
 
6480
8422
  /**
@@ -6554,6 +8496,10 @@ export declare type ParticipantListProps = {
6554
8496
  styles?: ParticipantListStyles;
6555
8497
  /** Optional value to determine if the tooltip should be shown for participants or not */
6556
8498
  showParticipantOverflowTooltip?: boolean;
8499
+ /** Total number of people in the call. This number can be larger than the remote participant count. */
8500
+ totalParticipantCount?: number;
8501
+ /** Strings for the participant list */
8502
+ strings?: ParticipantListStrings;
6557
8503
  /** Optional aria-lablledby prop that prefixes each ParticipantItem aria-label */
6558
8504
  participantAriaLabelledBy?: string;
6559
8505
  };
@@ -6566,8 +8512,21 @@ export declare type ParticipantListProps = {
6566
8512
  export declare type ParticipantListSelector = (state: CallClientState, props: CallingBaseSelectorProps) => {
6567
8513
  participants: CallParticipantListParticipant[];
6568
8514
  myUserId: string;
8515
+ totalParticipantCount?: number;
6569
8516
  };
6570
8517
 
8518
+ /**
8519
+ * Strings for the {@link ParticipantList}.
8520
+ *
8521
+ * @beta
8522
+ */
8523
+ export declare interface ParticipantListStrings {
8524
+ /**
8525
+ * String for rendering the count of participants not contained in the displayed participant list
8526
+ */
8527
+ overflowParticipantCount?: string;
8528
+ }
8529
+
6571
8530
  /**
6572
8531
  * Styles for the {@link ParticipantList}.
6573
8532
  *
@@ -6784,6 +8743,18 @@ export declare type ParticipantsRemovedListener = (event: {
6784
8743
  */
6785
8744
  export declare type ParticipantState = 'Idle' | 'Connecting' | 'Ringing' | 'Connected' | 'Hold' | 'InLobby' | 'EarlyMedia' | 'Disconnected';
6786
8745
 
8746
+ /**
8747
+ * The profile of a user.
8748
+ *
8749
+ * @beta
8750
+ */
8751
+ export declare type Profile = {
8752
+ /**
8753
+ * Primary text to display, usually the name of the person.
8754
+ */
8755
+ displayName?: string;
8756
+ };
8757
+
6787
8758
  /**
6788
8759
  * Raised hand state with order
6789
8760
  *
@@ -6968,6 +8939,7 @@ export declare interface RemoteVideoStreamState {
6968
8939
  * Proxy of {@link @azure/communication-calling#RemoteVideoStream.isReceiving}.
6969
8940
  * @beta
6970
8941
  */
8942
+ isReceiving: boolean;
6971
8943
  /**
6972
8944
  * {@link VideoStreamRendererView} that is managed by createView/disposeView in {@link StatefulCallClient}
6973
8945
  * API. This can be undefined if the stream has not yet been rendered and defined after createView creates the view.
@@ -7067,6 +9039,19 @@ export declare type Selector = (state: ClientState, props: any) => any;
7067
9039
  */
7068
9040
  export declare const SendBox: (props: SendBoxProps) => JSX.Element;
7069
9041
 
9042
+ /**
9043
+ * @beta
9044
+ * Error to be displayed to the user in an error bar above sendbox.
9045
+ */
9046
+ export declare interface SendBoxErrorBarError {
9047
+ /** Error Message to be displayed */
9048
+ message: string;
9049
+ /**
9050
+ * Unix Timestamp. Preferred generation using `Date.now()`
9051
+ */
9052
+ timestamp: number;
9053
+ }
9054
+
7070
9055
  /**
7071
9056
  * Props for {@link SendBox}.
7072
9057
  *
@@ -7086,6 +9071,11 @@ export declare interface SendBoxProps {
7086
9071
  * Optional override behavior on send button click
7087
9072
  */
7088
9073
  onSendMessage?: (content: string) => Promise<void>;
9074
+ /**
9075
+ * Optional props needed to lookup suggestions in the mention scenario.
9076
+ * @beta
9077
+ */
9078
+ mentionLookupOptions?: MentionLookupOptions;
7089
9079
  /**
7090
9080
  * Optional callback called when user is typing
7091
9081
  */
@@ -7122,6 +9112,25 @@ export declare interface SendBoxProps {
7122
9112
  * When undefined nothing has focus on render
7123
9113
  */
7124
9114
  autoFocus?: 'sendBoxTextField';
9115
+ /**
9116
+ * Optional callback to render uploaded files in the SendBox. The sendBox will expand
9117
+ * vertically to accommodate the uploaded files. File uploads will
9118
+ * be rendered below the text area in sendBox.
9119
+ * @beta
9120
+ */
9121
+ onRenderFileUploads?: () => JSX.Element;
9122
+ /**
9123
+ * Optional array of active file uploads where each object has attributes
9124
+ * of a file upload like name, progress, errorMessage etc.
9125
+ * @beta
9126
+ */
9127
+ activeFileUploads?: ActiveFileUpload[];
9128
+ /**
9129
+ * Optional callback to remove the file upload before sending by clicking on
9130
+ * cancel icon.
9131
+ * @beta
9132
+ */
9133
+ onCancelFileUpload?: (fileId: string) => void;
7125
9134
  }
7126
9135
 
7127
9136
  /**
@@ -7152,6 +9161,22 @@ export declare interface SendBoxStrings {
7152
9161
  * Aria label for send message button
7153
9162
  */
7154
9163
  sendButtonAriaLabel: string;
9164
+ /**
9165
+ * Error message indicating that all file uploads are not complete.
9166
+ */
9167
+ fileUploadsPendingError: string;
9168
+ /**
9169
+ * Aria label to notify user when focus is on cancel file upload button.
9170
+ */
9171
+ removeFile: string;
9172
+ /**
9173
+ * Aria label to notify user file uploading starts.
9174
+ */
9175
+ uploading: string;
9176
+ /**
9177
+ * Aria label to notify user file is uploaded.
9178
+ */
9179
+ uploadCompleted: string;
7155
9180
  }
7156
9181
 
7157
9182
  /**
@@ -7172,6 +9197,56 @@ export declare interface SendBoxStylesProps extends BaseCustomStyles {
7172
9197
  systemMessage?: IStyle;
7173
9198
  }
7174
9199
 
9200
+ /**
9201
+ * @beta
9202
+ * Strings for SitePermissions component
9203
+ */
9204
+ export declare type SitePermissionsStrings = {
9205
+ /**
9206
+ * Main text string.
9207
+ */
9208
+ primaryText?: string;
9209
+ /**
9210
+ * Subtext string.
9211
+ */
9212
+ secondaryText?: string;
9213
+ /**
9214
+ * More help link string.
9215
+ */
9216
+ linkText?: string;
9217
+ /**
9218
+ * Primary button text string.
9219
+ */
9220
+ primaryButtonText?: string;
9221
+ /**
9222
+ * Aria label describing the content of the container
9223
+ */
9224
+ ariaLabel?: string;
9225
+ };
9226
+
9227
+ /**
9228
+ * Fluent styles for {@link SitePermissionsContainer}.
9229
+ *
9230
+ * @beta
9231
+ */
9232
+ export declare interface SitePermissionsStyles extends BaseCustomStyles {
9233
+ /** Styles for the primary button. */
9234
+ primaryButton?: IButtonStyles;
9235
+ /** Styles for the help troubleshooting link text. */
9236
+ troubleshootingLink?: ILinkStyles;
9237
+ }
9238
+
9239
+ /**
9240
+ * @beta
9241
+ * Type for representing a custom sound to use for a calling event
9242
+ */
9243
+ export declare type SoundEffect = {
9244
+ /**
9245
+ * Path to sound effect
9246
+ */
9247
+ url: string;
9248
+ };
9249
+
7175
9250
  /**
7176
9251
  * @public
7177
9252
  * spoken language strings for captions setting modal
@@ -7328,6 +9403,19 @@ export declare interface StatefulCallClient extends CallClient {
7328
9403
  * @param stream - The LocalVideoStreamState or RemoteVideoStreamState to dispose.
7329
9404
  */
7330
9405
  disposeView(callId: string | undefined, participantId: CommunicationIdentifier | undefined, stream: LocalVideoStreamState | RemoteVideoStreamState): void;
9406
+ /** @conditional-compile-remove(one-to-n-calling) */
9407
+ /**
9408
+ * The CallAgent is used to handle calls.
9409
+ * To create the CallAgent, pass a CommunicationTokenCredential object provided from SDK.
9410
+ * - The CallClient can only have one active CallAgent instance at a time.
9411
+ * - You can create a new CallClient instance to create a new CallAgent.
9412
+ * - You can dispose of a CallClient's current active CallAgent, and call the CallClient's
9413
+ * createCallAgent() method again to create a new CallAgent.
9414
+ * @param tokenCredential - The token credential. Use AzureCommunicationTokenCredential from `@azure/communication-common` to create a credential.
9415
+ * @param options - The CallAgentOptions for additional options like display name.
9416
+ * @public
9417
+ */
9418
+ createCallAgent(...args: Parameters<CallClient['createCallAgent']>): Promise<DeclarativeCallAgent>;
7331
9419
  }
7332
9420
 
7333
9421
  /**
@@ -7340,7 +9428,16 @@ export declare type StatefulCallClientArgs = {
7340
9428
  * UserId from SDK. This is provided for developer convenience to easily access the userId from the
7341
9429
  * state. It is not used by StatefulCallClient.
7342
9430
  */
7343
- userId: CommunicationUserIdentifier;
9431
+ userId: CommunicationUserIdentifier | /* @conditional-compile-remove(teams-identity-support) */ MicrosoftTeamsUserIdentifier;
9432
+ /**
9433
+ * A phone number in E.164 format that will be used to represent the callers identity. This number is required
9434
+ * to start a PSTN call.
9435
+ *
9436
+ * example: +11234567
9437
+ *
9438
+ * This is not a cached value from the headless calling client.
9439
+ */
9440
+ alternateCallerId?: string;
7344
9441
  };
7345
9442
 
7346
9443
  /**
@@ -7427,7 +9524,7 @@ export declare interface StatefulDeviceManager extends DeviceManager {
7427
9524
  * any way to {@link @azure/communication-calling#DeviceManager}. It is entirely contained in
7428
9525
  * {@link StatefulDeviceManager}. See also {@link DeviceManagerState.selectedCamera}.
7429
9526
  */
7430
- selectCamera: (VideoDeviceInfo: any) => void;
9527
+ selectCamera: (device: VideoDeviceInfo) => void;
7431
9528
  /**
7432
9529
  * Gets the list of unparented video streams. This is a list of video streams that have not been added to a
7433
9530
  * {@link @azure/communication-calling#Call}. This is useful for developers who want to interact with rendered
@@ -7469,6 +9566,62 @@ export declare interface StreamMediaProps {
7469
9566
  styles?: BaseCustomStyles;
7470
9567
  }
7471
9568
 
9569
+ /**
9570
+ * @beta
9571
+ * Corresponding texts to each call issue
9572
+ */
9573
+ export declare interface SurveyIssues {
9574
+ overallRating: {
9575
+ callCannotJoin: string;
9576
+ callCannotInvite: string;
9577
+ hadToRejoin: string;
9578
+ callEndedUnexpectedly: string;
9579
+ otherIssues: string;
9580
+ };
9581
+ audioRating: {
9582
+ noLocalAudio: string;
9583
+ noRemoteAudio: string;
9584
+ echo: string;
9585
+ audioNoise: string;
9586
+ lowVolume: string;
9587
+ audioStoppedUnexpectedly: string;
9588
+ distortedSpeech: string;
9589
+ audioInterruption: string;
9590
+ otherIssues: string;
9591
+ };
9592
+ videoRating: {
9593
+ noVideoReceived: string;
9594
+ noVideoSent: string;
9595
+ lowQuality: string;
9596
+ freezes: string;
9597
+ stoppedUnexpectedly: string;
9598
+ darkVideoReceived: string;
9599
+ audioVideoOutOfSync: string;
9600
+ otherIssues: string;
9601
+ };
9602
+ screenshareRating: {
9603
+ noContentLocal: string;
9604
+ noContentRemote: string;
9605
+ cannotPresent: string;
9606
+ lowQuality: string;
9607
+ freezes: string;
9608
+ stoppedUnexpectedly: string;
9609
+ largeDelay: string;
9610
+ otherIssues: string;
9611
+ };
9612
+ }
9613
+
9614
+ /**
9615
+ * @beta
9616
+ * Corresponding texts to each call issue category
9617
+ */
9618
+ export declare interface SurveyIssuesHeadingStrings {
9619
+ overallRating: string;
9620
+ audioRating: string;
9621
+ videoRating: string;
9622
+ screenshareRating: string;
9623
+ }
9624
+
7472
9625
  /**
7473
9626
  * Discriminated union of all system messages.
7474
9627
  *
@@ -7495,6 +9648,74 @@ export declare interface SystemMessageCommon extends MessageCommon {
7495
9648
  */
7496
9649
  export declare type TeamsAdapterOptions = CommonCallAdapterOptions;
7497
9650
 
9651
+ /**
9652
+ * An Adapter interface specific for Teams identity which extends {@link CommonCallAdapter}.
9653
+ *
9654
+ * @beta
9655
+ */
9656
+ export declare interface TeamsCallAdapter extends CommonCallAdapter {
9657
+ /**
9658
+ * Join the call with microphone initially on/off.
9659
+ * @deprecated Use joinCall(options?:JoinCallOptions) instead.
9660
+ * @param microphoneOn - Whether microphone is initially enabled
9661
+ *
9662
+ * @beta
9663
+ */
9664
+ joinCall(microphoneOn?: boolean): TeamsCall | undefined;
9665
+ /**
9666
+ * Join the call with options bag to set microphone/camera initial state when joining call
9667
+ * true = turn on the device when joining call
9668
+ * false = turn off the device when joining call
9669
+ * 'keep'/undefined = retain devices' precall state
9670
+ *
9671
+ * @param options - param to set microphone/camera initially on/off.
9672
+ *
9673
+ * @public
9674
+ */
9675
+ joinCall(options?: JoinCallOptions): TeamsCall | undefined;
9676
+ /**
9677
+ * Start the call.
9678
+ *
9679
+ * @param participants - An array of participant ids to join
9680
+ *
9681
+ * @beta
9682
+ */
9683
+ startCall(participants: string[], options?: StartCallOptions): TeamsCall | undefined;
9684
+ /**
9685
+ * Start the call.
9686
+ * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
9687
+ * @beta
9688
+ */
9689
+ startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): TeamsCall | undefined;
9690
+ }
9691
+
9692
+ /**
9693
+ * Arguments for creating the Azure Communication Services implementation of {@link TeamsCallAdapter}.
9694
+ *
9695
+ * @beta
9696
+ */
9697
+ export declare type TeamsCallAdapterArgs = {
9698
+ userId: MicrosoftTeamsUserIdentifier;
9699
+ credential: CommunicationTokenCredential;
9700
+ locator: TeamsMeetingLinkLocator | /* @conditional-compile-remove(teams-adhoc-call) */ /* @conditional-compile-remove(PSTN-calls) */ CallParticipantsLocator;
9701
+ /**
9702
+ * Optional parameters for the {@link TeamsCallAdapter} created
9703
+ */
9704
+ options?: TeamsAdapterOptions;
9705
+ };
9706
+
9707
+ /**
9708
+ * Object containing all the teams call handlers required for calling components.
9709
+ *
9710
+ * Calling related components from this package are able to pick out relevant handlers from this object.
9711
+ * See {@link useHandlers} and {@link usePropsFor}.
9712
+ *
9713
+ * @beta
9714
+ */
9715
+ export declare interface TeamsCallingHandlers extends CommonCallingHandlers {
9716
+ onStartCall: (participants: CommunicationIdentifier[], options?: StartCallOptions) => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
9717
+ }
9718
+
7498
9719
  /**
7499
9720
  * A string representation of a {@link @azure/communication-common#CommunicationIdentifier}.
7500
9721
  *
@@ -7540,6 +9761,27 @@ export declare interface TranscriptionCallFeature {
7540
9761
  isTranscriptionActive: boolean;
7541
9762
  }
7542
9763
 
9764
+ /**
9765
+ * Transfer feature state
9766
+ *
9767
+ * @beta
9768
+ */
9769
+ export declare interface TransferFeature {
9770
+ /**
9771
+ * Accepted transfer requests
9772
+ */
9773
+ acceptedTransfers: {
9774
+ [key: string]: AcceptedTransfer;
9775
+ };
9776
+ }
9777
+
9778
+ /**
9779
+ * Callback for {@link CallAdapterSubscribers} 'transferRequested' event.
9780
+ *
9781
+ * @beta
9782
+ */
9783
+ export declare type TransferRequestedListener = (event: TransferRequestedEventArgs) => void;
9784
+
7543
9785
  /**
7544
9786
  * Component to notify local user when one or more participants in the chat thread are typing.
7545
9787
  *
@@ -7674,11 +9916,118 @@ export declare interface TypingIndicatorStylesProps extends BaseCustomStyles {
7674
9916
  typingString?: IStyle;
7675
9917
  }
7676
9918
 
9919
+ /**
9920
+ * UI to display to the user that the browser they are using is not supported by Azure Communications Calling service.
9921
+ *
9922
+ * @beta
9923
+ */
9924
+ export declare const UnsupportedBrowser: (props: UnsupportedBrowserProps) => JSX.Element;
9925
+
9926
+ /**
9927
+ * props for {@link UnsupportedBrowser} UI
9928
+ *
9929
+ * @beta
9930
+ */
9931
+ export declare interface UnsupportedBrowserProps {
9932
+ /** Handler to perform an action when the help link is actioned */
9933
+ onTroubleshootingClick?: () => void;
9934
+ /** String overrides for the component */
9935
+ strings?: UnsupportedBrowserStrings;
9936
+ }
9937
+
9938
+ /**
9939
+ * Strings for UnsupportedBrowser component
9940
+ *
9941
+ * @beta
9942
+ */
9943
+ export declare interface UnsupportedBrowserStrings {
9944
+ /** String for the primary text */
9945
+ primaryText: string;
9946
+ /** String for the secondary text */
9947
+ secondaryText: string;
9948
+ /** String to display in the text for the help link */
9949
+ moreHelpLinkText: string;
9950
+ }
9951
+
9952
+ /**
9953
+ * UI to display to the user that the browser version they are using is out of date
9954
+ * and not supported by Azure Communications Calling service.
9955
+ *
9956
+ * @beta
9957
+ */
9958
+ export declare const UnsupportedBrowserVersion: (props: UnsupportedBrowserVersionProps) => JSX.Element;
9959
+
9960
+ /**
9961
+ * props for {@link UnsupportedBrowserVersion} UI
9962
+ *
9963
+ * @beta
9964
+ */
9965
+ export declare interface UnsupportedBrowserVersionProps {
9966
+ /** Handler to perform an action when the help link is actioned */
9967
+ onTroubleshootingClick?: () => void;
9968
+ /** String overrides for the component */
9969
+ strings?: UnsupportedBrowserVersionStrings;
9970
+ /** Handler to allow user to continue into the call */
9971
+ onContinueAnywayClick?: () => void;
9972
+ }
9973
+
9974
+ /**
9975
+ * Strings for UnsupportedBrowser component
9976
+ *
9977
+ * @beta
9978
+ */
9979
+ export declare interface UnsupportedBrowserVersionStrings {
9980
+ /** String for the primary text */
9981
+ primaryText: string;
9982
+ /** String for the secondary text */
9983
+ secondaryText: string;
9984
+ /** String to display in the text for the help link */
9985
+ moreHelpLinkText: string;
9986
+ /** String for continue without updating button */
9987
+ continueAnywayButtonText?: string;
9988
+ }
9989
+
9990
+ /**
9991
+ * UI to display to the user that the operating system they are using is not supported by Azure Communications Calling service.
9992
+ *
9993
+ * @beta
9994
+ */
9995
+ export declare const UnsupportedOperatingSystem: (props: UnsupportedOperatingSystemProps) => JSX.Element;
9996
+
9997
+ /**
9998
+ * Props for {@link UnsupportedOperatingSystem} UI
9999
+ *
10000
+ * @beta
10001
+ */
10002
+ export declare interface UnsupportedOperatingSystemProps {
10003
+ /** Handler to perform a action when the help link is actioned */
10004
+ onTroubleshootingClick?: () => void;
10005
+ /** String overrides for the component */
10006
+ strings?: UnsupportedOperatingSystemStrings;
10007
+ }
10008
+
10009
+ /**
10010
+ * Strings for UnsupportedBrowser component
10011
+ *
10012
+ * @beta
10013
+ */
10014
+ export declare interface UnsupportedOperatingSystemStrings {
10015
+ /** String for the primary text */
10016
+ primaryText: string;
10017
+ /** String for the secondary text */
10018
+ secondaryText: string;
10019
+ /** String to display in the text for the help link */
10020
+ moreHelpLinkText: string;
10021
+ }
10022
+
7677
10023
  /**
7678
10024
  * @public
7679
10025
  * Callback function run when a message is updated.
7680
10026
  */
7681
- export declare type UpdateMessageCallback = (messageId: string, content: string) => Promise<void>;
10027
+ export declare type UpdateMessageCallback = (messageId: string, content: string, options?: {
10028
+ metadata?: Record<string, string>;
10029
+ attachmentMetadata?: AttachmentMetadata[];
10030
+ }) => Promise<void>;
7682
10031
 
7683
10032
  /**
7684
10033
  * A custom React hook to simplify the creation of {@link CallAdapter}.
@@ -7826,6 +10175,44 @@ export declare const usePropsFor: <Component extends (props: any) => JSX.Element
7826
10175
  */
7827
10176
  export declare const useSelector: <ParamT extends Selector | undefined>(selector: ParamT, selectorProps?: (ParamT extends Selector ? Parameters<ParamT>[1] : undefined) | undefined, type?: 'calling' | 'chat') => ParamT extends Selector ? ReturnType<ParamT> : undefined;
7828
10177
 
10178
+ /**
10179
+ * Hook to obtain {@link @azure/communication-calling#TeamsCall} from the provider.
10180
+ *
10181
+ * Useful when implementing a custom component that utilizes the providers
10182
+ * exported from this library.
10183
+ *
10184
+ * you must have previously used the CallProvider with a TeamsCall object to use this hook
10185
+ *
10186
+ * @beta
10187
+ */
10188
+ export declare const useTeamsCall: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCall;
10189
+
10190
+ /**
10191
+ * A custom React hook to simplify the creation of {@link TeamsCallAdapter}.
10192
+ *
10193
+ * Similar to {@link createTeamsAzureCommunicationCallAdapter}, but takes care of asynchronous
10194
+ * creation of the adapter internally.
10195
+ *
10196
+ * Allows arguments to be undefined so that you can respect the rule-of-hooks and pass in arguments
10197
+ * as they are created. The adapter is only created when all arguments are defined.
10198
+ *
10199
+ * Note that you must memoize the arguments to avoid recreating adapter on each render.
10200
+ * See storybook for typical usage examples.
10201
+ *
10202
+ * @beta
10203
+ */
10204
+ export declare const useTeamsCallAdapter: (args: Partial<TeamsCallAdapterArgs>, afterCreate?: ((adapter: TeamsCallAdapter) => Promise<TeamsCallAdapter>) | undefined, beforeDispose?: ((adapter: TeamsCallAdapter) => Promise<void>) | undefined) => TeamsCallAdapter | undefined;
10205
+
10206
+ /**
10207
+ * Hook to obtain {@link @azure/communication-calling#TeamsCallAgent} from the provider.
10208
+ *
10209
+ * Useful when implementing a custom component that utilizes the providers
10210
+ * exported from this library.
10211
+ *
10212
+ * @beta
10213
+ */
10214
+ export declare const useTeamsCallAgent: () => undefined | /* @conditional-compile-remove(teams-identity-support) */ TeamsCallAgent;
10215
+
7829
10216
  /**
7830
10217
  * React hook to access theme
7831
10218
  *
@@ -7965,7 +10352,7 @@ export declare const VideoGallery: (props: VideoGalleryProps) => JSX.Element;
7965
10352
  /**
7966
10353
  * @public
7967
10354
  */
7968
- export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
10355
+ export declare type VideoGalleryLayout = 'default' | 'floatingLocalVideo' | /* @conditional-compile-remove(gallery-layouts) */ 'speaker' | /* @conditional-compile-remove(large-gallery) */ 'largeGallery' | /* @conditional-compile-remove(gallery-layouts) */ 'focusedContent';
7969
10356
 
7970
10357
  /**
7971
10358
  * The state of the local participant in the {@link VideoGallery}.
@@ -8106,6 +10493,11 @@ export declare interface VideoGalleryRemoteParticipant extends VideoGalleryParti
8106
10493
  isSpeaking?: boolean;
8107
10494
  /** Video stream of shared screen */
8108
10495
  screenShareStream?: VideoGalleryStream;
10496
+ /**
10497
+ * @beta
10498
+ * The connection state of the participant. For example, 'Hold', 'Connecting' etc.
10499
+ */
10500
+ state?: ParticipantState;
8109
10501
  /** Whether participant is raised a hand */
8110
10502
  raisedHand?: RaisedHand;
8111
10503
  }
@@ -8345,6 +10737,12 @@ export declare interface VideoTileProps {
8345
10737
  isSpeaking?: boolean;
8346
10738
  /** Whether the participant is raised hand. Show a indicator (border) and icon with order */
8347
10739
  raisedHand?: RaisedHand;
10740
+ /**
10741
+ * The call connection state of the participant.
10742
+ * For example, `Hold` means the participant is on hold.
10743
+ */
10744
+ participantState?: ParticipantState;
10745
+ strings?: VideoTileStrings;
8348
10746
  /**
8349
10747
  * Display custom menu items in the VideoTile's contextual menu.
8350
10748
  * Uses Fluent UI ContextualMenu.
@@ -8357,6 +10755,15 @@ export declare interface VideoTileProps {
8357
10755
  onLongTouch?: () => void;
8358
10756
  }
8359
10757
 
10758
+ /**
10759
+ * Strings of {@link VideoTile} that can be overridden.
10760
+ * @beta
10761
+ */
10762
+ export declare interface VideoTileStrings {
10763
+ participantStateRinging: string;
10764
+ participantStateHold: string;
10765
+ }
10766
+
8360
10767
  /**
8361
10768
  * Fluent styles for {@link VideoTile}.
8362
10769
  *