@microsoft/teams-js 2.28.1-beta.0 → 2.29.0-beta.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm/_virtual/__polyfill-node.tty.js +1 -0
- package/dist/esm/_virtual/__polyfill-node.util.js +1 -0
- package/dist/esm/_virtual/_commonjsHelpers.js +1 -0
- package/dist/esm/_virtual/_polyfill-node._inherits.js +1 -0
- package/dist/esm/_virtual/_polyfill-node.buffer.js +1 -0
- package/dist/esm/_virtual/_polyfill-node.global.js +1 -0
- package/dist/esm/_virtual/_polyfill-node.process.js +1 -0
- package/dist/esm/_virtual/_polyfill-node.tty.js +1 -0
- package/dist/esm/_virtual/_polyfill-node.util.js +1 -0
- package/dist/esm/_virtual/browser.js +1 -0
- package/dist/esm/_virtual/index.js +1 -0
- package/dist/esm/_virtual/node.js +1 -0
- package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.22.4_tslib@2.6.3_typescript@4.9.5/node_modules/tslib/tslib.es6.js +1 -0
- package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js +1 -0
- package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js +1 -0
- package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/index.js +1 -0
- package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/node.js +1 -0
- package/dist/esm/node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js +1 -0
- package/dist/esm/node_modules/.pnpm/supports-color@8.1.1/node_modules/supports-color/browser.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/native.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/v4.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@9.0.1/node_modules/uuid/dist/esm-browser/validate.js +1 -0
- package/dist/esm/packages/teams-js/src/artifactsForCDN/validDomains.json.js +1 -0
- package/dist/esm/packages/teams-js/src/index.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/appIdValidation.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/communication.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/constants.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/deepLinkConstants.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/deepLinkUtilities.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/globalVars.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/handlers.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/internalAPIs.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/marketplaceUtils.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/mediaUtil.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/messageObjects.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/nestedAppAuthUtils.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/profileUtil.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/telemetry.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/typeCheckUtilities.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/utils.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/uuidObject.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/validOrigins.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/videoEffectsUtils.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/videoFrameTick.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/videoPerformanceMonitor.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/videoPerformanceStatistics.js +1 -0
- package/dist/esm/packages/teams-js/src/private/appEntity.js +1 -0
- package/dist/esm/packages/teams-js/src/private/conversations.js +1 -0
- package/dist/esm/packages/teams-js/src/private/copilot.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppAuthentication.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppCardActions.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppCardActionsForCEA.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppCommands.js +1 -0
- package/dist/esm/packages/teams-js/src/private/files.js +1 -0
- package/dist/esm/packages/teams-js/src/private/hostEntity.js +1 -0
- package/dist/esm/packages/teams-js/src/private/interfaces.js +1 -0
- package/dist/esm/packages/teams-js/src/private/logs.js +1 -0
- package/dist/esm/packages/teams-js/src/private/meetingRoom.js +1 -0
- package/dist/esm/packages/teams-js/src/private/messageChannels.js +1 -0
- package/dist/esm/packages/teams-js/src/private/notifications.js +1 -0
- package/dist/esm/packages/teams-js/src/private/otherAppStateChange.js +1 -0
- package/dist/esm/packages/teams-js/src/private/privateAPIs.js +1 -0
- package/dist/esm/packages/teams-js/src/private/remoteCamera.js +1 -0
- package/dist/esm/packages/teams-js/src/private/teams.js +1 -0
- package/dist/esm/packages/teams-js/src/private/videoEffectsEx.js +1 -0
- package/dist/esm/packages/teams-js/src/public/adaptiveCards.js +1 -0
- package/dist/esm/packages/teams-js/src/public/app.js +1 -0
- package/dist/esm/packages/teams-js/src/public/appId.js +1 -0
- package/dist/esm/packages/teams-js/src/public/appInitialization.js +1 -0
- package/dist/esm/packages/teams-js/src/public/appInstallDialog.js +1 -0
- package/dist/esm/packages/teams-js/src/public/appWindow.js +1 -0
- package/dist/esm/packages/teams-js/src/public/authentication.js +1 -0
- package/dist/esm/packages/teams-js/src/public/barCode.js +1 -0
- package/dist/esm/packages/teams-js/src/public/calendar.js +1 -0
- package/dist/esm/packages/teams-js/src/public/call.js +1 -0
- package/dist/esm/packages/teams-js/src/public/chat.js +1 -0
- package/dist/esm/packages/teams-js/src/public/clipboard.js +1 -0
- package/dist/esm/packages/teams-js/src/public/constants.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog.js +1 -0
- package/dist/esm/packages/teams-js/src/public/geoLocation.js +1 -0
- package/dist/esm/packages/teams-js/src/public/interfaces.js +1 -0
- package/dist/esm/packages/teams-js/src/public/liveShareHost.js +1 -0
- package/dist/esm/packages/teams-js/src/public/location.js +1 -0
- package/dist/esm/packages/teams-js/src/public/mail.js +1 -0
- package/dist/esm/packages/teams-js/src/public/marketplace.js +1 -0
- package/dist/esm/packages/teams-js/src/public/media.js +1 -0
- package/dist/esm/packages/teams-js/src/public/meeting.js +1 -0
- package/dist/esm/packages/teams-js/src/public/menus.js +1 -0
- package/dist/esm/packages/teams-js/src/public/monetization.js +1 -0
- package/dist/esm/packages/teams-js/src/public/navigation.js +1 -0
- package/dist/esm/packages/teams-js/src/public/nestedAppAuth.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages.js +1 -0
- package/dist/esm/packages/teams-js/src/public/people.js +1 -0
- package/dist/esm/packages/teams-js/src/public/profile.js +1 -0
- package/dist/esm/packages/teams-js/src/public/publicAPIs.js +1 -0
- package/dist/esm/packages/teams-js/src/public/runtime.js +1 -0
- package/dist/esm/packages/teams-js/src/public/search.js +1 -0
- package/dist/esm/packages/teams-js/src/public/secondaryBrowser.js +1 -0
- package/dist/esm/packages/teams-js/src/public/settings.js +1 -0
- package/dist/esm/packages/teams-js/src/public/sharing.js +1 -0
- package/dist/esm/packages/teams-js/src/public/stageView.js +1 -0
- package/dist/esm/packages/teams-js/src/public/tasks.js +1 -0
- package/dist/esm/packages/teams-js/src/public/teamsAPIs.js +1 -0
- package/dist/esm/packages/teams-js/src/public/thirdPartyCloudStorage.js +1 -0
- package/dist/esm/packages/teams-js/src/public/version.js +1 -0
- package/dist/esm/packages/teams-js/src/public/videoEffects.js +1 -0
- package/dist/esm/packages/teams-js/src/public/visualMedia.js +1 -0
- package/dist/esm/packages/teams-js/src/public/webStorage.js +1 -0
- package/dist/{MicrosoftTeams.d.ts → umd/MicrosoftTeams.d.ts} +155 -45
- package/dist/{MicrosoftTeams.js → umd/MicrosoftTeams.js} +1048 -913
- package/dist/umd/MicrosoftTeams.js.map +1 -0
- package/dist/umd/MicrosoftTeams.min.js +2 -0
- package/dist/umd/MicrosoftTeams.min.js.map +1 -0
- package/package.json +1 -1
- package/dist/MicrosoftTeams.js.map +0 -1
- package/dist/MicrosoftTeams.min.js +0 -2
- package/dist/MicrosoftTeams.min.js.map +0 -1
@@ -275,6 +275,72 @@ export interface UserJoinedTeamsInformation {
|
|
275
275
|
*/
|
276
276
|
userJoinedTeams: TeamInformation[];
|
277
277
|
}
|
278
|
+
/**
|
279
|
+
* @beta
|
280
|
+
* @hidden
|
281
|
+
* The types for ActionOpenUrl
|
282
|
+
*
|
283
|
+
* @internal
|
284
|
+
* Limited to Microsoft-internal use
|
285
|
+
*/
|
286
|
+
export enum ActionOpenUrlType {
|
287
|
+
DeepLinkDialog = "DeepLinkDialog",
|
288
|
+
DeepLinkOther = "DeepLinkOther",
|
289
|
+
DeepLinkStageView = "DeepLinkStageView",
|
290
|
+
GenericUrl = "GenericUrl"
|
291
|
+
}
|
292
|
+
/**
|
293
|
+
* @beta
|
294
|
+
* @hidden
|
295
|
+
* Error that can be thrown from IExternalAppCardActionService.handleActionOpenUrl
|
296
|
+
* and IExternalAppCardActionForCEAService.handleActionOpenUrl
|
297
|
+
*
|
298
|
+
* @internal
|
299
|
+
* Limited to Microsoft-internal use
|
300
|
+
*/
|
301
|
+
export interface ActionOpenUrlError {
|
302
|
+
errorCode: ActionOpenUrlErrorCode;
|
303
|
+
message?: string;
|
304
|
+
}
|
305
|
+
/**
|
306
|
+
* @beta
|
307
|
+
* @hidden
|
308
|
+
* Error codes that can be thrown from IExternalAppCardActionService.handleActionOpenUrl
|
309
|
+
* and IExternalAppCardActionForCEAService.handleActionOpenUrl
|
310
|
+
*
|
311
|
+
* @internal
|
312
|
+
* Limited to Microsoft-internal use
|
313
|
+
*/
|
314
|
+
export enum ActionOpenUrlErrorCode {
|
315
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
316
|
+
INVALID_LINK = "INVALID_LINK",
|
317
|
+
NOT_SUPPORTED = "NOT_SUPPORTED"
|
318
|
+
}
|
319
|
+
/**
|
320
|
+
* @beta
|
321
|
+
* @hidden
|
322
|
+
* The payload that is used when executing an Adaptive Card Action.Submit
|
323
|
+
*
|
324
|
+
* @internal
|
325
|
+
* Limited to Microsoft-internal use
|
326
|
+
*/
|
327
|
+
export interface IAdaptiveCardActionSubmit {
|
328
|
+
id: string;
|
329
|
+
data: string | Record<string, unknown>;
|
330
|
+
}
|
331
|
+
/**
|
332
|
+
* @beta
|
333
|
+
* @hidden
|
334
|
+
* Error that can be thrown from IExternalAppCardActionService.handleActionSubmit
|
335
|
+
* and IExternalAppCardActionForCEAService.handleActionSubmit
|
336
|
+
*
|
337
|
+
* @internal
|
338
|
+
* Limited to Microsoft-internal use
|
339
|
+
*/
|
340
|
+
export interface ActionSubmitError {
|
341
|
+
errorCode: ExternalAppErrorCode;
|
342
|
+
message?: string;
|
343
|
+
}
|
278
344
|
|
279
345
|
export function uploadCustomApp(manifestBlob: Blob, onComplete?: (status: boolean, reason?: string) => void): void;
|
280
346
|
/**
|
@@ -867,80 +933,84 @@ export namespace externalAppCardActions {
|
|
867
933
|
GenericUrl = "GenericUrl"
|
868
934
|
}
|
869
935
|
/**
|
936
|
+
* @beta
|
870
937
|
* @hidden
|
871
|
-
*
|
872
|
-
*
|
938
|
+
* Delegates an Adaptive Card Action.Submit request to the host for the application with the provided app ID
|
873
939
|
* @internal
|
874
940
|
* Limited to Microsoft-internal use
|
941
|
+
* @param appId ID of the application the request is intended for. This must be a UUID
|
942
|
+
* @param actionSubmitPayload The Adaptive Card Action.Submit payload
|
943
|
+
* @param cardActionsConfig The card actions configuration. This indicates which subtypes should be handled by this API
|
944
|
+
* @returns Promise that resolves when the request is completed and rejects with ActionSubmitError if the request fails
|
875
945
|
*/
|
876
|
-
|
877
|
-
errorCode: ActionOpenUrlErrorCode;
|
878
|
-
message?: string;
|
879
|
-
}
|
946
|
+
function processActionSubmit(appId: string, actionSubmitPayload: IAdaptiveCardActionSubmit): Promise<void>;
|
880
947
|
/**
|
948
|
+
* @beta
|
881
949
|
* @hidden
|
882
|
-
*
|
950
|
+
* Delegates an Adaptive Card Action.OpenUrl request to the host for the application with the provided app ID.
|
951
|
+
* If `fromElement` is not provided, the information from the manifest is used to determine whether the URL can
|
952
|
+
* be processed by the host. Deep link URLs for plugins are not supported and will result in an error.
|
883
953
|
* @internal
|
884
954
|
* Limited to Microsoft-internal use
|
955
|
+
* @param appId ID of the application the request is intended for. This must be a UUID
|
956
|
+
* @param url The URL to open
|
957
|
+
* @param fromElement The element on behalf of which the M365 app is making the request.
|
958
|
+
* @returns Promise that resolves to ActionOpenUrlType indicating the type of URL that was opened on success and rejects with ActionOpenUrlError if the request fails
|
885
959
|
*/
|
886
|
-
|
887
|
-
|
888
|
-
|
889
|
-
NOT_SUPPORTED = "NOT_SUPPORTED"
|
890
|
-
}
|
960
|
+
function processActionOpenUrl(appId: string, url: URL, fromElement?: {
|
961
|
+
name: 'composeExtensions' | 'plugins';
|
962
|
+
}): Promise<ActionOpenUrlType>;
|
891
963
|
/**
|
892
964
|
* @hidden
|
893
|
-
*
|
894
|
-
* @
|
895
|
-
* Limited to Microsoft-internal use
|
896
|
-
*/
|
897
|
-
interface IAdaptiveCardActionSubmit {
|
898
|
-
id: string;
|
899
|
-
data: string | Record<string, unknown>;
|
900
|
-
}
|
901
|
-
/**
|
965
|
+
* Checks if the externalAppCardActions capability is supported by the host
|
966
|
+
* @returns boolean to represent whether externalAppCardActions capability is supported
|
902
967
|
*
|
903
|
-
* @
|
904
|
-
* Error that can be thrown from IExternalAppCardActionService.handleActionSubmit
|
968
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
905
969
|
*
|
906
970
|
* @internal
|
907
971
|
* Limited to Microsoft-internal use
|
908
972
|
*/
|
909
|
-
|
910
|
-
|
911
|
-
|
912
|
-
|
973
|
+
function isSupported(): boolean;
|
974
|
+
}
|
975
|
+
|
976
|
+
/**
|
977
|
+
* @beta
|
978
|
+
* @hidden
|
979
|
+
* Namespace to delegate adaptive card action for Custom Engine Agent execution to the host
|
980
|
+
* @internal
|
981
|
+
* Limited to Microsoft-internal use
|
982
|
+
*/
|
983
|
+
export namespace externalAppCardActionsForCEA {
|
913
984
|
/**
|
914
985
|
* @beta
|
915
986
|
* @hidden
|
916
|
-
* Delegates an Adaptive Card Action.
|
987
|
+
* Delegates an Adaptive Card Action.OpenUrl request to the host for the application with the provided app ID.
|
917
988
|
* @internal
|
918
989
|
* Limited to Microsoft-internal use
|
919
990
|
* @param appId ID of the application the request is intended for. This must be a UUID
|
920
|
-
* @param
|
921
|
-
* @param
|
922
|
-
* @
|
991
|
+
* @param conversationId To tell the bot what conversation the calls are coming from
|
992
|
+
* @param url The URL to open
|
993
|
+
* @throws Error if the response has not successfully completed
|
994
|
+
* @returns Promise that resolves to ActionOpenUrlType indicating the type of URL that was opened on success and rejects with ActionOpenUrlError if the request fails
|
923
995
|
*/
|
924
|
-
function
|
996
|
+
function processActionOpenUrl(appId: AppId, conversationId: string, url: URL): Promise<ActionOpenUrlType>;
|
925
997
|
/**
|
926
998
|
* @beta
|
927
999
|
* @hidden
|
928
|
-
* Delegates an Adaptive Card Action.
|
929
|
-
* If `fromElement` is not provided, the information from the manifest is used to determine whether the URL can
|
930
|
-
* be processed by the host. Deep link URLs for plugins are not supported and will result in an error.
|
1000
|
+
* Delegates an Adaptive Card Action.Submit request to the host for the application with the provided app ID
|
931
1001
|
* @internal
|
932
1002
|
* Limited to Microsoft-internal use
|
933
1003
|
* @param appId ID of the application the request is intended for. This must be a UUID
|
934
|
-
* @param
|
935
|
-
* @param
|
936
|
-
* @
|
1004
|
+
* @param conversationId To tell the bot what conversation the calls are coming from
|
1005
|
+
* @param actionSubmitPayload The Adaptive Card Action.Submit payload
|
1006
|
+
* @throws Error if host notifies of an error
|
1007
|
+
* @returns Promise that resolves when the request is completed and rejects with ActionSubmitError if the request fails
|
937
1008
|
*/
|
938
|
-
function
|
939
|
-
name: 'composeExtensions' | 'plugins';
|
940
|
-
}): Promise<ActionOpenUrlType>;
|
1009
|
+
function processActionSubmit(appId: AppId, conversationId: string, actionSubmitPayload: IAdaptiveCardActionSubmit): Promise<void>;
|
941
1010
|
/**
|
1011
|
+
* @beta
|
942
1012
|
* @hidden
|
943
|
-
* Checks if the
|
1013
|
+
* Checks if the externalAppCardActionsForCEA capability is supported by the host
|
944
1014
|
* @returns boolean to represent whether externalAppCardActions capability is supported
|
945
1015
|
*
|
946
1016
|
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
@@ -5503,7 +5573,8 @@ export namespace app {
|
|
5503
5573
|
* However, there are some older internal/hard-coded apps which violate this schema and use names like
|
5504
5574
|
* com.microsoft.teamspace.tab.youtube. For compatibility with these legacy apps, we unfortunately cannot
|
5505
5575
|
* securely and completely validate app ids as UUIDs. Based on this, the validation is limited to checking
|
5506
|
-
* for script tags, length, and non-printable characters.
|
5576
|
+
* for script tags, length, and non-printable characters. Validation will be updated in the future to ensure
|
5577
|
+
* the app id is a valid UUID as legacy apps update.
|
5507
5578
|
*/
|
5508
5579
|
export class AppId {
|
5509
5580
|
/**
|
@@ -6276,8 +6347,9 @@ export namespace pages {
|
|
6276
6347
|
*
|
6277
6348
|
* @param params Parameters for the navigation
|
6278
6349
|
* @returns a `Promise` that will resolve if the navigation was successful or reject if it was not
|
6350
|
+
* @throws `Error` if the app ID is not valid or `params.webUrl` is defined but not a valid URL
|
6279
6351
|
*/
|
6280
|
-
function navigateToApp(params: NavigateToAppParams): Promise<void>;
|
6352
|
+
function navigateToApp(params: AppNavigationParameters | NavigateToAppParams): Promise<void>;
|
6281
6353
|
/**
|
6282
6354
|
* Shares a deep link that a user can use to navigate back to a specific state in this page.
|
6283
6355
|
* Please note that this method does not yet work on mobile hosts.
|
@@ -6301,7 +6373,10 @@ export namespace pages {
|
|
6301
6373
|
*/
|
6302
6374
|
function isSupported(): boolean;
|
6303
6375
|
/**
|
6304
|
-
*
|
6376
|
+
* @deprecated
|
6377
|
+
* This interface has been deprecated in favor of a more type-safe interface using {@link pages.AppNavigationParameters}
|
6378
|
+
*
|
6379
|
+
* Parameters for the {@link pages.navigateToApp} function
|
6305
6380
|
*/
|
6306
6381
|
interface NavigateToAppParams {
|
6307
6382
|
/**
|
@@ -6331,6 +6406,38 @@ export namespace pages {
|
|
6331
6406
|
*/
|
6332
6407
|
chatId?: string;
|
6333
6408
|
}
|
6409
|
+
/**
|
6410
|
+
* Type-safer version of parameters for the {@link pages.navigateToApp} function
|
6411
|
+
*/
|
6412
|
+
interface AppNavigationParameters {
|
6413
|
+
/**
|
6414
|
+
* ID of the app to navigate to
|
6415
|
+
*/
|
6416
|
+
appId: AppId;
|
6417
|
+
/**
|
6418
|
+
* Developer-defined ID of the page to navigate to within the app (formerly called `entityId`)
|
6419
|
+
*/
|
6420
|
+
pageId: string;
|
6421
|
+
/**
|
6422
|
+
* Fallback URL to open if the navigation cannot be completed within the host (e.g., if the target app is not installed)
|
6423
|
+
*/
|
6424
|
+
webUrl?: URL;
|
6425
|
+
/**
|
6426
|
+
* Developer-defined ID describing the content to navigate to within the page. This ID is passed to the application
|
6427
|
+
* via the {@link app.PageInfo.subPageId} property on the {@link app.Context} object (retrieved by calling {@link app.getContext})
|
6428
|
+
*/
|
6429
|
+
subPageId?: string;
|
6430
|
+
/**
|
6431
|
+
* For apps installed as a channel tab, this ID can be supplied to indicate in which Teams channel the app should be opened
|
6432
|
+
* This property has no effect in hosts where apps cannot be opened in channels
|
6433
|
+
*/
|
6434
|
+
channelId?: string;
|
6435
|
+
/**
|
6436
|
+
* Optional ID of the chat or meeting where the app should be opened
|
6437
|
+
* This property has no effect in hosts where apps cannot be opened in chats or meetings
|
6438
|
+
*/
|
6439
|
+
chatId?: string;
|
6440
|
+
}
|
6334
6441
|
/**
|
6335
6442
|
* Provides APIs for querying and navigating between contextual tabs of an application. Unlike personal tabs,
|
6336
6443
|
* contextual tabs are pages associated with a specific context, such as channel or chat.
|
@@ -6642,6 +6749,9 @@ export namespace pages {
|
|
6642
6749
|
function isSupported(): boolean;
|
6643
6750
|
}
|
6644
6751
|
}
|
6752
|
+
export function isAppNavigationParametersObject(obj: pages.AppNavigationParameters | pages.NavigateToAppParams): obj is pages.AppNavigationParameters;
|
6753
|
+
export function convertNavigateToAppParamsToAppNavigationParameters(params: pages.NavigateToAppParams): pages.AppNavigationParameters;
|
6754
|
+
export function convertAppNavigationParametersToNavigateToAppParams(params: pages.AppNavigationParameters): pages.NavigateToAppParams;
|
6645
6755
|
|
6646
6756
|
/** onComplete function type */
|
6647
6757
|
export type onCompleteFunctionType = (status: boolean, reason?: string) => void;
|