@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,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Subcapability that allows communication between the dialog and the parent app.
|
|
3
|
+
*
|
|
4
|
+
* @remarks
|
|
5
|
+
* Note that dialog can be invoked from parentless scenarios e.g. Search Message Extensions. The subcapability `parentCommunication` is not supported in such scenarios.
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
import { PostMessageChannel } from '../dialog';
|
|
10
|
+
/**
|
|
11
|
+
* Send message to the parent from dialog
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* This function is only intended to be called from code running within the dialog. Calling it from outside the dialog will have no effect.
|
|
15
|
+
*
|
|
16
|
+
* @param message - The message to send to the parent
|
|
17
|
+
*/
|
|
18
|
+
export declare function sendMessageToParentFromDialog(message: any): void;
|
|
19
|
+
/**
|
|
20
|
+
* Send message to the dialog from the parent
|
|
21
|
+
*
|
|
22
|
+
* @param message - The message to send
|
|
23
|
+
*/
|
|
24
|
+
export declare function sendMessageToDialog(message: any): void;
|
|
25
|
+
/**
|
|
26
|
+
* Register a listener that will be triggered when a message is received from the app that opened the dialog.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* This function is only intended to be called from code running within the dialog. Calling it from outside the dialog will have no effect.
|
|
30
|
+
*
|
|
31
|
+
* @param listener - The listener that will be triggered.
|
|
32
|
+
*/
|
|
33
|
+
export declare function registerOnMessageFromParent(listener: PostMessageChannel): void;
|
|
34
|
+
/**
|
|
35
|
+
* Checks if dialog.url.parentCommunication capability is supported by the host
|
|
36
|
+
*
|
|
37
|
+
* @returns boolean to represent whether dialog.url.parentCommunication capability is supported
|
|
38
|
+
*
|
|
39
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
40
|
+
*/
|
|
41
|
+
export declare function isSupported(): boolean;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { BotUrlDialogInfo, DialogInfo, UrlDialogInfo } from '../../interfaces';
|
|
2
|
+
import { DialogSubmitHandler, PostMessageChannel } from '../dialog';
|
|
3
|
+
import * as bot from './bot';
|
|
4
|
+
import * as parentCommunication from './parentCommunication';
|
|
5
|
+
/**
|
|
6
|
+
* Allows app to open a url based dialog.
|
|
7
|
+
*
|
|
8
|
+
* @remarks
|
|
9
|
+
* This function cannot be called from inside of a dialog
|
|
10
|
+
*
|
|
11
|
+
* @param urlDialogInfo - An object containing the parameters of the dialog module.
|
|
12
|
+
* @param submitHandler - Handler that triggers when a dialog calls the {@linkcode submit} function or when the user closes the dialog.
|
|
13
|
+
* @param messageFromChildHandler - Handler that triggers if dialog sends a message to the app.
|
|
14
|
+
*/
|
|
15
|
+
export declare function open(urlDialogInfo: UrlDialogInfo, submitHandler?: DialogSubmitHandler, messageFromChildHandler?: PostMessageChannel): void;
|
|
16
|
+
/**
|
|
17
|
+
* Submit the dialog module and close the dialog
|
|
18
|
+
*
|
|
19
|
+
* @remarks
|
|
20
|
+
* This function is only intended to be called from code running within the dialog. Calling it from outside the dialog will have no effect.
|
|
21
|
+
*
|
|
22
|
+
* @param result - The result to be sent to the bot or the app. Typically a JSON object or a serialized version of it,
|
|
23
|
+
* If this function is called from a dialog while {@link M365ContentAction} is set in the context object by the host, result will be ignored
|
|
24
|
+
*
|
|
25
|
+
* @param appIds - Valid application(s) that can receive the result of the submitted dialogs. Specifying this parameter helps prevent malicious apps from retrieving the dialog result. Multiple app IDs can be specified because a web app from a single underlying domain can power multiple apps across different environments and branding schemes.
|
|
26
|
+
*/
|
|
27
|
+
export declare function submit(result?: string | object, appIds?: string | string[]): void;
|
|
28
|
+
/**
|
|
29
|
+
* Checks if dialog.url module is supported by the host
|
|
30
|
+
*
|
|
31
|
+
* @returns boolean to represent whether dialog.url module is supported
|
|
32
|
+
*
|
|
33
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
34
|
+
*/
|
|
35
|
+
export declare function isSupported(): boolean;
|
|
36
|
+
/**
|
|
37
|
+
* @hidden
|
|
38
|
+
*
|
|
39
|
+
* Convert UrlDialogInfo to DialogInfo to send the information to host in {@linkcode open} API.
|
|
40
|
+
*
|
|
41
|
+
* @internal
|
|
42
|
+
* Limited to Microsoft-internal use
|
|
43
|
+
*/
|
|
44
|
+
export declare function getDialogInfoFromUrlDialogInfo(urlDialogInfo: UrlDialogInfo): DialogInfo;
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*
|
|
48
|
+
* Convert BotUrlDialogInfo to DialogInfo to send the information to host in {@linkcode bot.open} API.
|
|
49
|
+
*
|
|
50
|
+
* @internal
|
|
51
|
+
* Limited to Microsoft-internal use
|
|
52
|
+
*/
|
|
53
|
+
export declare function getDialogInfoFromBotUrlDialogInfo(botUrlDialogInfo: BotUrlDialogInfo): DialogInfo;
|
|
54
|
+
export { bot, parentCommunication };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents a validated email.
|
|
3
|
+
*/
|
|
4
|
+
export declare class EmailAddress {
|
|
5
|
+
/** Represents the input email address string */
|
|
6
|
+
private readonly val;
|
|
7
|
+
constructor(val: string);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve the validated email address as a string.
|
|
10
|
+
*/
|
|
11
|
+
toString(): string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module for launching external apps and receiving results.
|
|
3
|
+
*
|
|
4
|
+
* Provides a generic mechanism to:
|
|
5
|
+
* - Launch another app with parameters and wait for a result
|
|
6
|
+
* - Open another app (fire-and-forget)
|
|
7
|
+
* - Check if a target app is installed
|
|
8
|
+
*
|
|
9
|
+
* @module
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
* Android-specific intent configuration.
|
|
13
|
+
*/
|
|
14
|
+
export interface AndroidIntentConfig {
|
|
15
|
+
/** Intent action (e.g., "android.intent.action.VIEW") */
|
|
16
|
+
action?: string;
|
|
17
|
+
/** Target package name (e.g., "com.example.app") */
|
|
18
|
+
package?: string;
|
|
19
|
+
/** Intent data URI (e.g., "upi://pay?...") */
|
|
20
|
+
data?: string;
|
|
21
|
+
/** MIME type (e.g., "application/json") */
|
|
22
|
+
type?: string;
|
|
23
|
+
/** Intent category */
|
|
24
|
+
category?: string;
|
|
25
|
+
/** Extra key-value pairs to pass with the intent */
|
|
26
|
+
extras?: Record<string, string | number | boolean>;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* iOS-specific URL scheme configuration.
|
|
30
|
+
*/
|
|
31
|
+
export interface IOSUrlConfig {
|
|
32
|
+
/** URL scheme to open (e.g., "exampleapp://action?param=value") */
|
|
33
|
+
url: string;
|
|
34
|
+
/** Callback URL that the external app redirects back to (default: "org.jevelin.app://externalapp-callback") */
|
|
35
|
+
callbackUrl?: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Parameters for launching an external app.
|
|
39
|
+
*/
|
|
40
|
+
export interface ExternalAppLaunchParams {
|
|
41
|
+
/** Android-specific intent configuration */
|
|
42
|
+
android?: AndroidIntentConfig;
|
|
43
|
+
/** iOS-specific URL configuration */
|
|
44
|
+
ios?: IOSUrlConfig;
|
|
45
|
+
/** Maximum time to wait for result in milliseconds (default: 60000, 0 = no timeout) */
|
|
46
|
+
timeout?: number;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Result from an external app launch.
|
|
50
|
+
*/
|
|
51
|
+
export interface ExternalAppResult {
|
|
52
|
+
/** Whether the external app returned a successful result */
|
|
53
|
+
success: boolean;
|
|
54
|
+
/** Result data from the external app (key-value pairs) */
|
|
55
|
+
data?: Record<string, string>;
|
|
56
|
+
/** Error reason if success is false: "cancelled", "timeout", "not_installed" */
|
|
57
|
+
error?: string;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Result from checking if an app is installed.
|
|
61
|
+
*/
|
|
62
|
+
export interface ExternalAppInstalledResult {
|
|
63
|
+
/** Whether the target app is currently installed on the user's device. */
|
|
64
|
+
installed: boolean;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* Launches an external app and waits for a result.
|
|
68
|
+
*
|
|
69
|
+
* On Android, this uses `startActivityForResult` with the provided intent.
|
|
70
|
+
* On iOS, this opens a URL scheme and waits for a callback URL redirect.
|
|
71
|
+
*
|
|
72
|
+
* @param params - Platform-specific launch parameters
|
|
73
|
+
* @returns A Promise resolving with the result from the external app
|
|
74
|
+
* @throws Error if the capability is not supported
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* ```typescript
|
|
78
|
+
* // Launch a UPI payment app
|
|
79
|
+
* const result = await externalApp.launch({
|
|
80
|
+
* android: {
|
|
81
|
+
* action: "android.intent.action.VIEW",
|
|
82
|
+
* data: "upi://pay?pa=merchant@upi&am=500"
|
|
83
|
+
* },
|
|
84
|
+
* ios: {
|
|
85
|
+
* url: "gpay://upi/pay?pa=merchant@upi&am=500",
|
|
86
|
+
* callbackUrl: "org.jevelin.app://payment-callback"
|
|
87
|
+
* },
|
|
88
|
+
* timeout: 120000
|
|
89
|
+
* });
|
|
90
|
+
*
|
|
91
|
+
* if (result.success) {
|
|
92
|
+
* processPayment(result.data);
|
|
93
|
+
* }
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare function launch(params: ExternalAppLaunchParams): Promise<ExternalAppResult>;
|
|
97
|
+
/**
|
|
98
|
+
* Opens an external app without waiting for a result (fire-and-forget).
|
|
99
|
+
*
|
|
100
|
+
* @param params - Platform-specific open parameters
|
|
101
|
+
* @returns A Promise resolving with success/failure of opening
|
|
102
|
+
*
|
|
103
|
+
* @example
|
|
104
|
+
* ```typescript
|
|
105
|
+
* await externalApp.open({
|
|
106
|
+
* android: { action: "android.intent.action.VIEW", data: "https://wa.me/919999" },
|
|
107
|
+
* ios: { url: "whatsapp://send?phone=919999" }
|
|
108
|
+
* });
|
|
109
|
+
* ```
|
|
110
|
+
*/
|
|
111
|
+
export declare function open(params: ExternalAppLaunchParams): Promise<ExternalAppResult>;
|
|
112
|
+
/**
|
|
113
|
+
* Checks if a target app is installed on the device.
|
|
114
|
+
*
|
|
115
|
+
* @param params - Platform-specific identifiers to check
|
|
116
|
+
* @returns A Promise resolving with installation status
|
|
117
|
+
*
|
|
118
|
+
* @example
|
|
119
|
+
* ```typescript
|
|
120
|
+
* const { installed } = await externalApp.isInstalled({
|
|
121
|
+
* android: { package: "com.example.paymentapp" },
|
|
122
|
+
* ios: { url: "paymentapp://" }
|
|
123
|
+
* });
|
|
124
|
+
* ```
|
|
125
|
+
*/
|
|
126
|
+
export declare function isInstalled(params: ExternalAppLaunchParams): Promise<ExternalAppInstalledResult>;
|
|
127
|
+
/**
|
|
128
|
+
* Checks if the externalApp capability is supported by the host.
|
|
129
|
+
*/
|
|
130
|
+
export declare function isSupported(): boolean;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This function enables child proxying communication for apps that still needs it.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated Child proxying is considered an insecure feature and will be removed in future releases.
|
|
5
|
+
*/
|
|
6
|
+
export declare function activateChildProxyingCommunication(): void;
|
|
7
|
+
/**
|
|
8
|
+
* @hidden
|
|
9
|
+
* @internal
|
|
10
|
+
* Limited to Microsoft-internal use.
|
|
11
|
+
*/
|
|
12
|
+
export declare function isChildProxyingEnabled(): boolean;
|
|
13
|
+
/**
|
|
14
|
+
* @hidden
|
|
15
|
+
* @internal
|
|
16
|
+
* Limited to Microsoft-internal use.
|
|
17
|
+
*/
|
|
18
|
+
export declare function resetBuildFeatureFlags(): void;
|
|
19
|
+
/**
|
|
20
|
+
* Feature flags to activate or deactivate certain features at runtime for an app.
|
|
21
|
+
*/
|
|
22
|
+
export interface RuntimeFeatureFlags {
|
|
23
|
+
/**
|
|
24
|
+
* Disables origin validation for responses to child windows. When enabled, this flag bypasses security checks that verify the origin of child window that receives the response.
|
|
25
|
+
*
|
|
26
|
+
* Default: false
|
|
27
|
+
*/
|
|
28
|
+
disableEnforceOriginMatchForChildResponses: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @returns The current state of the runtime feature flags.
|
|
32
|
+
*/
|
|
33
|
+
export declare function getCurrentFeatureFlagsState(): RuntimeFeatureFlags;
|
|
34
|
+
/**
|
|
35
|
+
* It sets the runtime feature flags to the new feature flags provided.
|
|
36
|
+
* @param featureFlags The new feature flags to set.
|
|
37
|
+
*/
|
|
38
|
+
export declare function setFeatureFlagsState(featureFlags: RuntimeFeatureFlags): void;
|
|
39
|
+
/**
|
|
40
|
+
* It overwrites all the feature flags in the runtime feature flags object with the new feature flags provided.
|
|
41
|
+
* @param newFeatureFlags The new feature flags to set.
|
|
42
|
+
* @returns The current state of the runtime feature flags.
|
|
43
|
+
*/
|
|
44
|
+
export declare function overwriteFeatureFlagsState(newFeatureFlags: Partial<RuntimeFeatureFlags>): RuntimeFeatureFlags;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module to interact with the geoLocation module-specific part of the SDK. This is the newer version of location module.
|
|
3
|
+
*
|
|
4
|
+
* @beta
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import * as map from './map';
|
|
8
|
+
/**
|
|
9
|
+
* Data struture to represent the location information
|
|
10
|
+
*
|
|
11
|
+
* @beta
|
|
12
|
+
*/
|
|
13
|
+
export interface Location {
|
|
14
|
+
/**
|
|
15
|
+
Latitude of the location
|
|
16
|
+
*/
|
|
17
|
+
latitude: number;
|
|
18
|
+
/**
|
|
19
|
+
Longitude of the location
|
|
20
|
+
*/
|
|
21
|
+
longitude: number;
|
|
22
|
+
/**
|
|
23
|
+
Accuracy describes the maximum distance in meters from the captured coordinates to the possible actual location
|
|
24
|
+
@remarks
|
|
25
|
+
This property is only in scope for mobile
|
|
26
|
+
*/
|
|
27
|
+
accuracy?: number;
|
|
28
|
+
/**
|
|
29
|
+
Time stamp when the location was captured
|
|
30
|
+
*/
|
|
31
|
+
timestamp?: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Fetches current user coordinates
|
|
35
|
+
* @returns Promise that will resolve with {@link geoLocation.Location} object or reject with an error. Function can also throw a NOT_SUPPORTED_ON_PLATFORM error
|
|
36
|
+
*
|
|
37
|
+
* @beta
|
|
38
|
+
*/
|
|
39
|
+
export declare function getCurrentLocation(): Promise<Location>;
|
|
40
|
+
/**
|
|
41
|
+
* Checks whether or not location has user permission
|
|
42
|
+
*
|
|
43
|
+
* @returns Promise that will resolve with true if the user had granted the app permission to location information, or with false otherwise,
|
|
44
|
+
* In case of an error, promise will reject with the error. Function can also throw a NOT_SUPPORTED_ON_PLATFORM error
|
|
45
|
+
*
|
|
46
|
+
* @beta
|
|
47
|
+
*/
|
|
48
|
+
export declare function hasPermission(): Promise<boolean>;
|
|
49
|
+
/**
|
|
50
|
+
* Requests user permission for location
|
|
51
|
+
*
|
|
52
|
+
* @returns true if the user consented permission for location, false otherwise
|
|
53
|
+
* @returns Promise that will resolve with true if the user consented permission for location, or with false otherwise,
|
|
54
|
+
* In case of an error, promise will reject with the error. Function can also throw a NOT_SUPPORTED_ON_PLATFORM error
|
|
55
|
+
*
|
|
56
|
+
* @beta
|
|
57
|
+
*/
|
|
58
|
+
export declare function requestPermission(): Promise<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Checks if geoLocation capability is supported by the host
|
|
61
|
+
* @returns boolean to represent whether geoLocation is supported
|
|
62
|
+
*
|
|
63
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
64
|
+
*
|
|
65
|
+
* @beta
|
|
66
|
+
*/
|
|
67
|
+
export declare function isSupported(): boolean;
|
|
68
|
+
export { map };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module to interact with the location on map module-specific part of the SDK.
|
|
3
|
+
*
|
|
4
|
+
* @beta
|
|
5
|
+
* @module
|
|
6
|
+
*/
|
|
7
|
+
import { Location } from './geoLocation';
|
|
8
|
+
/**
|
|
9
|
+
* Allows user to choose location on map
|
|
10
|
+
*
|
|
11
|
+
* @returns Promise that will resolve with {@link geoLocation.Location} object chosen by the user or reject with an error. Function can also throw a NOT_SUPPORTED_ON_PLATFORM error
|
|
12
|
+
*
|
|
13
|
+
* @beta
|
|
14
|
+
*/
|
|
15
|
+
export declare function chooseLocation(): Promise<Location>;
|
|
16
|
+
/**
|
|
17
|
+
* Shows the location on map corresponding to the given coordinates
|
|
18
|
+
*
|
|
19
|
+
* @param location - Location to be shown on the map
|
|
20
|
+
* @returns Promise that resolves when the location dialog has been closed or reject with an error. Function can also throw a NOT_SUPPORTED_ON_PLATFORM error
|
|
21
|
+
*
|
|
22
|
+
* @beta
|
|
23
|
+
*/
|
|
24
|
+
export declare function showLocation(location: Location): Promise<void>;
|
|
25
|
+
/**
|
|
26
|
+
* Checks if geoLocation.map capability is supported by the host
|
|
27
|
+
* @returns boolean to represent whether geoLocation.map is supported
|
|
28
|
+
*
|
|
29
|
+
* @throws Error if {@linkcode app.initialize} has not successfully completed
|
|
30
|
+
*
|
|
31
|
+
* @beta
|
|
32
|
+
*/
|
|
33
|
+
export declare function isSupported(): boolean;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module for triggering native haptic feedback.
|
|
3
|
+
*
|
|
4
|
+
* Provides access to the device's haptic engine (Taptic Engine on iOS,
|
|
5
|
+
* vibration motor on Android) for tactile responses to user actions.
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* The type of haptic feedback to trigger.
|
|
11
|
+
*
|
|
12
|
+
* - `success` — Indicates a successful action (e.g., payment confirmed)
|
|
13
|
+
* - `error` — Indicates a failure (e.g., transaction declined)
|
|
14
|
+
* - `warning` — Indicates a cautionary state (e.g., low balance)
|
|
15
|
+
* - `impact` — A physical impact feel (e.g., button press, drag snap)
|
|
16
|
+
* - `selection` — A light tick for selection changes (e.g., picker scroll)
|
|
17
|
+
*/
|
|
18
|
+
export type HapticType = 'success' | 'error' | 'warning' | 'impact' | 'selection';
|
|
19
|
+
/**
|
|
20
|
+
* Triggers a haptic vibration on the device.
|
|
21
|
+
*
|
|
22
|
+
* @param type - The type of haptic feedback. Defaults to "impact" if not specified.
|
|
23
|
+
* @returns A Promise that resolves when the haptic has been triggered.
|
|
24
|
+
* @throws Error if the capability is not supported.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```typescript
|
|
28
|
+
* // On successful payment
|
|
29
|
+
* await haptics.vibrate('success');
|
|
30
|
+
*
|
|
31
|
+
* // On form validation error
|
|
32
|
+
* await haptics.vibrate('error');
|
|
33
|
+
*
|
|
34
|
+
* // On picker value change
|
|
35
|
+
* await haptics.vibrate('selection');
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare function vibrate(type?: HapticType): Promise<void>;
|
|
39
|
+
/**
|
|
40
|
+
* Checks if the haptics capability is supported by the host.
|
|
41
|
+
*/
|
|
42
|
+
export declare function isSupported(): boolean;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
export * as authentication from './authentication';
|
|
2
|
+
export { ChannelType, DialogDimension, FrameContexts, HostClientType, HostName, RenderingSurfaces, TaskModuleDimension, TeamType, UserTeamRole, } from './constants';
|
|
3
|
+
export { ActionInfo, ActionObjectType, AdaptiveCardVersion, AdaptiveCardDialogInfo, AppState, BaseActionObject, BotAdaptiveCardDialogInfo, BotUrlDialogInfo, Context, DeepLinkParameters, DialogInfo, DialogSize, EduType, ErrorCode, FileOpenPreference, FrameContext, FrameInfo, HostMemoryMetrics, HostToAppFrameMemoryMetrics, HostToAppPerformanceMetrics, LoadContext, LocaleInfo, M365ContentAction, ResumeContext, SdkError, SecondaryId, SecondaryM365ContentIdName, ShareDeepLinkParameters, TabInformation, TabInstance, TabInstanceParameters, TaskInfo, TeamInformation, UrlDialogInfo, } from './interfaces';
|
|
4
|
+
export * as app from './app/app';
|
|
5
|
+
export { AppId } from './appId';
|
|
6
|
+
export * as appPerformanceMetrics from './appPerformanceMetrics';
|
|
7
|
+
export { EmailAddress } from './emailAddress';
|
|
8
|
+
export * as appInstallDialog from './appInstallDialog';
|
|
9
|
+
export * as barCode from './barCode';
|
|
10
|
+
export * as chat from './chat';
|
|
11
|
+
export { OpenGroupChatRequest, OpenSingleChatRequest } from './chat';
|
|
12
|
+
export * as clipboard from './clipboard';
|
|
13
|
+
export * as dialog from './dialog/dialog';
|
|
14
|
+
export { activateChildProxyingCommunication, getCurrentFeatureFlagsState, overwriteFeatureFlagsState, RuntimeFeatureFlags, setFeatureFlagsState, } from './featureFlags';
|
|
15
|
+
export * as nestedAppAuth from './nestedAppAuth';
|
|
16
|
+
export * as geoLocation from './geoLocation/geoLocation';
|
|
17
|
+
export { getAdaptiveCardSchemaVersion } from './adaptiveCards';
|
|
18
|
+
export * as pages from './pages/pages';
|
|
19
|
+
export { addEventListnerFunctionType, ChildAppWindow, IAppWindow, onCompleteFunctionType, ParentAppWindow, } from './appWindow';
|
|
20
|
+
export * as menus from './menus';
|
|
21
|
+
export * as media from './media';
|
|
22
|
+
export * as secondaryBrowser from './secondaryBrowser';
|
|
23
|
+
export * as location from './location';
|
|
24
|
+
export * as meeting from './meeting/meeting';
|
|
25
|
+
export * as monetization from './monetization';
|
|
26
|
+
export * as calendar from './calendar';
|
|
27
|
+
export * as mail from './mail/mail';
|
|
28
|
+
export * as teamsCore from './teamsAPIs';
|
|
29
|
+
export * as people from './people';
|
|
30
|
+
export * as profile from './profile';
|
|
31
|
+
export * as videoEffects from './videoEffects';
|
|
32
|
+
export * as search from './search';
|
|
33
|
+
export * as sharing from './sharing/sharing';
|
|
34
|
+
export * as stageView from './stageView/stageView';
|
|
35
|
+
export { ValidatedSafeString } from './validatedSafeString';
|
|
36
|
+
export { version } from './version';
|
|
37
|
+
export * as visualMedia from './visualMedia/visualMedia';
|
|
38
|
+
export * as webStorage from './webStorage';
|
|
39
|
+
export * as offlineStorage from './offlineStorage/offlineStorage';
|
|
40
|
+
export * as security from './security';
|
|
41
|
+
export * as connectivity from './connectivity';
|
|
42
|
+
export * as haptics from './haptics';
|
|
43
|
+
export * as badge from './badge';
|
|
44
|
+
export * as externalApp from './externalApp';
|
|
45
|
+
export * as call from './call';
|
|
46
|
+
export * as appInitialization from './appInitialization';
|
|
47
|
+
export * as thirdPartyCloudStorage from './thirdPartyCloudStorage';
|
|
48
|
+
export { callbackFunctionType, enablePrintCapability, executeDeepLink, executeDeepLinkOnCompleteFunctionType, getContext, getContextCallbackFunctionType, getMruTabInstances, getTabInstances, getTabInstancesCallbackFunctionType, initialize, initializeWithFrameContext, print, registerAppButtonClickHandler, registerAppButtonHoverEnterHandler, registerAppButtonHoverLeaveHandler, registerBackButtonHandler, registerBackButtonHandlerFunctionType, registerBeforeUnloadHandler, registerChangeSettingsHandler, registerFocusEnterHandler, registerFullScreenHandler, registerFullScreenHandlerFunctionType, registerOnLoadHandler, registerOnThemeChangeHandler, registerOnThemeChangeHandlerFunctionType, setFrameContext, shareDeepLink, } from './publicAPIs';
|
|
49
|
+
export { navigateBack, navigateCrossDomain, navigateToTab, onCompleteHandlerFunctionType, returnFocus, } from './navigation';
|
|
50
|
+
export { UUID } from './uuidObject';
|
|
51
|
+
export * as settings from './settings';
|
|
52
|
+
export * as tasks from './tasks';
|
|
53
|
+
export * as liveShare from './liveShareHost';
|
|
54
|
+
export { LiveShareHost } from './liveShareHost';
|
|
55
|
+
export * as marketplace from './marketplace';
|
|
56
|
+
export { ISerializable } from './serializable.interface';
|
|
57
|
+
export * as shortcutRelay from './shortcutRelay';
|