@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,226 @@
|
|
|
1
|
+
import { AdaptiveCardVersion, SdkError } from '../public/interfaces';
|
|
2
|
+
import * as pages from '../public/pages/pages';
|
|
3
|
+
import { IBaseRuntime } from '../public/runtime';
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
* Limited to Microsoft-internal use
|
|
7
|
+
*/
|
|
8
|
+
export declare function getGenericOnCompleteHandler(errorMessage?: string): (success: boolean, reason?: string) => void;
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
* Compares SDK versions.
|
|
12
|
+
*
|
|
13
|
+
* @param v1 - first version
|
|
14
|
+
* @param v2 - second version
|
|
15
|
+
* @returns NaN in case inputs are not in right format
|
|
16
|
+
* -1 if v1 < v2
|
|
17
|
+
* 1 if v1 > v2
|
|
18
|
+
* 0 otherwise
|
|
19
|
+
* @example
|
|
20
|
+
* compareSDKVersions('1.2', '1.2.0') returns 0
|
|
21
|
+
* compareSDKVersions('1.2a', '1.2b') returns NaN
|
|
22
|
+
* compareSDKVersions('1.2', '1.3') returns -1
|
|
23
|
+
* compareSDKVersions('2.0', '1.3.2') returns 1
|
|
24
|
+
* compareSDKVersions('2.0', 2.0) returns NaN
|
|
25
|
+
*
|
|
26
|
+
* @internal
|
|
27
|
+
* Limited to Microsoft-internal use
|
|
28
|
+
*/
|
|
29
|
+
export declare function compareSDKVersions(v1: string, v2: string): number;
|
|
30
|
+
/**
|
|
31
|
+
* @hidden
|
|
32
|
+
* Generates a GUID
|
|
33
|
+
*
|
|
34
|
+
* @internal
|
|
35
|
+
* Limited to Microsoft-internal use
|
|
36
|
+
*/
|
|
37
|
+
export declare function generateGUID(): string;
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
* Limited to Microsoft-internal use
|
|
41
|
+
*/
|
|
42
|
+
export declare function deepFreeze<T extends object>(obj: T): T;
|
|
43
|
+
/**
|
|
44
|
+
* @hidden
|
|
45
|
+
* The following type definitions will be used in the
|
|
46
|
+
* utility functions below, which help in transforming the
|
|
47
|
+
* promises to support callbacks for backward compatibility
|
|
48
|
+
*
|
|
49
|
+
* @internal
|
|
50
|
+
* Limited to Microsoft-internal use
|
|
51
|
+
*/
|
|
52
|
+
export type ErrorResultCallback<T> = (err?: SdkError, result?: T) => void;
|
|
53
|
+
export type ErrorResultNullCallback<T> = (err: SdkError | null, result: T | null) => void;
|
|
54
|
+
export type ErrorBooleanResultCallback = (err?: SdkError, result?: boolean) => void;
|
|
55
|
+
export type InputFunction<T> = (...args: any[]) => Promise<T>;
|
|
56
|
+
export type ResultCallback<T> = (result?: T) => void;
|
|
57
|
+
export type SdkErrorCallback = ResultCallback<SdkError | null>;
|
|
58
|
+
/**
|
|
59
|
+
* This utility function is used when the result of the promise is same as the result in the callback.
|
|
60
|
+
* @param funcHelper
|
|
61
|
+
* @param callback
|
|
62
|
+
* @param args
|
|
63
|
+
* @returns
|
|
64
|
+
*
|
|
65
|
+
* @internal
|
|
66
|
+
* Limited to Microsoft-internal use
|
|
67
|
+
*/
|
|
68
|
+
export declare function callCallbackWithErrorOrResultFromPromiseAndReturnPromise<T>(funcHelper: InputFunction<T>, callback?: ErrorResultCallback<T>, ...args: any[]): Promise<T>;
|
|
69
|
+
/**
|
|
70
|
+
* This utility function is used when the return type of the promise is usually void and
|
|
71
|
+
* the result in the callback is a boolean type (true for success and false for error)
|
|
72
|
+
* @param funcHelper
|
|
73
|
+
* @param callback
|
|
74
|
+
* @param args
|
|
75
|
+
* @returns
|
|
76
|
+
* @internal
|
|
77
|
+
* Limited to Microsoft-internal use
|
|
78
|
+
*/
|
|
79
|
+
export declare function callCallbackWithErrorOrBooleanFromPromiseAndReturnPromise<T>(funcHelper: InputFunction<T>, callback?: ErrorBooleanResultCallback, ...args: any[]): Promise<T>;
|
|
80
|
+
/**
|
|
81
|
+
* This utility function is called when the callback has only Error/SdkError as the primary argument.
|
|
82
|
+
* @param funcHelper
|
|
83
|
+
* @param callback
|
|
84
|
+
* @param args
|
|
85
|
+
* @returns
|
|
86
|
+
*
|
|
87
|
+
* @internal
|
|
88
|
+
* Limited to Microsoft-internal use
|
|
89
|
+
*/
|
|
90
|
+
export declare function callCallbackWithSdkErrorFromPromiseAndReturnPromise<T>(funcHelper: InputFunction<T>, callback?: SdkErrorCallback, ...args: any[]): Promise<T>;
|
|
91
|
+
/**
|
|
92
|
+
* This utility function is used when the result of the promise is same as the result in the callback.
|
|
93
|
+
* @param funcHelper
|
|
94
|
+
* @param callback
|
|
95
|
+
* @param args
|
|
96
|
+
* @returns
|
|
97
|
+
*
|
|
98
|
+
* @internal
|
|
99
|
+
* Limited to Microsoft-internal use
|
|
100
|
+
*/
|
|
101
|
+
export declare function callCallbackWithErrorOrResultOrNullFromPromiseAndReturnPromise<T>(funcHelper: InputFunction<T>, callback?: ErrorResultNullCallback<T>, ...args: any[]): Promise<T>;
|
|
102
|
+
/**
|
|
103
|
+
* A helper function to add a timeout to an asynchronous operation.
|
|
104
|
+
*
|
|
105
|
+
* @param action Action to wrap the timeout around
|
|
106
|
+
* @param timeoutInMs Timeout period in milliseconds
|
|
107
|
+
* @param timeoutError Error to reject the promise with if timeout elapses before the action completed
|
|
108
|
+
* @returns A promise which resolves to the result of provided action or rejects with a provided timeout error
|
|
109
|
+
* if the initial action didn't complete within provided timeout.
|
|
110
|
+
*
|
|
111
|
+
* @internal
|
|
112
|
+
* Limited to Microsoft-internal use
|
|
113
|
+
*/
|
|
114
|
+
export declare function runWithTimeout<TResult, TError>(action: () => Promise<TResult>, timeoutInMs: number, timeoutError: TError): Promise<TResult>;
|
|
115
|
+
/**
|
|
116
|
+
* @internal
|
|
117
|
+
* Limited to Microsoft-internal use
|
|
118
|
+
*/
|
|
119
|
+
export declare function createTeamsAppLink(params: pages.AppNavigationParameters): string;
|
|
120
|
+
/**
|
|
121
|
+
* @hidden
|
|
122
|
+
* Checks if the Adaptive Card schema version is supported by the host.
|
|
123
|
+
* @param hostAdaptiveCardSchemaVersion Host's supported Adaptive Card version in the runtime.
|
|
124
|
+
*
|
|
125
|
+
* @returns true if the Adaptive Card Version is not supported and false if it is supported.
|
|
126
|
+
*/
|
|
127
|
+
export declare function isHostAdaptiveCardSchemaVersionUnsupported(hostAdaptiveCardSchemaVersion: AdaptiveCardVersion): boolean;
|
|
128
|
+
/**
|
|
129
|
+
* @hidden
|
|
130
|
+
* Checks if a URL is a HTTPS protocol based URL.
|
|
131
|
+
* @param url URL to be validated.
|
|
132
|
+
*
|
|
133
|
+
* @returns true if the URL is an https URL.
|
|
134
|
+
*/
|
|
135
|
+
export declare function isValidHttpsURL(url: URL): boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Convert base64 string to blob
|
|
138
|
+
* @param base64Data string respresenting the content
|
|
139
|
+
* @param contentType Mimetype
|
|
140
|
+
* @returns Promise
|
|
141
|
+
*/
|
|
142
|
+
export declare function base64ToBlob(mimeType: string, base64String: string): Promise<Blob>;
|
|
143
|
+
/**
|
|
144
|
+
* Converts blob to base64 string.
|
|
145
|
+
* @param blob Blob to convert to base64 string.
|
|
146
|
+
*/
|
|
147
|
+
export declare function getBase64StringFromBlob(blob: Blob): Promise<string>;
|
|
148
|
+
/**
|
|
149
|
+
* Returns an SSR safe reference to the window object
|
|
150
|
+
* @returns Window object reference
|
|
151
|
+
*/
|
|
152
|
+
export declare function ssrSafeWindow(): Window;
|
|
153
|
+
/**
|
|
154
|
+
* Checks if running in a Server Side Environment
|
|
155
|
+
* @returns True if running in a Server Side Environment
|
|
156
|
+
*/
|
|
157
|
+
export declare function inServerSideRenderingEnvironment(): boolean;
|
|
158
|
+
/**
|
|
159
|
+
* @param id The id to validate
|
|
160
|
+
* @param errorToThrow Customized error to throw if the id is not valid
|
|
161
|
+
*
|
|
162
|
+
* @throws Error if id is not valid
|
|
163
|
+
*
|
|
164
|
+
* @internal
|
|
165
|
+
* Limited to Microsoft-internal use
|
|
166
|
+
*/
|
|
167
|
+
export declare function validateId(id: string, errorToThrow?: Error): void;
|
|
168
|
+
export declare function validateUrl(url: URL, errorToThrow?: Error): void;
|
|
169
|
+
/**
|
|
170
|
+
* This function takes in a string that represents a full or relative path and returns a
|
|
171
|
+
* fully qualified URL object.
|
|
172
|
+
*
|
|
173
|
+
* Currently this is accomplished by assigning the input string to an a tag and then retrieving
|
|
174
|
+
* the a tag's href value. A side effect of doing this is that the string becomes a fully qualified
|
|
175
|
+
* URL. This is probably not how I would choose to do this, but in order to not unintentionally
|
|
176
|
+
* break something I've preseved the functionality here and just isolated the code to make it
|
|
177
|
+
* easier to mock.
|
|
178
|
+
*
|
|
179
|
+
* @example
|
|
180
|
+
* `fullyQualifyUrlString('https://example.com')` returns `new URL('https://example.com')`
|
|
181
|
+
* `fullyQualifyUrlString('helloWorld')` returns `new URL('https://example.com/helloWorld')`
|
|
182
|
+
* `fullyQualifyUrlString('hello%20World')` returns `new URL('https://example.com/hello%20World')`
|
|
183
|
+
*
|
|
184
|
+
* @param fullOrRelativePath A string representing a full or relative URL.
|
|
185
|
+
* @returns A fully qualified URL representing the input string.
|
|
186
|
+
*/
|
|
187
|
+
export declare function fullyQualifyUrlString(fullOrRelativePath: string): URL;
|
|
188
|
+
/**
|
|
189
|
+
* Detects if there are any script tags in a given string, even if they are Uri encoded or encoded as HTML entities.
|
|
190
|
+
* @param input string to test for script tags
|
|
191
|
+
* @returns true if the input string contains a script tag, false otherwise
|
|
192
|
+
*/
|
|
193
|
+
export declare function hasScriptTags(input: string): boolean;
|
|
194
|
+
/**
|
|
195
|
+
* @param id The ID to validate against the UUID format
|
|
196
|
+
* @throws Error if ID is not a valid UUID
|
|
197
|
+
*
|
|
198
|
+
* @internal
|
|
199
|
+
* Limited to Microsoft-internal use
|
|
200
|
+
*/
|
|
201
|
+
export declare function validateUuid(id: string | undefined | null): void;
|
|
202
|
+
/**
|
|
203
|
+
* @internal
|
|
204
|
+
* Limited to Microsoft-internal use
|
|
205
|
+
* @returns current timestamp in milliseconds
|
|
206
|
+
*/
|
|
207
|
+
export declare function getCurrentTimestamp(): number | undefined;
|
|
208
|
+
/**
|
|
209
|
+
* @hidden
|
|
210
|
+
* @internal
|
|
211
|
+
* Limited to Microsoft-internal use
|
|
212
|
+
*
|
|
213
|
+
* Function to check whether the data is a primitive type or a plain object.
|
|
214
|
+
* Recursion is limited to a maximum depth of 1000 to prevent excessive nesting and potential stack overflow.
|
|
215
|
+
*
|
|
216
|
+
* @param value The value to check
|
|
217
|
+
* @returns true if the value is a primitive type or a plain object, false otherwise
|
|
218
|
+
*
|
|
219
|
+
*/
|
|
220
|
+
export declare function isPrimitiveOrPlainObject(value: unknown, depth?: number): boolean;
|
|
221
|
+
/**
|
|
222
|
+
* Normalizes legacy ageGroup values for backward compatibility
|
|
223
|
+
* @param runtimeConfig - The runtime configuration object to normalize
|
|
224
|
+
* @returns A new IBaseRuntime object with normalized ageGroup values
|
|
225
|
+
*/
|
|
226
|
+
export declare function normalizeAgeGroupValue(runtimeConfig: IBaseRuntime): IBaseRuntime;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function prefetchOriginsFromCDN(): Promise<void>;
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
* Limited to Microsoft-internal use
|
|
5
|
+
*/
|
|
6
|
+
export declare function validateOrigin(messageOrigin: URL, disableCache?: boolean): Promise<boolean>;
|
|
7
|
+
/**
|
|
8
|
+
* @internal
|
|
9
|
+
* Limited to Microsoft-internal use
|
|
10
|
+
*
|
|
11
|
+
* This function is only used for testing to reset the valid origins cache and ignore prefetched values.
|
|
12
|
+
*/
|
|
13
|
+
export declare function resetValidOriginsCache(): void;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as videoEffectsEx from '../private/videoEffectsEx';
|
|
2
|
+
import * as videoEffects from '../public/videoEffects';
|
|
3
|
+
import { VideoPerformanceMonitor } from './videoPerformanceMonitor';
|
|
4
|
+
/**
|
|
5
|
+
* @hidden
|
|
6
|
+
* Create a MediaStreamTrack from the media stream with the given streamId and processed by videoFrameHandler.
|
|
7
|
+
*/
|
|
8
|
+
export declare function processMediaStream(streamId: string, videoFrameHandler: videoEffects.VideoFrameHandler, notifyError: (string: any) => void, videoPerformanceMonitor?: VideoPerformanceMonitor): Promise<void>;
|
|
9
|
+
/**
|
|
10
|
+
* @hidden
|
|
11
|
+
* Create a MediaStreamTrack from the media stream with the given streamId and processed by videoFrameHandler.
|
|
12
|
+
* The videoFrameHandler will receive metadata of the video frame.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
* Limited to Microsoft-internal use
|
|
16
|
+
*/
|
|
17
|
+
export declare function processMediaStreamWithMetadata(streamId: string, videoFrameHandler: videoEffectsEx.VideoFrameHandler, notifyError: (string: any) => void, videoPerformanceMonitor?: VideoPerformanceMonitor): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* @hidden
|
|
20
|
+
* Video effect change call back function definition
|
|
21
|
+
* @beta
|
|
22
|
+
*
|
|
23
|
+
* @internal
|
|
24
|
+
* Limited to Microsoft-internal use
|
|
25
|
+
*/
|
|
26
|
+
type VideoEffectCallBack = (effectId: string | undefined, effectParam?: string) => Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* @hidden
|
|
29
|
+
*/
|
|
30
|
+
export declare function createEffectParameterChangeCallback(callback: VideoEffectCallBack, videoPerformanceMonitor?: VideoPerformanceMonitor): (effectId: string | undefined, effectParam?: string) => void;
|
|
31
|
+
export { VideoEffectCallBack as DefaultVideoEffectCallBack };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class VideoFrameTick {
|
|
2
|
+
private static readonly setTimeoutCallbacks;
|
|
3
|
+
static setTimeout(callback: () => void, timeoutInMs: number): string;
|
|
4
|
+
static clearTimeout(id: string): void;
|
|
5
|
+
static setInterval(callback: () => void, intervalInMs: number): void;
|
|
6
|
+
/**
|
|
7
|
+
* Call this function whenever a frame comes in, it will check if any timeout is due and call the callback
|
|
8
|
+
*/
|
|
9
|
+
static tick(): void;
|
|
10
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This class is used to monitor the performance of video processing, and report performance events.
|
|
3
|
+
*/
|
|
4
|
+
export declare class VideoPerformanceMonitor {
|
|
5
|
+
private reportPerformanceEvent;
|
|
6
|
+
private static readonly distributionBinSize;
|
|
7
|
+
private static readonly calculateFPSInterval;
|
|
8
|
+
private isFirstFrameProcessed;
|
|
9
|
+
private applyingEffect?;
|
|
10
|
+
private appliedEffect?;
|
|
11
|
+
private frameProcessTimeLimit;
|
|
12
|
+
private gettingTextureStreamStartedAt;
|
|
13
|
+
private currentStreamId;
|
|
14
|
+
private frameProcessingStartedAt;
|
|
15
|
+
private frameProcessingTimeCost;
|
|
16
|
+
private processedFrameCount;
|
|
17
|
+
private performanceStatistics;
|
|
18
|
+
constructor(reportPerformanceEvent: (apiVersionTag: string, actionName: string, args: unknown[]) => void);
|
|
19
|
+
/**
|
|
20
|
+
* Start to check frame processing time intervally
|
|
21
|
+
* and report performance event if the average frame processing time is too long.
|
|
22
|
+
*/
|
|
23
|
+
startMonitorSlowFrameProcessing(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Define the time limit of frame processing.
|
|
26
|
+
* When the average frame processing time is longer than the time limit, a "video.performance.frameProcessingSlow" event will be reported.
|
|
27
|
+
* @param timeLimit
|
|
28
|
+
*/
|
|
29
|
+
setFrameProcessTimeLimit(timeLimit: number): void;
|
|
30
|
+
/**
|
|
31
|
+
* Call this function when the app starts to switch to the new video effect
|
|
32
|
+
*/
|
|
33
|
+
reportApplyingVideoEffect(effectId: string, effectParam?: string): void;
|
|
34
|
+
/**
|
|
35
|
+
* Call this function when the new video effect is ready
|
|
36
|
+
*/
|
|
37
|
+
reportVideoEffectChanged(effectId: string, effectParam?: string): void;
|
|
38
|
+
/**
|
|
39
|
+
* Call this function when the app starts to process a video frame
|
|
40
|
+
*/
|
|
41
|
+
reportStartFrameProcessing(frameWidth: number, frameHeight: number): void;
|
|
42
|
+
/**
|
|
43
|
+
* Call this function when the app finishes successfully processing a video frame
|
|
44
|
+
*/
|
|
45
|
+
reportFrameProcessed(): void;
|
|
46
|
+
/**
|
|
47
|
+
* Call this function when the app starts to get the texture stream
|
|
48
|
+
*/
|
|
49
|
+
reportGettingTextureStream(streamId: string): void;
|
|
50
|
+
/**
|
|
51
|
+
* Call this function when the app finishes successfully getting the texture stream
|
|
52
|
+
*/
|
|
53
|
+
reportTextureStreamAcquired(): void;
|
|
54
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export type VideoPerformanceStatisticsResult = {
|
|
2
|
+
effectId: string;
|
|
3
|
+
effectParam?: string;
|
|
4
|
+
frameWidth: number;
|
|
5
|
+
frameHeight: number;
|
|
6
|
+
/**
|
|
7
|
+
* The duration in milliseconds that the data were collected
|
|
8
|
+
*/
|
|
9
|
+
duration: number;
|
|
10
|
+
/**
|
|
11
|
+
* The number of frames that were processed in the duration
|
|
12
|
+
*/
|
|
13
|
+
sampleCount: number;
|
|
14
|
+
/**
|
|
15
|
+
* An array that presents counts of frames that were finished in n milliseconds:
|
|
16
|
+
* distributionBins[frameProcessingDurationInMs]=frameCount.
|
|
17
|
+
* For example, distributionBins[10] = 5 means that 5 frames were processed in 10 milliseconds.
|
|
18
|
+
*/
|
|
19
|
+
distributionBins: Uint32Array;
|
|
20
|
+
};
|
|
21
|
+
export declare class VideoPerformanceStatistics {
|
|
22
|
+
/**
|
|
23
|
+
* Function to report the statistics result
|
|
24
|
+
*/
|
|
25
|
+
private reportStatisticsResult;
|
|
26
|
+
private static readonly initialSessionTimeoutInMs;
|
|
27
|
+
private static readonly maxSessionTimeoutInMs;
|
|
28
|
+
private currentSession;
|
|
29
|
+
private frameProcessingStartedAt;
|
|
30
|
+
private distributionBins;
|
|
31
|
+
private sampleCount;
|
|
32
|
+
private timeoutId;
|
|
33
|
+
constructor(distributionBinSize: number,
|
|
34
|
+
/**
|
|
35
|
+
* Function to report the statistics result
|
|
36
|
+
*/
|
|
37
|
+
reportStatisticsResult: (result: VideoPerformanceStatisticsResult) => void);
|
|
38
|
+
/**
|
|
39
|
+
* Call this function before processing every frame
|
|
40
|
+
*/
|
|
41
|
+
processStarts(effectId: string, frameWidth: number, frameHeight: number, effectParam?: string): void;
|
|
42
|
+
processEnds(): void;
|
|
43
|
+
private getStatistics;
|
|
44
|
+
private start;
|
|
45
|
+
private suitableForThisSession;
|
|
46
|
+
private reportAndResetSession;
|
|
47
|
+
private resetCurrentSession;
|
|
48
|
+
private getNextTimeout;
|
|
49
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @hidden
|
|
3
|
+
* All properties common to Image and Video Props
|
|
4
|
+
*
|
|
5
|
+
* @beta
|
|
6
|
+
*/
|
|
7
|
+
export interface VisualMediaProps {
|
|
8
|
+
/**
|
|
9
|
+
* @hidden
|
|
10
|
+
* The maximum number of media items that can be selected at once is limited to values that are less than or equal to the maximum visual media selection limit.
|
|
11
|
+
*/
|
|
12
|
+
maxVisualMediaCount: number;
|
|
13
|
+
}
|
|
14
|
+
export declare const maxVisualMediaSelectionLimit = 10;
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @hidden
|
|
3
|
+
* Module to interact with the application entities specific part of the SDK.
|
|
4
|
+
*
|
|
5
|
+
* @internal
|
|
6
|
+
* Limited to Microsoft-internal use
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
import { SdkError } from '../public/interfaces';
|
|
11
|
+
/**
|
|
12
|
+
* @hidden
|
|
13
|
+
*
|
|
14
|
+
* Information on an app entity
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
* Limited to Microsoft-internal use
|
|
18
|
+
*/
|
|
19
|
+
export interface AppEntity {
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
* ID of the application
|
|
23
|
+
*
|
|
24
|
+
* @internal
|
|
25
|
+
* Limited to Microsoft-internal use
|
|
26
|
+
*/
|
|
27
|
+
appId: string;
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
* URL for the application's icon
|
|
31
|
+
*
|
|
32
|
+
* @internal
|
|
33
|
+
* Limited to Microsoft-internal use
|
|
34
|
+
*/
|
|
35
|
+
appIconUrl: string;
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
* Content URL for the app entity
|
|
39
|
+
*
|
|
40
|
+
* @internal
|
|
41
|
+
* Limited to Microsoft-internal use
|
|
42
|
+
*/
|
|
43
|
+
contentUrl: string;
|
|
44
|
+
/**
|
|
45
|
+
* @hidden
|
|
46
|
+
* The display name for the app entity
|
|
47
|
+
*
|
|
48
|
+
* @internal
|
|
49
|
+
* Limited to Microsoft-internal use
|
|
50
|
+
*/
|
|
51
|
+
displayName: string;
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
* Website URL for the app entity. It is meant to be opened by the user in a browser.
|
|
55
|
+
*
|
|
56
|
+
* @internal
|
|
57
|
+
* Limited to Microsoft-internal use
|
|
58
|
+
*/
|
|
59
|
+
websiteUrl: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @hidden
|
|
63
|
+
* Hide from docs
|
|
64
|
+
* --------
|
|
65
|
+
* Open the Tab Gallery and retrieve the app entity
|
|
66
|
+
* @param threadId ID of the thread where the app entity will be created
|
|
67
|
+
* @param categories A list of application categories that will be displayed in the opened tab gallery
|
|
68
|
+
* @param subEntityId An object that will be made available to the application being configured
|
|
69
|
+
* through the Context's subEntityId field.
|
|
70
|
+
* @param callback Callback that will be triggered once the app entity information is available.
|
|
71
|
+
* The callback takes two arguments: an SdkError in case something happened (i.e.
|
|
72
|
+
* no permissions to execute the API) and the app entity configuration, if available
|
|
73
|
+
*
|
|
74
|
+
* @internal
|
|
75
|
+
* Limited to Microsoft-internal use
|
|
76
|
+
*/
|
|
77
|
+
export declare function selectAppEntity(threadId: string, categories: string[], subEntityId: string, callback: (sdkError?: SdkError, appEntity?: AppEntity) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*
|
|
81
|
+
* Checks if the appEntity capability is supported by the host
|
|
82
|
+
* @returns boolean to represent whether the appEntity capability is supported
|
|
83
|
+
*
|
|
84
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
85
|
+
*
|
|
86
|
+
* @internal
|
|
87
|
+
* Limited to Microsoft-internal use
|
|
88
|
+
*/
|
|
89
|
+
export declare function isSupported(): boolean;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @hidden
|
|
3
|
+
* Error codes that can be thrown from externalAppCommands and externalAppCardCommands Action Submit specifically
|
|
4
|
+
* @internal
|
|
5
|
+
* Limited to Microsoft-internal use
|
|
6
|
+
*/
|
|
7
|
+
export declare enum ExternalAppErrorCode {
|
|
8
|
+
INTERNAL_ERROR = "INTERNAL_ERROR"
|
|
9
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @hidden
|
|
3
|
+
* Module to interact with the conversational subEntities inside the tab
|
|
4
|
+
*
|
|
5
|
+
* @internal
|
|
6
|
+
* Limited to Microsoft-internal use
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
9
|
+
*/
|
|
10
|
+
import { ChatMembersInformation } from './interfaces';
|
|
11
|
+
export interface OpenConversationRequest {
|
|
12
|
+
/**
|
|
13
|
+
* @hidden
|
|
14
|
+
* The Id of the subEntity where the conversation is taking place
|
|
15
|
+
*
|
|
16
|
+
* @internal
|
|
17
|
+
* Limited to Microsoft-internal use
|
|
18
|
+
*/
|
|
19
|
+
subEntityId: string;
|
|
20
|
+
/**
|
|
21
|
+
* @hidden
|
|
22
|
+
* The title of the conversation
|
|
23
|
+
*
|
|
24
|
+
* @internal
|
|
25
|
+
* Limited to Microsoft-internal use
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
* @hidden
|
|
30
|
+
* The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before
|
|
31
|
+
*
|
|
32
|
+
* @internal
|
|
33
|
+
* Limited to Microsoft-internal use
|
|
34
|
+
*/
|
|
35
|
+
conversationId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
* The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope
|
|
39
|
+
*
|
|
40
|
+
* @internal
|
|
41
|
+
* Limited to Microsoft-internal use
|
|
42
|
+
*/
|
|
43
|
+
channelId?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @hidden
|
|
46
|
+
* The entity Id of the tab
|
|
47
|
+
*
|
|
48
|
+
* @internal
|
|
49
|
+
* Limited to Microsoft-internal use
|
|
50
|
+
*/
|
|
51
|
+
entityId: string;
|
|
52
|
+
/**
|
|
53
|
+
* @hidden
|
|
54
|
+
* A function that is called once the conversation Id has been created
|
|
55
|
+
*
|
|
56
|
+
* @internal
|
|
57
|
+
* Limited to Microsoft-internal use
|
|
58
|
+
*/
|
|
59
|
+
onStartConversation?: (conversationResponse: ConversationResponse) => void;
|
|
60
|
+
/**
|
|
61
|
+
* @hidden
|
|
62
|
+
* A function that is called if the pane is closed
|
|
63
|
+
*
|
|
64
|
+
* @internal
|
|
65
|
+
* Limited to Microsoft-internal use
|
|
66
|
+
*/
|
|
67
|
+
onCloseConversation?: (conversationResponse: ConversationResponse) => void;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* @hidden
|
|
71
|
+
*
|
|
72
|
+
* @internal
|
|
73
|
+
* Limited to Microsoft-internal use
|
|
74
|
+
*/
|
|
75
|
+
export interface ConversationResponse {
|
|
76
|
+
/**
|
|
77
|
+
* @hidden
|
|
78
|
+
*
|
|
79
|
+
* Limited to Microsoft-internal use
|
|
80
|
+
* The Id of the subEntity where the conversation is taking place
|
|
81
|
+
*/
|
|
82
|
+
subEntityId: string;
|
|
83
|
+
/**
|
|
84
|
+
* @hidden
|
|
85
|
+
* The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before
|
|
86
|
+
*
|
|
87
|
+
* @internal
|
|
88
|
+
* Limited to Microsoft-internal use
|
|
89
|
+
*/
|
|
90
|
+
conversationId?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @hidden
|
|
93
|
+
* The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope
|
|
94
|
+
*
|
|
95
|
+
* @internal
|
|
96
|
+
* Limited to Microsoft-internal use
|
|
97
|
+
*/
|
|
98
|
+
channelId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @hidden
|
|
101
|
+
* The entity Id of the tab
|
|
102
|
+
*
|
|
103
|
+
* @internal
|
|
104
|
+
* Limited to Microsoft-internal use
|
|
105
|
+
*/
|
|
106
|
+
entityId?: string;
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* @hidden
|
|
110
|
+
* Hide from docs
|
|
111
|
+
* --------------
|
|
112
|
+
* Allows the user to start or continue a conversation with each subentity inside the tab
|
|
113
|
+
*
|
|
114
|
+
* @returns Promise resolved upon completion
|
|
115
|
+
*
|
|
116
|
+
* @internal
|
|
117
|
+
* Limited to Microsoft-internal use
|
|
118
|
+
*/
|
|
119
|
+
export declare function openConversation(openConversationRequest: OpenConversationRequest): Promise<void>;
|
|
120
|
+
/**
|
|
121
|
+
* @hidden
|
|
122
|
+
*
|
|
123
|
+
* Allows the user to close the conversation in the right pane
|
|
124
|
+
*
|
|
125
|
+
* @internal
|
|
126
|
+
* Limited to Microsoft-internal use
|
|
127
|
+
*/
|
|
128
|
+
export declare function closeConversation(): void;
|
|
129
|
+
/**
|
|
130
|
+
* @hidden
|
|
131
|
+
* Hide from docs
|
|
132
|
+
* ------
|
|
133
|
+
* Allows retrieval of information for all chat members.
|
|
134
|
+
* NOTE: This value should be used only as a hint as to who the members are
|
|
135
|
+
* and never as proof of membership in case your app is being hosted by a malicious party.
|
|
136
|
+
*
|
|
137
|
+
* @returns Promise resolved with information on all chat members
|
|
138
|
+
*
|
|
139
|
+
* @internal
|
|
140
|
+
* Limited to Microsoft-internal use
|
|
141
|
+
*/
|
|
142
|
+
export declare function getChatMembers(): Promise<ChatMembersInformation>;
|
|
143
|
+
/**
|
|
144
|
+
* Checks if the conversations capability is supported by the host
|
|
145
|
+
* @returns boolean to represent whether conversations capability is supported
|
|
146
|
+
*
|
|
147
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
148
|
+
*
|
|
149
|
+
* @internal
|
|
150
|
+
* Limited to Microsoft-internal use
|
|
151
|
+
*/
|
|
152
|
+
export declare function isSupported(): boolean;
|