@keystrokehq/one_drive 0.1.0 → 0.1.2

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 (620) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-workbook-worksheet.cjs +4 -4
  5. package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
  6. package/dist/actions/add-workbook-worksheet.d.cts +18 -3
  7. package/dist/actions/add-workbook-worksheet.d.cts.map +1 -1
  8. package/dist/actions/add-workbook-worksheet.d.mts +18 -3
  9. package/dist/actions/add-workbook-worksheet.d.mts.map +1 -1
  10. package/dist/actions/add-workbook-worksheet.mjs +4 -4
  11. package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
  12. package/dist/actions/checkin-item.cjs +1 -1
  13. package/dist/actions/checkin-item.cjs.map +1 -1
  14. package/dist/actions/checkin-item.d.cts +15 -3
  15. package/dist/actions/checkin-item.d.cts.map +1 -1
  16. package/dist/actions/checkin-item.d.mts +15 -3
  17. package/dist/actions/checkin-item.d.mts.map +1 -1
  18. package/dist/actions/checkin-item.mjs +1 -1
  19. package/dist/actions/checkin-item.mjs.map +1 -1
  20. package/dist/actions/checkout-item.cjs +1 -1
  21. package/dist/actions/checkout-item.cjs.map +1 -1
  22. package/dist/actions/checkout-item.d.cts +11 -3
  23. package/dist/actions/checkout-item.d.cts.map +1 -1
  24. package/dist/actions/checkout-item.d.mts +11 -3
  25. package/dist/actions/checkout-item.d.mts.map +1 -1
  26. package/dist/actions/checkout-item.mjs +1 -1
  27. package/dist/actions/checkout-item.mjs.map +1 -1
  28. package/dist/actions/clear-workbook-range.cjs +1 -1
  29. package/dist/actions/clear-workbook-range.cjs.map +1 -1
  30. package/dist/actions/clear-workbook-range.d.cts +23 -3
  31. package/dist/actions/clear-workbook-range.d.cts.map +1 -1
  32. package/dist/actions/clear-workbook-range.d.mts +23 -3
  33. package/dist/actions/clear-workbook-range.d.mts.map +1 -1
  34. package/dist/actions/clear-workbook-range.mjs +1 -1
  35. package/dist/actions/clear-workbook-range.mjs.map +1 -1
  36. package/dist/actions/copy-item.cjs +2 -2
  37. package/dist/actions/copy-item.cjs.map +1 -1
  38. package/dist/actions/copy-item.d.cts +42 -3
  39. package/dist/actions/copy-item.d.cts.map +1 -1
  40. package/dist/actions/copy-item.d.mts +42 -3
  41. package/dist/actions/copy-item.d.mts.map +1 -1
  42. package/dist/actions/copy-item.mjs +2 -2
  43. package/dist/actions/copy-item.mjs.map +1 -1
  44. package/dist/actions/create-item-permission.cjs +1 -1
  45. package/dist/actions/create-item-permission.cjs.map +1 -1
  46. package/dist/actions/create-item-permission.d.cts +100 -3
  47. package/dist/actions/create-item-permission.d.cts.map +1 -1
  48. package/dist/actions/create-item-permission.d.mts +100 -3
  49. package/dist/actions/create-item-permission.d.mts.map +1 -1
  50. package/dist/actions/create-item-permission.mjs +1 -1
  51. package/dist/actions/create-item-permission.mjs.map +1 -1
  52. package/dist/actions/create-link.cjs +1 -1
  53. package/dist/actions/create-link.cjs.map +1 -1
  54. package/dist/actions/create-link.d.cts +48 -3
  55. package/dist/actions/create-link.d.cts.map +1 -1
  56. package/dist/actions/create-link.d.mts +48 -3
  57. package/dist/actions/create-link.d.mts.map +1 -1
  58. package/dist/actions/create-link.mjs +1 -1
  59. package/dist/actions/create-link.mjs.map +1 -1
  60. package/dist/actions/create-sharepoint-list-item.cjs +1 -1
  61. package/dist/actions/create-sharepoint-list-item.cjs.map +1 -1
  62. package/dist/actions/create-sharepoint-list-item.d.cts +17 -3
  63. package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
  64. package/dist/actions/create-sharepoint-list-item.d.mts +17 -3
  65. package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
  66. package/dist/actions/create-sharepoint-list-item.mjs +1 -1
  67. package/dist/actions/create-sharepoint-list-item.mjs.map +1 -1
  68. package/dist/actions/delete-item-permanently.cjs +1 -1
  69. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  70. package/dist/actions/delete-item-permanently.d.cts +11 -3
  71. package/dist/actions/delete-item-permanently.d.cts.map +1 -1
  72. package/dist/actions/delete-item-permanently.d.mts +11 -3
  73. package/dist/actions/delete-item-permanently.d.mts.map +1 -1
  74. package/dist/actions/delete-item-permanently.mjs +1 -1
  75. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  76. package/dist/actions/delete-item-permission.cjs +1 -1
  77. package/dist/actions/delete-item-permission.cjs.map +1 -1
  78. package/dist/actions/delete-item-permission.d.cts +19 -3
  79. package/dist/actions/delete-item-permission.d.cts.map +1 -1
  80. package/dist/actions/delete-item-permission.d.mts +19 -3
  81. package/dist/actions/delete-item-permission.d.mts.map +1 -1
  82. package/dist/actions/delete-item-permission.mjs +1 -1
  83. package/dist/actions/delete-item-permission.mjs.map +1 -1
  84. package/dist/actions/delete-item.cjs +1 -1
  85. package/dist/actions/delete-item.cjs.map +1 -1
  86. package/dist/actions/delete-item.d.cts +15 -3
  87. package/dist/actions/delete-item.d.cts.map +1 -1
  88. package/dist/actions/delete-item.d.mts +15 -3
  89. package/dist/actions/delete-item.d.mts.map +1 -1
  90. package/dist/actions/delete-item.mjs +1 -1
  91. package/dist/actions/delete-item.mjs.map +1 -1
  92. package/dist/actions/delete-share-permission.cjs +1 -1
  93. package/dist/actions/delete-share-permission.cjs.map +1 -1
  94. package/dist/actions/delete-share-permission.d.cts +9 -3
  95. package/dist/actions/delete-share-permission.d.cts.map +1 -1
  96. package/dist/actions/delete-share-permission.d.mts +9 -3
  97. package/dist/actions/delete-share-permission.d.mts.map +1 -1
  98. package/dist/actions/delete-share-permission.mjs +1 -1
  99. package/dist/actions/delete-share-permission.mjs.map +1 -1
  100. package/dist/actions/delete-sharepoint-item-permission.cjs +3 -3
  101. package/dist/actions/delete-sharepoint-item-permission.cjs.map +1 -1
  102. package/dist/actions/delete-sharepoint-item-permission.d.cts +17 -3
  103. package/dist/actions/delete-sharepoint-item-permission.d.cts.map +1 -1
  104. package/dist/actions/delete-sharepoint-item-permission.d.mts +17 -3
  105. package/dist/actions/delete-sharepoint-item-permission.d.mts.map +1 -1
  106. package/dist/actions/delete-sharepoint-item-permission.mjs +3 -3
  107. package/dist/actions/delete-sharepoint-item-permission.mjs.map +1 -1
  108. package/dist/actions/delete-workbook-range.cjs +1 -1
  109. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  110. package/dist/actions/delete-workbook-range.d.cts +20 -3
  111. package/dist/actions/delete-workbook-range.d.cts.map +1 -1
  112. package/dist/actions/delete-workbook-range.d.mts +20 -3
  113. package/dist/actions/delete-workbook-range.d.mts.map +1 -1
  114. package/dist/actions/delete-workbook-range.mjs +1 -1
  115. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  116. package/dist/actions/delete-workbook-worksheet.cjs +2 -2
  117. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  118. package/dist/actions/delete-workbook-worksheet.d.cts +16 -3
  119. package/dist/actions/delete-workbook-worksheet.d.cts.map +1 -1
  120. package/dist/actions/delete-workbook-worksheet.d.mts +16 -3
  121. package/dist/actions/delete-workbook-worksheet.d.mts.map +1 -1
  122. package/dist/actions/delete-workbook-worksheet.mjs +2 -2
  123. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  124. package/dist/actions/discard-checkout.cjs +1 -1
  125. package/dist/actions/discard-checkout.cjs.map +1 -1
  126. package/dist/actions/discard-checkout.d.cts +11 -3
  127. package/dist/actions/discard-checkout.d.cts.map +1 -1
  128. package/dist/actions/discard-checkout.d.mts +11 -3
  129. package/dist/actions/discard-checkout.d.mts.map +1 -1
  130. package/dist/actions/discard-checkout.mjs +1 -1
  131. package/dist/actions/discard-checkout.mjs.map +1 -1
  132. package/dist/actions/download-file-by-path.cjs +3 -3
  133. package/dist/actions/download-file-by-path.cjs.map +1 -1
  134. package/dist/actions/download-file-by-path.d.cts +17 -3
  135. package/dist/actions/download-file-by-path.d.cts.map +1 -1
  136. package/dist/actions/download-file-by-path.d.mts +17 -3
  137. package/dist/actions/download-file-by-path.d.mts.map +1 -1
  138. package/dist/actions/download-file-by-path.mjs +3 -3
  139. package/dist/actions/download-file-by-path.mjs.map +1 -1
  140. package/dist/actions/download-file.cjs +4 -4
  141. package/dist/actions/download-file.cjs.map +1 -1
  142. package/dist/actions/download-file.d.cts +26 -3
  143. package/dist/actions/download-file.d.cts.map +1 -1
  144. package/dist/actions/download-file.d.mts +26 -3
  145. package/dist/actions/download-file.d.mts.map +1 -1
  146. package/dist/actions/download-file.mjs +4 -4
  147. package/dist/actions/download-file.mjs.map +1 -1
  148. package/dist/actions/download-item-as-format.cjs +3 -3
  149. package/dist/actions/download-item-as-format.cjs.map +1 -1
  150. package/dist/actions/download-item-as-format.d.cts +26 -3
  151. package/dist/actions/download-item-as-format.d.cts.map +1 -1
  152. package/dist/actions/download-item-as-format.d.mts +26 -3
  153. package/dist/actions/download-item-as-format.d.mts.map +1 -1
  154. package/dist/actions/download-item-as-format.mjs +3 -3
  155. package/dist/actions/download-item-as-format.mjs.map +1 -1
  156. package/dist/actions/download-item-version.cjs +3 -3
  157. package/dist/actions/download-item-version.cjs.map +1 -1
  158. package/dist/actions/download-item-version.d.cts +19 -3
  159. package/dist/actions/download-item-version.d.cts.map +1 -1
  160. package/dist/actions/download-item-version.d.mts +19 -3
  161. package/dist/actions/download-item-version.d.mts.map +1 -1
  162. package/dist/actions/download-item-version.mjs +3 -3
  163. package/dist/actions/download-item-version.mjs.map +1 -1
  164. package/dist/actions/follow-item.cjs.map +1 -1
  165. package/dist/actions/follow-item.d.cts +23 -3
  166. package/dist/actions/follow-item.d.cts.map +1 -1
  167. package/dist/actions/follow-item.d.mts +23 -3
  168. package/dist/actions/follow-item.d.mts.map +1 -1
  169. package/dist/actions/follow-item.mjs.map +1 -1
  170. package/dist/actions/get-document-comments.cjs +2 -2
  171. package/dist/actions/get-document-comments.cjs.map +1 -1
  172. package/dist/actions/get-document-comments.d.cts +25 -3
  173. package/dist/actions/get-document-comments.d.cts.map +1 -1
  174. package/dist/actions/get-document-comments.d.mts +25 -3
  175. package/dist/actions/get-document-comments.d.mts.map +1 -1
  176. package/dist/actions/get-document-comments.mjs +2 -2
  177. package/dist/actions/get-document-comments.mjs.map +1 -1
  178. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  179. package/dist/actions/get-drive-item-by-sharing-url.d.cts +42 -3
  180. package/dist/actions/get-drive-item-by-sharing-url.d.cts.map +1 -1
  181. package/dist/actions/get-drive-item-by-sharing-url.d.mts +42 -3
  182. package/dist/actions/get-drive-item-by-sharing-url.d.mts.map +1 -1
  183. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  184. package/dist/actions/get-drive.cjs.map +1 -1
  185. package/dist/actions/get-drive.d.cts +96 -3
  186. package/dist/actions/get-drive.d.cts.map +1 -1
  187. package/dist/actions/get-drive.d.mts +96 -3
  188. package/dist/actions/get-drive.d.mts.map +1 -1
  189. package/dist/actions/get-drive.mjs.map +1 -1
  190. package/dist/actions/get-followed-item.cjs.map +1 -1
  191. package/dist/actions/get-followed-item.d.cts +41 -3
  192. package/dist/actions/get-followed-item.d.cts.map +1 -1
  193. package/dist/actions/get-followed-item.d.mts +41 -3
  194. package/dist/actions/get-followed-item.d.mts.map +1 -1
  195. package/dist/actions/get-followed-item.mjs.map +1 -1
  196. package/dist/actions/get-group-drive.cjs.map +1 -1
  197. package/dist/actions/get-group-drive.d.cts +94 -3
  198. package/dist/actions/get-group-drive.d.cts.map +1 -1
  199. package/dist/actions/get-group-drive.d.mts +94 -3
  200. package/dist/actions/get-group-drive.d.mts.map +1 -1
  201. package/dist/actions/get-group-drive.mjs.map +1 -1
  202. package/dist/actions/get-item-permissions.cjs +1 -1
  203. package/dist/actions/get-item-permissions.cjs.map +1 -1
  204. package/dist/actions/get-item-permissions.d.cts +125 -3
  205. package/dist/actions/get-item-permissions.d.cts.map +1 -1
  206. package/dist/actions/get-item-permissions.d.mts +125 -3
  207. package/dist/actions/get-item-permissions.d.mts.map +1 -1
  208. package/dist/actions/get-item-permissions.mjs +1 -1
  209. package/dist/actions/get-item-permissions.mjs.map +1 -1
  210. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  211. package/dist/actions/get-item-thumbnails.d.cts +39 -3
  212. package/dist/actions/get-item-thumbnails.d.cts.map +1 -1
  213. package/dist/actions/get-item-thumbnails.d.mts +39 -3
  214. package/dist/actions/get-item-thumbnails.d.mts.map +1 -1
  215. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  216. package/dist/actions/get-item-versions.cjs +2 -2
  217. package/dist/actions/get-item-versions.cjs.map +1 -1
  218. package/dist/actions/get-item-versions.d.cts +56 -3
  219. package/dist/actions/get-item-versions.d.cts.map +1 -1
  220. package/dist/actions/get-item-versions.d.mts +56 -3
  221. package/dist/actions/get-item-versions.d.mts.map +1 -1
  222. package/dist/actions/get-item-versions.mjs +2 -2
  223. package/dist/actions/get-item-versions.mjs.map +1 -1
  224. package/dist/actions/get-item.cjs +1 -1
  225. package/dist/actions/get-item.cjs.map +1 -1
  226. package/dist/actions/get-item.d.cts +137 -3
  227. package/dist/actions/get-item.d.cts.map +1 -1
  228. package/dist/actions/get-item.d.mts +137 -3
  229. package/dist/actions/get-item.d.mts.map +1 -1
  230. package/dist/actions/get-item.mjs +1 -1
  231. package/dist/actions/get-item.mjs.map +1 -1
  232. package/dist/actions/get-root.cjs.map +1 -1
  233. package/dist/actions/get-root.d.cts +69 -3
  234. package/dist/actions/get-root.d.cts.map +1 -1
  235. package/dist/actions/get-root.d.mts +69 -3
  236. package/dist/actions/get-root.d.mts.map +1 -1
  237. package/dist/actions/get-root.mjs.map +1 -1
  238. package/dist/actions/get-share.cjs.map +1 -1
  239. package/dist/actions/get-share.d.cts +25 -3
  240. package/dist/actions/get-share.d.cts.map +1 -1
  241. package/dist/actions/get-share.d.mts +25 -3
  242. package/dist/actions/get-share.d.mts.map +1 -1
  243. package/dist/actions/get-share.mjs.map +1 -1
  244. package/dist/actions/get-sharepoint-list-items.cjs +1 -1
  245. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  246. package/dist/actions/get-sharepoint-list-items.d.cts +30 -3
  247. package/dist/actions/get-sharepoint-list-items.d.cts.map +1 -1
  248. package/dist/actions/get-sharepoint-list-items.d.mts +30 -3
  249. package/dist/actions/get-sharepoint-list-items.d.mts.map +1 -1
  250. package/dist/actions/get-sharepoint-list-items.mjs +1 -1
  251. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  252. package/dist/actions/get-site-page-content.cjs.map +1 -1
  253. package/dist/actions/get-site-page-content.d.cts +68 -3
  254. package/dist/actions/get-site-page-content.d.cts.map +1 -1
  255. package/dist/actions/get-site-page-content.d.mts +68 -3
  256. package/dist/actions/get-site-page-content.d.mts.map +1 -1
  257. package/dist/actions/get-site-page-content.mjs.map +1 -1
  258. package/dist/actions/get-site.cjs +1 -1
  259. package/dist/actions/get-site.cjs.map +1 -1
  260. package/dist/actions/get-site.d.cts +24 -3
  261. package/dist/actions/get-site.d.cts.map +1 -1
  262. package/dist/actions/get-site.d.mts +24 -3
  263. package/dist/actions/get-site.d.mts.map +1 -1
  264. package/dist/actions/get-site.mjs +1 -1
  265. package/dist/actions/get-site.mjs.map +1 -1
  266. package/dist/actions/get-special-folder.cjs.map +1 -1
  267. package/dist/actions/get-special-folder.d.cts +70 -3
  268. package/dist/actions/get-special-folder.d.cts.map +1 -1
  269. package/dist/actions/get-special-folder.d.mts +70 -3
  270. package/dist/actions/get-special-folder.d.mts.map +1 -1
  271. package/dist/actions/get-special-folder.mjs.map +1 -1
  272. package/dist/actions/get-user.cjs.map +1 -1
  273. package/dist/actions/get-user.d.cts +33 -3
  274. package/dist/actions/get-user.d.cts.map +1 -1
  275. package/dist/actions/get-user.d.mts +33 -3
  276. package/dist/actions/get-user.d.mts.map +1 -1
  277. package/dist/actions/get-user.mjs.map +1 -1
  278. package/dist/actions/get-workbook-used-range.cjs +6 -6
  279. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  280. package/dist/actions/get-workbook-used-range.d.cts +33 -3
  281. package/dist/actions/get-workbook-used-range.d.cts.map +1 -1
  282. package/dist/actions/get-workbook-used-range.d.mts +33 -3
  283. package/dist/actions/get-workbook-used-range.d.mts.map +1 -1
  284. package/dist/actions/get-workbook-used-range.mjs +6 -6
  285. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  286. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  287. package/dist/actions/get-workbook-worksheet.d.cts +20 -3
  288. package/dist/actions/get-workbook-worksheet.d.cts.map +1 -1
  289. package/dist/actions/get-workbook-worksheet.d.mts +20 -3
  290. package/dist/actions/get-workbook-worksheet.d.mts.map +1 -1
  291. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  292. package/dist/actions/grant-share-permission.cjs +1 -1
  293. package/dist/actions/grant-share-permission.cjs.map +1 -1
  294. package/dist/actions/grant-share-permission.d.cts +26 -3
  295. package/dist/actions/grant-share-permission.d.cts.map +1 -1
  296. package/dist/actions/grant-share-permission.d.mts +26 -3
  297. package/dist/actions/grant-share-permission.d.mts.map +1 -1
  298. package/dist/actions/grant-share-permission.mjs +1 -1
  299. package/dist/actions/grant-share-permission.mjs.map +1 -1
  300. package/dist/actions/grant-sharepoint-item-permission.cjs.map +1 -1
  301. package/dist/actions/grant-sharepoint-item-permission.d.cts +27 -3
  302. package/dist/actions/grant-sharepoint-item-permission.d.cts.map +1 -1
  303. package/dist/actions/grant-sharepoint-item-permission.d.mts +27 -3
  304. package/dist/actions/grant-sharepoint-item-permission.d.mts.map +1 -1
  305. package/dist/actions/grant-sharepoint-item-permission.mjs.map +1 -1
  306. package/dist/actions/index.cjs +4 -4
  307. package/dist/actions/index.d.cts +3 -3
  308. package/dist/actions/index.d.mts +3 -3
  309. package/dist/actions/index.mjs +3 -3
  310. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  311. package/dist/actions/invite-user-to-item.d.cts +61 -3
  312. package/dist/actions/invite-user-to-item.d.cts.map +1 -1
  313. package/dist/actions/invite-user-to-item.d.mts +61 -3
  314. package/dist/actions/invite-user-to-item.d.mts.map +1 -1
  315. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  316. package/dist/actions/list-activities.cjs.map +1 -1
  317. package/dist/actions/list-activities.d.cts +274 -3
  318. package/dist/actions/list-activities.d.cts.map +1 -1
  319. package/dist/actions/list-activities.d.mts +274 -3
  320. package/dist/actions/list-activities.d.mts.map +1 -1
  321. package/dist/actions/list-activities.mjs.map +1 -1
  322. package/dist/actions/list-all-drive-items.cjs +1 -1
  323. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  324. package/dist/actions/list-all-drive-items.d.cts +218 -3
  325. package/dist/actions/list-all-drive-items.d.cts.map +1 -1
  326. package/dist/actions/list-all-drive-items.d.mts +218 -3
  327. package/dist/actions/list-all-drive-items.d.mts.map +1 -1
  328. package/dist/actions/list-all-drive-items.mjs +1 -1
  329. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  330. package/dist/actions/list-bundles.cjs +1 -1
  331. package/dist/actions/list-bundles.cjs.map +1 -1
  332. package/dist/actions/list-bundles.d.cts +68 -3
  333. package/dist/actions/list-bundles.d.cts.map +1 -1
  334. package/dist/actions/list-bundles.d.mts +68 -3
  335. package/dist/actions/list-bundles.d.mts.map +1 -1
  336. package/dist/actions/list-bundles.mjs +1 -1
  337. package/dist/actions/list-bundles.mjs.map +1 -1
  338. package/dist/actions/list-drives.cjs.map +1 -1
  339. package/dist/actions/list-drives.d.cts +60 -3
  340. package/dist/actions/list-drives.d.cts.map +1 -1
  341. package/dist/actions/list-drives.d.mts +60 -3
  342. package/dist/actions/list-drives.d.mts.map +1 -1
  343. package/dist/actions/list-drives.mjs.map +1 -1
  344. package/dist/actions/list-folder-children.cjs.map +1 -1
  345. package/dist/actions/list-folder-children.d.cts +228 -3
  346. package/dist/actions/list-folder-children.d.cts.map +1 -1
  347. package/dist/actions/list-folder-children.d.mts +228 -3
  348. package/dist/actions/list-folder-children.d.mts.map +1 -1
  349. package/dist/actions/list-folder-children.mjs.map +1 -1
  350. package/dist/actions/list-item-activities.cjs +2 -2
  351. package/dist/actions/list-item-activities.cjs.map +1 -1
  352. package/dist/actions/list-item-activities.d.cts +24 -3
  353. package/dist/actions/list-item-activities.d.cts.map +1 -1
  354. package/dist/actions/list-item-activities.d.mts +24 -3
  355. package/dist/actions/list-item-activities.d.mts.map +1 -1
  356. package/dist/actions/list-item-activities.mjs +2 -2
  357. package/dist/actions/list-item-activities.mjs.map +1 -1
  358. package/dist/actions/list-onedrive-shared-items.cjs +45 -0
  359. package/dist/actions/list-onedrive-shared-items.cjs.map +1 -0
  360. package/dist/actions/list-onedrive-shared-items.d.cts +41 -0
  361. package/dist/actions/list-onedrive-shared-items.d.cts.map +1 -0
  362. package/dist/actions/list-onedrive-shared-items.d.mts +41 -0
  363. package/dist/actions/list-onedrive-shared-items.d.mts.map +1 -0
  364. package/dist/actions/list-onedrive-shared-items.mjs +44 -0
  365. package/dist/actions/list-onedrive-shared-items.mjs.map +1 -0
  366. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  367. package/dist/actions/list-root-drive-changes.d.cts +42 -3
  368. package/dist/actions/list-root-drive-changes.d.cts.map +1 -1
  369. package/dist/actions/list-root-drive-changes.d.mts +42 -3
  370. package/dist/actions/list-root-drive-changes.d.mts.map +1 -1
  371. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  372. package/dist/actions/list-share-permissions.cjs.map +1 -1
  373. package/dist/actions/list-share-permissions.d.cts +18 -3
  374. package/dist/actions/list-share-permissions.d.cts.map +1 -1
  375. package/dist/actions/list-share-permissions.d.mts +18 -3
  376. package/dist/actions/list-share-permissions.d.mts.map +1 -1
  377. package/dist/actions/list-share-permissions.mjs.map +1 -1
  378. package/dist/actions/list-sharepoint-item-permissions.cjs.map +1 -1
  379. package/dist/actions/list-sharepoint-item-permissions.d.cts +19 -3
  380. package/dist/actions/list-sharepoint-item-permissions.d.cts.map +1 -1
  381. package/dist/actions/list-sharepoint-item-permissions.d.mts +19 -3
  382. package/dist/actions/list-sharepoint-item-permissions.d.mts.map +1 -1
  383. package/dist/actions/list-sharepoint-item-permissions.mjs.map +1 -1
  384. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  385. package/dist/actions/list-sharepoint-list-items-delta.d.cts +31 -3
  386. package/dist/actions/list-sharepoint-list-items-delta.d.cts.map +1 -1
  387. package/dist/actions/list-sharepoint-list-items-delta.d.mts +31 -3
  388. package/dist/actions/list-sharepoint-list-items-delta.d.mts.map +1 -1
  389. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  390. package/dist/actions/list-site-columns.cjs.map +1 -1
  391. package/dist/actions/list-site-columns.d.cts +46 -3
  392. package/dist/actions/list-site-columns.d.cts.map +1 -1
  393. package/dist/actions/list-site-columns.d.mts +46 -3
  394. package/dist/actions/list-site-columns.d.mts.map +1 -1
  395. package/dist/actions/list-site-columns.mjs.map +1 -1
  396. package/dist/actions/list-site-items-delta.cjs +1 -1
  397. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  398. package/dist/actions/list-site-items-delta.d.cts +25 -3
  399. package/dist/actions/list-site-items-delta.d.cts.map +1 -1
  400. package/dist/actions/list-site-items-delta.d.mts +25 -3
  401. package/dist/actions/list-site-items-delta.d.mts.map +1 -1
  402. package/dist/actions/list-site-items-delta.mjs +1 -1
  403. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  404. package/dist/actions/list-site-lists.cjs.map +1 -1
  405. package/dist/actions/list-site-lists.d.cts +82 -3
  406. package/dist/actions/list-site-lists.d.cts.map +1 -1
  407. package/dist/actions/list-site-lists.d.mts +82 -3
  408. package/dist/actions/list-site-lists.d.mts.map +1 -1
  409. package/dist/actions/list-site-lists.mjs.map +1 -1
  410. package/dist/actions/list-site-subsites.cjs.map +1 -1
  411. package/dist/actions/list-site-subsites.d.cts +28 -3
  412. package/dist/actions/list-site-subsites.d.cts.map +1 -1
  413. package/dist/actions/list-site-subsites.d.mts +28 -3
  414. package/dist/actions/list-site-subsites.d.mts.map +1 -1
  415. package/dist/actions/list-site-subsites.mjs.map +1 -1
  416. package/dist/actions/list-subscriptions.cjs +7 -7
  417. package/dist/actions/list-subscriptions.cjs.map +1 -1
  418. package/dist/actions/list-subscriptions.d.cts +23 -3
  419. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  420. package/dist/actions/list-subscriptions.d.mts +23 -3
  421. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  422. package/dist/actions/list-subscriptions.mjs +7 -7
  423. package/dist/actions/list-subscriptions.mjs.map +1 -1
  424. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  425. package/dist/actions/list-workbook-worksheets.d.cts +26 -3
  426. package/dist/actions/list-workbook-worksheets.d.cts.map +1 -1
  427. package/dist/actions/list-workbook-worksheets.d.mts +26 -3
  428. package/dist/actions/list-workbook-worksheets.d.mts.map +1 -1
  429. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  430. package/dist/actions/move-item.cjs +2 -2
  431. package/dist/actions/move-item.cjs.map +1 -1
  432. package/dist/actions/move-item.d.cts +38 -3
  433. package/dist/actions/move-item.d.cts.map +1 -1
  434. package/dist/actions/move-item.d.mts +38 -3
  435. package/dist/actions/move-item.d.mts.map +1 -1
  436. package/dist/actions/move-item.mjs +2 -2
  437. package/dist/actions/move-item.mjs.map +1 -1
  438. package/dist/actions/onedrive-create-folder.cjs +3 -3
  439. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  440. package/dist/actions/onedrive-create-folder.d.cts +23 -3
  441. package/dist/actions/onedrive-create-folder.d.cts.map +1 -1
  442. package/dist/actions/onedrive-create-folder.d.mts +23 -3
  443. package/dist/actions/onedrive-create-folder.d.mts.map +1 -1
  444. package/dist/actions/onedrive-create-folder.mjs +3 -3
  445. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  446. package/dist/actions/onedrive-create-text-file.cjs +3 -3
  447. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  448. package/dist/actions/onedrive-create-text-file.d.cts +24 -3
  449. package/dist/actions/onedrive-create-text-file.d.cts.map +1 -1
  450. package/dist/actions/onedrive-create-text-file.d.mts +24 -3
  451. package/dist/actions/onedrive-create-text-file.d.mts.map +1 -1
  452. package/dist/actions/onedrive-create-text-file.mjs +3 -3
  453. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  454. package/dist/actions/onedrive-find-file.cjs +1 -1
  455. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  456. package/dist/actions/onedrive-find-file.d.cts +95 -3
  457. package/dist/actions/onedrive-find-file.d.cts.map +1 -1
  458. package/dist/actions/onedrive-find-file.d.mts +95 -3
  459. package/dist/actions/onedrive-find-file.d.mts.map +1 -1
  460. package/dist/actions/onedrive-find-file.mjs +1 -1
  461. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  462. package/dist/actions/onedrive-find-folder.cjs +1 -1
  463. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  464. package/dist/actions/onedrive-find-folder.d.cts +85 -3
  465. package/dist/actions/onedrive-find-folder.d.cts.map +1 -1
  466. package/dist/actions/onedrive-find-folder.d.mts +85 -3
  467. package/dist/actions/onedrive-find-folder.d.mts.map +1 -1
  468. package/dist/actions/onedrive-find-folder.mjs +1 -1
  469. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  470. package/dist/actions/onedrive-list-items.cjs +1 -1
  471. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  472. package/dist/actions/onedrive-list-items.d.cts +187 -3
  473. package/dist/actions/onedrive-list-items.d.cts.map +1 -1
  474. package/dist/actions/onedrive-list-items.d.mts +187 -3
  475. package/dist/actions/onedrive-list-items.d.mts.map +1 -1
  476. package/dist/actions/onedrive-list-items.mjs +1 -1
  477. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  478. package/dist/actions/onedrive-upload-file.cjs +3 -3
  479. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  480. package/dist/actions/onedrive-upload-file.d.cts +62 -3
  481. package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
  482. package/dist/actions/onedrive-upload-file.d.mts +62 -3
  483. package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
  484. package/dist/actions/onedrive-upload-file.mjs +3 -3
  485. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  486. package/dist/actions/preview-drive-item.cjs.map +1 -1
  487. package/dist/actions/preview-drive-item.d.cts +25 -3
  488. package/dist/actions/preview-drive-item.d.cts.map +1 -1
  489. package/dist/actions/preview-drive-item.d.mts +25 -3
  490. package/dist/actions/preview-drive-item.d.mts.map +1 -1
  491. package/dist/actions/preview-drive-item.mjs.map +1 -1
  492. package/dist/actions/read-workbook-range.cjs +6 -6
  493. package/dist/actions/read-workbook-range.cjs.map +1 -1
  494. package/dist/actions/read-workbook-range.d.cts +35 -3
  495. package/dist/actions/read-workbook-range.d.cts.map +1 -1
  496. package/dist/actions/read-workbook-range.d.mts +35 -3
  497. package/dist/actions/read-workbook-range.d.mts.map +1 -1
  498. package/dist/actions/read-workbook-range.mjs +6 -6
  499. package/dist/actions/read-workbook-range.mjs.map +1 -1
  500. package/dist/actions/restore-drive-item.cjs.map +1 -1
  501. package/dist/actions/restore-drive-item.d.cts +24 -3
  502. package/dist/actions/restore-drive-item.d.cts.map +1 -1
  503. package/dist/actions/restore-drive-item.d.mts +24 -3
  504. package/dist/actions/restore-drive-item.d.mts.map +1 -1
  505. package/dist/actions/restore-drive-item.mjs.map +1 -1
  506. package/dist/actions/restore-item-version.cjs +1 -1
  507. package/dist/actions/restore-item-version.cjs.map +1 -1
  508. package/dist/actions/restore-item-version.d.cts +15 -3
  509. package/dist/actions/restore-item-version.d.cts.map +1 -1
  510. package/dist/actions/restore-item-version.d.mts +15 -3
  511. package/dist/actions/restore-item-version.d.mts.map +1 -1
  512. package/dist/actions/restore-item-version.mjs +1 -1
  513. package/dist/actions/restore-item-version.mjs.map +1 -1
  514. package/dist/actions/search-drive-items.cjs +45 -0
  515. package/dist/actions/search-drive-items.cjs.map +1 -0
  516. package/dist/actions/search-drive-items.d.cts +42 -0
  517. package/dist/actions/search-drive-items.d.cts.map +1 -0
  518. package/dist/actions/search-drive-items.d.mts +42 -0
  519. package/dist/actions/search-drive-items.d.mts.map +1 -0
  520. package/dist/actions/search-drive-items.mjs +44 -0
  521. package/dist/actions/search-drive-items.mjs.map +1 -0
  522. package/dist/actions/search-items.cjs.map +1 -1
  523. package/dist/actions/search-items.d.cts +109 -3
  524. package/dist/actions/search-items.d.cts.map +1 -1
  525. package/dist/actions/search-items.d.mts +109 -3
  526. package/dist/actions/search-items.d.mts.map +1 -1
  527. package/dist/actions/search-items.mjs.map +1 -1
  528. package/dist/actions/unfollow-item.cjs +1 -1
  529. package/dist/actions/unfollow-item.cjs.map +1 -1
  530. package/dist/actions/unfollow-item.d.cts +9 -3
  531. package/dist/actions/unfollow-item.d.cts.map +1 -1
  532. package/dist/actions/unfollow-item.d.mts +9 -3
  533. package/dist/actions/unfollow-item.d.mts.map +1 -1
  534. package/dist/actions/unfollow-item.mjs +1 -1
  535. package/dist/actions/unfollow-item.mjs.map +1 -1
  536. package/dist/actions/update-drive-item-metadata.cjs +2 -2
  537. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  538. package/dist/actions/update-drive-item-metadata.d.cts +61 -3
  539. package/dist/actions/update-drive-item-metadata.d.cts.map +1 -1
  540. package/dist/actions/update-drive-item-metadata.d.mts +61 -3
  541. package/dist/actions/update-drive-item-metadata.d.mts.map +1 -1
  542. package/dist/actions/update-drive-item-metadata.mjs +2 -2
  543. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  544. package/dist/actions/update-drive-items-permissions.cjs +1 -1
  545. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  546. package/dist/actions/update-drive-items-permissions.d.cts +82 -3
  547. package/dist/actions/update-drive-items-permissions.d.cts.map +1 -1
  548. package/dist/actions/update-drive-items-permissions.d.mts +82 -3
  549. package/dist/actions/update-drive-items-permissions.d.mts.map +1 -1
  550. package/dist/actions/update-drive-items-permissions.mjs +1 -1
  551. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  552. package/dist/actions/update-file-content.cjs +1 -1
  553. package/dist/actions/update-file-content.cjs.map +1 -1
  554. package/dist/actions/update-file-content.d.cts +69 -3
  555. package/dist/actions/update-file-content.d.cts.map +1 -1
  556. package/dist/actions/update-file-content.d.mts +69 -3
  557. package/dist/actions/update-file-content.d.mts.map +1 -1
  558. package/dist/actions/update-file-content.mjs +1 -1
  559. package/dist/actions/update-file-content.mjs.map +1 -1
  560. package/dist/actions/update-sharepoint-item-permission.cjs.map +1 -1
  561. package/dist/actions/update-sharepoint-item-permission.d.cts +17 -3
  562. package/dist/actions/update-sharepoint-item-permission.d.cts.map +1 -1
  563. package/dist/actions/update-sharepoint-item-permission.d.mts +17 -3
  564. package/dist/actions/update-sharepoint-item-permission.d.mts.map +1 -1
  565. package/dist/actions/update-sharepoint-item-permission.mjs.map +1 -1
  566. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  567. package/dist/actions/update-sharepoint-list-item-fields.d.cts +17 -3
  568. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
  569. package/dist/actions/update-sharepoint-list-item-fields.d.mts +17 -3
  570. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
  571. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  572. package/dist/actions/update-workbook-range.cjs +10 -10
  573. package/dist/actions/update-workbook-range.cjs.map +1 -1
  574. package/dist/actions/update-workbook-range.d.cts +39 -3
  575. package/dist/actions/update-workbook-range.d.cts.map +1 -1
  576. package/dist/actions/update-workbook-range.d.mts +39 -3
  577. package/dist/actions/update-workbook-range.d.mts.map +1 -1
  578. package/dist/actions/update-workbook-range.mjs +10 -10
  579. package/dist/actions/update-workbook-range.mjs.map +1 -1
  580. package/dist/actions/update-workbook-worksheet.cjs +4 -4
  581. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  582. package/dist/actions/update-workbook-worksheet.d.cts +28 -3
  583. package/dist/actions/update-workbook-worksheet.d.cts.map +1 -1
  584. package/dist/actions/update-workbook-worksheet.d.mts +28 -3
  585. package/dist/actions/update-workbook-worksheet.d.mts.map +1 -1
  586. package/dist/actions/update-workbook-worksheet.mjs +4 -4
  587. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  588. package/dist/actions/write-workbook-cell.cjs +4 -4
  589. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  590. package/dist/actions/write-workbook-cell.d.cts +41 -3
  591. package/dist/actions/write-workbook-cell.d.cts.map +1 -1
  592. package/dist/actions/write-workbook-cell.d.mts +41 -3
  593. package/dist/actions/write-workbook-cell.d.mts.map +1 -1
  594. package/dist/actions/write-workbook-cell.mjs +4 -4
  595. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  596. package/dist/execute.cjs +1 -1
  597. package/dist/execute.cjs.map +1 -1
  598. package/dist/execute.mjs +1 -1
  599. package/dist/execute.mjs.map +1 -1
  600. package/dist/index.cjs +4 -4
  601. package/dist/index.d.cts +3 -3
  602. package/dist/index.d.mts +3 -3
  603. package/dist/index.mjs +3 -3
  604. package/package.json +2 -2
  605. package/dist/actions/get-recent-items.cjs +0 -47
  606. package/dist/actions/get-recent-items.cjs.map +0 -1
  607. package/dist/actions/get-recent-items.d.cts +0 -9
  608. package/dist/actions/get-recent-items.d.cts.map +0 -1
  609. package/dist/actions/get-recent-items.d.mts +0 -9
  610. package/dist/actions/get-recent-items.d.mts.map +0 -1
  611. package/dist/actions/get-recent-items.mjs +0 -46
  612. package/dist/actions/get-recent-items.mjs.map +0 -1
  613. package/dist/actions/get-shared-items.cjs +0 -27
  614. package/dist/actions/get-shared-items.cjs.map +0 -1
  615. package/dist/actions/get-shared-items.d.cts +0 -9
  616. package/dist/actions/get-shared-items.d.cts.map +0 -1
  617. package/dist/actions/get-shared-items.d.mts +0 -9
  618. package/dist/actions/get-shared-items.d.mts.map +0 -1
  619. package/dist/actions/get-shared-items.mjs +0 -26
  620. package/dist/actions/get-shared-items.mjs.map +0 -1
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-file-by-path.d.ts
4
- declare const OneDriveDownloadFileByPathInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadFileByPathOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadFileByPath: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadFileByPathInput: z.ZodObject<{
5
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
+ file_name: z.ZodString;
7
+ item_path: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const OneDriveDownloadFileByPathOutput: z.ZodObject<{
10
+ content: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ s3url: z.ZodNullable<z.ZodString>;
13
+ mimetype: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const oneDriveDownloadFileByPath: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ file_name: string;
18
+ item_path: string;
19
+ user_id?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { oneDriveDownloadFileByPath };
9
23
  //# sourceMappingURL=download-file-by-path.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-file-by-path.d.cts","names":[],"sources":["../../src/actions/download-file-by-path.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAI9C;AAAA,cAMW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"download-file-by-path.d.cts","names":[],"sources":["../../src/actions/download-file-by-path.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-file-by-path.d.ts
4
- declare const OneDriveDownloadFileByPathInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadFileByPathOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadFileByPath: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadFileByPathInput: z.ZodObject<{
5
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
+ file_name: z.ZodString;
7
+ item_path: z.ZodString;
8
+ }, z.core.$strip>;
9
+ declare const OneDriveDownloadFileByPathOutput: z.ZodObject<{
10
+ content: z.ZodNullable<z.ZodObject<{
11
+ name: z.ZodNullable<z.ZodString>;
12
+ s3url: z.ZodNullable<z.ZodString>;
13
+ mimetype: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$strip>>;
15
+ }, z.core.$strip>;
16
+ declare const oneDriveDownloadFileByPath: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ file_name: string;
18
+ item_path: string;
19
+ user_id?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { oneDriveDownloadFileByPath };
9
23
  //# sourceMappingURL=download-file-by-path.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-file-by-path.d.mts","names":[],"sources":["../../src/actions/download-file-by-path.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAI9C;AAAA,cAMW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"download-file-by-path.d.mts","names":[],"sources":["../../src/actions/download-file-by-path.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAU/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
@@ -7,9 +7,9 @@ const OneDriveDownloadFileByPathInput = z.object({
7
7
  item_path: z.string().describe("The path to the file in OneDrive, relative to the drive root (e.g., 'document.txt' or 'folder/subfolder/file.pdf'). Do not include leading slash.")
8
8
  });
9
9
  const OneDriveDownloadFileByPath_FileDownloadableSchema = z.object({
10
- name: z.string().describe("Name of the file"),
11
- s3url: z.string().describe("S3 URL of the downloaded file."),
12
- mimetype: z.string().describe("Mime type of the file.")
10
+ name: z.string().describe("Name of the file").nullable(),
11
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
12
+ mimetype: z.string().describe("Mime type of the file.").nullable()
13
13
  });
14
14
  const oneDriveDownloadFileByPath = action("ONE_DRIVE_DOWNLOAD_FILE_BY_PATH", {
15
15
  slug: "one_drive-download-file-by-path",
@@ -1 +1 @@
1
- {"version":3,"file":"download-file-by-path.mjs","names":[],"sources":["../../src/actions/download-file-by-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadFileByPathInput: z.ZodTypeAny = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded content.\"),\n item_path: z.string().describe(\"The path to the file in OneDrive, relative to the drive root (e.g., 'document.txt' or 'folder/subfolder/file.pdf'). Do not include leading slash.\"),\n});\nconst OneDriveDownloadFileByPath_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const OneDriveDownloadFileByPathOutput: z.ZodTypeAny = z.object({\n content: OneDriveDownloadFileByPath_FileDownloadableSchema.nullable(),\n});\n\nexport const oneDriveDownloadFileByPath = action(\"ONE_DRIVE_DOWNLOAD_FILE_BY_PATH\", {\n slug: \"one_drive-download-file-by-path\",\n name: \"Download file by path\",\n description: \"Downloads the contents of a file from OneDrive by its path. The API returns a 302 redirect to a pre-authenticated download URL. Use when you know the file path but not the item ID.\",\n input: OneDriveDownloadFileByPathInput,\n output: OneDriveDownloadFileByPathOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ;AACpL,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4D,EAAE,OAAO,EACrE,SAAS,kDAAkD,SAAS,EACtE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"download-file-by-path.mjs","names":[],"sources":["../../src/actions/download-file-by-path.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadFileByPathInput = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded content.\"),\n item_path: z.string().describe(\"The path to the file in OneDrive, relative to the drive root (e.g., 'document.txt' or 'folder/subfolder/file.pdf'). Do not include leading slash.\"),\n});\nconst OneDriveDownloadFileByPath_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});\nexport const OneDriveDownloadFileByPathOutput = z.object({\n content: OneDriveDownloadFileByPath_FileDownloadableSchema.nullable(),\n});\n\nexport const oneDriveDownloadFileByPath = action(\"ONE_DRIVE_DOWNLOAD_FILE_BY_PATH\", {\n slug: \"one_drive-download-file-by-path\",\n name: \"Download file by path\",\n description: \"Downloads the contents of a file from OneDrive by its path. The API returns a 302 redirect to a pre-authenticated download URL. Use when you know the file path but not the item ID.\",\n input: OneDriveDownloadFileByPathInput,\n output: OneDriveDownloadFileByPathOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mJAAmJ;AACpL,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,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;AAKD,MAAa,6BAA6B,OAAO,mCAAmC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,kDAAkD,SAAS,EACtE,CAOU;AACV,CAAC"}
@@ -10,15 +10,15 @@ const OneDriveDownloadFileInput = zod.z.object({
10
10
  if_none_match: zod.z.string().describe("Optional ETag or cTag value for conditional download. If the provided tag matches the current file's tag, the API returns HTTP 304 Not Modified without downloading the file, saving bandwidth. Useful for caching scenarios.").optional()
11
11
  });
12
12
  const OneDriveDownloadFile_FileDownloadableSchema = zod.z.object({
13
- name: zod.z.string().describe("Name of the file"),
14
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
15
- mimetype: zod.z.string().describe("Mime type of the file.")
13
+ name: zod.z.string().describe("Name of the file").nullable(),
14
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
15
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
16
16
  });
17
17
  const OneDriveDownloadFileOutput = zod.z.object({ content: OneDriveDownloadFile_FileDownloadableSchema.nullable() });
18
18
  const oneDriveDownloadFile = require_action.action("ONE_DRIVE_DOWNLOAD_FILE", {
19
19
  slug: "one_drive-download-file",
20
20
  name: "Download a file",
21
- description: "Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with fields: s3url (URL to fetch raw file bytes), mimetype, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The response also includes attachment.s3key, required when passing this file to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.",
21
+ description: "Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with the downloaded file, MIME type, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The downloaded file can be passed to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.",
22
22
  input: OneDriveDownloadFileInput,
23
23
  output: OneDriveDownloadFileOutput
24
24
  });
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.cjs","names":["z","action"],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadFileInput: z.ZodTypeAny = z.object({\n format: z.enum([\"pdf\", \"html\"]).describe(\"Optional format for file conversion during download. 'pdf' converts supported source files (doc, docx, dot, dotx, dotm, dsn, dwg, eml, epub, fluidframework, form, htm, html, loop, loot, markdown, md, msg, note, odp, ods, odt, page, pps, ppsx, ppt, pptx, pulse, rtf, task, tif, tiff, wbtx, whiteboard, xls, xlsm, xlsx) to PDF. 'html' converts Loop/Fluid files (loop, fluid, wbtx) to HTML. Leave empty to download the file in its original format without conversion. Do NOT use this parameter if the file is already in the target format (e.g., don't convert PDF to PDF or HTML to HTML), as this will result in an error.\").optional(),\n item_id: z.string().describe(\"Raw item ID only (e.g., '1234567890ABC'). 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 file. Required for SharePoint or OneDrive for Business drives. When provided, user_id is ignored.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded content.\"),\n if_none_match: z.string().describe(\"Optional ETag or cTag value for conditional download. If the provided tag matches the current file's tag, the API returns HTTP 304 Not Modified without downloading the file, saving bandwidth. Useful for caching scenarios.\").optional(),\n});\nconst OneDriveDownloadFile_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const OneDriveDownloadFileOutput: z.ZodTypeAny = z.object({\n content: OneDriveDownloadFile_FileDownloadableSchema.nullable(),\n});\n\nexport const oneDriveDownloadFile = action(\"ONE_DRIVE_DOWNLOAD_FILE\", {\n slug: \"one_drive-download-file\",\n name: \"Download a file\",\n description: \"Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with fields: s3url (URL to fetch raw file bytes), mimetype, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The response also includes attachment.s3key, required when passing this file to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.\",\n input: OneDriveDownloadFileInput,\n output: OneDriveDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0mBAA0mB,CAAC,CAAC,SAAS;CAC9pB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC7K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC/K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;AAC/Q,CAAC;AACD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,6BAA2CA,IAAAA,EAAE,OAAO,EAC/D,SAAS,4CAA4C,SAAS,EAChE,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"download-file.cjs","names":["z","action"],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadFileInput = z.object({\n format: z.enum([\"pdf\", \"html\"]).describe(\"Optional format for file conversion during download. 'pdf' converts supported source files (doc, docx, dot, dotx, dotm, dsn, dwg, eml, epub, fluidframework, form, htm, html, loop, loot, markdown, md, msg, note, odp, ods, odt, page, pps, ppsx, ppt, pptx, pulse, rtf, task, tif, tiff, wbtx, whiteboard, xls, xlsm, xlsx) to PDF. 'html' converts Loop/Fluid files (loop, fluid, wbtx) to HTML. Leave empty to download the file in its original format without conversion. Do NOT use this parameter if the file is already in the target format (e.g., don't convert PDF to PDF or HTML to HTML), as this will result in an error.\").optional(),\n item_id: z.string().describe(\"Raw item ID only (e.g., '1234567890ABC'). 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 file. Required for SharePoint or OneDrive for Business drives. When provided, user_id is ignored.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded content.\"),\n if_none_match: z.string().describe(\"Optional ETag or cTag value for conditional download. If the provided tag matches the current file's tag, the API returns HTTP 304 Not Modified without downloading the file, saving bandwidth. Useful for caching scenarios.\").optional(),\n});\nconst OneDriveDownloadFile_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});\nexport const OneDriveDownloadFileOutput = z.object({\n content: OneDriveDownloadFile_FileDownloadableSchema.nullable(),\n});\n\nexport const oneDriveDownloadFile = action(\"ONE_DRIVE_DOWNLOAD_FILE\", {\n slug: \"one_drive-download-file\",\n name: \"Download a file\",\n description: \"Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with the downloaded file, MIME type, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The downloaded file can be passed to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.\",\n input: OneDriveDownloadFileInput,\n output: OneDriveDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0mBAA0mB,CAAC,CAAC,SAAS;CAC9pB,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC7K,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC/K,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;AAC/Q,CAAC;AACD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,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;AACD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAAS,4CAA4C,SAAS,EAChE,CAAC;AAED,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-file.d.ts
4
- declare const OneDriveDownloadFileInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadFileOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadFileInput: z.ZodObject<{
5
+ format: z.ZodOptional<z.ZodEnum<{
6
+ pdf: "pdf";
7
+ html: "html";
8
+ }>>;
9
+ item_id: z.ZodString;
10
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
+ drive_id: z.ZodOptional<z.ZodString>;
12
+ file_name: z.ZodString;
13
+ if_none_match: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const OneDriveDownloadFileOutput: z.ZodObject<{
16
+ content: z.ZodNullable<z.ZodObject<{
17
+ name: z.ZodNullable<z.ZodString>;
18
+ s3url: z.ZodNullable<z.ZodString>;
19
+ mimetype: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ declare const oneDriveDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ item_id: string;
24
+ file_name: string;
25
+ format?: "pdf" | "html" | undefined;
26
+ user_id?: string | undefined;
27
+ drive_id?: string | undefined;
28
+ if_none_match?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { oneDriveDownloadFile };
9
32
  //# sourceMappingURL=download-file.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.d.cts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOxC;AAAA,cAMW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"download-file.d.cts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-file.d.ts
4
- declare const OneDriveDownloadFileInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadFileOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadFileInput: z.ZodObject<{
5
+ format: z.ZodOptional<z.ZodEnum<{
6
+ pdf: "pdf";
7
+ html: "html";
8
+ }>>;
9
+ item_id: z.ZodString;
10
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
+ drive_id: z.ZodOptional<z.ZodString>;
12
+ file_name: z.ZodString;
13
+ if_none_match: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const OneDriveDownloadFileOutput: z.ZodObject<{
16
+ content: z.ZodNullable<z.ZodObject<{
17
+ name: z.ZodNullable<z.ZodString>;
18
+ s3url: z.ZodNullable<z.ZodString>;
19
+ mimetype: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
22
+ declare const oneDriveDownloadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
23
+ item_id: string;
24
+ file_name: string;
25
+ format?: "pdf" | "html" | undefined;
26
+ user_id?: string | undefined;
27
+ drive_id?: string | undefined;
28
+ if_none_match?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { oneDriveDownloadFile };
9
32
  //# sourceMappingURL=download-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.d.mts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAOxC;AAAA,cAMW,0BAAA,EAA4B,CAAA,CAAE,UAEzC;AAAA,cAEW,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"download-file.d.mts","names":[],"sources":["../../src/actions/download-file.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;cAazB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -10,14 +10,14 @@ const OneDriveDownloadFileInput = z.object({
10
10
  if_none_match: z.string().describe("Optional ETag or cTag value for conditional download. If the provided tag matches the current file's tag, the API returns HTTP 304 Not Modified without downloading the file, saving bandwidth. Useful for caching scenarios.").optional()
11
11
  });
12
12
  const OneDriveDownloadFile_FileDownloadableSchema = z.object({
13
- name: z.string().describe("Name of the file"),
14
- s3url: z.string().describe("S3 URL of the downloaded file."),
15
- mimetype: z.string().describe("Mime type of the file.")
13
+ name: z.string().describe("Name of the file").nullable(),
14
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
15
+ mimetype: z.string().describe("Mime type of the file.").nullable()
16
16
  });
17
17
  const oneDriveDownloadFile = action("ONE_DRIVE_DOWNLOAD_FILE", {
18
18
  slug: "one_drive-download-file",
19
19
  name: "Download a file",
20
- description: "Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with fields: s3url (URL to fetch raw file bytes), mimetype, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The response also includes attachment.s3key, required when passing this file to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.",
20
+ description: "Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with the downloaded file, MIME type, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The downloaded file can be passed to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.",
21
21
  input: OneDriveDownloadFileInput,
22
22
  output: z.object({ content: OneDriveDownloadFile_FileDownloadableSchema.nullable() })
23
23
  });
@@ -1 +1 @@
1
- {"version":3,"file":"download-file.mjs","names":[],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadFileInput: z.ZodTypeAny = z.object({\n format: z.enum([\"pdf\", \"html\"]).describe(\"Optional format for file conversion during download. 'pdf' converts supported source files (doc, docx, dot, dotx, dotm, dsn, dwg, eml, epub, fluidframework, form, htm, html, loop, loot, markdown, md, msg, note, odp, ods, odt, page, pps, ppsx, ppt, pptx, pulse, rtf, task, tif, tiff, wbtx, whiteboard, xls, xlsm, xlsx) to PDF. 'html' converts Loop/Fluid files (loop, fluid, wbtx) to HTML. Leave empty to download the file in its original format without conversion. Do NOT use this parameter if the file is already in the target format (e.g., don't convert PDF to PDF or HTML to HTML), as this will result in an error.\").optional(),\n item_id: z.string().describe(\"Raw item ID only (e.g., '1234567890ABC'). 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 file. Required for SharePoint or OneDrive for Business drives. When provided, user_id is ignored.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded content.\"),\n if_none_match: z.string().describe(\"Optional ETag or cTag value for conditional download. If the provided tag matches the current file's tag, the API returns HTTP 304 Not Modified without downloading the file, saving bandwidth. Useful for caching scenarios.\").optional(),\n});\nconst OneDriveDownloadFile_FileDownloadableSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const OneDriveDownloadFileOutput: z.ZodTypeAny = z.object({\n content: OneDriveDownloadFile_FileDownloadableSchema.nullable(),\n});\n\nexport const oneDriveDownloadFile = action(\"ONE_DRIVE_DOWNLOAD_FILE\", {\n slug: \"one_drive-download-file\",\n name: \"Download a file\",\n description: \"Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with fields: s3url (URL to fetch raw file bytes), mimetype, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The response also includes attachment.s3key, required when passing this file to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.\",\n input: OneDriveDownloadFileInput,\n output: OneDriveDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0mBAA0mB,CAAC,CAAC,SAAS;CAC9pB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC7K,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC/K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;AAC/Q,CAAC;AACD,MAAM,8CAA4D,EAAE,OAAO;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsD,EAAE,OAAO,EAC/D,SAAS,4CAA4C,SAAS,EAChE,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"download-file.mjs","names":[],"sources":["../../src/actions/download-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadFileInput = z.object({\n format: z.enum([\"pdf\", \"html\"]).describe(\"Optional format for file conversion during download. 'pdf' converts supported source files (doc, docx, dot, dotx, dotm, dsn, dwg, eml, epub, fluidframework, form, htm, html, loop, loot, markdown, md, msg, note, odp, ods, odt, page, pps, ppsx, ppt, pptx, pulse, rtf, task, tif, tiff, wbtx, whiteboard, xls, xlsm, xlsx) to PDF. 'html' converts Loop/Fluid files (loop, fluid, wbtx) to HTML. Leave empty to download the file in its original format without conversion. Do NOT use this parameter if the file is already in the target format (e.g., don't convert PDF to PDF or HTML to HTML), as this will result in an error.\").optional(),\n item_id: z.string().describe(\"Raw item ID only (e.g., '1234567890ABC'). 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 file. Required for SharePoint or OneDrive for Business drives. When provided, user_id is ignored.\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded content.\"),\n if_none_match: z.string().describe(\"Optional ETag or cTag value for conditional download. If the provided tag matches the current file's tag, the API returns HTTP 304 Not Modified without downloading the file, saving bandwidth. Useful for caching scenarios.\").optional(),\n});\nconst OneDriveDownloadFile_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});\nexport const OneDriveDownloadFileOutput = z.object({\n content: OneDriveDownloadFile_FileDownloadableSchema.nullable(),\n});\n\nexport const oneDriveDownloadFile = action(\"ONE_DRIVE_DOWNLOAD_FILE\", {\n slug: \"one_drive-download-file\",\n name: \"Download a file\",\n description: \"Downloads a file from a user's OneDrive using its item ID, which must refer to a file and not a folder. Response contains a content object with the downloaded file, MIME type, and name; raw file data is not returned directly. Parsing content from Excel, Word, PDF, or other formats requires additional tooling. The downloaded file can be passed to downstream tools such as OUTLOOK_SEND_EMAIL or OUTLOOK_CREATE_DRAFT.\",\n input: OneDriveDownloadFileInput,\n output: OneDriveDownloadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,0mBAA0mB,CAAC,CAAC,SAAS;CAC9pB,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;CAC7K,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC/K,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE;CACnG,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,+NAA+N,CAAC,CAAC,SAAS;AAC/Q,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,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;AAKD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,4CAA4C,SAAS,EAChE,CAOU;AACV,CAAC"}
@@ -10,9 +10,9 @@ const OneDriveDownloadItemAsFormatInput = zod.z.object({
10
10
  path_and_filename: zod.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()
11
11
  });
12
12
  const OneDriveDownloadItemAsFormat_FileDownloadableSchema = zod.z.object({
13
- name: zod.z.string().describe("Name of the file"),
14
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
15
- mimetype: zod.z.string().describe("Mime type of the file.")
13
+ name: zod.z.string().describe("Name of the file").nullable(),
14
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
15
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
16
16
  });
17
17
  const OneDriveDownloadItemAsFormatOutput = zod.z.object({ content: OneDriveDownloadItemAsFormat_FileDownloadableSchema.nullable() });
18
18
  const oneDriveDownloadItemAsFormat = require_action.action("ONE_DRIVE_DOWNLOAD_ITEM_AS_FORMAT", {
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-as-format.cjs","names":["z","action"],"sources":["../../src/actions/download-item-as-format.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDownloadItemAsFormatInput: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const OneDriveDownloadItemAsFormatOutput: z.ZodTypeAny = z.object({\n content: OneDriveDownloadItemAsFormat_FileDownloadableSchema.nullable(),\n});\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,oCAAkDA,IAAAA,EAAE,OAAO;CACtE,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2JAA2J;CACpM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACzK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;AAC/O,CAAC;AACD,MAAM,sDAAoEA,IAAAA,EAAE,OAAO;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,qCAAmDA,IAAAA,EAAE,OAAO,EACvE,SAAS,oDAAoD,SAAS,EACxE,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"download-item-as-format.cjs","names":["z","action"],"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});\nexport const OneDriveDownloadItemAsFormatOutput = z.object({\n content: OneDriveDownloadItemAsFormat_FileDownloadableSchema.nullable(),\n});\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,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2JAA2J;CACpM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS;CACvJ,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gIAAgI,CAAC,CAAC,SAAS;CACzK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CAC7G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;AAC/O,CAAC;AACD,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,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;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAAS,oDAAoD,SAAS,EACxE,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-item-as-format.d.ts
4
- declare const OneDriveDownloadItemAsFormatInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadItemAsFormatOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadItemAsFormat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadItemAsFormatInput: z.ZodObject<{
5
+ format: z.ZodEnum<{
6
+ pdf: "pdf";
7
+ html: "html";
8
+ }>;
9
+ item_id: z.ZodOptional<z.ZodString>;
10
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
+ drive_id: z.ZodOptional<z.ZodString>;
12
+ file_name: z.ZodString;
13
+ path_and_filename: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const OneDriveDownloadItemAsFormatOutput: z.ZodObject<{
16
+ content: z.ZodNullable<z.ZodObject<{
17
+ name: z.ZodNullable<z.ZodString>;
18
+ s3url: z.ZodNullable<z.ZodString>;
19
+ mimetype: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { oneDriveDownloadItemAsFormat };
9
32
  //# sourceMappingURL=download-item-as-format.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"download-item-as-format.d.cts","names":[],"sources":["../../src/actions/download-item-as-format.ts"],"mappings":";;;cAIa,iCAAA,EAAmC,CAAA,CAAE,UAOhD;AAAA,cAMW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-item-as-format.d.ts
4
- declare const OneDriveDownloadItemAsFormatInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadItemAsFormatOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadItemAsFormat: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadItemAsFormatInput: z.ZodObject<{
5
+ format: z.ZodEnum<{
6
+ pdf: "pdf";
7
+ html: "html";
8
+ }>;
9
+ item_id: z.ZodOptional<z.ZodString>;
10
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
11
+ drive_id: z.ZodOptional<z.ZodString>;
12
+ file_name: z.ZodString;
13
+ path_and_filename: z.ZodOptional<z.ZodString>;
14
+ }, z.core.$strip>;
15
+ declare const OneDriveDownloadItemAsFormatOutput: z.ZodObject<{
16
+ content: z.ZodNullable<z.ZodObject<{
17
+ name: z.ZodNullable<z.ZodString>;
18
+ s3url: z.ZodNullable<z.ZodString>;
19
+ mimetype: z.ZodNullable<z.ZodString>;
20
+ }, z.core.$strip>>;
21
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { oneDriveDownloadItemAsFormat };
9
32
  //# 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,EAAmC,CAAA,CAAE,UAOhD;AAAA,cAMW,kCAAA,EAAoC,CAAA,CAAE,UAEjD;AAAA,cAEW,4BAAA,gCAA4B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -10,9 +10,9 @@ const OneDriveDownloadItemAsFormatInput = z.object({
10
10
  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()
11
11
  });
12
12
  const OneDriveDownloadItemAsFormat_FileDownloadableSchema = z.object({
13
- name: z.string().describe("Name of the file"),
14
- s3url: z.string().describe("S3 URL of the downloaded file."),
15
- mimetype: z.string().describe("Mime type of the file.")
13
+ name: z.string().describe("Name of the file").nullable(),
14
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
15
+ mimetype: z.string().describe("Mime type of the file.").nullable()
16
16
  });
17
17
  const oneDriveDownloadItemAsFormat = action("ONE_DRIVE_DOWNLOAD_ITEM_AS_FORMAT", {
18
18
  slug: "one_drive-download-item-as-format",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const OneDriveDownloadItemAsFormatOutput: z.ZodTypeAny = z.object({\n content: OneDriveDownloadItemAsFormat_FileDownloadableSchema.nullable(),\n});\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,oCAAkD,EAAE,OAAO;CACtE,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,sDAAoE,EAAE,OAAO;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT8D,EAAE,OAAO,EACvE,SAAS,oDAAoD,SAAS,EACxE,CAOU;AACV,CAAC"}
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});\nexport const OneDriveDownloadItemAsFormatOutput = z.object({\n content: OneDriveDownloadItemAsFormat_FileDownloadableSchema.nullable(),\n});\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;AAKD,MAAa,+BAA+B,OAAO,qCAAqC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,oDAAoD,SAAS,EACxE,CAOU;AACV,CAAC"}
@@ -8,9 +8,9 @@ const OneDriveDownloadItemVersionInput = zod.z.object({
8
8
  version_id: zod.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.")
9
9
  });
10
10
  const OneDriveDownloadItemVersion_FileDownloadableSchema = zod.z.object({
11
- name: zod.z.string().describe("Name of the file"),
12
- s3url: zod.z.string().describe("S3 URL of the downloaded file."),
13
- mimetype: zod.z.string().describe("Mime type of the file.")
11
+ name: zod.z.string().describe("Name of the file").nullable(),
12
+ s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
13
+ mimetype: zod.z.string().describe("Mime type of the file.").nullable()
14
14
  });
15
15
  const OneDriveDownloadItemVersionOutput = zod.z.object({ content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable() });
16
16
  const oneDriveDownloadItemVersion = require_action.action("ONE_DRIVE_DOWNLOAD_ITEM_VERSION", {
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const OneDriveDownloadItemVersionOutput: z.ZodTypeAny = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n});\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,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,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,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,SAAS,mDAAmD,SAAS,EACvE,CAAC;AAED,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 { 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});\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n});\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;AACD,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-item-version.d.ts
4
- declare const OneDriveDownloadItemVersionInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadItemVersionOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadItemVersionInput: z.ZodObject<{
5
+ item_id: z.ZodString;
6
+ drive_id: z.ZodOptional<z.ZodString>;
7
+ file_name: z.ZodString;
8
+ version_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const OneDriveDownloadItemVersionOutput: z.ZodObject<{
11
+ content: z.ZodNullable<z.ZodObject<{
12
+ name: z.ZodNullable<z.ZodString>;
13
+ s3url: z.ZodNullable<z.ZodString>;
14
+ mimetype: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { oneDriveDownloadItemVersion };
9
25
  //# 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,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAMW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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,9 +1,25 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/download-item-version.d.ts
4
- declare const OneDriveDownloadItemVersionInput: z.ZodTypeAny;
5
- declare const OneDriveDownloadItemVersionOutput: z.ZodTypeAny;
6
- declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveDownloadItemVersionInput: z.ZodObject<{
5
+ item_id: z.ZodString;
6
+ drive_id: z.ZodOptional<z.ZodString>;
7
+ file_name: z.ZodString;
8
+ version_id: z.ZodString;
9
+ }, z.core.$strip>;
10
+ declare const OneDriveDownloadItemVersionOutput: z.ZodObject<{
11
+ content: z.ZodNullable<z.ZodObject<{
12
+ name: z.ZodNullable<z.ZodString>;
13
+ s3url: z.ZodNullable<z.ZodString>;
14
+ mimetype: z.ZodNullable<z.ZodString>;
15
+ }, z.core.$strip>>;
16
+ }, z.core.$strip>;
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]>, readonly [import("@keystrokehq/shared").Credential]>;
7
23
  //#endregion
8
24
  export { oneDriveDownloadItemVersion };
9
25
  //# 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,EAAkC,CAAA,CAAE,UAK/C;AAAA,cAMW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
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"}
@@ -8,9 +8,9 @@ const OneDriveDownloadItemVersionInput = z.object({
8
8
  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.")
9
9
  });
10
10
  const OneDriveDownloadItemVersion_FileDownloadableSchema = z.object({
11
- name: z.string().describe("Name of the file"),
12
- s3url: z.string().describe("S3 URL of the downloaded file."),
13
- mimetype: z.string().describe("Mime type of the file.")
11
+ name: z.string().describe("Name of the file").nullable(),
12
+ s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
13
+ mimetype: z.string().describe("Mime type of the file.").nullable()
14
14
  });
15
15
  const oneDriveDownloadItemVersion = action("ONE_DRIVE_DOWNLOAD_ITEM_VERSION", {
16
16
  slug: "one_drive-download-item-version",
@@ -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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const OneDriveDownloadItemVersionOutput: z.ZodTypeAny = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n});\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,mCAAiD,EAAE,OAAO;CACrE,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,qDAAmE,EAAE,OAAO;CAChF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC5C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC3D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAKD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,SAAS,mDAAmD,SAAS,EACvE,CAOU;AACV,CAAC"}
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});\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n});\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;AAKD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAOU;AACV,CAAC"}
@@ -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.ZodTypeAny = 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.ZodTypeAny = 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});\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,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACtM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;AACjQ,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,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,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,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;AAED,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 { 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});\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,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,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,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;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}