@keystrokehq/one_drive 0.1.0 → 0.1.3

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 (674) 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 +5 -5
  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 +5 -5
  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 +3 -3
  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 +3 -3
  43. package/dist/actions/copy-item.mjs.map +1 -1
  44. package/dist/actions/create-item-permission.cjs +4 -4
  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 +4 -4
  51. package/dist/actions/create-item-permission.mjs.map +1 -1
  52. package/dist/actions/create-link.cjs +5 -5
  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 +5 -5
  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 +3 -3
  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 +3 -3
  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 +5 -5
  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 +5 -5
  139. package/dist/actions/download-file-by-path.mjs.map +1 -1
  140. package/dist/actions/download-file.cjs +6 -6
  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 +6 -6
  147. package/dist/actions/download-file.mjs.map +1 -1
  148. package/dist/actions/download-item-as-format.cjs +5 -5
  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 +5 -5
  155. package/dist/actions/download-item-as-format.mjs.map +1 -1
  156. package/dist/actions/download-item-version.cjs +5 -5
  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 +5 -5
  163. package/dist/actions/download-item-version.mjs.map +1 -1
  164. package/dist/actions/follow-item.cjs +1 -1
  165. package/dist/actions/follow-item.cjs.map +1 -1
  166. package/dist/actions/follow-item.d.cts +23 -3
  167. package/dist/actions/follow-item.d.cts.map +1 -1
  168. package/dist/actions/follow-item.d.mts +23 -3
  169. package/dist/actions/follow-item.d.mts.map +1 -1
  170. package/dist/actions/follow-item.mjs +1 -1
  171. package/dist/actions/follow-item.mjs.map +1 -1
  172. package/dist/actions/get-document-comments.cjs +4 -4
  173. package/dist/actions/get-document-comments.cjs.map +1 -1
  174. package/dist/actions/get-document-comments.d.cts +25 -3
  175. package/dist/actions/get-document-comments.d.cts.map +1 -1
  176. package/dist/actions/get-document-comments.d.mts +25 -3
  177. package/dist/actions/get-document-comments.d.mts.map +1 -1
  178. package/dist/actions/get-document-comments.mjs +4 -4
  179. package/dist/actions/get-document-comments.mjs.map +1 -1
  180. package/dist/actions/get-drive-item-by-sharing-url.cjs +2 -2
  181. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  182. package/dist/actions/get-drive-item-by-sharing-url.d.cts +42 -3
  183. package/dist/actions/get-drive-item-by-sharing-url.d.cts.map +1 -1
  184. package/dist/actions/get-drive-item-by-sharing-url.d.mts +42 -3
  185. package/dist/actions/get-drive-item-by-sharing-url.d.mts.map +1 -1
  186. package/dist/actions/get-drive-item-by-sharing-url.mjs +2 -2
  187. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  188. package/dist/actions/get-drive.cjs +5 -5
  189. package/dist/actions/get-drive.cjs.map +1 -1
  190. package/dist/actions/get-drive.d.cts +96 -3
  191. package/dist/actions/get-drive.d.cts.map +1 -1
  192. package/dist/actions/get-drive.d.mts +96 -3
  193. package/dist/actions/get-drive.d.mts.map +1 -1
  194. package/dist/actions/get-drive.mjs +5 -5
  195. package/dist/actions/get-drive.mjs.map +1 -1
  196. package/dist/actions/get-followed-item.cjs +4 -4
  197. package/dist/actions/get-followed-item.cjs.map +1 -1
  198. package/dist/actions/get-followed-item.d.cts +41 -3
  199. package/dist/actions/get-followed-item.d.cts.map +1 -1
  200. package/dist/actions/get-followed-item.d.mts +41 -3
  201. package/dist/actions/get-followed-item.d.mts.map +1 -1
  202. package/dist/actions/get-followed-item.mjs +4 -4
  203. package/dist/actions/get-followed-item.mjs.map +1 -1
  204. package/dist/actions/get-group-drive.cjs +5 -5
  205. package/dist/actions/get-group-drive.cjs.map +1 -1
  206. package/dist/actions/get-group-drive.d.cts +94 -3
  207. package/dist/actions/get-group-drive.d.cts.map +1 -1
  208. package/dist/actions/get-group-drive.d.mts +94 -3
  209. package/dist/actions/get-group-drive.d.mts.map +1 -1
  210. package/dist/actions/get-group-drive.mjs +5 -5
  211. package/dist/actions/get-group-drive.mjs.map +1 -1
  212. package/dist/actions/get-item-permissions.cjs +9 -9
  213. package/dist/actions/get-item-permissions.cjs.map +1 -1
  214. package/dist/actions/get-item-permissions.d.cts +125 -3
  215. package/dist/actions/get-item-permissions.d.cts.map +1 -1
  216. package/dist/actions/get-item-permissions.d.mts +125 -3
  217. package/dist/actions/get-item-permissions.d.mts.map +1 -1
  218. package/dist/actions/get-item-permissions.mjs +9 -9
  219. package/dist/actions/get-item-permissions.mjs.map +1 -1
  220. package/dist/actions/get-item-thumbnails.cjs +3 -3
  221. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  222. package/dist/actions/get-item-thumbnails.d.cts +39 -3
  223. package/dist/actions/get-item-thumbnails.d.cts.map +1 -1
  224. package/dist/actions/get-item-thumbnails.d.mts +39 -3
  225. package/dist/actions/get-item-thumbnails.d.mts.map +1 -1
  226. package/dist/actions/get-item-thumbnails.mjs +3 -3
  227. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  228. package/dist/actions/get-item-versions.cjs +8 -8
  229. package/dist/actions/get-item-versions.cjs.map +1 -1
  230. package/dist/actions/get-item-versions.d.cts +56 -3
  231. package/dist/actions/get-item-versions.d.cts.map +1 -1
  232. package/dist/actions/get-item-versions.d.mts +56 -3
  233. package/dist/actions/get-item-versions.d.mts.map +1 -1
  234. package/dist/actions/get-item-versions.mjs +8 -8
  235. package/dist/actions/get-item-versions.mjs.map +1 -1
  236. package/dist/actions/get-item.cjs +8 -8
  237. package/dist/actions/get-item.cjs.map +1 -1
  238. package/dist/actions/get-item.d.cts +137 -3
  239. package/dist/actions/get-item.d.cts.map +1 -1
  240. package/dist/actions/get-item.d.mts +137 -3
  241. package/dist/actions/get-item.d.mts.map +1 -1
  242. package/dist/actions/get-item.mjs +8 -8
  243. package/dist/actions/get-item.mjs.map +1 -1
  244. package/dist/actions/get-root.cjs +7 -7
  245. package/dist/actions/get-root.cjs.map +1 -1
  246. package/dist/actions/get-root.d.cts +69 -3
  247. package/dist/actions/get-root.d.cts.map +1 -1
  248. package/dist/actions/get-root.d.mts +69 -3
  249. package/dist/actions/get-root.d.mts.map +1 -1
  250. package/dist/actions/get-root.mjs +7 -7
  251. package/dist/actions/get-root.mjs.map +1 -1
  252. package/dist/actions/get-share.cjs +2 -2
  253. package/dist/actions/get-share.cjs.map +1 -1
  254. package/dist/actions/get-share.d.cts +25 -3
  255. package/dist/actions/get-share.d.cts.map +1 -1
  256. package/dist/actions/get-share.d.mts +25 -3
  257. package/dist/actions/get-share.d.mts.map +1 -1
  258. package/dist/actions/get-share.mjs +2 -2
  259. package/dist/actions/get-share.mjs.map +1 -1
  260. package/dist/actions/get-sharepoint-list-items.cjs +3 -3
  261. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  262. package/dist/actions/get-sharepoint-list-items.d.cts +30 -3
  263. package/dist/actions/get-sharepoint-list-items.d.cts.map +1 -1
  264. package/dist/actions/get-sharepoint-list-items.d.mts +30 -3
  265. package/dist/actions/get-sharepoint-list-items.d.mts.map +1 -1
  266. package/dist/actions/get-sharepoint-list-items.mjs +3 -3
  267. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  268. package/dist/actions/get-site-page-content.cjs +12 -12
  269. package/dist/actions/get-site-page-content.cjs.map +1 -1
  270. package/dist/actions/get-site-page-content.d.cts +68 -3
  271. package/dist/actions/get-site-page-content.d.cts.map +1 -1
  272. package/dist/actions/get-site-page-content.d.mts +68 -3
  273. package/dist/actions/get-site-page-content.d.mts.map +1 -1
  274. package/dist/actions/get-site-page-content.mjs +12 -12
  275. package/dist/actions/get-site-page-content.mjs.map +1 -1
  276. package/dist/actions/get-site.cjs +2 -2
  277. package/dist/actions/get-site.cjs.map +1 -1
  278. package/dist/actions/get-site.d.cts +24 -3
  279. package/dist/actions/get-site.d.cts.map +1 -1
  280. package/dist/actions/get-site.d.mts +24 -3
  281. package/dist/actions/get-site.d.mts.map +1 -1
  282. package/dist/actions/get-site.mjs +2 -2
  283. package/dist/actions/get-site.mjs.map +1 -1
  284. package/dist/actions/get-special-folder.cjs +7 -7
  285. package/dist/actions/get-special-folder.cjs.map +1 -1
  286. package/dist/actions/get-special-folder.d.cts +70 -3
  287. package/dist/actions/get-special-folder.d.cts.map +1 -1
  288. package/dist/actions/get-special-folder.d.mts +70 -3
  289. package/dist/actions/get-special-folder.d.mts.map +1 -1
  290. package/dist/actions/get-special-folder.mjs +7 -7
  291. package/dist/actions/get-special-folder.mjs.map +1 -1
  292. package/dist/actions/get-user.cjs +1 -1
  293. package/dist/actions/get-user.cjs.map +1 -1
  294. package/dist/actions/get-user.d.cts +33 -3
  295. package/dist/actions/get-user.d.cts.map +1 -1
  296. package/dist/actions/get-user.d.mts +33 -3
  297. package/dist/actions/get-user.d.mts.map +1 -1
  298. package/dist/actions/get-user.mjs +1 -1
  299. package/dist/actions/get-user.mjs.map +1 -1
  300. package/dist/actions/get-workbook-used-range.cjs +7 -7
  301. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  302. package/dist/actions/get-workbook-used-range.d.cts +33 -3
  303. package/dist/actions/get-workbook-used-range.d.cts.map +1 -1
  304. package/dist/actions/get-workbook-used-range.d.mts +33 -3
  305. package/dist/actions/get-workbook-used-range.d.mts.map +1 -1
  306. package/dist/actions/get-workbook-used-range.mjs +7 -7
  307. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  308. package/dist/actions/get-workbook-worksheet.cjs +1 -1
  309. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  310. package/dist/actions/get-workbook-worksheet.d.cts +20 -3
  311. package/dist/actions/get-workbook-worksheet.d.cts.map +1 -1
  312. package/dist/actions/get-workbook-worksheet.d.mts +20 -3
  313. package/dist/actions/get-workbook-worksheet.d.mts.map +1 -1
  314. package/dist/actions/get-workbook-worksheet.mjs +1 -1
  315. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  316. package/dist/actions/grant-share-permission.cjs +6 -6
  317. package/dist/actions/grant-share-permission.cjs.map +1 -1
  318. package/dist/actions/grant-share-permission.d.cts +27 -3
  319. package/dist/actions/grant-share-permission.d.cts.map +1 -1
  320. package/dist/actions/grant-share-permission.d.mts +27 -3
  321. package/dist/actions/grant-share-permission.d.mts.map +1 -1
  322. package/dist/actions/grant-share-permission.mjs +6 -6
  323. package/dist/actions/grant-share-permission.mjs.map +1 -1
  324. package/dist/actions/grant-sharepoint-item-permission.cjs.map +1 -1
  325. package/dist/actions/grant-sharepoint-item-permission.d.cts +27 -3
  326. package/dist/actions/grant-sharepoint-item-permission.d.cts.map +1 -1
  327. package/dist/actions/grant-sharepoint-item-permission.d.mts +27 -3
  328. package/dist/actions/grant-sharepoint-item-permission.d.mts.map +1 -1
  329. package/dist/actions/grant-sharepoint-item-permission.mjs.map +1 -1
  330. package/dist/actions/index.cjs +4 -4
  331. package/dist/actions/index.d.cts +3 -3
  332. package/dist/actions/index.d.mts +3 -3
  333. package/dist/actions/index.mjs +3 -3
  334. package/dist/actions/invite-user-to-item.cjs +7 -7
  335. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  336. package/dist/actions/invite-user-to-item.d.cts +62 -3
  337. package/dist/actions/invite-user-to-item.d.cts.map +1 -1
  338. package/dist/actions/invite-user-to-item.d.mts +62 -3
  339. package/dist/actions/invite-user-to-item.d.mts.map +1 -1
  340. package/dist/actions/invite-user-to-item.mjs +7 -7
  341. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  342. package/dist/actions/list-activities.cjs +20 -20
  343. package/dist/actions/list-activities.cjs.map +1 -1
  344. package/dist/actions/list-activities.d.cts +274 -3
  345. package/dist/actions/list-activities.d.cts.map +1 -1
  346. package/dist/actions/list-activities.d.mts +274 -3
  347. package/dist/actions/list-activities.d.mts.map +1 -1
  348. package/dist/actions/list-activities.mjs +20 -20
  349. package/dist/actions/list-activities.mjs.map +1 -1
  350. package/dist/actions/list-all-drive-items.cjs +30 -30
  351. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  352. package/dist/actions/list-all-drive-items.d.cts +218 -3
  353. package/dist/actions/list-all-drive-items.d.cts.map +1 -1
  354. package/dist/actions/list-all-drive-items.d.mts +218 -3
  355. package/dist/actions/list-all-drive-items.d.mts.map +1 -1
  356. package/dist/actions/list-all-drive-items.mjs +30 -30
  357. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  358. package/dist/actions/list-bundles.cjs +7 -7
  359. package/dist/actions/list-bundles.cjs.map +1 -1
  360. package/dist/actions/list-bundles.d.cts +68 -3
  361. package/dist/actions/list-bundles.d.cts.map +1 -1
  362. package/dist/actions/list-bundles.d.mts +68 -3
  363. package/dist/actions/list-bundles.d.mts.map +1 -1
  364. package/dist/actions/list-bundles.mjs +7 -7
  365. package/dist/actions/list-bundles.mjs.map +1 -1
  366. package/dist/actions/list-drives.cjs +5 -5
  367. package/dist/actions/list-drives.cjs.map +1 -1
  368. package/dist/actions/list-drives.d.cts +60 -3
  369. package/dist/actions/list-drives.d.cts.map +1 -1
  370. package/dist/actions/list-drives.d.mts +60 -3
  371. package/dist/actions/list-drives.d.mts.map +1 -1
  372. package/dist/actions/list-drives.mjs +5 -5
  373. package/dist/actions/list-drives.mjs.map +1 -1
  374. package/dist/actions/list-folder-children.cjs +29 -29
  375. package/dist/actions/list-folder-children.cjs.map +1 -1
  376. package/dist/actions/list-folder-children.d.cts +228 -3
  377. package/dist/actions/list-folder-children.d.cts.map +1 -1
  378. package/dist/actions/list-folder-children.d.mts +228 -3
  379. package/dist/actions/list-folder-children.d.mts.map +1 -1
  380. package/dist/actions/list-folder-children.mjs +29 -29
  381. package/dist/actions/list-folder-children.mjs.map +1 -1
  382. package/dist/actions/list-item-activities.cjs +6 -6
  383. package/dist/actions/list-item-activities.cjs.map +1 -1
  384. package/dist/actions/list-item-activities.d.cts +24 -3
  385. package/dist/actions/list-item-activities.d.cts.map +1 -1
  386. package/dist/actions/list-item-activities.d.mts +24 -3
  387. package/dist/actions/list-item-activities.d.mts.map +1 -1
  388. package/dist/actions/list-item-activities.mjs +6 -6
  389. package/dist/actions/list-item-activities.mjs.map +1 -1
  390. package/dist/actions/list-onedrive-shared-items.cjs +45 -0
  391. package/dist/actions/list-onedrive-shared-items.cjs.map +1 -0
  392. package/dist/actions/list-onedrive-shared-items.d.cts +41 -0
  393. package/dist/actions/list-onedrive-shared-items.d.cts.map +1 -0
  394. package/dist/actions/list-onedrive-shared-items.d.mts +41 -0
  395. package/dist/actions/list-onedrive-shared-items.d.mts.map +1 -0
  396. package/dist/actions/list-onedrive-shared-items.mjs +44 -0
  397. package/dist/actions/list-onedrive-shared-items.mjs.map +1 -0
  398. package/dist/actions/list-root-drive-changes.cjs +7 -7
  399. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  400. package/dist/actions/list-root-drive-changes.d.cts +42 -3
  401. package/dist/actions/list-root-drive-changes.d.cts.map +1 -1
  402. package/dist/actions/list-root-drive-changes.d.mts +42 -3
  403. package/dist/actions/list-root-drive-changes.d.mts.map +1 -1
  404. package/dist/actions/list-root-drive-changes.mjs +7 -7
  405. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  406. package/dist/actions/list-share-permissions.cjs +2 -2
  407. package/dist/actions/list-share-permissions.cjs.map +1 -1
  408. package/dist/actions/list-share-permissions.d.cts +18 -3
  409. package/dist/actions/list-share-permissions.d.cts.map +1 -1
  410. package/dist/actions/list-share-permissions.d.mts +18 -3
  411. package/dist/actions/list-share-permissions.d.mts.map +1 -1
  412. package/dist/actions/list-share-permissions.mjs +2 -2
  413. package/dist/actions/list-share-permissions.mjs.map +1 -1
  414. package/dist/actions/list-sharepoint-item-permissions.cjs.map +1 -1
  415. package/dist/actions/list-sharepoint-item-permissions.d.cts +19 -3
  416. package/dist/actions/list-sharepoint-item-permissions.d.cts.map +1 -1
  417. package/dist/actions/list-sharepoint-item-permissions.d.mts +19 -3
  418. package/dist/actions/list-sharepoint-item-permissions.d.mts.map +1 -1
  419. package/dist/actions/list-sharepoint-item-permissions.mjs.map +1 -1
  420. package/dist/actions/list-sharepoint-list-items-delta.cjs +3 -3
  421. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  422. package/dist/actions/list-sharepoint-list-items-delta.d.cts +31 -3
  423. package/dist/actions/list-sharepoint-list-items-delta.d.cts.map +1 -1
  424. package/dist/actions/list-sharepoint-list-items-delta.d.mts +31 -3
  425. package/dist/actions/list-sharepoint-list-items-delta.d.mts.map +1 -1
  426. package/dist/actions/list-sharepoint-list-items-delta.mjs +3 -3
  427. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  428. package/dist/actions/list-site-columns.cjs +2 -2
  429. package/dist/actions/list-site-columns.cjs.map +1 -1
  430. package/dist/actions/list-site-columns.d.cts +46 -3
  431. package/dist/actions/list-site-columns.d.cts.map +1 -1
  432. package/dist/actions/list-site-columns.d.mts +46 -3
  433. package/dist/actions/list-site-columns.d.mts.map +1 -1
  434. package/dist/actions/list-site-columns.mjs +2 -2
  435. package/dist/actions/list-site-columns.mjs.map +1 -1
  436. package/dist/actions/list-site-items-delta.cjs +3 -3
  437. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  438. package/dist/actions/list-site-items-delta.d.cts +25 -3
  439. package/dist/actions/list-site-items-delta.d.cts.map +1 -1
  440. package/dist/actions/list-site-items-delta.d.mts +25 -3
  441. package/dist/actions/list-site-items-delta.d.mts.map +1 -1
  442. package/dist/actions/list-site-items-delta.mjs +3 -3
  443. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  444. package/dist/actions/list-site-lists.cjs +9 -9
  445. package/dist/actions/list-site-lists.cjs.map +1 -1
  446. package/dist/actions/list-site-lists.d.cts +82 -3
  447. package/dist/actions/list-site-lists.d.cts.map +1 -1
  448. package/dist/actions/list-site-lists.d.mts +82 -3
  449. package/dist/actions/list-site-lists.d.mts.map +1 -1
  450. package/dist/actions/list-site-lists.mjs +9 -9
  451. package/dist/actions/list-site-lists.mjs.map +1 -1
  452. package/dist/actions/list-site-subsites.cjs +2 -2
  453. package/dist/actions/list-site-subsites.cjs.map +1 -1
  454. package/dist/actions/list-site-subsites.d.cts +28 -3
  455. package/dist/actions/list-site-subsites.d.cts.map +1 -1
  456. package/dist/actions/list-site-subsites.d.mts +28 -3
  457. package/dist/actions/list-site-subsites.d.mts.map +1 -1
  458. package/dist/actions/list-site-subsites.mjs +2 -2
  459. package/dist/actions/list-site-subsites.mjs.map +1 -1
  460. package/dist/actions/list-subscriptions.cjs +9 -9
  461. package/dist/actions/list-subscriptions.cjs.map +1 -1
  462. package/dist/actions/list-subscriptions.d.cts +23 -3
  463. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  464. package/dist/actions/list-subscriptions.d.mts +23 -3
  465. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  466. package/dist/actions/list-subscriptions.mjs +9 -9
  467. package/dist/actions/list-subscriptions.mjs.map +1 -1
  468. package/dist/actions/list-workbook-worksheets.cjs +2 -2
  469. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  470. package/dist/actions/list-workbook-worksheets.d.cts +26 -3
  471. package/dist/actions/list-workbook-worksheets.d.cts.map +1 -1
  472. package/dist/actions/list-workbook-worksheets.d.mts +26 -3
  473. package/dist/actions/list-workbook-worksheets.d.mts.map +1 -1
  474. package/dist/actions/list-workbook-worksheets.mjs +2 -2
  475. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  476. package/dist/actions/move-item.cjs +4 -4
  477. package/dist/actions/move-item.cjs.map +1 -1
  478. package/dist/actions/move-item.d.cts +38 -3
  479. package/dist/actions/move-item.d.cts.map +1 -1
  480. package/dist/actions/move-item.d.mts +38 -3
  481. package/dist/actions/move-item.d.mts.map +1 -1
  482. package/dist/actions/move-item.mjs +4 -4
  483. package/dist/actions/move-item.mjs.map +1 -1
  484. package/dist/actions/onedrive-create-folder.cjs +4 -4
  485. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  486. package/dist/actions/onedrive-create-folder.d.cts +23 -3
  487. package/dist/actions/onedrive-create-folder.d.cts.map +1 -1
  488. package/dist/actions/onedrive-create-folder.d.mts +23 -3
  489. package/dist/actions/onedrive-create-folder.d.mts.map +1 -1
  490. package/dist/actions/onedrive-create-folder.mjs +4 -4
  491. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  492. package/dist/actions/onedrive-create-text-file.cjs +5 -5
  493. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  494. package/dist/actions/onedrive-create-text-file.d.cts +24 -3
  495. package/dist/actions/onedrive-create-text-file.d.cts.map +1 -1
  496. package/dist/actions/onedrive-create-text-file.d.mts +24 -3
  497. package/dist/actions/onedrive-create-text-file.d.mts.map +1 -1
  498. package/dist/actions/onedrive-create-text-file.mjs +5 -5
  499. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  500. package/dist/actions/onedrive-find-file.cjs +12 -12
  501. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  502. package/dist/actions/onedrive-find-file.d.cts +95 -3
  503. package/dist/actions/onedrive-find-file.d.cts.map +1 -1
  504. package/dist/actions/onedrive-find-file.d.mts +95 -3
  505. package/dist/actions/onedrive-find-file.d.mts.map +1 -1
  506. package/dist/actions/onedrive-find-file.mjs +12 -12
  507. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  508. package/dist/actions/onedrive-find-folder.cjs +8 -8
  509. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  510. package/dist/actions/onedrive-find-folder.d.cts +85 -3
  511. package/dist/actions/onedrive-find-folder.d.cts.map +1 -1
  512. package/dist/actions/onedrive-find-folder.d.mts +85 -3
  513. package/dist/actions/onedrive-find-folder.d.mts.map +1 -1
  514. package/dist/actions/onedrive-find-folder.mjs +8 -8
  515. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  516. package/dist/actions/onedrive-list-items.cjs +29 -29
  517. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  518. package/dist/actions/onedrive-list-items.d.cts +187 -3
  519. package/dist/actions/onedrive-list-items.d.cts.map +1 -1
  520. package/dist/actions/onedrive-list-items.d.mts +187 -3
  521. package/dist/actions/onedrive-list-items.d.mts.map +1 -1
  522. package/dist/actions/onedrive-list-items.mjs +29 -29
  523. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  524. package/dist/actions/onedrive-upload-file.cjs +6 -6
  525. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  526. package/dist/actions/onedrive-upload-file.d.cts +62 -3
  527. package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
  528. package/dist/actions/onedrive-upload-file.d.mts +62 -3
  529. package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
  530. package/dist/actions/onedrive-upload-file.mjs +6 -6
  531. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  532. package/dist/actions/preview-drive-item.cjs +1 -1
  533. package/dist/actions/preview-drive-item.cjs.map +1 -1
  534. package/dist/actions/preview-drive-item.d.cts +25 -3
  535. package/dist/actions/preview-drive-item.d.cts.map +1 -1
  536. package/dist/actions/preview-drive-item.d.mts +25 -3
  537. package/dist/actions/preview-drive-item.d.mts.map +1 -1
  538. package/dist/actions/preview-drive-item.mjs +1 -1
  539. package/dist/actions/preview-drive-item.mjs.map +1 -1
  540. package/dist/actions/read-workbook-range.cjs +7 -7
  541. package/dist/actions/read-workbook-range.cjs.map +1 -1
  542. package/dist/actions/read-workbook-range.d.cts +35 -3
  543. package/dist/actions/read-workbook-range.d.cts.map +1 -1
  544. package/dist/actions/read-workbook-range.d.mts +35 -3
  545. package/dist/actions/read-workbook-range.d.mts.map +1 -1
  546. package/dist/actions/read-workbook-range.mjs +7 -7
  547. package/dist/actions/read-workbook-range.mjs.map +1 -1
  548. package/dist/actions/restore-drive-item.cjs +1 -1
  549. package/dist/actions/restore-drive-item.cjs.map +1 -1
  550. package/dist/actions/restore-drive-item.d.cts +24 -3
  551. package/dist/actions/restore-drive-item.d.cts.map +1 -1
  552. package/dist/actions/restore-drive-item.d.mts +24 -3
  553. package/dist/actions/restore-drive-item.d.mts.map +1 -1
  554. package/dist/actions/restore-drive-item.mjs +1 -1
  555. package/dist/actions/restore-drive-item.mjs.map +1 -1
  556. package/dist/actions/restore-item-version.cjs +1 -1
  557. package/dist/actions/restore-item-version.cjs.map +1 -1
  558. package/dist/actions/restore-item-version.d.cts +15 -3
  559. package/dist/actions/restore-item-version.d.cts.map +1 -1
  560. package/dist/actions/restore-item-version.d.mts +15 -3
  561. package/dist/actions/restore-item-version.d.mts.map +1 -1
  562. package/dist/actions/restore-item-version.mjs +1 -1
  563. package/dist/actions/restore-item-version.mjs.map +1 -1
  564. package/dist/actions/search-drive-items.cjs +45 -0
  565. package/dist/actions/search-drive-items.cjs.map +1 -0
  566. package/dist/actions/search-drive-items.d.cts +42 -0
  567. package/dist/actions/search-drive-items.d.cts.map +1 -0
  568. package/dist/actions/search-drive-items.d.mts +42 -0
  569. package/dist/actions/search-drive-items.d.mts.map +1 -0
  570. package/dist/actions/search-drive-items.mjs +44 -0
  571. package/dist/actions/search-drive-items.mjs.map +1 -0
  572. package/dist/actions/search-items.cjs +10 -10
  573. package/dist/actions/search-items.cjs.map +1 -1
  574. package/dist/actions/search-items.d.cts +109 -3
  575. package/dist/actions/search-items.d.cts.map +1 -1
  576. package/dist/actions/search-items.d.mts +109 -3
  577. package/dist/actions/search-items.d.mts.map +1 -1
  578. package/dist/actions/search-items.mjs +10 -10
  579. package/dist/actions/search-items.mjs.map +1 -1
  580. package/dist/actions/unfollow-item.cjs +1 -1
  581. package/dist/actions/unfollow-item.cjs.map +1 -1
  582. package/dist/actions/unfollow-item.d.cts +9 -3
  583. package/dist/actions/unfollow-item.d.cts.map +1 -1
  584. package/dist/actions/unfollow-item.d.mts +9 -3
  585. package/dist/actions/unfollow-item.d.mts.map +1 -1
  586. package/dist/actions/unfollow-item.mjs +1 -1
  587. package/dist/actions/unfollow-item.mjs.map +1 -1
  588. package/dist/actions/update-drive-item-metadata.cjs +7 -7
  589. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  590. package/dist/actions/update-drive-item-metadata.d.cts +61 -3
  591. package/dist/actions/update-drive-item-metadata.d.cts.map +1 -1
  592. package/dist/actions/update-drive-item-metadata.d.mts +61 -3
  593. package/dist/actions/update-drive-item-metadata.d.mts.map +1 -1
  594. package/dist/actions/update-drive-item-metadata.mjs +7 -7
  595. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  596. package/dist/actions/update-drive-items-permissions.cjs +5 -5
  597. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  598. package/dist/actions/update-drive-items-permissions.d.cts +82 -3
  599. package/dist/actions/update-drive-items-permissions.d.cts.map +1 -1
  600. package/dist/actions/update-drive-items-permissions.d.mts +82 -3
  601. package/dist/actions/update-drive-items-permissions.d.mts.map +1 -1
  602. package/dist/actions/update-drive-items-permissions.mjs +5 -5
  603. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  604. package/dist/actions/update-file-content.cjs +3 -3
  605. package/dist/actions/update-file-content.cjs.map +1 -1
  606. package/dist/actions/update-file-content.d.cts +69 -3
  607. package/dist/actions/update-file-content.d.cts.map +1 -1
  608. package/dist/actions/update-file-content.d.mts +69 -3
  609. package/dist/actions/update-file-content.d.mts.map +1 -1
  610. package/dist/actions/update-file-content.mjs +3 -3
  611. package/dist/actions/update-file-content.mjs.map +1 -1
  612. package/dist/actions/update-sharepoint-item-permission.cjs.map +1 -1
  613. package/dist/actions/update-sharepoint-item-permission.d.cts +17 -3
  614. package/dist/actions/update-sharepoint-item-permission.d.cts.map +1 -1
  615. package/dist/actions/update-sharepoint-item-permission.d.mts +17 -3
  616. package/dist/actions/update-sharepoint-item-permission.d.mts.map +1 -1
  617. package/dist/actions/update-sharepoint-item-permission.mjs.map +1 -1
  618. package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -1
  619. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  620. package/dist/actions/update-sharepoint-list-item-fields.d.cts +17 -3
  621. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
  622. package/dist/actions/update-sharepoint-list-item-fields.d.mts +17 -3
  623. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
  624. package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -1
  625. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  626. package/dist/actions/update-workbook-range.cjs +11 -11
  627. package/dist/actions/update-workbook-range.cjs.map +1 -1
  628. package/dist/actions/update-workbook-range.d.cts +39 -3
  629. package/dist/actions/update-workbook-range.d.cts.map +1 -1
  630. package/dist/actions/update-workbook-range.d.mts +39 -3
  631. package/dist/actions/update-workbook-range.d.mts.map +1 -1
  632. package/dist/actions/update-workbook-range.mjs +11 -11
  633. package/dist/actions/update-workbook-range.mjs.map +1 -1
  634. package/dist/actions/update-workbook-worksheet.cjs +5 -5
  635. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  636. package/dist/actions/update-workbook-worksheet.d.cts +28 -3
  637. package/dist/actions/update-workbook-worksheet.d.cts.map +1 -1
  638. package/dist/actions/update-workbook-worksheet.d.mts +28 -3
  639. package/dist/actions/update-workbook-worksheet.d.mts.map +1 -1
  640. package/dist/actions/update-workbook-worksheet.mjs +5 -5
  641. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  642. package/dist/actions/write-workbook-cell.cjs +5 -5
  643. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  644. package/dist/actions/write-workbook-cell.d.cts +41 -3
  645. package/dist/actions/write-workbook-cell.d.cts.map +1 -1
  646. package/dist/actions/write-workbook-cell.d.mts +41 -3
  647. package/dist/actions/write-workbook-cell.d.mts.map +1 -1
  648. package/dist/actions/write-workbook-cell.mjs +5 -5
  649. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  650. package/dist/execute.cjs +1 -1
  651. package/dist/execute.cjs.map +1 -1
  652. package/dist/execute.mjs +1 -1
  653. package/dist/execute.mjs.map +1 -1
  654. package/dist/index.cjs +4 -4
  655. package/dist/index.d.cts +3 -3
  656. package/dist/index.d.mts +3 -3
  657. package/dist/index.mjs +3 -3
  658. package/package.json +2 -2
  659. package/dist/actions/get-recent-items.cjs +0 -47
  660. package/dist/actions/get-recent-items.cjs.map +0 -1
  661. package/dist/actions/get-recent-items.d.cts +0 -9
  662. package/dist/actions/get-recent-items.d.cts.map +0 -1
  663. package/dist/actions/get-recent-items.d.mts +0 -9
  664. package/dist/actions/get-recent-items.d.mts.map +0 -1
  665. package/dist/actions/get-recent-items.mjs +0 -46
  666. package/dist/actions/get-recent-items.mjs.map +0 -1
  667. package/dist/actions/get-shared-items.cjs +0 -27
  668. package/dist/actions/get-shared-items.cjs.map +0 -1
  669. package/dist/actions/get-shared-items.d.cts +0 -9
  670. package/dist/actions/get-shared-items.d.cts.map +0 -1
  671. package/dist/actions/get-shared-items.d.mts +0 -9
  672. package/dist/actions/get-shared-items.d.mts.map +0 -1
  673. package/dist/actions/get-shared-items.mjs +0 -26
  674. package/dist/actions/get-shared-items.mjs.map +0 -1
@@ -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.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ item_id: string;
19
+ file_name: string;
20
+ version_id: string;
21
+ drive_id?: string | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, 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.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ item_id: string;
19
+ file_name: string;
20
+ version_id: string;
21
+ drive_id?: string | undefined;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, 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,16 +8,16 @@ 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.")
14
- });
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
+ }).passthrough();
15
15
  const oneDriveDownloadItemVersion = action("ONE_DRIVE_DOWNLOAD_ITEM_VERSION", {
16
16
  slug: "one_drive-download-item-version",
17
17
  name: "Download Drive Item Version Content",
18
18
  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.",
19
19
  input: OneDriveDownloadItemVersionInput,
20
- output: z.object({ content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable() })
20
+ output: z.object({ content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable() }).passthrough()
21
21
  });
22
22
  //#endregion
23
23
  export { oneDriveDownloadItemVersion };
@@ -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}).passthrough();\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n}).passthrough();\n\nexport const oneDriveDownloadItemVersion = action(\"ONE_DRIVE_DOWNLOAD_ITEM_VERSION\", {\n slug: \"one_drive-download-item-version\",\n name: \"Download Drive Item Version Content\",\n description: \"Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.\",\n input: OneDriveDownloadItemVersionInput,\n output: OneDriveDownloadItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AAClM,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -19,7 +19,7 @@ const OneDriveFollowItemOutput = zod.z.object({
19
19
  createdDateTime: zod.z.string().describe("The date and time the item was created.").nullable().optional(),
20
20
  parentReference: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Reference to the parent item as a dict.").nullable().optional(),
21
21
  lastModifiedDateTime: zod.z.string().describe("The date and time the item was last modified.").nullable().optional()
22
- });
22
+ }).passthrough();
23
23
  const oneDriveFollowItem = require_action.action("ONE_DRIVE_FOLLOW_ITEM", {
24
24
  slug: "one_drive-follow-item",
25
25
  name: "Follow Drive Item",
@@ -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}).passthrough();\n\nexport const oneDriveFollowItem = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACtM,cAAcA,IAAAA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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,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/follow-item.d.ts
4
- declare const OneDriveFollowItemInput: z.ZodTypeAny;
5
- declare const OneDriveFollowItemOutput: z.ZodTypeAny;
6
- declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveFollowItemInput: z.ZodObject<{
5
+ drive_id: z.ZodString;
6
+ driveItem_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const OneDriveFollowItemOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ file: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ folder: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>;
23
+ declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ drive_id: string;
25
+ driveItem_id: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { oneDriveFollowItem };
9
29
  //# sourceMappingURL=follow-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"follow-item.d.cts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAcvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"follow-item.d.cts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,gCAAkB,wBAAA"}
@@ -1,9 +1,29 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/follow-item.d.ts
4
- declare const OneDriveFollowItemInput: z.ZodTypeAny;
5
- declare const OneDriveFollowItemOutput: z.ZodTypeAny;
6
- declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveFollowItemInput: z.ZodObject<{
5
+ drive_id: z.ZodString;
6
+ driveItem_id: z.ZodString;
7
+ }, z.core.$strip>;
8
+ declare const OneDriveFollowItemOutput: z.ZodObject<{
9
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ file: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
13
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15
+ folder: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
16
+ webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>;
23
+ declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<{
24
+ drive_id: string;
25
+ driveItem_id: string;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
27
  //#endregion
8
28
  export { oneDriveFollowItem };
9
29
  //# sourceMappingURL=follow-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"follow-item.d.mts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAGtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAcvC;AAAA,cAEW,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"follow-item.d.mts","names":[],"sources":["../../src/actions/follow-item.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAgBxB,kBAAA,gCAAkB,wBAAA"}
@@ -22,7 +22,7 @@ const oneDriveFollowItem = action("ONE_DRIVE_FOLLOW_ITEM", {
22
22
  createdDateTime: z.string().describe("The date and time the item was created.").nullable().optional(),
23
23
  parentReference: z.record(z.string(), z.unknown()).describe("Reference to the parent item as a dict.").nullable().optional(),
24
24
  lastModifiedDateTime: z.string().describe("The date and time the item was last modified.").nullable().optional()
25
- })
25
+ }).passthrough()
26
26
  });
27
27
  //#endregion
28
28
  export { oneDriveFollowItem };
@@ -1 +1 @@
1
- {"version":3,"file":"follow-item.mjs","names":[],"sources":["../../src/actions/follow-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveFollowItemInput: z.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":";;AAwBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBmD,EAAE,OAAO;EAC5D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;EACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;CACjQ,CAqBS;CACP,QArBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,C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S;CACjH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"follow-item.mjs","names":[],"sources":["../../src/actions/follow-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveFollowItemInput = z.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to follow. This can be the ID of a personal OneDrive, a group's document library, or a SharePoint site's drive.\"),\n driveItem_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to follow. DriveItem IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API operations like list, search, or folder children queries.\"),\n});\nexport const OneDriveFollowItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the followed item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata as a dict.\").nullable().optional(),\n name: z.string().describe(\"The name of the followed item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the followed item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata as a dict.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item as a dict.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item as a dict.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent item as a dict.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveFollowItem = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking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AE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -7,8 +7,8 @@ const OneDriveGetDocumentCommentsInput = zod.z.object({
7
7
  drive_id: zod.z.string().describe("The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.").optional()
8
8
  });
9
9
  const OneDriveGetDocumentComments_DocumentCommentSchema = zod.z.object({
10
- id: zod.z.string().describe("Comment ID from the Word document."),
11
- text: zod.z.string().describe("Text content of the comment."),
10
+ id: zod.z.string().describe("Comment ID from the Word document.").nullable(),
11
+ text: zod.z.string().describe("Text content of the comment.").nullable(),
12
12
  author: zod.z.string().describe("Comment author, if present.").nullable().optional(),
13
13
  context: zod.z.string().describe("Best-effort paragraph context containing the comment anchor or reference, when available.").nullable().optional(),
14
14
  initials: zod.z.string().describe("Author initials from the Word document, if present.").nullable().optional(),
@@ -18,8 +18,8 @@ const OneDriveGetDocumentComments_DocumentCommentSchema = zod.z.object({
18
18
  created_at: zod.z.string().describe("Comment creation timestamp from the Word document, if present.").nullable().optional(),
19
19
  durable_id: zod.z.string().describe("Stable durable comment identifier from Word commentsIds metadata, when available.").nullable().optional(),
20
20
  anchor_text: zod.z.string().describe("Best-effort selected text that the comment is attached to, when available in the document body.").nullable().optional()
21
- });
22
- const OneDriveGetDocumentCommentsOutput = zod.z.object({ comments: zod.z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe("Structured comments extracted from the Word document.") });
21
+ }).passthrough();
22
+ const OneDriveGetDocumentCommentsOutput = zod.z.object({ comments: zod.z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe("Structured comments extracted from the Word document.") }).passthrough();
23
23
  const oneDriveGetDocumentComments = require_action.action("ONE_DRIVE_GET_DOCUMENT_COMMENTS", {
24
24
  slug: "one_drive-get-document-comments",
25
25
  name: "Get document comments",
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDocumentCommentsInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\"),\n text: z.string().describe(\"Text content of the comment.\"),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n});\nexport const OneDriveGetDocumentCommentsOutput: z.ZodTypeAny = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n});\n\nexport const oneDriveGetDocumentComments = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output: OneDriveGetDocumentCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS;AACzP,CAAC;AACD,MAAM,oDAAkEA,IAAAA,EAAE,OAAO;CAC/E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC;AACD,MAAa,oCAAkDA,IAAAA,EAAE,OAAO,EACtE,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC;AAED,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-comments.cjs","names":["z","action"],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDocumentCommentsInput = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\").nullable(),\n text: z.string().describe(\"Text content of the comment.\").nullable(),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDocumentCommentsOutput = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n}).passthrough();\n\nexport const oneDriveGetDocumentComments = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output: OneDriveGetDocumentCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;C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CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-document-comments.d.ts
4
- declare const OneDriveGetDocumentCommentsInput: z.ZodTypeAny;
5
- declare const OneDriveGetDocumentCommentsOutput: z.ZodTypeAny;
6
- declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveGetDocumentCommentsInput: z.ZodObject<{
5
+ item_id: z.ZodString;
6
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
7
+ drive_id: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const OneDriveGetDocumentCommentsOutput: z.ZodObject<{
10
+ comments: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ text: z.ZodNullable<z.ZodString>;
13
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ initials: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ resolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ thread_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ durable_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ anchor_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ item_id: string;
26
+ user_id?: string | undefined;
27
+ drive_id?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { oneDriveGetDocumentComments };
9
31
  //# sourceMappingURL=get-document-comments.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.d.cts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAcW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-document-comments.d.cts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAkBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-document-comments.d.ts
4
- declare const OneDriveGetDocumentCommentsInput: z.ZodTypeAny;
5
- declare const OneDriveGetDocumentCommentsOutput: z.ZodTypeAny;
6
- declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveGetDocumentCommentsInput: z.ZodObject<{
5
+ item_id: z.ZodString;
6
+ user_id: z.ZodOptional<z.ZodDefault<z.ZodString>>;
7
+ drive_id: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const OneDriveGetDocumentCommentsOutput: z.ZodObject<{
10
+ comments: z.ZodArray<z.ZodObject<{
11
+ id: z.ZodNullable<z.ZodString>;
12
+ text: z.ZodNullable<z.ZodString>;
13
+ author: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ context: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ initials: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ resolved: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
17
+ parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ thread_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ durable_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ anchor_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
+ declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ item_id: string;
26
+ user_id?: string | undefined;
27
+ drive_id?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { oneDriveGetDocumentComments };
9
31
  //# sourceMappingURL=get-document-comments.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.d.mts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAI/C;AAAA,cAcW,iCAAA,EAAmC,CAAA,CAAE,UAEhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-document-comments.d.mts","names":[],"sources":["../../src/actions/get-document-comments.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;cAkBhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIjC,2BAAA,gCAA2B,wBAAA"}
@@ -7,8 +7,8 @@ const OneDriveGetDocumentCommentsInput = z.object({
7
7
  drive_id: z.string().describe("The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.").optional()
8
8
  });
9
9
  const OneDriveGetDocumentComments_DocumentCommentSchema = z.object({
10
- id: z.string().describe("Comment ID from the Word document."),
11
- text: z.string().describe("Text content of the comment."),
10
+ id: z.string().describe("Comment ID from the Word document.").nullable(),
11
+ text: z.string().describe("Text content of the comment.").nullable(),
12
12
  author: z.string().describe("Comment author, if present.").nullable().optional(),
13
13
  context: z.string().describe("Best-effort paragraph context containing the comment anchor or reference, when available.").nullable().optional(),
14
14
  initials: z.string().describe("Author initials from the Word document, if present.").nullable().optional(),
@@ -18,13 +18,13 @@ const OneDriveGetDocumentComments_DocumentCommentSchema = z.object({
18
18
  created_at: z.string().describe("Comment creation timestamp from the Word document, if present.").nullable().optional(),
19
19
  durable_id: z.string().describe("Stable durable comment identifier from Word commentsIds metadata, when available.").nullable().optional(),
20
20
  anchor_text: z.string().describe("Best-effort selected text that the comment is attached to, when available in the document body.").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const oneDriveGetDocumentComments = action("ONE_DRIVE_GET_DOCUMENT_COMMENTS", {
23
23
  slug: "one_drive-get-document-comments",
24
24
  name: "Get document comments",
25
25
  description: "Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.",
26
26
  input: OneDriveGetDocumentCommentsInput,
27
- output: z.object({ comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe("Structured comments extracted from the Word document.") })
27
+ output: z.object({ comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe("Structured comments extracted from the Word document.") }).passthrough()
28
28
  });
29
29
  //#endregion
30
30
  export { oneDriveGetDocumentComments };
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-comments.mjs","names":[],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDocumentCommentsInput: z.ZodTypeAny = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\"),\n text: z.string().describe(\"Text content of the comment.\"),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n});\nexport const OneDriveGetDocumentCommentsOutput: z.ZodTypeAny = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n});\n\nexport const oneDriveGetDocumentComments = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output: OneDriveGetDocumentCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiD,EAAE,OAAO;CACrE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS;AACzP,CAAC;AACD,MAAM,oDAAkE,EAAE,OAAO;CAC/E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC;AAKD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6D,EAAE,OAAO,EACtE,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-comments.mjs","names":[],"sources":["../../src/actions/get-document-comments.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDocumentCommentsInput = z.object({\n item_id: z.string().describe(\"Raw item ID of the Word .docx file. Do not include URL fragments or query parameters like '&cid=...' or '?param=...' from sharing links.\"),\n user_id: z.string().default(\"me\").describe(\"User's ID or User Principal Name (UPN), or 'me' for the authenticated user's OneDrive. Ignored when drive_id is provided.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive containing the Word document. Required for SharePoint or OneDrive for Business drives when the file is not in the authenticated user's default drive. When provided, user_id is ignored.\").optional(),\n});\nconst OneDriveGetDocumentComments_DocumentCommentSchema = z.object({\n id: z.string().describe(\"Comment ID from the Word document.\").nullable(),\n text: z.string().describe(\"Text content of the comment.\").nullable(),\n author: z.string().describe(\"Comment author, if present.\").nullable().optional(),\n context: z.string().describe(\"Best-effort paragraph context containing the comment anchor or reference, when available.\").nullable().optional(),\n initials: z.string().describe(\"Author initials from the Word document, if present.\").nullable().optional(),\n resolved: z.boolean().describe(\"Whether the Word comment thread is marked resolved, when Word thread metadata is available.\").nullable().optional(),\n parent_id: z.string().describe(\"ID of the parent comment when this comment is a reply in a Word threaded conversation.\").nullable().optional(),\n thread_id: z.string().describe(\"ID of the root comment for this threaded conversation, when Word thread metadata is available.\").nullable().optional(),\n created_at: z.string().describe(\"Comment creation timestamp from the Word document, if present.\").nullable().optional(),\n durable_id: z.string().describe(\"Stable durable comment identifier from Word commentsIds metadata, when available.\").nullable().optional(),\n anchor_text: z.string().describe(\"Best-effort selected text that the comment is attached to, when available in the document body.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDocumentCommentsOutput = z.object({\n comments: z.array(OneDriveGetDocumentComments_DocumentCommentSchema).describe(\"Structured comments extracted from the Word document.\"),\n}).passthrough();\n\nexport const oneDriveGetDocumentComments = action(\"ONE_DRIVE_GET_DOCUMENT_COMMENTS\", {\n slug: \"one_drive-get-document-comments\",\n name: \"Get document comments\",\n description: \"Extracts comments from a Word .docx file in OneDrive. The action downloads the document, parses the OOXML comments part, and returns structured comment data inline. When possible, it also includes the selected text and paragraph context from the document body so agents can understand what each comment refers to.\",\n input: OneDriveGetDocumentCommentsInput,\n output: OneDriveGetDocumentCommentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS;AACzP,CAAC;AACD,MAAM,oDAAoD,EAAE,OAAO;CACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,UAAU,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -14,7 +14,7 @@ const OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema = zod.z.object({
14
14
  path: zod.z.string().describe("The path to the parent item.").nullable().optional(),
15
15
  driveId: zod.z.string().describe("The drive ID containing the item.").nullable().optional(),
16
16
  driveType: zod.z.string().describe("The type of drive (e.g., personal, business).").nullable().optional()
17
- });
17
+ }).passthrough();
18
18
  const OneDriveGetDriveItemBySharingUrlOutput = zod.z.object({
19
19
  id: zod.z.string().describe("The unique ID of the drive item.").nullable().optional(),
20
20
  cTag: zod.z.string().describe("Content tag.").nullable().optional(),
@@ -33,7 +33,7 @@ const OneDriveGetDriveItemBySharingUrlOutput = zod.z.object({
33
33
  parentReference: OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema.nullable().optional(),
34
34
  lastModifiedDateTime: zod.z.string().describe("The date and time the item was last modified.").nullable().optional(),
35
35
  "@microsoft.graph.downloadUrl": zod.z.string().describe("Direct download URL for the file (no auth required, 1-hour lifetime).").nullable().optional()
36
- });
36
+ }).passthrough();
37
37
  const oneDriveGetDriveItemBySharingUrl = require_action.action("ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URL", {
38
38
  slug: "one_drive-get-drive-item-by-sharing-url",
39
39
  name: "Get DriveItem by Sharing URL",
@@ -1 +1 @@
1
- {"version":3,"file":"get-drive-item-by-sharing-url.cjs","names":["z","action"],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDriveItemBySharingUrlInput: z.ZodTypeAny = z.object({\n sharing_url: z.string().describe(\"A OneDrive or SharePoint sharing URL (e.g., 1drv.ms link, SharePoint link, or Teams contentUrl). This will be automatically encoded to a sharing token. Mutually exclusive with share_id_or_encoded_url.\").optional(),\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item. 'redeemSharingLinkIfNecessary' grants access only for this request. If not specified, no Prefer header is sent.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of DriveItem properties to return. If not specified, a default set of properties is returned. Common fields: id, name, size, webUrl, file, folder, createdDateTime, lastModifiedDateTime, parentReference.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the item is a folder, expands the children collection to include child items in the response.\").optional(),\n share_id_or_encoded_url: z.string().describe(\"An already-encoded sharing token (prefixed with 'u!') or a shareId token from a previous API call. Mutually exclusive with sharing_url.\").optional(),\n});\nconst OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the parent item.\").nullable().optional(),\n name: z.string().describe(\"The name of the parent item.\").nullable().optional(),\n path: z.string().describe(\"The path to the parent item.\").nullable().optional(),\n driveId: z.string().describe(\"The drive ID containing the item.\").nullable().optional(),\n driveType: z.string().describe(\"The type of drive (e.g., personal, business).\").nullable().optional(),\n});\nexport const OneDriveGetDriveItemBySharingUrlOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the drive item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File-specific metadata if the item is a file.\").nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"Folder-specific metadata if the item is a folder.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n item_id: z.string().describe(\"Extracted item ID (same as 'id') for convenience.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the item, if expanded.\").nullable().optional(),\n drive_id: z.string().describe(\"Extracted driveId from parentReference for convenience.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n \"@microsoft.graph.downloadUrl\": z.string().describe(\"Direct download URL for the file (no auth required, 1-hour lifetime).\").nullable().optional(),\n});\n\nexport const oneDriveGetDriveItemBySharingUrl = action(\"ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URL\", {\n slug: \"one_drive-get-drive-item-by-sharing-url\",\n name: \"Get DriveItem by Sharing URL\",\n description: \"Tool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream actions like permissions or download.\",\n input: OneDriveGetDriveItemBySharingUrlInput,\n output: OneDriveGetDriveItemBySharingUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAsDA,IAAAA,EAAE,OAAO;CAC1E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS;CACtP,eAAeA,IAAAA,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrS,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CAC1Q,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3K,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACnM,CAAC;AACD,MAAM,yDAAuEA,IAAAA,EAAE,OAAO;CACpF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAA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E,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiB,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,2CAA2C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-drive-item-by-sharing-url.cjs","names":["z","action"],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetDriveItemBySharingUrlInput = z.object({\n sharing_url: z.string().describe(\"A OneDrive or SharePoint sharing URL (e.g., 1drv.ms link, SharePoint link, or Teams contentUrl). This will be automatically encoded to a sharing token. Mutually exclusive with share_id_or_encoded_url.\").optional(),\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item. 'redeemSharingLinkIfNecessary' grants access only for this request. If not specified, no Prefer header is sent.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of DriveItem properties to return. If not specified, a default set of properties is returned. Common fields: id, name, size, webUrl, file, folder, createdDateTime, lastModifiedDateTime, parentReference.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the item is a folder, expands the children collection to include child items in the response.\").optional(),\n share_id_or_encoded_url: z.string().describe(\"An already-encoded sharing token (prefixed with 'u!') or a shareId token from a previous API call. Mutually exclusive with sharing_url.\").optional(),\n});\nconst OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema = z.object({\n id: z.string().describe(\"The ID of the parent item.\").nullable().optional(),\n name: z.string().describe(\"The name of the parent item.\").nullable().optional(),\n path: z.string().describe(\"The path to the parent item.\").nullable().optional(),\n driveId: z.string().describe(\"The drive ID containing the item.\").nullable().optional(),\n driveType: z.string().describe(\"The type of drive (e.g., personal, business).\").nullable().optional(),\n}).passthrough();\nexport const OneDriveGetDriveItemBySharingUrlOutput = z.object({\n id: z.string().describe(\"The unique ID of the drive item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"File-specific metadata if the item is a file.\").nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"Folder-specific metadata if the item is a folder.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n item_id: z.string().describe(\"Extracted item ID (same as 'id') for convenience.\").nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the item, if expanded.\").nullable().optional(),\n drive_id: z.string().describe(\"Extracted driveId from parentReference for convenience.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n \"@microsoft.graph.downloadUrl\": z.string().describe(\"Direct download URL for the file (no auth required, 1-hour lifetime).\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveGetDriveItemBySharingUrl = action(\"ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URL\", {\n slug: \"one_drive-get-drive-item-by-sharing-url\",\n name: \"Get DriveItem by Sharing URL\",\n description: \"Tool to resolve a OneDrive/SharePoint sharing URL (or shareId) to a DriveItem with driveId and itemId. Use when you have a sharing link from Teams, chat, or 1drv.ms and need the item's metadata or IDs for downstream actions like permissions or download.\",\n input: OneDriveGetDriveItemBySharingUrlInput,\n output: OneDriveGetDriveItemBySharingUrlOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS;CACtP,eAAeA,IAAAA,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrS,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CAC1Q,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3K,yBAAyB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AC/G,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAAmCC,eAAAA,OAAO,2CAA2C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,48 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-drive-item-by-sharing-url.d.ts
4
- declare const OneDriveGetDriveItemBySharingUrlInput: z.ZodTypeAny;
5
- declare const OneDriveGetDriveItemBySharingUrlOutput: z.ZodTypeAny;
6
- declare const oneDriveGetDriveItemBySharingUrl: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveGetDriveItemBySharingUrlInput: z.ZodObject<{
5
+ sharing_url: z.ZodOptional<z.ZodString>;
6
+ prefer_redeem: z.ZodOptional<z.ZodEnum<{
7
+ redeemSharingLinkIfNecessary: "redeemSharingLinkIfNecessary";
8
+ redeemSharingLink: "redeemSharingLink";
9
+ }>>;
10
+ select_fields: z.ZodOptional<z.ZodArray<z.ZodString>>;
11
+ expand_children: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
12
+ share_id_or_encoded_url: z.ZodOptional<z.ZodString>;
13
+ }, z.core.$strip>;
14
+ declare const OneDriveGetDriveItemBySharingUrlOutput: z.ZodObject<{
15
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ cTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ eTag: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ file: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
19
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
+ folder: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
+ webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ children: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
25
+ drive_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
+ createdBy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
27
+ lastModifiedBy: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
28
+ createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
+ parentReference: z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
+ path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
+ driveId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
+ driveType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
+ }, z.core.$loose>>>;
36
+ lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
+ "@microsoft.graph.downloadUrl": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ }, z.core.$loose>;
39
+ declare const oneDriveGetDriveItemBySharingUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
40
+ sharing_url?: string | undefined;
41
+ prefer_redeem?: "redeemSharingLinkIfNecessary" | "redeemSharingLink" | undefined;
42
+ select_fields?: string[] | undefined;
43
+ expand_children?: boolean | undefined;
44
+ share_id_or_encoded_url?: string | undefined;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
46
  //#endregion
8
47
  export { oneDriveGetDriveItemBySharingUrl };
9
48
  //# sourceMappingURL=get-drive-item-by-sharing-url.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-drive-item-by-sharing-url.d.cts","names":[],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"mappings":";;;cAIa,qCAAA,EAAuC,CAAA,CAAE,UAMpD;AAAA,cAQW,sCAAA,EAAwC,CAAA,CAAE,UAkBrD;AAAA,cAEW,gCAAA,gCAAgC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-drive-item-by-sharing-url.d.cts","names":[],"sources":["../../src/actions/get-drive-item-by-sharing-url.ts"],"mappings":";;;cAIa,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;;;;;;;;cAcrC,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAoBtC,gCAAA,gCAAgC,wBAAA"}