@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.
Files changed (328) hide show
  1. package/LICENSE +12 -0
  2. package/README.md +78 -0
  3. package/dist/esm/_virtual/_polyfill-node.buffer.js +1 -0
  4. package/dist/esm/_virtual/_polyfill-node.global.js +1 -0
  5. package/dist/esm/_virtual/browser.js +1 -0
  6. 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
  7. package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/browser.js +1 -0
  8. package/dist/esm/node_modules/.pnpm/debug@4.3.5/node_modules/debug/src/common.js +1 -0
  9. package/dist/esm/node_modules/.pnpm/ms@2.1.2/node_modules/ms/index.js +1 -0
  10. package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/native.js +1 -0
  11. package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/regex.js +1 -0
  12. package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/rng.js +1 -0
  13. package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/stringify.js +1 -0
  14. package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/v4.js +1 -0
  15. package/dist/esm/node_modules/.pnpm/uuid@11.1.1/node_modules/uuid/dist/esm-browser/validate.js +1 -0
  16. package/dist/esm/packages/teams-js/dts/index.d.ts +2 -0
  17. package/dist/esm/packages/teams-js/dts/internal/VideoFrameTypes.d.ts +78 -0
  18. package/dist/esm/packages/teams-js/dts/internal/appHelpers.d.ts +19 -0
  19. package/dist/esm/packages/teams-js/dts/internal/childCommunication.d.ts +38 -0
  20. package/dist/esm/packages/teams-js/dts/internal/communication.d.ts +151 -0
  21. package/dist/esm/packages/teams-js/dts/internal/communicationUtils.d.ts +20 -0
  22. package/dist/esm/packages/teams-js/dts/internal/constants.d.ts +146 -0
  23. package/dist/esm/packages/teams-js/dts/internal/deepLinkConstants.d.ts +26 -0
  24. package/dist/esm/packages/teams-js/dts/internal/deepLinkUtilities.d.ts +4 -0
  25. package/dist/esm/packages/teams-js/dts/internal/dialogHelpers.d.ts +32 -0
  26. package/dist/esm/packages/teams-js/dts/internal/emailAddressValidation.d.ts +1 -0
  27. package/dist/esm/packages/teams-js/dts/internal/globalVars.d.ts +13 -0
  28. package/dist/esm/packages/teams-js/dts/internal/handlers.d.ts +101 -0
  29. package/dist/esm/packages/teams-js/dts/internal/hostToAppTelemetry.d.ts +51 -0
  30. package/dist/esm/packages/teams-js/dts/internal/idValidation.d.ts +37 -0
  31. package/dist/esm/packages/teams-js/dts/internal/interfaces.d.ts +58 -0
  32. package/dist/esm/packages/teams-js/dts/internal/internalAPIs.d.ts +61 -0
  33. package/dist/esm/packages/teams-js/dts/internal/marketplaceUtils.d.ts +94 -0
  34. package/dist/esm/packages/teams-js/dts/internal/mediaUtil.d.ts +95 -0
  35. package/dist/esm/packages/teams-js/dts/internal/messageObjects.d.ts +80 -0
  36. package/dist/esm/packages/teams-js/dts/internal/nestedAppAuthUtils.d.ts +107 -0
  37. package/dist/esm/packages/teams-js/dts/internal/pagesHelpers.d.ts +27 -0
  38. package/dist/esm/packages/teams-js/dts/internal/profileUtil.d.ts +33 -0
  39. package/dist/esm/packages/teams-js/dts/internal/responseHandler.d.ts +32 -0
  40. package/dist/esm/packages/teams-js/dts/internal/telemetry.d.ts +411 -0
  41. package/dist/esm/packages/teams-js/dts/internal/typeCheckUtilities.d.ts +1 -0
  42. package/dist/esm/packages/teams-js/dts/internal/urlPattern.d.ts +50 -0
  43. package/dist/esm/packages/teams-js/dts/internal/utils.d.ts +226 -0
  44. package/dist/esm/packages/teams-js/dts/internal/validOrigins.d.ts +13 -0
  45. package/dist/esm/packages/teams-js/dts/internal/videoEffectsUtils.d.ts +31 -0
  46. package/dist/esm/packages/teams-js/dts/internal/videoFrameTick.d.ts +10 -0
  47. package/dist/esm/packages/teams-js/dts/internal/videoPerformanceMonitor.d.ts +54 -0
  48. package/dist/esm/packages/teams-js/dts/internal/videoPerformanceStatistics.d.ts +49 -0
  49. package/dist/esm/packages/teams-js/dts/internal/visualMediaHelpers.d.ts +14 -0
  50. package/dist/esm/packages/teams-js/dts/internal/webStorageHelpers.d.ts +4 -0
  51. package/dist/esm/packages/teams-js/dts/private/appEntity.d.ts +89 -0
  52. package/dist/esm/packages/teams-js/dts/private/constants.d.ts +9 -0
  53. package/dist/esm/packages/teams-js/dts/private/conversations.d.ts +152 -0
  54. package/dist/esm/packages/teams-js/dts/private/copilot/copilot.d.ts +5 -0
  55. package/dist/esm/packages/teams-js/dts/private/copilot/customTelemetry.d.ts +33 -0
  56. package/dist/esm/packages/teams-js/dts/private/copilot/eligibility.d.ts +31 -0
  57. package/dist/esm/packages/teams-js/dts/private/copilot/sidePanel.d.ts +75 -0
  58. package/dist/esm/packages/teams-js/dts/private/copilot/sidePanelInterfaces.d.ts +522 -0
  59. package/dist/esm/packages/teams-js/dts/private/copilot/view.d.ts +21 -0
  60. package/dist/esm/packages/teams-js/dts/private/externalAppAuthentication.d.ts +472 -0
  61. package/dist/esm/packages/teams-js/dts/private/externalAppAuthenticationForCEA.d.ts +93 -0
  62. package/dist/esm/packages/teams-js/dts/private/externalAppCardActions.d.ts +111 -0
  63. package/dist/esm/packages/teams-js/dts/private/externalAppCardActionsForCEA.d.ts +48 -0
  64. package/dist/esm/packages/teams-js/dts/private/externalAppCardActionsForDA.d.ts +75 -0
  65. package/dist/esm/packages/teams-js/dts/private/externalAppCommands.d.ts +122 -0
  66. package/dist/esm/packages/teams-js/dts/private/externalAppErrorHandling.d.ts +19 -0
  67. package/dist/esm/packages/teams-js/dts/private/files.d.ts +766 -0
  68. package/dist/esm/packages/teams-js/dts/private/hostEntity/hostEntity.d.ts +50 -0
  69. package/dist/esm/packages/teams-js/dts/private/hostEntity/tab.d.ts +134 -0
  70. package/dist/esm/packages/teams-js/dts/private/index.d.ts +29 -0
  71. package/dist/esm/packages/teams-js/dts/private/interfaces.d.ts +290 -0
  72. package/dist/esm/packages/teams-js/dts/private/logs.d.ts +31 -0
  73. package/dist/esm/packages/teams-js/dts/private/meetingRoom.d.ts +208 -0
  74. package/dist/esm/packages/teams-js/dts/private/messageChannels/dataLayer.d.ts +39 -0
  75. package/dist/esm/packages/teams-js/dts/private/messageChannels/messageChannels.d.ts +28 -0
  76. package/dist/esm/packages/teams-js/dts/private/messageChannels/telemetry.d.ts +39 -0
  77. package/dist/esm/packages/teams-js/dts/private/nestedAppAuth/nestedAppAuthBridge.d.ts +32 -0
  78. package/dist/esm/packages/teams-js/dts/private/notifications.d.ts +32 -0
  79. package/dist/esm/packages/teams-js/dts/private/otherAppStateChange.d.ts +94 -0
  80. package/dist/esm/packages/teams-js/dts/private/plugins.d.ts +94 -0
  81. package/dist/esm/packages/teams-js/dts/private/privateAPIs.d.ts +94 -0
  82. package/dist/esm/packages/teams-js/dts/private/remoteCamera.d.ts +303 -0
  83. package/dist/esm/packages/teams-js/dts/private/store.d.ts +128 -0
  84. package/dist/esm/packages/teams-js/dts/private/teams/fullTrust/fullTrust.d.ts +31 -0
  85. package/dist/esm/packages/teams-js/dts/private/teams/fullTrust/joinedTeams.d.ts +30 -0
  86. package/dist/esm/packages/teams-js/dts/private/teams/teams.d.ts +63 -0
  87. package/dist/esm/packages/teams-js/dts/private/videoEffectsEx.d.ts +250 -0
  88. package/dist/esm/packages/teams-js/dts/private/widgetHosting/widgetContext.d.ts +121 -0
  89. package/dist/esm/packages/teams-js/dts/private/widgetHosting/widgetHosting.d.ts +101 -0
  90. package/dist/esm/packages/teams-js/dts/public/adaptiveCards.d.ts +6 -0
  91. package/dist/esm/packages/teams-js/dts/public/app/app.d.ts +648 -0
  92. package/dist/esm/packages/teams-js/dts/public/app/lifecycle.d.ts +41 -0
  93. package/dist/esm/packages/teams-js/dts/public/appId.d.ts +28 -0
  94. package/dist/esm/packages/teams-js/dts/public/appInitialization.d.ts +57 -0
  95. package/dist/esm/packages/teams-js/dts/public/appInstallDialog.d.ts +18 -0
  96. package/dist/esm/packages/teams-js/dts/public/appPerformanceMetrics.d.ts +24 -0
  97. package/dist/esm/packages/teams-js/dts/public/appWindow.d.ts +66 -0
  98. package/dist/esm/packages/teams-js/dts/public/authentication.d.ts +417 -0
  99. package/dist/esm/packages/teams-js/dts/public/badge.d.ts +42 -0
  100. package/dist/esm/packages/teams-js/dts/public/barCode.d.ts +54 -0
  101. package/dist/esm/packages/teams-js/dts/public/calendar.d.ts +41 -0
  102. package/dist/esm/packages/teams-js/dts/public/call.d.ts +54 -0
  103. package/dist/esm/packages/teams-js/dts/public/chat.d.ts +68 -0
  104. package/dist/esm/packages/teams-js/dts/public/clipboard.d.ts +35 -0
  105. package/dist/esm/packages/teams-js/dts/public/connectivity.d.ts +52 -0
  106. package/dist/esm/packages/teams-js/dts/public/constants.d.ts +203 -0
  107. package/dist/esm/packages/teams-js/dts/public/dialog/adaptiveCard/adaptiveCard.d.ts +22 -0
  108. package/dist/esm/packages/teams-js/dts/public/dialog/adaptiveCard/bot.d.ts +22 -0
  109. package/dist/esm/packages/teams-js/dts/public/dialog/dialog.d.ts +49 -0
  110. package/dist/esm/packages/teams-js/dts/public/dialog/update.d.ts +19 -0
  111. package/dist/esm/packages/teams-js/dts/public/dialog/url/bot.d.ts +25 -0
  112. package/dist/esm/packages/teams-js/dts/public/dialog/url/parentCommunication.d.ts +41 -0
  113. package/dist/esm/packages/teams-js/dts/public/dialog/url/url.d.ts +54 -0
  114. package/dist/esm/packages/teams-js/dts/public/emailAddress.d.ts +12 -0
  115. package/dist/esm/packages/teams-js/dts/public/externalApp.d.ts +130 -0
  116. package/dist/esm/packages/teams-js/dts/public/featureFlags.d.ts +44 -0
  117. package/dist/esm/packages/teams-js/dts/public/geoLocation/geoLocation.d.ts +68 -0
  118. package/dist/esm/packages/teams-js/dts/public/geoLocation/map.d.ts +33 -0
  119. package/dist/esm/packages/teams-js/dts/public/haptics.d.ts +42 -0
  120. package/dist/esm/packages/teams-js/dts/public/index.d.ts +57 -0
  121. package/dist/esm/packages/teams-js/dts/public/interfaces.d.ts +1321 -0
  122. package/dist/esm/packages/teams-js/dts/public/liveShareHost.d.ts +220 -0
  123. package/dist/esm/packages/teams-js/dts/public/location.d.ts +85 -0
  124. package/dist/esm/packages/teams-js/dts/public/mail/handoff.d.ts +48 -0
  125. package/dist/esm/packages/teams-js/dts/public/mail/mail.d.ts +97 -0
  126. package/dist/esm/packages/teams-js/dts/public/marketplace.d.ts +320 -0
  127. package/dist/esm/packages/teams-js/dts/public/media.d.ts +435 -0
  128. package/dist/esm/packages/teams-js/dts/public/meeting/appShareButton.d.ts +51 -0
  129. package/dist/esm/packages/teams-js/dts/public/meeting/meeting.d.ts +854 -0
  130. package/dist/esm/packages/teams-js/dts/public/menus.d.ts +187 -0
  131. package/dist/esm/packages/teams-js/dts/public/monetization.d.ts +64 -0
  132. package/dist/esm/packages/teams-js/dts/public/navigation.d.ts +46 -0
  133. package/dist/esm/packages/teams-js/dts/public/nestedAppAuth.d.ts +64 -0
  134. package/dist/esm/packages/teams-js/dts/public/offlineStorage/drafts.d.ts +104 -0
  135. package/dist/esm/packages/teams-js/dts/public/offlineStorage/inbox.d.ts +86 -0
  136. package/dist/esm/packages/teams-js/dts/public/offlineStorage/offlineStorage.d.ts +258 -0
  137. package/dist/esm/packages/teams-js/dts/public/offlineStorage/outbox.d.ts +112 -0
  138. package/dist/esm/packages/teams-js/dts/public/offlineStorage/sent.d.ts +69 -0
  139. package/dist/esm/packages/teams-js/dts/public/offlineStorage/sync.d.ts +183 -0
  140. package/dist/esm/packages/teams-js/dts/public/pages/appButton.d.ts +30 -0
  141. package/dist/esm/packages/teams-js/dts/public/pages/backStack.d.ts +44 -0
  142. package/dist/esm/packages/teams-js/dts/public/pages/config.d.ts +123 -0
  143. package/dist/esm/packages/teams-js/dts/public/pages/currentApp.d.ts +46 -0
  144. package/dist/esm/packages/teams-js/dts/public/pages/fullTrust.d.ts +33 -0
  145. package/dist/esm/packages/teams-js/dts/public/pages/pages.d.ts +253 -0
  146. package/dist/esm/packages/teams-js/dts/public/pages/tabs.d.ts +32 -0
  147. package/dist/esm/packages/teams-js/dts/public/people.d.ts +73 -0
  148. package/dist/esm/packages/teams-js/dts/public/profile.d.ts +105 -0
  149. package/dist/esm/packages/teams-js/dts/public/publicAPIs.d.ts +218 -0
  150. package/dist/esm/packages/teams-js/dts/public/runtime.d.ts +240 -0
  151. package/dist/esm/packages/teams-js/dts/public/search.d.ts +90 -0
  152. package/dist/esm/packages/teams-js/dts/public/secondaryBrowser.d.ts +31 -0
  153. package/dist/esm/packages/teams-js/dts/public/security.d.ts +83 -0
  154. package/dist/esm/packages/teams-js/dts/public/serializable.interface.d.ts +17 -0
  155. package/dist/esm/packages/teams-js/dts/public/settings.d.ts +102 -0
  156. package/dist/esm/packages/teams-js/dts/public/sharing/history.d.ts +47 -0
  157. package/dist/esm/packages/teams-js/dts/public/sharing/sharing.d.ts +93 -0
  158. package/dist/esm/packages/teams-js/dts/public/shortcutRelay.d.ts +53 -0
  159. package/dist/esm/packages/teams-js/dts/public/stageView/self.d.ts +23 -0
  160. package/dist/esm/packages/teams-js/dts/public/stageView/stageView.d.ts +81 -0
  161. package/dist/esm/packages/teams-js/dts/public/tasks.d.ts +52 -0
  162. package/dist/esm/packages/teams-js/dts/public/teamsAPIs.d.ts +79 -0
  163. package/dist/esm/packages/teams-js/dts/public/thirdPartyCloudStorage.d.ts +118 -0
  164. package/dist/esm/packages/teams-js/dts/public/uuidObject.d.ts +38 -0
  165. package/dist/esm/packages/teams-js/dts/public/validatedSafeString.d.ts +25 -0
  166. package/dist/esm/packages/teams-js/dts/public/version.d.ts +5 -0
  167. package/dist/esm/packages/teams-js/dts/public/videoEffects.d.ts +212 -0
  168. package/dist/esm/packages/teams-js/dts/public/visualMedia/image.d.ts +64 -0
  169. package/dist/esm/packages/teams-js/dts/public/visualMedia/visualMedia.d.ts +116 -0
  170. package/dist/esm/packages/teams-js/dts/public/webStorage.d.ts +25 -0
  171. package/dist/esm/packages/teams-js/src/artifactsForCDN/validDomains.json.js +1 -0
  172. package/dist/esm/packages/teams-js/src/index.js +1 -0
  173. package/dist/esm/packages/teams-js/src/internal/appHelpers.js +1 -0
  174. package/dist/esm/packages/teams-js/src/internal/childCommunication.js +1 -0
  175. package/dist/esm/packages/teams-js/src/internal/communication.js +1 -0
  176. package/dist/esm/packages/teams-js/src/internal/communicationUtils.js +1 -0
  177. package/dist/esm/packages/teams-js/src/internal/constants.js +1 -0
  178. package/dist/esm/packages/teams-js/src/internal/deepLinkConstants.js +1 -0
  179. package/dist/esm/packages/teams-js/src/internal/deepLinkUtilities.js +1 -0
  180. package/dist/esm/packages/teams-js/src/internal/dialogHelpers.js +1 -0
  181. package/dist/esm/packages/teams-js/src/internal/emailAddressValidation.js +1 -0
  182. package/dist/esm/packages/teams-js/src/internal/globalVars.js +1 -0
  183. package/dist/esm/packages/teams-js/src/internal/handlers.js +1 -0
  184. package/dist/esm/packages/teams-js/src/internal/hostToAppTelemetry.js +1 -0
  185. package/dist/esm/packages/teams-js/src/internal/idValidation.js +1 -0
  186. package/dist/esm/packages/teams-js/src/internal/internalAPIs.js +1 -0
  187. package/dist/esm/packages/teams-js/src/internal/marketplaceUtils.js +1 -0
  188. package/dist/esm/packages/teams-js/src/internal/mediaUtil.js +1 -0
  189. package/dist/esm/packages/teams-js/src/internal/messageObjects.js +1 -0
  190. package/dist/esm/packages/teams-js/src/internal/nestedAppAuthUtils.js +1 -0
  191. package/dist/esm/packages/teams-js/src/internal/pagesHelpers.js +1 -0
  192. package/dist/esm/packages/teams-js/src/internal/profileUtil.js +1 -0
  193. package/dist/esm/packages/teams-js/src/internal/responseHandler.js +1 -0
  194. package/dist/esm/packages/teams-js/src/internal/telemetry.js +1 -0
  195. package/dist/esm/packages/teams-js/src/internal/typeCheckUtilities.js +1 -0
  196. package/dist/esm/packages/teams-js/src/internal/urlPattern.js +1 -0
  197. package/dist/esm/packages/teams-js/src/internal/utils.js +1 -0
  198. package/dist/esm/packages/teams-js/src/internal/validOrigins.js +1 -0
  199. package/dist/esm/packages/teams-js/src/internal/videoEffectsUtils.js +1 -0
  200. package/dist/esm/packages/teams-js/src/internal/videoFrameTick.js +1 -0
  201. package/dist/esm/packages/teams-js/src/internal/videoPerformanceMonitor.js +1 -0
  202. package/dist/esm/packages/teams-js/src/internal/videoPerformanceStatistics.js +1 -0
  203. package/dist/esm/packages/teams-js/src/internal/visualMediaHelpers.js +1 -0
  204. package/dist/esm/packages/teams-js/src/internal/webStorageHelpers.js +1 -0
  205. package/dist/esm/packages/teams-js/src/private/appEntity.js +1 -0
  206. package/dist/esm/packages/teams-js/src/private/constants.js +1 -0
  207. package/dist/esm/packages/teams-js/src/private/conversations.js +1 -0
  208. package/dist/esm/packages/teams-js/src/private/copilot/copilot.js +1 -0
  209. package/dist/esm/packages/teams-js/src/private/copilot/customTelemetry.js +1 -0
  210. package/dist/esm/packages/teams-js/src/private/copilot/eligibility.js +1 -0
  211. package/dist/esm/packages/teams-js/src/private/copilot/sidePanel.js +1 -0
  212. package/dist/esm/packages/teams-js/src/private/copilot/sidePanelInterfaces.js +1 -0
  213. package/dist/esm/packages/teams-js/src/private/copilot/view.js +1 -0
  214. package/dist/esm/packages/teams-js/src/private/externalAppAuthentication.js +1 -0
  215. package/dist/esm/packages/teams-js/src/private/externalAppAuthenticationForCEA.js +1 -0
  216. package/dist/esm/packages/teams-js/src/private/externalAppCardActions.js +1 -0
  217. package/dist/esm/packages/teams-js/src/private/externalAppCardActionsForCEA.js +1 -0
  218. package/dist/esm/packages/teams-js/src/private/externalAppCardActionsForDA.js +1 -0
  219. package/dist/esm/packages/teams-js/src/private/externalAppCommands.js +1 -0
  220. package/dist/esm/packages/teams-js/src/private/externalAppErrorHandling.js +1 -0
  221. package/dist/esm/packages/teams-js/src/private/files.js +1 -0
  222. package/dist/esm/packages/teams-js/src/private/hostEntity/hostEntity.js +1 -0
  223. package/dist/esm/packages/teams-js/src/private/hostEntity/tab.js +1 -0
  224. package/dist/esm/packages/teams-js/src/private/interfaces.js +1 -0
  225. package/dist/esm/packages/teams-js/src/private/logs.js +1 -0
  226. package/dist/esm/packages/teams-js/src/private/meetingRoom.js +1 -0
  227. package/dist/esm/packages/teams-js/src/private/messageChannels/dataLayer.js +1 -0
  228. package/dist/esm/packages/teams-js/src/private/messageChannels/messageChannels.js +1 -0
  229. package/dist/esm/packages/teams-js/src/private/messageChannels/telemetry.js +1 -0
  230. package/dist/esm/packages/teams-js/src/private/nestedAppAuth/nestedAppAuthBridge.js +1 -0
  231. package/dist/esm/packages/teams-js/src/private/notifications.js +1 -0
  232. package/dist/esm/packages/teams-js/src/private/otherAppStateChange.js +1 -0
  233. package/dist/esm/packages/teams-js/src/private/plugins.js +1 -0
  234. package/dist/esm/packages/teams-js/src/private/privateAPIs.js +1 -0
  235. package/dist/esm/packages/teams-js/src/private/remoteCamera.js +1 -0
  236. package/dist/esm/packages/teams-js/src/private/store.js +1 -0
  237. package/dist/esm/packages/teams-js/src/private/teams/fullTrust/fullTrust.js +1 -0
  238. package/dist/esm/packages/teams-js/src/private/teams/fullTrust/joinedTeams.js +1 -0
  239. package/dist/esm/packages/teams-js/src/private/teams/teams.js +1 -0
  240. package/dist/esm/packages/teams-js/src/private/videoEffectsEx.js +1 -0
  241. package/dist/esm/packages/teams-js/src/private/widgetHosting/widgetHosting.js +1 -0
  242. package/dist/esm/packages/teams-js/src/public/adaptiveCards.js +1 -0
  243. package/dist/esm/packages/teams-js/src/public/app/app.js +1 -0
  244. package/dist/esm/packages/teams-js/src/public/app/lifecycle.js +1 -0
  245. package/dist/esm/packages/teams-js/src/public/appId.js +1 -0
  246. package/dist/esm/packages/teams-js/src/public/appInitialization.js +1 -0
  247. package/dist/esm/packages/teams-js/src/public/appInstallDialog.js +1 -0
  248. package/dist/esm/packages/teams-js/src/public/appPerformanceMetrics.js +1 -0
  249. package/dist/esm/packages/teams-js/src/public/appWindow.js +1 -0
  250. package/dist/esm/packages/teams-js/src/public/authentication.js +1 -0
  251. package/dist/esm/packages/teams-js/src/public/badge.js +1 -0
  252. package/dist/esm/packages/teams-js/src/public/barCode.js +1 -0
  253. package/dist/esm/packages/teams-js/src/public/calendar.js +1 -0
  254. package/dist/esm/packages/teams-js/src/public/call.js +1 -0
  255. package/dist/esm/packages/teams-js/src/public/chat.js +1 -0
  256. package/dist/esm/packages/teams-js/src/public/clipboard.js +1 -0
  257. package/dist/esm/packages/teams-js/src/public/connectivity.js +1 -0
  258. package/dist/esm/packages/teams-js/src/public/constants.js +1 -0
  259. package/dist/esm/packages/teams-js/src/public/dialog/adaptiveCard/adaptiveCard.js +1 -0
  260. package/dist/esm/packages/teams-js/src/public/dialog/adaptiveCard/bot.js +1 -0
  261. package/dist/esm/packages/teams-js/src/public/dialog/dialog.js +1 -0
  262. package/dist/esm/packages/teams-js/src/public/dialog/update.js +1 -0
  263. package/dist/esm/packages/teams-js/src/public/dialog/url/bot.js +1 -0
  264. package/dist/esm/packages/teams-js/src/public/dialog/url/parentCommunication.js +1 -0
  265. package/dist/esm/packages/teams-js/src/public/dialog/url/url.js +1 -0
  266. package/dist/esm/packages/teams-js/src/public/emailAddress.js +1 -0
  267. package/dist/esm/packages/teams-js/src/public/externalApp.js +1 -0
  268. package/dist/esm/packages/teams-js/src/public/featureFlags.js +1 -0
  269. package/dist/esm/packages/teams-js/src/public/geoLocation/geoLocation.js +1 -0
  270. package/dist/esm/packages/teams-js/src/public/geoLocation/map.js +1 -0
  271. package/dist/esm/packages/teams-js/src/public/haptics.js +1 -0
  272. package/dist/esm/packages/teams-js/src/public/interfaces.js +1 -0
  273. package/dist/esm/packages/teams-js/src/public/liveShareHost.js +1 -0
  274. package/dist/esm/packages/teams-js/src/public/location.js +1 -0
  275. package/dist/esm/packages/teams-js/src/public/mail/handoff.js +1 -0
  276. package/dist/esm/packages/teams-js/src/public/mail/mail.js +1 -0
  277. package/dist/esm/packages/teams-js/src/public/marketplace.js +1 -0
  278. package/dist/esm/packages/teams-js/src/public/media.js +1 -0
  279. package/dist/esm/packages/teams-js/src/public/meeting/appShareButton.js +1 -0
  280. package/dist/esm/packages/teams-js/src/public/meeting/meeting.js +1 -0
  281. package/dist/esm/packages/teams-js/src/public/menus.js +1 -0
  282. package/dist/esm/packages/teams-js/src/public/monetization.js +1 -0
  283. package/dist/esm/packages/teams-js/src/public/navigation.js +1 -0
  284. package/dist/esm/packages/teams-js/src/public/nestedAppAuth.js +1 -0
  285. package/dist/esm/packages/teams-js/src/public/offlineStorage/drafts.js +1 -0
  286. package/dist/esm/packages/teams-js/src/public/offlineStorage/inbox.js +1 -0
  287. package/dist/esm/packages/teams-js/src/public/offlineStorage/offlineStorage.js +1 -0
  288. package/dist/esm/packages/teams-js/src/public/offlineStorage/outbox.js +1 -0
  289. package/dist/esm/packages/teams-js/src/public/offlineStorage/sent.js +1 -0
  290. package/dist/esm/packages/teams-js/src/public/offlineStorage/sync.js +1 -0
  291. package/dist/esm/packages/teams-js/src/public/pages/appButton.js +1 -0
  292. package/dist/esm/packages/teams-js/src/public/pages/backStack.js +1 -0
  293. package/dist/esm/packages/teams-js/src/public/pages/config.js +1 -0
  294. package/dist/esm/packages/teams-js/src/public/pages/currentApp.js +1 -0
  295. package/dist/esm/packages/teams-js/src/public/pages/fullTrust.js +1 -0
  296. package/dist/esm/packages/teams-js/src/public/pages/pages.js +1 -0
  297. package/dist/esm/packages/teams-js/src/public/pages/tabs.js +1 -0
  298. package/dist/esm/packages/teams-js/src/public/people.js +1 -0
  299. package/dist/esm/packages/teams-js/src/public/profile.js +1 -0
  300. package/dist/esm/packages/teams-js/src/public/publicAPIs.js +1 -0
  301. package/dist/esm/packages/teams-js/src/public/runtime.js +1 -0
  302. package/dist/esm/packages/teams-js/src/public/search.js +1 -0
  303. package/dist/esm/packages/teams-js/src/public/secondaryBrowser.js +1 -0
  304. package/dist/esm/packages/teams-js/src/public/security.js +1 -0
  305. package/dist/esm/packages/teams-js/src/public/serializable.interface.js +1 -0
  306. package/dist/esm/packages/teams-js/src/public/settings.js +1 -0
  307. package/dist/esm/packages/teams-js/src/public/sharing/history.js +1 -0
  308. package/dist/esm/packages/teams-js/src/public/sharing/sharing.js +1 -0
  309. package/dist/esm/packages/teams-js/src/public/shortcutRelay.js +1 -0
  310. package/dist/esm/packages/teams-js/src/public/stageView/self.js +1 -0
  311. package/dist/esm/packages/teams-js/src/public/stageView/stageView.js +1 -0
  312. package/dist/esm/packages/teams-js/src/public/tasks.js +1 -0
  313. package/dist/esm/packages/teams-js/src/public/teamsAPIs.js +1 -0
  314. package/dist/esm/packages/teams-js/src/public/thirdPartyCloudStorage.js +1 -0
  315. package/dist/esm/packages/teams-js/src/public/uuidObject.js +1 -0
  316. package/dist/esm/packages/teams-js/src/public/validatedSafeString.js +1 -0
  317. package/dist/esm/packages/teams-js/src/public/version.js +1 -0
  318. package/dist/esm/packages/teams-js/src/public/videoEffects.js +1 -0
  319. package/dist/esm/packages/teams-js/src/public/visualMedia/image.js +1 -0
  320. package/dist/esm/packages/teams-js/src/public/visualMedia/visualMedia.js +1 -0
  321. package/dist/esm/packages/teams-js/src/public/webStorage.js +1 -0
  322. package/dist/umd/JevelinBridge-manifest.json +642 -0
  323. package/dist/umd/JevelinBridge.js +23119 -0
  324. package/dist/umd/JevelinBridge.js.map +1 -0
  325. package/dist/umd/JevelinBridge.min.js +3 -0
  326. package/dist/umd/JevelinBridge.min.js.LICENSE.txt +8 -0
  327. package/dist/umd/JevelinBridge.min.js.map +1 -0
  328. package/package.json +53 -0
@@ -0,0 +1,766 @@
1
+ /**
2
+ * @hidden
3
+ *
4
+ * Module to interact with the files specific part of the SDK.
5
+ *
6
+ * @internal
7
+ * Limited to Microsoft-internal use
8
+ *
9
+ * @module
10
+ */
11
+ import { FileOpenPreference, SdkError } from '../public/interfaces';
12
+ /**
13
+ * @hidden
14
+ *
15
+ * Cloud storage providers registered with Microsoft Teams
16
+ *
17
+ * @internal
18
+ * Limited to Microsoft-internal use
19
+ */
20
+ export declare enum CloudStorageProvider {
21
+ Dropbox = "DROPBOX",
22
+ Box = "BOX",
23
+ Sharefile = "SHAREFILE",
24
+ GoogleDrive = "GOOGLEDRIVE",
25
+ Egnyte = "EGNYTE",
26
+ SharePoint = "SharePoint"
27
+ }
28
+ interface IWopiThumbnail {
29
+ size: number;
30
+ url: string;
31
+ }
32
+ interface IWopiService {
33
+ name: string;
34
+ description: string;
35
+ thumbnails: IWopiThumbnail[];
36
+ }
37
+ /**
38
+ * @hidden
39
+ *
40
+ * External third-party cloud storages providers interface
41
+ *
42
+ * @internal
43
+ * Limited to Microsoft-internal use
44
+ */
45
+ export interface IExternalProvider extends IWopiService {
46
+ providerType: CloudStorageProviderType;
47
+ providerCode: CloudStorageProvider;
48
+ }
49
+ /**
50
+ * @hidden
51
+ *
52
+ * Cloud storage provider type enums
53
+ *
54
+ * @internal
55
+ * Limited to Microsoft-internal use
56
+ */
57
+ export declare enum CloudStorageProviderType {
58
+ Sharepoint = 0,
59
+ WopiIntegration = 1,
60
+ Google = 2,
61
+ OneDrive = 3,
62
+ Recent = 4,
63
+ Aggregate = 5,
64
+ FileSystem = 6,
65
+ Search = 7,
66
+ AllFiles = 8,
67
+ SharedWithMe = 9
68
+ }
69
+ /**
70
+ * @hidden
71
+ *
72
+ * Cloud storage folder interface
73
+ *
74
+ * @internal
75
+ * Limited to Microsoft-internal use
76
+ */
77
+ export interface CloudStorageFolder {
78
+ /**
79
+ * @hidden
80
+ * ID of the cloud storage folder
81
+ *
82
+ * @internal
83
+ * Limited to Microsoft-internal use
84
+ */
85
+ id: string;
86
+ /**
87
+ * @hidden
88
+ * Display Name/Title of the cloud storage folder
89
+ *
90
+ * @internal
91
+ * Limited to Microsoft-internal use
92
+ */
93
+ title: string;
94
+ /**
95
+ * @hidden
96
+ * ID of the cloud storage folder in the provider
97
+ *
98
+ * @internal
99
+ * Limited to Microsoft-internal use
100
+ */
101
+ folderId: string;
102
+ /**
103
+ * @hidden
104
+ * Type of the cloud storage folder provider integration
105
+ *
106
+ * @internal
107
+ * Limited to Microsoft-internal use
108
+ */
109
+ providerType: CloudStorageProviderType;
110
+ /**
111
+ * @hidden
112
+ * Code of the supported cloud storage folder provider
113
+ *
114
+ * @internal
115
+ * Limited to Microsoft-internal use
116
+ */
117
+ providerCode: CloudStorageProvider;
118
+ /**
119
+ * @hidden
120
+ * Display name of the owner of the cloud storage folder provider
121
+ *
122
+ * @internal
123
+ * Limited to Microsoft-internal use
124
+ */
125
+ ownerDisplayName: string;
126
+ /**
127
+ * @hidden
128
+ * Sharepoint specific siteURL of the folder
129
+ *
130
+ * @internal
131
+ * Limited to Microsoft-internal use
132
+ */
133
+ siteUrl?: string;
134
+ /**
135
+ * @hidden
136
+ * Sharepoint specific serverRelativeUrl of the folder
137
+ *
138
+ * @internal
139
+ * Limited to Microsoft-internal use
140
+ */
141
+ serverRelativeUrl?: string;
142
+ /**
143
+ * @hidden
144
+ * Sharepoint specific libraryType of the folder
145
+ *
146
+ * @internal
147
+ * Limited to Microsoft-internal use
148
+ */
149
+ libraryType?: string;
150
+ /**
151
+ * @hidden
152
+ * Sharepoint specific accessType of the folder
153
+ *
154
+ * @internal
155
+ * Limited to Microsoft-internal use
156
+ */
157
+ accessType?: string;
158
+ }
159
+ /**
160
+ * @hidden
161
+ *
162
+ * Cloud storage item interface
163
+ *
164
+ * @internal
165
+ * Limited to Microsoft-internal use
166
+ */
167
+ export interface CloudStorageFolderItem {
168
+ /**
169
+ * @hidden
170
+ * ID of the item in the provider
171
+ *
172
+ * @internal
173
+ * Limited to Microsoft-internal use
174
+ */
175
+ id: string;
176
+ /**
177
+ * @hidden
178
+ * Display name/title
179
+ *
180
+ * @internal
181
+ * Limited to Microsoft-internal use
182
+ */
183
+ title: string;
184
+ /**
185
+ * @hidden
186
+ * Key to differentiate files and subdirectory
187
+ *
188
+ * @internal
189
+ * Limited to Microsoft-internal use
190
+ */
191
+ isSubdirectory: boolean;
192
+ /**
193
+ * @hidden
194
+ * File extension
195
+ *
196
+ * @internal
197
+ * Limited to Microsoft-internal use
198
+ */
199
+ type: string;
200
+ /**
201
+ * @hidden
202
+ * Last modifed time of the item
203
+ *
204
+ * @internal
205
+ * Limited to Microsoft-internal use
206
+ */
207
+ lastModifiedTime: string;
208
+ /**
209
+ * @hidden
210
+ * Display size of the items in bytes
211
+ *
212
+ * @internal
213
+ * Limited to Microsoft-internal use
214
+ */
215
+ size: number;
216
+ /**
217
+ * @hidden
218
+ * URL of the file
219
+ *
220
+ * @internal
221
+ * Limited to Microsoft-internal use
222
+ */
223
+ objectUrl: string;
224
+ /**
225
+ * @hidden
226
+ * Temporary access token for the item
227
+ *
228
+ * @internal
229
+ * Limited to Microsoft-internal use
230
+ */
231
+ accessToken?: string;
232
+ }
233
+ /**
234
+ * @hidden
235
+ *
236
+ * Files entity user interface
237
+ *
238
+ * @internal
239
+ * Limited to Microsoft-internal use
240
+ */
241
+ export interface IFilesEntityUser {
242
+ /**
243
+ * @hidden
244
+ * User name.
245
+ *
246
+ * @internal
247
+ * Limited to Microsoft-internal use
248
+ */
249
+ displayName: string;
250
+ /**
251
+ * @hidden
252
+ * User email.
253
+ *
254
+ * @internal
255
+ * Limited to Microsoft-internal use
256
+ */
257
+ email: string;
258
+ /**
259
+ * @hidden
260
+ * User MRI.
261
+ *
262
+ * @internal
263
+ * Limited to Microsoft-internal use
264
+ */
265
+ mri: string;
266
+ }
267
+ /**
268
+ * @hidden
269
+ *
270
+ * Special Document Library enum
271
+ *
272
+ * @internal
273
+ * Limited to Microsoft-internal use
274
+ */
275
+ export declare enum SpecialDocumentLibraryType {
276
+ ClassMaterials = "classMaterials"
277
+ }
278
+ /**
279
+ * @hidden
280
+ *
281
+ * Document Library Access enum
282
+ *
283
+ * @internal
284
+ * Limited to Microsoft-internal use
285
+ */
286
+ export declare enum DocumentLibraryAccessType {
287
+ Readonly = "readonly"
288
+ }
289
+ /**
290
+ * @hidden
291
+ *
292
+ * SharePoint file interface
293
+ *
294
+ * @internal
295
+ * Limited to Microsoft-internal use
296
+ */
297
+ export interface ISharePointFile {
298
+ siteId?: string;
299
+ siteUrl: string;
300
+ objectId: string;
301
+ objectUrl: string;
302
+ openInWindowFileUrl: string;
303
+ title: string;
304
+ isFolder: boolean;
305
+ serverRelativeUrl: string;
306
+ lastModifiedByUser: IFilesEntityUser;
307
+ lastModifiedTime: string;
308
+ sentByUser: IFilesEntityUser;
309
+ createdByUser: IFilesEntityUser;
310
+ createdTime: string;
311
+ size: number;
312
+ type: string;
313
+ spItemUrl?: string;
314
+ libraryType?: SpecialDocumentLibraryType;
315
+ accessType?: DocumentLibraryAccessType;
316
+ etag?: string;
317
+ remoteItem?: string;
318
+ listUrl?: string;
319
+ }
320
+ /**
321
+ * @hidden
322
+ *
323
+ * Download status enum
324
+ *
325
+ * @internal
326
+ * Limited to Microsoft-internal use
327
+ */
328
+ export declare enum FileDownloadStatus {
329
+ Downloaded = "Downloaded",
330
+ Downloading = "Downloading",
331
+ Failed = "Failed"
332
+ }
333
+ /**
334
+ * @hidden
335
+ *
336
+ * Download Files interface
337
+ *
338
+ * @internal
339
+ * Limited to Microsoft-internal use
340
+ */
341
+ export interface IFileItem {
342
+ /**
343
+ * @hidden
344
+ * ID of the file metadata
345
+ *
346
+ * @internal
347
+ * Limited to Microsoft-internal use
348
+ */
349
+ objectId?: string;
350
+ /**
351
+ * @hidden
352
+ * Path of the file
353
+ *
354
+ * @internal
355
+ * Limited to Microsoft-internal use
356
+ */
357
+ path?: string;
358
+ /**
359
+ * @hidden
360
+ * Size of the file in bytes
361
+ *
362
+ * @internal
363
+ * Limited to Microsoft-internal use
364
+ */
365
+ sizeInBytes?: number;
366
+ /**
367
+ * @hidden
368
+ * Download status
369
+ *
370
+ * @internal
371
+ * Limited to Microsoft-internal use
372
+ */
373
+ status?: FileDownloadStatus;
374
+ /**
375
+ * @hidden
376
+ * Download timestamp
377
+ *
378
+ * @internal
379
+ * Limited to Microsoft-internal use
380
+ */
381
+ timestamp: Date;
382
+ /**
383
+ * @hidden
384
+ * File name
385
+ *
386
+ * @internal
387
+ * Limited to Microsoft-internal use
388
+ */
389
+ title: string;
390
+ /**
391
+ * @hidden
392
+ * Type of file i.e. the file extension.
393
+ *
394
+ * @internal
395
+ * Limited to Microsoft-internal use
396
+ */
397
+ extension: string;
398
+ }
399
+ /**
400
+ * @hidden
401
+ * Object used to represent a file
402
+ * @beta
403
+ *
404
+ * @internal
405
+ * Limited to Microsoft-internal use
406
+ */
407
+ export interface File extends Blob {
408
+ /**
409
+ * A number that represents the number of milliseconds since the Unix epoch
410
+ */
411
+ lastModified: number;
412
+ /**
413
+ * Name of the file
414
+ */
415
+ name: string;
416
+ /**
417
+ * A string containing the path of the file relative to the ancestor directory the user selected
418
+ */
419
+ webkitRelativePath?: string;
420
+ }
421
+ /**
422
+ * @hidden
423
+ * Hide from docs
424
+ *
425
+ * Actions specific to 3P cloud storage provider file and / or account
426
+ *
427
+ * @internal
428
+ * Limited to Microsoft-internal use
429
+ */
430
+ export declare enum CloudStorageProviderFileAction {
431
+ Download = "DOWNLOAD",
432
+ Upload = "UPLOAD",
433
+ Delete = "DELETE"
434
+ }
435
+ /**
436
+ * @hidden
437
+ * Hide from docs
438
+ *
439
+ * Interface for 3P cloud storage provider request content type
440
+ *
441
+ * @internal
442
+ * Limited to Microsoft-internal use
443
+ */
444
+ export interface CloudStorageProviderRequest<T> {
445
+ content: T;
446
+ }
447
+ /**
448
+ * @hidden
449
+ * Hide from docs
450
+ *
451
+ * Base interface for 3P cloud storage provider action request content
452
+ *
453
+ * @internal
454
+ * Limited to Microsoft-internal use
455
+ */
456
+ export interface CloudStorageProviderContent {
457
+ providerCode: CloudStorageProvider;
458
+ }
459
+ /**
460
+ * @hidden
461
+ * Hide from docs
462
+ *
463
+ * Interface representing 3P cloud storage provider add new file action.
464
+ * The file extension represents type of file e.g. docx, pptx etc. and need not be prefixed with dot(.)
465
+ *
466
+ * @internal
467
+ * Limited to Microsoft-internal use
468
+ */
469
+ export interface CloudStorageProviderNewFileContent extends CloudStorageProviderContent {
470
+ newFileName: string;
471
+ newFileExtension: string;
472
+ destinationFolder: CloudStorageFolderItem | ISharePointFile;
473
+ }
474
+ /**
475
+ * @hidden
476
+ * Hide from docs
477
+ *
478
+ * Interface representing 3P cloud storage provider rename existing file action
479
+ *
480
+ * @internal
481
+ * Limited to Microsoft-internal use
482
+ */
483
+ export interface CloudStorageProviderRenameFileContent extends CloudStorageProviderContent {
484
+ existingFile: CloudStorageFolderItem | ISharePointFile;
485
+ newFile: CloudStorageFolderItem | ISharePointFile;
486
+ }
487
+ /**
488
+ * @hidden
489
+ * Hide from docs
490
+ *
491
+ * Interface representing 3P cloud storage provider delete existing file(s) action
492
+ *
493
+ * @internal
494
+ * Limited to Microsoft-internal use
495
+ */
496
+ export interface CloudStorageProviderDeleteFileContent extends CloudStorageProviderContent {
497
+ itemList: CloudStorageFolderItem[] | ISharePointFile[];
498
+ }
499
+ /**
500
+ * @hidden
501
+ * Hide from docs
502
+ *
503
+ * Interface representing 3P cloud storage provider download existing file(s) action
504
+ *
505
+ * @internal
506
+ * Limited to Microsoft-internal use
507
+ */
508
+ export interface CloudStorageProviderDownloadFileContent extends CloudStorageProviderContent {
509
+ itemList: CloudStorageFolderItem[] | ISharePointFile[];
510
+ }
511
+ /**
512
+ * @hidden
513
+ * Hide from docs
514
+ * @beta
515
+ *
516
+ * Interface representing 3P cloud storage provider upload existing file(s) action
517
+ *
518
+ * @internal
519
+ * Limited to Microsoft-internal use
520
+ */
521
+ export interface CloudStorageProviderUploadFileContent extends CloudStorageProviderContent {
522
+ itemList: File[];
523
+ destinationFolder: CloudStorageFolderItem | ISharePointFile;
524
+ }
525
+ /**
526
+ * @hidden
527
+ * Hide from docs
528
+ *
529
+ * Gets a list of cloud storage folders added to the channel. This function will not timeout;
530
+ * the callback will only return when the host responds with a list of folders or error.
531
+ *
532
+ * @param channelId - ID of the channel whose cloud storage folders should be retrieved
533
+ * @param callback - Callback that will be triggered post folders load
534
+ *
535
+ * @internal
536
+ * Limited to Microsoft-internal use
537
+ */
538
+ export declare function getCloudStorageFolders(channelId: string, callback: (error: SdkError, folders: CloudStorageFolder[]) => void): void;
539
+ /**
540
+ * @hidden
541
+ * Hide from docs
542
+ * ------
543
+ * Initiates the add cloud storage folder flow
544
+ *
545
+ * @param channelId - ID of the channel to add cloud storage folder
546
+ * @param callback - Callback that will be triggered post add folder flow is compelete
547
+ *
548
+ * @internal
549
+ * Limited to Microsoft-internal use
550
+ */
551
+ export declare function addCloudStorageFolder(channelId: string, callback: (error: SdkError, isFolderAdded: boolean, folders: CloudStorageFolder[]) => void): void;
552
+ /**
553
+ * @hidden
554
+ * Hide from docs
555
+ * ------
556
+ *
557
+ * Deletes a cloud storage folder from channel
558
+ *
559
+ * @param channelId - ID of the channel where folder is to be deleted
560
+ * @param folderToDelete - cloud storage folder to be deleted
561
+ * @param callback - Callback that will be triggered post delete
562
+ *
563
+ * @internal
564
+ * Limited to Microsoft-internal use
565
+ */
566
+ export declare function deleteCloudStorageFolder(channelId: string, folderToDelete: CloudStorageFolder, callback: (error: SdkError, isFolderDeleted: boolean) => void): void;
567
+ /**
568
+ * @hidden
569
+ * Hide from docs
570
+ * ------
571
+ *
572
+ * Fetches the contents of a Cloud storage folder (CloudStorageFolder) / sub directory
573
+ *
574
+ * @param folder - Cloud storage folder (CloudStorageFolder) / sub directory (CloudStorageFolderItem)
575
+ * @param providerCode - Code of the cloud storage folder provider
576
+ * @param callback - Callback that will be triggered post contents are loaded
577
+ *
578
+ * @internal
579
+ * Limited to Microsoft-internal use
580
+ */
581
+ export declare function getCloudStorageFolderContents(folder: CloudStorageFolder | CloudStorageFolderItem, providerCode: CloudStorageProvider, callback: (error: SdkError, items: CloudStorageFolderItem[]) => void): void;
582
+ /**
583
+ * @hidden
584
+ * Hide from docs
585
+ * ------
586
+ *
587
+ * Open a cloud storage file in Teams
588
+ *
589
+ * @param file - cloud storage file that should be opened
590
+ * @param providerCode - Code of the cloud storage folder provider
591
+ * @param fileOpenPreference - Whether file should be opened in web/inline
592
+ *
593
+ * @internal
594
+ * Limited to Microsoft-internal use
595
+ */
596
+ export declare function openCloudStorageFile(file: CloudStorageFolderItem, providerCode: CloudStorageProvider, fileOpenPreference?: FileOpenPreference.Web | FileOpenPreference.Inline): void;
597
+ /**
598
+ * @hidden
599
+ * Allow 1st party apps to call this function to get the external
600
+ * third party cloud storage accounts that the tenant supports
601
+ * @param excludeAddedProviders: return a list of support third party
602
+ * cloud storages that hasn't been added yet.
603
+ *
604
+ * @internal
605
+ * Limited to Microsoft-internal use
606
+ */
607
+ export declare function getExternalProviders(excludeAddedProviders: boolean | undefined, callback: (error: SdkError, providers: IExternalProvider[]) => void): void;
608
+ /**
609
+ * @hidden
610
+ * Allow 1st party apps to call this function to move files
611
+ * among SharePoint and third party cloud storages.
612
+ *
613
+ * @internal
614
+ * Limited to Microsoft-internal use
615
+ */
616
+ export declare function copyMoveFiles(selectedFiles: CloudStorageFolderItem[] | ISharePointFile[], providerCode: CloudStorageProvider, destinationFolder: CloudStorageFolderItem | ISharePointFile, destinationProviderCode: CloudStorageProvider, isMove: boolean | undefined, callback: (error?: SdkError) => void): void;
617
+ /**
618
+ * @hidden
619
+ * Hide from docs
620
+ * ------
621
+ *
622
+ * Gets list of downloads for current user
623
+ * @param callback Callback that will be triggered post downloads load
624
+ *
625
+ * @internal
626
+ * Limited to Microsoft-internal use
627
+ */
628
+ export declare function getFileDownloads(callback: (error?: SdkError, files?: IFileItem[]) => void): void;
629
+ /**
630
+ * @hidden
631
+ * Hide from docs
632
+ *
633
+ * Open download preference folder if fileObjectId value is undefined else open folder containing the file with id fileObjectId
634
+ * @param fileObjectId - Id of the file whose containing folder should be opened
635
+ * @param callback Callback that will be triggered post open download folder/path
636
+ *
637
+ * @internal
638
+ * Limited to Microsoft-internal use
639
+ */
640
+ export declare function openDownloadFolder(fileObjectId: string | undefined, callback: (error?: SdkError) => void): void;
641
+ /**
642
+ * @hidden
643
+ * Hide from docs
644
+ *
645
+ * Initiates add 3P cloud storage provider flow, where a pop up window opens for user to select required
646
+ * 3P provider from the configured policy supported 3P provider list, following which user authentication
647
+ * for selected 3P provider is performed on success of which the selected 3P provider support is added for user
648
+ * @beta
649
+ *
650
+ * @param callback Callback that will be triggered post add 3P cloud storage provider action.
651
+ * If the error is encountered (and hence passed back), no provider value is sent back.
652
+ * For success scenarios, error value will be passed as null and a valid provider value is sent.
653
+ *
654
+ * @internal
655
+ * Limited to Microsoft-internal use
656
+ */
657
+ export declare function addCloudStorageProvider(callback: (error?: SdkError, provider?: CloudStorageProvider) => void): void;
658
+ /**
659
+ * @hidden
660
+ * Hide from docs
661
+ *
662
+ * Initiates signout of 3P cloud storage provider flow, which will remove the selected
663
+ * 3P cloud storage provider from the list of added providers. No other user input and / or action
664
+ * is required except the 3P cloud storage provider to signout from
665
+ *
666
+ * @param logoutRequest 3P cloud storage provider remove action request content
667
+ * @param callback Callback that will be triggered post signout of 3P cloud storage provider action
668
+ *
669
+ * @internal
670
+ * Limited to Microsoft-internal use
671
+ */
672
+ export declare function removeCloudStorageProvider(logoutRequest: CloudStorageProviderRequest<CloudStorageProviderContent>, callback: (error?: SdkError) => void): void;
673
+ /**
674
+ * @hidden
675
+ * Hide from docs
676
+ *
677
+ * Initiates the add 3P cloud storage file flow, which will add a new file for the given 3P provider
678
+ *
679
+ * @param addNewFileRequest 3P cloud storage provider add action request content
680
+ * @param callback Callback that will be triggered post adding a new file flow is finished
681
+ *
682
+ * @internal
683
+ * Limited to Microsoft-internal use
684
+ */
685
+ export declare function addCloudStorageProviderFile(addNewFileRequest: CloudStorageProviderRequest<CloudStorageProviderNewFileContent>, callback: (error?: SdkError, actionStatus?: boolean) => void): void;
686
+ /**
687
+ * @hidden
688
+ * Hide from docs
689
+ *
690
+ * Initiates the rename 3P cloud storage file flow, which will rename an existing file in the given 3P provider
691
+ *
692
+ * @param renameFileRequest 3P cloud storage provider rename action request content
693
+ * @param callback Callback that will be triggered post renaming an existing file flow is finished
694
+ *
695
+ * @internal
696
+ * Limited to Microsoft-internal use
697
+ */
698
+ export declare function renameCloudStorageProviderFile(renameFileRequest: CloudStorageProviderRequest<CloudStorageProviderRenameFileContent>, callback: (error?: SdkError, actionStatus?: boolean) => void): void;
699
+ /**
700
+ * @hidden
701
+ * Hide from docs
702
+ *
703
+ * Initiates the delete 3P cloud storage file(s) / folder (folder has to be empty) flow,
704
+ * which will delete existing file(s) / folder from the given 3P provider
705
+ *
706
+ * @param deleteFileRequest 3P cloud storage provider delete action request content
707
+ * @param callback Callback that will be triggered post deleting existing file(s) flow is finished
708
+ *
709
+ * @internal
710
+ * Limited to Microsoft-internal use
711
+ */
712
+ export declare function deleteCloudStorageProviderFile(deleteFileRequest: CloudStorageProviderRequest<CloudStorageProviderDeleteFileContent>, callback: (error?: SdkError, actionStatus?: boolean) => void): void;
713
+ /**
714
+ * @hidden
715
+ * Hide from docs
716
+ *
717
+ * Initiates the download 3P cloud storage file(s) flow,
718
+ * which will download existing file(s) from the given 3P provider in the teams client side without sharing any file info in the callback
719
+ *
720
+ * @param downloadFileRequest 3P cloud storage provider download file(s) action request content
721
+ * @param callback Callback that will be triggered post downloading existing file(s) flow is finished
722
+ *
723
+ * @internal
724
+ * Limited to Microsoft-internal use
725
+ */
726
+ export declare function downloadCloudStorageProviderFile(downloadFileRequest: CloudStorageProviderRequest<CloudStorageProviderDownloadFileContent>, callback: (error?: SdkError, actionStatus?: boolean) => void): void;
727
+ /**
728
+ * @hidden
729
+ * Hide from docs
730
+ *
731
+ * Initiates the upload 3P cloud storage file(s) flow, which will upload file(s) to the given 3P provider
732
+ * @beta
733
+ *
734
+ * @param uploadFileRequest 3P cloud storage provider upload file(s) action request content
735
+ * @param callback Callback that will be triggered post uploading file(s) flow is finished
736
+ *
737
+ * @internal
738
+ * Limited to Microsoft-internal use
739
+ */
740
+ export declare function uploadCloudStorageProviderFile(uploadFileRequest: CloudStorageProviderRequest<CloudStorageProviderUploadFileContent>, callback: (error?: SdkError, actionStatus?: boolean) => void): void;
741
+ /**
742
+ * @hidden
743
+ * Hide from docs
744
+ *
745
+ * Register a handler to be called when a user's 3P cloud storage provider list changes i.e.
746
+ * post adding / removing a 3P provider, list is updated
747
+ *
748
+ * @param handler - When 3P cloud storage provider list is updated this handler is called
749
+ *
750
+ * @internal Limited to Microsoft-internal use
751
+ */
752
+ export declare function registerCloudStorageProviderListChangeHandler(handler: () => void): void;
753
+ /**
754
+ * @hidden
755
+ * Hide from docs
756
+ *
757
+ * Register a handler to be called when a user's 3P cloud storage provider content changes i.e.
758
+ * when file(s) is/are added / renamed / deleted / uploaded, the list of files is updated
759
+ *
760
+ * @param handler - When 3P cloud storage provider content is updated this handler is called
761
+ *
762
+ * @internal
763
+ * Limited to Microsoft-internal use
764
+ */
765
+ export declare function registerCloudStorageProviderContentChangeHandler(handler: () => void): void;
766
+ export {};