@azure/communication-react 1.3.3-alpha-202210270017.0 → 1.3.3-alpha-202210290014.0

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 (68) hide show
  1. package/dist/communication-react.d.ts +20 -1
  2. package/dist/dist-cjs/communication-react/index.js +139 -67
  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/createHandlers.js +23 -1
  7. package/dist/dist-esm/calling-component-bindings/src/handlers/createHandlers.js.map +1 -1
  8. package/dist/dist-esm/calling-stateful-client/src/CallClientState.d.ts +9 -0
  9. package/dist/dist-esm/calling-stateful-client/src/CallClientState.js.map +1 -1
  10. package/dist/dist-esm/calling-stateful-client/src/CallContext.d.ts +3 -0
  11. package/dist/dist-esm/calling-stateful-client/src/CallContext.js +23 -0
  12. package/dist/dist-esm/calling-stateful-client/src/CallContext.js.map +1 -1
  13. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.d.ts +1 -0
  14. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js +8 -0
  15. package/dist/dist-esm/calling-stateful-client/src/CallSubscriber.js.map +1 -1
  16. package/dist/dist-esm/calling-stateful-client/src/Converter.js +3 -1
  17. package/dist/dist-esm/calling-stateful-client/src/Converter.js.map +1 -1
  18. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js +9 -3
  19. package/dist/dist-esm/calling-stateful-client/src/DeviceManagerDeclarative.js.map +1 -1
  20. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.d.ts +1 -0
  21. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js +8 -0
  22. package/dist/dist-esm/calling-stateful-client/src/ParticipantSubscriber.js.map +1 -1
  23. package/dist/dist-esm/calling-stateful-client/src/index.js.map +1 -1
  24. package/dist/dist-esm/communication-react/src/index.js.map +1 -1
  25. package/dist/dist-esm/react-components/src/localization/locales/de-DE/strings.json +58 -8
  26. package/dist/dist-esm/react-components/src/localization/locales/en-GB/strings.json +66 -16
  27. package/dist/dist-esm/react-components/src/localization/locales/es-ES/strings.json +57 -7
  28. package/dist/dist-esm/react-components/src/localization/locales/fr-FR/strings.json +62 -12
  29. package/dist/dist-esm/react-components/src/localization/locales/it-IT/strings.json +63 -13
  30. package/dist/dist-esm/react-components/src/localization/locales/ja-JP/strings.json +66 -16
  31. package/dist/dist-esm/react-components/src/localization/locales/ko-KR/strings.json +59 -9
  32. package/dist/dist-esm/react-components/src/localization/locales/nl-NL/strings.json +57 -7
  33. package/dist/dist-esm/react-components/src/localization/locales/pt-BR/strings.json +66 -16
  34. package/dist/dist-esm/react-components/src/localization/locales/ru-RU/strings.json +60 -10
  35. package/dist/dist-esm/react-components/src/localization/locales/tr-TR/strings.json +66 -16
  36. package/dist/dist-esm/react-components/src/localization/locales/zh-CN/strings.json +60 -10
  37. package/dist/dist-esm/react-components/src/localization/locales/zh-TW/strings.json +59 -9
  38. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.d.ts +5 -0
  39. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js +24 -27
  40. package/dist/dist-esm/react-composites/src/composites/CallComposite/CallComposite.js.map +1 -1
  41. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.d.ts +1 -1
  42. package/dist/dist-esm/react-composites/src/composites/CallComposite/adapter/CallAdapter.js.map +1 -1
  43. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js +1 -1
  44. package/dist/dist-esm/react-composites/src/composites/CallComposite/components/CallPane.js.map +1 -1
  45. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js +3 -1
  46. package/dist/dist-esm/react-composites/src/composites/CallComposite/selectors/localPreviewSelector.js.map +1 -1
  47. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.d.ts +5 -0
  48. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js +6 -2
  49. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatComposite.js.map +1 -1
  50. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js +1 -1
  51. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/CallWithChatPane.js.map +1 -1
  52. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.d.ts +1 -0
  53. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js +2 -2
  54. package/dist/dist-esm/react-composites/src/composites/common/PeoplePaneContent.js.map +1 -1
  55. package/dist/dist-esm/react-composites/src/composites/localization/locales/de-DE/strings.json +55 -14
  56. package/dist/dist-esm/react-composites/src/composites/localization/locales/en-GB/strings.json +55 -14
  57. package/dist/dist-esm/react-composites/src/composites/localization/locales/es-ES/strings.json +55 -14
  58. package/dist/dist-esm/react-composites/src/composites/localization/locales/fr-FR/strings.json +55 -14
  59. package/dist/dist-esm/react-composites/src/composites/localization/locales/it-IT/strings.json +55 -14
  60. package/dist/dist-esm/react-composites/src/composites/localization/locales/ja-JP/strings.json +55 -14
  61. package/dist/dist-esm/react-composites/src/composites/localization/locales/ko-KR/strings.json +55 -14
  62. package/dist/dist-esm/react-composites/src/composites/localization/locales/nl-NL/strings.json +55 -14
  63. package/dist/dist-esm/react-composites/src/composites/localization/locales/pt-BR/strings.json +55 -14
  64. package/dist/dist-esm/react-composites/src/composites/localization/locales/ru-RU/strings.json +55 -14
  65. package/dist/dist-esm/react-composites/src/composites/localization/locales/tr-TR/strings.json +55 -14
  66. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-CN/strings.json +55 -14
  67. package/dist/dist-esm/react-composites/src/composites/localization/locales/zh-TW/strings.json +55 -14
  68. package/package.json +12 -12
@@ -68,6 +68,7 @@ import { MediaStreamType } from '@azure/communication-calling';
68
68
  import { MicrosoftTeamsUserKind } from '@azure/communication-common';
69
69
  import type { NetworkDiagnosticChangedEventArgs } from '@azure/communication-calling';
70
70
  import { PartialTheme } from '@fluentui/react';
71
+ import { ParticipantRole } from '@azure/communication-calling';
71
72
  import { PermissionConstraints } from '@azure/communication-calling';
72
73
  import { PersonaInitialsColor } from '@fluentui/react';
73
74
  import { PersonaPresence } from '@fluentui/react';
@@ -500,7 +501,7 @@ export declare interface CallAdapter extends AdapterState<CallAdapterState>, Dis
500
501
  * @public
501
502
  */
502
503
  export declare type CallAdapterCallEndedEvent = {
503
- callId?: string;
504
+ callId: string;
504
505
  };
505
506
 
506
507
  /**
@@ -1111,6 +1112,11 @@ export declare type CallCompositeOptions = {
1111
1112
  * Require device permissions to be set or have them as optional or not required to start a call
1112
1113
  */
1113
1114
  devicePermissions?: DevicePermissionRestrictions;
1115
+ /**
1116
+ * Opt in call readiness feature for your call
1117
+ * Setting this to `true` will add call readiness features to the call experience
1118
+ */
1119
+ callReadinessOptedIn?: boolean;
1114
1120
  /**
1115
1121
  * Callback you may provide to supply users with further steps to troubleshoot why they have been
1116
1122
  * unable to grant your site the required permissions for the call.
@@ -1851,6 +1857,10 @@ export declare interface CallState {
1851
1857
  * Stores the latest call diagnostics.
1852
1858
  */
1853
1859
  diagnostics: DiagnosticsCallFeatureState;
1860
+ /**
1861
+ * Proxy of {@link @azure/communication-calling#Call.role}.
1862
+ */
1863
+ role?: ParticipantRole;
1854
1864
  }
1855
1865
 
1856
1866
  /**
@@ -2372,6 +2382,11 @@ export declare type CallWithChatCompositeOptions = {
2372
2382
  * if this is not supplied, the composite will not show a 'network troubleshooting' link.
2373
2383
  */
2374
2384
  onNetworkingTroubleShootingClick?: () => void;
2385
+ /**
2386
+ * Opt in call readiness feature for your call
2387
+ * setting this to True will add call readiness feature in call experience
2388
+ */
2389
+ callReadinessOptedIn?: boolean;
2375
2390
  };
2376
2391
 
2377
2392
  /**
@@ -6707,6 +6722,10 @@ export declare interface RemoteParticipantState {
6707
6722
  * Proxy of {@link @azure/communication-calling#RemoteParticipant.isSpeaking}.
6708
6723
  */
6709
6724
  isSpeaking: boolean;
6725
+ /**
6726
+ * Proxy of {@link @azure/communication-calling#RemoteParticipant.role}.
6727
+ */
6728
+ role?: ParticipantRole;
6710
6729
  }
6711
6730
 
6712
6731
  /**