@microsoft/teams.client 0.2.11 → 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 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/bar-code.ts"],"names":[],"mappings":";;AAIO,MAAM,aAAc,CAAA;AAAA,EAChB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAuB,EAAA;AAChC,IAAA,MAAM,CAAC,GAAK,EAAA,GAAG,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA;AAAA,MACnC,mBAAA;AAAA,MACA;AAAA,KACF;AAEA,IAAA,IAAI,KAAW,MAAA,GAAA;AACf,IAAO,OAAA,GAAA;AAAA;AAEX","file":"bar-code.js","sourcesContent":["import { ClientError } from '../client-error';\nimport { BarCodeConfig } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport class BarCodeClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async scan(config: BarCodeConfig) {\n const [err, res] = await this.window.send<[ClientError | undefined, string]>(\n 'media.scanBarCode',\n config\n );\n\n if (err) throw err;\n return res;\n }\n}\n"]}
@@ -1,18 +0,0 @@
1
- class BarCodeClient {
2
- window;
3
- constructor(client) {
4
- this.window = client;
5
- }
6
- async scan(config) {
7
- const [err, res] = await this.window.send(
8
- "media.scanBarCode",
9
- config
10
- );
11
- if (err) throw err;
12
- return res;
13
- }
14
- }
15
-
16
- export { BarCodeClient };
17
- //# sourceMappingURL=bar-code.mjs.map
18
- //# sourceMappingURL=bar-code.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/bar-code.ts"],"names":[],"mappings":"AAIO,MAAM,aAAc,CAAA;AAAA,EAChB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAuB,EAAA;AAChC,IAAA,MAAM,CAAC,GAAK,EAAA,GAAG,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA;AAAA,MACnC,mBAAA;AAAA,MACA;AAAA,KACF;AAEA,IAAA,IAAI,KAAW,MAAA,GAAA;AACf,IAAO,OAAA,GAAA;AAAA;AAEX","file":"bar-code.mjs","sourcesContent":["import { ClientError } from '../client-error';\nimport { BarCodeConfig } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport class BarCodeClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async scan(config: BarCodeConfig) {\n const [err, res] = await this.window.send<[ClientError | undefined, string]>(\n 'media.scanBarCode',\n config\n );\n\n if (err) throw err;\n return res;\n }\n}\n"]}
@@ -1,47 +0,0 @@
1
- import { WindowClient } from '../window-client.mjs';
2
- import '@microsoft/teams.common';
3
- import '../message.mjs';
4
- import '../client-error.mjs';
5
-
6
- /**
7
- * Compose meeting parameters
8
- */
9
- type ComposeCalendarMeetingParams = {
10
- /**
11
- * An array of email addresses, user name, or user id of the attendees to invite to the meeting.
12
- */
13
- attendees?: string[];
14
- /**
15
- * The start time of the meeting in MM/DD/YYYY HH:MM:SS format.
16
- */
17
- startTime?: string;
18
- /**
19
- * The end time of the meeting in MM/DD/YYYY HH:MM:SS format.
20
- */
21
- endTime?: string;
22
- /**
23
- * The subject line of the meeting.
24
- */
25
- subject?: string;
26
- /**
27
- * The body content of the meeting.
28
- */
29
- content?: string;
30
- };
31
- /**
32
- * Open calendar item parameters.
33
- */
34
- type OpenCalendarItemParams = {
35
- /**
36
- * An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.
37
- */
38
- itemId: string;
39
- };
40
- declare class CalendarClient {
41
- readonly window: WindowClient;
42
- constructor(client: WindowClient);
43
- composeMeeting(params: ComposeCalendarMeetingParams): Promise<void>;
44
- openItem(params: OpenCalendarItemParams): Promise<void>;
45
- }
46
-
47
- export { CalendarClient, type ComposeCalendarMeetingParams, type OpenCalendarItemParams };
@@ -1,47 +0,0 @@
1
- import { WindowClient } from '../window-client.js';
2
- import '@microsoft/teams.common';
3
- import '../message.js';
4
- import '../client-error.js';
5
-
6
- /**
7
- * Compose meeting parameters
8
- */
9
- type ComposeCalendarMeetingParams = {
10
- /**
11
- * An array of email addresses, user name, or user id of the attendees to invite to the meeting.
12
- */
13
- attendees?: string[];
14
- /**
15
- * The start time of the meeting in MM/DD/YYYY HH:MM:SS format.
16
- */
17
- startTime?: string;
18
- /**
19
- * The end time of the meeting in MM/DD/YYYY HH:MM:SS format.
20
- */
21
- endTime?: string;
22
- /**
23
- * The subject line of the meeting.
24
- */
25
- subject?: string;
26
- /**
27
- * The body content of the meeting.
28
- */
29
- content?: string;
30
- };
31
- /**
32
- * Open calendar item parameters.
33
- */
34
- type OpenCalendarItemParams = {
35
- /**
36
- * An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.
37
- */
38
- itemId: string;
39
- };
40
- declare class CalendarClient {
41
- readonly window: WindowClient;
42
- constructor(client: WindowClient);
43
- composeMeeting(params: ComposeCalendarMeetingParams): Promise<void>;
44
- openItem(params: OpenCalendarItemParams): Promise<void>;
45
- }
46
-
47
- export { CalendarClient, type ComposeCalendarMeetingParams, type OpenCalendarItemParams };
@@ -1,18 +0,0 @@
1
- 'use strict';
2
-
3
- class CalendarClient {
4
- window;
5
- constructor(client) {
6
- this.window = client;
7
- }
8
- async composeMeeting(params) {
9
- await this.window.send("calendar.composeMeeting", params);
10
- }
11
- async openItem(params) {
12
- await this.window.send("calendar.openCalendarItem", params);
13
- }
14
- }
15
-
16
- exports.CalendarClient = CalendarClient;
17
- //# sourceMappingURL=calendar.js.map
18
- //# sourceMappingURL=calendar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/calendar.ts"],"names":[],"mappings":";;AA0CO,MAAM,cAAe,CAAA;AAAA,EACjB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,eAAe,MAAsC,EAAA;AACzD,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,yBAAA,EAA2B,MAAM,CAAA;AAAA;AAC1D,EAEA,MAAM,SAAS,MAAgC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,2BAAA,EAA6B,MAAM,CAAA;AAAA;AAE9D","file":"calendar.js","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Compose meeting parameters\n */\nexport type ComposeCalendarMeetingParams = {\n /**\n * An array of email addresses, user name, or user id of the attendees to invite to the meeting.\n */\n attendees?: string[];\n\n /**\n * The start time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n startTime?: string;\n\n /**\n * The end time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n endTime?: string;\n\n /**\n * The subject line of the meeting.\n */\n subject?: string;\n\n /**\n * The body content of the meeting.\n */\n content?: string;\n};\n\n/**\n * Open calendar item parameters.\n */\nexport type OpenCalendarItemParams = {\n /**\n * An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.\n */\n itemId: string;\n};\n\nexport class CalendarClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async composeMeeting(params: ComposeCalendarMeetingParams) {\n await this.window.send('calendar.composeMeeting', params);\n }\n\n async openItem(params: OpenCalendarItemParams) {\n await this.window.send('calendar.openCalendarItem', params);\n }\n}\n"]}
@@ -1,16 +0,0 @@
1
- class CalendarClient {
2
- window;
3
- constructor(client) {
4
- this.window = client;
5
- }
6
- async composeMeeting(params) {
7
- await this.window.send("calendar.composeMeeting", params);
8
- }
9
- async openItem(params) {
10
- await this.window.send("calendar.openCalendarItem", params);
11
- }
12
- }
13
-
14
- export { CalendarClient };
15
- //# sourceMappingURL=calendar.mjs.map
16
- //# sourceMappingURL=calendar.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/calendar.ts"],"names":[],"mappings":"AA0CO,MAAM,cAAe,CAAA;AAAA,EACjB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,eAAe,MAAsC,EAAA;AACzD,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,yBAAA,EAA2B,MAAM,CAAA;AAAA;AAC1D,EAEA,MAAM,SAAS,MAAgC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,2BAAA,EAA6B,MAAM,CAAA;AAAA;AAE9D","file":"calendar.mjs","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Compose meeting parameters\n */\nexport type ComposeCalendarMeetingParams = {\n /**\n * An array of email addresses, user name, or user id of the attendees to invite to the meeting.\n */\n attendees?: string[];\n\n /**\n * The start time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n startTime?: string;\n\n /**\n * The end time of the meeting in MM/DD/YYYY HH:MM:SS format.\n */\n endTime?: string;\n\n /**\n * The subject line of the meeting.\n */\n subject?: string;\n\n /**\n * The body content of the meeting.\n */\n content?: string;\n};\n\n/**\n * Open calendar item parameters.\n */\nexport type OpenCalendarItemParams = {\n /**\n * An unique base64-encoded string id that represents the event's unique identifier of the calendar item to be opened.\n */\n itemId: string;\n};\n\nexport class CalendarClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async composeMeeting(params: ComposeCalendarMeetingParams) {\n await this.window.send('calendar.composeMeeting', params);\n }\n\n async openItem(params: OpenCalendarItemParams) {\n await this.window.send('calendar.openCalendarItem', params);\n }\n}\n"]}
@@ -1,32 +0,0 @@
1
- import { WindowClient } from '../window-client.mjs';
2
- import { CallModality } from '../types/call-modality.mjs';
3
- import '@microsoft/teams.common';
4
- import '../message.mjs';
5
- import '../client-error.mjs';
6
-
7
- type StartCallParams = {
8
- /**
9
- * Comma-separated list of user IDs representing the participants of the call.
10
- *
11
- * @remarks
12
- * Currently the User ID field supports the Microsoft Entra UserPrincipalName,
13
- * typically an email address, or in case of a PSTN call, it supports a pstn
14
- * mri 4:\<phonenumber>.
15
- */
16
- targets: string[];
17
- /**
18
- * List of modalities for the call. Defaults to [“audio”].
19
- */
20
- requestedModalities?: CallModality[];
21
- /**
22
- * An optional parameter that informs about the source of the deep link
23
- */
24
- source?: string;
25
- };
26
- declare class CallClient {
27
- readonly window: WindowClient;
28
- constructor(client: WindowClient);
29
- start(params: StartCallParams): Promise<boolean>;
30
- }
31
-
32
- export { CallClient, type StartCallParams };
@@ -1,32 +0,0 @@
1
- import { WindowClient } from '../window-client.js';
2
- import { CallModality } from '../types/call-modality.js';
3
- import '@microsoft/teams.common';
4
- import '../message.js';
5
- import '../client-error.js';
6
-
7
- type StartCallParams = {
8
- /**
9
- * Comma-separated list of user IDs representing the participants of the call.
10
- *
11
- * @remarks
12
- * Currently the User ID field supports the Microsoft Entra UserPrincipalName,
13
- * typically an email address, or in case of a PSTN call, it supports a pstn
14
- * mri 4:\<phonenumber>.
15
- */
16
- targets: string[];
17
- /**
18
- * List of modalities for the call. Defaults to [“audio”].
19
- */
20
- requestedModalities?: CallModality[];
21
- /**
22
- * An optional parameter that informs about the source of the deep link
23
- */
24
- source?: string;
25
- };
26
- declare class CallClient {
27
- readonly window: WindowClient;
28
- constructor(client: WindowClient);
29
- start(params: StartCallParams): Promise<boolean>;
30
- }
31
-
32
- export { CallClient, type StartCallParams };
@@ -1,16 +0,0 @@
1
- 'use strict';
2
-
3
- class CallClient {
4
- window;
5
- constructor(client) {
6
- this.window = client;
7
- }
8
- async start(params) {
9
- const [ok] = await this.window.send("call.startCall", params);
10
- return ok;
11
- }
12
- }
13
-
14
- exports.CallClient = CallClient;
15
- //# sourceMappingURL=call.js.map
16
- //# sourceMappingURL=call.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/call.ts"],"names":[],"mappings":";;AAyBO,MAAM,UAAW,CAAA;AAAA,EACb,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,MAAM,MAAyB,EAAA;AACnC,IAAM,MAAA,CAAC,EAAE,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA,CAAgB,kBAAkB,MAAM,CAAA;AAEvE,IAAO,OAAA,EAAA;AAAA;AAEX","file":"call.js","sourcesContent":["import { WindowClient } from '../window-client';\nimport { CallModality } from '../types';\n\nexport type StartCallParams = {\n /**\n * Comma-separated list of user IDs representing the participants of the call.\n *\n * @remarks\n * Currently the User ID field supports the Microsoft Entra UserPrincipalName,\n * typically an email address, or in case of a PSTN call, it supports a pstn\n * mri 4:\\<phonenumber>.\n */\n targets: string[];\n\n /**\n * List of modalities for the call. Defaults to [“audio”].\n */\n requestedModalities?: CallModality[];\n\n /**\n * An optional parameter that informs about the source of the deep link\n */\n source?: string;\n};\n\nexport class CallClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async start(params: StartCallParams) {\n const [ok] = await this.window.send<[boolean]>('call.startCall', params);\n\n return ok;\n }\n}\n"]}
@@ -1,14 +0,0 @@
1
- class CallClient {
2
- window;
3
- constructor(client) {
4
- this.window = client;
5
- }
6
- async start(params) {
7
- const [ok] = await this.window.send("call.startCall", params);
8
- return ok;
9
- }
10
- }
11
-
12
- export { CallClient };
13
- //# sourceMappingURL=call.mjs.map
14
- //# sourceMappingURL=call.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/call.ts"],"names":[],"mappings":"AAyBO,MAAM,UAAW,CAAA;AAAA,EACb,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,MAAM,MAAyB,EAAA;AACnC,IAAM,MAAA,CAAC,EAAE,CAAI,GAAA,MAAM,KAAK,MAAO,CAAA,IAAA,CAAgB,kBAAkB,MAAM,CAAA;AAEvE,IAAO,OAAA,EAAA;AAAA;AAEX","file":"call.mjs","sourcesContent":["import { WindowClient } from '../window-client';\nimport { CallModality } from '../types';\n\nexport type StartCallParams = {\n /**\n * Comma-separated list of user IDs representing the participants of the call.\n *\n * @remarks\n * Currently the User ID field supports the Microsoft Entra UserPrincipalName,\n * typically an email address, or in case of a PSTN call, it supports a pstn\n * mri 4:\\<phonenumber>.\n */\n targets: string[];\n\n /**\n * List of modalities for the call. Defaults to [“audio”].\n */\n requestedModalities?: CallModality[];\n\n /**\n * An optional parameter that informs about the source of the deep link\n */\n source?: string;\n};\n\nexport class CallClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async start(params: StartCallParams) {\n const [ok] = await this.window.send<[boolean]>('call.startCall', params);\n\n return ok;\n }\n}\n"]}
@@ -1,26 +0,0 @@
1
- import { WindowClient } from '../window-client.mjs';
2
- import '@microsoft/teams.common';
3
- import '../message.mjs';
4
- import '../client-error.mjs';
5
-
6
- /**
7
- * Currently supported Mime type
8
- */
9
- type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';
10
- /**
11
- * Clipboard write parameters
12
- */
13
- type ClipboardWriteParams = {
14
- /** Mime Type of data to be copied to Clipboard */
15
- mimeType: ClipboardMimeType;
16
- /** Blob content in Base64 string format */
17
- content: string;
18
- };
19
- declare class ClipboardClient {
20
- readonly window: WindowClient;
21
- constructor(client: WindowClient);
22
- read(): Promise<string | Blob>;
23
- write(params: ClipboardWriteParams): Promise<void>;
24
- }
25
-
26
- export { ClipboardClient, type ClipboardMimeType, type ClipboardWriteParams };
@@ -1,26 +0,0 @@
1
- import { WindowClient } from '../window-client.js';
2
- import '@microsoft/teams.common';
3
- import '../message.js';
4
- import '../client-error.js';
5
-
6
- /**
7
- * Currently supported Mime type
8
- */
9
- type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';
10
- /**
11
- * Clipboard write parameters
12
- */
13
- type ClipboardWriteParams = {
14
- /** Mime Type of data to be copied to Clipboard */
15
- mimeType: ClipboardMimeType;
16
- /** Blob content in Base64 string format */
17
- content: string;
18
- };
19
- declare class ClipboardClient {
20
- readonly window: WindowClient;
21
- constructor(client: WindowClient);
22
- read(): Promise<string | Blob>;
23
- write(params: ClipboardWriteParams): Promise<void>;
24
- }
25
-
26
- export { ClipboardClient, type ClipboardMimeType, type ClipboardWriteParams };
@@ -1,19 +0,0 @@
1
- 'use strict';
2
-
3
- class ClipboardClient {
4
- window;
5
- constructor(client) {
6
- this.window = client;
7
- }
8
- async read() {
9
- const [res] = await this.window.send("clipboard.readFromClipboard");
10
- return res;
11
- }
12
- async write(params) {
13
- await this.window.send("clipboard.writeToClipboard", params);
14
- }
15
- }
16
-
17
- exports.ClipboardClient = ClipboardClient;
18
- //# sourceMappingURL=clipboard.js.map
19
- //# sourceMappingURL=clipboard.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/clipboard.ts"],"names":[],"mappings":";;AAkBO,MAAM,eAAgB,CAAA;AAAA,EAClB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,IAAO,GAAA;AACX,IAAA,MAAM,CAAC,GAAG,CAAA,GAAI,MAAM,IAAK,CAAA,MAAA,CAAO,KAAsB,6BAA6B,CAAA;AACnF,IAAO,OAAA,GAAA;AAAA;AACT,EAEA,MAAM,MAAM,MAA8B,EAAA;AACxC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,4BAAA,EAA8B,MAAM,CAAA;AAAA;AAE/D","file":"clipboard.js","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Currently supported Mime type\n */\nexport type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';\n\n/**\n * Clipboard write parameters\n */\nexport type ClipboardWriteParams = {\n /** Mime Type of data to be copied to Clipboard */\n mimeType: ClipboardMimeType;\n\n /** Blob content in Base64 string format */\n content: string;\n};\n\nexport class ClipboardClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async read() {\n const [res] = await this.window.send<[string | Blob]>('clipboard.readFromClipboard');\n return res;\n }\n\n async write(params: ClipboardWriteParams) {\n await this.window.send('clipboard.writeToClipboard', params);\n }\n}\n"]}
@@ -1,17 +0,0 @@
1
- class ClipboardClient {
2
- window;
3
- constructor(client) {
4
- this.window = client;
5
- }
6
- async read() {
7
- const [res] = await this.window.send("clipboard.readFromClipboard");
8
- return res;
9
- }
10
- async write(params) {
11
- await this.window.send("clipboard.writeToClipboard", params);
12
- }
13
- }
14
-
15
- export { ClipboardClient };
16
- //# sourceMappingURL=clipboard.mjs.map
17
- //# sourceMappingURL=clipboard.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/clipboard.ts"],"names":[],"mappings":"AAkBO,MAAM,eAAgB,CAAA;AAAA,EAClB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,IAAO,GAAA;AACX,IAAA,MAAM,CAAC,GAAG,CAAA,GAAI,MAAM,IAAK,CAAA,MAAA,CAAO,KAAsB,6BAA6B,CAAA;AACnF,IAAO,OAAA,GAAA;AAAA;AACT,EAEA,MAAM,MAAM,MAA8B,EAAA;AACxC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,4BAAA,EAA8B,MAAM,CAAA;AAAA;AAE/D","file":"clipboard.mjs","sourcesContent":["import { WindowClient } from '../window-client';\n\n/**\n * Currently supported Mime type\n */\nexport type ClipboardMimeType = 'text/plain' | 'text/html' | 'image/png' | 'image/jpeg';\n\n/**\n * Clipboard write parameters\n */\nexport type ClipboardWriteParams = {\n /** Mime Type of data to be copied to Clipboard */\n mimeType: ClipboardMimeType;\n\n /** Blob content in Base64 string format */\n content: string;\n};\n\nexport class ClipboardClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async read() {\n const [res] = await this.window.send<[string | Blob]>('clipboard.readFromClipboard');\n return res;\n }\n\n async write(params: ClipboardWriteParams) {\n await this.window.send('clipboard.writeToClipboard', params);\n }\n}\n"]}
@@ -1,53 +0,0 @@
1
- import { ThreadMember } from '../types/thread-member.mjs';
2
- import { WindowClient } from '../window-client.mjs';
3
- import '@microsoft/teams.common';
4
- import '../message.mjs';
5
- import '../client-error.mjs';
6
-
7
- type OpenConversationParams = {
8
- /**
9
- * The Id of the subEntity where the conversation is taking place
10
- */
11
- subEntityId: string;
12
- /**
13
- * The title of the conversation
14
- */
15
- title: string;
16
- /**
17
- * The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before
18
- */
19
- conversationId?: string;
20
- /**
21
- * The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope
22
- */
23
- channelId?: string;
24
- /**
25
- * The entity Id of the tab
26
- */
27
- entityId: string;
28
- };
29
- type CreateConversationParams = {
30
- /**
31
- * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
32
- * of users with whom to begin a chat
33
- */
34
- members: string[];
35
- /**
36
- * An optional message used when initiating chat
37
- */
38
- message?: string;
39
- /**
40
- * The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)
41
- */
42
- topic?: string;
43
- };
44
- declare class ConversationsClient {
45
- readonly window: WindowClient;
46
- constructor(client: WindowClient);
47
- open(params: OpenConversationParams): Promise<void>;
48
- close(): Promise<void>;
49
- create(params: CreateConversationParams): Promise<void>;
50
- getMembers(): Promise<ThreadMember[]>;
51
- }
52
-
53
- export { ConversationsClient, type CreateConversationParams, type OpenConversationParams };
@@ -1,53 +0,0 @@
1
- import { ThreadMember } from '../types/thread-member.js';
2
- import { WindowClient } from '../window-client.js';
3
- import '@microsoft/teams.common';
4
- import '../message.js';
5
- import '../client-error.js';
6
-
7
- type OpenConversationParams = {
8
- /**
9
- * The Id of the subEntity where the conversation is taking place
10
- */
11
- subEntityId: string;
12
- /**
13
- * The title of the conversation
14
- */
15
- title: string;
16
- /**
17
- * The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before
18
- */
19
- conversationId?: string;
20
- /**
21
- * The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope
22
- */
23
- channelId?: string;
24
- /**
25
- * The entity Id of the tab
26
- */
27
- entityId: string;
28
- };
29
- type CreateConversationParams = {
30
- /**
31
- * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)
32
- * of users with whom to begin a chat
33
- */
34
- members: string[];
35
- /**
36
- * An optional message used when initiating chat
37
- */
38
- message?: string;
39
- /**
40
- * The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)
41
- */
42
- topic?: string;
43
- };
44
- declare class ConversationsClient {
45
- readonly window: WindowClient;
46
- constructor(client: WindowClient);
47
- open(params: OpenConversationParams): Promise<void>;
48
- close(): Promise<void>;
49
- create(params: CreateConversationParams): Promise<void>;
50
- getMembers(): Promise<ThreadMember[]>;
51
- }
52
-
53
- export { ConversationsClient, type CreateConversationParams, type OpenConversationParams };
@@ -1,25 +0,0 @@
1
- 'use strict';
2
-
3
- class ConversationsClient {
4
- window;
5
- constructor(client) {
6
- this.window = client;
7
- }
8
- async open(params) {
9
- await this.window.send("conversations.openConversation", params);
10
- }
11
- async close() {
12
- await this.window.send("conversations.closeConversation");
13
- }
14
- async create(params) {
15
- await this.window.send("chat.openChat", params);
16
- }
17
- async getMembers() {
18
- const [{ members }] = await this.window.send("getChatMembers");
19
- return members;
20
- }
21
- }
22
-
23
- exports.ConversationsClient = ConversationsClient;
24
- //# sourceMappingURL=conversation.js.map
25
- //# sourceMappingURL=conversation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/conversation.ts"],"names":[],"mappings":";;AAgDO,MAAM,mBAAoB,CAAA;AAAA,EACtB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAgC,EAAA;AACzC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,gCAAA,EAAkC,MAAM,CAAA;AAAA;AACjE,EAEA,MAAM,KAAQ,GAAA;AACZ,IAAM,MAAA,IAAA,CAAK,MAAO,CAAA,IAAA,CAAK,iCAAiC,CAAA;AAAA;AAC1D,EAEA,MAAM,OAAO,MAAkC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,eAAA,EAAiB,MAAM,CAAA;AAAA;AAChD,EAEA,MAAM,UAAa,GAAA;AACjB,IAAM,MAAA,CAAC,EAAE,OAAQ,EAAC,IAChB,MAAM,IAAA,CAAK,MAAO,CAAA,IAAA,CAAyC,gBAAgB,CAAA;AAE7E,IAAO,OAAA,OAAA;AAAA;AAEX","file":"conversation.js","sourcesContent":["import { ThreadMember } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport type OpenConversationParams = {\n /**\n * The Id of the subEntity where the conversation is taking place\n */\n subEntityId: string;\n\n /**\n * The title of the conversation\n */\n title: string;\n\n /**\n * The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before\n */\n conversationId?: string;\n\n /**\n * The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope\n */\n channelId?: string;\n\n /**\n * The entity Id of the tab\n */\n entityId: string;\n};\n\nexport type CreateConversationParams = {\n /**\n * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)\n * of users with whom to begin a chat\n */\n members: string[];\n\n /**\n * An optional message used when initiating chat\n */\n message?: string;\n\n /**\n * The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)\n */\n topic?: string;\n};\n\nexport class ConversationsClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async open(params: OpenConversationParams) {\n await this.window.send('conversations.openConversation', params);\n }\n\n async close() {\n await this.window.send('conversations.closeConversation');\n }\n\n async create(params: CreateConversationParams) {\n await this.window.send('chat.openChat', params);\n }\n\n async getMembers() {\n const [{ members }] =\n await this.window.send<[{ members: Array<ThreadMember> }]>('getChatMembers');\n\n return members;\n }\n}\n"]}
@@ -1,23 +0,0 @@
1
- class ConversationsClient {
2
- window;
3
- constructor(client) {
4
- this.window = client;
5
- }
6
- async open(params) {
7
- await this.window.send("conversations.openConversation", params);
8
- }
9
- async close() {
10
- await this.window.send("conversations.closeConversation");
11
- }
12
- async create(params) {
13
- await this.window.send("chat.openChat", params);
14
- }
15
- async getMembers() {
16
- const [{ members }] = await this.window.send("getChatMembers");
17
- return members;
18
- }
19
- }
20
-
21
- export { ConversationsClient };
22
- //# sourceMappingURL=conversation.mjs.map
23
- //# sourceMappingURL=conversation.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../../src/window/clients/conversation.ts"],"names":[],"mappings":"AAgDO,MAAM,mBAAoB,CAAA;AAAA,EACtB,MAAA;AAAA,EAET,YAAY,MAAsB,EAAA;AAChC,IAAA,IAAA,CAAK,MAAS,GAAA,MAAA;AAAA;AAChB,EAEA,MAAM,KAAK,MAAgC,EAAA;AACzC,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,gCAAA,EAAkC,MAAM,CAAA;AAAA;AACjE,EAEA,MAAM,KAAQ,GAAA;AACZ,IAAM,MAAA,IAAA,CAAK,MAAO,CAAA,IAAA,CAAK,iCAAiC,CAAA;AAAA;AAC1D,EAEA,MAAM,OAAO,MAAkC,EAAA;AAC7C,IAAA,MAAM,IAAK,CAAA,MAAA,CAAO,IAAK,CAAA,eAAA,EAAiB,MAAM,CAAA;AAAA;AAChD,EAEA,MAAM,UAAa,GAAA;AACjB,IAAM,MAAA,CAAC,EAAE,OAAQ,EAAC,IAChB,MAAM,IAAA,CAAK,MAAO,CAAA,IAAA,CAAyC,gBAAgB,CAAA;AAE7E,IAAO,OAAA,OAAA;AAAA;AAEX","file":"conversation.mjs","sourcesContent":["import { ThreadMember } from '../types';\nimport { WindowClient } from '../window-client';\n\nexport type OpenConversationParams = {\n /**\n * The Id of the subEntity where the conversation is taking place\n */\n subEntityId: string;\n\n /**\n * The title of the conversation\n */\n title: string;\n\n /**\n * The Id of the conversation. This is optional and should be specified whenever a previous conversation about a specific sub-entity has already been started before\n */\n conversationId?: string;\n\n /**\n * The Id of the channel. This is optional and should be specified whenever a conversation is started or opened in a personal app scope\n */\n channelId?: string;\n\n /**\n * The entity Id of the tab\n */\n entityId: string;\n};\n\nexport type CreateConversationParams = {\n /**\n * Array containing [Microsoft Entra UPNs](https://learn.microsoft.com/entra/identity/hybrid/connect/plan-connect-userprincipalname) (usually but not always an e-mail address)\n * of users with whom to begin a chat\n */\n members: string[];\n\n /**\n * An optional message used when initiating chat\n */\n message?: string;\n\n /**\n * The display name of a conversation for 3 or more users (chats with fewer than three users will ignore this field)\n */\n topic?: string;\n};\n\nexport class ConversationsClient {\n readonly window: WindowClient;\n\n constructor(client: WindowClient) {\n this.window = client;\n }\n\n async open(params: OpenConversationParams) {\n await this.window.send('conversations.openConversation', params);\n }\n\n async close() {\n await this.window.send('conversations.closeConversation');\n }\n\n async create(params: CreateConversationParams) {\n await this.window.send('chat.openChat', params);\n }\n\n async getMembers() {\n const [{ members }] =\n await this.window.send<[{ members: Array<ThreadMember> }]>('getChatMembers');\n\n return members;\n }\n}\n"]}
@@ -1,81 +0,0 @@
1
- import { WindowClient } from '../window-client.mjs';
2
- import { DialogSize } from '../types/dialog/dialog-size.mjs';
3
- import '@microsoft/teams.common';
4
- import '../message.mjs';
5
- import '../client-error.mjs';
6
- import '../types/dialog/dialog-dimension.mjs';
7
-
8
- /**
9
- * Shared Dialog Properties
10
- */
11
- type BaseDialogParams = {
12
- /**
13
- * Title of the dialog module.
14
- */
15
- title?: string;
16
- /**
17
- * The requested size of the dialog
18
- */
19
- size: DialogSize;
20
- };
21
- /**
22
- * Data structure to describe dialog information needed to open an Adaptive Card-based dialog.
23
- */
24
- type AdaptiveCardDialogParams = BaseDialogParams & {
25
- /**
26
- * JSON defining an Adaptive Card.
27
- */
28
- card: string;
29
- };
30
- /**
31
- * Data structure to describe dialog information needed to open a bot-based Adaptive Card-based dialog.
32
- */
33
- type BotAdaptiveCardDialogParams = AdaptiveCardDialogParams & {
34
- /**
35
- * Specifies a bot ID to send the result of the user's interaction with the dialog module.
36
- * The bot will receive a task/complete invoke event with a JSON object
37
- * in the event payload.
38
- */
39
- completionBotId: string;
40
- };
41
- /**
42
- * Data structure to describe dialog information needed to open a url-based dialog.
43
- */
44
- type UrlDialogParams = BaseDialogParams & {
45
- /**
46
- * The url to be rendered in the webview/iframe.
47
- *
48
- * @remarks
49
- * The domain of the url must match at least one of the
50
- * valid domains specified in the [validDomains block](https://learn.microsoft.com/microsoftteams/platform/resources/schema/manifest-schema#validdomains) of the app manifest
51
- */
52
- url: string;
53
- /**
54
- * If client doesnt support the URL, the URL that needs to be opened in the browser.
55
- */
56
- fallbackUrl?: string;
57
- };
58
- /**
59
- * Data structure to describe dialog information needed to open a bot based dialog.
60
- */
61
- type BotUrlDialogParams = UrlDialogParams & {
62
- /**
63
- * Specifies a bot ID to send the result of the user's interaction with the task module.
64
- * The bot will receive a task/complete invoke event with a JSON object
65
- * in the event payload.
66
- */
67
- completionBotId: string;
68
- };
69
- type DialogParams = AdaptiveCardDialogParams | BotAdaptiveCardDialogParams | UrlDialogParams | BotUrlDialogParams;
70
- declare class DialogClient {
71
- readonly window: WindowClient;
72
- constructor(client: WindowClient);
73
- open(params: DialogParams): Promise<{
74
- err: string | undefined;
75
- result: string | object;
76
- }>;
77
- submit(result?: string | object, appIds?: string | string[]): Promise<void>;
78
- update(size: DialogSize): Promise<void>;
79
- }
80
-
81
- export { type AdaptiveCardDialogParams, type BotAdaptiveCardDialogParams, type BotUrlDialogParams, DialogClient, type DialogParams, type UrlDialogParams };