@azure/communication-react 1.13.0-alpha-202402030013 → 1.13.0-alpha-202402060012

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 (130) hide show
  1. package/dist/communication-react.d.ts +128 -59
  2. package/dist/dist-cjs/communication-react/index.js +780 -653
  3. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  4. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  6. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.d.ts +3 -0
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createCommonHandlers.js.map +1 -1
  8. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js +4 -0
  9. package/dist/dist-esm/calling-component-bindings/src/participantListSelector.js.map +1 -1
  10. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.d.ts +5 -1
  11. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js +15 -4
  12. package/dist/dist-esm/calling-component-bindings/src/utils/participantListSelectorUtils.js.map +1 -1
  13. package/dist/dist-esm/communication-react/src/index.d.ts +2 -2
  14. package/dist/dist-esm/communication-react/src/index.js +2 -2
  15. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  16. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js +1 -1
  17. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponent.js.map +1 -1
  18. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js +3 -3
  19. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentAsMessageBubble.js.map +1 -1
  20. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageComponentWrapper.js.map +1 -1
  21. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js +3 -3
  22. package/dist/dist-esm/react-components/src/components/ChatMessage/ChatMessageContent.js.map +1 -1
  23. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js +3 -3
  24. package/dist/dist-esm/react-components/src/components/ChatMessage/FluentChatMessageComponentWrapper.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/components/ImageOverlay.d.ts +62 -0
  26. package/dist/dist-esm/react-components/src/components/ImageOverlay.js +52 -0
  27. package/dist/dist-esm/react-components/src/components/ImageOverlay.js.map +1 -0
  28. package/dist/dist-esm/react-components/src/components/MessageThread.js +2 -2
  29. package/dist/dist-esm/react-components/src/components/MessageThread.js.map +1 -1
  30. package/dist/dist-esm/react-components/src/components/ParticipantList.js.map +1 -1
  31. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js +4 -4
  32. package/dist/dist-esm/react-components/src/components/Survey/StarSurvey/StarSurvey.styles.js.map +1 -1
  33. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js +3 -1
  34. package/dist/dist-esm/react-components/src/components/Survey/TagsSurvey/TagsSurvey.styles.js.map +1 -1
  35. package/dist/dist-esm/react-components/src/components/VideoGallery.d.ts +1 -0
  36. package/dist/dist-esm/react-components/src/components/VideoGallery.js.map +1 -1
  37. package/dist/dist-esm/react-components/src/components/VideoTile.d.ts +5 -1
  38. package/dist/dist-esm/react-components/src/components/VideoTile.js.map +1 -1
  39. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js +56 -56
  40. package/dist/dist-esm/react-components/src/components/assets/RaisedHandIcon.js.map +1 -1
  41. package/dist/dist-esm/react-components/src/components/index.d.ts +3 -3
  42. package/dist/dist-esm/react-components/src/components/index.js +2 -2
  43. package/dist/dist-esm/react-components/src/components/index.js.map +1 -1
  44. package/dist/dist-esm/react-components/src/components/styles/{ImageGallery.style.d.ts → ImageOverlay.style.d.ts} +1 -1
  45. package/dist/dist-esm/react-components/src/components/styles/{ImageGallery.style.js → ImageOverlay.style.js} +7 -7
  46. package/dist/dist-esm/react-components/src/components/styles/{ImageGallery.style.js.map → ImageOverlay.style.js.map} +1 -1
  47. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.d.ts +7 -4
  48. package/dist/dist-esm/react-components/src/localization/LocalizationProvider.js.map +1 -1
  49. package/dist/dist-esm/react-components/src/localization/locales/ar-SA/strings.json +1 -1
  50. package/dist/dist-esm/react-components/src/localization/locales/cs-CZ/strings.json +1 -1
  51. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +1 -1
  52. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +1 -1
  53. package/dist/dist-esm/react-components/src/localization/locales/en-US/strings.json +1 -1
  54. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +1 -1
  55. package/dist/dist-esm/react-components/src/localization/locales/fi-FI/strings.json +1 -1
  56. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +1 -1
  57. package/dist/dist-esm/react-components/src/localization/locales/he-IL/strings.json +1 -1
  58. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +1 -1
  59. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +1 -1
  60. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +1 -1
  61. package/dist/dist-esm/react-components/src/localization/locales/nb-NO/strings.json +1 -1
  62. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +1 -1
  63. package/dist/dist-esm/react-components/src/localization/locales/pl-PL/strings.json +1 -1
  64. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +1 -1
  65. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +1 -1
  66. package/dist/dist-esm/react-components/src/localization/locales/sv-SE/strings.json +1 -1
  67. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +1 -1
  68. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +1 -1
  69. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +1 -1
  70. package/dist/dist-esm/react-components/src/theming/themes.d.ts +2 -2
  71. package/dist/dist-esm/react-components/src/theming/themes.js +2 -2
  72. package/dist/dist-esm/react-components/src/theming/themes.js.map +1 -1
  73. package/dist/dist-esm/react-components/src/types/ReactionTypes.js.map +1 -1
  74. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +3 -2
  75. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +25 -22
  76. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  77. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.d.ts +8 -4
  78. package/dist/dist-esm/react-composites/src/composites/CallComposite/Strings.js.map +1 -1
  79. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.d.ts +60 -8
  80. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js +113 -77
  81. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/AzureCommunicationCallAdapter.js.map +1 -1
  82. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +13 -7
  83. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  84. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.d.ts +2 -2
  85. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/index.js.map +1 -1
  86. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.d.ts +2 -2
  87. package/dist/dist-esm/react-composites/src/composites/CallComposite/index.js.map +1 -1
  88. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.d.ts +0 -35
  89. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js +1 -11
  90. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/NoticePage.js.map +1 -1
  91. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.d.ts +56 -0
  92. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js +29 -0
  93. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/SurveyPage.js.map +1 -0
  94. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.d.ts +14 -0
  95. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js +27 -0
  96. package/dist/dist-esm/react-composites/src/composites/CallComposite/pages/ThankYouForFeedbackPage.js.map +1 -0
  97. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/baseSelectors.js.map +1 -1
  98. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.d.ts +9 -2
  99. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js +9 -0
  100. package/dist/dist-esm/react-composites/src/composites/CallComposite/utils/Utils.js.map +1 -1
  101. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +3 -2
  102. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  103. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.d.ts +4 -2
  104. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js +9 -4
  105. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/AzureCommunicationCallWithChatAdapter.js.map +1 -1
  106. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +6 -3
  107. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  108. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.d.ts +4 -3
  109. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js +9 -5
  110. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatBackedCallAdapter.js.map +1 -1
  111. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.d.ts +4 -1
  112. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js +3 -1
  113. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/state/CallWithChatAdapterState.js.map +1 -1
  114. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js +30 -34
  115. package/dist/dist-esm/react-composites/src/composites/ChatComposite/ChatScreen.js.map +1 -1
  116. package/dist/dist-esm/react-composites/src/composites/common/Survey.d.ts +20 -0
  117. package/dist/dist-esm/react-composites/src/composites/common/Survey.js +136 -0
  118. package/dist/dist-esm/react-composites/src/composites/common/Survey.js.map +1 -0
  119. package/dist/dist-esm/react-composites/src/composites/common/{SurveyPaneContent.d.ts → SurveyContent.d.ts} +2 -2
  120. package/dist/dist-esm/react-composites/src/composites/common/{SurveyPaneContent.js → SurveyContent.js} +4 -4
  121. package/dist/dist-esm/react-composites/src/composites/common/SurveyContent.js.map +1 -0
  122. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-US/strings.json +3 -2
  123. package/package.json +1 -1
  124. package/dist/dist-esm/react-components/src/components/ImageGallery.d.ts +0 -71
  125. package/dist/dist-esm/react-components/src/components/ImageGallery.js +0 -53
  126. package/dist/dist-esm/react-components/src/components/ImageGallery.js.map +0 -1
  127. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.d.ts +0 -13
  128. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js +0 -87
  129. package/dist/dist-esm/react-composites/src/composites/common/SurveyPane.js.map +0 -1
  130. package/dist/dist-esm/react-composites/src/composites/common/SurveyPaneContent.js.map +0 -1
@@ -75,6 +75,7 @@ import { LatestNetworkDiagnostics } from '@azure/communication-calling';
75
75
  import { LocalVideoStream } from '@azure/communication-calling';
76
76
  import type { MediaDiagnosticChangedEventArgs } from '@azure/communication-calling';
77
77
  import { MediaStreamType } from '@azure/communication-calling';
78
+ import { MicrosoftTeamsAppIdentifier } from '@azure/communication-common';
78
79
  import { MicrosoftTeamsUserIdentifier } from '@azure/communication-common';
79
80
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
80
81
  import { PartialTheme } from '@fluentui/react';
@@ -104,6 +105,7 @@ import { TeamsMeetingLinkLocator } from '@azure/communication-calling';
104
105
  import { Theme } from '@fluentui/react';
105
106
  import { TransferRequestedEventArgs } from '@azure/communication-calling';
106
107
  import { TypingIndicatorReceivedEvent } from '@azure/communication-chat';
108
+ import { UnknownIdentifier } from '@azure/communication-common';
107
109
  import { VideoDeviceInfo } from '@azure/communication-calling';
108
110
  import { VideoEffectName } from '@azure/communication-calling';
109
111
  import { VideoStreamRenderer } from '@azure/communication-calling';
@@ -383,6 +385,31 @@ export declare type AzureCommunicationChatAdapterOptions = {
383
385
  credential?: CommunicationTokenCredential;
384
386
  };
385
387
 
388
+ /**
389
+ * Arguments for creating the Azure Communication Services implementation of {@link CallAdapter}.
390
+ *
391
+ * These arguments are used to create an outbound call scenarios.
392
+ *
393
+ * Note: `displayName` can be a maximum of 256 characters.
394
+ *
395
+ * @public
396
+ */
397
+ export declare type AzureCommunicationOutboundCallAdapterArgs = {
398
+ userId: CommunicationUserIdentifier;
399
+ displayName: string;
400
+ credential: CommunicationTokenCredential;
401
+ targetCallees: StartCallIdentifier[];
402
+ /**
403
+ * A phone number in E.164 format procured using Azure Communication Services that will be used to represent callers identity.
404
+ * E.164 numbers are formatted as [+] [country code] [phone number including area code]. For example, +14255550123 for a US phone number.
405
+ */
406
+ alternateCallerId?: string;
407
+ /**
408
+ * Optional parameters for the {@link AzureCommunicationCallAdapter} created
409
+ */
410
+ options?: AzureCommunicationCallAdapterOptions;
411
+ };
412
+
386
413
  /**
387
414
  * Properties common to all composites exported from this library.
388
415
  *
@@ -624,9 +651,9 @@ export declare interface CallAdapter extends CommonCallAdapter {
624
651
  /**
625
652
  * Start the call.
626
653
  * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
627
- * @beta
654
+ * @public
628
655
  */
629
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
656
+ startCall(participants: StartCallIdentifier[], options?: StartCallOptions): Call | undefined;
630
657
  }
631
658
 
632
659
  /**
@@ -674,9 +701,9 @@ export declare interface CallAdapterCallManagement extends CallAdapterCallOperat
674
701
  /**
675
702
  * Start the call.
676
703
  * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
677
- * @beta
704
+ * @public
678
705
  */
679
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
706
+ startCall(participants: StartCallIdentifier[], options?: StartCallOptions): Call | undefined;
680
707
  }
681
708
 
682
709
  /**
@@ -1584,9 +1611,10 @@ export declare type CallCompositeOptions = {
1584
1611
  */
1585
1612
  disableSurvey?: boolean;
1586
1613
  /**
1587
- * Optional callback to add extra logic when survey is dismissed. For self-host only
1614
+ * Optional callback to redirect users to custom screens when survey is done, note that default end call screen will be shown if this callback is not provided
1615
+ * This callback can be used to redirect users to different screens depending on survey state, whether it is submitted, skipped or has a problem when submitting the survey
1588
1616
  */
1589
- onSurveyDismissed?: () => void;
1617
+ onSurveyClosed?: (surveyState: 'sent' | 'skipped' | 'error', surveyError?: string) => void;
1590
1618
  /**
1591
1619
  * Optional callback to handle survey data including free form text response
1592
1620
  * Note that free form text response survey option is only going to be enabled when this callback is provided
@@ -2276,9 +2304,9 @@ export declare interface CallCompositeStrings {
2276
2304
  */
2277
2305
  capabilityChangedNotification?: CapabilityChangedNotificationStrings;
2278
2306
  /**
2279
- * Question for the survey
2307
+ * Title for the survey
2280
2308
  */
2281
- surveyQuestion: string;
2309
+ surveyTitle: string;
2282
2310
  /**
2283
2311
  * Helper text to explain what the survey is for
2284
2312
  */
@@ -2324,13 +2352,17 @@ export declare interface CallCompositeStrings {
2324
2352
  */
2325
2353
  surveyConfirmButtonLabel: string;
2326
2354
  /**
2327
- * Aria Label for cancel button
2355
+ * Cancel button label for survey
2328
2356
  */
2329
- surveyCancelButtonAriaLabel: string;
2357
+ surveySkipButtonLabel: string;
2330
2358
  /**
2331
2359
  * Default text for free form text box
2332
2360
  */
2333
2361
  surveyTextboxDefaultText: string;
2362
+ /**
2363
+ * Thank you text appeared on screen after survey is submitted
2364
+ */
2365
+ endOfSurveyText: string;
2334
2366
  /**
2335
2367
  * Corresponding texts to each call issue
2336
2368
  */
@@ -2878,9 +2910,9 @@ export declare interface CallWithChatAdapterManagement {
2878
2910
  /**
2879
2911
  * Start the call.
2880
2912
  * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
2881
- * @beta
2913
+ * @public
2882
2914
  */
2883
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): Call | undefined;
2915
+ startCall(participants: (MicrosoftTeamsAppIdentifier | /* @conditional-compile-remove(PSTN-calls) */ PhoneNumberIdentifier | /* @conditional-compile-remove(one-to-n-calling) */ CommunicationUserIdentifier | /* @conditional-compile-remove(teams-adhoc-call) */ MicrosoftTeamsUserIdentifier | UnknownIdentifier)[], options?: StartCallOptions): Call | undefined;
2884
2916
  /**
2885
2917
  * Start sharing the screen during a call.
2886
2918
  *
@@ -3322,7 +3354,10 @@ export declare interface CallWithChatClientState {
3322
3354
  selectedVideoBackgroundEffect?: VideoBackgroundEffect;
3323
3355
  /** Hide attendee names in teams meeting */
3324
3356
  hideAttendeeNames?: boolean;
3325
- /** Reaction resources to render in meetings */
3357
+ /**
3358
+ * Reaction resources to render in meetings
3359
+ * @beta
3360
+ * */
3326
3361
  reactions?: ReactionResources;
3327
3362
  }
3328
3363
 
@@ -3508,9 +3543,10 @@ export declare type CallWithChatCompositeOptions = {
3508
3543
  */
3509
3544
  disableSurvey?: boolean;
3510
3545
  /**
3511
- * Optional callback to add extra logic when survey is dismissed. For self-host only
3546
+ * Optional callback to redirect users to custom screens when survey is done, note that default end call screen will be shown if this callback is not provided
3547
+ * This callback can be used to redirect users to different screens depending on survey state, whether it is submitted, skipped or has a problem when submitting the survey
3512
3548
  */
3513
- onSurveyDismissed?: () => void;
3549
+ onSurveyClosed?: (surveyState: 'sent' | 'skipped' | 'error', surveyError?: string) => void;
3514
3550
  /**
3515
3551
  * Optional callback to handle survey data including free form text response
3516
3552
  * Note that free form text response survey option is only going to be enabled when this callback is provided
@@ -4852,9 +4888,9 @@ export declare interface CommonCallAdapter extends AdapterState<CallAdapterState
4852
4888
  /**
4853
4889
  * Start the call.
4854
4890
  * @param participants - An array of {@link @azure/communication-common#CommunicationIdentifier} to be called
4855
- * @beta
4891
+ * @public
4856
4892
  */
4857
- startCall(participants: CommunicationIdentifier[], options?: StartCallOptions): void;
4893
+ startCall(participants: StartCallIdentifier[], options?: StartCallOptions): void;
4858
4894
  }
4859
4895
 
4860
4896
  /**
@@ -4880,6 +4916,11 @@ export declare type CommonCallAdapterOptions = {
4880
4916
  * Sounds to use for calling events
4881
4917
  */
4882
4918
  callingSounds?: CallingSounds;
4919
+ /**
4920
+ * Reaction resource for reaction resources
4921
+ * @beta
4922
+ */
4923
+ reactionResources?: ReactionResources;
4883
4924
  };
4884
4925
 
4885
4926
  /**
@@ -5001,6 +5042,9 @@ export declare interface CommonCallingHandlers {
5001
5042
  onRaiseHand: () => Promise<void>;
5002
5043
  onLowerHand: () => Promise<void>;
5003
5044
  onToggleRaiseHand: () => Promise<void>;
5045
+ /**
5046
+ * @beta
5047
+ */
5004
5048
  onReactionClicked: (reaction: Reaction_2) => Promise<void>;
5005
5049
  onToggleHold: () => Promise<void>;
5006
5050
  onAddParticipant(participant: CommunicationUserIdentifier): Promise<void>;
@@ -5295,7 +5339,10 @@ export declare interface ComponentStrings {
5295
5339
  screenShareButton: ScreenShareButtonStrings;
5296
5340
  /** Strings for RaiseHandButton */
5297
5341
  raiseHandButton: RaiseHandButtonStrings;
5298
- /** Strings for ReactionButton */
5342
+ /**
5343
+ * Strings for ReactionButton
5344
+ * @beta
5345
+ * */
5299
5346
  reactionButton: ReactionButtonStrings;
5300
5347
  /** Strings for TypingIndicator */
5301
5348
  typingIndicator: TypingIndicatorStrings;
@@ -5303,8 +5350,8 @@ export declare interface ComponentStrings {
5303
5350
  sendBox: SendBoxStrings;
5304
5351
  /** Strings for MentionPopover */
5305
5352
  mentionPopover: MentionPopoverStrings;
5306
- /** Strings for ImageGallery */
5307
- imageGallery: ImageGalleryStrings;
5353
+ /** Strings for ImageOverlay */
5354
+ imageOverlay: ImageOverlayStrings;
5308
5355
  /** Strings for MessageStatusIndicator */
5309
5356
  messageStatusIndicator: MessageStatusIndicatorStrings;
5310
5357
  /** Strings for ErroBar */
@@ -5721,7 +5768,18 @@ export declare interface ControlBarProps {
5721
5768
  *
5722
5769
  * @public
5723
5770
  */
5724
- export declare const createAzureCommunicationCallAdapter: ({ userId, displayName, credential, locator, alternateCallerId, options }: AzureCommunicationCallAdapterArgs) => Promise<CallAdapter>;
5771
+ export declare function createAzureCommunicationCallAdapter(args: AzureCommunicationCallAdapterArgs): Promise<CallAdapter>;
5772
+
5773
+ /**
5774
+ * Create a {@link CallAdapter} backed by Azure Communication Services.
5775
+ *
5776
+ * This is the default implementation of {@link CallAdapter} provided by this library.
5777
+ *
5778
+ * Note: `displayName` can be a maximum of 256 characters.
5779
+ *
5780
+ * @public
5781
+ */
5782
+ export declare function createAzureCommunicationCallAdapter(args: AzureCommunicationOutboundCallAdapterArgs): Promise<CallAdapter>;
5725
5783
 
5726
5784
  /**
5727
5785
  * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
@@ -5731,7 +5789,17 @@ export declare const createAzureCommunicationCallAdapter: ({ userId, displayName
5731
5789
  *
5732
5790
  * @public
5733
5791
  */
5734
- export declare const createAzureCommunicationCallAdapterFromClient: (callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions) => Promise<CallAdapter>;
5792
+ export declare function createAzureCommunicationCallAdapterFromClient(callClient: StatefulCallClient, callAgent: CallAgent, targetCallees: StartCallIdentifier[], options?: AzureCommunicationCallAdapterOptions): Promise<CallAdapter>;
5793
+
5794
+ /**
5795
+ * Create a {@link CallAdapter} using the provided {@link StatefulCallClient}.
5796
+ *
5797
+ * Useful if you want to keep a reference to {@link StatefulCallClient}.
5798
+ * Consider using {@link createAzureCommunicationCallAdapter} for a simpler API.
5799
+ *
5800
+ * @public
5801
+ */
5802
+ export declare function createAzureCommunicationCallAdapterFromClient(callClient: StatefulCallClient, callAgent: CallAgent, locator: CallAdapterLocator, options?: AzureCommunicationCallAdapterOptions): Promise<CallAdapter>;
5735
5803
 
5736
5804
  /**
5737
5805
  * Create a CallWithChatAdapter backed by Azure Communication services
@@ -6036,7 +6104,7 @@ export declare interface CustomMessage extends MessageCommon {
6036
6104
  *
6037
6105
  * @public
6038
6106
  */
6039
- export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
6107
+ export declare const darkTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-overlay) */ ChatTheme;
6040
6108
 
6041
6109
  /**
6042
6110
  * @beta
@@ -7363,70 +7431,60 @@ export declare interface _Identifiers {
7363
7431
  *
7364
7432
  * @beta
7365
7433
  */
7366
- export declare const ImageGallery: (props: ImageGalleryProps) => JSX.Element;
7367
-
7368
- /**
7369
- * Props for {@link ImageGallery}.
7370
- *
7371
- * @beta
7372
- */
7373
- export declare interface ImageGalleryImageProps {
7374
- /** Image Url used to display the image in a large scale. */
7375
- imageUrl: string;
7376
- /** String used as a file name when downloading this image to user's local device. */
7377
- downloadFilename: string;
7378
- /** Optional string used as a alt text for the image. @default 'image' */
7379
- altText?: string;
7380
- /** Optional string used as the title of the image and displayed on the top left corner of the ImageGallery. */
7381
- title?: string;
7382
- /** Optional JSX element used as a title icon and displayed to the left of the title element. */
7383
- titleIcon?: JSX.Element;
7384
- }
7434
+ export declare const ImageOverlay: (props: ImageOverlayProps) => JSX.Element;
7385
7435
 
7386
7436
  /**
7387
- * Props for {@link ImageGallery}.
7437
+ * Props for {@link ImageOverlay}.
7388
7438
  *
7389
7439
  * @beta
7390
7440
  */
7391
- export declare interface ImageGalleryProps {
7441
+ export declare interface ImageOverlayProps {
7392
7442
  /**
7393
7443
  * Boolean that controls whether the modal is displayed.
7394
7444
  */
7395
7445
  isOpen: boolean;
7396
7446
  /**
7397
- * Array of images used to populate the ImageGallery
7447
+ * Image source used to display the image in a large scale.
7448
+ */
7449
+ imageSrc: string;
7450
+ /**
7451
+ * Optional string used as a alt text for the image. @default 'image'
7452
+ */
7453
+ altText?: string;
7454
+ /**
7455
+ * Optional string used as the title of the image and displayed on the top left corner of the ImageOverlay.
7456
+ */
7457
+ title?: string;
7458
+ /**
7459
+ * Optional JSX element used as a title icon and displayed to the left of the title element.
7398
7460
  */
7399
- images: Array<ImageGalleryImageProps>;
7461
+ titleIcon?: JSX.Element;
7400
7462
  /**
7401
- * Callback to invoke when the ImageGallery modal is dismissed
7463
+ * Callback to invoke when the ImageOverlay modal is dismissed
7402
7464
  */
7403
7465
  onDismiss: () => void;
7404
7466
  /**
7405
7467
  * Callback called when the download button is clicked.
7406
7468
  */
7407
- onImageDownloadButtonClicked: (imageUrl: string, downloadFilename: string) => void;
7469
+ onDownloadButtonClicked: (imageSrc: string) => void;
7408
7470
  /**
7409
7471
  * Callback called when there's an error loading the image.
7410
7472
  */
7411
7473
  onError?: (event: SyntheticEvent<HTMLImageElement, Event>) => void;
7412
- /**
7413
- * Indicating which index of the images array to start with.
7414
- */
7415
- startIndex?: number;
7416
7474
  }
7417
7475
 
7418
7476
  /**
7419
- * Strings of {@link ImageGallery} that can be overridden.
7477
+ * Strings of {@link ImageOverlay} that can be overridden.
7420
7478
  *
7421
7479
  * @beta
7422
7480
  */
7423
- export declare interface ImageGalleryStrings {
7481
+ export declare interface ImageOverlayStrings {
7424
7482
  /**
7425
- * Download button label for ImageGallery
7483
+ * Download button label for ImageOverlay
7426
7484
  */
7427
7485
  downloadButtonLabel: string;
7428
7486
  /**
7429
- * Dismiss button aria label for ImageGallery
7487
+ * Dismiss button aria label for ImageOverlay
7430
7488
  */
7431
7489
  dismissButtonAriaLabel: string;
7432
7490
  }
@@ -7617,7 +7675,7 @@ export declare interface JumpToNewMessageButtonProps {
7617
7675
  *
7618
7676
  * @public
7619
7677
  */
7620
- export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-gallery) */ ChatTheme;
7678
+ export declare const lightTheme: PartialTheme & CallingTheme & /* @conditional-compile-remove(image-overlay) */ ChatTheme;
7621
7679
 
7622
7680
  /**
7623
7681
  * Whether the stream is loading or not.
@@ -9750,6 +9808,12 @@ export declare interface SpotlightState {
9750
9808
  spotlightedOrderPosition?: number;
9751
9809
  }
9752
9810
 
9811
+ /**
9812
+ * Identifier types for initiating a call using the CallAdapter
9813
+ * @public
9814
+ */
9815
+ export declare type StartCallIdentifier = (MicrosoftTeamsAppIdentifier | /* @conditional-compile-remove(PSTN-calls) */ PhoneNumberIdentifier | /* @conditional-compile-remove(one-to-n-calling) */ CommunicationUserIdentifier | /* @conditional-compile-remove(teams-adhoc-call) */ MicrosoftTeamsUserIdentifier | UnknownIdentifier) | /* @conditional-compile-remove(start-call-beta) */ CommunicationIdentifier;
9816
+
9753
9817
  /**
9754
9818
  * Defines the methods that allow CallClient {@link @azure/communication-calling#CallClient} to be used statefully.
9755
9819
  * The interface provides access to proxied state and also allows registering a handler for state change events. For
@@ -10499,7 +10563,7 @@ export declare type UpdateMessageCallback = (messageId: string, content: string,
10499
10563
  *
10500
10564
  * @public
10501
10565
  */
10502
- export declare const useAzureCommunicationCallAdapter: (args: Partial<AzureCommunicationCallAdapterArgs>, afterCreate?: ((adapter: CallAdapter) => Promise<CallAdapter>) | undefined, beforeDispose?: ((adapter: CallAdapter) => Promise<void>) | undefined) => CallAdapter | undefined;
10566
+ export declare const useAzureCommunicationCallAdapter: (args: Partial<AzureCommunicationCallAdapterArgs | AzureCommunicationOutboundCallAdapterArgs>, afterCreate?: ((adapter: CallAdapter) => Promise<CallAdapter>) | undefined, beforeDispose?: ((adapter: CallAdapter) => Promise<void>) | undefined) => CallAdapter | undefined;
10503
10567
 
10504
10568
  /**
10505
10569
  * A custom React hook to simplify the creation of {@link CallWithChatAdapter}.
@@ -10957,6 +11021,7 @@ export declare interface VideoGalleryProps {
10957
11021
  localVideoTileSize?: LocalVideoTileSize;
10958
11022
  /**
10959
11023
  * Reaction resources for like, heart, laugh, applause and surprised.
11024
+ * @beta
10960
11025
  */
10961
11026
  reactionResources?: ReactionResources;
10962
11027
  }
@@ -11230,7 +11295,10 @@ export declare interface VideoTileProps {
11230
11295
  isSpeaking?: boolean;
11231
11296
  /** Whether the participant is raised hand. Show a indicator (border) and icon with order */
11232
11297
  raisedHand?: RaisedHand;
11233
- /** When the participant has reacted, animate the reaction. */
11298
+ /**
11299
+ * When the participant has reacted, animate the reaction.
11300
+ * @beta
11301
+ * */
11234
11302
  reaction?: Reaction;
11235
11303
  /**
11236
11304
  * The call connection state of the participant.
@@ -11254,6 +11322,7 @@ export declare interface VideoTileProps {
11254
11322
  isSpotlighted?: boolean;
11255
11323
  /**
11256
11324
  * Reactions resources' url and metadata.
11325
+ * @beta
11257
11326
  */
11258
11327
  reactionResources?: ReactionResources;
11259
11328
  }