@microsoft/teams-js 2.20.0 → 2.20.1-beta.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -550,7 +550,7 @@ export namespace externalAppAuthentication {
550
550
  };
551
551
  /**
552
552
  * @hidden
553
- * Information about the message extension request that should be resent by the host. Corresponds to request schema in https://learn.microsoft.com/en-us/microsoftteams/platform/resources/messaging-extension-v3/search-extensions#receive-user-requests
553
+ * Information about the message extension request that should be resent by the host. Corresponds to request schema in https://learn.microsoft.com/microsoftteams/platform/resources/messaging-extension-v3/search-extensions#receive-user-requests
554
554
  * @internal
555
555
  * Limited to Microsoft-internal use
556
556
  */
@@ -2633,11 +2633,6 @@ export namespace videoEffectsEx {
2633
2633
  function notifyFatalError(errorMessage: string): void;
2634
2634
  }
2635
2635
 
2636
- /**
2637
- * Namespace to interact with the authentication-specific part of the SDK.
2638
- *
2639
- * This object is used for starting or completing authentication flows.
2640
- */
2641
2636
  export namespace authentication {
2642
2637
  /**
2643
2638
  * @hidden
@@ -3434,7 +3429,7 @@ export interface SecondaryId {
3434
3429
  }
3435
3430
  /**
3436
3431
  * These correspond with field names in the MSGraph.
3437
- * See (commonly accessed resources)[https://learn.microsoft.com/en-us/graph/api/resources/onedrive?view=graph-rest-1.0#commonly-accessed-resources].
3432
+ * See [commonly accessed resources](https://learn.microsoft.com/graph/api/resources/onedrive?view=graph-rest-1.0#commonly-accessed-resources).
3438
3433
  * @beta
3439
3434
  */
3440
3435
  export enum SecondaryM365ContentIdName {
@@ -4834,7 +4829,7 @@ interface OpenChatRequest {
4834
4829
  */
4835
4830
  export interface OpenSingleChatRequest extends OpenChatRequest {
4836
4831
  /**
4837
- * The [Microsoft Entra UPNs](https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
4832
+ * The [Microsoft Entra UPN](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
4838
4833
  * of the user with whom to begin a chat
4839
4834
  */
4840
4835
  user: string;
@@ -4848,7 +4843,7 @@ export interface OpenSingleChatRequest extends OpenChatRequest {
4848
4843
  */
4849
4844
  export interface OpenGroupChatRequest extends OpenChatRequest {
4850
4845
  /**
4851
- * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
4846
+ * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
4852
4847
  * of users with whom to begin a chat
4853
4848
  */
4854
4849
  users: string[];
@@ -7578,9 +7573,6 @@ export namespace mail {
7578
7573
  export {};
7579
7574
  }
7580
7575
 
7581
- /**
7582
- * Namespace containing the set of APIs that support Teams-specific functionalities.
7583
- */
7584
7576
  export namespace teamsCore {
7585
7577
  /** Ready to unload function type */
7586
7578
  type readyToUnloadFunctionType = () => void;
@@ -7599,7 +7591,7 @@ export namespace teamsCore {
7599
7591
  /**
7600
7592
  * Registers a handler to be called when the page has been requested to load.
7601
7593
  *
7602
- * @remarks Check out [App Caching in Teams](https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/app-caching)
7594
+ * @remarks Check out [App Caching in Teams](https://learn.microsoft.com/microsoftteams/platform/tabs/how-to/app-caching)
7603
7595
  * for a more detailed explanation about using this API.
7604
7596
  *
7605
7597
  * @param handler - The handler to invoke when the page is loaded.
@@ -7614,16 +7606,17 @@ export namespace teamsCore {
7614
7606
  * @internal
7615
7607
  * Limited to Microsoft-internal use
7616
7608
  *
7609
+ * @param apiVersionTag - The tag indicating API version number with name
7617
7610
  * @param handler - The handler to invoke when the page is loaded.
7618
7611
  * @param versionSpecificHelper - The helper function containing logic pertaining to a specific version of the API.
7619
7612
  *
7620
7613
  * @deprecated
7621
7614
  */
7622
- function registerOnLoadHandlerHelper(handler: registerOnLoadHandlerFunctionType, versionSpecificHelper?: () => void): void;
7615
+ function registerOnLoadHandlerHelper(apiVersionTag: string, handler: registerOnLoadHandlerFunctionType, versionSpecificHelper?: () => void): void;
7623
7616
  /**
7624
7617
  * Registers a handler to be called before the page is unloaded.
7625
7618
  *
7626
- * @remarks Check out [App Caching in Teams](https://learn.microsoft.com/en-us/microsoftteams/platform/tabs/how-to/app-caching)
7619
+ * @remarks Check out [App Caching in Teams](https://learn.microsoft.com/microsoftteams/platform/tabs/how-to/app-caching)
7627
7620
  * for a more detailed explanation about using this API.
7628
7621
  *
7629
7622
  * @param handler - The handler to invoke before the page is unloaded. If this handler returns true the page should
@@ -7645,7 +7638,7 @@ export namespace teamsCore {
7645
7638
  *
7646
7639
  * @deprecated
7647
7640
  */
7648
- function registerBeforeUnloadHandlerHelper(handler: registerBeforeUnloadHandlerFunctionType, versionSpecificHelper?: () => void): void;
7641
+ function registerBeforeUnloadHandlerHelper(apiVersionTag: string, handler: registerBeforeUnloadHandlerFunctionType, versionSpecificHelper?: () => void): void;
7649
7642
  /**
7650
7643
  * Checks if teamsCore capability is supported by the host
7651
7644
  *