@microsoft/teams.client 0.2.12 → 0.2.13

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 (458) hide show
  1. package/README.md +37 -37
  2. package/dist/app.d.mts +25 -4
  3. package/dist/app.d.ts +25 -4
  4. package/dist/app.js +44 -7
  5. package/dist/app.js.map +1 -1
  6. package/dist/app.mjs +44 -7
  7. package/dist/app.mjs.map +1 -1
  8. package/dist/graph-utils.d.mts +10 -0
  9. package/dist/graph-utils.d.ts +10 -0
  10. package/dist/graph-utils.js +50 -0
  11. package/dist/graph-utils.js.map +1 -0
  12. package/dist/graph-utils.mjs +27 -0
  13. package/dist/graph-utils.mjs.map +1 -0
  14. package/dist/index.d.mts +3 -53
  15. package/dist/index.d.ts +3 -53
  16. package/dist/index.js +3 -34
  17. package/dist/index.mjs +1 -4
  18. package/dist/msal-utils.d.mts +11 -1
  19. package/dist/msal-utils.d.ts +11 -1
  20. package/dist/msal-utils.js +14 -0
  21. package/dist/msal-utils.js.map +1 -1
  22. package/dist/msal-utils.mjs +14 -1
  23. package/dist/msal-utils.mjs.map +1 -1
  24. package/package.json +4 -2
  25. package/dist/context/app-host.d.mts +0 -25
  26. package/dist/context/app-host.d.ts +0 -25
  27. package/dist/context/app-host.js +0 -4
  28. package/dist/context/app-host.js.map +0 -1
  29. package/dist/context/app-host.mjs +0 -3
  30. package/dist/context/app-host.mjs.map +0 -1
  31. package/dist/context/app.d.mts +0 -69
  32. package/dist/context/app.d.ts +0 -69
  33. package/dist/context/app.js +0 -4
  34. package/dist/context/app.js.map +0 -1
  35. package/dist/context/app.mjs +0 -3
  36. package/dist/context/app.mjs.map +0 -1
  37. package/dist/context/channel.d.mts +0 -37
  38. package/dist/context/channel.d.ts +0 -37
  39. package/dist/context/channel.js +0 -4
  40. package/dist/context/channel.js.map +0 -1
  41. package/dist/context/channel.mjs +0 -3
  42. package/dist/context/channel.mjs.map +0 -1
  43. package/dist/context/chat.d.mts +0 -11
  44. package/dist/context/chat.d.ts +0 -11
  45. package/dist/context/chat.js +0 -4
  46. package/dist/context/chat.js.map +0 -1
  47. package/dist/context/chat.mjs +0 -3
  48. package/dist/context/chat.mjs.map +0 -1
  49. package/dist/context/index.d.mts +0 -74
  50. package/dist/context/index.d.ts +0 -74
  51. package/dist/context/index.js +0 -108
  52. package/dist/context/index.js.map +0 -1
  53. package/dist/context/index.mjs +0 -86
  54. package/dist/context/index.mjs.map +0 -1
  55. package/dist/context/meeting.d.mts +0 -11
  56. package/dist/context/meeting.d.ts +0 -11
  57. package/dist/context/meeting.js +0 -4
  58. package/dist/context/meeting.js.map +0 -1
  59. package/dist/context/meeting.mjs +0 -3
  60. package/dist/context/meeting.mjs.map +0 -1
  61. package/dist/context/page.d.mts +0 -40
  62. package/dist/context/page.d.ts +0 -40
  63. package/dist/context/page.js +0 -4
  64. package/dist/context/page.js.map +0 -1
  65. package/dist/context/page.mjs +0 -3
  66. package/dist/context/page.mjs.map +0 -1
  67. package/dist/context/share-point-site.d.mts +0 -31
  68. package/dist/context/share-point-site.d.ts +0 -31
  69. package/dist/context/share-point-site.js +0 -4
  70. package/dist/context/share-point-site.js.map +0 -1
  71. package/dist/context/share-point-site.mjs +0 -3
  72. package/dist/context/share-point-site.mjs.map +0 -1
  73. package/dist/context/team.d.mts +0 -42
  74. package/dist/context/team.d.ts +0 -42
  75. package/dist/context/team.js +0 -4
  76. package/dist/context/team.js.map +0 -1
  77. package/dist/context/team.mjs +0 -3
  78. package/dist/context/team.mjs.map +0 -1
  79. package/dist/context/tenant.d.mts +0 -20
  80. package/dist/context/tenant.d.ts +0 -20
  81. package/dist/context/tenant.js +0 -4
  82. package/dist/context/tenant.js.map +0 -1
  83. package/dist/context/tenant.mjs +0 -3
  84. package/dist/context/tenant.mjs.map +0 -1
  85. package/dist/context/user.d.mts +0 -63
  86. package/dist/context/user.d.ts +0 -63
  87. package/dist/context/user.js +0 -4
  88. package/dist/context/user.js.map +0 -1
  89. package/dist/context/user.mjs +0 -3
  90. package/dist/context/user.mjs.map +0 -1
  91. package/dist/index-5Ok-M8A0.d.ts +0 -13
  92. package/dist/index-7hUkxLxx.d.mts +0 -17
  93. package/dist/index-8IcDrPMv.d.ts +0 -70
  94. package/dist/index-D6kqtGPa.d.mts +0 -13
  95. package/dist/index-DJal_Cxb.d.mts +0 -70
  96. package/dist/index-DrTQ_GLN.d.mts +0 -21
  97. package/dist/index-DtE-Eb9L.d.ts +0 -17
  98. package/dist/index-_Hc8oq9_.d.ts +0 -21
  99. package/dist/window/client-error.d.mts +0 -10
  100. package/dist/window/client-error.d.ts +0 -10
  101. package/dist/window/client-error.js +0 -4
  102. package/dist/window/client-error.js.map +0 -1
  103. package/dist/window/client-error.mjs +0 -3
  104. package/dist/window/client-error.mjs.map +0 -1
  105. package/dist/window/clients/app-entity.d.mts +0 -12
  106. package/dist/window/clients/app-entity.d.ts +0 -12
  107. package/dist/window/clients/app-entity.js +0 -15
  108. package/dist/window/clients/app-entity.js.map +0 -1
  109. package/dist/window/clients/app-entity.mjs +0 -13
  110. package/dist/window/clients/app-entity.mjs.map +0 -1
  111. package/dist/window/clients/app-initialization.d.mts +0 -50
  112. package/dist/window/clients/app-initialization.d.ts +0 -50
  113. package/dist/window/clients/app-initialization.js +0 -24
  114. package/dist/window/clients/app-initialization.js.map +0 -1
  115. package/dist/window/clients/app-initialization.mjs +0 -22
  116. package/dist/window/clients/app-initialization.mjs.map +0 -1
  117. package/dist/window/clients/app-install-dialog.d.mts +0 -21
  118. package/dist/window/clients/app-install-dialog.d.ts +0 -21
  119. package/dist/window/clients/app-install-dialog.js +0 -22
  120. package/dist/window/clients/app-install-dialog.js.map +0 -1
  121. package/dist/window/clients/app-install-dialog.mjs +0 -20
  122. package/dist/window/clients/app-install-dialog.mjs.map +0 -1
  123. package/dist/window/clients/authentication.d.mts +0 -66
  124. package/dist/window/clients/authentication.d.ts +0 -66
  125. package/dist/window/clients/authentication.js +0 -47
  126. package/dist/window/clients/authentication.js.map +0 -1
  127. package/dist/window/clients/authentication.mjs +0 -45
  128. package/dist/window/clients/authentication.mjs.map +0 -1
  129. package/dist/window/clients/bar-code.d.mts +0 -13
  130. package/dist/window/clients/bar-code.d.ts +0 -13
  131. package/dist/window/clients/bar-code.js +0 -20
  132. package/dist/window/clients/bar-code.js.map +0 -1
  133. package/dist/window/clients/bar-code.mjs +0 -18
  134. package/dist/window/clients/bar-code.mjs.map +0 -1
  135. package/dist/window/clients/calendar.d.mts +0 -47
  136. package/dist/window/clients/calendar.d.ts +0 -47
  137. package/dist/window/clients/calendar.js +0 -18
  138. package/dist/window/clients/calendar.js.map +0 -1
  139. package/dist/window/clients/calendar.mjs +0 -16
  140. package/dist/window/clients/calendar.mjs.map +0 -1
  141. package/dist/window/clients/call.d.mts +0 -32
  142. package/dist/window/clients/call.d.ts +0 -32
  143. package/dist/window/clients/call.js +0 -16
  144. package/dist/window/clients/call.js.map +0 -1
  145. package/dist/window/clients/call.mjs +0 -14
  146. package/dist/window/clients/call.mjs.map +0 -1
  147. package/dist/window/clients/clipboard.d.mts +0 -26
  148. package/dist/window/clients/clipboard.d.ts +0 -26
  149. package/dist/window/clients/clipboard.js +0 -19
  150. package/dist/window/clients/clipboard.js.map +0 -1
  151. package/dist/window/clients/clipboard.mjs +0 -17
  152. package/dist/window/clients/clipboard.mjs.map +0 -1
  153. package/dist/window/clients/conversation.d.mts +0 -53
  154. package/dist/window/clients/conversation.d.ts +0 -53
  155. package/dist/window/clients/conversation.js +0 -25
  156. package/dist/window/clients/conversation.js.map +0 -1
  157. package/dist/window/clients/conversation.mjs +0 -23
  158. package/dist/window/clients/conversation.mjs.map +0 -1
  159. package/dist/window/clients/dialog.d.mts +0 -81
  160. package/dist/window/clients/dialog.d.ts +0 -81
  161. package/dist/window/clients/dialog.js +0 -37
  162. package/dist/window/clients/dialog.js.map +0 -1
  163. package/dist/window/clients/dialog.mjs +0 -35
  164. package/dist/window/clients/dialog.mjs.map +0 -1
  165. package/dist/window/clients/index.d.mts +0 -84
  166. package/dist/window/clients/index.d.ts +0 -84
  167. package/dist/window/clients/index.js +0 -159
  168. package/dist/window/clients/index.js.map +0 -1
  169. package/dist/window/clients/index.mjs +0 -87
  170. package/dist/window/clients/index.mjs.map +0 -1
  171. package/dist/window/clients/location.d.mts +0 -14
  172. package/dist/window/clients/location.d.ts +0 -14
  173. package/dist/window/clients/location.js +0 -22
  174. package/dist/window/clients/location.js.map +0 -1
  175. package/dist/window/clients/location.mjs +0 -20
  176. package/dist/window/clients/location.mjs.map +0 -1
  177. package/dist/window/clients/media.d.mts +0 -190
  178. package/dist/window/clients/media.d.ts +0 -190
  179. package/dist/window/clients/media.js +0 -75
  180. package/dist/window/clients/media.js.map +0 -1
  181. package/dist/window/clients/media.mjs +0 -68
  182. package/dist/window/clients/media.mjs.map +0 -1
  183. package/dist/window/clients/notification.d.mts +0 -17
  184. package/dist/window/clients/notification.d.ts +0 -17
  185. package/dist/window/clients/notification.js +0 -15
  186. package/dist/window/clients/notification.js.map +0 -1
  187. package/dist/window/clients/notification.mjs +0 -13
  188. package/dist/window/clients/notification.mjs.map +0 -1
  189. package/dist/window/clients/permission.d.mts +0 -14
  190. package/dist/window/clients/permission.d.ts +0 -14
  191. package/dist/window/clients/permission.js +0 -20
  192. package/dist/window/clients/permission.js.map +0 -1
  193. package/dist/window/clients/permission.mjs +0 -18
  194. package/dist/window/clients/permission.mjs.map +0 -1
  195. package/dist/window/index.d.mts +0 -59
  196. package/dist/window/index.d.ts +0 -59
  197. package/dist/window/index.js +0 -35
  198. package/dist/window/index.js.map +0 -1
  199. package/dist/window/index.mjs +0 -6
  200. package/dist/window/index.mjs.map +0 -1
  201. package/dist/window/message.d.mts +0 -24
  202. package/dist/window/message.d.ts +0 -24
  203. package/dist/window/message.js +0 -4
  204. package/dist/window/message.js.map +0 -1
  205. package/dist/window/message.mjs +0 -3
  206. package/dist/window/message.mjs.map +0 -1
  207. package/dist/window/runtime.d.mts +0 -96
  208. package/dist/window/runtime.d.ts +0 -96
  209. package/dist/window/runtime.js +0 -4
  210. package/dist/window/runtime.js.map +0 -1
  211. package/dist/window/runtime.mjs +0 -3
  212. package/dist/window/runtime.mjs.map +0 -1
  213. package/dist/window/types/action-open-url-type.d.mts +0 -15
  214. package/dist/window/types/action-open-url-type.d.ts +0 -15
  215. package/dist/window/types/action-open-url-type.js +0 -13
  216. package/dist/window/types/action-open-url-type.js.map +0 -1
  217. package/dist/window/types/action-open-url-type.mjs +0 -11
  218. package/dist/window/types/action-open-url-type.mjs.map +0 -1
  219. package/dist/window/types/app-eligibility-info.d.mts +0 -48
  220. package/dist/window/types/app-eligibility-info.d.ts +0 -48
  221. package/dist/window/types/app-eligibility-info.js +0 -4
  222. package/dist/window/types/app-eligibility-info.js.map +0 -1
  223. package/dist/window/types/app-eligibility-info.mjs +0 -3
  224. package/dist/window/types/app-eligibility-info.mjs.map +0 -1
  225. package/dist/window/types/bar-code-config.d.mts +0 -13
  226. package/dist/window/types/bar-code-config.d.ts +0 -13
  227. package/dist/window/types/bar-code-config.js +0 -4
  228. package/dist/window/types/bar-code-config.js.map +0 -1
  229. package/dist/window/types/bar-code-config.mjs +0 -3
  230. package/dist/window/types/bar-code-config.mjs.map +0 -1
  231. package/dist/window/types/call-modality.d.mts +0 -21
  232. package/dist/window/types/call-modality.d.ts +0 -21
  233. package/dist/window/types/call-modality.js +0 -14
  234. package/dist/window/types/call-modality.js.map +0 -1
  235. package/dist/window/types/call-modality.mjs +0 -12
  236. package/dist/window/types/call-modality.mjs.map +0 -1
  237. package/dist/window/types/channel-type.d.mts +0 -17
  238. package/dist/window/types/channel-type.d.ts +0 -17
  239. package/dist/window/types/channel-type.js +0 -12
  240. package/dist/window/types/channel-type.js.map +0 -1
  241. package/dist/window/types/channel-type.mjs +0 -10
  242. package/dist/window/types/channel-type.mjs.map +0 -1
  243. package/dist/window/types/context.d.mts +0 -275
  244. package/dist/window/types/context.d.ts +0 -275
  245. package/dist/window/types/context.js +0 -4
  246. package/dist/window/types/context.js.map +0 -1
  247. package/dist/window/types/context.mjs +0 -3
  248. package/dist/window/types/context.mjs.map +0 -1
  249. package/dist/window/types/data-residency.d.mts +0 -6
  250. package/dist/window/types/data-residency.d.ts +0 -6
  251. package/dist/window/types/data-residency.js +0 -4
  252. package/dist/window/types/data-residency.js.map +0 -1
  253. package/dist/window/types/data-residency.mjs +0 -3
  254. package/dist/window/types/data-residency.mjs.map +0 -1
  255. package/dist/window/types/dialog/dialog-dimension.d.mts +0 -17
  256. package/dist/window/types/dialog/dialog-dimension.d.ts +0 -17
  257. package/dist/window/types/dialog/dialog-dimension.js +0 -12
  258. package/dist/window/types/dialog/dialog-dimension.js.map +0 -1
  259. package/dist/window/types/dialog/dialog-dimension.mjs +0 -10
  260. package/dist/window/types/dialog/dialog-dimension.mjs.map +0 -1
  261. package/dist/window/types/dialog/dialog-info.d.mts +0 -43
  262. package/dist/window/types/dialog/dialog-info.d.ts +0 -43
  263. package/dist/window/types/dialog/dialog-info.js +0 -4
  264. package/dist/window/types/dialog/dialog-info.js.map +0 -1
  265. package/dist/window/types/dialog/dialog-info.mjs +0 -3
  266. package/dist/window/types/dialog/dialog-info.mjs.map +0 -1
  267. package/dist/window/types/dialog/dialog-size.d.mts +0 -14
  268. package/dist/window/types/dialog/dialog-size.d.ts +0 -14
  269. package/dist/window/types/dialog/dialog-size.js +0 -4
  270. package/dist/window/types/dialog/dialog-size.js.map +0 -1
  271. package/dist/window/types/dialog/dialog-size.mjs +0 -3
  272. package/dist/window/types/dialog/dialog-size.mjs.map +0 -1
  273. package/dist/window/types/dialog/index.d.mts +0 -3
  274. package/dist/window/types/dialog/index.d.ts +0 -3
  275. package/dist/window/types/dialog/index.js +0 -28
  276. package/dist/window/types/dialog/index.js.map +0 -1
  277. package/dist/window/types/dialog/index.mjs +0 -5
  278. package/dist/window/types/dialog/index.mjs.map +0 -1
  279. package/dist/window/types/file-open-preference.d.mts +0 -17
  280. package/dist/window/types/file-open-preference.d.ts +0 -17
  281. package/dist/window/types/file-open-preference.js +0 -12
  282. package/dist/window/types/file-open-preference.js.map +0 -1
  283. package/dist/window/types/file-open-preference.mjs +0 -10
  284. package/dist/window/types/file-open-preference.mjs.map +0 -1
  285. package/dist/window/types/file.d.mts +0 -42
  286. package/dist/window/types/file.d.ts +0 -42
  287. package/dist/window/types/file.js +0 -11
  288. package/dist/window/types/file.js.map +0 -1
  289. package/dist/window/types/file.mjs +0 -9
  290. package/dist/window/types/file.mjs.map +0 -1
  291. package/dist/window/types/frame-context.d.mts +0 -44
  292. package/dist/window/types/frame-context.d.ts +0 -44
  293. package/dist/window/types/frame-context.js +0 -17
  294. package/dist/window/types/frame-context.js.map +0 -1
  295. package/dist/window/types/frame-context.mjs +0 -15
  296. package/dist/window/types/frame-context.mjs.map +0 -1
  297. package/dist/window/types/host.d.mts +0 -73
  298. package/dist/window/types/host.d.ts +0 -73
  299. package/dist/window/types/host.js +0 -32
  300. package/dist/window/types/host.js.map +0 -1
  301. package/dist/window/types/host.mjs +0 -29
  302. package/dist/window/types/host.mjs.map +0 -1
  303. package/dist/window/types/index.d.mts +0 -39
  304. package/dist/window/types/index.d.ts +0 -39
  305. package/dist/window/types/index.js +0 -189
  306. package/dist/window/types/index.js.map +0 -1
  307. package/dist/window/types/index.mjs +0 -30
  308. package/dist/window/types/index.mjs.map +0 -1
  309. package/dist/window/types/legal-age-group-classification.d.mts +0 -34
  310. package/dist/window/types/legal-age-group-classification.d.ts +0 -34
  311. package/dist/window/types/legal-age-group-classification.js +0 -14
  312. package/dist/window/types/legal-age-group-classification.js.map +0 -1
  313. package/dist/window/types/legal-age-group-classification.mjs +0 -12
  314. package/dist/window/types/legal-age-group-classification.mjs.map +0 -1
  315. package/dist/window/types/liveshare/client.d.mts +0 -23
  316. package/dist/window/types/liveshare/client.d.ts +0 -23
  317. package/dist/window/types/liveshare/client.js +0 -4
  318. package/dist/window/types/liveshare/client.js.map +0 -1
  319. package/dist/window/types/liveshare/client.mjs +0 -3
  320. package/dist/window/types/liveshare/client.mjs.map +0 -1
  321. package/dist/window/types/liveshare/container-state.d.mts +0 -33
  322. package/dist/window/types/liveshare/container-state.d.ts +0 -33
  323. package/dist/window/types/liveshare/container-state.js +0 -13
  324. package/dist/window/types/liveshare/container-state.js.map +0 -1
  325. package/dist/window/types/liveshare/container-state.mjs +0 -11
  326. package/dist/window/types/liveshare/container-state.mjs.map +0 -1
  327. package/dist/window/types/liveshare/fluid-container.d.mts +0 -28
  328. package/dist/window/types/liveshare/fluid-container.d.ts +0 -28
  329. package/dist/window/types/liveshare/fluid-container.js +0 -4
  330. package/dist/window/types/liveshare/fluid-container.js.map +0 -1
  331. package/dist/window/types/liveshare/fluid-container.mjs +0 -3
  332. package/dist/window/types/liveshare/fluid-container.mjs.map +0 -1
  333. package/dist/window/types/liveshare/fluid-tenant.d.mts +0 -16
  334. package/dist/window/types/liveshare/fluid-tenant.d.ts +0 -16
  335. package/dist/window/types/liveshare/fluid-tenant.js +0 -4
  336. package/dist/window/types/liveshare/fluid-tenant.js.map +0 -1
  337. package/dist/window/types/liveshare/fluid-tenant.mjs +0 -3
  338. package/dist/window/types/liveshare/fluid-tenant.mjs.map +0 -1
  339. package/dist/window/types/liveshare/index.d.mts +0 -6
  340. package/dist/window/types/liveshare/index.d.ts +0 -6
  341. package/dist/window/types/liveshare/index.js +0 -42
  342. package/dist/window/types/liveshare/index.js.map +0 -1
  343. package/dist/window/types/liveshare/index.mjs +0 -7
  344. package/dist/window/types/liveshare/index.mjs.map +0 -1
  345. package/dist/window/types/liveshare/ntp-time.d.mts +0 -16
  346. package/dist/window/types/liveshare/ntp-time.d.ts +0 -16
  347. package/dist/window/types/liveshare/ntp-time.js +0 -4
  348. package/dist/window/types/liveshare/ntp-time.js.map +0 -1
  349. package/dist/window/types/liveshare/ntp-time.mjs +0 -3
  350. package/dist/window/types/liveshare/ntp-time.mjs.map +0 -1
  351. package/dist/window/types/locale.d.mts +0 -38
  352. package/dist/window/types/locale.d.ts +0 -38
  353. package/dist/window/types/locale.js +0 -4
  354. package/dist/window/types/locale.js.map +0 -1
  355. package/dist/window/types/locale.mjs +0 -3
  356. package/dist/window/types/locale.mjs.map +0 -1
  357. package/dist/window/types/location.d.mts +0 -25
  358. package/dist/window/types/location.d.ts +0 -25
  359. package/dist/window/types/location.js +0 -4
  360. package/dist/window/types/location.js.map +0 -1
  361. package/dist/window/types/location.mjs +0 -3
  362. package/dist/window/types/location.mjs.map +0 -1
  363. package/dist/window/types/marketplace/cart-info.d.mts +0 -47
  364. package/dist/window/types/marketplace/cart-info.d.ts +0 -47
  365. package/dist/window/types/marketplace/cart-info.js +0 -4
  366. package/dist/window/types/marketplace/cart-info.js.map +0 -1
  367. package/dist/window/types/marketplace/cart-info.mjs +0 -3
  368. package/dist/window/types/marketplace/cart-info.mjs.map +0 -1
  369. package/dist/window/types/marketplace/cart-item.d.mts +0 -40
  370. package/dist/window/types/marketplace/cart-item.d.ts +0 -40
  371. package/dist/window/types/marketplace/cart-item.js +0 -4
  372. package/dist/window/types/marketplace/cart-item.js.map +0 -1
  373. package/dist/window/types/marketplace/cart-item.mjs +0 -3
  374. package/dist/window/types/marketplace/cart-item.mjs.map +0 -1
  375. package/dist/window/types/marketplace/cart-status.d.mts +0 -33
  376. package/dist/window/types/marketplace/cart-status.d.ts +0 -33
  377. package/dist/window/types/marketplace/cart-status.js +0 -14
  378. package/dist/window/types/marketplace/cart-status.js.map +0 -1
  379. package/dist/window/types/marketplace/cart-status.mjs +0 -12
  380. package/dist/window/types/marketplace/cart-status.mjs.map +0 -1
  381. package/dist/window/types/marketplace/cart-version.d.mts +0 -17
  382. package/dist/window/types/marketplace/cart-version.d.ts +0 -17
  383. package/dist/window/types/marketplace/cart-version.js +0 -4
  384. package/dist/window/types/marketplace/cart-version.js.map +0 -1
  385. package/dist/window/types/marketplace/cart-version.mjs +0 -3
  386. package/dist/window/types/marketplace/cart-version.mjs.map +0 -1
  387. package/dist/window/types/marketplace/cart.d.mts +0 -29
  388. package/dist/window/types/marketplace/cart.d.ts +0 -29
  389. package/dist/window/types/marketplace/cart.js +0 -4
  390. package/dist/window/types/marketplace/cart.js.map +0 -1
  391. package/dist/window/types/marketplace/cart.mjs +0 -3
  392. package/dist/window/types/marketplace/cart.mjs.map +0 -1
  393. package/dist/window/types/marketplace/index.d.mts +0 -6
  394. package/dist/window/types/marketplace/index.d.ts +0 -6
  395. package/dist/window/types/marketplace/index.js +0 -49
  396. package/dist/window/types/marketplace/index.js.map +0 -1
  397. package/dist/window/types/marketplace/index.mjs +0 -8
  398. package/dist/window/types/marketplace/index.mjs.map +0 -1
  399. package/dist/window/types/marketplace/intent.d.mts +0 -23
  400. package/dist/window/types/marketplace/intent.d.ts +0 -23
  401. package/dist/window/types/marketplace/intent.js +0 -12
  402. package/dist/window/types/marketplace/intent.js.map +0 -1
  403. package/dist/window/types/marketplace/intent.mjs +0 -10
  404. package/dist/window/types/marketplace/intent.mjs.map +0 -1
  405. package/dist/window/types/notification-type.d.mts +0 -3
  406. package/dist/window/types/notification-type.d.ts +0 -3
  407. package/dist/window/types/notification-type.js +0 -4
  408. package/dist/window/types/notification-type.js.map +0 -1
  409. package/dist/window/types/notification-type.mjs +0 -3
  410. package/dist/window/types/notification-type.mjs.map +0 -1
  411. package/dist/window/types/permission.d.mts +0 -3
  412. package/dist/window/types/permission.d.ts +0 -3
  413. package/dist/window/types/permission.js +0 -4
  414. package/dist/window/types/permission.js.map +0 -1
  415. package/dist/window/types/permission.mjs +0 -3
  416. package/dist/window/types/permission.mjs.map +0 -1
  417. package/dist/window/types/team-type.d.mts +0 -24
  418. package/dist/window/types/team-type.d.ts +0 -24
  419. package/dist/window/types/team-type.js +0 -18
  420. package/dist/window/types/team-type.js.map +0 -1
  421. package/dist/window/types/team-type.mjs +0 -15
  422. package/dist/window/types/team-type.mjs.map +0 -1
  423. package/dist/window/types/theme.d.mts +0 -6
  424. package/dist/window/types/theme.d.ts +0 -6
  425. package/dist/window/types/theme.js +0 -4
  426. package/dist/window/types/theme.js.map +0 -1
  427. package/dist/window/types/theme.mjs +0 -3
  428. package/dist/window/types/theme.mjs.map +0 -1
  429. package/dist/window/types/thread-member.d.mts +0 -11
  430. package/dist/window/types/thread-member.d.ts +0 -11
  431. package/dist/window/types/thread-member.js +0 -4
  432. package/dist/window/types/thread-member.js.map +0 -1
  433. package/dist/window/types/thread-member.mjs +0 -3
  434. package/dist/window/types/thread-member.mjs.map +0 -1
  435. package/dist/window/types/user-meeting-role.d.mts +0 -31
  436. package/dist/window/types/user-meeting-role.d.ts +0 -31
  437. package/dist/window/types/user-meeting-role.js +0 -13
  438. package/dist/window/types/user-meeting-role.js.map +0 -1
  439. package/dist/window/types/user-meeting-role.mjs +0 -11
  440. package/dist/window/types/user-meeting-role.mjs.map +0 -1
  441. package/dist/window/types/user-profile.d.mts +0 -82
  442. package/dist/window/types/user-profile.d.ts +0 -82
  443. package/dist/window/types/user-profile.js +0 -4
  444. package/dist/window/types/user-profile.js.map +0 -1
  445. package/dist/window/types/user-profile.mjs +0 -3
  446. package/dist/window/types/user-profile.mjs.map +0 -1
  447. package/dist/window/types/user-team-role.d.mts +0 -18
  448. package/dist/window/types/user-team-role.d.ts +0 -18
  449. package/dist/window/types/user-team-role.js +0 -16
  450. package/dist/window/types/user-team-role.js.map +0 -1
  451. package/dist/window/types/user-team-role.mjs +0 -13
  452. package/dist/window/types/user-team-role.mjs.map +0 -1
  453. package/dist/window/window-client.d.mts +0 -28
  454. package/dist/window/window-client.d.ts +0 -28
  455. package/dist/window/window-client.js +0 -92
  456. package/dist/window/window-client.js.map +0 -1
  457. package/dist/window/window-client.mjs +0 -70
  458. package/dist/window/window-client.mjs.map +0 -1
@@ -1,37 +0,0 @@
1
- import { ChannelType } from '../window/types/channel-type.js';
2
-
3
- /**
4
- * Represents Channel information.
5
- */
6
- type ChannelContext = {
7
- /**
8
- * The Microsoft Teams ID for the channel with which the content is associated.
9
- */
10
- id: string;
11
- /**
12
- * The name for the channel with which the content is associated.
13
- */
14
- displayName?: string;
15
- /**
16
- * The relative path to the SharePoint folder associated with the channel.
17
- */
18
- relativeUrl?: string;
19
- /**
20
- * The type of the channel with which the content is associated.
21
- */
22
- membershipType?: ChannelType;
23
- /**
24
- * The OneNote section ID that is linked to the channel.
25
- */
26
- defaultOneNoteSectionId?: string;
27
- /**
28
- * The tenant ID of the team which owns the channel.
29
- */
30
- ownerTenantId?: string;
31
- /**
32
- * The Microsoft Entra group ID of the team which owns the channel.
33
- */
34
- ownerGroupId?: string;
35
- };
36
-
37
- export type { ChannelContext };
@@ -1,4 +0,0 @@
1
- 'use strict';
2
-
3
- //# sourceMappingURL=channel.js.map
4
- //# sourceMappingURL=channel.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"channel.js"}
@@ -1,3 +0,0 @@
1
-
2
- //# sourceMappingURL=channel.mjs.map
3
- //# sourceMappingURL=channel.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"channel.mjs"}
@@ -1,11 +0,0 @@
1
- /**
2
- * Represents Chat information.
3
- */
4
- type ChatContext = {
5
- /**
6
- * The Microsoft Teams ID for the chat with which the content is associated.
7
- */
8
- id: string;
9
- };
10
-
11
- export type { ChatContext };
@@ -1,11 +0,0 @@
1
- /**
2
- * Represents Chat information.
3
- */
4
- type ChatContext = {
5
- /**
6
- * The Microsoft Teams ID for the chat with which the content is associated.
7
- */
8
- id: string;
9
- };
10
-
11
- export type { ChatContext };
@@ -1,4 +0,0 @@
1
- 'use strict';
2
-
3
- //# sourceMappingURL=chat.js.map
4
- //# sourceMappingURL=chat.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"chat.js"}
@@ -1,3 +0,0 @@
1
-
2
- //# sourceMappingURL=chat.mjs.map
3
- //# sourceMappingURL=chat.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"chat.mjs"}
@@ -1,74 +0,0 @@
1
- import { Context as Context$1 } from '../window/types/context.mjs';
2
- import { AppContext } from './app.mjs';
3
- import { ChannelContext } from './channel.mjs';
4
- import { ChatContext } from './chat.mjs';
5
- import { MeetingContext } from './meeting.mjs';
6
- import { PageContext } from './page.mjs';
7
- import { SharePointSiteContext } from './share-point-site.mjs';
8
- import { TeamContext } from './team.mjs';
9
- import { UserContext } from './user.mjs';
10
- import '../window/types/channel-type.mjs';
11
- import '../window/types/file-open-preference.mjs';
12
- import '../window/types/frame-context.mjs';
13
- import '../window/types/host.mjs';
14
- import '../window/types/locale.mjs';
15
- import '../window/types/team-type.mjs';
16
- import '../window/types/theme.mjs';
17
- import '../window/types/user-team-role.mjs';
18
- import './app-host.mjs';
19
- import './tenant.mjs';
20
-
21
- /**
22
- * Represents structure of the received context message.
23
- */
24
- type Context = {
25
- /**
26
- * Properties about the current session for your app
27
- */
28
- app: AppContext;
29
- /**
30
- * Info about the current page context hosting your app
31
- */
32
- page: PageContext;
33
- /**
34
- * Info about the currently logged in user running the app.
35
- * If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.
36
- */
37
- user?: UserContext;
38
- /**
39
- * When running in the context of a Teams channel, provides information about the channel, else `undefined`
40
- */
41
- channel?: ChannelContext;
42
- /**
43
- * When running in the context of a Teams chat, provides information about the chat, else `undefined`
44
- */
45
- chat?: ChatContext;
46
- /**
47
- * When running in the context of a Teams meeting, provides information about the meeting, else `undefined`
48
- */
49
- meeting?: MeetingContext;
50
- /**
51
- * When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`
52
- */
53
- sharepoint?: any;
54
- /**
55
- * When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.
56
- * Will be `undefined` when not running in Teams for an organization with a tenant.
57
- */
58
- sharePointSite?: SharePointSiteContext;
59
- /**
60
- * When running in Teams, provides information about the Team context in which your app is running.
61
- * Will be `undefined` when not running in Teams.
62
- */
63
- team?: TeamContext;
64
- /**
65
- * When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.
66
- * App developers need to use these `extractedParameters` in their dialog.
67
- * They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.
68
- * If there's no key/value pairs passed, the object will be empty in the case
69
- */
70
- dialogParameters: Record<string, string>;
71
- };
72
- declare function mapContext(ctx: Context$1): Context;
73
-
74
- export { type Context, mapContext };
@@ -1,74 +0,0 @@
1
- import { Context as Context$1 } from '../window/types/context.js';
2
- import { AppContext } from './app.js';
3
- import { ChannelContext } from './channel.js';
4
- import { ChatContext } from './chat.js';
5
- import { MeetingContext } from './meeting.js';
6
- import { PageContext } from './page.js';
7
- import { SharePointSiteContext } from './share-point-site.js';
8
- import { TeamContext } from './team.js';
9
- import { UserContext } from './user.js';
10
- import '../window/types/channel-type.js';
11
- import '../window/types/file-open-preference.js';
12
- import '../window/types/frame-context.js';
13
- import '../window/types/host.js';
14
- import '../window/types/locale.js';
15
- import '../window/types/team-type.js';
16
- import '../window/types/theme.js';
17
- import '../window/types/user-team-role.js';
18
- import './app-host.js';
19
- import './tenant.js';
20
-
21
- /**
22
- * Represents structure of the received context message.
23
- */
24
- type Context = {
25
- /**
26
- * Properties about the current session for your app
27
- */
28
- app: AppContext;
29
- /**
30
- * Info about the current page context hosting your app
31
- */
32
- page: PageContext;
33
- /**
34
- * Info about the currently logged in user running the app.
35
- * If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.
36
- */
37
- user?: UserContext;
38
- /**
39
- * When running in the context of a Teams channel, provides information about the channel, else `undefined`
40
- */
41
- channel?: ChannelContext;
42
- /**
43
- * When running in the context of a Teams chat, provides information about the chat, else `undefined`
44
- */
45
- chat?: ChatContext;
46
- /**
47
- * When running in the context of a Teams meeting, provides information about the meeting, else `undefined`
48
- */
49
- meeting?: MeetingContext;
50
- /**
51
- * When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`
52
- */
53
- sharepoint?: any;
54
- /**
55
- * When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.
56
- * Will be `undefined` when not running in Teams for an organization with a tenant.
57
- */
58
- sharePointSite?: SharePointSiteContext;
59
- /**
60
- * When running in Teams, provides information about the Team context in which your app is running.
61
- * Will be `undefined` when not running in Teams.
62
- */
63
- team?: TeamContext;
64
- /**
65
- * When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.
66
- * App developers need to use these `extractedParameters` in their dialog.
67
- * They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.
68
- * If there's no key/value pairs passed, the object will be empty in the case
69
- */
70
- dialogParameters: Record<string, string>;
71
- };
72
- declare function mapContext(ctx: Context$1): Context;
73
-
74
- export { type Context, mapContext };
@@ -1,108 +0,0 @@
1
- 'use strict';
2
-
3
- var window = require('../window');
4
-
5
- function _interopNamespace(e) {
6
- if (e && e.__esModule) return e;
7
- var n = Object.create(null);
8
- if (e) {
9
- Object.keys(e).forEach(function (k) {
10
- if (k !== 'default') {
11
- var d = Object.getOwnPropertyDescriptor(e, k);
12
- Object.defineProperty(n, k, d.get ? d : {
13
- enumerable: true,
14
- get: function () { return e[k]; }
15
- });
16
- }
17
- });
18
- }
19
- n.default = e;
20
- return Object.freeze(n);
21
- }
22
-
23
- var window__namespace = /*#__PURE__*/_interopNamespace(window);
24
-
25
- function mapContext(ctx) {
26
- return {
27
- app: {
28
- id: ctx.appId,
29
- locale: ctx.locale,
30
- launchId: ctx.appLaunchId,
31
- sessionId: ctx.appSessionId ? ctx.appSessionId : "",
32
- theme: ctx.theme ? ctx.theme : "default",
33
- iconPositionVertical: ctx.appIconPosition,
34
- osLocaleInfo: ctx.osLocaleInfo,
35
- parentMessageId: ctx.parentMessageId,
36
- userClickTime: ctx.userClickTime,
37
- userClickTimeV2: ctx.userClickTimeV2,
38
- userFileOpenPreference: ctx.userFileOpenPreference,
39
- host: {
40
- name: ctx.hostName ? ctx.hostName : "Teams",
41
- clientType: ctx.hostClientType ? ctx.hostClientType : "web",
42
- sessionId: ctx.sessionId ? ctx.sessionId : "",
43
- ringId: ctx.ringId
44
- },
45
- manifestVersion: ctx.manifestVersion
46
- },
47
- page: {
48
- id: ctx.entityId,
49
- frameContext: ctx.frameContext || "content",
50
- subPageId: ctx.subEntityId,
51
- isFullScreen: ctx.isFullScreen,
52
- isMultiWindow: ctx.isMultiWindow,
53
- isBackgroundLoad: ctx.isBackgroundLoad,
54
- sourceOrigin: ctx.sourceOrigin
55
- },
56
- user: {
57
- id: ctx.userObjectId ?? "",
58
- displayName: ctx.userDisplayName,
59
- isCallingAllowed: ctx.isCallingAllowed,
60
- isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,
61
- licenseType: ctx.userLicenseType,
62
- loginHint: ctx.loginHint,
63
- userPrincipalName: ctx.userPrincipalName,
64
- tenant: ctx.tid ? {
65
- id: ctx.tid,
66
- teamsSku: ctx.tenantSKU
67
- } : void 0
68
- },
69
- channel: ctx.channelId ? {
70
- id: ctx.channelId,
71
- displayName: ctx.channelName,
72
- relativeUrl: ctx.channelRelativeUrl,
73
- membershipType: ctx.channelType,
74
- defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,
75
- ownerGroupId: ctx.hostTeamGroupId,
76
- ownerTenantId: ctx.hostTeamTenantId
77
- } : void 0,
78
- chat: ctx.chatId ? {
79
- id: ctx.chatId
80
- } : void 0,
81
- meeting: ctx.meetingId ? {
82
- id: ctx.meetingId
83
- } : void 0,
84
- sharepoint: ctx.sharepoint,
85
- team: ctx.teamId ? {
86
- internalId: ctx.teamId,
87
- displayName: ctx.teamName,
88
- type: ctx.teamType ? window__namespace.mapTeamType(ctx.teamType) : void 0,
89
- groupId: ctx.groupId,
90
- templateId: ctx.teamTemplateId,
91
- isArchived: ctx.isTeamArchived,
92
- userRole: ctx.userTeamRole ? window__namespace.mapUserTeamRole(ctx.userTeamRole) : void 0
93
- } : void 0,
94
- sharePointSite: ctx.teamSiteUrl || ctx.teamSiteDomain || ctx.teamSitePath || ctx.mySitePath || ctx.mySiteDomain ? {
95
- teamSiteUrl: ctx.teamSiteUrl,
96
- teamSiteDomain: ctx.teamSiteDomain,
97
- teamSitePath: ctx.teamSitePath,
98
- teamSiteId: ctx.teamSiteId,
99
- mySitePath: ctx.mySitePath,
100
- mySiteDomain: ctx.mySiteDomain
101
- } : void 0,
102
- dialogParameters: ctx.dialogParameters || {}
103
- };
104
- }
105
-
106
- exports.mapContext = mapContext;
107
- //# sourceMappingURL=index.js.map
108
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/context/index.ts"],"names":["window"],"mappings":"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","file":"index.js","sourcesContent":["import * as window from '../window';\n\nimport { AppContext } from './app';\nimport { ChannelContext } from './channel';\nimport { ChatContext } from './chat';\nimport { MeetingContext } from './meeting';\nimport { PageContext } from './page';\nimport { SharePointSiteContext } from './share-point-site';\nimport { TeamContext } from './team';\nimport { UserContext } from './user';\n\n/**\n * Represents structure of the received context message.\n */\nexport type Context = {\n /**\n * Properties about the current session for your app\n */\n app: AppContext;\n\n /**\n * Info about the current page context hosting your app\n */\n page: PageContext;\n\n /**\n * Info about the currently logged in user running the app.\n * If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.\n */\n user?: UserContext;\n\n /**\n * When running in the context of a Teams channel, provides information about the channel, else `undefined`\n */\n channel?: ChannelContext;\n\n /**\n * When running in the context of a Teams chat, provides information about the chat, else `undefined`\n */\n chat?: ChatContext;\n\n /**\n * When running in the context of a Teams meeting, provides information about the meeting, else `undefined`\n */\n meeting?: MeetingContext;\n\n /**\n * When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`\n */\n sharepoint?: any;\n\n /**\n * When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.\n * Will be `undefined` when not running in Teams for an organization with a tenant.\n */\n sharePointSite?: SharePointSiteContext;\n\n /**\n * When running in Teams, provides information about the Team context in which your app is running.\n * Will be `undefined` when not running in Teams.\n */\n team?: TeamContext;\n\n /**\n * When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.\n * App developers need to use these `extractedParameters` in their dialog.\n * They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.\n * If there's no key/value pairs passed, the object will be empty in the case\n */\n dialogParameters: Record<string, string>;\n};\n\nexport function mapContext(ctx: window.Context): Context {\n return {\n app: {\n id: ctx.appId,\n locale: ctx.locale,\n launchId: ctx.appLaunchId,\n sessionId: ctx.appSessionId ? ctx.appSessionId : '',\n theme: ctx.theme ? ctx.theme : 'default',\n iconPositionVertical: ctx.appIconPosition,\n osLocaleInfo: ctx.osLocaleInfo,\n parentMessageId: ctx.parentMessageId,\n userClickTime: ctx.userClickTime,\n userClickTimeV2: ctx.userClickTimeV2,\n userFileOpenPreference: ctx.userFileOpenPreference,\n host: {\n name: ctx.hostName ? ctx.hostName : 'Teams',\n clientType: ctx.hostClientType ? ctx.hostClientType : 'web',\n sessionId: ctx.sessionId ? ctx.sessionId : '',\n ringId: ctx.ringId,\n },\n manifestVersion: ctx.manifestVersion,\n },\n page: {\n id: ctx.entityId,\n frameContext: ctx.frameContext || 'content',\n subPageId: ctx.subEntityId,\n isFullScreen: ctx.isFullScreen,\n isMultiWindow: ctx.isMultiWindow,\n isBackgroundLoad: ctx.isBackgroundLoad,\n sourceOrigin: ctx.sourceOrigin,\n },\n user: {\n id: ctx.userObjectId ?? '',\n displayName: ctx.userDisplayName,\n isCallingAllowed: ctx.isCallingAllowed,\n isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,\n licenseType: ctx.userLicenseType,\n loginHint: ctx.loginHint,\n userPrincipalName: ctx.userPrincipalName,\n tenant: ctx.tid\n ? {\n id: ctx.tid,\n teamsSku: ctx.tenantSKU,\n }\n : undefined,\n },\n channel: ctx.channelId\n ? {\n id: ctx.channelId,\n displayName: ctx.channelName,\n relativeUrl: ctx.channelRelativeUrl,\n membershipType: ctx.channelType,\n defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,\n ownerGroupId: ctx.hostTeamGroupId,\n ownerTenantId: ctx.hostTeamTenantId,\n }\n : undefined,\n chat: ctx.chatId\n ? {\n id: ctx.chatId,\n }\n : undefined,\n meeting: ctx.meetingId\n ? {\n id: ctx.meetingId,\n }\n : undefined,\n sharepoint: ctx.sharepoint,\n team: ctx.teamId\n ? {\n internalId: ctx.teamId,\n displayName: ctx.teamName,\n type: ctx.teamType ? window.mapTeamType(ctx.teamType) : undefined,\n groupId: ctx.groupId,\n templateId: ctx.teamTemplateId,\n isArchived: ctx.isTeamArchived,\n userRole: ctx.userTeamRole ? window.mapUserTeamRole(ctx.userTeamRole) : undefined,\n }\n : undefined,\n sharePointSite:\n ctx.teamSiteUrl ||\n ctx.teamSiteDomain ||\n ctx.teamSitePath ||\n ctx.mySitePath ||\n ctx.mySiteDomain\n ? {\n teamSiteUrl: ctx.teamSiteUrl,\n teamSiteDomain: ctx.teamSiteDomain,\n teamSitePath: ctx.teamSitePath,\n teamSiteId: ctx.teamSiteId,\n mySitePath: ctx.mySitePath,\n mySiteDomain: ctx.mySiteDomain,\n }\n : undefined,\n dialogParameters: ctx.dialogParameters || {},\n };\n}\n"]}
@@ -1,86 +0,0 @@
1
- import * as window from '../window';
2
-
3
- function mapContext(ctx) {
4
- return {
5
- app: {
6
- id: ctx.appId,
7
- locale: ctx.locale,
8
- launchId: ctx.appLaunchId,
9
- sessionId: ctx.appSessionId ? ctx.appSessionId : "",
10
- theme: ctx.theme ? ctx.theme : "default",
11
- iconPositionVertical: ctx.appIconPosition,
12
- osLocaleInfo: ctx.osLocaleInfo,
13
- parentMessageId: ctx.parentMessageId,
14
- userClickTime: ctx.userClickTime,
15
- userClickTimeV2: ctx.userClickTimeV2,
16
- userFileOpenPreference: ctx.userFileOpenPreference,
17
- host: {
18
- name: ctx.hostName ? ctx.hostName : "Teams",
19
- clientType: ctx.hostClientType ? ctx.hostClientType : "web",
20
- sessionId: ctx.sessionId ? ctx.sessionId : "",
21
- ringId: ctx.ringId
22
- },
23
- manifestVersion: ctx.manifestVersion
24
- },
25
- page: {
26
- id: ctx.entityId,
27
- frameContext: ctx.frameContext || "content",
28
- subPageId: ctx.subEntityId,
29
- isFullScreen: ctx.isFullScreen,
30
- isMultiWindow: ctx.isMultiWindow,
31
- isBackgroundLoad: ctx.isBackgroundLoad,
32
- sourceOrigin: ctx.sourceOrigin
33
- },
34
- user: {
35
- id: ctx.userObjectId ?? "",
36
- displayName: ctx.userDisplayName,
37
- isCallingAllowed: ctx.isCallingAllowed,
38
- isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,
39
- licenseType: ctx.userLicenseType,
40
- loginHint: ctx.loginHint,
41
- userPrincipalName: ctx.userPrincipalName,
42
- tenant: ctx.tid ? {
43
- id: ctx.tid,
44
- teamsSku: ctx.tenantSKU
45
- } : void 0
46
- },
47
- channel: ctx.channelId ? {
48
- id: ctx.channelId,
49
- displayName: ctx.channelName,
50
- relativeUrl: ctx.channelRelativeUrl,
51
- membershipType: ctx.channelType,
52
- defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,
53
- ownerGroupId: ctx.hostTeamGroupId,
54
- ownerTenantId: ctx.hostTeamTenantId
55
- } : void 0,
56
- chat: ctx.chatId ? {
57
- id: ctx.chatId
58
- } : void 0,
59
- meeting: ctx.meetingId ? {
60
- id: ctx.meetingId
61
- } : void 0,
62
- sharepoint: ctx.sharepoint,
63
- team: ctx.teamId ? {
64
- internalId: ctx.teamId,
65
- displayName: ctx.teamName,
66
- type: ctx.teamType ? window.mapTeamType(ctx.teamType) : void 0,
67
- groupId: ctx.groupId,
68
- templateId: ctx.teamTemplateId,
69
- isArchived: ctx.isTeamArchived,
70
- userRole: ctx.userTeamRole ? window.mapUserTeamRole(ctx.userTeamRole) : void 0
71
- } : void 0,
72
- sharePointSite: ctx.teamSiteUrl || ctx.teamSiteDomain || ctx.teamSitePath || ctx.mySitePath || ctx.mySiteDomain ? {
73
- teamSiteUrl: ctx.teamSiteUrl,
74
- teamSiteDomain: ctx.teamSiteDomain,
75
- teamSitePath: ctx.teamSitePath,
76
- teamSiteId: ctx.teamSiteId,
77
- mySitePath: ctx.mySitePath,
78
- mySiteDomain: ctx.mySiteDomain
79
- } : void 0,
80
- dialogParameters: ctx.dialogParameters || {}
81
- };
82
- }
83
-
84
- export { mapContext };
85
- //# sourceMappingURL=index.mjs.map
86
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/context/index.ts"],"names":[],"mappings":"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","file":"index.mjs","sourcesContent":["import * as window from '../window';\n\nimport { AppContext } from './app';\nimport { ChannelContext } from './channel';\nimport { ChatContext } from './chat';\nimport { MeetingContext } from './meeting';\nimport { PageContext } from './page';\nimport { SharePointSiteContext } from './share-point-site';\nimport { TeamContext } from './team';\nimport { UserContext } from './user';\n\n/**\n * Represents structure of the received context message.\n */\nexport type Context = {\n /**\n * Properties about the current session for your app\n */\n app: AppContext;\n\n /**\n * Info about the current page context hosting your app\n */\n page: PageContext;\n\n /**\n * Info about the currently logged in user running the app.\n * If the current user is not logged in/authenticated (e.g. a meeting app running for an anonymously-joined partcipant) this will be `undefined`.\n */\n user?: UserContext;\n\n /**\n * When running in the context of a Teams channel, provides information about the channel, else `undefined`\n */\n channel?: ChannelContext;\n\n /**\n * When running in the context of a Teams chat, provides information about the chat, else `undefined`\n */\n chat?: ChatContext;\n\n /**\n * When running in the context of a Teams meeting, provides information about the meeting, else `undefined`\n */\n meeting?: MeetingContext;\n\n /**\n * When hosted in SharePoint, this is the [SharePoint PageContext](https://learn.microsoft.com/javascript/api/sp-page-context/pagecontext?view=sp-typescript-latest), else `undefined`\n */\n sharepoint?: any;\n\n /**\n * When running in Teams for an organization with a tenant, provides information about the SharePoint site associated with the team.\n * Will be `undefined` when not running in Teams for an organization with a tenant.\n */\n sharePointSite?: SharePointSiteContext;\n\n /**\n * When running in Teams, provides information about the Team context in which your app is running.\n * Will be `undefined` when not running in Teams.\n */\n team?: TeamContext;\n\n /**\n * When `processActionCommand` activates a dialog, this dialog should automatically fill in some fields with information. This information comes from M365 and is given to `processActionCommand` as `extractedParameters`.\n * App developers need to use these `extractedParameters` in their dialog.\n * They help pre-fill the dialog with necessary information (`dialogParameters`) along with other details.\n * If there's no key/value pairs passed, the object will be empty in the case\n */\n dialogParameters: Record<string, string>;\n};\n\nexport function mapContext(ctx: window.Context): Context {\n return {\n app: {\n id: ctx.appId,\n locale: ctx.locale,\n launchId: ctx.appLaunchId,\n sessionId: ctx.appSessionId ? ctx.appSessionId : '',\n theme: ctx.theme ? ctx.theme : 'default',\n iconPositionVertical: ctx.appIconPosition,\n osLocaleInfo: ctx.osLocaleInfo,\n parentMessageId: ctx.parentMessageId,\n userClickTime: ctx.userClickTime,\n userClickTimeV2: ctx.userClickTimeV2,\n userFileOpenPreference: ctx.userFileOpenPreference,\n host: {\n name: ctx.hostName ? ctx.hostName : 'Teams',\n clientType: ctx.hostClientType ? ctx.hostClientType : 'web',\n sessionId: ctx.sessionId ? ctx.sessionId : '',\n ringId: ctx.ringId,\n },\n manifestVersion: ctx.manifestVersion,\n },\n page: {\n id: ctx.entityId,\n frameContext: ctx.frameContext || 'content',\n subPageId: ctx.subEntityId,\n isFullScreen: ctx.isFullScreen,\n isMultiWindow: ctx.isMultiWindow,\n isBackgroundLoad: ctx.isBackgroundLoad,\n sourceOrigin: ctx.sourceOrigin,\n },\n user: {\n id: ctx.userObjectId ?? '',\n displayName: ctx.userDisplayName,\n isCallingAllowed: ctx.isCallingAllowed,\n isPSTNCallingAllowed: ctx.isPSTNCallingAllowed,\n licenseType: ctx.userLicenseType,\n loginHint: ctx.loginHint,\n userPrincipalName: ctx.userPrincipalName,\n tenant: ctx.tid\n ? {\n id: ctx.tid,\n teamsSku: ctx.tenantSKU,\n }\n : undefined,\n },\n channel: ctx.channelId\n ? {\n id: ctx.channelId,\n displayName: ctx.channelName,\n relativeUrl: ctx.channelRelativeUrl,\n membershipType: ctx.channelType,\n defaultOneNoteSectionId: ctx.defaultOneNoteSectionId,\n ownerGroupId: ctx.hostTeamGroupId,\n ownerTenantId: ctx.hostTeamTenantId,\n }\n : undefined,\n chat: ctx.chatId\n ? {\n id: ctx.chatId,\n }\n : undefined,\n meeting: ctx.meetingId\n ? {\n id: ctx.meetingId,\n }\n : undefined,\n sharepoint: ctx.sharepoint,\n team: ctx.teamId\n ? {\n internalId: ctx.teamId,\n displayName: ctx.teamName,\n type: ctx.teamType ? window.mapTeamType(ctx.teamType) : undefined,\n groupId: ctx.groupId,\n templateId: ctx.teamTemplateId,\n isArchived: ctx.isTeamArchived,\n userRole: ctx.userTeamRole ? window.mapUserTeamRole(ctx.userTeamRole) : undefined,\n }\n : undefined,\n sharePointSite:\n ctx.teamSiteUrl ||\n ctx.teamSiteDomain ||\n ctx.teamSitePath ||\n ctx.mySitePath ||\n ctx.mySiteDomain\n ? {\n teamSiteUrl: ctx.teamSiteUrl,\n teamSiteDomain: ctx.teamSiteDomain,\n teamSitePath: ctx.teamSitePath,\n teamSiteId: ctx.teamSiteId,\n mySitePath: ctx.mySitePath,\n mySiteDomain: ctx.mySiteDomain,\n }\n : undefined,\n dialogParameters: ctx.dialogParameters || {},\n };\n}\n"]}
@@ -1,11 +0,0 @@
1
- /**
2
- * Represents Meeting information.
3
- */
4
- type MeetingContext = {
5
- /**
6
- * Meeting Id used by tab when running in meeting context
7
- */
8
- id: string;
9
- };
10
-
11
- export type { MeetingContext };
@@ -1,11 +0,0 @@
1
- /**
2
- * Represents Meeting information.
3
- */
4
- type MeetingContext = {
5
- /**
6
- * Meeting Id used by tab when running in meeting context
7
- */
8
- id: string;
9
- };
10
-
11
- export type { MeetingContext };
@@ -1,4 +0,0 @@
1
- 'use strict';
2
-
3
- //# sourceMappingURL=meeting.js.map
4
- //# sourceMappingURL=meeting.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"meeting.js"}
@@ -1,3 +0,0 @@
1
-
2
- //# sourceMappingURL=meeting.mjs.map
3
- //# sourceMappingURL=meeting.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"meeting.mjs"}
@@ -1,40 +0,0 @@
1
- import { FrameContext } from '../window/types/frame-context.mjs';
2
-
3
- /**
4
- * Represents Page information.
5
- */
6
- type PageContext = {
7
- /**
8
- * The developer-defined unique ID for the page this content points to.
9
- */
10
- id: string;
11
- /**
12
- * The context where page url is loaded (content, task, setting, remove, sidePanel)
13
- */
14
- frameContext: FrameContext;
15
- /**
16
- * The developer-defined unique ID for the sub-page this content points to.
17
- * This field should be used to restore to a specific state within a page,
18
- * such as scrolling to or activating a specific piece of content.
19
- */
20
- subPageId?: string;
21
- /**
22
- * Indication whether the page is in full-screen mode.
23
- */
24
- isFullScreen?: boolean;
25
- /**
26
- * Indication whether the page is in a pop out window
27
- */
28
- isMultiWindow?: boolean;
29
- /**
30
- * Indicates whether the page is being loaded in the background as
31
- * part of an opt-in performance enhancement.
32
- */
33
- isBackgroundLoad?: boolean;
34
- /**
35
- * Source origin from where the page is opened
36
- */
37
- sourceOrigin?: string;
38
- };
39
-
40
- export type { PageContext };
@@ -1,40 +0,0 @@
1
- import { FrameContext } from '../window/types/frame-context.js';
2
-
3
- /**
4
- * Represents Page information.
5
- */
6
- type PageContext = {
7
- /**
8
- * The developer-defined unique ID for the page this content points to.
9
- */
10
- id: string;
11
- /**
12
- * The context where page url is loaded (content, task, setting, remove, sidePanel)
13
- */
14
- frameContext: FrameContext;
15
- /**
16
- * The developer-defined unique ID for the sub-page this content points to.
17
- * This field should be used to restore to a specific state within a page,
18
- * such as scrolling to or activating a specific piece of content.
19
- */
20
- subPageId?: string;
21
- /**
22
- * Indication whether the page is in full-screen mode.
23
- */
24
- isFullScreen?: boolean;
25
- /**
26
- * Indication whether the page is in a pop out window
27
- */
28
- isMultiWindow?: boolean;
29
- /**
30
- * Indicates whether the page is being loaded in the background as
31
- * part of an opt-in performance enhancement.
32
- */
33
- isBackgroundLoad?: boolean;
34
- /**
35
- * Source origin from where the page is opened
36
- */
37
- sourceOrigin?: string;
38
- };
39
-
40
- export type { PageContext };
@@ -1,4 +0,0 @@
1
- 'use strict';
2
-
3
- //# sourceMappingURL=page.js.map
4
- //# sourceMappingURL=page.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"page.js"}
@@ -1,3 +0,0 @@
1
-
2
- //# sourceMappingURL=page.mjs.map
3
- //# sourceMappingURL=page.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"page.mjs"}
@@ -1,31 +0,0 @@
1
- /**
2
- * Represents information about a SharePoint site
3
- */
4
- type SharePointSiteContext = {
5
- /**
6
- * The root SharePoint site associated with the team.
7
- */
8
- teamSiteUrl?: string;
9
- /**
10
- * The domain of the root SharePoint site associated with the team.
11
- */
12
- teamSiteDomain?: string;
13
- /**
14
- * The relative path to the SharePoint site associated with the team.
15
- */
16
- teamSitePath?: string;
17
- /**
18
- * Teamsite ID, aka sharepoint site id.
19
- */
20
- teamSiteId?: string;
21
- /**
22
- * The SharePoint my site domain associated with the user.
23
- */
24
- mySiteDomain?: string;
25
- /**
26
- * The SharePoint relative path to the current users mysite
27
- */
28
- mySitePath?: string;
29
- };
30
-
31
- export type { SharePointSiteContext };