@microsoft/teams-js 2.24.0-beta.0 → 2.24.0-beta.2

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.
@@ -2405,7 +2405,7 @@ var HostClientType;
2405
2405
  HostClientType["macos"] = "macos";
2406
2406
  /**
2407
2407
  * @deprecated
2408
- * As of 2.0.0, please use {@link teamsRoomsWindows} instead.
2408
+ * As of TeamsJS v2.0.0, please use {@link teamsRoomsWindows} instead.
2409
2409
  */
2410
2410
  HostClientType["rigel"] = "rigel";
2411
2411
  /** Represents the client of host, which runs on surface hub devices. */
@@ -2528,7 +2528,7 @@ var DialogDimension;
2528
2528
 
2529
2529
  /**
2530
2530
  * @deprecated
2531
- * As of 2.0.0, please use {@link DialogDimension} instead.
2531
+ * As of TeamsJS v2.0.0, please use {@link DialogDimension} instead.
2532
2532
  */
2533
2533
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
2534
2534
  var TaskModuleDimension = DialogDimension;
@@ -3395,7 +3395,7 @@ const _minRuntimeConfigToUninitialize = {
3395
3395
  * @hidden
3396
3396
  * Package version.
3397
3397
  */
3398
- const version = "2.24.0-beta.0";
3398
+ const version = "2.24.0-beta.2";
3399
3399
 
3400
3400
  ;// CONCATENATED MODULE: ./src/internal/internalAPIs.ts
3401
3401
 
@@ -3662,6 +3662,185 @@ function validateOrigin(messageOrigin) {
3662
3662
  });
3663
3663
  }
3664
3664
 
3665
+ ;// CONCATENATED MODULE: ./src/private/messageChannels.ts
3666
+ var messageChannels_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
3667
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3668
+ return new (P || (P = Promise))(function (resolve, reject) {
3669
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
3670
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
3671
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
3672
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
3673
+ });
3674
+ };
3675
+
3676
+
3677
+
3678
+
3679
+
3680
+ /**
3681
+ * @hidden
3682
+ * Namespace to request message ports from the host application.
3683
+ *
3684
+ * @beta
3685
+ *
3686
+ * @internal
3687
+ * Limited to Microsoft-internal use
3688
+ */
3689
+ var messageChannels;
3690
+ (function (messageChannels) {
3691
+ let telemetry;
3692
+ (function (telemetry) {
3693
+ let telemetryPort;
3694
+ const messageChannelsTelemetryVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
3695
+ const logger = getLogger('messageChannels.telemetry');
3696
+ /**
3697
+ * @hidden
3698
+ * @beta
3699
+ *
3700
+ * Fetches a MessagePort to batch telemetry through the host's telemetry worker.
3701
+ * The port is cached once received, so subsequent calls return the same port.
3702
+ * @returns MessagePort.
3703
+ *
3704
+ * @throws Error if {@linkcode app.initialize} has not successfully completed,
3705
+ * if the host does not support the feature, or if the port request is rejected.
3706
+ *
3707
+ * @internal
3708
+ * Limited to Microsoft-internal use
3709
+ */
3710
+ function getTelemetryPort() {
3711
+ return messageChannels_awaiter(this, void 0, void 0, function* () {
3712
+ // If the port has already been initialized, return it.
3713
+ if (telemetryPort) {
3714
+ logger('Returning telemetry port from cache');
3715
+ return telemetryPort;
3716
+ }
3717
+ if (!isSupported()) {
3718
+ throw errorNotSupportedOnPlatform;
3719
+ }
3720
+ // Send request for telemetry port, will throw if the request is rejected
3721
+ telemetryPort = yield requestPortFromParentWithVersion(getApiVersionTag(messageChannelsTelemetryVersionNumber, "messageChannels.telemetry.getTelemetryPort" /* ApiName.MessageChannels_Telemetry_GetTelemetryPort */), "messageChannels.telemetry.getTelemetryPort" /* ApiName.MessageChannels_Telemetry_GetTelemetryPort */);
3722
+ return telemetryPort;
3723
+ });
3724
+ }
3725
+ telemetry.getTelemetryPort = getTelemetryPort;
3726
+ /**
3727
+ * @hidden
3728
+ *
3729
+ * @beta
3730
+ *
3731
+ * Checks if the messageChannels.telemetry capability is supported by the host
3732
+ * @returns boolean to represent whether the messageChannels.telemetry capability is supported
3733
+ *
3734
+ * @throws Error if {@linkcode app.initialize} has not successfully completed
3735
+ *
3736
+ * @internal
3737
+ * Limited to Microsoft-internal use
3738
+ */
3739
+ function isSupported() {
3740
+ var _a;
3741
+ return ensureInitialized(runtime) && ((_a = runtime.supports.messageChannels) === null || _a === void 0 ? void 0 : _a.telemetry) ? true : false;
3742
+ }
3743
+ telemetry.isSupported = isSupported;
3744
+ /**
3745
+ * @hidden
3746
+ * Undocumented function used to clear state between unit tests
3747
+ *
3748
+ * @beta
3749
+ *
3750
+ * @internal
3751
+ * Limited to Microsoft-internal use
3752
+ */
3753
+ function _clearTelemetryPort() {
3754
+ telemetryPort = undefined;
3755
+ }
3756
+ telemetry._clearTelemetryPort = _clearTelemetryPort;
3757
+ })(telemetry = messageChannels.telemetry || (messageChannels.telemetry = {}));
3758
+ let dataLayer;
3759
+ (function (dataLayer) {
3760
+ let dataLayerPort;
3761
+ const messageChannelsDataLayerVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
3762
+ const logger = getLogger('messageChannels.dataLayer');
3763
+ /**
3764
+ * @hidden
3765
+ * @beta
3766
+ *
3767
+ * Fetches a MessagePort to allow access to the host's data layer worker.
3768
+ * The port is cached once received, so subsequent calls return the same port.
3769
+ * @returns MessagePort.
3770
+ *
3771
+ * @throws Error if {@linkcode app.initialize} has not successfully completed,
3772
+ * if the host does not support the feature, or if the port request is rejected.
3773
+ *
3774
+ * @internal
3775
+ * Limited to Microsoft-internal use
3776
+ */
3777
+ function getDataLayerPort() {
3778
+ return messageChannels_awaiter(this, void 0, void 0, function* () {
3779
+ // If the port has already been initialized, return it.
3780
+ if (dataLayerPort) {
3781
+ logger('Returning dataLayer port from cache');
3782
+ return dataLayerPort;
3783
+ }
3784
+ if (!isSupported()) {
3785
+ throw errorNotSupportedOnPlatform;
3786
+ }
3787
+ // Send request for telemetry port, will throw if the request is rejected
3788
+ dataLayerPort = yield requestPortFromParentWithVersion(getApiVersionTag(messageChannelsDataLayerVersionNumber, "messageChannels.dataLayer.getDataLayerPort" /* ApiName.MessageChannels_DataLayer_GetDataLayerPort */), "messageChannels.dataLayer.getDataLayerPort" /* ApiName.MessageChannels_DataLayer_GetDataLayerPort */);
3789
+ return dataLayerPort;
3790
+ });
3791
+ }
3792
+ dataLayer.getDataLayerPort = getDataLayerPort;
3793
+ /**
3794
+ * @hidden
3795
+ *
3796
+ * @beta
3797
+ *
3798
+ * Checks if the messageChannels.dataLayer capability is supported by the host
3799
+ * @returns boolean to represent whether the messageChannels.dataLayer capability is supported
3800
+ *
3801
+ * @throws Error if {@linkcode app.initialize} has not successfully completed
3802
+ *
3803
+ * @internal
3804
+ * Limited to Microsoft-internal use
3805
+ */
3806
+ function isSupported() {
3807
+ var _a;
3808
+ return ensureInitialized(runtime) && ((_a = runtime.supports.messageChannels) === null || _a === void 0 ? void 0 : _a.dataLayer) ? true : false;
3809
+ }
3810
+ dataLayer.isSupported = isSupported;
3811
+ /**
3812
+ * @hidden
3813
+ * Undocumented function used to clear state between unit tests
3814
+ *
3815
+ * @beta
3816
+ *
3817
+ * @internal
3818
+ * Limited to Microsoft-internal use
3819
+ */
3820
+ function _clearDataLayerPort() {
3821
+ dataLayerPort = undefined;
3822
+ }
3823
+ dataLayer._clearDataLayerPort = _clearDataLayerPort;
3824
+ })(dataLayer = messageChannels.dataLayer || (messageChannels.dataLayer = {}));
3825
+ /**
3826
+ * @hidden
3827
+ *
3828
+ * @beta
3829
+ *
3830
+ * Checks if the messageChannels capability is supported by the host
3831
+ * @returns boolean to represent whether the messageChannels capability is supported
3832
+ *
3833
+ * @throws Error if {@linkcode app.initialize} has not successfully completed
3834
+ *
3835
+ * @internal
3836
+ * Limited to Microsoft-internal use
3837
+ */
3838
+ function isSupported() {
3839
+ return ensureInitialized(runtime) && runtime.supports.messageChannels ? true : false;
3840
+ }
3841
+ messageChannels.isSupported = isSupported;
3842
+ })(messageChannels || (messageChannels = {}));
3843
+
3665
3844
  ;// CONCATENATED MODULE: ./src/public/authentication.ts
3666
3845
 
3667
3846
 
@@ -3698,7 +3877,7 @@ var authentication;
3698
3877
  let authParams;
3699
3878
  /**
3700
3879
  * @deprecated
3701
- * As of 2.0.0, this function has been deprecated in favor of a Promise-based pattern using {@link authentication.authenticate authentication.authenticate(authenticateParameters: AuthenticatePopUpParameters): Promise\<string\>}
3880
+ * As of TeamsJS v2.0.0, this function has been deprecated in favor of a Promise-based pattern using {@link authentication.authenticate authentication.authenticate(authenticateParameters: AuthenticatePopUpParameters): Promise\<string\>}
3702
3881
  *
3703
3882
  * Registers handlers to be called with the result of an authentication flow triggered using {@link authentication.authenticate authentication.authenticate(authenticateParameters?: AuthenticateParameters): void}
3704
3883
  *
@@ -5050,10 +5229,35 @@ var app;
5050
5229
  }
5051
5230
  app.registerOnThemeChangeHandler = registerOnThemeChangeHandler;
5052
5231
  /**
5053
- * open link API.
5232
+ * This function opens deep links to other modules in the host such as chats or channels or
5233
+ * general-purpose links (to external websites). It should not be used for navigating to your
5234
+ * own or other apps.
5054
5235
  *
5055
- * @param deepLink - deep link.
5056
- * @returns Promise that will be fulfilled when the operation has completed
5236
+ * @remarks
5237
+ * If you need to navigate to your own or other apps, use:
5238
+ *
5239
+ * - {@link pages.currentApp.navigateToDefaultPage} for navigating to the default page of your own app
5240
+ * - {@link pages.currentApp.navigateTo} for navigating to a section of your own app
5241
+ * - {@link pages.navigateToApp} for navigating to other apps besides your own
5242
+ *
5243
+ * Many areas of functionality previously provided by deep links are now handled by strongly-typed functions in capabilities.
5244
+ * If your app is using a deep link to trigger these specific components, use the strongly-typed alternatives.
5245
+ * For example (this list is not exhaustive):
5246
+ * - To open an app installation dialog, use the {@link appInstallDialog} capability
5247
+ * - To start a call, use the {@link call} capability
5248
+ * - To open a chat, use the {@link chat} capability
5249
+ * - To open a dialog, use the {@link dialog} capability
5250
+ * - To create a new meeting, use the {@link calendar.composeMeeting} function
5251
+ * - To open a Stage View, use the {@link stageView} capability
5252
+ *
5253
+ * In each of these capabilities, you can use the `isSupported()` function to determine if the host supports that capability.
5254
+ * When using a deep link to trigger these components, there's no way to determine whether the host supports it.
5255
+ *
5256
+ * For more information on crafting deep links to the host, see [Configure deep links](https://learn.microsoft.com/microsoftteams/platform/concepts/build-and-test/deep-links)
5257
+ *
5258
+ * @param deepLink The host deep link or external web URL to which to navigate
5259
+ * @returns `Promise` that will be fulfilled when the navigation has initiated. A successful `Promise` resolution
5260
+ * does not necessarily indicate whether the target loaded successfully.
5057
5261
  */
5058
5262
  function openLink(deepLink) {
5059
5263
  return openLinkHelper(getApiVersionTag(appTelemetryVersionNumber, "app.openLink" /* ApiName.App_OpenLink */), deepLink);
@@ -5140,6 +5344,7 @@ function transformLegacyContextToAppContext(legacyContext) {
5140
5344
  subPageId: legacyContext.subEntityId,
5141
5345
  isFullScreen: legacyContext.isFullScreen,
5142
5346
  isMultiWindow: legacyContext.isMultiWindow,
5347
+ isBackgroundLoad: legacyContext.isBackgroundLoad,
5143
5348
  sourceOrigin: legacyContext.sourceOrigin,
5144
5349
  },
5145
5350
  user: {
@@ -5407,13 +5612,12 @@ var pages;
5407
5612
  }
5408
5613
  pages.navigateCrossDomain = navigateCrossDomain;
5409
5614
  /**
5410
- * Navigate to the given application ID and page ID, with optional parameters for a WebURL (if the application
5411
- * cannot be navigated to, such as if it is not installed), Channel ID (for applications installed as a channel tab),
5412
- * and sub-page ID (for navigating to specific content within the page). This is equivalent to navigating to
5413
- * a deep link with the above data, but does not require the application to build a URL or worry about different
5414
- * deep link formats for different hosts.
5415
- * @param params - Parameters for the navigation
5416
- * @returns a promise that will resolve if the navigation was successful
5615
+ * Used to navigate to apps other than your own.
5616
+ *
5617
+ * If you are looking to navigate within your own app, use {@link pages.currentApp.navigateToDefaultPage} or {@link pages.currentApp.navigateTo}
5618
+ *
5619
+ * @param params Parameters for the navigation
5620
+ * @returns a `Promise` that will resolve if the navigation was successful or reject if it was not
5417
5621
  */
5418
5622
  function navigateToApp(params) {
5419
5623
  return new Promise((resolve) => {
@@ -5931,15 +6135,21 @@ var pages;
5931
6135
  appButton.isSupported = isSupported;
5932
6136
  })(appButton = pages.appButton || (pages.appButton = {}));
5933
6137
  /**
5934
- * Provides functions for navigating without needing to specify your application ID.
6138
+ * Provides functions for navigating within your own app
6139
+ *
6140
+ * @remarks
6141
+ * If you are looking to navigate to a different app, use {@link pages.navigateToApp}.
5935
6142
  */
5936
6143
  let currentApp;
5937
6144
  (function (currentApp) {
5938
6145
  /**
5939
- * Navigate within the currently running application with page ID, and sub-page ID (for navigating to
5940
- * specific content within the page).
5941
- * @param params - Parameters for the navigation
5942
- * @returns a promise that will resolve if the navigation was successful
6146
+ * Navigate within the currently running app
6147
+ *
6148
+ * @remarks
6149
+ * If you are looking to navigate to a different app, use {@link pages.navigateToApp}.
6150
+ *
6151
+ * @param params Parameters for the navigation
6152
+ * @returns `Promise` that will resolve if the navigation was successful and reject if not
5943
6153
  */
5944
6154
  function navigateTo(params) {
5945
6155
  return new Promise((resolve) => {
@@ -5952,8 +6162,10 @@ var pages;
5952
6162
  }
5953
6163
  currentApp.navigateTo = navigateTo;
5954
6164
  /**
5955
- * Navigate to the currently running application's first static page defined in the application
6165
+ * Navigate to the currently running app's first static page defined in the application
5956
6166
  * manifest.
6167
+ *
6168
+ * @returns `Promise` that will resolve if the navigation was successful and reject if not
5957
6169
  */
5958
6170
  function navigateToDefaultPage() {
5959
6171
  return new Promise((resolve) => {
@@ -8705,185 +8917,6 @@ var meetingRoom;
8705
8917
  meetingRoom.isSupported = isSupported;
8706
8918
  })(meetingRoom || (meetingRoom = {}));
8707
8919
 
8708
- ;// CONCATENATED MODULE: ./src/private/messageChannels.ts
8709
- var messageChannels_awaiter = (undefined && undefined.__awaiter) || function (thisArg, _arguments, P, generator) {
8710
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
8711
- return new (P || (P = Promise))(function (resolve, reject) {
8712
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8713
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
8714
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8715
- step((generator = generator.apply(thisArg, _arguments || [])).next());
8716
- });
8717
- };
8718
-
8719
-
8720
-
8721
-
8722
-
8723
- /**
8724
- * @hidden
8725
- * Namespace to request message ports from the host application.
8726
- *
8727
- * @beta
8728
- *
8729
- * @internal
8730
- * Limited to Microsoft-internal use
8731
- */
8732
- var messageChannels;
8733
- (function (messageChannels) {
8734
- let telemetry;
8735
- (function (telemetry) {
8736
- let telemetryPort;
8737
- const messageChannelsTelemetryVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
8738
- const logger = getLogger('messageChannels.telemetry');
8739
- /**
8740
- * @hidden
8741
- * @beta
8742
- *
8743
- * Fetches a MessagePort to batch telemetry through the host's telemetry worker.
8744
- * The port is cached once received, so subsequent calls return the same port.
8745
- * @returns MessagePort.
8746
- *
8747
- * @throws Error if {@linkcode app.initialize} has not successfully completed,
8748
- * if the host does not support the feature, or if the port request is rejected.
8749
- *
8750
- * @internal
8751
- * Limited to Microsoft-internal use
8752
- */
8753
- function getTelemetryPort() {
8754
- return messageChannels_awaiter(this, void 0, void 0, function* () {
8755
- // If the port has already been initialized, return it.
8756
- if (telemetryPort) {
8757
- logger('Returning telemetry port from cache');
8758
- return telemetryPort;
8759
- }
8760
- if (!isSupported()) {
8761
- throw errorNotSupportedOnPlatform;
8762
- }
8763
- // Send request for telemetry port, will throw if the request is rejected
8764
- telemetryPort = yield requestPortFromParentWithVersion(getApiVersionTag(messageChannelsTelemetryVersionNumber, "messageChannels.telemetry.getTelemetryPort" /* ApiName.MessageChannels_Telemetry_GetTelemetryPort */), "messageChannels.telemetry.getTelemetryPort" /* ApiName.MessageChannels_Telemetry_GetTelemetryPort */);
8765
- return telemetryPort;
8766
- });
8767
- }
8768
- telemetry.getTelemetryPort = getTelemetryPort;
8769
- /**
8770
- * @hidden
8771
- *
8772
- * @beta
8773
- *
8774
- * Checks if the messageChannels.telemetry capability is supported by the host
8775
- * @returns boolean to represent whether the messageChannels.telemetry capability is supported
8776
- *
8777
- * @throws Error if {@linkcode app.initialize} has not successfully completed
8778
- *
8779
- * @internal
8780
- * Limited to Microsoft-internal use
8781
- */
8782
- function isSupported() {
8783
- var _a;
8784
- return ensureInitialized(runtime) && ((_a = runtime.supports.messageChannels) === null || _a === void 0 ? void 0 : _a.telemetry) ? true : false;
8785
- }
8786
- telemetry.isSupported = isSupported;
8787
- /**
8788
- * @hidden
8789
- * Undocumented function used to clear state between unit tests
8790
- *
8791
- * @beta
8792
- *
8793
- * @internal
8794
- * Limited to Microsoft-internal use
8795
- */
8796
- function _clearTelemetryPort() {
8797
- telemetryPort = undefined;
8798
- }
8799
- telemetry._clearTelemetryPort = _clearTelemetryPort;
8800
- })(telemetry = messageChannels.telemetry || (messageChannels.telemetry = {}));
8801
- let dataLayer;
8802
- (function (dataLayer) {
8803
- let dataLayerPort;
8804
- const messageChannelsDataLayerVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
8805
- const logger = getLogger('messageChannels.dataLayer');
8806
- /**
8807
- * @hidden
8808
- * @beta
8809
- *
8810
- * Fetches a MessagePort to allow access to the host's data layer worker.
8811
- * The port is cached once received, so subsequent calls return the same port.
8812
- * @returns MessagePort.
8813
- *
8814
- * @throws Error if {@linkcode app.initialize} has not successfully completed,
8815
- * if the host does not support the feature, or if the port request is rejected.
8816
- *
8817
- * @internal
8818
- * Limited to Microsoft-internal use
8819
- */
8820
- function getDataLayerPort() {
8821
- return messageChannels_awaiter(this, void 0, void 0, function* () {
8822
- // If the port has already been initialized, return it.
8823
- if (dataLayerPort) {
8824
- logger('Returning dataLayer port from cache');
8825
- return dataLayerPort;
8826
- }
8827
- if (!isSupported()) {
8828
- throw errorNotSupportedOnPlatform;
8829
- }
8830
- // Send request for telemetry port, will throw if the request is rejected
8831
- dataLayerPort = yield requestPortFromParentWithVersion(getApiVersionTag(messageChannelsDataLayerVersionNumber, "messageChannels.dataLayer.getDataLayerPort" /* ApiName.MessageChannels_DataLayer_GetDataLayerPort */), "messageChannels.dataLayer.getDataLayerPort" /* ApiName.MessageChannels_DataLayer_GetDataLayerPort */);
8832
- return dataLayerPort;
8833
- });
8834
- }
8835
- dataLayer.getDataLayerPort = getDataLayerPort;
8836
- /**
8837
- * @hidden
8838
- *
8839
- * @beta
8840
- *
8841
- * Checks if the messageChannels.dataLayer capability is supported by the host
8842
- * @returns boolean to represent whether the messageChannels.dataLayer capability is supported
8843
- *
8844
- * @throws Error if {@linkcode app.initialize} has not successfully completed
8845
- *
8846
- * @internal
8847
- * Limited to Microsoft-internal use
8848
- */
8849
- function isSupported() {
8850
- var _a;
8851
- return ensureInitialized(runtime) && ((_a = runtime.supports.messageChannels) === null || _a === void 0 ? void 0 : _a.dataLayer) ? true : false;
8852
- }
8853
- dataLayer.isSupported = isSupported;
8854
- /**
8855
- * @hidden
8856
- * Undocumented function used to clear state between unit tests
8857
- *
8858
- * @beta
8859
- *
8860
- * @internal
8861
- * Limited to Microsoft-internal use
8862
- */
8863
- function _clearDataLayerPort() {
8864
- dataLayerPort = undefined;
8865
- }
8866
- dataLayer._clearDataLayerPort = _clearDataLayerPort;
8867
- })(dataLayer = messageChannels.dataLayer || (messageChannels.dataLayer = {}));
8868
- /**
8869
- * @hidden
8870
- *
8871
- * @beta
8872
- *
8873
- * Checks if the messageChannels capability is supported by the host
8874
- * @returns boolean to represent whether the messageChannels capability is supported
8875
- *
8876
- * @throws Error if {@linkcode app.initialize} has not successfully completed
8877
- *
8878
- * @internal
8879
- * Limited to Microsoft-internal use
8880
- */
8881
- function isSupported() {
8882
- return ensureInitialized(runtime) && runtime.supports.messageChannels ? true : false;
8883
- }
8884
- messageChannels.isSupported = isSupported;
8885
- })(messageChannels || (messageChannels = {}));
8886
-
8887
8920
  ;// CONCATENATED MODULE: ./src/private/notifications.ts
8888
8921
 
8889
8922
 
@@ -14216,7 +14249,7 @@ var call;
14216
14249
 
14217
14250
  /**
14218
14251
  * @deprecated
14219
- * As of 2.0.0, please use {@link app} namespace instead.
14252
+ * As of TeamsJS v2.0.0, please use {@link app} namespace instead.
14220
14253
  *
14221
14254
  * v1 APIs telemetry file: All of APIs in this capability file should send out API version v1 ONLY
14222
14255
  */
@@ -14225,25 +14258,25 @@ var appInitialization;
14225
14258
  (function (appInitialization) {
14226
14259
  /**
14227
14260
  * @deprecated
14228
- * As of 2.0.0, please use {@link app.Messages} instead.
14261
+ * As of TeamsJS v2.0.0, please use {@link app.Messages} instead.
14229
14262
  */
14230
14263
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
14231
14264
  appInitialization.Messages = app.Messages;
14232
14265
  /**
14233
14266
  * @deprecated
14234
- * As of 2.0.0, please use {@link app.FailedReason} instead.
14267
+ * As of TeamsJS v2.0.0, please use {@link app.FailedReason} instead.
14235
14268
  */
14236
14269
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
14237
14270
  appInitialization.FailedReason = app.FailedReason;
14238
14271
  /**
14239
14272
  * @deprecated
14240
- * As of 2.0.0, please use {@link app.ExpectedFailureReason} instead.
14273
+ * As of TeamsJS v2.0.0, please use {@link app.ExpectedFailureReason} instead.
14241
14274
  */
14242
14275
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
14243
14276
  appInitialization.ExpectedFailureReason = app.ExpectedFailureReason;
14244
14277
  /**
14245
14278
  * @deprecated
14246
- * As of 2.0.0, please use {@link app.notifyAppLoaded app.notifyAppLoaded(): void} instead.
14279
+ * As of TeamsJS v2.0.0, please use {@link app.notifyAppLoaded app.notifyAppLoaded(): void} instead.
14247
14280
  *
14248
14281
  * Notifies the frame that app has loaded and to hide the loading indicator if one is shown.
14249
14282
  */
@@ -14253,7 +14286,7 @@ var appInitialization;
14253
14286
  appInitialization.notifyAppLoaded = notifyAppLoaded;
14254
14287
  /**
14255
14288
  * @deprecated
14256
- * As of 2.0.0, please use {@link app.notifySuccess app.notifySuccess(): void} instead.
14289
+ * As of TeamsJS v2.0.0, please use {@link app.notifySuccess app.notifySuccess(): void} instead.
14257
14290
  *
14258
14291
  * Notifies the frame that app initialization is successful and is ready for user interaction.
14259
14292
  */
@@ -14263,7 +14296,7 @@ var appInitialization;
14263
14296
  appInitialization.notifySuccess = notifySuccess;
14264
14297
  /**
14265
14298
  * @deprecated
14266
- * As of 2.0.0, please use {@link app.notifyFailure app.notifyFailure(appInitializationFailedRequest: IFailedRequest): void} instead.
14299
+ * As of TeamsJS v2.0.0, please use {@link app.notifyFailure app.notifyFailure(appInitializationFailedRequest: IFailedRequest): void} instead.
14267
14300
  *
14268
14301
  * Notifies the frame that app initialization has failed and to show an error page in its place.
14269
14302
  * @param appInitializationFailedRequest - The failure request containing the reason for why the app failed
@@ -14275,7 +14308,7 @@ var appInitialization;
14275
14308
  appInitialization.notifyFailure = notifyFailure;
14276
14309
  /**
14277
14310
  * @deprecated
14278
- * As of 2.0.0, please use {@link app.notifyExpectedFailure app.notifyExpectedFailure(expectedFailureRequest: IExpectedFailureRequest): void} instead.
14311
+ * As of TeamsJS v2.0.0, please use {@link app.notifyExpectedFailure app.notifyExpectedFailure(expectedFailureRequest: IExpectedFailureRequest): void} instead.
14279
14312
  *
14280
14313
  * Notifies the frame that app initialized with some expected errors.
14281
14314
  * @param expectedFailureRequest - The expected failure request containing the reason and an optional message
@@ -14459,7 +14492,7 @@ var thirdPartyCloudStorage;
14459
14492
  const publicAPIsTelemetryVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
14460
14493
  /**
14461
14494
  * @deprecated
14462
- * As of 2.0.0, please use {@link app.initialize app.initialize(validMessageOrigins?: string[]): Promise\<void\>} instead.
14495
+ * As of TeamsJS v2.0.0, please use {@link app.initialize app.initialize(validMessageOrigins?: string[]): Promise\<void\>} instead.
14463
14496
  *
14464
14497
  * Initializes the library. This must be called before any other SDK calls
14465
14498
  * but after the frame is loaded successfully.
@@ -14476,7 +14509,7 @@ function initialize(callback, validMessageOrigins) {
14476
14509
  }
14477
14510
  /**
14478
14511
  * @deprecated
14479
- * As of 2.0.0, please use {@link teamsCore.enablePrintCapability teamsCore.enablePrintCapability(): void} instead.
14512
+ * As of TeamsJS v2.0.0, please use {@link teamsCore.enablePrintCapability teamsCore.enablePrintCapability(): void} instead.
14480
14513
  *
14481
14514
  * Enable print capability to support printing page using Ctrl+P and cmd+P
14482
14515
  */
@@ -14485,7 +14518,7 @@ function enablePrintCapability() {
14485
14518
  }
14486
14519
  /**
14487
14520
  * @deprecated
14488
- * As of 2.0.0, please use {@link teamsCore.print teamsCore.print(): void} instead.
14521
+ * As of TeamsJS v2.0.0, please use {@link teamsCore.print teamsCore.print(): void} instead.
14489
14522
  *
14490
14523
  * Default print handler
14491
14524
  */
@@ -14494,7 +14527,7 @@ function print() {
14494
14527
  }
14495
14528
  /**
14496
14529
  * @deprecated
14497
- * As of 2.0.0, please use {@link app.getContext app.getContext(): Promise\<app.Context\>} instead.
14530
+ * As of TeamsJS v2.0.0, please use {@link app.getContext app.getContext(): Promise\<app.Context\>} instead.
14498
14531
  *
14499
14532
  * Retrieves the current context the frame is running in.
14500
14533
  *
@@ -14512,7 +14545,7 @@ function getContext(callback) {
14512
14545
  }
14513
14546
  /**
14514
14547
  * @deprecated
14515
- * As of 2.0.0, please use {@link app.registerOnThemeChangeHandler app.registerOnThemeChangeHandler(handler: registerOnThemeChangeHandlerFunctionType): void} instead.
14548
+ * As of TeamsJS v2.0.0, please use {@link app.registerOnThemeChangeHandler app.registerOnThemeChangeHandler(handler: registerOnThemeChangeHandlerFunctionType): void} instead.
14516
14549
  *
14517
14550
  * Registers a handler for theme changes.
14518
14551
  * Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
@@ -14524,7 +14557,7 @@ function publicAPIs_registerOnThemeChangeHandler(handler) {
14524
14557
  }
14525
14558
  /**
14526
14559
  * @deprecated
14527
- * As of 2.0.0, please use {@link pages.registerFullScreenHandler pages.registerFullScreenHandler(handler: registerFullScreenHandlerFunctionType): void} instead.
14560
+ * As of TeamsJS v2.0.0, please use {@link pages.registerFullScreenHandler pages.registerFullScreenHandler(handler: registerFullScreenHandlerFunctionType): void} instead.
14528
14561
  *
14529
14562
  * Registers a handler for changes from or to full-screen view for a tab.
14530
14563
  * Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
@@ -14536,7 +14569,7 @@ function registerFullScreenHandler(handler) {
14536
14569
  }
14537
14570
  /**
14538
14571
  * @deprecated
14539
- * As of 2.0.0, please use {@link pages.appButton.onClick pages.appButton.onClick(handler: callbackFunctionType): void} instead.
14572
+ * As of TeamsJS v2.0.0, please use {@link pages.appButton.onClick pages.appButton.onClick(handler: callbackFunctionType): void} instead.
14540
14573
  *
14541
14574
  * Registers a handler for clicking the app button.
14542
14575
  * Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
@@ -14548,7 +14581,7 @@ function registerAppButtonClickHandler(handler) {
14548
14581
  }
14549
14582
  /**
14550
14583
  * @deprecated
14551
- * As of 2.0.0, please use {@link pages.appButton.onHoverEnter pages.appButton.onHoverEnter(handler: callbackFunctionType): void} instead.
14584
+ * As of TeamsJS v2.0.0, please use {@link pages.appButton.onHoverEnter pages.appButton.onHoverEnter(handler: callbackFunctionType): void} instead.
14552
14585
  *
14553
14586
  * Registers a handler for entering hover of the app button.
14554
14587
  * Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
@@ -14560,7 +14593,7 @@ function registerAppButtonHoverEnterHandler(handler) {
14560
14593
  }
14561
14594
  /**
14562
14595
  * @deprecated
14563
- * As of 2.0.0, please use {@link pages.appButton.onHoverLeave pages.appButton.onHoverLeave(handler: callbackFunctionType): void} instead.
14596
+ * As of TeamsJS v2.0.0, please use {@link pages.appButton.onHoverLeave pages.appButton.onHoverLeave(handler: callbackFunctionType): void} instead.
14564
14597
  *
14565
14598
  * Registers a handler for exiting hover of the app button.
14566
14599
  * Only one handler can be registered at a time. A subsequent registration replaces an existing registration.
@@ -14572,7 +14605,7 @@ function registerAppButtonHoverLeaveHandler(handler) {
14572
14605
  }
14573
14606
  /**
14574
14607
  * @deprecated
14575
- * As of 2.0.0, please use {@link pages.backStack.registerBackButtonHandler pages.backStack.registerBackButtonHandler(handler: registerBackButtonHandlerFunctionType): void} instead.
14608
+ * As of TeamsJS v2.0.0, please use {@link pages.backStack.registerBackButtonHandler pages.backStack.registerBackButtonHandler(handler: registerBackButtonHandlerFunctionType): void} instead.
14576
14609
  *
14577
14610
  * Registers a handler for user presses of the Team client's back button. Experiences that maintain an internal
14578
14611
  * navigation stack should use this handler to navigate the user back within their frame. If an app finds
@@ -14586,7 +14619,7 @@ function registerBackButtonHandler(handler) {
14586
14619
  }
14587
14620
  /**
14588
14621
  * @deprecated
14589
- * As of 2.0.0, please use {@link teamsCore.registerOnLoadHandler teamsCore.registerOnLoadHandler(handler: (context: LoadContext) => void): void} instead.
14622
+ * As of TeamsJS v2.0.0, please use {@link teamsCore.registerOnLoadHandler teamsCore.registerOnLoadHandler(handler: (context: LoadContext) => void): void} instead.
14590
14623
  *
14591
14624
  * @hidden
14592
14625
  * Registers a handler to be called when the page has been requested to load.
@@ -14598,7 +14631,7 @@ function registerOnLoadHandler(handler) {
14598
14631
  }
14599
14632
  /**
14600
14633
  * @deprecated
14601
- * As of 2.0.0, please use {@link teamsCore.registerBeforeUnloadHandler teamsCore.registerBeforeUnloadHandler(handler: (readyToUnload: callbackFunctionType) => boolean): void} instead.
14634
+ * As of TeamsJS v2.0.0, please use {@link teamsCore.registerBeforeUnloadHandler teamsCore.registerBeforeUnloadHandler(handler: (readyToUnload: callbackFunctionType) => boolean): void} instead.
14602
14635
  *
14603
14636
  * @hidden
14604
14637
  * Registers a handler to be called before the page is unloaded.
@@ -14611,7 +14644,7 @@ function registerBeforeUnloadHandler(handler) {
14611
14644
  }
14612
14645
  /**
14613
14646
  * @deprecated
14614
- * As of 2.0.0, please use {@link pages.registerFocusEnterHandler pages.registerFocusEnterHandler(handler: (navigateForward: boolean) => void): void} instead.
14647
+ * As of TeamsJS v2.0.0, please use {@link pages.registerFocusEnterHandler pages.registerFocusEnterHandler(handler: (navigateForward: boolean) => void): void} instead.
14615
14648
  *
14616
14649
  * @hidden
14617
14650
  * Registers a handler when focus needs to be passed from teams to the place of choice on app.
@@ -14623,7 +14656,7 @@ function registerFocusEnterHandler(handler) {
14623
14656
  }
14624
14657
  /**
14625
14658
  * @deprecated
14626
- * As of 2.0.0, please use {@link pages.config.registerChangeConfigHandler pages.config.registerChangeConfigHandler(handler: callbackFunctionType): void} instead.
14659
+ * As of TeamsJS v2.0.0, please use {@link pages.config.registerChangeConfigHandler pages.config.registerChangeConfigHandler(handler: callbackFunctionType): void} instead.
14627
14660
  *
14628
14661
  * Registers a handler for when the user reconfigurated tab.
14629
14662
  *
@@ -14634,7 +14667,7 @@ function registerChangeSettingsHandler(handler) {
14634
14667
  }
14635
14668
  /**
14636
14669
  * @deprecated
14637
- * As of 2.0.0, please use {@link pages.tabs.getTabInstances pages.tabs.getTabInstances(tabInstanceParameters?: TabInstanceParameters): Promise\<TabInformation\>} instead.
14670
+ * As of TeamsJS v2.0.0, please use {@link pages.tabs.getTabInstances pages.tabs.getTabInstances(tabInstanceParameters?: TabInstanceParameters): Promise\<TabInformation\>} instead.
14638
14671
  *
14639
14672
  * Allows an app to retrieve for this user tabs that are owned by this app.
14640
14673
  * If no TabInstanceParameters are passed, the app defaults to favorite teams and favorite channels.
@@ -14650,7 +14683,7 @@ function getTabInstances(callback, tabInstanceParameters) {
14650
14683
  }
14651
14684
  /**
14652
14685
  * @deprecated
14653
- * As of 2.0.0, please use {@link pages.tabs.getMruTabInstances pages.tabs.getMruTabInstances(tabInstanceParameters?: TabInstanceParameters): Promise\<TabInformation\>} instead.
14686
+ * As of TeamsJS v2.0.0, please use {@link pages.tabs.getMruTabInstances pages.tabs.getMruTabInstances(tabInstanceParameters?: TabInstanceParameters): Promise\<TabInformation\>} instead.
14654
14687
  *
14655
14688
  * Allows an app to retrieve the most recently used tabs for this user.
14656
14689
  *
@@ -14665,7 +14698,7 @@ function getMruTabInstances(callback, tabInstanceParameters) {
14665
14698
  }
14666
14699
  /**
14667
14700
  * @deprecated
14668
- * As of 2.0.0, please use {@link pages.shareDeepLink pages.shareDeepLink(deepLinkParameters: DeepLinkParameters): void} instead.
14701
+ * As of TeamsJS v2.0.0, please use {@link pages.shareDeepLink pages.shareDeepLink(deepLinkParameters: DeepLinkParameters): void} instead.
14669
14702
  *
14670
14703
  * Shares a deep link that a user can use to navigate back to a specific state in this page.
14671
14704
  *
@@ -14680,11 +14713,16 @@ function shareDeepLink(deepLinkParameters) {
14680
14713
  }
14681
14714
  /**
14682
14715
  * @deprecated
14683
- * As of 2.0.0, please use {@link app.openLink app.openLink(deepLink: string): Promise\<void\>} instead.
14716
+ * This function was previously used for opening various types of links. As of TeamsJS v2.0.0, it has been replaced with multiple different
14717
+ * functions depending on the type of link:
14684
14718
  *
14685
- * Execute deep link API.
14719
+ * - Use {@link pages.currentApp.navigateToDefaultPage} to navigate to the default page of your own app
14720
+ * - Use {@link pages.currentApp.navigateTo} to navigate to a section of your own app
14721
+ * - Use {@link pages.navigateToApp} to navigate to other apps besides your own
14722
+ * - Use {@link app.openLink} for opening deep links to other parts of the host (e.g., to chats or channels) or
14723
+ * general-purpose links (e.g., to external websites).
14686
14724
  *
14687
- * @param deepLink - deep link.
14725
+ * @param deepLink deep link.
14688
14726
  */
14689
14727
  function executeDeepLink(deepLink, onComplete) {
14690
14728
  ensureInitialized(runtime, FrameContexts.content, FrameContexts.sidePanel, FrameContexts.settings, FrameContexts.task, FrameContexts.stage, FrameContexts.meetingStage);
@@ -14699,7 +14737,7 @@ function executeDeepLink(deepLink, onComplete) {
14699
14737
  }
14700
14738
  /**
14701
14739
  * @deprecated
14702
- * As of 2.0.0, please use {@link pages.setCurrentFrame pages.setCurrentFrame(frameInfo: FrameInfo): void} instead.
14740
+ * As of TeamsJS v2.0.0, please use {@link pages.setCurrentFrame pages.setCurrentFrame(frameInfo: FrameInfo): void} instead.
14703
14741
  *
14704
14742
  * Set the current Frame Context
14705
14743
  *
@@ -14710,7 +14748,7 @@ function setFrameContext(frameContext) {
14710
14748
  }
14711
14749
  /**
14712
14750
  * @deprecated
14713
- * As of 2.0.0, please use {@link pages.initializeWithFrameContext pages.initializeWithFrameContext(frameInfo: FrameInfo, callback?: callbackFunctionType, validMessageOrigins?: string[],): void} instead.
14751
+ * As of TeamsJS v2.0.0, please use {@link pages.initializeWithFrameContext pages.initializeWithFrameContext(frameInfo: FrameInfo, callback?: callbackFunctionType, validMessageOrigins?: string[],): void} instead.
14714
14752
  *
14715
14753
  * Initialize with FrameContext
14716
14754
  *
@@ -14737,7 +14775,7 @@ function initializeWithFrameContext(frameContext, callback, validMessageOrigins)
14737
14775
  const navigationTelemetryVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
14738
14776
  /**
14739
14777
  * @deprecated
14740
- * As of 2.0.0, please use {@link pages.returnFocus pages.returnFocus(navigateForward?: boolean): void} instead.
14778
+ * As of TeamsJS v2.0.0, please use {@link pages.returnFocus pages.returnFocus(navigateForward?: boolean): void} instead.
14741
14779
  *
14742
14780
  * Return focus to the main Teams app. Will focus search bar if navigating foward and app bar if navigating back.
14743
14781
  *
@@ -14748,7 +14786,7 @@ function returnFocus(navigateForward) {
14748
14786
  }
14749
14787
  /**
14750
14788
  * @deprecated
14751
- * As of 2.0.0, please use {@link pages.tabs.navigateToTab pages.tabs.navigateToTab(tabInstance: TabInstance): Promise\<void\>} instead.
14789
+ * As of TeamsJS v2.0.0, please use {@link pages.tabs.navigateToTab pages.tabs.navigateToTab(tabInstance: TabInstance): Promise\<void\>} instead.
14752
14790
  *
14753
14791
  * Navigates the Microsoft Teams app to the specified tab instance.
14754
14792
  *
@@ -14768,7 +14806,7 @@ function navigateToTab(tabInstance, onComplete) {
14768
14806
  }
14769
14807
  /**
14770
14808
  * @deprecated
14771
- * As of 2.0.0, please use {@link pages.navigateCrossDomain pages.navigateCrossDomain(url: string): Promise\<void\>} instead.
14809
+ * As of TeamsJS v2.0.0, please use {@link pages.navigateCrossDomain pages.navigateCrossDomain(url: string): Promise\<void\>} instead.
14772
14810
  *
14773
14811
  * Navigates the frame to a new cross-domain URL. The domain of this URL must match at least one of the
14774
14812
  * valid domains specified in the validDomains block of the manifest; otherwise, an exception will be
@@ -14792,7 +14830,7 @@ function navigateCrossDomain(url, onComplete) {
14792
14830
  }
14793
14831
  /**
14794
14832
  * @deprecated
14795
- * As of 2.0.0, please use {@link pages.backStack.navigateBack pages.backStack.navigateBack(): Promise\<void\>} instead.
14833
+ * As of TeamsJS v2.0.0, please use {@link pages.backStack.navigateBack pages.backStack.navigateBack(): Promise\<void\>} instead.
14796
14834
  *
14797
14835
  * Navigates back in the Teams client.
14798
14836
  * See registerBackButtonHandler for more information on when it's appropriate to use this method.
@@ -14824,7 +14862,7 @@ function navigateBack(onComplete) {
14824
14862
  const settingsTelemetryVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
14825
14863
  /**
14826
14864
  * @deprecated
14827
- * As of 2.0.0, please use {@link pages.config} namespace instead.
14865
+ * As of TeamsJS v2.0.0, please use {@link pages.config} namespace instead.
14828
14866
  *
14829
14867
  * Namespace to interact with the settings-specific part of the SDK.
14830
14868
  * This object is usable only on the settings frame.
@@ -14833,7 +14871,7 @@ var settings;
14833
14871
  (function (settings) {
14834
14872
  /**
14835
14873
  * @deprecated
14836
- * As of 2.0.0, please use {@link pages.config.setValidityState pages.config.setValidityState(validityState: boolean): void} instead.
14874
+ * As of TeamsJS v2.0.0, please use {@link pages.config.setValidityState pages.config.setValidityState(validityState: boolean): void} instead.
14837
14875
  *
14838
14876
  * Sets the validity state for the settings.
14839
14877
  * The initial value is false, so the user cannot save the settings until this is called with true.
@@ -14846,7 +14884,7 @@ var settings;
14846
14884
  settings.setValidityState = setValidityState;
14847
14885
  /**
14848
14886
  * @deprecated
14849
- * As of 2.0.0, please use {@link pages.getConfig pages.getConfig(): Promise\<InstanceConfig\>} instead.
14887
+ * As of TeamsJS v2.0.0, please use {@link pages.getConfig pages.getConfig(): Promise\<InstanceConfig\>} instead.
14850
14888
  *
14851
14889
  * Gets the settings for the current instance.
14852
14890
  *
@@ -14861,7 +14899,7 @@ var settings;
14861
14899
  settings.getSettings = getSettings;
14862
14900
  /**
14863
14901
  * @deprecated
14864
- * As of 2.0.0, please use {@link pages.config.setConfig pages.config.setConfig(instanceSettings: Config): Promise\<void\>} instead.
14902
+ * As of TeamsJS v2.0.0, please use {@link pages.config.setConfig pages.config.setConfig(instanceSettings: Config): Promise\<void\>} instead.
14865
14903
  *
14866
14904
  * Sets the settings for the current instance.
14867
14905
  * This is an asynchronous operation; calls to getSettings are not guaranteed to reflect the changed state.
@@ -14882,7 +14920,7 @@ var settings;
14882
14920
  settings.setSettings = setSettings;
14883
14921
  /**
14884
14922
  * @deprecated
14885
- * As of 2.0.0, please use {@link pages.config.registerOnSaveHandler pages.config.registerOnSaveHandler(handler: registerOnSaveHandlerFunctionType): void} instead.
14923
+ * As of TeamsJS v2.0.0, please use {@link pages.config.registerOnSaveHandler pages.config.registerOnSaveHandler(handler: registerOnSaveHandlerFunctionType): void} instead.
14886
14924
  *
14887
14925
  * Registers a handler for when the user attempts to save the settings. This handler should be used
14888
14926
  * to create or update the underlying resource powering the content.
@@ -14897,7 +14935,7 @@ var settings;
14897
14935
  settings.registerOnSaveHandler = registerOnSaveHandler;
14898
14936
  /**
14899
14937
  * @deprecated
14900
- * As of 2.0.0, please use {@link pages.config.registerOnRemoveHandler pages.config.registerOnRemoveHandler(handler: registerOnRemoveHandlerFunctionType): void} instead.
14938
+ * As of TeamsJS v2.0.0, please use {@link pages.config.registerOnRemoveHandler pages.config.registerOnRemoveHandler(handler: registerOnRemoveHandlerFunctionType): void} instead.
14901
14939
  *
14902
14940
  * Registers a handler for user attempts to remove content. This handler should be used
14903
14941
  * to remove the underlying resource powering the content.
@@ -14938,7 +14976,7 @@ var tasks_rest = (undefined && undefined.__rest) || function (s, e) {
14938
14976
  const tasksTelemetryVersionNumber = "v1" /* ApiVersionNumber.V_1 */;
14939
14977
  /**
14940
14978
  * @deprecated
14941
- * As of 2.0.0, please use {@link dialog} namespace instead.
14979
+ * As of TeamsJS v2.0.0, please use {@link dialog} namespace instead.
14942
14980
  *
14943
14981
  * Namespace to interact with the task module-specific part of the SDK.
14944
14982
  * This object is usable only on the content frame.
@@ -14985,7 +15023,7 @@ var tasks;
14985
15023
  tasks.startTask = startTask;
14986
15024
  /**
14987
15025
  * @deprecated
14988
- * As of 2.0.0, please use {@link dialog.update.resize dialog.update.resize(dimensions: DialogSize): void} instead.
15026
+ * As of TeamsJS v2.0.0, please use {@link dialog.update.resize dialog.update.resize(dimensions: DialogSize): void} instead.
14989
15027
  *
14990
15028
  * Update height/width task info properties.
14991
15029
  *