@keystrokehq/one_drive 0.1.4 → 0.1.5

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 (661) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-workbook-worksheet.cjs +1 -0
  4. package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
  5. package/dist/actions/add-workbook-worksheet.d.cts +3 -18
  6. package/dist/actions/add-workbook-worksheet.d.cts.map +1 -1
  7. package/dist/actions/add-workbook-worksheet.d.mts +3 -18
  8. package/dist/actions/add-workbook-worksheet.d.mts.map +1 -1
  9. package/dist/actions/add-workbook-worksheet.mjs +1 -0
  10. package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
  11. package/dist/actions/checkin-item.cjs +1 -0
  12. package/dist/actions/checkin-item.cjs.map +1 -1
  13. package/dist/actions/checkin-item.d.cts +3 -18
  14. package/dist/actions/checkin-item.d.cts.map +1 -1
  15. package/dist/actions/checkin-item.d.mts +3 -18
  16. package/dist/actions/checkin-item.d.mts.map +1 -1
  17. package/dist/actions/checkin-item.mjs +1 -0
  18. package/dist/actions/checkin-item.mjs.map +1 -1
  19. package/dist/actions/checkout-item.cjs +1 -0
  20. package/dist/actions/checkout-item.cjs.map +1 -1
  21. package/dist/actions/checkout-item.d.cts +3 -16
  22. package/dist/actions/checkout-item.d.cts.map +1 -1
  23. package/dist/actions/checkout-item.d.mts +3 -16
  24. package/dist/actions/checkout-item.d.mts.map +1 -1
  25. package/dist/actions/checkout-item.mjs +1 -0
  26. package/dist/actions/checkout-item.mjs.map +1 -1
  27. package/dist/actions/clear-workbook-range.cjs +1 -0
  28. package/dist/actions/clear-workbook-range.cjs.map +1 -1
  29. package/dist/actions/clear-workbook-range.d.cts +3 -20
  30. package/dist/actions/clear-workbook-range.d.cts.map +1 -1
  31. package/dist/actions/clear-workbook-range.d.mts +3 -20
  32. package/dist/actions/clear-workbook-range.d.mts.map +1 -1
  33. package/dist/actions/clear-workbook-range.mjs +1 -0
  34. package/dist/actions/clear-workbook-range.mjs.map +1 -1
  35. package/dist/actions/copy-item.cjs +1 -0
  36. package/dist/actions/copy-item.cjs.map +1 -1
  37. package/dist/actions/copy-item.d.cts +3 -27
  38. package/dist/actions/copy-item.d.cts.map +1 -1
  39. package/dist/actions/copy-item.d.mts +3 -27
  40. package/dist/actions/copy-item.d.mts.map +1 -1
  41. package/dist/actions/copy-item.mjs +1 -0
  42. package/dist/actions/copy-item.mjs.map +1 -1
  43. package/dist/actions/create-item-permission.cjs +1 -0
  44. package/dist/actions/create-item-permission.cjs.map +1 -1
  45. package/dist/actions/create-item-permission.d.cts +3 -27
  46. package/dist/actions/create-item-permission.d.cts.map +1 -1
  47. package/dist/actions/create-item-permission.d.mts +3 -27
  48. package/dist/actions/create-item-permission.d.mts.map +1 -1
  49. package/dist/actions/create-item-permission.mjs +1 -0
  50. package/dist/actions/create-item-permission.mjs.map +1 -1
  51. package/dist/actions/create-link.cjs +1 -0
  52. package/dist/actions/create-link.cjs.map +1 -1
  53. package/dist/actions/create-link.d.cts +3 -25
  54. package/dist/actions/create-link.d.cts.map +1 -1
  55. package/dist/actions/create-link.d.mts +3 -25
  56. package/dist/actions/create-link.d.mts.map +1 -1
  57. package/dist/actions/create-link.mjs +1 -0
  58. package/dist/actions/create-link.mjs.map +1 -1
  59. package/dist/actions/create-sharepoint-list-item.cjs +1 -0
  60. package/dist/actions/create-sharepoint-list-item.cjs.map +1 -1
  61. package/dist/actions/create-sharepoint-list-item.d.cts +3 -17
  62. package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
  63. package/dist/actions/create-sharepoint-list-item.d.mts +3 -17
  64. package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
  65. package/dist/actions/create-sharepoint-list-item.mjs +1 -0
  66. package/dist/actions/create-sharepoint-list-item.mjs.map +1 -1
  67. package/dist/actions/delete-item-permanently.cjs +1 -0
  68. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  69. package/dist/actions/delete-item-permanently.d.cts +3 -16
  70. package/dist/actions/delete-item-permanently.d.cts.map +1 -1
  71. package/dist/actions/delete-item-permanently.d.mts +3 -16
  72. package/dist/actions/delete-item-permanently.d.mts.map +1 -1
  73. package/dist/actions/delete-item-permanently.mjs +1 -0
  74. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  75. package/dist/actions/delete-item-permission.cjs +1 -0
  76. package/dist/actions/delete-item-permission.cjs.map +1 -1
  77. package/dist/actions/delete-item-permission.d.cts +3 -20
  78. package/dist/actions/delete-item-permission.d.cts.map +1 -1
  79. package/dist/actions/delete-item-permission.d.mts +3 -20
  80. package/dist/actions/delete-item-permission.d.mts.map +1 -1
  81. package/dist/actions/delete-item-permission.mjs +1 -0
  82. package/dist/actions/delete-item-permission.mjs.map +1 -1
  83. package/dist/actions/delete-item.cjs +1 -0
  84. package/dist/actions/delete-item.cjs.map +1 -1
  85. package/dist/actions/delete-item.d.cts +3 -18
  86. package/dist/actions/delete-item.d.cts.map +1 -1
  87. package/dist/actions/delete-item.d.mts +3 -18
  88. package/dist/actions/delete-item.d.mts.map +1 -1
  89. package/dist/actions/delete-item.mjs +1 -0
  90. package/dist/actions/delete-item.mjs.map +1 -1
  91. package/dist/actions/delete-share-permission.cjs +1 -0
  92. package/dist/actions/delete-share-permission.cjs.map +1 -1
  93. package/dist/actions/delete-share-permission.d.cts +3 -15
  94. package/dist/actions/delete-share-permission.d.cts.map +1 -1
  95. package/dist/actions/delete-share-permission.d.mts +3 -15
  96. package/dist/actions/delete-share-permission.d.mts.map +1 -1
  97. package/dist/actions/delete-share-permission.mjs +1 -0
  98. package/dist/actions/delete-share-permission.mjs.map +1 -1
  99. package/dist/actions/delete-sharepoint-item-permission.cjs +1 -0
  100. package/dist/actions/delete-sharepoint-item-permission.cjs.map +1 -1
  101. package/dist/actions/delete-sharepoint-item-permission.d.cts +3 -18
  102. package/dist/actions/delete-sharepoint-item-permission.d.cts.map +1 -1
  103. package/dist/actions/delete-sharepoint-item-permission.d.mts +3 -18
  104. package/dist/actions/delete-sharepoint-item-permission.d.mts.map +1 -1
  105. package/dist/actions/delete-sharepoint-item-permission.mjs +1 -0
  106. package/dist/actions/delete-sharepoint-item-permission.mjs.map +1 -1
  107. package/dist/actions/delete-workbook-range.cjs +1 -0
  108. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  109. package/dist/actions/delete-workbook-range.d.cts +3 -19
  110. package/dist/actions/delete-workbook-range.d.cts.map +1 -1
  111. package/dist/actions/delete-workbook-range.d.mts +3 -19
  112. package/dist/actions/delete-workbook-range.d.mts.map +1 -1
  113. package/dist/actions/delete-workbook-range.mjs +1 -0
  114. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  115. package/dist/actions/delete-workbook-worksheet.cjs +1 -0
  116. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  117. package/dist/actions/delete-workbook-worksheet.d.cts +3 -18
  118. package/dist/actions/delete-workbook-worksheet.d.cts.map +1 -1
  119. package/dist/actions/delete-workbook-worksheet.d.mts +3 -18
  120. package/dist/actions/delete-workbook-worksheet.d.mts.map +1 -1
  121. package/dist/actions/delete-workbook-worksheet.mjs +1 -0
  122. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  123. package/dist/actions/discard-checkout.cjs +1 -0
  124. package/dist/actions/discard-checkout.cjs.map +1 -1
  125. package/dist/actions/discard-checkout.d.cts +3 -16
  126. package/dist/actions/discard-checkout.d.cts.map +1 -1
  127. package/dist/actions/discard-checkout.d.mts +3 -16
  128. package/dist/actions/discard-checkout.d.mts.map +1 -1
  129. package/dist/actions/discard-checkout.mjs +1 -0
  130. package/dist/actions/discard-checkout.mjs.map +1 -1
  131. package/dist/actions/download-file-by-path.cjs +1 -0
  132. package/dist/actions/download-file-by-path.cjs.map +1 -1
  133. package/dist/actions/download-file-by-path.d.cts +3 -17
  134. package/dist/actions/download-file-by-path.d.cts.map +1 -1
  135. package/dist/actions/download-file-by-path.d.mts +3 -17
  136. package/dist/actions/download-file-by-path.d.mts.map +1 -1
  137. package/dist/actions/download-file-by-path.mjs +1 -0
  138. package/dist/actions/download-file-by-path.mjs.map +1 -1
  139. package/dist/actions/download-file.cjs +1 -0
  140. package/dist/actions/download-file.cjs.map +1 -1
  141. package/dist/actions/download-file.d.cts +3 -20
  142. package/dist/actions/download-file.d.cts.map +1 -1
  143. package/dist/actions/download-file.d.mts +3 -20
  144. package/dist/actions/download-file.d.mts.map +1 -1
  145. package/dist/actions/download-file.mjs +1 -0
  146. package/dist/actions/download-file.mjs.map +1 -1
  147. package/dist/actions/download-item-as-format.cjs +1 -0
  148. package/dist/actions/download-item-as-format.cjs.map +1 -1
  149. package/dist/actions/download-item-as-format.d.cts +3 -20
  150. package/dist/actions/download-item-as-format.d.cts.map +1 -1
  151. package/dist/actions/download-item-as-format.d.mts +3 -20
  152. package/dist/actions/download-item-as-format.d.mts.map +1 -1
  153. package/dist/actions/download-item-as-format.mjs +1 -0
  154. package/dist/actions/download-item-as-format.mjs.map +1 -1
  155. package/dist/actions/download-item-version.cjs +1 -0
  156. package/dist/actions/download-item-version.cjs.map +1 -1
  157. package/dist/actions/download-item-version.d.cts +3 -18
  158. package/dist/actions/download-item-version.d.cts.map +1 -1
  159. package/dist/actions/download-item-version.d.mts +3 -18
  160. package/dist/actions/download-item-version.d.mts.map +1 -1
  161. package/dist/actions/download-item-version.mjs +1 -0
  162. package/dist/actions/download-item-version.mjs.map +1 -1
  163. package/dist/actions/follow-item.cjs +1 -0
  164. package/dist/actions/follow-item.cjs.map +1 -1
  165. package/dist/actions/follow-item.d.cts +3 -16
  166. package/dist/actions/follow-item.d.cts.map +1 -1
  167. package/dist/actions/follow-item.d.mts +3 -16
  168. package/dist/actions/follow-item.d.mts.map +1 -1
  169. package/dist/actions/follow-item.mjs +1 -0
  170. package/dist/actions/follow-item.mjs.map +1 -1
  171. package/dist/actions/get-document-comments.cjs +1 -0
  172. package/dist/actions/get-document-comments.cjs.map +1 -1
  173. package/dist/actions/get-document-comments.d.cts +3 -17
  174. package/dist/actions/get-document-comments.d.cts.map +1 -1
  175. package/dist/actions/get-document-comments.d.mts +3 -17
  176. package/dist/actions/get-document-comments.d.mts.map +1 -1
  177. package/dist/actions/get-document-comments.mjs +1 -0
  178. package/dist/actions/get-document-comments.mjs.map +1 -1
  179. package/dist/actions/get-drive-item-by-sharing-url.cjs +1 -0
  180. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  181. package/dist/actions/get-drive-item-by-sharing-url.d.cts +3 -19
  182. package/dist/actions/get-drive-item-by-sharing-url.d.cts.map +1 -1
  183. package/dist/actions/get-drive-item-by-sharing-url.d.mts +3 -19
  184. package/dist/actions/get-drive-item-by-sharing-url.d.mts.map +1 -1
  185. package/dist/actions/get-drive-item-by-sharing-url.mjs +1 -0
  186. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  187. package/dist/actions/get-drive.cjs +1 -0
  188. package/dist/actions/get-drive.cjs.map +1 -1
  189. package/dist/actions/get-drive.d.cts +3 -17
  190. package/dist/actions/get-drive.d.cts.map +1 -1
  191. package/dist/actions/get-drive.d.mts +3 -17
  192. package/dist/actions/get-drive.d.mts.map +1 -1
  193. package/dist/actions/get-drive.mjs +1 -0
  194. package/dist/actions/get-drive.mjs.map +1 -1
  195. package/dist/actions/get-followed-item.cjs +1 -0
  196. package/dist/actions/get-followed-item.cjs.map +1 -1
  197. package/dist/actions/get-followed-item.d.cts +3 -16
  198. package/dist/actions/get-followed-item.d.cts.map +1 -1
  199. package/dist/actions/get-followed-item.d.mts +3 -16
  200. package/dist/actions/get-followed-item.d.mts.map +1 -1
  201. package/dist/actions/get-followed-item.mjs +1 -0
  202. package/dist/actions/get-followed-item.mjs.map +1 -1
  203. package/dist/actions/get-group-drive.cjs +1 -0
  204. package/dist/actions/get-group-drive.cjs.map +1 -1
  205. package/dist/actions/get-group-drive.d.cts +3 -16
  206. package/dist/actions/get-group-drive.d.cts.map +1 -1
  207. package/dist/actions/get-group-drive.d.mts +3 -16
  208. package/dist/actions/get-group-drive.d.mts.map +1 -1
  209. package/dist/actions/get-group-drive.mjs +1 -0
  210. package/dist/actions/get-group-drive.mjs.map +1 -1
  211. package/dist/actions/get-item-permissions.cjs +1 -0
  212. package/dist/actions/get-item-permissions.cjs.map +1 -1
  213. package/dist/actions/get-item-permissions.d.cts +3 -22
  214. package/dist/actions/get-item-permissions.d.cts.map +1 -1
  215. package/dist/actions/get-item-permissions.d.mts +3 -22
  216. package/dist/actions/get-item-permissions.d.mts.map +1 -1
  217. package/dist/actions/get-item-permissions.mjs +1 -0
  218. package/dist/actions/get-item-permissions.mjs.map +1 -1
  219. package/dist/actions/get-item-thumbnails.cjs +1 -0
  220. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  221. package/dist/actions/get-item-thumbnails.d.cts +3 -21
  222. package/dist/actions/get-item-thumbnails.d.cts.map +1 -1
  223. package/dist/actions/get-item-thumbnails.d.mts +3 -21
  224. package/dist/actions/get-item-thumbnails.d.mts.map +1 -1
  225. package/dist/actions/get-item-thumbnails.mjs +1 -0
  226. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  227. package/dist/actions/get-item-versions.cjs +1 -0
  228. package/dist/actions/get-item-versions.cjs.map +1 -1
  229. package/dist/actions/get-item-versions.d.cts +3 -19
  230. package/dist/actions/get-item-versions.d.cts.map +1 -1
  231. package/dist/actions/get-item-versions.d.mts +3 -19
  232. package/dist/actions/get-item-versions.d.mts.map +1 -1
  233. package/dist/actions/get-item-versions.mjs +1 -0
  234. package/dist/actions/get-item-versions.mjs.map +1 -1
  235. package/dist/actions/get-item.cjs +1 -0
  236. package/dist/actions/get-item.cjs.map +1 -1
  237. package/dist/actions/get-item.d.cts +3 -18
  238. package/dist/actions/get-item.d.cts.map +1 -1
  239. package/dist/actions/get-item.d.mts +3 -18
  240. package/dist/actions/get-item.d.mts.map +1 -1
  241. package/dist/actions/get-item.mjs +1 -0
  242. package/dist/actions/get-item.mjs.map +1 -1
  243. package/dist/actions/get-root.cjs +1 -0
  244. package/dist/actions/get-root.cjs.map +1 -1
  245. package/dist/actions/get-root.d.cts +3 -16
  246. package/dist/actions/get-root.d.cts.map +1 -1
  247. package/dist/actions/get-root.d.mts +3 -16
  248. package/dist/actions/get-root.d.mts.map +1 -1
  249. package/dist/actions/get-root.mjs +1 -0
  250. package/dist/actions/get-root.mjs.map +1 -1
  251. package/dist/actions/get-share.cjs +1 -0
  252. package/dist/actions/get-share.cjs.map +1 -1
  253. package/dist/actions/get-share.d.cts +3 -17
  254. package/dist/actions/get-share.d.cts.map +1 -1
  255. package/dist/actions/get-share.d.mts +3 -17
  256. package/dist/actions/get-share.d.mts.map +1 -1
  257. package/dist/actions/get-share.mjs +1 -0
  258. package/dist/actions/get-share.mjs.map +1 -1
  259. package/dist/actions/get-sharepoint-list-items.cjs +1 -0
  260. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  261. package/dist/actions/get-sharepoint-list-items.d.cts +3 -23
  262. package/dist/actions/get-sharepoint-list-items.d.cts.map +1 -1
  263. package/dist/actions/get-sharepoint-list-items.d.mts +3 -23
  264. package/dist/actions/get-sharepoint-list-items.d.mts.map +1 -1
  265. package/dist/actions/get-sharepoint-list-items.mjs +1 -0
  266. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  267. package/dist/actions/get-site-page-content.cjs +1 -0
  268. package/dist/actions/get-site-page-content.cjs.map +1 -1
  269. package/dist/actions/get-site-page-content.d.cts +3 -18
  270. package/dist/actions/get-site-page-content.d.cts.map +1 -1
  271. package/dist/actions/get-site-page-content.d.mts +3 -18
  272. package/dist/actions/get-site-page-content.d.mts.map +1 -1
  273. package/dist/actions/get-site-page-content.mjs +1 -0
  274. package/dist/actions/get-site-page-content.mjs.map +1 -1
  275. package/dist/actions/get-site.cjs +1 -0
  276. package/dist/actions/get-site.cjs.map +1 -1
  277. package/dist/actions/get-site.d.cts +3 -17
  278. package/dist/actions/get-site.d.cts.map +1 -1
  279. package/dist/actions/get-site.d.mts +3 -17
  280. package/dist/actions/get-site.d.mts.map +1 -1
  281. package/dist/actions/get-site.mjs +1 -0
  282. package/dist/actions/get-site.mjs.map +1 -1
  283. package/dist/actions/get-special-folder.cjs +1 -0
  284. package/dist/actions/get-special-folder.cjs.map +1 -1
  285. package/dist/actions/get-special-folder.d.cts +3 -18
  286. package/dist/actions/get-special-folder.d.cts.map +1 -1
  287. package/dist/actions/get-special-folder.d.mts +3 -18
  288. package/dist/actions/get-special-folder.d.mts.map +1 -1
  289. package/dist/actions/get-special-folder.mjs +1 -0
  290. package/dist/actions/get-special-folder.mjs.map +1 -1
  291. package/dist/actions/get-user.cjs +1 -0
  292. package/dist/actions/get-user.cjs.map +1 -1
  293. package/dist/actions/get-user.d.cts +3 -16
  294. package/dist/actions/get-user.d.cts.map +1 -1
  295. package/dist/actions/get-user.d.mts +3 -16
  296. package/dist/actions/get-user.d.mts.map +1 -1
  297. package/dist/actions/get-user.mjs +1 -0
  298. package/dist/actions/get-user.mjs.map +1 -1
  299. package/dist/actions/get-workbook-used-range.cjs +1 -0
  300. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  301. package/dist/actions/get-workbook-used-range.d.cts +3 -19
  302. package/dist/actions/get-workbook-used-range.d.cts.map +1 -1
  303. package/dist/actions/get-workbook-used-range.d.mts +3 -19
  304. package/dist/actions/get-workbook-used-range.d.mts.map +1 -1
  305. package/dist/actions/get-workbook-used-range.mjs +1 -0
  306. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  307. package/dist/actions/get-workbook-worksheet.cjs +1 -0
  308. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  309. package/dist/actions/get-workbook-worksheet.d.cts +3 -19
  310. package/dist/actions/get-workbook-worksheet.d.cts.map +1 -1
  311. package/dist/actions/get-workbook-worksheet.d.mts +3 -19
  312. package/dist/actions/get-workbook-worksheet.d.mts.map +1 -1
  313. package/dist/actions/get-workbook-worksheet.mjs +1 -0
  314. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  315. package/dist/actions/grant-share-permission.cjs +1 -0
  316. package/dist/actions/grant-share-permission.cjs.map +1 -1
  317. package/dist/actions/grant-share-permission.d.cts +3 -20
  318. package/dist/actions/grant-share-permission.d.cts.map +1 -1
  319. package/dist/actions/grant-share-permission.d.mts +3 -20
  320. package/dist/actions/grant-share-permission.d.mts.map +1 -1
  321. package/dist/actions/grant-share-permission.mjs +1 -0
  322. package/dist/actions/grant-share-permission.mjs.map +1 -1
  323. package/dist/actions/grant-sharepoint-item-permission.cjs +1 -0
  324. package/dist/actions/grant-sharepoint-item-permission.cjs.map +1 -1
  325. package/dist/actions/grant-sharepoint-item-permission.d.cts +3 -24
  326. package/dist/actions/grant-sharepoint-item-permission.d.cts.map +1 -1
  327. package/dist/actions/grant-sharepoint-item-permission.d.mts +3 -24
  328. package/dist/actions/grant-sharepoint-item-permission.d.mts.map +1 -1
  329. package/dist/actions/grant-sharepoint-item-permission.mjs +1 -0
  330. package/dist/actions/grant-sharepoint-item-permission.mjs.map +1 -1
  331. package/dist/actions/invite-user-to-item.cjs +1 -0
  332. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  333. package/dist/actions/invite-user-to-item.d.cts +3 -32
  334. package/dist/actions/invite-user-to-item.d.cts.map +1 -1
  335. package/dist/actions/invite-user-to-item.d.mts +3 -32
  336. package/dist/actions/invite-user-to-item.d.mts.map +1 -1
  337. package/dist/actions/invite-user-to-item.mjs +1 -0
  338. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  339. package/dist/actions/list-activities.cjs +1 -0
  340. package/dist/actions/list-activities.cjs.map +1 -1
  341. package/dist/actions/list-activities.d.cts +3 -16
  342. package/dist/actions/list-activities.d.cts.map +1 -1
  343. package/dist/actions/list-activities.d.mts +3 -16
  344. package/dist/actions/list-activities.d.mts.map +1 -1
  345. package/dist/actions/list-activities.mjs +1 -0
  346. package/dist/actions/list-activities.mjs.map +1 -1
  347. package/dist/actions/list-all-drive-items.cjs +1 -0
  348. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  349. package/dist/actions/list-all-drive-items.d.cts +3 -17
  350. package/dist/actions/list-all-drive-items.d.cts.map +1 -1
  351. package/dist/actions/list-all-drive-items.d.mts +3 -17
  352. package/dist/actions/list-all-drive-items.d.mts.map +1 -1
  353. package/dist/actions/list-all-drive-items.mjs +1 -0
  354. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  355. package/dist/actions/list-bundles.cjs +1 -0
  356. package/dist/actions/list-bundles.cjs.map +1 -1
  357. package/dist/actions/list-bundles.d.cts +3 -21
  358. package/dist/actions/list-bundles.d.cts.map +1 -1
  359. package/dist/actions/list-bundles.d.mts +3 -21
  360. package/dist/actions/list-bundles.d.mts.map +1 -1
  361. package/dist/actions/list-bundles.mjs +1 -0
  362. package/dist/actions/list-bundles.mjs.map +1 -1
  363. package/dist/actions/list-drives.cjs +1 -0
  364. package/dist/actions/list-drives.cjs.map +1 -1
  365. package/dist/actions/list-drives.d.cts +3 -22
  366. package/dist/actions/list-drives.d.cts.map +1 -1
  367. package/dist/actions/list-drives.d.mts +3 -22
  368. package/dist/actions/list-drives.d.mts.map +1 -1
  369. package/dist/actions/list-drives.mjs +1 -0
  370. package/dist/actions/list-drives.mjs.map +1 -1
  371. package/dist/actions/list-folder-children.cjs +1 -0
  372. package/dist/actions/list-folder-children.cjs.map +1 -1
  373. package/dist/actions/list-folder-children.d.cts +3 -25
  374. package/dist/actions/list-folder-children.d.cts.map +1 -1
  375. package/dist/actions/list-folder-children.d.mts +3 -25
  376. package/dist/actions/list-folder-children.d.mts.map +1 -1
  377. package/dist/actions/list-folder-children.mjs +1 -0
  378. package/dist/actions/list-folder-children.mjs.map +1 -1
  379. package/dist/actions/list-item-activities.cjs +1 -0
  380. package/dist/actions/list-item-activities.cjs.map +1 -1
  381. package/dist/actions/list-item-activities.d.cts +3 -16
  382. package/dist/actions/list-item-activities.d.cts.map +1 -1
  383. package/dist/actions/list-item-activities.d.mts +3 -16
  384. package/dist/actions/list-item-activities.d.mts.map +1 -1
  385. package/dist/actions/list-item-activities.mjs +1 -0
  386. package/dist/actions/list-item-activities.mjs.map +1 -1
  387. package/dist/actions/list-onedrive-shared-items.cjs +1 -0
  388. package/dist/actions/list-onedrive-shared-items.cjs.map +1 -1
  389. package/dist/actions/list-onedrive-shared-items.d.cts +3 -17
  390. package/dist/actions/list-onedrive-shared-items.d.cts.map +1 -1
  391. package/dist/actions/list-onedrive-shared-items.d.mts +3 -17
  392. package/dist/actions/list-onedrive-shared-items.d.mts.map +1 -1
  393. package/dist/actions/list-onedrive-shared-items.mjs +1 -0
  394. package/dist/actions/list-onedrive-shared-items.mjs.map +1 -1
  395. package/dist/actions/list-root-drive-changes.cjs +1 -0
  396. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  397. package/dist/actions/list-root-drive-changes.d.cts +3 -19
  398. package/dist/actions/list-root-drive-changes.d.cts.map +1 -1
  399. package/dist/actions/list-root-drive-changes.d.mts +3 -19
  400. package/dist/actions/list-root-drive-changes.d.mts.map +1 -1
  401. package/dist/actions/list-root-drive-changes.mjs +1 -0
  402. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  403. package/dist/actions/list-share-permissions.cjs +1 -0
  404. package/dist/actions/list-share-permissions.cjs.map +1 -1
  405. package/dist/actions/list-share-permissions.d.cts +3 -15
  406. package/dist/actions/list-share-permissions.d.cts.map +1 -1
  407. package/dist/actions/list-share-permissions.d.mts +3 -15
  408. package/dist/actions/list-share-permissions.d.mts.map +1 -1
  409. package/dist/actions/list-share-permissions.mjs +1 -0
  410. package/dist/actions/list-share-permissions.mjs.map +1 -1
  411. package/dist/actions/list-sharepoint-item-permissions.cjs +1 -0
  412. package/dist/actions/list-sharepoint-item-permissions.cjs.map +1 -1
  413. package/dist/actions/list-sharepoint-item-permissions.d.cts +3 -19
  414. package/dist/actions/list-sharepoint-item-permissions.d.cts.map +1 -1
  415. package/dist/actions/list-sharepoint-item-permissions.d.mts +3 -19
  416. package/dist/actions/list-sharepoint-item-permissions.d.mts.map +1 -1
  417. package/dist/actions/list-sharepoint-item-permissions.mjs +1 -0
  418. package/dist/actions/list-sharepoint-item-permissions.mjs.map +1 -1
  419. package/dist/actions/list-sharepoint-list-items-delta.cjs +1 -0
  420. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  421. package/dist/actions/list-sharepoint-list-items-delta.d.cts +3 -20
  422. package/dist/actions/list-sharepoint-list-items-delta.d.cts.map +1 -1
  423. package/dist/actions/list-sharepoint-list-items-delta.d.mts +3 -20
  424. package/dist/actions/list-sharepoint-list-items-delta.d.mts.map +1 -1
  425. package/dist/actions/list-sharepoint-list-items-delta.mjs +1 -0
  426. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  427. package/dist/actions/list-site-columns.cjs +1 -0
  428. package/dist/actions/list-site-columns.cjs.map +1 -1
  429. package/dist/actions/list-site-columns.d.cts +3 -22
  430. package/dist/actions/list-site-columns.d.cts.map +1 -1
  431. package/dist/actions/list-site-columns.d.mts +3 -22
  432. package/dist/actions/list-site-columns.d.mts.map +1 -1
  433. package/dist/actions/list-site-columns.mjs +1 -0
  434. package/dist/actions/list-site-columns.mjs.map +1 -1
  435. package/dist/actions/list-site-items-delta.cjs +1 -0
  436. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  437. package/dist/actions/list-site-items-delta.d.cts +3 -19
  438. package/dist/actions/list-site-items-delta.d.cts.map +1 -1
  439. package/dist/actions/list-site-items-delta.d.mts +3 -19
  440. package/dist/actions/list-site-items-delta.d.mts.map +1 -1
  441. package/dist/actions/list-site-items-delta.mjs +1 -0
  442. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  443. package/dist/actions/list-site-lists.cjs +1 -0
  444. package/dist/actions/list-site-lists.cjs.map +1 -1
  445. package/dist/actions/list-site-lists.d.cts +3 -20
  446. package/dist/actions/list-site-lists.d.cts.map +1 -1
  447. package/dist/actions/list-site-lists.d.mts +3 -20
  448. package/dist/actions/list-site-lists.d.mts.map +1 -1
  449. package/dist/actions/list-site-lists.mjs +1 -0
  450. package/dist/actions/list-site-lists.mjs.map +1 -1
  451. package/dist/actions/list-site-subsites.cjs +1 -0
  452. package/dist/actions/list-site-subsites.cjs.map +1 -1
  453. package/dist/actions/list-site-subsites.d.cts +3 -20
  454. package/dist/actions/list-site-subsites.d.cts.map +1 -1
  455. package/dist/actions/list-site-subsites.d.mts +3 -20
  456. package/dist/actions/list-site-subsites.d.mts.map +1 -1
  457. package/dist/actions/list-site-subsites.mjs +1 -0
  458. package/dist/actions/list-site-subsites.mjs.map +1 -1
  459. package/dist/actions/list-subscriptions.cjs +1 -0
  460. package/dist/actions/list-subscriptions.cjs.map +1 -1
  461. package/dist/actions/list-subscriptions.d.cts +3 -13
  462. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  463. package/dist/actions/list-subscriptions.d.mts +3 -13
  464. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  465. package/dist/actions/list-subscriptions.mjs +1 -0
  466. package/dist/actions/list-subscriptions.mjs.map +1 -1
  467. package/dist/actions/list-workbook-worksheets.cjs +1 -0
  468. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  469. package/dist/actions/list-workbook-worksheets.d.cts +3 -20
  470. package/dist/actions/list-workbook-worksheets.d.cts.map +1 -1
  471. package/dist/actions/list-workbook-worksheets.d.mts +3 -20
  472. package/dist/actions/list-workbook-worksheets.d.mts.map +1 -1
  473. package/dist/actions/list-workbook-worksheets.mjs +1 -0
  474. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  475. package/dist/actions/move-item.cjs +1 -0
  476. package/dist/actions/move-item.cjs.map +1 -1
  477. package/dist/actions/move-item.d.cts +3 -25
  478. package/dist/actions/move-item.d.cts.map +1 -1
  479. package/dist/actions/move-item.d.mts +3 -25
  480. package/dist/actions/move-item.d.mts.map +1 -1
  481. package/dist/actions/move-item.mjs +1 -0
  482. package/dist/actions/move-item.mjs.map +1 -1
  483. package/dist/actions/onedrive-create-folder.cjs +1 -0
  484. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  485. package/dist/actions/onedrive-create-folder.d.cts +3 -19
  486. package/dist/actions/onedrive-create-folder.d.cts.map +1 -1
  487. package/dist/actions/onedrive-create-folder.d.mts +3 -19
  488. package/dist/actions/onedrive-create-folder.d.mts.map +1 -1
  489. package/dist/actions/onedrive-create-folder.mjs +1 -0
  490. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  491. package/dist/actions/onedrive-create-text-file.cjs +1 -0
  492. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  493. package/dist/actions/onedrive-create-text-file.d.cts +3 -19
  494. package/dist/actions/onedrive-create-text-file.d.cts.map +1 -1
  495. package/dist/actions/onedrive-create-text-file.d.mts +3 -19
  496. package/dist/actions/onedrive-create-text-file.d.mts.map +1 -1
  497. package/dist/actions/onedrive-create-text-file.mjs +1 -0
  498. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  499. package/dist/actions/onedrive-find-file.cjs +1 -0
  500. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  501. package/dist/actions/onedrive-find-file.d.cts +3 -18
  502. package/dist/actions/onedrive-find-file.d.cts.map +1 -1
  503. package/dist/actions/onedrive-find-file.d.mts +3 -18
  504. package/dist/actions/onedrive-find-file.d.mts.map +1 -1
  505. package/dist/actions/onedrive-find-file.mjs +1 -0
  506. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  507. package/dist/actions/onedrive-find-folder.cjs +1 -0
  508. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  509. package/dist/actions/onedrive-find-folder.d.cts +3 -22
  510. package/dist/actions/onedrive-find-folder.d.cts.map +1 -1
  511. package/dist/actions/onedrive-find-folder.d.mts +3 -22
  512. package/dist/actions/onedrive-find-folder.d.mts.map +1 -1
  513. package/dist/actions/onedrive-find-folder.mjs +1 -0
  514. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  515. package/dist/actions/onedrive-list-items.cjs +1 -0
  516. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  517. package/dist/actions/onedrive-list-items.d.cts +3 -17
  518. package/dist/actions/onedrive-list-items.d.cts.map +1 -1
  519. package/dist/actions/onedrive-list-items.d.mts +3 -17
  520. package/dist/actions/onedrive-list-items.d.mts.map +1 -1
  521. package/dist/actions/onedrive-list-items.mjs +1 -0
  522. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  523. package/dist/actions/onedrive-upload-file.cjs +1 -0
  524. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  525. package/dist/actions/onedrive-upload-file.d.cts +3 -36
  526. package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
  527. package/dist/actions/onedrive-upload-file.d.mts +3 -36
  528. package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
  529. package/dist/actions/onedrive-upload-file.mjs +1 -0
  530. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  531. package/dist/actions/preview-drive-item.cjs +1 -0
  532. package/dist/actions/preview-drive-item.cjs.map +1 -1
  533. package/dist/actions/preview-drive-item.d.cts +3 -22
  534. package/dist/actions/preview-drive-item.d.cts.map +1 -1
  535. package/dist/actions/preview-drive-item.d.mts +3 -22
  536. package/dist/actions/preview-drive-item.d.mts.map +1 -1
  537. package/dist/actions/preview-drive-item.mjs +1 -0
  538. package/dist/actions/preview-drive-item.mjs.map +1 -1
  539. package/dist/actions/read-workbook-range.cjs +1 -0
  540. package/dist/actions/read-workbook-range.cjs.map +1 -1
  541. package/dist/actions/read-workbook-range.d.cts +3 -20
  542. package/dist/actions/read-workbook-range.d.cts.map +1 -1
  543. package/dist/actions/read-workbook-range.d.mts +3 -20
  544. package/dist/actions/read-workbook-range.d.mts.map +1 -1
  545. package/dist/actions/read-workbook-range.mjs +1 -0
  546. package/dist/actions/read-workbook-range.mjs.map +1 -1
  547. package/dist/actions/restore-drive-item.cjs +1 -0
  548. package/dist/actions/restore-drive-item.cjs.map +1 -1
  549. package/dist/actions/restore-drive-item.d.cts +3 -18
  550. package/dist/actions/restore-drive-item.d.cts.map +1 -1
  551. package/dist/actions/restore-drive-item.d.mts +3 -18
  552. package/dist/actions/restore-drive-item.d.mts.map +1 -1
  553. package/dist/actions/restore-drive-item.mjs +1 -0
  554. package/dist/actions/restore-drive-item.mjs.map +1 -1
  555. package/dist/actions/restore-item-version.cjs +1 -0
  556. package/dist/actions/restore-item-version.cjs.map +1 -1
  557. package/dist/actions/restore-item-version.d.cts +3 -18
  558. package/dist/actions/restore-item-version.d.cts.map +1 -1
  559. package/dist/actions/restore-item-version.d.mts +3 -18
  560. package/dist/actions/restore-item-version.d.mts.map +1 -1
  561. package/dist/actions/restore-item-version.mjs +1 -0
  562. package/dist/actions/restore-item-version.mjs.map +1 -1
  563. package/dist/actions/search-drive-items.cjs +1 -0
  564. package/dist/actions/search-drive-items.cjs.map +1 -1
  565. package/dist/actions/search-drive-items.d.cts +3 -18
  566. package/dist/actions/search-drive-items.d.cts.map +1 -1
  567. package/dist/actions/search-drive-items.d.mts +3 -18
  568. package/dist/actions/search-drive-items.d.mts.map +1 -1
  569. package/dist/actions/search-drive-items.mjs +1 -0
  570. package/dist/actions/search-drive-items.mjs.map +1 -1
  571. package/dist/actions/search-items.cjs +1 -0
  572. package/dist/actions/search-items.cjs.map +1 -1
  573. package/dist/actions/search-items.d.cts +3 -27
  574. package/dist/actions/search-items.d.cts.map +1 -1
  575. package/dist/actions/search-items.d.mts +3 -27
  576. package/dist/actions/search-items.d.mts.map +1 -1
  577. package/dist/actions/search-items.mjs +1 -0
  578. package/dist/actions/search-items.mjs.map +1 -1
  579. package/dist/actions/unfollow-item.cjs +1 -0
  580. package/dist/actions/unfollow-item.cjs.map +1 -1
  581. package/dist/actions/unfollow-item.d.cts +3 -15
  582. package/dist/actions/unfollow-item.d.cts.map +1 -1
  583. package/dist/actions/unfollow-item.d.mts +3 -15
  584. package/dist/actions/unfollow-item.d.mts.map +1 -1
  585. package/dist/actions/unfollow-item.mjs +1 -0
  586. package/dist/actions/unfollow-item.mjs.map +1 -1
  587. package/dist/actions/update-drive-item-metadata.cjs +1 -0
  588. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  589. package/dist/actions/update-drive-item-metadata.d.cts +3 -29
  590. package/dist/actions/update-drive-item-metadata.d.cts.map +1 -1
  591. package/dist/actions/update-drive-item-metadata.d.mts +3 -29
  592. package/dist/actions/update-drive-item-metadata.d.mts.map +1 -1
  593. package/dist/actions/update-drive-item-metadata.mjs +1 -0
  594. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  595. package/dist/actions/update-drive-items-permissions.cjs +1 -0
  596. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  597. package/dist/actions/update-drive-items-permissions.d.cts +3 -21
  598. package/dist/actions/update-drive-items-permissions.d.cts.map +1 -1
  599. package/dist/actions/update-drive-items-permissions.d.mts +3 -21
  600. package/dist/actions/update-drive-items-permissions.d.mts.map +1 -1
  601. package/dist/actions/update-drive-items-permissions.mjs +1 -0
  602. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  603. package/dist/actions/update-file-content.cjs +1 -0
  604. package/dist/actions/update-file-content.cjs.map +1 -1
  605. package/dist/actions/update-file-content.d.cts +3 -40
  606. package/dist/actions/update-file-content.d.cts.map +1 -1
  607. package/dist/actions/update-file-content.d.mts +3 -40
  608. package/dist/actions/update-file-content.d.mts.map +1 -1
  609. package/dist/actions/update-file-content.mjs +1 -0
  610. package/dist/actions/update-file-content.mjs.map +1 -1
  611. package/dist/actions/update-sharepoint-item-permission.cjs +1 -0
  612. package/dist/actions/update-sharepoint-item-permission.cjs.map +1 -1
  613. package/dist/actions/update-sharepoint-item-permission.d.cts +3 -19
  614. package/dist/actions/update-sharepoint-item-permission.d.cts.map +1 -1
  615. package/dist/actions/update-sharepoint-item-permission.d.mts +3 -19
  616. package/dist/actions/update-sharepoint-item-permission.d.mts.map +1 -1
  617. package/dist/actions/update-sharepoint-item-permission.mjs +1 -0
  618. package/dist/actions/update-sharepoint-item-permission.mjs.map +1 -1
  619. package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -0
  620. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  621. package/dist/actions/update-sharepoint-list-item-fields.d.cts +3 -19
  622. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
  623. package/dist/actions/update-sharepoint-list-item-fields.d.mts +3 -19
  624. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
  625. package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -0
  626. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  627. package/dist/actions/update-workbook-range.cjs +1 -0
  628. package/dist/actions/update-workbook-range.cjs.map +1 -1
  629. package/dist/actions/update-workbook-range.d.cts +3 -22
  630. package/dist/actions/update-workbook-range.d.cts.map +1 -1
  631. package/dist/actions/update-workbook-range.d.mts +3 -22
  632. package/dist/actions/update-workbook-range.d.mts.map +1 -1
  633. package/dist/actions/update-workbook-range.mjs +1 -0
  634. package/dist/actions/update-workbook-range.mjs.map +1 -1
  635. package/dist/actions/update-workbook-worksheet.cjs +1 -0
  636. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  637. package/dist/actions/update-workbook-worksheet.d.cts +3 -21
  638. package/dist/actions/update-workbook-worksheet.d.cts.map +1 -1
  639. package/dist/actions/update-workbook-worksheet.d.mts +3 -21
  640. package/dist/actions/update-workbook-worksheet.d.mts.map +1 -1
  641. package/dist/actions/update-workbook-worksheet.mjs +1 -0
  642. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  643. package/dist/actions/write-workbook-cell.cjs +1 -0
  644. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  645. package/dist/actions/write-workbook-cell.d.cts +3 -23
  646. package/dist/actions/write-workbook-cell.d.cts.map +1 -1
  647. package/dist/actions/write-workbook-cell.d.mts +3 -23
  648. package/dist/actions/write-workbook-cell.d.mts.map +1 -1
  649. package/dist/actions/write-workbook-cell.mjs +1 -0
  650. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  651. package/dist/app.cjs +2 -2
  652. package/dist/app.cjs.map +1 -1
  653. package/dist/app.d.cts +4 -6
  654. package/dist/app.d.cts.map +1 -1
  655. package/dist/app.d.mts +4 -6
  656. package/dist/app.d.mts.map +1 -1
  657. package/dist/app.mjs +0 -1
  658. package/dist/app.mjs.map +1 -1
  659. package/dist/index.d.cts +1 -1
  660. package/dist/index.d.mts +1 -1
  661. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-as-format.d.cts","names":[],"sources":["../../src/actions/download-item-as-format.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"download-item-as-format.d.cts","names":[],"sources":["../../src/actions/download-item-as-format.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/download-item-as-format.d.ts
@@ -19,26 +21,7 @@ declare const OneDriveDownloadItemAsFormatOutput: z.ZodObject<{
19
21
  mimetype: z.ZodNullable<z.ZodString>;
20
22
  }, z.core.$loose>>;
21
23
  }, z.core.$loose>;
22
- declare const oneDriveDownloadItemAsFormat: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- format: "pdf" | "html";
24
- file_name: string;
25
- item_id?: string | undefined;
26
- user_id?: string | undefined;
27
- drive_id?: string | undefined;
28
- path_and_filename?: string | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
30
- connectionId: z.ZodString;
31
- entityId: z.ZodString;
32
- instanceId: z.ZodString;
33
- }, z.core.$strip>, z.ZodObject<{
34
- accessToken: z.ZodString;
35
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
36
- connectionId: z.ZodString;
37
- entityId: z.ZodString;
38
- instanceId: z.ZodString;
39
- }, z.core.$strip>, z.ZodObject<{
40
- accessToken: z.ZodString;
41
- }, z.core.$strip>>]>;
24
+ declare const oneDriveDownloadItemAsFormat: AppAction<typeof OneDriveDownloadItemAsFormatInput, typeof OneDriveDownloadItemAsFormatOutput, typeof oneDrive.credential>;
42
25
  //#endregion
43
26
  export { oneDriveDownloadItemAsFormat };
44
27
  //# sourceMappingURL=download-item-as-format.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-as-format.d.mts","names":[],"sources":["../../src/actions/download-item-as-format.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
1
+ {"version":3,"file":"download-item-as-format.d.mts","names":[],"sources":["../../src/actions/download-item-as-format.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;cAajC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAIlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/download-item-as-format.ts
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-as-format.mjs","names":[],"sources":["../../src/actions/download-item-as-format.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadItemAsFormatInput = z.object({\n format: z.enum([\"pdf\", \"html\"]).describe(\"Format to convert the item to. Use 'pdf' for Office documents (doc, docx, ppt, pptx, xls, xlsx, etc.) or 'html' for Loop/Fluid files (loop, fluid, wbtx).\"),\n item_id: z.string().describe(\"The unique identifier of the driveItem to convert. If provided, this takes precedence over path_and_filename.\").optional(),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. Optional - use for SharePoint document libraries. If not provided, uses the default drive.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded converted content.\"),\n path_and_filename: z.string().describe(\"Path and filename of the driveItem under root (e.g., 'Documents/report.docx' or 'presentation.pptx'). Do not include leading slash. Either item_id or path_and_filename must be provided.\").optional(),\n});\nconst OneDriveDownloadItemAsFormat_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OneDriveDownloadItemAsFormatOutput = z.object({\n content: OneDriveDownloadItemAsFormat_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const oneDriveDownloadItemAsFormat = action(\"ONE_DRIVE_DOWNLOAD_ITEM_AS_FORMAT\", {\n slug: \"one_drive-download-item-as-format\",\n name: \"Download item as format\",\n description: \"Tool to download the contents of a driveItem converted to a specific format (e.g., PDF or HTML). Use when you need to convert Office documents to PDF or Loop/Fluid files to HTML before downloading. Supports accessing items by item_id or by path, and can target specific drives via drive_id.\",\n input: OneDriveDownloadItemAsFormatInput,\n output: OneDriveDownloadItemAsFormatOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2JAA2J;CACpM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACzK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;AAC/O,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,oDAAoD,SAAS,EACxE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"download-item-as-format.mjs","names":[],"sources":["../../src/actions/download-item-as-format.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveDownloadItemAsFormatInput = z.object({\n format: z.enum([\"pdf\", \"html\"]).describe(\"Format to convert the item to. Use 'pdf' for Office documents (doc, docx, ppt, pptx, xls, xlsx, etc.) or 'html' for Loop/Fluid files (loop, fluid, wbtx).\"),\n item_id: z.string().describe(\"The unique identifier of the driveItem to convert. If provided, this takes precedence over path_and_filename.\").optional(),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. Optional - use for SharePoint document libraries. If not provided, uses the default drive.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded converted content.\"),\n path_and_filename: z.string().describe(\"Path and filename of the driveItem under root (e.g., 'Documents/report.docx' or 'presentation.pptx'). Do not include leading slash. Either item_id or path_and_filename must be provided.\").optional(),\n});\nconst OneDriveDownloadItemAsFormat_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OneDriveDownloadItemAsFormatOutput = z.object({\n content: OneDriveDownloadItemAsFormat_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const oneDriveDownloadItemAsFormat: AppAction<\n typeof OneDriveDownloadItemAsFormatInput,\n typeof OneDriveDownloadItemAsFormatOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_DOWNLOAD_ITEM_AS_FORMAT\", {\n slug: \"one_drive-download-item-as-format\",\n name: \"Download item as format\",\n description: \"Tool to download the contents of a driveItem converted to a specific format (e.g., PDF or HTML). Use when you need to convert Office documents to PDF or Loop/Fluid files to HTML before downloading. Supports accessing items by item_id or by path, and can target specific drives via drive_id.\",\n input: OneDriveDownloadItemAsFormatInput,\n output: OneDriveDownloadItemAsFormatOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoC,EAAE,OAAO;CACxD,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2JAA2J;CACpM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACvJ,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACzK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;AAC/O,CAAC;AACD,MAAM,sDAAsD,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,+BAIT,OAAO,qCAAqC;CAC9C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbgD,EAAE,OAAO,EACzD,SAAS,oDAAoD,SAAS,EACxE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/download-item-version.ts
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-version.cjs","names":["z","action"],"sources":["../../src/actions/download-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file). Cannot be a folder ID.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the file. If not provided, defaults to the user's personal OneDrive (me/drive).\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded version content.\"),\n version_id: z.string().describe(\"The ID of the specific version to download (e.g., '1.0', '2.0'). Cannot be the current version - only previous versions can be downloaded using this endpoint.\"),\n});\nconst OneDriveDownloadItemVersion_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const oneDriveDownloadItemVersion = action(\"ONE_DRIVE_DOWNLOAD_ITEM_VERSION\", {\n slug: \"one_drive-download-item-version\",\n name: \"Download Drive Item Version Content\",\n description: \"Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.\",\n input: OneDriveDownloadItemVersionInput,\n output: OneDriveDownloadItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACxK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AAClM,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"download-item-version.cjs","names":["z","action"],"sources":["../../src/actions/download-item-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveDownloadItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file). Cannot be a folder ID.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the file. If not provided, defaults to the user's personal OneDrive (me/drive).\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded version content.\"),\n version_id: z.string().describe(\"The ID of the specific version to download (e.g., '1.0', '2.0'). Cannot be the current version - only previous versions can be downloaded using this endpoint.\"),\n});\nconst OneDriveDownloadItemVersion_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const oneDriveDownloadItemVersion: AppAction<\n typeof OneDriveDownloadItemVersionInput,\n typeof OneDriveDownloadItemVersionOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_DOWNLOAD_ITEM_VERSION\", {\n slug: \"one_drive-download-item-version\",\n name: \"Download Drive Item Version Content\",\n description: \"Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.\",\n input: OneDriveDownloadItemVersionInput,\n output: OneDriveDownloadItemVersionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACxK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AAClM,CAAC;AACD,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/download-item-version.d.ts
@@ -14,24 +16,7 @@ declare const OneDriveDownloadItemVersionOutput: z.ZodObject<{
14
16
  mimetype: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- item_id: string;
19
- file_name: string;
20
- version_id: string;
21
- drive_id?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- accessToken: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>;
19
+ declare const oneDriveDownloadItemVersion: AppAction<typeof OneDriveDownloadItemVersionInput, typeof OneDriveDownloadItemVersionOutput, typeof oneDrive.credential>;
35
20
  //#endregion
36
21
  export { oneDriveDownloadItemVersion };
37
22
  //# sourceMappingURL=download-item-version.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-version.d.cts","names":[],"sources":["../../src/actions/download-item-version.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"download-item-version.d.cts","names":[],"sources":["../../src/actions/download-item-version.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/download-item-version.d.ts
@@ -14,24 +16,7 @@ declare const OneDriveDownloadItemVersionOutput: z.ZodObject<{
14
16
  mimetype: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>>;
16
18
  }, z.core.$loose>;
17
- declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- item_id: string;
19
- file_name: string;
20
- version_id: string;
21
- drive_id?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
23
- connectionId: z.ZodString;
24
- entityId: z.ZodString;
25
- instanceId: z.ZodString;
26
- }, z.core.$strip>, z.ZodObject<{
27
- accessToken: z.ZodString;
28
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>;
19
+ declare const oneDriveDownloadItemVersion: AppAction<typeof OneDriveDownloadItemVersionInput, typeof OneDriveDownloadItemVersionOutput, typeof oneDrive.credential>;
35
20
  //#endregion
36
21
  export { oneDriveDownloadItemVersion };
37
22
  //# sourceMappingURL=download-item-version.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-version.d.mts","names":[],"sources":["../../src/actions/download-item-version.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"download-item-version.d.mts","names":[],"sources":["../../src/actions/download-item-version.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;cAWhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/download-item-version.ts
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-version.mjs","names":[],"sources":["../../src/actions/download-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file). Cannot be a folder ID.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the file. If not provided, defaults to the user's personal OneDrive (me/drive).\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded version content.\"),\n version_id: z.string().describe(\"The ID of the specific version to download (e.g., '1.0', '2.0'). Cannot be the current version - only previous versions can be downloaded using this endpoint.\"),\n});\nconst OneDriveDownloadItemVersion_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const oneDriveDownloadItemVersion = action(\"ONE_DRIVE_DOWNLOAD_ITEM_VERSION\", {\n slug: \"one_drive-download-item-version\",\n name: \"Download Drive Item Version Content\",\n description: \"Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.\",\n input: OneDriveDownloadItemVersionInput,\n output: OneDriveDownloadItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AAClM,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"download-item-version.mjs","names":[],"sources":["../../src/actions/download-item-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveDownloadItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file). Cannot be a folder ID.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the file. If not provided, defaults to the user's personal OneDrive (me/drive).\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded version content.\"),\n version_id: z.string().describe(\"The ID of the specific version to download (e.g., '1.0', '2.0'). Cannot be the current version - only previous versions can be downloaded using this endpoint.\"),\n});\nconst OneDriveDownloadItemVersion_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const oneDriveDownloadItemVersion: AppAction<\n typeof OneDriveDownloadItemVersionInput,\n typeof OneDriveDownloadItemVersionOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_DOWNLOAD_ITEM_VERSION\", {\n slug: \"one_drive-download-item-version\",\n name: \"Download Drive Item Version Content\",\n description: \"Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.\",\n input: OneDriveDownloadItemVersionInput,\n output: OneDriveDownloadItemVersionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AAClM,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/follow-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"follow-item.cjs","names":["z","action"],"sources":["../../src/actions/follow-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveFollowItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to follow. This can be the ID of a personal OneDrive, a group's document library, or a SharePoint site's drive.\"),\n driveItem_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to follow. DriveItem IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API operations like list, search, or folder children queries.\"),\n});\nexport const OneDriveFollowItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the followed item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata as a dict.\").nullable().optional(),\n name: z.string().describe(\"The name of the followed item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the followed item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata as a dict.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item as a dict.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item as a dict.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent item as a dict.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveFollowItem = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACtM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;AACjQ,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CA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,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"follow-item.cjs","names":["z","action"],"sources":["../../src/actions/follow-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveFollowItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to follow. This can be the ID of a personal OneDrive, a group's document library, or a SharePoint site's drive.\"),\n driveItem_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to follow. DriveItem IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API operations like list, search, or folder children queries.\"),\n});\nexport const OneDriveFollowItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the followed item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata as a dict.\").nullable().optional(),\n name: z.string().describe(\"The name of the followed item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the followed item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata as a dict.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item as a dict.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item as a dict.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent item as a dict.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveFollowItem: AppAction<\n typeof OneDriveFollowItemInput,\n typeof OneDriveFollowItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACtM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;AACjQ,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAA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
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/follow-item.d.ts
@@ -20,22 +22,7 @@ declare const OneDriveFollowItemOutput: z.ZodObject<{
20
22
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
23
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>;
23
- declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- drive_id: string;
25
- driveItem_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- accessToken: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- accessToken: z.ZodString;
38
- }, z.core.$strip>>]>;
25
+ declare const oneDriveFollowItem: AppAction<typeof OneDriveFollowItemInput, typeof OneDriveFollowItemOutput, typeof oneDrive.credential>;
39
26
  //#endregion
40
27
  export { oneDriveFollowItem };
41
28
  //# sourceMappingURL=follow-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"follow-item.d.cts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"follow-item.d.cts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/follow-item.d.ts
@@ -20,22 +22,7 @@ declare const OneDriveFollowItemOutput: z.ZodObject<{
20
22
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
23
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>;
23
- declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<{
24
- drive_id: string;
25
- driveItem_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
27
- connectionId: z.ZodString;
28
- entityId: z.ZodString;
29
- instanceId: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- accessToken: z.ZodString;
32
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
33
- connectionId: z.ZodString;
34
- entityId: z.ZodString;
35
- instanceId: z.ZodString;
36
- }, z.core.$strip>, z.ZodObject<{
37
- accessToken: z.ZodString;
38
- }, z.core.$strip>>]>;
25
+ declare const oneDriveFollowItem: AppAction<typeof OneDriveFollowItemInput, typeof OneDriveFollowItemOutput, typeof oneDrive.credential>;
39
26
  //#endregion
40
27
  export { oneDriveFollowItem };
41
28
  //# sourceMappingURL=follow-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"follow-item.d.mts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"follow-item.d.mts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const oneDriveFollowItem = action("ONE_DRIVE_FOLLOW_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"follow-item.mjs","names":[],"sources":["../../src/actions/follow-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveFollowItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to follow. This can be the ID of a personal OneDrive, a group's document library, or a SharePoint site's drive.\"),\n driveItem_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to follow. DriveItem IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API operations like list, search, or folder children queries.\"),\n});\nexport const OneDriveFollowItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the followed item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata as a dict.\").nullable().optional(),\n name: z.string().describe(\"The name of the followed item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the followed item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata as a dict.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item as a dict.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item as a dict.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent item as a dict.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveFollowItem = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;AAwBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBqC,EAAE,OAAO;EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;EACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;CACjQ,CAqBS;CACP,QArBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"follow-item.mjs","names":[],"sources":["../../src/actions/follow-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveFollowItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to follow. This can be the ID of a personal OneDrive, a group's document library, or a SharePoint site's drive.\"),\n driveItem_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to follow. DriveItem IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API operations like list, search, or folder children queries.\"),\n});\nexport const OneDriveFollowItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the followed item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata as a dict.\").nullable().optional(),\n name: z.string().describe(\"The name of the followed item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the followed item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata as a dict.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item as a dict.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item as a dict.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent item as a dict.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveFollowItem: AppAction<\n typeof OneDriveFollowItemInput,\n typeof OneDriveFollowItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;;AA0BA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA5BqC,EAAE,OAAO;EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;EACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;CACjQ,CAyBS;CACP,QAzBsC,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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-document-comments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDocumentCommentsInput = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\").nullable(),\n text: z.string().describe(\"Text content of the comment.\").nullable(),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDocumentCommentsOutput = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n}).passthrough();\n\nexport const oneDriveGetDocumentComments = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output: OneDriveGetDocumentCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS;AACzP,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveGetDocumentCommentsInput = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\").nullable(),\n text: z.string().describe(\"Text content of the comment.\").nullable(),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDocumentCommentsOutput = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n}).passthrough();\n\nexport const oneDriveGetDocumentComments: AppAction<\n typeof OneDriveGetDocumentCommentsInput,\n typeof OneDriveGetDocumentCommentsOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output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AC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-comments.d.ts
@@ -21,23 +23,7 @@ declare const OneDriveGetDocumentCommentsOutput: z.ZodObject<{
21
23
  anchor_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- item_id: string;
26
- user_id?: string | undefined;
27
- drive_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- accessToken: z.ZodString;
40
- }, z.core.$strip>>]>;
26
+ declare const oneDriveGetDocumentComments: AppAction<typeof OneDriveGetDocumentCommentsInput, typeof OneDriveGetDocumentCommentsOutput, typeof oneDrive.credential>;
41
27
  //#endregion
42
28
  export { oneDriveGetDocumentComments };
43
29
  //# sourceMappingURL=get-document-comments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.d.cts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAkBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-document-comments.d.cts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAkBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-document-comments.d.ts
@@ -21,23 +23,7 @@ declare const OneDriveGetDocumentCommentsOutput: z.ZodObject<{
21
23
  anchor_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
24
  }, z.core.$loose>>;
23
25
  }, z.core.$loose>;
24
- declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- item_id: string;
26
- user_id?: string | undefined;
27
- drive_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
- connectionId: z.ZodString;
30
- entityId: z.ZodString;
31
- instanceId: z.ZodString;
32
- }, z.core.$strip>, z.ZodObject<{
33
- accessToken: z.ZodString;
34
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
35
- connectionId: z.ZodString;
36
- entityId: z.ZodString;
37
- instanceId: z.ZodString;
38
- }, z.core.$strip>, z.ZodObject<{
39
- accessToken: z.ZodString;
40
- }, z.core.$strip>>]>;
26
+ declare const oneDriveGetDocumentComments: AppAction<typeof OneDriveGetDocumentCommentsInput, typeof OneDriveGetDocumentCommentsOutput, typeof oneDrive.credential>;
41
27
  //#endregion
42
28
  export { oneDriveGetDocumentComments };
43
29
  //# sourceMappingURL=get-document-comments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.d.mts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAkBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
1
+ {"version":3,"file":"get-document-comments.d.mts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAkBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-document-comments.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.mjs","names":[],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDocumentCommentsInput = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\").nullable(),\n text: z.string().describe(\"Text content of the comment.\").nullable(),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDocumentCommentsOutput = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n}).passthrough();\n\nexport const oneDriveGetDocumentComments = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output: OneDriveGetDocumentCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK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AAO;CACP,QAT+C,EAAE,OAAO,EACxD,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-comments.mjs","names":[],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveGetDocumentCommentsInput = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\").nullable(),\n text: z.string().describe(\"Text content of the comment.\").nullable(),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDocumentCommentsOutput = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n}).passthrough();\n\nexport const oneDriveGetDocumentComments: AppAction<\n typeof OneDriveGetDocumentCommentsInput,\n typeof OneDriveGetDocumentCommentsOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output: OneDriveGetDocumentCommentsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS;AACzP,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/get-drive-item-by-sharing-url.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-drive-item-by-sharing-url.cjs","names":["z","action"],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDriveItemBySharingUrlInput = z.object({\n sharing_url: z.string().describe(\"A OneDrive or SharePoint sharing URL (e.g., 1drv.ms link, SharePoint link, or Teams contentUrl). This will be automatically encoded to a sharing token. Mutually exclusive with share_id_or_encoded_url.\").optional(),\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item. 'redeemSharingLinkIfNecessary' grants access only for this request. If not specified, no Prefer header is sent.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of DriveItem properties to return. If not specified, a default set of properties is returned. Common fields: id, name, size, webUrl, file, folder, createdDateTime, lastModifiedDateTime, parentReference.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the item is a folder, expands the children collection to include child items in the response.\").optional(),\n share_id_or_encoded_url: z.string().describe(\"An already-encoded sharing token (prefixed with 'u!') or a shareId token from a previous API call. Mutually exclusive with sharing_url.\").optional(),\n});\nconst OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema = z.object({\n id: z.string().describe(\"The ID of the parent item.\").nullable().optional(),\n name: z.string().describe(\"The name of the parent item.\").nullable().optional(),\n path: z.string().describe(\"The path to the parent item.\").nullable().optional(),\n driveId: z.string().describe(\"The drive ID containing the item.\").nullable().optional(),\n driveType: z.string().describe(\"The type of drive (e.g., personal, business).\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDriveItemBySharingUrlOutput = z.object({\n id: z.string().describe(\"The unique ID of the drive item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File-specific metadata if the item is a file.\").nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"Folder-specific metadata if the item is a folder.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n item_id: z.string().describe(\"Extracted item ID (same as 'id') for convenience.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the item, if expanded.\").nullable().optional(),\n drive_id: z.string().describe(\"Extracted driveId from parentReference for convenience.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n \"@microsoft.graph.downloadUrl\": z.string().describe(\"Direct download URL for the file (no auth required, 1-hour lifetime).\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetDriveItemBySharingUrl = action(\"ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URL\", {\n slug: \"one_drive-get-drive-item-by-sharing-url\",\n name: \"Get DriveItem by Sharing URL\",\n description: \"Tool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream actions like permissions or download.\",\n input: OneDriveGetDriveItemBySharingUrlInput,\n output: OneDriveGetDriveItemBySharingUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS;CACtP,eAAeA,IAAAA,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrS,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CAC1Q,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3K,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACnM,CAAC;AACD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAA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MAAa,mCAAmCC,eAAAA,OAAO,2CAA2C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-drive-item-by-sharing-url.cjs","names":["z","action"],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveGetDriveItemBySharingUrlInput = z.object({\n sharing_url: z.string().describe(\"A OneDrive or SharePoint sharing URL (e.g., 1drv.ms link, SharePoint link, or Teams contentUrl). This will be automatically encoded to a sharing token. Mutually exclusive with share_id_or_encoded_url.\").optional(),\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item. 'redeemSharingLinkIfNecessary' grants access only for this request. If not specified, no Prefer header is sent.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of DriveItem properties to return. If not specified, a default set of properties is returned. Common fields: id, name, size, webUrl, file, folder, createdDateTime, lastModifiedDateTime, parentReference.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the item is a folder, expands the children collection to include child items in the response.\").optional(),\n share_id_or_encoded_url: z.string().describe(\"An already-encoded sharing token (prefixed with 'u!') or a shareId token from a previous API call. Mutually exclusive with sharing_url.\").optional(),\n});\nconst OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema = z.object({\n id: z.string().describe(\"The ID of the parent item.\").nullable().optional(),\n name: z.string().describe(\"The name of the parent item.\").nullable().optional(),\n path: z.string().describe(\"The path to the parent item.\").nullable().optional(),\n driveId: z.string().describe(\"The drive ID containing the item.\").nullable().optional(),\n driveType: z.string().describe(\"The type of drive (e.g., personal, business).\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDriveItemBySharingUrlOutput = z.object({\n id: z.string().describe(\"The unique ID of the drive item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File-specific metadata if the item is a file.\").nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"Folder-specific metadata if the item is a folder.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n item_id: z.string().describe(\"Extracted item ID (same as 'id') for convenience.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the item, if expanded.\").nullable().optional(),\n drive_id: z.string().describe(\"Extracted driveId from parentReference for convenience.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n \"@microsoft.graph.downloadUrl\": z.string().describe(\"Direct download URL for the file (no auth required, 1-hour lifetime).\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetDriveItemBySharingUrl: AppAction<\n typeof OneDriveGetDriveItemBySharingUrlInput,\n typeof OneDriveGetDriveItemBySharingUrlOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URL\", {\n slug: \"one_drive-get-drive-item-by-sharing-url\",\n name: \"Get DriveItem by Sharing URL\",\n description: \"Tool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream actions like permissions or download.\",\n input: OneDriveGetDriveItem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A,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAITC,eAAAA,OAAO,2CAA2C;CACpD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-drive-item-by-sharing-url.d.ts
@@ -36,25 +38,7 @@ declare const OneDriveGetDriveItemBySharingUrlOutput: z.ZodObject<{
36
38
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
39
  "@microsoft.graph.downloadUrl": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
40
  }, z.core.$loose>;
39
- declare const oneDriveGetDriveItemBySharingUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
40
- sharing_url?: string | undefined;
41
- prefer_redeem?: "redeemSharingLinkIfNecessary" | "redeemSharingLink" | undefined;
42
- select_fields?: string[] | undefined;
43
- expand_children?: boolean | undefined;
44
- share_id_or_encoded_url?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- accessToken: z.ZodString;
51
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- accessToken: z.ZodString;
57
- }, z.core.$strip>>]>;
41
+ declare const oneDriveGetDriveItemBySharingUrl: AppAction<typeof OneDriveGetDriveItemBySharingUrlInput, typeof OneDriveGetDriveItemBySharingUrlOutput, typeof oneDrive.credential>;
58
42
  //#endregion
59
43
  export { oneDriveGetDriveItemBySharingUrl };
60
44
  //# sourceMappingURL=get-drive-item-by-sharing-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-drive-item-by-sharing-url.d.cts","names":[],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAoBtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-drive-item-by-sharing-url.d.cts","names":[],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAoBtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/get-drive-item-by-sharing-url.d.ts
@@ -36,25 +38,7 @@ declare const OneDriveGetDriveItemBySharingUrlOutput: z.ZodObject<{
36
38
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
39
  "@microsoft.graph.downloadUrl": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
40
  }, z.core.$loose>;
39
- declare const oneDriveGetDriveItemBySharingUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
40
- sharing_url?: string | undefined;
41
- prefer_redeem?: "redeemSharingLinkIfNecessary" | "redeemSharingLink" | undefined;
42
- select_fields?: string[] | undefined;
43
- expand_children?: boolean | undefined;
44
- share_id_or_encoded_url?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
46
- connectionId: z.ZodString;
47
- entityId: z.ZodString;
48
- instanceId: z.ZodString;
49
- }, z.core.$strip>, z.ZodObject<{
50
- accessToken: z.ZodString;
51
- }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
52
- connectionId: z.ZodString;
53
- entityId: z.ZodString;
54
- instanceId: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- accessToken: z.ZodString;
57
- }, z.core.$strip>>]>;
41
+ declare const oneDriveGetDriveItemBySharingUrl: AppAction<typeof OneDriveGetDriveItemBySharingUrlInput, typeof OneDriveGetDriveItemBySharingUrlOutput, typeof oneDrive.credential>;
58
42
  //#endregion
59
43
  export { oneDriveGetDriveItemBySharingUrl };
60
44
  //# sourceMappingURL=get-drive-item-by-sharing-url.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-drive-item-by-sharing-url.d.mts","names":[],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAoBtC,gCAAA,gCAAgC,wBAAA"}
1
+ {"version":3,"file":"get-drive-item-by-sharing-url.d.mts","names":[],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"mappings":";;;;;cAMa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAoBtC,gCAAA,EAAkC,SAAA,QACtC,qCAAA,SACA,sCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/get-drive-item-by-sharing-url.ts