@keystrokehq/one_drive 0.1.2 → 0.1.4

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 (482) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/add-workbook-worksheet.cjs +1 -1
  3. package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
  4. package/dist/actions/add-workbook-worksheet.d.cts +14 -2
  5. package/dist/actions/add-workbook-worksheet.d.mts +14 -2
  6. package/dist/actions/add-workbook-worksheet.mjs +1 -1
  7. package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
  8. package/dist/actions/checkin-item.cjs +1 -1
  9. package/dist/actions/checkin-item.cjs.map +1 -1
  10. package/dist/actions/checkin-item.d.cts +14 -2
  11. package/dist/actions/checkin-item.d.mts +14 -2
  12. package/dist/actions/checkin-item.mjs +1 -1
  13. package/dist/actions/checkin-item.mjs.map +1 -1
  14. package/dist/actions/checkout-item.cjs +1 -1
  15. package/dist/actions/checkout-item.cjs.map +1 -1
  16. package/dist/actions/checkout-item.d.cts +14 -2
  17. package/dist/actions/checkout-item.d.mts +14 -2
  18. package/dist/actions/checkout-item.mjs +1 -1
  19. package/dist/actions/checkout-item.mjs.map +1 -1
  20. package/dist/actions/clear-workbook-range.cjs +1 -1
  21. package/dist/actions/clear-workbook-range.cjs.map +1 -1
  22. package/dist/actions/clear-workbook-range.d.cts +14 -2
  23. package/dist/actions/clear-workbook-range.d.mts +14 -2
  24. package/dist/actions/clear-workbook-range.mjs +1 -1
  25. package/dist/actions/clear-workbook-range.mjs.map +1 -1
  26. package/dist/actions/copy-item.cjs +1 -1
  27. package/dist/actions/copy-item.cjs.map +1 -1
  28. package/dist/actions/copy-item.d.cts +14 -2
  29. package/dist/actions/copy-item.d.mts +14 -2
  30. package/dist/actions/copy-item.mjs +1 -1
  31. package/dist/actions/copy-item.mjs.map +1 -1
  32. package/dist/actions/create-item-permission.cjs +3 -3
  33. package/dist/actions/create-item-permission.cjs.map +1 -1
  34. package/dist/actions/create-item-permission.d.cts +28 -16
  35. package/dist/actions/create-item-permission.d.mts +28 -16
  36. package/dist/actions/create-item-permission.mjs +3 -3
  37. package/dist/actions/create-item-permission.mjs.map +1 -1
  38. package/dist/actions/create-link.cjs +4 -4
  39. package/dist/actions/create-link.cjs.map +1 -1
  40. package/dist/actions/create-link.d.cts +18 -6
  41. package/dist/actions/create-link.d.cts.map +1 -1
  42. package/dist/actions/create-link.d.mts +18 -6
  43. package/dist/actions/create-link.d.mts.map +1 -1
  44. package/dist/actions/create-link.mjs +4 -4
  45. package/dist/actions/create-link.mjs.map +1 -1
  46. package/dist/actions/create-sharepoint-list-item.d.cts +13 -1
  47. package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
  48. package/dist/actions/create-sharepoint-list-item.d.mts +13 -1
  49. package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
  50. package/dist/actions/delete-item-permanently.cjs +1 -1
  51. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  52. package/dist/actions/delete-item-permanently.d.cts +14 -2
  53. package/dist/actions/delete-item-permanently.d.mts +14 -2
  54. package/dist/actions/delete-item-permanently.mjs +1 -1
  55. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  56. package/dist/actions/delete-item-permission.cjs +1 -1
  57. package/dist/actions/delete-item-permission.cjs.map +1 -1
  58. package/dist/actions/delete-item-permission.d.cts +14 -2
  59. package/dist/actions/delete-item-permission.d.mts +14 -2
  60. package/dist/actions/delete-item-permission.mjs +1 -1
  61. package/dist/actions/delete-item-permission.mjs.map +1 -1
  62. package/dist/actions/delete-item.cjs +1 -1
  63. package/dist/actions/delete-item.cjs.map +1 -1
  64. package/dist/actions/delete-item.d.cts +14 -2
  65. package/dist/actions/delete-item.d.mts +14 -2
  66. package/dist/actions/delete-item.mjs +1 -1
  67. package/dist/actions/delete-item.mjs.map +1 -1
  68. package/dist/actions/delete-share-permission.cjs +1 -1
  69. package/dist/actions/delete-share-permission.cjs.map +1 -1
  70. package/dist/actions/delete-share-permission.d.cts +14 -2
  71. package/dist/actions/delete-share-permission.d.mts +14 -2
  72. package/dist/actions/delete-share-permission.mjs +1 -1
  73. package/dist/actions/delete-share-permission.mjs.map +1 -1
  74. package/dist/actions/delete-sharepoint-item-permission.d.cts +13 -1
  75. package/dist/actions/delete-sharepoint-item-permission.d.mts +13 -1
  76. package/dist/actions/delete-workbook-range.cjs +1 -1
  77. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  78. package/dist/actions/delete-workbook-range.d.cts +14 -2
  79. package/dist/actions/delete-workbook-range.d.mts +14 -2
  80. package/dist/actions/delete-workbook-range.mjs +1 -1
  81. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  82. package/dist/actions/delete-workbook-worksheet.cjs +1 -1
  83. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  84. package/dist/actions/delete-workbook-worksheet.d.cts +14 -2
  85. package/dist/actions/delete-workbook-worksheet.d.mts +14 -2
  86. package/dist/actions/delete-workbook-worksheet.mjs +1 -1
  87. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  88. package/dist/actions/discard-checkout.cjs +1 -1
  89. package/dist/actions/discard-checkout.cjs.map +1 -1
  90. package/dist/actions/discard-checkout.d.cts +14 -2
  91. package/dist/actions/discard-checkout.d.mts +14 -2
  92. package/dist/actions/discard-checkout.mjs +1 -1
  93. package/dist/actions/discard-checkout.mjs.map +1 -1
  94. package/dist/actions/download-file-by-path.cjs +2 -2
  95. package/dist/actions/download-file-by-path.cjs.map +1 -1
  96. package/dist/actions/download-file-by-path.d.cts +15 -3
  97. package/dist/actions/download-file-by-path.d.mts +15 -3
  98. package/dist/actions/download-file-by-path.mjs +2 -2
  99. package/dist/actions/download-file-by-path.mjs.map +1 -1
  100. package/dist/actions/download-file.cjs +2 -2
  101. package/dist/actions/download-file.cjs.map +1 -1
  102. package/dist/actions/download-file.d.cts +15 -3
  103. package/dist/actions/download-file.d.mts +15 -3
  104. package/dist/actions/download-file.mjs +2 -2
  105. package/dist/actions/download-file.mjs.map +1 -1
  106. package/dist/actions/download-item-as-format.cjs +2 -2
  107. package/dist/actions/download-item-as-format.cjs.map +1 -1
  108. package/dist/actions/download-item-as-format.d.cts +15 -3
  109. package/dist/actions/download-item-as-format.d.mts +15 -3
  110. package/dist/actions/download-item-as-format.mjs +2 -2
  111. package/dist/actions/download-item-as-format.mjs.map +1 -1
  112. package/dist/actions/download-item-version.cjs +2 -2
  113. package/dist/actions/download-item-version.cjs.map +1 -1
  114. package/dist/actions/download-item-version.d.cts +15 -3
  115. package/dist/actions/download-item-version.d.mts +15 -3
  116. package/dist/actions/download-item-version.mjs +2 -2
  117. package/dist/actions/download-item-version.mjs.map +1 -1
  118. package/dist/actions/follow-item.cjs +1 -1
  119. package/dist/actions/follow-item.cjs.map +1 -1
  120. package/dist/actions/follow-item.d.cts +14 -2
  121. package/dist/actions/follow-item.d.mts +14 -2
  122. package/dist/actions/follow-item.mjs +1 -1
  123. package/dist/actions/follow-item.mjs.map +1 -1
  124. package/dist/actions/get-document-comments.cjs +2 -2
  125. package/dist/actions/get-document-comments.cjs.map +1 -1
  126. package/dist/actions/get-document-comments.d.cts +15 -3
  127. package/dist/actions/get-document-comments.d.mts +15 -3
  128. package/dist/actions/get-document-comments.mjs +2 -2
  129. package/dist/actions/get-document-comments.mjs.map +1 -1
  130. package/dist/actions/get-drive-item-by-sharing-url.cjs +2 -2
  131. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  132. package/dist/actions/get-drive-item-by-sharing-url.d.cts +15 -3
  133. package/dist/actions/get-drive-item-by-sharing-url.d.mts +15 -3
  134. package/dist/actions/get-drive-item-by-sharing-url.mjs +2 -2
  135. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  136. package/dist/actions/get-drive.cjs +5 -5
  137. package/dist/actions/get-drive.cjs.map +1 -1
  138. package/dist/actions/get-drive.d.cts +31 -19
  139. package/dist/actions/get-drive.d.mts +31 -19
  140. package/dist/actions/get-drive.mjs +5 -5
  141. package/dist/actions/get-drive.mjs.map +1 -1
  142. package/dist/actions/get-followed-item.cjs +4 -4
  143. package/dist/actions/get-followed-item.cjs.map +1 -1
  144. package/dist/actions/get-followed-item.d.cts +18 -6
  145. package/dist/actions/get-followed-item.d.mts +18 -6
  146. package/dist/actions/get-followed-item.mjs +4 -4
  147. package/dist/actions/get-followed-item.mjs.map +1 -1
  148. package/dist/actions/get-group-drive.cjs +5 -5
  149. package/dist/actions/get-group-drive.cjs.map +1 -1
  150. package/dist/actions/get-group-drive.d.cts +31 -19
  151. package/dist/actions/get-group-drive.d.mts +31 -19
  152. package/dist/actions/get-group-drive.mjs +5 -5
  153. package/dist/actions/get-group-drive.mjs.map +1 -1
  154. package/dist/actions/get-item-permissions.cjs +8 -8
  155. package/dist/actions/get-item-permissions.cjs.map +1 -1
  156. package/dist/actions/get-item-permissions.d.cts +37 -25
  157. package/dist/actions/get-item-permissions.d.mts +37 -25
  158. package/dist/actions/get-item-permissions.mjs +8 -8
  159. package/dist/actions/get-item-permissions.mjs.map +1 -1
  160. package/dist/actions/get-item-thumbnails.cjs +3 -3
  161. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  162. package/dist/actions/get-item-thumbnails.d.cts +18 -6
  163. package/dist/actions/get-item-thumbnails.d.mts +18 -6
  164. package/dist/actions/get-item-thumbnails.mjs +3 -3
  165. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  166. package/dist/actions/get-item-versions.cjs +6 -6
  167. package/dist/actions/get-item-versions.cjs.map +1 -1
  168. package/dist/actions/get-item-versions.d.cts +25 -13
  169. package/dist/actions/get-item-versions.d.mts +25 -13
  170. package/dist/actions/get-item-versions.mjs +6 -6
  171. package/dist/actions/get-item-versions.mjs.map +1 -1
  172. package/dist/actions/get-item.cjs +7 -7
  173. package/dist/actions/get-item.cjs.map +1 -1
  174. package/dist/actions/get-item.d.cts +37 -25
  175. package/dist/actions/get-item.d.mts +37 -25
  176. package/dist/actions/get-item.mjs +7 -7
  177. package/dist/actions/get-item.mjs.map +1 -1
  178. package/dist/actions/get-root.cjs +7 -7
  179. package/dist/actions/get-root.cjs.map +1 -1
  180. package/dist/actions/get-root.d.cts +26 -14
  181. package/dist/actions/get-root.d.mts +26 -14
  182. package/dist/actions/get-root.mjs +7 -7
  183. package/dist/actions/get-root.mjs.map +1 -1
  184. package/dist/actions/get-share.cjs +2 -2
  185. package/dist/actions/get-share.cjs.map +1 -1
  186. package/dist/actions/get-share.d.cts +15 -3
  187. package/dist/actions/get-share.d.mts +15 -3
  188. package/dist/actions/get-share.mjs +2 -2
  189. package/dist/actions/get-share.mjs.map +1 -1
  190. package/dist/actions/get-sharepoint-list-items.cjs +2 -2
  191. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  192. package/dist/actions/get-sharepoint-list-items.d.cts +15 -3
  193. package/dist/actions/get-sharepoint-list-items.d.mts +15 -3
  194. package/dist/actions/get-sharepoint-list-items.mjs +2 -2
  195. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  196. package/dist/actions/get-site-page-content.cjs +12 -12
  197. package/dist/actions/get-site-page-content.cjs.map +1 -1
  198. package/dist/actions/get-site-page-content.d.cts +25 -13
  199. package/dist/actions/get-site-page-content.d.mts +25 -13
  200. package/dist/actions/get-site-page-content.mjs +12 -12
  201. package/dist/actions/get-site-page-content.mjs.map +1 -1
  202. package/dist/actions/get-site.cjs +1 -1
  203. package/dist/actions/get-site.cjs.map +1 -1
  204. package/dist/actions/get-site.d.cts +14 -2
  205. package/dist/actions/get-site.d.mts +14 -2
  206. package/dist/actions/get-site.mjs +1 -1
  207. package/dist/actions/get-site.mjs.map +1 -1
  208. package/dist/actions/get-special-folder.cjs +7 -7
  209. package/dist/actions/get-special-folder.cjs.map +1 -1
  210. package/dist/actions/get-special-folder.d.cts +24 -12
  211. package/dist/actions/get-special-folder.d.mts +24 -12
  212. package/dist/actions/get-special-folder.mjs +7 -7
  213. package/dist/actions/get-special-folder.mjs.map +1 -1
  214. package/dist/actions/get-user.cjs +1 -1
  215. package/dist/actions/get-user.cjs.map +1 -1
  216. package/dist/actions/get-user.d.cts +14 -2
  217. package/dist/actions/get-user.d.mts +14 -2
  218. package/dist/actions/get-user.mjs +1 -1
  219. package/dist/actions/get-user.mjs.map +1 -1
  220. package/dist/actions/get-workbook-used-range.cjs +1 -1
  221. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  222. package/dist/actions/get-workbook-used-range.d.cts +14 -2
  223. package/dist/actions/get-workbook-used-range.d.mts +14 -2
  224. package/dist/actions/get-workbook-used-range.mjs +1 -1
  225. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  226. package/dist/actions/get-workbook-worksheet.cjs +1 -1
  227. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  228. package/dist/actions/get-workbook-worksheet.d.cts +14 -2
  229. package/dist/actions/get-workbook-worksheet.d.mts +14 -2
  230. package/dist/actions/get-workbook-worksheet.mjs +1 -1
  231. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  232. package/dist/actions/grant-share-permission.cjs +5 -5
  233. package/dist/actions/grant-share-permission.cjs.map +1 -1
  234. package/dist/actions/grant-share-permission.d.cts +19 -6
  235. package/dist/actions/grant-share-permission.d.mts +19 -6
  236. package/dist/actions/grant-share-permission.mjs +5 -5
  237. package/dist/actions/grant-share-permission.mjs.map +1 -1
  238. package/dist/actions/grant-sharepoint-item-permission.d.cts +13 -1
  239. package/dist/actions/grant-sharepoint-item-permission.d.mts +13 -1
  240. package/dist/actions/invite-user-to-item.cjs +7 -7
  241. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  242. package/dist/actions/invite-user-to-item.d.cts +21 -8
  243. package/dist/actions/invite-user-to-item.d.mts +21 -8
  244. package/dist/actions/invite-user-to-item.mjs +7 -7
  245. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  246. package/dist/actions/list-activities.cjs +20 -20
  247. package/dist/actions/list-activities.cjs.map +1 -1
  248. package/dist/actions/list-activities.d.cts +77 -65
  249. package/dist/actions/list-activities.d.mts +77 -65
  250. package/dist/actions/list-activities.mjs +20 -20
  251. package/dist/actions/list-activities.mjs.map +1 -1
  252. package/dist/actions/list-all-drive-items.cjs +29 -29
  253. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  254. package/dist/actions/list-all-drive-items.d.cts +55 -43
  255. package/dist/actions/list-all-drive-items.d.mts +55 -43
  256. package/dist/actions/list-all-drive-items.mjs +29 -29
  257. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  258. package/dist/actions/list-bundles.cjs +6 -6
  259. package/dist/actions/list-bundles.cjs.map +1 -1
  260. package/dist/actions/list-bundles.d.cts +25 -13
  261. package/dist/actions/list-bundles.d.mts +25 -13
  262. package/dist/actions/list-bundles.mjs +6 -6
  263. package/dist/actions/list-bundles.mjs.map +1 -1
  264. package/dist/actions/list-drives.cjs +5 -5
  265. package/dist/actions/list-drives.cjs.map +1 -1
  266. package/dist/actions/list-drives.d.cts +22 -10
  267. package/dist/actions/list-drives.d.mts +22 -10
  268. package/dist/actions/list-drives.mjs +5 -5
  269. package/dist/actions/list-drives.mjs.map +1 -1
  270. package/dist/actions/list-folder-children.cjs +29 -29
  271. package/dist/actions/list-folder-children.cjs.map +1 -1
  272. package/dist/actions/list-folder-children.d.cts +55 -43
  273. package/dist/actions/list-folder-children.d.mts +55 -43
  274. package/dist/actions/list-folder-children.mjs +29 -29
  275. package/dist/actions/list-folder-children.mjs.map +1 -1
  276. package/dist/actions/list-item-activities.cjs +4 -4
  277. package/dist/actions/list-item-activities.cjs.map +1 -1
  278. package/dist/actions/list-item-activities.d.cts +17 -5
  279. package/dist/actions/list-item-activities.d.mts +17 -5
  280. package/dist/actions/list-item-activities.mjs +4 -4
  281. package/dist/actions/list-item-activities.mjs.map +1 -1
  282. package/dist/actions/list-onedrive-shared-items.d.cts +13 -1
  283. package/dist/actions/list-onedrive-shared-items.d.mts +13 -1
  284. package/dist/actions/list-root-drive-changes.cjs +7 -7
  285. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  286. package/dist/actions/list-root-drive-changes.d.cts +20 -8
  287. package/dist/actions/list-root-drive-changes.d.mts +20 -8
  288. package/dist/actions/list-root-drive-changes.mjs +7 -7
  289. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  290. package/dist/actions/list-share-permissions.cjs +2 -2
  291. package/dist/actions/list-share-permissions.cjs.map +1 -1
  292. package/dist/actions/list-share-permissions.d.cts +15 -3
  293. package/dist/actions/list-share-permissions.d.mts +15 -3
  294. package/dist/actions/list-share-permissions.mjs +2 -2
  295. package/dist/actions/list-share-permissions.mjs.map +1 -1
  296. package/dist/actions/list-sharepoint-item-permissions.d.cts +13 -1
  297. package/dist/actions/list-sharepoint-item-permissions.d.mts +13 -1
  298. package/dist/actions/list-sharepoint-list-items-delta.cjs +3 -3
  299. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  300. package/dist/actions/list-sharepoint-list-items-delta.d.cts +16 -4
  301. package/dist/actions/list-sharepoint-list-items-delta.d.mts +16 -4
  302. package/dist/actions/list-sharepoint-list-items-delta.mjs +3 -3
  303. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  304. package/dist/actions/list-site-columns.cjs +2 -2
  305. package/dist/actions/list-site-columns.cjs.map +1 -1
  306. package/dist/actions/list-site-columns.d.cts +15 -3
  307. package/dist/actions/list-site-columns.d.mts +15 -3
  308. package/dist/actions/list-site-columns.mjs +2 -2
  309. package/dist/actions/list-site-columns.mjs.map +1 -1
  310. package/dist/actions/list-site-items-delta.cjs +2 -2
  311. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  312. package/dist/actions/list-site-items-delta.d.cts +15 -3
  313. package/dist/actions/list-site-items-delta.d.mts +15 -3
  314. package/dist/actions/list-site-items-delta.mjs +2 -2
  315. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  316. package/dist/actions/list-site-lists.cjs +9 -9
  317. package/dist/actions/list-site-lists.cjs.map +1 -1
  318. package/dist/actions/list-site-lists.d.cts +28 -16
  319. package/dist/actions/list-site-lists.d.mts +28 -16
  320. package/dist/actions/list-site-lists.mjs +9 -9
  321. package/dist/actions/list-site-lists.mjs.map +1 -1
  322. package/dist/actions/list-site-subsites.cjs +2 -2
  323. package/dist/actions/list-site-subsites.cjs.map +1 -1
  324. package/dist/actions/list-site-subsites.d.cts +15 -3
  325. package/dist/actions/list-site-subsites.d.mts +15 -3
  326. package/dist/actions/list-site-subsites.mjs +2 -2
  327. package/dist/actions/list-site-subsites.mjs.map +1 -1
  328. package/dist/actions/list-subscriptions.cjs +2 -2
  329. package/dist/actions/list-subscriptions.cjs.map +1 -1
  330. package/dist/actions/list-subscriptions.d.cts +15 -3
  331. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  332. package/dist/actions/list-subscriptions.d.mts +15 -3
  333. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  334. package/dist/actions/list-subscriptions.mjs +2 -2
  335. package/dist/actions/list-subscriptions.mjs.map +1 -1
  336. package/dist/actions/list-workbook-worksheets.cjs +2 -2
  337. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  338. package/dist/actions/list-workbook-worksheets.d.cts +15 -3
  339. package/dist/actions/list-workbook-worksheets.d.mts +15 -3
  340. package/dist/actions/list-workbook-worksheets.mjs +2 -2
  341. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  342. package/dist/actions/move-item.cjs +2 -2
  343. package/dist/actions/move-item.cjs.map +1 -1
  344. package/dist/actions/move-item.d.cts +15 -3
  345. package/dist/actions/move-item.d.mts +15 -3
  346. package/dist/actions/move-item.mjs +2 -2
  347. package/dist/actions/move-item.mjs.map +1 -1
  348. package/dist/actions/onedrive-create-folder.cjs +1 -1
  349. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  350. package/dist/actions/onedrive-create-folder.d.cts +14 -2
  351. package/dist/actions/onedrive-create-folder.d.mts +14 -2
  352. package/dist/actions/onedrive-create-folder.mjs +1 -1
  353. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  354. package/dist/actions/onedrive-create-text-file.cjs +2 -2
  355. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  356. package/dist/actions/onedrive-create-text-file.d.cts +15 -3
  357. package/dist/actions/onedrive-create-text-file.d.mts +15 -3
  358. package/dist/actions/onedrive-create-text-file.mjs +2 -2
  359. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  360. package/dist/actions/onedrive-find-file.cjs +11 -11
  361. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  362. package/dist/actions/onedrive-find-file.d.cts +31 -19
  363. package/dist/actions/onedrive-find-file.d.mts +31 -19
  364. package/dist/actions/onedrive-find-file.mjs +11 -11
  365. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  366. package/dist/actions/onedrive-find-folder.cjs +7 -7
  367. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  368. package/dist/actions/onedrive-find-folder.d.cts +26 -14
  369. package/dist/actions/onedrive-find-folder.d.mts +26 -14
  370. package/dist/actions/onedrive-find-folder.mjs +7 -7
  371. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  372. package/dist/actions/onedrive-list-items.cjs +28 -28
  373. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  374. package/dist/actions/onedrive-list-items.d.cts +49 -37
  375. package/dist/actions/onedrive-list-items.d.mts +49 -37
  376. package/dist/actions/onedrive-list-items.mjs +28 -28
  377. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  378. package/dist/actions/onedrive-upload-file.cjs +3 -3
  379. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  380. package/dist/actions/onedrive-upload-file.d.cts +17 -5
  381. package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
  382. package/dist/actions/onedrive-upload-file.d.mts +17 -5
  383. package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
  384. package/dist/actions/onedrive-upload-file.mjs +3 -3
  385. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  386. package/dist/actions/preview-drive-item.cjs +1 -1
  387. package/dist/actions/preview-drive-item.cjs.map +1 -1
  388. package/dist/actions/preview-drive-item.d.cts +14 -2
  389. package/dist/actions/preview-drive-item.d.mts +14 -2
  390. package/dist/actions/preview-drive-item.mjs +1 -1
  391. package/dist/actions/preview-drive-item.mjs.map +1 -1
  392. package/dist/actions/read-workbook-range.cjs +1 -1
  393. package/dist/actions/read-workbook-range.cjs.map +1 -1
  394. package/dist/actions/read-workbook-range.d.cts +14 -2
  395. package/dist/actions/read-workbook-range.d.mts +14 -2
  396. package/dist/actions/read-workbook-range.mjs +1 -1
  397. package/dist/actions/read-workbook-range.mjs.map +1 -1
  398. package/dist/actions/restore-drive-item.cjs +1 -1
  399. package/dist/actions/restore-drive-item.cjs.map +1 -1
  400. package/dist/actions/restore-drive-item.d.cts +14 -2
  401. package/dist/actions/restore-drive-item.d.mts +14 -2
  402. package/dist/actions/restore-drive-item.mjs +1 -1
  403. package/dist/actions/restore-drive-item.mjs.map +1 -1
  404. package/dist/actions/restore-item-version.cjs +1 -1
  405. package/dist/actions/restore-item-version.cjs.map +1 -1
  406. package/dist/actions/restore-item-version.d.cts +14 -2
  407. package/dist/actions/restore-item-version.d.mts +14 -2
  408. package/dist/actions/restore-item-version.mjs +1 -1
  409. package/dist/actions/restore-item-version.mjs.map +1 -1
  410. package/dist/actions/search-drive-items.d.cts +13 -1
  411. package/dist/actions/search-drive-items.d.mts +13 -1
  412. package/dist/actions/search-items.cjs +10 -10
  413. package/dist/actions/search-items.cjs.map +1 -1
  414. package/dist/actions/search-items.d.cts +27 -15
  415. package/dist/actions/search-items.d.mts +27 -15
  416. package/dist/actions/search-items.mjs +10 -10
  417. package/dist/actions/search-items.mjs.map +1 -1
  418. package/dist/actions/unfollow-item.cjs +1 -1
  419. package/dist/actions/unfollow-item.cjs.map +1 -1
  420. package/dist/actions/unfollow-item.d.cts +14 -2
  421. package/dist/actions/unfollow-item.d.mts +14 -2
  422. package/dist/actions/unfollow-item.mjs +1 -1
  423. package/dist/actions/unfollow-item.mjs.map +1 -1
  424. package/dist/actions/update-drive-item-metadata.cjs +5 -5
  425. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  426. package/dist/actions/update-drive-item-metadata.d.cts +18 -6
  427. package/dist/actions/update-drive-item-metadata.d.mts +18 -6
  428. package/dist/actions/update-drive-item-metadata.mjs +5 -5
  429. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  430. package/dist/actions/update-drive-items-permissions.cjs +4 -4
  431. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  432. package/dist/actions/update-drive-items-permissions.d.cts +27 -15
  433. package/dist/actions/update-drive-items-permissions.d.mts +27 -15
  434. package/dist/actions/update-drive-items-permissions.mjs +4 -4
  435. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  436. package/dist/actions/update-file-content.cjs +2 -2
  437. package/dist/actions/update-file-content.cjs.map +1 -1
  438. package/dist/actions/update-file-content.d.cts +15 -3
  439. package/dist/actions/update-file-content.d.mts +15 -3
  440. package/dist/actions/update-file-content.mjs +2 -2
  441. package/dist/actions/update-file-content.mjs.map +1 -1
  442. package/dist/actions/update-sharepoint-item-permission.d.cts +13 -1
  443. package/dist/actions/update-sharepoint-item-permission.d.mts +13 -1
  444. package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -1
  445. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  446. package/dist/actions/update-sharepoint-list-item-fields.d.cts +14 -2
  447. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
  448. package/dist/actions/update-sharepoint-list-item-fields.d.mts +14 -2
  449. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
  450. package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -1
  451. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  452. package/dist/actions/update-workbook-range.cjs +1 -1
  453. package/dist/actions/update-workbook-range.cjs.map +1 -1
  454. package/dist/actions/update-workbook-range.d.cts +14 -2
  455. package/dist/actions/update-workbook-range.d.mts +14 -2
  456. package/dist/actions/update-workbook-range.mjs +1 -1
  457. package/dist/actions/update-workbook-range.mjs.map +1 -1
  458. package/dist/actions/update-workbook-worksheet.cjs +1 -1
  459. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  460. package/dist/actions/update-workbook-worksheet.d.cts +14 -2
  461. package/dist/actions/update-workbook-worksheet.d.mts +14 -2
  462. package/dist/actions/update-workbook-worksheet.mjs +1 -1
  463. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  464. package/dist/actions/write-workbook-cell.cjs +1 -1
  465. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  466. package/dist/actions/write-workbook-cell.d.cts +14 -2
  467. package/dist/actions/write-workbook-cell.d.mts +14 -2
  468. package/dist/actions/write-workbook-cell.mjs +1 -1
  469. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  470. package/dist/app.cjs +5 -2
  471. package/dist/app.cjs.map +1 -1
  472. package/dist/app.d.cts +9 -1
  473. package/dist/app.d.cts.map +1 -1
  474. package/dist/app.d.mts +9 -1
  475. package/dist/app.d.mts.map +1 -1
  476. package/dist/app.mjs +3 -1
  477. package/dist/app.mjs.map +1 -1
  478. package/dist/execute.cjs +1 -1
  479. package/dist/execute.cjs.map +1 -1
  480. package/dist/execute.mjs +1 -1
  481. package/dist/execute.mjs.map +1 -1
  482. package/package.json +1 -1
@@ -12,14 +12,26 @@ declare const OneDriveDownloadItemVersionOutput: z.ZodObject<{
12
12
  name: z.ZodNullable<z.ZodString>;
13
13
  s3url: z.ZodNullable<z.ZodString>;
14
14
  mimetype: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
17
  declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  item_id: string;
19
19
  file_name: string;
20
20
  version_id: string;
21
21
  drive_id?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { oneDriveDownloadItemVersion };
25
37
  //# sourceMappingURL=download-item-version.d.cts.map
@@ -12,14 +12,26 @@ declare const OneDriveDownloadItemVersionOutput: z.ZodObject<{
12
12
  name: z.ZodNullable<z.ZodString>;
13
13
  s3url: z.ZodNullable<z.ZodString>;
14
14
  mimetype: z.ZodNullable<z.ZodString>;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
17
  declare const oneDriveDownloadItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  item_id: string;
19
19
  file_name: string;
20
20
  version_id: string;
21
21
  drive_id?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { oneDriveDownloadItemVersion };
25
37
  //# sourceMappingURL=download-item-version.d.mts.map
@@ -11,13 +11,13 @@ const OneDriveDownloadItemVersion_FileDownloadableSchema = z.object({
11
11
  name: z.string().describe("Name of the file").nullable(),
12
12
  s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
13
13
  mimetype: z.string().describe("Mime type of the file.").nullable()
14
- });
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.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file). Cannot be a folder ID.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the file. If not provided, defaults to the user's personal OneDrive (me/drive).\").optional(),\n file_name: z.string().describe(\"Desired filename (including extension) for the downloaded version content.\"),\n version_id: z.string().describe(\"The ID of the specific version to download (e.g., '1.0', '2.0'). Cannot be the current version - only previous versions can be downloaded using this endpoint.\"),\n});\nconst OneDriveDownloadItemVersion_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const OneDriveDownloadItemVersionOutput = z.object({\n content: OneDriveDownloadItemVersion_FileDownloadableSchema.nullable(),\n});\n\nexport const oneDriveDownloadItemVersion = action(\"ONE_DRIVE_DOWNLOAD_ITEM_VERSION\", {\n slug: \"one_drive-download-item-version\",\n name: \"Download Drive Item Version Content\",\n description: \"Tool to download the contents of a specific previous version of a drive item (file). Returns the actual file content. Note: You cannot download the current version using this endpoint - it only works for previous versions.\",\n input: OneDriveDownloadItemVersionInput,\n output: OneDriveDownloadItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACxK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E;CAC3G,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK;AAClM,CAAC;AACD,MAAM,qDAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;AAKD,MAAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT+C,EAAE,OAAO,EACxD,SAAS,mDAAmD,SAAS,EACvE,CAOU;AACV,CAAC"}
1
+ {"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.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to follow. This can be the ID of a personal OneDrive, a group's document library, or a SharePoint site's drive.\"),\n driveItem_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to follow. DriveItem IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API operations like list, search, or folder children queries.\"),\n});\nexport const OneDriveFollowItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the followed item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata as a dict.\").nullable().optional(),\n name: z.string().describe(\"The name of the followed item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the followed item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata as a dict.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item as a dict.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item as a dict.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent item as a dict.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveFollowItem = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;CACtM,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;AACjQ,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAA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ED,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,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;AACjQ,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,gBAAgBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,11 +19,23 @@ declare const OneDriveFollowItemOutput: z.ZodObject<{
19
19
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
21
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  drive_id: string;
25
25
  driveItem_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { oneDriveFollowItem };
29
41
  //# sourceMappingURL=follow-item.d.cts.map
@@ -19,11 +19,23 @@ declare const OneDriveFollowItemOutput: z.ZodObject<{
19
19
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
21
21
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const oneDriveFollowItem: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  drive_id: string;
25
25
  driveItem_id: string;
26
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>;
27
39
  //#endregion
28
40
  export { oneDriveFollowItem };
29
41
  //# sourceMappingURL=follow-item.d.mts.map
@@ -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.object({\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to follow. This can be the ID of a personal OneDrive, a group's document library, or a SharePoint site's drive.\"),\n driveItem_id: z.string().describe(\"The unique identifier of the driveItem (file or folder) to follow. DriveItem IDs are case-sensitive and must be used exactly as returned from Microsoft Graph API operations like list, search, or folder children queries.\"),\n});\nexport const OneDriveFollowItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the followed item.\").nullable().optional(),\n cTag: z.string().describe(\"Content tag.\").nullable().optional(),\n eTag: z.string().describe(\"Entity tag.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata as a dict.\").nullable().optional(),\n name: z.string().describe(\"The name of the followed item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the followed item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata as a dict.\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the item in a browser.\").nullable().optional(),\n createdBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who created the item as a dict.\").nullable().optional(),\n lastModifiedBy: z.record(z.string(), z.unknown()).describe(\"Information about the user who last modified the item as a dict.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent item as a dict.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveFollowItem = action(\"ONE_DRIVE_FOLLOW_ITEM\", {\n slug: \"one_drive-follow-item\",\n name: \"Follow Drive Item\",\n description: \"Tool to follow a driveItem (file or folder) in OneDrive or SharePoint. Use when you need to add an item to the user's followed items list for tracking updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;AAwBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBqC,EAAE,OAAO;EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;EACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;CACjQ,CAqBS;CACP,QArBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,cAAc,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7D,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnJ,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,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 updates.\",\n input: OneDriveFollowItemInput,\n output: OneDriveFollowItemOutput,\n});\n"],"mappings":";;AAwBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBqC,EAAE,OAAO;EAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK;EACtM,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6NAA6N;CACjQ,CAqBS;CACP,QArBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,S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C,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -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.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});\nexport const OneDriveGetDocumentCommentsOutput = 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,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;CACvK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS;AACzP,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IA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AAQ;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;CACvK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2HAA2H,CAAC,CAAC,SAAS;CACjL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8MAA8M,CAAC,CAAC,SAAS;AACzP,CAAC;AACD,MAAM,oDAAoDA,IAAAA,EAAE,OAAO;CACjE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9I,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1J,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,UAAUA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,uDAAuD,EACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,13 +19,25 @@ declare const OneDriveGetDocumentCommentsOutput: z.ZodObject<{
19
19
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  durable_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  anchor_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>;
23
- }, z.core.$strip>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
24
  declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  item_id: string;
26
26
  user_id?: string | undefined;
27
27
  drive_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>;
29
41
  //#endregion
30
42
  export { oneDriveGetDocumentComments };
31
43
  //# sourceMappingURL=get-document-comments.d.cts.map
@@ -19,13 +19,25 @@ declare const OneDriveGetDocumentCommentsOutput: z.ZodObject<{
19
19
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  durable_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  anchor_text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
- }, z.core.$strip>>;
23
- }, z.core.$strip>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
24
  declare const oneDriveGetDocumentComments: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  item_id: string;
26
26
  user_id?: string | undefined;
27
27
  drive_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>;
29
41
  //#endregion
30
42
  export { oneDriveGetDocumentComments };
31
43
  //# sourceMappingURL=get-document-comments.d.mts.map
@@ -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.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});\nexport const OneDriveGetDocumentCommentsOutput = 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,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,8M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":["../../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.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});\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});\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,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AyC,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,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACnM,CAAC;AACD,MAAM,yDAAyDA,IAAAA,EAAE,OAAO;CACtE,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,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,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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,CAAC,CAAC,YAAY;AAEf,MAAa,mCAAmCC,eAAAA,OAAO,2CAA2C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -32,17 +32,29 @@ declare const OneDriveGetDriveItemBySharingUrlOutput: z.ZodObject<{
32
32
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  driveId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  driveType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  "@microsoft.graph.downloadUrl": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const oneDriveGetDriveItemBySharingUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  sharing_url?: string | undefined;
41
41
  prefer_redeem?: "redeemSharingLinkIfNecessary" | "redeemSharingLink" | undefined;
42
42
  select_fields?: string[] | undefined;
43
43
  expand_children?: boolean | undefined;
44
44
  share_id_or_encoded_url?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ accessToken: z.ZodString;
57
+ }, z.core.$strip>>]>;
46
58
  //#endregion
47
59
  export { oneDriveGetDriveItemBySharingUrl };
48
60
  //# sourceMappingURL=get-drive-item-by-sharing-url.d.cts.map
@@ -32,17 +32,29 @@ declare const OneDriveGetDriveItemBySharingUrlOutput: z.ZodObject<{
32
32
  path: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  driveId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
34
  driveType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  "@microsoft.graph.downloadUrl": z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const oneDriveGetDriveItemBySharingUrl: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  sharing_url?: string | undefined;
41
41
  prefer_redeem?: "redeemSharingLinkIfNecessary" | "redeemSharingLink" | undefined;
42
42
  select_fields?: string[] | undefined;
43
43
  expand_children?: boolean | undefined;
44
44
  share_id_or_encoded_url?: string | undefined;
45
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
52
+ connectionId: z.ZodString;
53
+ entityId: z.ZodString;
54
+ instanceId: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ accessToken: z.ZodString;
57
+ }, z.core.$strip>>]>;
46
58
  //#endregion
47
59
  export { oneDriveGetDriveItemBySharingUrl };
48
60
  //# sourceMappingURL=get-drive-item-by-sharing-url.d.mts.map
@@ -14,7 +14,7 @@ const OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema = z.object({
14
14
  path: z.string().describe("The path to the parent item.").nullable().optional(),
15
15
  driveId: z.string().describe("The drive ID containing the item.").nullable().optional(),
16
16
  driveType: z.string().describe("The type of drive (e.g., personal, business).").nullable().optional()
17
- });
17
+ }).passthrough();
18
18
  const oneDriveGetDriveItemBySharingUrl = action("ONE_DRIVE_GET_DRIVE_ITEM_BY_SHARING_URL", {
19
19
  slug: "one_drive-get-drive-item-by-sharing-url",
20
20
  name: "Get DriveItem by Sharing URL",
@@ -38,7 +38,7 @@ const oneDriveGetDriveItemBySharingUrl = action("ONE_DRIVE_GET_DRIVE_ITEM_BY_SHA
38
38
  parentReference: OneDriveGetDriveItemBySharingUrl_ParentReferenceSchema.nullable().optional(),
39
39
  lastModifiedDateTime: z.string().describe("The date and time the item was last modified.").nullable().optional(),
40
40
  "@microsoft.graph.downloadUrl": z.string().describe("Direct download URL for the file (no auth required, 1-hour lifetime).").nullable().optional()
41
- })
41
+ }).passthrough()
42
42
  });
43
43
  //#endregion
44
44
  export { oneDriveGetDriveItemBySharingUrl };
@@ -1 +1 @@
1
- {"version":3,"file":"get-drive-item-by-sharing-url.mjs","names":[],"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});\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});\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,wCAAwC,EAAE,OAAO;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS;CACtP,eAAe,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrS,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CAC1Q,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3K,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACnM,CAAC;AACD,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC;AAqBD,MAAa,mCAAmC,OAAO,2CAA2C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAzBoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAA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SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,uDAAuD,SAAS,CAAC,CAAC,SAAS;EAC5F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"get-drive-item-by-sharing-url.mjs","names":[],"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,wCAAwC,EAAE,OAAO;CAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0MAA0M,CAAC,CAAC,SAAS;CACtP,eAAe,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,oMAAoM,CAAC,CAAC,SAAS;CACrS,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mNAAmN,CAAC,CAAC,SAAS;CAC1Q,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAC3K,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI,CAAC,CAAC,SAAS;AACnM,CAAC;AACD,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAqBf,MAAa,mCAAmC,OAAO,2CAA2C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;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C,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,iBAAiB,uDAAuD,SAAS,CAAC,CAAC,SAAS;EAC5F,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,gCAAgC,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -9,20 +9,20 @@ const OneDriveGetDriveInput = zod.z.object({
9
9
  const OneDriveGetDrive_IdentitySchema = zod.z.object({
10
10
  id: zod.z.string().nullable().optional(),
11
11
  displayName: zod.z.string().nullable().optional()
12
- });
12
+ }).passthrough();
13
13
  const OneDriveGetDrive_IdentitySetSchema = zod.z.object({
14
14
  user: OneDriveGetDrive_IdentitySchema.nullable().optional(),
15
15
  group: OneDriveGetDrive_IdentitySchema.nullable().optional(),
16
16
  device: OneDriveGetDrive_IdentitySchema.nullable().optional(),
17
17
  application: OneDriveGetDrive_IdentitySchema.nullable().optional()
18
- });
18
+ }).passthrough();
19
19
  const OneDriveGetDrive_QuotaSchema = zod.z.object({
20
20
  used: zod.z.number().int().describe("Total space used, in bytes.").nullable().optional(),
21
21
  state: zod.z.string().describe("Enumeration that indicates the state of the storage space. Returned values are: normal, nearing, critical, exceeded.").nullable().optional(),
22
22
  total: zod.z.number().int().describe("Total allowed storage space, in bytes.").nullable().optional(),
23
23
  deleted: zod.z.number().int().describe("Total space consumed by items in the recycle bin, in bytes.").nullable().optional(),
24
24
  remaining: zod.z.number().int().describe("Total space remaining on the drive, in bytes.").nullable().optional()
25
- });
25
+ }).passthrough();
26
26
  const OneDriveGetDrive_SharePointIdsSchema = zod.z.object({
27
27
  webId: zod.z.string().describe("The unique identifier (guid) for the item's site (SPWeb).").nullable().optional(),
28
28
  listId: zod.z.string().describe("The unique identifier (guid) for the item's list in SharePoint.").nullable().optional(),
@@ -31,7 +31,7 @@ const OneDriveGetDrive_SharePointIdsSchema = zod.z.object({
31
31
  tenantId: zod.z.string().describe("The unique identifier (guid) for the tenancy.").nullable().optional(),
32
32
  listItemId: zod.z.string().describe("An integer identifier for the item within the containing list.").nullable().optional(),
33
33
  listItemUniqueId: zod.z.string().describe("The unique identifier (guid) for the item within OneDrive for Business or a SharePoint document library.").nullable().optional()
34
- });
34
+ }).passthrough();
35
35
  const OneDriveGetDriveOutput = zod.z.object({
36
36
  id: zod.z.string().describe("The unique identifier of the drive.").nullable().optional(),
37
37
  list: zod.z.record(zod.z.string(), zod.z.unknown()).describe("For drives in SharePoint, the underlying document library list.").nullable().optional(),
@@ -52,7 +52,7 @@ const OneDriveGetDriveOutput = zod.z.object({
52
52
  lastModifiedBy: OneDriveGetDrive_IdentitySetSchema.nullable().optional(),
53
53
  createdDateTime: zod.z.string().describe("Date and time of drive creation. Read-only.").nullable().optional(),
54
54
  lastModifiedDateTime: zod.z.string().describe("Date and time the drive was last modified. Read-only.").nullable().optional()
55
- });
55
+ }).passthrough();
56
56
  const oneDriveGetDrive = require_action.action("ONE_DRIVE_GET_DRIVE", {
57
57
  slug: "one_drive-get-drive",
58
58
  name: "Get Drive",