@jevelin/bridge 2.53.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.
- package/LICENSE +12 -0
- package/README.md +78 -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/browser.js +1 -0
- package/dist/esm/node_modules/.pnpm/@rollup_plugin-typescript@11.1.6_rollup@4.55.1_tslib@2.8.1_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/ms@2.1.2/node_modules/ms/index.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/native.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/regex.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/rng.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/v4.js +1 -0
- package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/validate.js +1 -0
- package/dist/esm/packages/teams-js/dts/index.d.ts +2 -0
- package/dist/esm/packages/teams-js/dts/internal/VideoFrameTypes.d.ts +78 -0
- package/dist/esm/packages/teams-js/dts/internal/appHelpers.d.ts +19 -0
- package/dist/esm/packages/teams-js/dts/internal/childCommunication.d.ts +38 -0
- package/dist/esm/packages/teams-js/dts/internal/communication.d.ts +151 -0
- package/dist/esm/packages/teams-js/dts/internal/communicationUtils.d.ts +20 -0
- package/dist/esm/packages/teams-js/dts/internal/constants.d.ts +146 -0
- package/dist/esm/packages/teams-js/dts/internal/deepLinkConstants.d.ts +26 -0
- package/dist/esm/packages/teams-js/dts/internal/deepLinkUtilities.d.ts +4 -0
- package/dist/esm/packages/teams-js/dts/internal/dialogHelpers.d.ts +32 -0
- package/dist/esm/packages/teams-js/dts/internal/emailAddressValidation.d.ts +1 -0
- package/dist/esm/packages/teams-js/dts/internal/globalVars.d.ts +13 -0
- package/dist/esm/packages/teams-js/dts/internal/handlers.d.ts +101 -0
- package/dist/esm/packages/teams-js/dts/internal/hostToAppTelemetry.d.ts +51 -0
- package/dist/esm/packages/teams-js/dts/internal/idValidation.d.ts +37 -0
- package/dist/esm/packages/teams-js/dts/internal/interfaces.d.ts +58 -0
- package/dist/esm/packages/teams-js/dts/internal/internalAPIs.d.ts +61 -0
- package/dist/esm/packages/teams-js/dts/internal/marketplaceUtils.d.ts +94 -0
- package/dist/esm/packages/teams-js/dts/internal/mediaUtil.d.ts +95 -0
- package/dist/esm/packages/teams-js/dts/internal/messageObjects.d.ts +80 -0
- package/dist/esm/packages/teams-js/dts/internal/nestedAppAuthUtils.d.ts +107 -0
- package/dist/esm/packages/teams-js/dts/internal/pagesHelpers.d.ts +27 -0
- package/dist/esm/packages/teams-js/dts/internal/profileUtil.d.ts +33 -0
- package/dist/esm/packages/teams-js/dts/internal/responseHandler.d.ts +32 -0
- package/dist/esm/packages/teams-js/dts/internal/telemetry.d.ts +411 -0
- package/dist/esm/packages/teams-js/dts/internal/typeCheckUtilities.d.ts +1 -0
- package/dist/esm/packages/teams-js/dts/internal/urlPattern.d.ts +50 -0
- package/dist/esm/packages/teams-js/dts/internal/utils.d.ts +226 -0
- package/dist/esm/packages/teams-js/dts/internal/validOrigins.d.ts +13 -0
- package/dist/esm/packages/teams-js/dts/internal/videoEffectsUtils.d.ts +31 -0
- package/dist/esm/packages/teams-js/dts/internal/videoFrameTick.d.ts +10 -0
- package/dist/esm/packages/teams-js/dts/internal/videoPerformanceMonitor.d.ts +54 -0
- package/dist/esm/packages/teams-js/dts/internal/videoPerformanceStatistics.d.ts +49 -0
- package/dist/esm/packages/teams-js/dts/internal/visualMediaHelpers.d.ts +14 -0
- package/dist/esm/packages/teams-js/dts/internal/webStorageHelpers.d.ts +4 -0
- package/dist/esm/packages/teams-js/dts/private/appEntity.d.ts +89 -0
- package/dist/esm/packages/teams-js/dts/private/constants.d.ts +9 -0
- package/dist/esm/packages/teams-js/dts/private/conversations.d.ts +152 -0
- package/dist/esm/packages/teams-js/dts/private/copilot/copilot.d.ts +5 -0
- package/dist/esm/packages/teams-js/dts/private/copilot/customTelemetry.d.ts +33 -0
- package/dist/esm/packages/teams-js/dts/private/copilot/eligibility.d.ts +31 -0
- package/dist/esm/packages/teams-js/dts/private/copilot/sidePanel.d.ts +75 -0
- package/dist/esm/packages/teams-js/dts/private/copilot/sidePanelInterfaces.d.ts +522 -0
- package/dist/esm/packages/teams-js/dts/private/copilot/view.d.ts +21 -0
- package/dist/esm/packages/teams-js/dts/private/externalAppAuthentication.d.ts +472 -0
- package/dist/esm/packages/teams-js/dts/private/externalAppAuthenticationForCEA.d.ts +93 -0
- package/dist/esm/packages/teams-js/dts/private/externalAppCardActions.d.ts +111 -0
- package/dist/esm/packages/teams-js/dts/private/externalAppCardActionsForCEA.d.ts +48 -0
- package/dist/esm/packages/teams-js/dts/private/externalAppCardActionsForDA.d.ts +75 -0
- package/dist/esm/packages/teams-js/dts/private/externalAppCommands.d.ts +122 -0
- package/dist/esm/packages/teams-js/dts/private/externalAppErrorHandling.d.ts +19 -0
- package/dist/esm/packages/teams-js/dts/private/files.d.ts +766 -0
- package/dist/esm/packages/teams-js/dts/private/hostEntity/hostEntity.d.ts +50 -0
- package/dist/esm/packages/teams-js/dts/private/hostEntity/tab.d.ts +134 -0
- package/dist/esm/packages/teams-js/dts/private/index.d.ts +29 -0
- package/dist/esm/packages/teams-js/dts/private/interfaces.d.ts +290 -0
- package/dist/esm/packages/teams-js/dts/private/logs.d.ts +31 -0
- package/dist/esm/packages/teams-js/dts/private/meetingRoom.d.ts +208 -0
- package/dist/esm/packages/teams-js/dts/private/messageChannels/dataLayer.d.ts +39 -0
- package/dist/esm/packages/teams-js/dts/private/messageChannels/messageChannels.d.ts +28 -0
- package/dist/esm/packages/teams-js/dts/private/messageChannels/telemetry.d.ts +39 -0
- package/dist/esm/packages/teams-js/dts/private/nestedAppAuth/nestedAppAuthBridge.d.ts +32 -0
- package/dist/esm/packages/teams-js/dts/private/notifications.d.ts +32 -0
- package/dist/esm/packages/teams-js/dts/private/otherAppStateChange.d.ts +94 -0
- package/dist/esm/packages/teams-js/dts/private/plugins.d.ts +94 -0
- package/dist/esm/packages/teams-js/dts/private/privateAPIs.d.ts +94 -0
- package/dist/esm/packages/teams-js/dts/private/remoteCamera.d.ts +303 -0
- package/dist/esm/packages/teams-js/dts/private/store.d.ts +128 -0
- package/dist/esm/packages/teams-js/dts/private/teams/fullTrust/fullTrust.d.ts +31 -0
- package/dist/esm/packages/teams-js/dts/private/teams/fullTrust/joinedTeams.d.ts +30 -0
- package/dist/esm/packages/teams-js/dts/private/teams/teams.d.ts +63 -0
- package/dist/esm/packages/teams-js/dts/private/videoEffectsEx.d.ts +250 -0
- package/dist/esm/packages/teams-js/dts/private/widgetHosting/widgetContext.d.ts +121 -0
- package/dist/esm/packages/teams-js/dts/private/widgetHosting/widgetHosting.d.ts +101 -0
- package/dist/esm/packages/teams-js/dts/public/adaptiveCards.d.ts +6 -0
- package/dist/esm/packages/teams-js/dts/public/app/app.d.ts +648 -0
- package/dist/esm/packages/teams-js/dts/public/app/lifecycle.d.ts +41 -0
- package/dist/esm/packages/teams-js/dts/public/appId.d.ts +28 -0
- package/dist/esm/packages/teams-js/dts/public/appInitialization.d.ts +57 -0
- package/dist/esm/packages/teams-js/dts/public/appInstallDialog.d.ts +18 -0
- package/dist/esm/packages/teams-js/dts/public/appPerformanceMetrics.d.ts +24 -0
- package/dist/esm/packages/teams-js/dts/public/appWindow.d.ts +66 -0
- package/dist/esm/packages/teams-js/dts/public/authentication.d.ts +417 -0
- package/dist/esm/packages/teams-js/dts/public/badge.d.ts +42 -0
- package/dist/esm/packages/teams-js/dts/public/barCode.d.ts +54 -0
- package/dist/esm/packages/teams-js/dts/public/calendar.d.ts +41 -0
- package/dist/esm/packages/teams-js/dts/public/call.d.ts +54 -0
- package/dist/esm/packages/teams-js/dts/public/chat.d.ts +68 -0
- package/dist/esm/packages/teams-js/dts/public/clipboard.d.ts +35 -0
- package/dist/esm/packages/teams-js/dts/public/connectivity.d.ts +52 -0
- package/dist/esm/packages/teams-js/dts/public/constants.d.ts +203 -0
- package/dist/esm/packages/teams-js/dts/public/dialog/adaptiveCard/adaptiveCard.d.ts +22 -0
- package/dist/esm/packages/teams-js/dts/public/dialog/adaptiveCard/bot.d.ts +22 -0
- package/dist/esm/packages/teams-js/dts/public/dialog/dialog.d.ts +49 -0
- package/dist/esm/packages/teams-js/dts/public/dialog/update.d.ts +19 -0
- package/dist/esm/packages/teams-js/dts/public/dialog/url/bot.d.ts +25 -0
- package/dist/esm/packages/teams-js/dts/public/dialog/url/parentCommunication.d.ts +41 -0
- package/dist/esm/packages/teams-js/dts/public/dialog/url/url.d.ts +54 -0
- package/dist/esm/packages/teams-js/dts/public/emailAddress.d.ts +12 -0
- package/dist/esm/packages/teams-js/dts/public/externalApp.d.ts +130 -0
- package/dist/esm/packages/teams-js/dts/public/featureFlags.d.ts +44 -0
- package/dist/esm/packages/teams-js/dts/public/geoLocation/geoLocation.d.ts +68 -0
- package/dist/esm/packages/teams-js/dts/public/geoLocation/map.d.ts +33 -0
- package/dist/esm/packages/teams-js/dts/public/haptics.d.ts +42 -0
- package/dist/esm/packages/teams-js/dts/public/index.d.ts +57 -0
- package/dist/esm/packages/teams-js/dts/public/interfaces.d.ts +1321 -0
- package/dist/esm/packages/teams-js/dts/public/liveShareHost.d.ts +220 -0
- package/dist/esm/packages/teams-js/dts/public/location.d.ts +85 -0
- package/dist/esm/packages/teams-js/dts/public/mail/handoff.d.ts +48 -0
- package/dist/esm/packages/teams-js/dts/public/mail/mail.d.ts +97 -0
- package/dist/esm/packages/teams-js/dts/public/marketplace.d.ts +320 -0
- package/dist/esm/packages/teams-js/dts/public/media.d.ts +435 -0
- package/dist/esm/packages/teams-js/dts/public/meeting/appShareButton.d.ts +51 -0
- package/dist/esm/packages/teams-js/dts/public/meeting/meeting.d.ts +854 -0
- package/dist/esm/packages/teams-js/dts/public/menus.d.ts +187 -0
- package/dist/esm/packages/teams-js/dts/public/monetization.d.ts +64 -0
- package/dist/esm/packages/teams-js/dts/public/navigation.d.ts +46 -0
- package/dist/esm/packages/teams-js/dts/public/nestedAppAuth.d.ts +64 -0
- package/dist/esm/packages/teams-js/dts/public/offlineStorage/drafts.d.ts +104 -0
- package/dist/esm/packages/teams-js/dts/public/offlineStorage/inbox.d.ts +86 -0
- package/dist/esm/packages/teams-js/dts/public/offlineStorage/offlineStorage.d.ts +258 -0
- package/dist/esm/packages/teams-js/dts/public/offlineStorage/outbox.d.ts +112 -0
- package/dist/esm/packages/teams-js/dts/public/offlineStorage/sent.d.ts +69 -0
- package/dist/esm/packages/teams-js/dts/public/offlineStorage/sync.d.ts +183 -0
- package/dist/esm/packages/teams-js/dts/public/pages/appButton.d.ts +30 -0
- package/dist/esm/packages/teams-js/dts/public/pages/backStack.d.ts +44 -0
- package/dist/esm/packages/teams-js/dts/public/pages/config.d.ts +123 -0
- package/dist/esm/packages/teams-js/dts/public/pages/currentApp.d.ts +46 -0
- package/dist/esm/packages/teams-js/dts/public/pages/fullTrust.d.ts +33 -0
- package/dist/esm/packages/teams-js/dts/public/pages/pages.d.ts +253 -0
- package/dist/esm/packages/teams-js/dts/public/pages/tabs.d.ts +32 -0
- package/dist/esm/packages/teams-js/dts/public/people.d.ts +73 -0
- package/dist/esm/packages/teams-js/dts/public/profile.d.ts +105 -0
- package/dist/esm/packages/teams-js/dts/public/publicAPIs.d.ts +218 -0
- package/dist/esm/packages/teams-js/dts/public/runtime.d.ts +240 -0
- package/dist/esm/packages/teams-js/dts/public/search.d.ts +90 -0
- package/dist/esm/packages/teams-js/dts/public/secondaryBrowser.d.ts +31 -0
- package/dist/esm/packages/teams-js/dts/public/security.d.ts +83 -0
- package/dist/esm/packages/teams-js/dts/public/serializable.interface.d.ts +17 -0
- package/dist/esm/packages/teams-js/dts/public/settings.d.ts +102 -0
- package/dist/esm/packages/teams-js/dts/public/sharing/history.d.ts +47 -0
- package/dist/esm/packages/teams-js/dts/public/sharing/sharing.d.ts +93 -0
- package/dist/esm/packages/teams-js/dts/public/shortcutRelay.d.ts +53 -0
- package/dist/esm/packages/teams-js/dts/public/stageView/self.d.ts +23 -0
- package/dist/esm/packages/teams-js/dts/public/stageView/stageView.d.ts +81 -0
- package/dist/esm/packages/teams-js/dts/public/tasks.d.ts +52 -0
- package/dist/esm/packages/teams-js/dts/public/teamsAPIs.d.ts +79 -0
- package/dist/esm/packages/teams-js/dts/public/thirdPartyCloudStorage.d.ts +118 -0
- package/dist/esm/packages/teams-js/dts/public/uuidObject.d.ts +38 -0
- package/dist/esm/packages/teams-js/dts/public/validatedSafeString.d.ts +25 -0
- package/dist/esm/packages/teams-js/dts/public/version.d.ts +5 -0
- package/dist/esm/packages/teams-js/dts/public/videoEffects.d.ts +212 -0
- package/dist/esm/packages/teams-js/dts/public/visualMedia/image.d.ts +64 -0
- package/dist/esm/packages/teams-js/dts/public/visualMedia/visualMedia.d.ts +116 -0
- package/dist/esm/packages/teams-js/dts/public/webStorage.d.ts +25 -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/appHelpers.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/childCommunication.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/communication.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/communicationUtils.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/dialogHelpers.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/emailAddressValidation.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/hostToAppTelemetry.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/idValidation.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/pagesHelpers.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/profileUtil.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/responseHandler.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/urlPattern.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/utils.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/internal/visualMediaHelpers.js +1 -0
- package/dist/esm/packages/teams-js/src/internal/webStorageHelpers.js +1 -0
- package/dist/esm/packages/teams-js/src/private/appEntity.js +1 -0
- package/dist/esm/packages/teams-js/src/private/constants.js +1 -0
- package/dist/esm/packages/teams-js/src/private/conversations.js +1 -0
- package/dist/esm/packages/teams-js/src/private/copilot/copilot.js +1 -0
- package/dist/esm/packages/teams-js/src/private/copilot/customTelemetry.js +1 -0
- package/dist/esm/packages/teams-js/src/private/copilot/eligibility.js +1 -0
- package/dist/esm/packages/teams-js/src/private/copilot/sidePanel.js +1 -0
- package/dist/esm/packages/teams-js/src/private/copilot/sidePanelInterfaces.js +1 -0
- package/dist/esm/packages/teams-js/src/private/copilot/view.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppAuthentication.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppAuthenticationForCEA.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/externalAppCardActionsForDA.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppCommands.js +1 -0
- package/dist/esm/packages/teams-js/src/private/externalAppErrorHandling.js +1 -0
- package/dist/esm/packages/teams-js/src/private/files.js +1 -0
- package/dist/esm/packages/teams-js/src/private/hostEntity/hostEntity.js +1 -0
- package/dist/esm/packages/teams-js/src/private/hostEntity/tab.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/dataLayer.js +1 -0
- package/dist/esm/packages/teams-js/src/private/messageChannels/messageChannels.js +1 -0
- package/dist/esm/packages/teams-js/src/private/messageChannels/telemetry.js +1 -0
- package/dist/esm/packages/teams-js/src/private/nestedAppAuth/nestedAppAuthBridge.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/plugins.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/store.js +1 -0
- package/dist/esm/packages/teams-js/src/private/teams/fullTrust/fullTrust.js +1 -0
- package/dist/esm/packages/teams-js/src/private/teams/fullTrust/joinedTeams.js +1 -0
- package/dist/esm/packages/teams-js/src/private/teams/teams.js +1 -0
- package/dist/esm/packages/teams-js/src/private/videoEffectsEx.js +1 -0
- package/dist/esm/packages/teams-js/src/private/widgetHosting/widgetHosting.js +1 -0
- package/dist/esm/packages/teams-js/src/public/adaptiveCards.js +1 -0
- package/dist/esm/packages/teams-js/src/public/app/app.js +1 -0
- package/dist/esm/packages/teams-js/src/public/app/lifecycle.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/appPerformanceMetrics.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/badge.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/connectivity.js +1 -0
- package/dist/esm/packages/teams-js/src/public/constants.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog/adaptiveCard/adaptiveCard.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog/adaptiveCard/bot.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog/dialog.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog/update.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog/url/bot.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog/url/parentCommunication.js +1 -0
- package/dist/esm/packages/teams-js/src/public/dialog/url/url.js +1 -0
- package/dist/esm/packages/teams-js/src/public/emailAddress.js +1 -0
- package/dist/esm/packages/teams-js/src/public/externalApp.js +1 -0
- package/dist/esm/packages/teams-js/src/public/featureFlags.js +1 -0
- package/dist/esm/packages/teams-js/src/public/geoLocation/geoLocation.js +1 -0
- package/dist/esm/packages/teams-js/src/public/geoLocation/map.js +1 -0
- package/dist/esm/packages/teams-js/src/public/haptics.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/handoff.js +1 -0
- package/dist/esm/packages/teams-js/src/public/mail/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/appShareButton.js +1 -0
- package/dist/esm/packages/teams-js/src/public/meeting/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/offlineStorage/drafts.js +1 -0
- package/dist/esm/packages/teams-js/src/public/offlineStorage/inbox.js +1 -0
- package/dist/esm/packages/teams-js/src/public/offlineStorage/offlineStorage.js +1 -0
- package/dist/esm/packages/teams-js/src/public/offlineStorage/outbox.js +1 -0
- package/dist/esm/packages/teams-js/src/public/offlineStorage/sent.js +1 -0
- package/dist/esm/packages/teams-js/src/public/offlineStorage/sync.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages/appButton.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages/backStack.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages/config.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages/currentApp.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages/fullTrust.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages/pages.js +1 -0
- package/dist/esm/packages/teams-js/src/public/pages/tabs.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/security.js +1 -0
- package/dist/esm/packages/teams-js/src/public/serializable.interface.js +1 -0
- package/dist/esm/packages/teams-js/src/public/settings.js +1 -0
- package/dist/esm/packages/teams-js/src/public/sharing/history.js +1 -0
- package/dist/esm/packages/teams-js/src/public/sharing/sharing.js +1 -0
- package/dist/esm/packages/teams-js/src/public/shortcutRelay.js +1 -0
- package/dist/esm/packages/teams-js/src/public/stageView/self.js +1 -0
- package/dist/esm/packages/teams-js/src/public/stageView/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/uuidObject.js +1 -0
- package/dist/esm/packages/teams-js/src/public/validatedSafeString.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/image.js +1 -0
- package/dist/esm/packages/teams-js/src/public/visualMedia/visualMedia.js +1 -0
- package/dist/esm/packages/teams-js/src/public/webStorage.js +1 -0
- package/dist/umd/JevelinBridge-manifest.json +642 -0
- package/dist/umd/JevelinBridge.js +23119 -0
- package/dist/umd/JevelinBridge.js.map +1 -0
- package/dist/umd/JevelinBridge.min.js +3 -0
- package/dist/umd/JevelinBridge.min.js.LICENSE.txt +8 -0
- package/dist/umd/JevelinBridge.min.js.map +1 -0
- package/package.json +53 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @beta
|
|
3
|
+
* @hidden
|
|
4
|
+
* User information required by specific apps
|
|
5
|
+
* @internal
|
|
6
|
+
* Limited to Microsoft-internal use
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
import { UUID } from '../../public/uuidObject';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
* @internal
|
|
13
|
+
* Limited to Microsoft-internal use
|
|
14
|
+
* @beta
|
|
15
|
+
* @returns boolean to represent whether copilot.customTelemetry capability is supported
|
|
16
|
+
*
|
|
17
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
18
|
+
*/
|
|
19
|
+
export declare function isSupported(): boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Sends custom telemetry data to the host.
|
|
22
|
+
*
|
|
23
|
+
* @param { UUID } stageNameIdentifier - The stageName UUID identifier for the telemetry data.
|
|
24
|
+
* @param { number } [timestamp=getCurrentTimestamp() ?? Date.now()] - The timestamp of the telemetry data. Defaults to the current timestamp.
|
|
25
|
+
* @returns { Promise<void> } - promise resolves when the host SDK acknowledges that it has received the message.
|
|
26
|
+
* @throws { Error } - Throws an error if the app has not been successfully initialized or the host SDK returns an error as a response to this call
|
|
27
|
+
*
|
|
28
|
+
* @hidden
|
|
29
|
+
* @internal
|
|
30
|
+
* Limited to Microsoft-internal use
|
|
31
|
+
* @beta
|
|
32
|
+
*/
|
|
33
|
+
export declare function sendCustomTelemetryData(stageNameIdentifier: UUID, timestamp?: number): Promise<void>;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @beta
|
|
3
|
+
* @hidden
|
|
4
|
+
* User information required by specific apps
|
|
5
|
+
* @internal
|
|
6
|
+
* Limited to Microsoft-internal use
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
import { AppEligibilityInformation } from '../../public/interfaces';
|
|
10
|
+
/**
|
|
11
|
+
* @hidden
|
|
12
|
+
* @internal
|
|
13
|
+
* Limited to Microsoft-internal use
|
|
14
|
+
* @beta
|
|
15
|
+
* @returns boolean to represent whether copilot.eligibility capability is supported
|
|
16
|
+
*
|
|
17
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
18
|
+
*/
|
|
19
|
+
export declare function isSupported(): boolean;
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @param forceRefresh - boolean to represent whether to force refresh the eligibility information
|
|
23
|
+
* @returns the copilot eligibility information about the user
|
|
24
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
25
|
+
*
|
|
26
|
+
* @hidden
|
|
27
|
+
* @internal
|
|
28
|
+
* Limited to Microsoft-internal use
|
|
29
|
+
* @beta
|
|
30
|
+
*/
|
|
31
|
+
export declare function getEligibilityInfo(forceRefresh?: boolean): Promise<AppEligibilityInformation>;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @beta
|
|
3
|
+
* @hidden
|
|
4
|
+
* User information required by specific apps
|
|
5
|
+
* @internal
|
|
6
|
+
* Limited to Microsoft-internal use
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
import { SdkError } from '../../public/interfaces';
|
|
10
|
+
import { Content, ContentRequest, PreCheckContextResponse, SidePanelError, SidePanelErrorImpl, UserConsentRequest } from './sidePanelInterfaces';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
* @internal
|
|
14
|
+
* Limited to Microsoft-internal use
|
|
15
|
+
* @beta
|
|
16
|
+
* @returns boolean to represent whether copilot.sidePanel capability is supported
|
|
17
|
+
*
|
|
18
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
19
|
+
*/
|
|
20
|
+
export declare function isSupported(): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* @beta
|
|
23
|
+
* @hidden
|
|
24
|
+
* Determines if the provided error object is an instance of SidePanelError or SdkError.
|
|
25
|
+
* @internal
|
|
26
|
+
* Limited to Microsoft-internal use
|
|
27
|
+
* @param err The error object to check whether it is of SidePanelError type
|
|
28
|
+
*/
|
|
29
|
+
export declare function isResponseAReportableError(err: unknown): err is SidePanelError | SdkError;
|
|
30
|
+
/**
|
|
31
|
+
* Get user content data from the hub to send to copilot app.
|
|
32
|
+
*
|
|
33
|
+
* @returns { Promise<Content> } - promise resolves with a content object containing user content data
|
|
34
|
+
* @throws { SidePanelError | SdkError } - Throws a SidePanelError or SdkError if host SDK returns an error as a response to this call
|
|
35
|
+
*
|
|
36
|
+
* @hidden
|
|
37
|
+
* @beta
|
|
38
|
+
* @internal
|
|
39
|
+
* Limited to Microsoft-internal use
|
|
40
|
+
*/
|
|
41
|
+
export declare function getContent(request?: ContentRequest): Promise<Content>;
|
|
42
|
+
/**
|
|
43
|
+
* When the copilot detects a contextual query it gets the user consent status before making the getContent call.
|
|
44
|
+
*
|
|
45
|
+
* @returns { Promise<PreCheckContextResponse> } - promise resolves with a content object containing user content data
|
|
46
|
+
* @throws { SidePanelError | SdkError } - Throws a SidePanelError or SdkError if host SDK returns an error as a response to this call
|
|
47
|
+
*
|
|
48
|
+
* @hidden
|
|
49
|
+
* @beta
|
|
50
|
+
* @internal
|
|
51
|
+
* Limited to Microsoft-internal use
|
|
52
|
+
*/
|
|
53
|
+
export declare function preCheckUserConsent(request?: UserConsentRequest): Promise<PreCheckContextResponse>;
|
|
54
|
+
/** Register user action content select handler function type */
|
|
55
|
+
export type userActionHandlerType = (selectedContent: Content) => void;
|
|
56
|
+
/**
|
|
57
|
+
* @hidden
|
|
58
|
+
* @beta
|
|
59
|
+
* Registers a handler to get updated content data from the hub to send to copilot app.
|
|
60
|
+
* This handler will be called when the user selects content in the application.
|
|
61
|
+
* @param handler - The handler for getting user action content select.
|
|
62
|
+
*
|
|
63
|
+
* @internal
|
|
64
|
+
* Limited to Microsoft-internal use
|
|
65
|
+
*/
|
|
66
|
+
export declare function registerUserActionContentSelect(handler: userActionHandlerType): void;
|
|
67
|
+
/**
|
|
68
|
+
* @hidden
|
|
69
|
+
* @beta
|
|
70
|
+
* @internal
|
|
71
|
+
* Limited to Microsoft-internal use
|
|
72
|
+
*
|
|
73
|
+
* Error thrown when the copilot side panel API is not supported on the current platform.
|
|
74
|
+
*/
|
|
75
|
+
export declare const copilotSidePanelNotSupportedOnPlatformError: SidePanelErrorImpl;
|
|
@@ -0,0 +1,522 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @hidden
|
|
3
|
+
*
|
|
4
|
+
* Interface for content data
|
|
5
|
+
*
|
|
6
|
+
* @internal
|
|
7
|
+
* Limited to Microsoft-internal use
|
|
8
|
+
*/
|
|
9
|
+
export declare enum ContentItemType {
|
|
10
|
+
EMAIL = "email",
|
|
11
|
+
TEXT = "text",
|
|
12
|
+
MEDIA = "media",
|
|
13
|
+
CALENDAR_INVITE = "calendarInvite",
|
|
14
|
+
WEB_PAGE = "webPage",
|
|
15
|
+
MIXED = "mixed",
|
|
16
|
+
TEAMS = "teams",
|
|
17
|
+
FILE = "file"
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @hidden
|
|
21
|
+
*
|
|
22
|
+
* Common properties for all email content types
|
|
23
|
+
*
|
|
24
|
+
* @internal
|
|
25
|
+
* Limited to Microsoft-internal use
|
|
26
|
+
*/
|
|
27
|
+
export interface BaseEmailContent {
|
|
28
|
+
subject?: string;
|
|
29
|
+
body?: string;
|
|
30
|
+
sender?: string;
|
|
31
|
+
recipients?: string[];
|
|
32
|
+
cc?: string[];
|
|
33
|
+
bcc?: string[];
|
|
34
|
+
attachments?: string[];
|
|
35
|
+
renderedHtml?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @hidden
|
|
39
|
+
*
|
|
40
|
+
* Interface for server email content (must have id, receivedTime, sentTime)
|
|
41
|
+
*
|
|
42
|
+
* @internal
|
|
43
|
+
* Limited to Microsoft-internal use
|
|
44
|
+
*/
|
|
45
|
+
export interface ServerEmailContent extends BaseEmailContent {
|
|
46
|
+
id: string;
|
|
47
|
+
receivedTime?: Date;
|
|
48
|
+
sentTime?: Date;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @hidden
|
|
52
|
+
*
|
|
53
|
+
* Interface for draft email content (no id, times optional)
|
|
54
|
+
*
|
|
55
|
+
* @internal
|
|
56
|
+
* Limited to Microsoft-internal use
|
|
57
|
+
*/
|
|
58
|
+
export interface DraftEmailContent extends BaseEmailContent {
|
|
59
|
+
responseToEmailId?: string;
|
|
60
|
+
savedTime?: Date;
|
|
61
|
+
composeType?: 'new' | 'reply' | 'replyAll' | 'forward';
|
|
62
|
+
}
|
|
63
|
+
export type EmailContent = ServerEmailContent | DraftEmailContent;
|
|
64
|
+
/**
|
|
65
|
+
* @hidden
|
|
66
|
+
*
|
|
67
|
+
* Interface for email content data
|
|
68
|
+
*
|
|
69
|
+
* @internal
|
|
70
|
+
* Limited to Microsoft-internal use
|
|
71
|
+
*/
|
|
72
|
+
export interface CalendarInviteContent {
|
|
73
|
+
id: string;
|
|
74
|
+
title?: string;
|
|
75
|
+
startTime?: Date;
|
|
76
|
+
endTime?: Date;
|
|
77
|
+
location?: string;
|
|
78
|
+
meetingParameters?: string;
|
|
79
|
+
attendees?: string[];
|
|
80
|
+
organizer?: string;
|
|
81
|
+
body?: string;
|
|
82
|
+
attachments?: string[];
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* @hidden
|
|
86
|
+
*
|
|
87
|
+
* Interface for web page content data
|
|
88
|
+
*
|
|
89
|
+
* @internal
|
|
90
|
+
* Limited to Microsoft-internal use
|
|
91
|
+
*/
|
|
92
|
+
export interface WebPageContent {
|
|
93
|
+
id?: string;
|
|
94
|
+
url: string;
|
|
95
|
+
title?: string;
|
|
96
|
+
data?: string;
|
|
97
|
+
description_for_model?: string;
|
|
98
|
+
description?: string;
|
|
99
|
+
faviconUrl?: string;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* @hidden
|
|
103
|
+
*
|
|
104
|
+
* Interface for user selected content data
|
|
105
|
+
*
|
|
106
|
+
* @internal
|
|
107
|
+
* Limited to Microsoft-internal use
|
|
108
|
+
*/
|
|
109
|
+
export interface TextSelection {
|
|
110
|
+
content: string;
|
|
111
|
+
source?: EmailContent | WebPageContent | CalendarInviteContent | TeamsContent | FileContent;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* @hidden
|
|
115
|
+
*
|
|
116
|
+
* Interface for image media content
|
|
117
|
+
*
|
|
118
|
+
* @internal
|
|
119
|
+
* Limited to Microsoft-internal use
|
|
120
|
+
*/
|
|
121
|
+
export interface ImageContent {
|
|
122
|
+
url: string;
|
|
123
|
+
width?: number;
|
|
124
|
+
height?: number;
|
|
125
|
+
fileSize?: number;
|
|
126
|
+
format?: string;
|
|
127
|
+
thumbnailUrl?: string;
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @hidden
|
|
131
|
+
*
|
|
132
|
+
* Interface for audio media content
|
|
133
|
+
*
|
|
134
|
+
* @internal
|
|
135
|
+
* Limited to Microsoft-internal use
|
|
136
|
+
*/
|
|
137
|
+
export interface AudioContent {
|
|
138
|
+
url: string;
|
|
139
|
+
duration?: number;
|
|
140
|
+
fileSize?: number;
|
|
141
|
+
format?: string;
|
|
142
|
+
transcript?: string;
|
|
143
|
+
}
|
|
144
|
+
/**
|
|
145
|
+
* @hidden
|
|
146
|
+
*
|
|
147
|
+
* Interface for video media content
|
|
148
|
+
*
|
|
149
|
+
* @internal
|
|
150
|
+
* Limited to Microsoft-internal use
|
|
151
|
+
*/
|
|
152
|
+
export interface VideoContent {
|
|
153
|
+
url: string;
|
|
154
|
+
width?: number;
|
|
155
|
+
height?: number;
|
|
156
|
+
duration?: number;
|
|
157
|
+
fileSize?: number;
|
|
158
|
+
format?: string;
|
|
159
|
+
thumbnailUrl?: string;
|
|
160
|
+
transcript?: string;
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
* @hidden
|
|
164
|
+
*
|
|
165
|
+
* Enum for media selection types
|
|
166
|
+
*
|
|
167
|
+
* @internal
|
|
168
|
+
* Limited to Microsoft-internal use
|
|
169
|
+
*/
|
|
170
|
+
export declare enum MediaSelectionType {
|
|
171
|
+
IMAGE = "image",
|
|
172
|
+
AUDIO = "audio",
|
|
173
|
+
VIDEO = "video"
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* @hidden
|
|
177
|
+
*
|
|
178
|
+
* Interface for media selection
|
|
179
|
+
*
|
|
180
|
+
* @internal
|
|
181
|
+
* Limited to Microsoft-internal use
|
|
182
|
+
*/
|
|
183
|
+
export interface MediaSelection {
|
|
184
|
+
type: MediaSelectionType;
|
|
185
|
+
altText?: string;
|
|
186
|
+
content: ImageContent | AudioContent | VideoContent;
|
|
187
|
+
source?: EmailContent | WebPageContent | CalendarInviteContent | TeamsContent | FileContent;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* @hidden
|
|
191
|
+
*
|
|
192
|
+
* Interface representing the context of a Microsoft Teams chat.
|
|
193
|
+
* Contains identifying information for a specific Teams chat session.
|
|
194
|
+
*
|
|
195
|
+
* @internal
|
|
196
|
+
* Limited to Microsoft-internal use
|
|
197
|
+
*/
|
|
198
|
+
export interface TeamsChatContext {
|
|
199
|
+
chatId: string;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* @hidden
|
|
203
|
+
*
|
|
204
|
+
* Interface representing the context of a Microsoft Teams channel.
|
|
205
|
+
* Contains identifying information for a specific Teams channel and related content.
|
|
206
|
+
*
|
|
207
|
+
* @internal
|
|
208
|
+
* Limited to Microsoft-internal use
|
|
209
|
+
*/
|
|
210
|
+
export interface TeamsChannelContext {
|
|
211
|
+
channelId: string;
|
|
212
|
+
teamId: string;
|
|
213
|
+
channelName?: string;
|
|
214
|
+
postId?: string;
|
|
215
|
+
replyChainId?: string;
|
|
216
|
+
clientConversationId?: string;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* @hidden
|
|
220
|
+
*
|
|
221
|
+
* Interface representing the context of a Microsoft Teams meeting.
|
|
222
|
+
* Contains configuration and identifying information for Teams meeting sessions including Copilot features.
|
|
223
|
+
*
|
|
224
|
+
* @internal
|
|
225
|
+
* Limited to Microsoft-internal use
|
|
226
|
+
*/
|
|
227
|
+
export interface TeamsMeetingContext {
|
|
228
|
+
callId: string;
|
|
229
|
+
threadId: string;
|
|
230
|
+
organizerId: string;
|
|
231
|
+
messageId?: string;
|
|
232
|
+
groupId?: string;
|
|
233
|
+
sessionType?: TeamsSessionType;
|
|
234
|
+
vroomId?: string;
|
|
235
|
+
iCalUid?: string;
|
|
236
|
+
conversationId?: string;
|
|
237
|
+
locale?: string;
|
|
238
|
+
disableHistory?: boolean;
|
|
239
|
+
Dimensions?: TeamsDimension[];
|
|
240
|
+
UtteranceInfo?: TeamsUtteranceInfo;
|
|
241
|
+
copilotMode?: CopilotMode;
|
|
242
|
+
transcriptState?: TranscriptState;
|
|
243
|
+
enableMeetingCopilotResponseHandoff?: boolean;
|
|
244
|
+
enableCopilotResponseCopyRestriction?: boolean;
|
|
245
|
+
enableMeetingCopilotVisualInsights?: boolean;
|
|
246
|
+
enableMeetingCopilotCitation?: boolean;
|
|
247
|
+
}
|
|
248
|
+
/**
|
|
249
|
+
* @hidden
|
|
250
|
+
*
|
|
251
|
+
* Enum representing different types of Teams session contexts.
|
|
252
|
+
* Defines the various meeting and chat session types within Microsoft Teams.
|
|
253
|
+
*
|
|
254
|
+
* @internal
|
|
255
|
+
* Limited to Microsoft-internal use
|
|
256
|
+
*/
|
|
257
|
+
export declare enum TeamsSessionType {
|
|
258
|
+
Private = "Private",
|
|
259
|
+
Shared = "Shared",
|
|
260
|
+
Recap = "Recap",
|
|
261
|
+
RecapCall = "RecapCall",
|
|
262
|
+
PrivateViewCall = "PrivateViewCall",
|
|
263
|
+
Chat = "Chat",
|
|
264
|
+
Compose = "Compose"
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* @hidden
|
|
268
|
+
*
|
|
269
|
+
* Interface for telemetry dimension data used in analytics and reporting.
|
|
270
|
+
* Contains dimension name-value pairs for categorizing telemetry data.
|
|
271
|
+
*
|
|
272
|
+
* @internal
|
|
273
|
+
* Limited to Microsoft-internal use
|
|
274
|
+
*/
|
|
275
|
+
export interface TeamsDimension {
|
|
276
|
+
DimensionName: TeamsDimensionName;
|
|
277
|
+
DimensionValue: string;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* @hidden
|
|
281
|
+
*
|
|
282
|
+
* Enum defining telemetry dimension names for categorizing analytics data.
|
|
283
|
+
* Used to specify the type of dimension being tracked in telemetry systems.
|
|
284
|
+
*
|
|
285
|
+
* @internal
|
|
286
|
+
* Limited to Microsoft-internal use
|
|
287
|
+
*/
|
|
288
|
+
export declare enum TeamsDimensionName {
|
|
289
|
+
ClientDeviceType = "ClientDeviceType",
|
|
290
|
+
ClientRing = "ClientRing",
|
|
291
|
+
ClientScenarioName = "ClientScenarioName"
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* @hidden
|
|
295
|
+
*
|
|
296
|
+
* Interface for utterance identification information used in conversation tracking.
|
|
297
|
+
* Contains unique identifiers for individual utterances in chat or meeting contexts.
|
|
298
|
+
*
|
|
299
|
+
* @internal
|
|
300
|
+
* Limited to Microsoft-internal use
|
|
301
|
+
*/
|
|
302
|
+
export interface TeamsUtteranceInfo {
|
|
303
|
+
utteranceId?: string;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* @hidden
|
|
307
|
+
*
|
|
308
|
+
* Enum defining different Copilot operational modes.
|
|
309
|
+
* Specifies whether Copilot is enabled and how it should function in Teams contexts.
|
|
310
|
+
*
|
|
311
|
+
* @internal
|
|
312
|
+
* Limited to Microsoft-internal use
|
|
313
|
+
*/
|
|
314
|
+
export declare enum CopilotMode {
|
|
315
|
+
Enabled = "enabled",
|
|
316
|
+
Disabled = "disabled",
|
|
317
|
+
EnabledWithTranscript = "enabledWithTranscript"
|
|
318
|
+
}
|
|
319
|
+
/**
|
|
320
|
+
* @hidden
|
|
321
|
+
*
|
|
322
|
+
* Enum defining different transcript states for meeting recordings.
|
|
323
|
+
* Indicates the current status of transcript generation and availability.
|
|
324
|
+
*
|
|
325
|
+
* @internal
|
|
326
|
+
* Limited to Microsoft-internal use
|
|
327
|
+
*/
|
|
328
|
+
export declare enum TranscriptState {
|
|
329
|
+
NotStarted = "notStarted",
|
|
330
|
+
Active = "active",
|
|
331
|
+
Inactive = "inactive",
|
|
332
|
+
UnknownFutureValue = "unknownFutureValue"
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* @hidden
|
|
336
|
+
*
|
|
337
|
+
* Enum defining the context types for Teams-related content.
|
|
338
|
+
* Specifies whether the content is from a chat, channel, meeting, or meeting chat.
|
|
339
|
+
*
|
|
340
|
+
* @internal
|
|
341
|
+
* Limited to Microsoft-internal use
|
|
342
|
+
*/
|
|
343
|
+
export declare enum TeamsContextType {
|
|
344
|
+
Chat = "Chat",
|
|
345
|
+
Channel = "Channel",
|
|
346
|
+
Meeting = "Meeting",
|
|
347
|
+
MeetingChat = "MeetingChat"
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* @hidden
|
|
351
|
+
*
|
|
352
|
+
* Interface for Teams-related content data including app information and context.
|
|
353
|
+
* Contains metadata about Teams applications and their execution contexts.
|
|
354
|
+
*
|
|
355
|
+
* @internal
|
|
356
|
+
* Limited to Microsoft-internal use
|
|
357
|
+
*/
|
|
358
|
+
export interface TeamsContent {
|
|
359
|
+
appName?: string;
|
|
360
|
+
appVersion?: string;
|
|
361
|
+
appPlatform?: string;
|
|
362
|
+
appRingInfo?: string;
|
|
363
|
+
contextType: TeamsContextType;
|
|
364
|
+
chatContext?: TeamsChatContext;
|
|
365
|
+
channelContext?: TeamsChannelContext;
|
|
366
|
+
meetingContext?: TeamsMeetingContext;
|
|
367
|
+
}
|
|
368
|
+
/**
|
|
369
|
+
* @hidden
|
|
370
|
+
*
|
|
371
|
+
* Interface for file content data including URLs and metadata.
|
|
372
|
+
* Represents file attachments and documents referenced in content.
|
|
373
|
+
*
|
|
374
|
+
* @internal
|
|
375
|
+
* Limited to Microsoft-internal use
|
|
376
|
+
*/
|
|
377
|
+
export interface FileContent {
|
|
378
|
+
fileUrl?: string;
|
|
379
|
+
}
|
|
380
|
+
/**
|
|
381
|
+
* @hidden
|
|
382
|
+
*
|
|
383
|
+
* Interface for a catch all type content data
|
|
384
|
+
*
|
|
385
|
+
* @internal
|
|
386
|
+
* Limited to Microsoft-internal use
|
|
387
|
+
*/
|
|
388
|
+
export interface MixedContent {
|
|
389
|
+
emails?: EmailContent[];
|
|
390
|
+
texts?: TextSelection[];
|
|
391
|
+
media?: (ImageContent | AudioContent | VideoContent)[];
|
|
392
|
+
calendarInvites?: CalendarInviteContent[];
|
|
393
|
+
webPages?: WebPageContent[];
|
|
394
|
+
files?: FileContent[];
|
|
395
|
+
otherContent?: Array<Record<string, unknown>> | undefined;
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
* @hidden
|
|
399
|
+
*
|
|
400
|
+
* Interface for content data we get from hub
|
|
401
|
+
*
|
|
402
|
+
* @internal
|
|
403
|
+
* Limited to Microsoft-internal use
|
|
404
|
+
*/
|
|
405
|
+
export type ContentItem = EmailContent | TextSelection | MediaSelection | CalendarInviteContent | WebPageContent | TeamsContent | FileContent | MixedContent;
|
|
406
|
+
/**
|
|
407
|
+
* @hidden
|
|
408
|
+
*
|
|
409
|
+
* The Content interface represents the content data structure used in the side panel.
|
|
410
|
+
* It si the payload received by the copilot app from the hub.
|
|
411
|
+
*
|
|
412
|
+
* @internal
|
|
413
|
+
* Limited to Microsoft-internal use
|
|
414
|
+
*/
|
|
415
|
+
export interface Content {
|
|
416
|
+
userAction?: string;
|
|
417
|
+
contentType: ContentItemType.CALENDAR_INVITE | ContentItemType.EMAIL | ContentItemType.MEDIA | ContentItemType.TEXT | ContentItemType.TEAMS | ContentItemType.FILE | ContentItemType.WEB_PAGE | ContentItemType.MIXED;
|
|
418
|
+
formCode?: string;
|
|
419
|
+
contentItems: ContentItem[];
|
|
420
|
+
metadata?: string;
|
|
421
|
+
description?: string;
|
|
422
|
+
error_code?: string;
|
|
423
|
+
status?: string;
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
* @hidden
|
|
427
|
+
*
|
|
428
|
+
* The ContentRequest interface represents the request params sent to the hub to fetch content.
|
|
429
|
+
*
|
|
430
|
+
* @internal
|
|
431
|
+
* Limited to Microsoft-internal use
|
|
432
|
+
*/
|
|
433
|
+
export interface ContentRequest {
|
|
434
|
+
/**
|
|
435
|
+
* @deprecated Use the index signature `[key: string]: unknown` instead to pass custom properties.
|
|
436
|
+
*/
|
|
437
|
+
localEndpointInfo?: string;
|
|
438
|
+
[key: string]: unknown;
|
|
439
|
+
}
|
|
440
|
+
/**
|
|
441
|
+
* @hidden
|
|
442
|
+
*
|
|
443
|
+
* The UserConsentRequest interface represents the request params sent to the hub to get user consent.
|
|
444
|
+
*
|
|
445
|
+
* @internal
|
|
446
|
+
* Limited to Microsoft-internal use
|
|
447
|
+
*/
|
|
448
|
+
export interface UserConsentRequest {
|
|
449
|
+
[key: string]: unknown;
|
|
450
|
+
}
|
|
451
|
+
/**
|
|
452
|
+
* @hidden
|
|
453
|
+
*
|
|
454
|
+
* Interface for the response context used during user consent pre-checks.
|
|
455
|
+
* Contains information about the user's consent status and whether to show the consent card.
|
|
456
|
+
*
|
|
457
|
+
* @internal
|
|
458
|
+
* Limited to Microsoft-internal use
|
|
459
|
+
*/
|
|
460
|
+
export interface PreCheckContextResponse {
|
|
461
|
+
error_code?: string;
|
|
462
|
+
status?: string;
|
|
463
|
+
user_consent: UserConsent;
|
|
464
|
+
show_consent_card: boolean;
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* @hidden
|
|
468
|
+
*
|
|
469
|
+
* Enum representing possible user consent states.
|
|
470
|
+
*
|
|
471
|
+
* @internal
|
|
472
|
+
* Limited to Microsoft-internal use
|
|
473
|
+
*/
|
|
474
|
+
export declare enum UserConsent {
|
|
475
|
+
Accepted = "accepted",
|
|
476
|
+
NotAccepted = "not_accepted"
|
|
477
|
+
}
|
|
478
|
+
/**
|
|
479
|
+
* @hidden
|
|
480
|
+
*
|
|
481
|
+
* Type for user action handler functions that receive content data.
|
|
482
|
+
*
|
|
483
|
+
* @internal
|
|
484
|
+
* Limited to Microsoft-internal use
|
|
485
|
+
*/
|
|
486
|
+
export declare enum SidePanelErrorCode {
|
|
487
|
+
ConsentNotAccepted = "consent_not_accepted",
|
|
488
|
+
PageContentBlockedPolicy = "page_content_blocked_policy",
|
|
489
|
+
PageContentBlockedDlp = "page_content_blocked_dlp",
|
|
490
|
+
PageContentTypeNotSupportedYet = "page_content_type_not_supported_yet",
|
|
491
|
+
PageContentSizeNotSupported = "page_content_size_not_supported",
|
|
492
|
+
PageContextChanged = "page_context_changed",
|
|
493
|
+
PageContentExtractionFailed = "page_content_extraction_failed",
|
|
494
|
+
PageContentSizeNotSupportedPDF = "page_content_size_not_supported_pdf",
|
|
495
|
+
NotSupportedOnPlatform = "not_supported_on_platform",
|
|
496
|
+
OtherError = "other_error"
|
|
497
|
+
}
|
|
498
|
+
/**
|
|
499
|
+
* @hidden
|
|
500
|
+
*
|
|
501
|
+
* Interface for errors related to side panel operations.
|
|
502
|
+
* Contains an error code and an optional message.
|
|
503
|
+
*
|
|
504
|
+
* @internal
|
|
505
|
+
* Limited to Microsoft-internal use
|
|
506
|
+
*/
|
|
507
|
+
export interface SidePanelError {
|
|
508
|
+
errorCode: SidePanelErrorCode;
|
|
509
|
+
message?: string;
|
|
510
|
+
}
|
|
511
|
+
/**
|
|
512
|
+
* @hidden
|
|
513
|
+
* @beta
|
|
514
|
+
* Implementation of the SidePanelError interface.
|
|
515
|
+
* This class extends the built-in Error class and includes an error code.
|
|
516
|
+
* It is used to represent errors that occur during side panel operations.
|
|
517
|
+
* The error code can be one of the SidePanelErrorCode values or a general ErrorCode.
|
|
518
|
+
*/
|
|
519
|
+
export declare class SidePanelErrorImpl extends Error implements SidePanelError {
|
|
520
|
+
errorCode: SidePanelErrorCode;
|
|
521
|
+
constructor(errorCode: SidePanelErrorCode, message?: string);
|
|
522
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @hidden
|
|
3
|
+
* @internal
|
|
4
|
+
* Limited to Microsoft-internal use
|
|
5
|
+
* @beta
|
|
6
|
+
* @returns boolean to represent whether copilot.view capability is supported
|
|
7
|
+
*
|
|
8
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
9
|
+
*/
|
|
10
|
+
export declare function isSupported(): boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Closes the side panel that is hosting the copilot app.
|
|
13
|
+
*
|
|
14
|
+
* @throws { Error } - Throws a Error if host SDK returns an error as a response to this call
|
|
15
|
+
*
|
|
16
|
+
* @hidden
|
|
17
|
+
* @beta
|
|
18
|
+
* @internal
|
|
19
|
+
* Limited to Microsoft-internal use
|
|
20
|
+
*/
|
|
21
|
+
export declare function closeSidePanel(): Promise<void>;
|