@keystrokehq/one_drive 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (450) 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 +1 -1
  5. package/dist/actions/add-workbook-worksheet.d.mts +1 -1
  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 +1 -1
  11. package/dist/actions/checkin-item.d.mts +1 -1
  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 +1 -1
  17. package/dist/actions/checkout-item.d.mts +1 -1
  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 +1 -1
  23. package/dist/actions/clear-workbook-range.d.mts +1 -1
  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 +3 -3
  29. package/dist/actions/copy-item.d.mts +3 -3
  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 +15 -15
  35. package/dist/actions/create-item-permission.d.mts +15 -15
  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 +5 -5
  41. package/dist/actions/create-link.d.mts +5 -5
  42. package/dist/actions/create-link.mjs +4 -4
  43. package/dist/actions/create-link.mjs.map +1 -1
  44. package/dist/actions/delete-item-permanently.cjs +1 -1
  45. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  46. package/dist/actions/delete-item-permanently.d.cts +1 -1
  47. package/dist/actions/delete-item-permanently.d.mts +1 -1
  48. package/dist/actions/delete-item-permanently.mjs +1 -1
  49. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  50. package/dist/actions/delete-item-permission.cjs +1 -1
  51. package/dist/actions/delete-item-permission.cjs.map +1 -1
  52. package/dist/actions/delete-item-permission.d.cts +1 -1
  53. package/dist/actions/delete-item-permission.d.mts +1 -1
  54. package/dist/actions/delete-item-permission.mjs +1 -1
  55. package/dist/actions/delete-item-permission.mjs.map +1 -1
  56. package/dist/actions/delete-item.cjs +1 -1
  57. package/dist/actions/delete-item.cjs.map +1 -1
  58. package/dist/actions/delete-item.d.cts +1 -1
  59. package/dist/actions/delete-item.d.mts +1 -1
  60. package/dist/actions/delete-item.mjs +1 -1
  61. package/dist/actions/delete-item.mjs.map +1 -1
  62. package/dist/actions/delete-share-permission.cjs +1 -1
  63. package/dist/actions/delete-share-permission.cjs.map +1 -1
  64. package/dist/actions/delete-share-permission.d.cts +1 -1
  65. package/dist/actions/delete-share-permission.d.mts +1 -1
  66. package/dist/actions/delete-share-permission.mjs +1 -1
  67. package/dist/actions/delete-share-permission.mjs.map +1 -1
  68. package/dist/actions/delete-workbook-range.cjs +1 -1
  69. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  70. package/dist/actions/delete-workbook-range.d.cts +1 -1
  71. package/dist/actions/delete-workbook-range.d.mts +1 -1
  72. package/dist/actions/delete-workbook-range.mjs +1 -1
  73. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  74. package/dist/actions/delete-workbook-worksheet.cjs +1 -1
  75. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  76. package/dist/actions/delete-workbook-worksheet.d.cts +1 -1
  77. package/dist/actions/delete-workbook-worksheet.d.mts +1 -1
  78. package/dist/actions/delete-workbook-worksheet.mjs +1 -1
  79. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  80. package/dist/actions/discard-checkout.cjs +1 -1
  81. package/dist/actions/discard-checkout.cjs.map +1 -1
  82. package/dist/actions/discard-checkout.d.cts +1 -1
  83. package/dist/actions/discard-checkout.d.mts +1 -1
  84. package/dist/actions/discard-checkout.mjs +1 -1
  85. package/dist/actions/discard-checkout.mjs.map +1 -1
  86. package/dist/actions/download-file-by-path.cjs +2 -2
  87. package/dist/actions/download-file-by-path.cjs.map +1 -1
  88. package/dist/actions/download-file-by-path.d.cts +2 -2
  89. package/dist/actions/download-file-by-path.d.mts +2 -2
  90. package/dist/actions/download-file-by-path.mjs +2 -2
  91. package/dist/actions/download-file-by-path.mjs.map +1 -1
  92. package/dist/actions/download-file.cjs +2 -2
  93. package/dist/actions/download-file.cjs.map +1 -1
  94. package/dist/actions/download-file.d.cts +2 -2
  95. package/dist/actions/download-file.d.mts +2 -2
  96. package/dist/actions/download-file.mjs +2 -2
  97. package/dist/actions/download-file.mjs.map +1 -1
  98. package/dist/actions/download-item-as-format.cjs +2 -2
  99. package/dist/actions/download-item-as-format.cjs.map +1 -1
  100. package/dist/actions/download-item-as-format.d.cts +2 -2
  101. package/dist/actions/download-item-as-format.d.mts +2 -2
  102. package/dist/actions/download-item-as-format.mjs +2 -2
  103. package/dist/actions/download-item-as-format.mjs.map +1 -1
  104. package/dist/actions/download-item-version.cjs +2 -2
  105. package/dist/actions/download-item-version.cjs.map +1 -1
  106. package/dist/actions/download-item-version.d.cts +2 -2
  107. package/dist/actions/download-item-version.d.mts +2 -2
  108. package/dist/actions/download-item-version.mjs +2 -2
  109. package/dist/actions/download-item-version.mjs.map +1 -1
  110. package/dist/actions/follow-item.cjs +1 -1
  111. package/dist/actions/follow-item.cjs.map +1 -1
  112. package/dist/actions/follow-item.d.cts +1 -1
  113. package/dist/actions/follow-item.d.mts +1 -1
  114. package/dist/actions/follow-item.mjs +1 -1
  115. package/dist/actions/follow-item.mjs.map +1 -1
  116. package/dist/actions/get-document-comments.cjs +2 -2
  117. package/dist/actions/get-document-comments.cjs.map +1 -1
  118. package/dist/actions/get-document-comments.d.cts +2 -2
  119. package/dist/actions/get-document-comments.d.mts +2 -2
  120. package/dist/actions/get-document-comments.mjs +2 -2
  121. package/dist/actions/get-document-comments.mjs.map +1 -1
  122. package/dist/actions/get-drive-item-by-sharing-url.cjs +2 -2
  123. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  124. package/dist/actions/get-drive-item-by-sharing-url.d.cts +2 -2
  125. package/dist/actions/get-drive-item-by-sharing-url.d.mts +2 -2
  126. package/dist/actions/get-drive-item-by-sharing-url.mjs +2 -2
  127. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  128. package/dist/actions/get-drive.cjs +5 -5
  129. package/dist/actions/get-drive.cjs.map +1 -1
  130. package/dist/actions/get-drive.d.cts +18 -18
  131. package/dist/actions/get-drive.d.mts +18 -18
  132. package/dist/actions/get-drive.mjs +5 -5
  133. package/dist/actions/get-drive.mjs.map +1 -1
  134. package/dist/actions/get-followed-item.cjs +4 -4
  135. package/dist/actions/get-followed-item.cjs.map +1 -1
  136. package/dist/actions/get-followed-item.d.cts +5 -5
  137. package/dist/actions/get-followed-item.d.mts +5 -5
  138. package/dist/actions/get-followed-item.mjs +4 -4
  139. package/dist/actions/get-followed-item.mjs.map +1 -1
  140. package/dist/actions/get-group-drive.cjs +5 -5
  141. package/dist/actions/get-group-drive.cjs.map +1 -1
  142. package/dist/actions/get-group-drive.d.cts +18 -18
  143. package/dist/actions/get-group-drive.d.mts +18 -18
  144. package/dist/actions/get-group-drive.mjs +5 -5
  145. package/dist/actions/get-group-drive.mjs.map +1 -1
  146. package/dist/actions/get-item-permissions.cjs +8 -8
  147. package/dist/actions/get-item-permissions.cjs.map +1 -1
  148. package/dist/actions/get-item-permissions.d.cts +24 -24
  149. package/dist/actions/get-item-permissions.d.mts +24 -24
  150. package/dist/actions/get-item-permissions.mjs +8 -8
  151. package/dist/actions/get-item-permissions.mjs.map +1 -1
  152. package/dist/actions/get-item-thumbnails.cjs +3 -3
  153. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  154. package/dist/actions/get-item-thumbnails.d.cts +5 -5
  155. package/dist/actions/get-item-thumbnails.d.mts +5 -5
  156. package/dist/actions/get-item-thumbnails.mjs +3 -3
  157. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  158. package/dist/actions/get-item-versions.cjs +6 -6
  159. package/dist/actions/get-item-versions.cjs.map +1 -1
  160. package/dist/actions/get-item-versions.d.cts +12 -12
  161. package/dist/actions/get-item-versions.d.mts +12 -12
  162. package/dist/actions/get-item-versions.mjs +6 -6
  163. package/dist/actions/get-item-versions.mjs.map +1 -1
  164. package/dist/actions/get-item.cjs +7 -7
  165. package/dist/actions/get-item.cjs.map +1 -1
  166. package/dist/actions/get-item.d.cts +24 -24
  167. package/dist/actions/get-item.d.mts +24 -24
  168. package/dist/actions/get-item.mjs +7 -7
  169. package/dist/actions/get-item.mjs.map +1 -1
  170. package/dist/actions/get-root.cjs +7 -7
  171. package/dist/actions/get-root.cjs.map +1 -1
  172. package/dist/actions/get-root.d.cts +13 -13
  173. package/dist/actions/get-root.d.mts +13 -13
  174. package/dist/actions/get-root.mjs +7 -7
  175. package/dist/actions/get-root.mjs.map +1 -1
  176. package/dist/actions/get-share.cjs +2 -2
  177. package/dist/actions/get-share.cjs.map +1 -1
  178. package/dist/actions/get-share.d.cts +2 -2
  179. package/dist/actions/get-share.d.mts +2 -2
  180. package/dist/actions/get-share.mjs +2 -2
  181. package/dist/actions/get-share.mjs.map +1 -1
  182. package/dist/actions/get-sharepoint-list-items.cjs +2 -2
  183. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  184. package/dist/actions/get-sharepoint-list-items.d.cts +2 -2
  185. package/dist/actions/get-sharepoint-list-items.d.mts +2 -2
  186. package/dist/actions/get-sharepoint-list-items.mjs +2 -2
  187. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  188. package/dist/actions/get-site-page-content.cjs +12 -12
  189. package/dist/actions/get-site-page-content.cjs.map +1 -1
  190. package/dist/actions/get-site-page-content.d.cts +12 -12
  191. package/dist/actions/get-site-page-content.d.mts +12 -12
  192. package/dist/actions/get-site-page-content.mjs +12 -12
  193. package/dist/actions/get-site-page-content.mjs.map +1 -1
  194. package/dist/actions/get-site.cjs +1 -1
  195. package/dist/actions/get-site.cjs.map +1 -1
  196. package/dist/actions/get-site.d.cts +1 -1
  197. package/dist/actions/get-site.d.mts +1 -1
  198. package/dist/actions/get-site.mjs +1 -1
  199. package/dist/actions/get-site.mjs.map +1 -1
  200. package/dist/actions/get-special-folder.cjs +7 -7
  201. package/dist/actions/get-special-folder.cjs.map +1 -1
  202. package/dist/actions/get-special-folder.d.cts +11 -11
  203. package/dist/actions/get-special-folder.d.mts +11 -11
  204. package/dist/actions/get-special-folder.mjs +7 -7
  205. package/dist/actions/get-special-folder.mjs.map +1 -1
  206. package/dist/actions/get-user.cjs +1 -1
  207. package/dist/actions/get-user.cjs.map +1 -1
  208. package/dist/actions/get-user.d.cts +1 -1
  209. package/dist/actions/get-user.d.mts +1 -1
  210. package/dist/actions/get-user.mjs +1 -1
  211. package/dist/actions/get-user.mjs.map +1 -1
  212. package/dist/actions/get-workbook-used-range.cjs +1 -1
  213. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  214. package/dist/actions/get-workbook-used-range.d.cts +1 -1
  215. package/dist/actions/get-workbook-used-range.d.mts +1 -1
  216. package/dist/actions/get-workbook-used-range.mjs +1 -1
  217. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  218. package/dist/actions/get-workbook-worksheet.cjs +1 -1
  219. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  220. package/dist/actions/get-workbook-worksheet.d.cts +1 -1
  221. package/dist/actions/get-workbook-worksheet.d.mts +1 -1
  222. package/dist/actions/get-workbook-worksheet.mjs +1 -1
  223. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  224. package/dist/actions/grant-share-permission.cjs +5 -5
  225. package/dist/actions/grant-share-permission.cjs.map +1 -1
  226. package/dist/actions/grant-share-permission.d.cts +6 -5
  227. package/dist/actions/grant-share-permission.d.mts +6 -5
  228. package/dist/actions/grant-share-permission.mjs +5 -5
  229. package/dist/actions/grant-share-permission.mjs.map +1 -1
  230. package/dist/actions/invite-user-to-item.cjs +7 -7
  231. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  232. package/dist/actions/invite-user-to-item.d.cts +8 -7
  233. package/dist/actions/invite-user-to-item.d.mts +8 -7
  234. package/dist/actions/invite-user-to-item.mjs +7 -7
  235. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  236. package/dist/actions/list-activities.cjs +20 -20
  237. package/dist/actions/list-activities.cjs.map +1 -1
  238. package/dist/actions/list-activities.d.cts +64 -64
  239. package/dist/actions/list-activities.d.mts +64 -64
  240. package/dist/actions/list-activities.mjs +20 -20
  241. package/dist/actions/list-activities.mjs.map +1 -1
  242. package/dist/actions/list-all-drive-items.cjs +29 -29
  243. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  244. package/dist/actions/list-all-drive-items.d.cts +42 -42
  245. package/dist/actions/list-all-drive-items.d.mts +42 -42
  246. package/dist/actions/list-all-drive-items.mjs +29 -29
  247. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  248. package/dist/actions/list-bundles.cjs +6 -6
  249. package/dist/actions/list-bundles.cjs.map +1 -1
  250. package/dist/actions/list-bundles.d.cts +12 -12
  251. package/dist/actions/list-bundles.d.mts +12 -12
  252. package/dist/actions/list-bundles.mjs +6 -6
  253. package/dist/actions/list-bundles.mjs.map +1 -1
  254. package/dist/actions/list-drives.cjs +5 -5
  255. package/dist/actions/list-drives.cjs.map +1 -1
  256. package/dist/actions/list-drives.d.cts +9 -9
  257. package/dist/actions/list-drives.d.mts +9 -9
  258. package/dist/actions/list-drives.mjs +5 -5
  259. package/dist/actions/list-drives.mjs.map +1 -1
  260. package/dist/actions/list-folder-children.cjs +29 -29
  261. package/dist/actions/list-folder-children.cjs.map +1 -1
  262. package/dist/actions/list-folder-children.d.cts +42 -42
  263. package/dist/actions/list-folder-children.d.mts +42 -42
  264. package/dist/actions/list-folder-children.mjs +29 -29
  265. package/dist/actions/list-folder-children.mjs.map +1 -1
  266. package/dist/actions/list-item-activities.cjs +4 -4
  267. package/dist/actions/list-item-activities.cjs.map +1 -1
  268. package/dist/actions/list-item-activities.d.cts +4 -4
  269. package/dist/actions/list-item-activities.d.mts +4 -4
  270. package/dist/actions/list-item-activities.mjs +4 -4
  271. package/dist/actions/list-item-activities.mjs.map +1 -1
  272. package/dist/actions/list-root-drive-changes.cjs +7 -7
  273. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  274. package/dist/actions/list-root-drive-changes.d.cts +7 -7
  275. package/dist/actions/list-root-drive-changes.d.mts +7 -7
  276. package/dist/actions/list-root-drive-changes.mjs +7 -7
  277. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  278. package/dist/actions/list-share-permissions.cjs +2 -2
  279. package/dist/actions/list-share-permissions.cjs.map +1 -1
  280. package/dist/actions/list-share-permissions.d.cts +2 -2
  281. package/dist/actions/list-share-permissions.d.mts +2 -2
  282. package/dist/actions/list-share-permissions.mjs +2 -2
  283. package/dist/actions/list-share-permissions.mjs.map +1 -1
  284. package/dist/actions/list-sharepoint-list-items-delta.cjs +3 -3
  285. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  286. package/dist/actions/list-sharepoint-list-items-delta.d.cts +3 -3
  287. package/dist/actions/list-sharepoint-list-items-delta.d.mts +3 -3
  288. package/dist/actions/list-sharepoint-list-items-delta.mjs +3 -3
  289. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  290. package/dist/actions/list-site-columns.cjs +2 -2
  291. package/dist/actions/list-site-columns.cjs.map +1 -1
  292. package/dist/actions/list-site-columns.d.cts +2 -2
  293. package/dist/actions/list-site-columns.d.mts +2 -2
  294. package/dist/actions/list-site-columns.mjs +2 -2
  295. package/dist/actions/list-site-columns.mjs.map +1 -1
  296. package/dist/actions/list-site-items-delta.cjs +2 -2
  297. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  298. package/dist/actions/list-site-items-delta.d.cts +2 -2
  299. package/dist/actions/list-site-items-delta.d.mts +2 -2
  300. package/dist/actions/list-site-items-delta.mjs +2 -2
  301. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  302. package/dist/actions/list-site-lists.cjs +9 -9
  303. package/dist/actions/list-site-lists.cjs.map +1 -1
  304. package/dist/actions/list-site-lists.d.cts +15 -15
  305. package/dist/actions/list-site-lists.d.mts +15 -15
  306. package/dist/actions/list-site-lists.mjs +9 -9
  307. package/dist/actions/list-site-lists.mjs.map +1 -1
  308. package/dist/actions/list-site-subsites.cjs +2 -2
  309. package/dist/actions/list-site-subsites.cjs.map +1 -1
  310. package/dist/actions/list-site-subsites.d.cts +2 -2
  311. package/dist/actions/list-site-subsites.d.mts +2 -2
  312. package/dist/actions/list-site-subsites.mjs +2 -2
  313. package/dist/actions/list-site-subsites.mjs.map +1 -1
  314. package/dist/actions/list-subscriptions.cjs +2 -2
  315. package/dist/actions/list-subscriptions.cjs.map +1 -1
  316. package/dist/actions/list-subscriptions.d.cts +2 -2
  317. package/dist/actions/list-subscriptions.d.mts +2 -2
  318. package/dist/actions/list-subscriptions.mjs +2 -2
  319. package/dist/actions/list-subscriptions.mjs.map +1 -1
  320. package/dist/actions/list-workbook-worksheets.cjs +2 -2
  321. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  322. package/dist/actions/list-workbook-worksheets.d.cts +2 -2
  323. package/dist/actions/list-workbook-worksheets.d.mts +2 -2
  324. package/dist/actions/list-workbook-worksheets.mjs +2 -2
  325. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  326. package/dist/actions/move-item.cjs +2 -2
  327. package/dist/actions/move-item.cjs.map +1 -1
  328. package/dist/actions/move-item.d.cts +2 -2
  329. package/dist/actions/move-item.d.mts +2 -2
  330. package/dist/actions/move-item.mjs +2 -2
  331. package/dist/actions/move-item.mjs.map +1 -1
  332. package/dist/actions/onedrive-create-folder.cjs +1 -1
  333. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  334. package/dist/actions/onedrive-create-folder.d.cts +3 -3
  335. package/dist/actions/onedrive-create-folder.d.mts +3 -3
  336. package/dist/actions/onedrive-create-folder.mjs +1 -1
  337. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  338. package/dist/actions/onedrive-create-text-file.cjs +2 -2
  339. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  340. package/dist/actions/onedrive-create-text-file.d.cts +4 -4
  341. package/dist/actions/onedrive-create-text-file.d.mts +4 -4
  342. package/dist/actions/onedrive-create-text-file.mjs +2 -2
  343. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  344. package/dist/actions/onedrive-find-file.cjs +11 -11
  345. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  346. package/dist/actions/onedrive-find-file.d.cts +18 -18
  347. package/dist/actions/onedrive-find-file.d.mts +18 -18
  348. package/dist/actions/onedrive-find-file.mjs +11 -11
  349. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  350. package/dist/actions/onedrive-find-folder.cjs +7 -7
  351. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  352. package/dist/actions/onedrive-find-folder.d.cts +13 -13
  353. package/dist/actions/onedrive-find-folder.d.mts +13 -13
  354. package/dist/actions/onedrive-find-folder.mjs +7 -7
  355. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  356. package/dist/actions/onedrive-list-items.cjs +28 -28
  357. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  358. package/dist/actions/onedrive-list-items.d.cts +36 -36
  359. package/dist/actions/onedrive-list-items.d.mts +36 -36
  360. package/dist/actions/onedrive-list-items.mjs +28 -28
  361. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  362. package/dist/actions/onedrive-upload-file.cjs +3 -3
  363. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  364. package/dist/actions/onedrive-upload-file.d.cts +6 -6
  365. package/dist/actions/onedrive-upload-file.d.mts +6 -6
  366. package/dist/actions/onedrive-upload-file.mjs +3 -3
  367. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  368. package/dist/actions/preview-drive-item.cjs +1 -1
  369. package/dist/actions/preview-drive-item.cjs.map +1 -1
  370. package/dist/actions/preview-drive-item.d.cts +1 -1
  371. package/dist/actions/preview-drive-item.d.mts +1 -1
  372. package/dist/actions/preview-drive-item.mjs +1 -1
  373. package/dist/actions/preview-drive-item.mjs.map +1 -1
  374. package/dist/actions/read-workbook-range.cjs +1 -1
  375. package/dist/actions/read-workbook-range.cjs.map +1 -1
  376. package/dist/actions/read-workbook-range.d.cts +1 -1
  377. package/dist/actions/read-workbook-range.d.mts +1 -1
  378. package/dist/actions/read-workbook-range.mjs +1 -1
  379. package/dist/actions/read-workbook-range.mjs.map +1 -1
  380. package/dist/actions/restore-drive-item.cjs +1 -1
  381. package/dist/actions/restore-drive-item.cjs.map +1 -1
  382. package/dist/actions/restore-drive-item.d.cts +1 -1
  383. package/dist/actions/restore-drive-item.d.mts +1 -1
  384. package/dist/actions/restore-drive-item.mjs +1 -1
  385. package/dist/actions/restore-drive-item.mjs.map +1 -1
  386. package/dist/actions/restore-item-version.cjs +1 -1
  387. package/dist/actions/restore-item-version.cjs.map +1 -1
  388. package/dist/actions/restore-item-version.d.cts +1 -1
  389. package/dist/actions/restore-item-version.d.mts +1 -1
  390. package/dist/actions/restore-item-version.mjs +1 -1
  391. package/dist/actions/restore-item-version.mjs.map +1 -1
  392. package/dist/actions/search-items.cjs +10 -10
  393. package/dist/actions/search-items.cjs.map +1 -1
  394. package/dist/actions/search-items.d.cts +14 -14
  395. package/dist/actions/search-items.d.mts +14 -14
  396. package/dist/actions/search-items.mjs +10 -10
  397. package/dist/actions/search-items.mjs.map +1 -1
  398. package/dist/actions/unfollow-item.cjs +1 -1
  399. package/dist/actions/unfollow-item.cjs.map +1 -1
  400. package/dist/actions/unfollow-item.d.cts +1 -1
  401. package/dist/actions/unfollow-item.d.mts +1 -1
  402. package/dist/actions/unfollow-item.mjs +1 -1
  403. package/dist/actions/unfollow-item.mjs.map +1 -1
  404. package/dist/actions/update-drive-item-metadata.cjs +5 -5
  405. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  406. package/dist/actions/update-drive-item-metadata.d.cts +5 -5
  407. package/dist/actions/update-drive-item-metadata.d.mts +5 -5
  408. package/dist/actions/update-drive-item-metadata.mjs +5 -5
  409. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  410. package/dist/actions/update-drive-items-permissions.cjs +4 -4
  411. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  412. package/dist/actions/update-drive-items-permissions.d.cts +14 -14
  413. package/dist/actions/update-drive-items-permissions.d.mts +14 -14
  414. package/dist/actions/update-drive-items-permissions.mjs +4 -4
  415. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  416. package/dist/actions/update-file-content.cjs +2 -2
  417. package/dist/actions/update-file-content.cjs.map +1 -1
  418. package/dist/actions/update-file-content.d.cts +4 -4
  419. package/dist/actions/update-file-content.d.mts +4 -4
  420. package/dist/actions/update-file-content.mjs +2 -2
  421. package/dist/actions/update-file-content.mjs.map +1 -1
  422. package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -1
  423. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  424. package/dist/actions/update-sharepoint-list-item-fields.d.cts +1 -1
  425. package/dist/actions/update-sharepoint-list-item-fields.d.mts +1 -1
  426. package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -1
  427. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  428. package/dist/actions/update-workbook-range.cjs +1 -1
  429. package/dist/actions/update-workbook-range.cjs.map +1 -1
  430. package/dist/actions/update-workbook-range.d.cts +1 -1
  431. package/dist/actions/update-workbook-range.d.mts +1 -1
  432. package/dist/actions/update-workbook-range.mjs +1 -1
  433. package/dist/actions/update-workbook-range.mjs.map +1 -1
  434. package/dist/actions/update-workbook-worksheet.cjs +1 -1
  435. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  436. package/dist/actions/update-workbook-worksheet.d.cts +1 -1
  437. package/dist/actions/update-workbook-worksheet.d.mts +1 -1
  438. package/dist/actions/update-workbook-worksheet.mjs +1 -1
  439. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  440. package/dist/actions/write-workbook-cell.cjs +1 -1
  441. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  442. package/dist/actions/write-workbook-cell.d.cts +1 -1
  443. package/dist/actions/write-workbook-cell.d.mts +1 -1
  444. package/dist/actions/write-workbook-cell.mjs +1 -1
  445. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  446. package/dist/execute.cjs +1 -1
  447. package/dist/execute.cjs.map +1 -1
  448. package/dist/execute.mjs +1 -1
  449. package/dist/execute.mjs.map +1 -1
  450. package/package.json +1 -1
@@ -18,7 +18,7 @@ const oneDrivePreviewDriveItem = action("ONE_DRIVE_PREVIEW_DRIVE_ITEM", {
18
18
  getUrl: z.string().describe("URL suitable for embedding using HTTP GET (iframes, etc.)").nullable().optional(),
19
19
  postUrl: z.string().describe("URL suitable for embedding using HTTP POST (form post, JS, etc.)").nullable().optional(),
20
20
  postParameters: z.string().describe("POST parameters to include if using postUrl").nullable().optional()
21
- })
21
+ }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { oneDrivePreviewDriveItem };
@@ -1 +1 @@
1
- {"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n});\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxI,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxI,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -57,7 +57,7 @@ const OneDriveReadWorkbookRangeOutput = zod.z.object({
57
57
  zod.z.number(),
58
58
  zod.z.boolean()
59
59
  ]).nullable())).describe("2D array containing the cell formulas in the user's locale notation.").nullable().optional()
60
- });
60
+ }).passthrough();
61
61
  const oneDriveReadWorkbookRange = require_action.action("ONE_DRIVE_READ_WORKBOOK_RANGE", {
62
62
  slug: "one_drive-read-workbook-range",
63
63
  name: "Read Workbook Range",
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n});\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;CAC9P,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CACnL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpI,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;CAC9W,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;AACxP,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAA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E,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpN,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;CAC9P,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CACnL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpI,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;CAC9W,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;AACxP,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI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AC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpN,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -27,7 +27,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
27
27
  formulasR1C1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
28
28
  numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
29
29
  formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
30
- }, z.core.$strip>;
30
+ }, z.core.$loose>;
31
31
  declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  address: string;
33
33
  item_id: string;
@@ -27,7 +27,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
27
27
  formulasR1C1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
28
28
  numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
29
29
  formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
30
- }, z.core.$strip>;
30
+ }, z.core.$loose>;
31
31
  declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  address: string;
33
33
  item_id: string;
@@ -60,7 +60,7 @@ const oneDriveReadWorkbookRange = action("ONE_DRIVE_READ_WORKBOOK_RANGE", {
60
60
  z.number(),
61
61
  z.boolean()
62
62
  ]).nullable())).describe("2D array containing the cell formulas in the user's locale notation.").nullable().optional()
63
- })
63
+ }).passthrough()
64
64
  });
65
65
  //#endregion
66
66
  export { oneDriveReadWorkbookRange };
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n});\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;AAgCA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhC4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;EAC9P,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;EACnL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpI,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;EAC9W,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;CACxP,CAyBS;CACP,QAzB6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAA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CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});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AAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1M,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzM,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -18,7 +18,7 @@ const OneDriveRestoreDriveItemOutput = zod.z.object({
18
18
  createdDateTime: zod.z.string().describe("The date and time the item was originally created.").nullable().optional(),
19
19
  parentReference: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Reference to the parent folder containing the restored item.").nullable().optional(),
20
20
  lastModifiedDateTime: zod.z.string().describe("The date and time the item was last modified.").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const oneDriveRestoreDriveItem = require_action.action("ONE_DRIVE_RESTORE_DRIVE_ITEM", {
23
23
  slug: "one_drive-restore-drive-item",
24
24
  name: "Restore Deleted Item",
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored 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 (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePo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OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored 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 (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;CACrS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;CACvP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACtP,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;AACzU,CAAC;AACD,M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AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
18
18
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
20
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  item_id: string;
24
24
  name?: string | undefined;
@@ -18,7 +18,7 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
18
18
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
20
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  item_id: string;
24
24
  name?: string | undefined;
@@ -21,7 +21,7 @@ const oneDriveRestoreDriveItem = action("ONE_DRIVE_RESTORE_DRIVE_ITEM", {
21
21
  createdDateTime: z.string().describe("The date and time the item was originally created.").nullable().optional(),
22
22
  parentReference: z.record(z.string(), z.unknown()).describe("Reference to the parent folder containing the restored item.").nullable().optional(),
23
23
  lastModifiedDateTime: z.string().describe("The date and time the item was last modified.").nullable().optional()
24
- })
24
+ }).passthrough()
25
25
  });
26
26
  //#endregion
27
27
  export { oneDriveRestoreDriveItem };
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored 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 (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;EACrS,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;EACvP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;EACtP,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACzU,CAkBS;CACP,QAlB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,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,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored 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 (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;EACrS,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;EACvP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;EACtP,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACzU,CAkBS;CACP,QAlB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,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,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -7,7 +7,7 @@ const OneDriveRestoreItemVersionInput = zod.z.object({
7
7
  drive_id: zod.z.string().describe("The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.").optional(),
8
8
  version_id: zod.z.string().describe("The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.")
9
9
  });
10
- const OneDriveRestoreItemVersionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the version restore operation.").nullable() });
10
+ const OneDriveRestoreItemVersionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the version restore operation.").nullable() }).passthrough();
11
11
  const oneDriveRestoreItemVersion = require_action.action("ONE_DRIVE_RESTORE_ITEM_VERSION", {
12
12
  slug: "one_drive-restore-item-version",
13
13
  name: "Restore Item Version",
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n});\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACxL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACxL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const oneDriveRestoreItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  item_id: string;
15
15
  version_id: string;
@@ -9,7 +9,7 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const oneDriveRestoreItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  item_id: string;
15
15
  version_id: string;
@@ -10,7 +10,7 @@ const oneDriveRestoreItemVersion = action("ONE_DRIVE_RESTORE_ITEM_VERSION", {
10
10
  drive_id: z.string().describe("The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.").optional(),
11
11
  version_id: z.string().describe("The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.")
12
12
  }),
13
- output: z.object({ message: z.string().describe("A message indicating the success of the version restore operation.").nullable() })
13
+ output: z.object({ message: z.string().describe("A message indicating the success of the version restore operation.").nullable() }).passthrough()
14
14
  });
15
15
  //#endregion
16
16
  export { oneDriveRestoreItemVersion };
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n});\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EACxL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACnK,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EACxL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACnK,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -21,20 +21,20 @@ const OneDriveSearchItems_HashesSchema = zod.z.object({
21
21
  crc32Hash: zod.z.string().describe("CRC32 value of the file (if available).").nullable().optional(),
22
22
  sha256Hash: zod.z.string().describe("SHA256 hash (if available).").nullable().optional(),
23
23
  quickXorHash: zod.z.string().describe("Proprietary hash that can determine if file contents changed (if available).").nullable().optional()
24
- }).describe("File hash values for integrity verification.");
24
+ }).passthrough().describe("File hash values for integrity verification.");
25
25
  const OneDriveSearchItems_FileSchema = zod.z.object({
26
26
  hashes: OneDriveSearchItems_HashesSchema.nullable().optional(),
27
27
  mimeType: zod.z.string().describe("MIME type for the file, determined by server logic.").nullable().optional()
28
- }).describe("File metadata facet.");
28
+ }).passthrough().describe("File metadata facet.");
29
29
  const OneDriveSearchItems_FolderViewSchema = zod.z.object({
30
30
  sortBy: zod.z.string().describe("Method by which the folder should be sorted (e.g., name, size, lastModifiedDateTime).").nullable().optional(),
31
31
  viewType: zod.z.string().describe("Type of view for the folder (e.g., default, icons, details, thumbnails).").nullable().optional(),
32
32
  sortOrder: zod.z.string().describe("Sort order: ascending or descending.").nullable().optional()
33
- }).describe("Recommended view settings for a folder.");
33
+ }).passthrough().describe("Recommended view settings for a folder.");
34
34
  const OneDriveSearchItems_FolderSchema = zod.z.object({
35
35
  view: OneDriveSearchItems_FolderViewSchema.nullable().optional(),
36
36
  childCount: zod.z.number().int().describe("Number of children immediately within this container.").nullable().optional()
37
- }).describe("Folder metadata facet.");
37
+ }).passthrough().describe("Folder metadata facet.");
38
38
  const OneDriveSearchItems_SharepointIdsSchema = zod.z.object({
39
39
  webId: zod.z.string().describe("Unique identifier (guid) for the item's site (SPWeb).").nullable().optional(),
40
40
  listId: zod.z.string().describe("Unique identifier (guid) for the item's list in SharePoint.").nullable().optional(),
@@ -43,7 +43,7 @@ const OneDriveSearchItems_SharepointIdsSchema = zod.z.object({
43
43
  tenantId: zod.z.string().describe("Unique identifier (guid) for the tenancy.").nullable().optional(),
44
44
  listItemId: zod.z.string().describe("Integer identifier for the item within the containing list.").nullable().optional(),
45
45
  listItemUniqueId: zod.z.string().describe("Unique identifier (guid) for the item within OneDrive for Business or SharePoint.").nullable().optional()
46
- }).describe("SharePoint identifiers for interoperability.");
46
+ }).passthrough().describe("SharePoint identifiers for interoperability.");
47
47
  const OneDriveSearchItems_ItemReferenceSchema = zod.z.object({
48
48
  id: zod.z.string().describe("Unique identifier of the item in the drive or list.").nullable().optional(),
49
49
  name: zod.z.string().describe("Name of the item being referenced.").nullable().optional(),
@@ -53,7 +53,7 @@ const OneDriveSearchItems_ItemReferenceSchema = zod.z.object({
53
53
  shareId: zod.z.string().describe("Unique identifier for a shared resource.").nullable().optional(),
54
54
  driveType: zod.z.string().describe("Type of drive (e.g., personal, business, documentLibrary).").nullable().optional(),
55
55
  sharepointIds: OneDriveSearchItems_SharepointIdsSchema.nullable().optional()
56
- }).describe("Reference to an item in a drive or list.");
56
+ }).passthrough().describe("Reference to an item in a drive or list.");
57
57
  const OneDriveSearchItems_RemoteItemSchema = zod.z.object({
58
58
  id: zod.z.string().describe("Unique identifier for the remote item in its drive.").nullable().optional(),
59
59
  file: OneDriveSearchItems_FileSchema.nullable().optional(),
@@ -65,8 +65,8 @@ const OneDriveSearchItems_RemoteItemSchema = zod.z.object({
65
65
  createdDateTime: zod.z.string().describe("Date and time of remote item creation.").nullable().optional(),
66
66
  parentReference: OneDriveSearchItems_ItemReferenceSchema.nullable().optional(),
67
67
  lastModifiedDateTime: zod.z.string().describe("Date and time the remote item was last modified.").nullable().optional()
68
- }).describe("Remote item metadata for items shared from another drive.");
69
- const OneDriveSearchItems_SearchResultSchema = zod.z.object({ onClickTelemetryUrl: zod.z.string().describe("Callback URL for recording telemetry when user interacts with this item.").nullable().optional() }).describe("Search result metadata facet.");
68
+ }).passthrough().describe("Remote item metadata for items shared from another drive.");
69
+ const OneDriveSearchItems_SearchResultSchema = zod.z.object({ onClickTelemetryUrl: zod.z.string().describe("Callback URL for recording telemetry when user interacts with this item.").nullable().optional() }).passthrough().describe("Search result metadata facet.");
70
70
  const OneDriveSearchItems_DriveItemSchema = zod.z.object({
71
71
  id: zod.z.string().describe("The unique identifier of the item.").nullable().optional(),
72
72
  file: OneDriveSearchItems_FileSchema.nullable().optional(),
@@ -78,12 +78,12 @@ const OneDriveSearchItems_DriveItemSchema = zod.z.object({
78
78
  searchResult: OneDriveSearchItems_SearchResultSchema.nullable().optional(),
79
79
  createdDateTime: zod.z.string().describe("Date and time of item creation.").nullable().optional(),
80
80
  lastModifiedDateTime: zod.z.string().describe("Date and time of last modification.").nullable().optional()
81
- });
81
+ }).passthrough();
82
82
  const OneDriveSearchItemsOutput = zod.z.object({
83
83
  value: zod.z.array(OneDriveSearchItems_DriveItemSchema).describe("A collection of DriveItems that match the search criteria.").nullable().optional(),
84
84
  "@odata.nextLink": zod.z.string().describe("URL to retrieve the next page of results, if available.").nullable().optional(),
85
85
  composio_execution_message: zod.z.string().describe("Informational message about any input modifications made during execution.").nullable().optional()
86
- });
86
+ }).passthrough();
87
87
  const oneDriveSearchItems = require_action.action("ONE_DRIVE_SEARCH_ITEMS", {
88
88
  slug: "one_drive-search-items",
89
89
  name: "Search Items",
@@ -1 +1 @@
1
- {"version":3,"file":"search-items.cjs","names":["z","action"],"sources":["../../src/actions/search-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveSearchItemsInput = z.object({\n q: z.string().describe(\"The query text used to search for items. Values are matched across filenames, metadata, and file content. This is a simple keyword-based search only - NOT KQL (Keyword Query Language). IMPORTANT: (1) KQL operators like 'folder:', 'file:', 'content:', 'filetype:' are NOT supported by this endpoint and will be treated as literal text search. Use plain keywords instead (e.g., 'shared documents' not 'folder:shared'). (2) Path-based filtering syntax (e.g., 'path:/folder') is NOT supported and will be transformed to a keyword search. (3) Wildcard characters (* and ?) are NOT supported and will be automatically removed - use file extension keywords instead (e.g., 'mp4' instead of '*.mp4'). To search within a specific folder, use ONE_DRIVE_LIST_FOLDER_CHILDREN.\"),\n top: z.number().int().describe(\"The maximum number of items to return in a single page. Default is 200.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationship names to expand and include in the response. For driveItem resources, you can expand relationships like 'children' to get child items, 'thumbnails' to get thumbnail metadata, or 'permissions' to get sharing permissions. For example, use 'children' to include the child items of folders in search results, or 'thumbnails' to include thumbnail URLs. Note: Not all relationships may be expandable in search results. Refer to the Microsoft Graph API documentation for supported expansions.\").optional(),\n select: z.string().describe(\"Comma-separated list of driveItem properties to include in the response. Valid properties include: id, name, webUrl, size, createdDateTime, lastModifiedDateTime, file, folder, parentReference, createdBy, lastModifiedBy, fileSystemInfo, searchResult, remoteItem, etc. Note: @-prefixed annotations (e.g., @microsoft.graph.downloadUrl) are automatically stripped as they are not valid in $select queries for search endpoints.\").optional(),\n orderby: z.string().describe(\"A comma-separated list of properties used to sort the order of the items in the response. Use 'asc' or 'desc' for ascending or descending order, e.g., 'name asc'.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive to search within. If not provided, the user's personal drive (me/drive) will be searched. Use ONE_DRIVE_LIST_DRIVES to get valid drive IDs. Note: Some drive ID formats (e.g., secondary personal drives or special SharePoint IDs) may return 'ObjectHandle is Invalid' errors due to Microsoft Graph API limitations.\").optional(),\n skip_token: z.string().describe(\"A token to retrieve the next page of results, obtained from the @odata.nextLink in a previous response.\").optional(),\n search_scope: z.enum([\"drive\", \"root\"]).default(\"root\").describe(\"Specifies the scope of the search. 'root' searches within the folder hierarchy starting from root (uses /drives/{drive_id}/root/search or /me/drive/root/search). 'drive' broadens the search to include items shared with the current user (uses /drives/{drive_id}/search or /me/drive/search). This parameter is respected both with and without a drive_id.\").optional(),\n stripped_annotations: z.array(z.string()).describe(\"Internal field to track stripped annotations. Not exposed to API.\").optional(),\n transformed_path_query: z.string().describe(\"Internal field to track if path-based query was transformed. Not exposed to API.\").optional(),\n transformed_kql_operator: z.string().describe(\"Internal field to track if a KQL operator was transformed. Not exposed to API.\").optional(),\n transformed_parent_query: z.string().describe(\"Internal field to track if parent: filter was stripped from query. Not exposed to API.\").optional(),\n transformed_wildcard_query: z.string().describe(\"Internal field to track if wildcard characters were removed from query. Not exposed to API.\").optional(),\n});\nconst OneDriveSearchItems_HashesSchema = z.object({\n sha1Hash: z.string().describe(\"SHA1 hash for the file contents (if available).\").nullable().optional(),\n crc32Hash: z.string().describe(\"CRC32 value of the file (if available).\").nullable().optional(),\n sha256Hash: z.string().describe(\"SHA256 hash (if available).\").nullable().optional(),\n quickXorHash: z.string().describe(\"Proprietary hash that can determine if file contents changed (if available).\").nullable().optional(),\n}).describe(\"File hash values for integrity verification.\");\nconst OneDriveSearchItems_FileSchema = z.object({\n hashes: OneDriveSearchItems_HashesSchema.nullable().optional(),\n mimeType: z.string().describe(\"MIME type for the file, determined by server logic.\").nullable().optional(),\n}).describe(\"File metadata facet.\");\nconst OneDriveSearchItems_FolderViewSchema = z.object({\n sortBy: z.string().describe(\"Method by which the folder should be sorted (e.g., name, size, lastModifiedDateTime).\").nullable().optional(),\n viewType: z.string().describe(\"Type of view for the folder (e.g., default, icons, details, thumbnails).\").nullable().optional(),\n sortOrder: z.string().describe(\"Sort order: ascending or descending.\").nullable().optional(),\n}).describe(\"Recommended view settings for a folder.\");\nconst OneDriveSearchItems_FolderSchema = z.object({\n view: OneDriveSearchItems_FolderViewSchema.nullable().optional(),\n childCount: z.number().int().describe(\"Number of children immediately within this container.\").nullable().optional(),\n}).describe(\"Folder metadata facet.\");\nconst OneDriveSearchItems_SharepointIdsSchema = z.object({\n webId: z.string().describe(\"Unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"Unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"Unique identifier (guid) for the item's site collection.\").nullable().optional(),\n siteUrl: z.string().describe(\"SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"Unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"Integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"Unique identifier (guid) for the item within OneDrive for Business or SharePoint.\").nullable().optional(),\n}).describe(\"SharePoint identifiers for interoperability.\");\nconst OneDriveSearchItems_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item in the drive or list.\").nullable().optional(),\n name: z.string().describe(\"Name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site containing the parent document library or list.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the item.\").nullable().optional(),\n shareId: z.string().describe(\"Unique identifier for a shared resource.\").nullable().optional(),\n driveType: z.string().describe(\"Type of drive (e.g., personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveSearchItems_SharepointIdsSchema.nullable().optional(),\n}).describe(\"Reference to an item in a drive or list.\");\nconst OneDriveSearchItems_RemoteItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the remote item in its drive.\").nullable().optional(),\n file: OneDriveSearchItems_FileSchema.nullable().optional(),\n name: z.string().describe(\"Filename of the remote item.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the remote item in bytes.\").nullable().optional(),\n folder: OneDriveSearchItems_FolderSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the remote item in the browser.\").nullable().optional(),\n webDavUrl: z.string().describe(\"WebDAV compatible URL for the remote item.\").nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of remote item creation.\").nullable().optional(),\n parentReference: OneDriveSearchItems_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the remote item was last modified.\").nullable().optional(),\n}).describe(\"Remote item metadata for items shared from another drive.\");\nconst OneDriveSearchItems_SearchResultSchema = z.object({\n onClickTelemetryUrl: z.string().describe(\"Callback URL for recording telemetry when user interacts with this item.\").nullable().optional(),\n}).describe(\"Search result metadata facet.\");\nconst OneDriveSearchItems_DriveItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the item.\").nullable().optional(),\n file: OneDriveSearchItems_FileSchema.nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the item in bytes.\").nullable().optional(),\n folder: OneDriveSearchItems_FolderSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the item in the browser.\").nullable().optional(),\n remoteItem: OneDriveSearchItems_RemoteItemSchema.nullable().optional(),\n searchResult: OneDriveSearchItems_SearchResultSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of item creation.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time of last modification.\").nullable().optional(),\n});\nexport const OneDriveSearchItemsOutput = z.object({\n value: z.array(OneDriveSearchItems_DriveItemSchema).describe(\"A collection of DriveItems that match the search criteria.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of results, if available.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Informational message about any input modifications made during execution.\").nullable().optional(),\n});\n\nexport const oneDriveSearchItems = action(\"ONE_DRIVE_SEARCH_ITEMS\", {\n slug: \"one_drive-search-items\",\n name: \"Search Items\",\n description: \"Search OneDrive for files and folders by keyword. Searches filenames, metadata, and file content to find matching items. Use when you need to find specific files based on keywords, file types, or content. Supports filtering, sorting, and pagination. Results are mixed files and folders — filter client-side using file vs folder properties. Disambiguate similarly named items using parentReference.path, lastModifiedDateTime, and size before passing item IDs downstream. Newly created or recently moved files may not appear due to indexing delays; fall back to ONE_DRIVE_LIST_FOLDER_CHILDREN if expected items are missing. No server-side date filtering — apply lastModifiedDateTime/createdDateTime filtering in your own logic. HTTP 429 responses include a Retry-After header; use exponential backoff.\",\n input: OneDriveSearchItemsInput,\n output: OneDriveSearchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6vBAA6vB;CACpxB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8gBAA8gB,CAAC,CAAC,SAAS;CACrjB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,waAAwa,CAAC,CAAC,SAAS;CAC/c,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC5M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SA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C,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,iCAAiC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,YAAY,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACrE,cAAc,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACzE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"search-items.cjs","names":["z","action"],"sources":["../../src/actions/search-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveSearchItemsInput = z.object({\n q: z.string().describe(\"The query text used to search for items. Values are matched across filenames, metadata, and file content. This is a simple keyword-based search only - NOT KQL (Keyword Query Language). IMPORTANT: (1) KQL operators like 'folder:', 'file:', 'content:', 'filetype:' are NOT supported by this endpoint and will be treated as literal text search. Use plain keywords instead (e.g., 'shared documents' not 'folder:shared'). (2) Path-based filtering syntax (e.g., 'path:/folder') is NOT supported and will be transformed to a keyword search. (3) Wildcard characters (* and ?) are NOT supported and will be automatically removed - use file extension keywords instead (e.g., 'mp4' instead of '*.mp4'). To search within a specific folder, use ONE_DRIVE_LIST_FOLDER_CHILDREN.\"),\n top: z.number().int().describe(\"The maximum number of items to return in a single page. Default is 200.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationship names to expand and include in the response. For driveItem resources, you can expand relationships like 'children' to get child items, 'thumbnails' to get thumbnail metadata, or 'permissions' to get sharing permissions. For example, use 'children' to include the child items of folders in search results, or 'thumbnails' to include thumbnail URLs. Note: Not all relationships may be expandable in search results. Refer to the Microsoft Graph API documentation for supported expansions.\").optional(),\n select: z.string().describe(\"Comma-separated list of driveItem properties to include in the response. Valid properties include: id, name, webUrl, size, createdDateTime, lastModifiedDateTime, file, folder, parentReference, createdBy, lastModifiedBy, fileSystemInfo, searchResult, remoteItem, etc. Note: @-prefixed annotations (e.g., @microsoft.graph.downloadUrl) are automatically stripped as they are not valid in $select queries for search endpoints.\").optional(),\n orderby: z.string().describe(\"A comma-separated list of properties used to sort the order of the items in the response. Use 'asc' or 'desc' for ascending or descending order, e.g., 'name asc'.\").optional(),\n drive_id: z.string().describe(\"The ID of the drive to search within. If not provided, the user's personal drive (me/drive) will be searched. Use ONE_DRIVE_LIST_DRIVES to get valid drive IDs. Note: Some drive ID formats (e.g., secondary personal drives or special SharePoint IDs) may return 'ObjectHandle is Invalid' errors due to Microsoft Graph API limitations.\").optional(),\n skip_token: z.string().describe(\"A token to retrieve the next page of results, obtained from the @odata.nextLink in a previous response.\").optional(),\n search_scope: z.enum([\"drive\", \"root\"]).default(\"root\").describe(\"Specifies the scope of the search. 'root' searches within the folder hierarchy starting from root (uses /drives/{drive_id}/root/search or /me/drive/root/search). 'drive' broadens the search to include items shared with the current user (uses /drives/{drive_id}/search or /me/drive/search). This parameter is respected both with and without a drive_id.\").optional(),\n stripped_annotations: z.array(z.string()).describe(\"Internal field to track stripped annotations. Not exposed to API.\").optional(),\n transformed_path_query: z.string().describe(\"Internal field to track if path-based query was transformed. Not exposed to API.\").optional(),\n transformed_kql_operator: z.string().describe(\"Internal field to track if a KQL operator was transformed. Not exposed to API.\").optional(),\n transformed_parent_query: z.string().describe(\"Internal field to track if parent: filter was stripped from query. Not exposed to API.\").optional(),\n transformed_wildcard_query: z.string().describe(\"Internal field to track if wildcard characters were removed from query. Not exposed to API.\").optional(),\n});\nconst OneDriveSearchItems_HashesSchema = z.object({\n sha1Hash: z.string().describe(\"SHA1 hash for the file contents (if available).\").nullable().optional(),\n crc32Hash: z.string().describe(\"CRC32 value of the file (if available).\").nullable().optional(),\n sha256Hash: z.string().describe(\"SHA256 hash (if available).\").nullable().optional(),\n quickXorHash: z.string().describe(\"Proprietary hash that can determine if file contents changed (if available).\").nullable().optional(),\n}).passthrough().describe(\"File hash values for integrity verification.\");\nconst OneDriveSearchItems_FileSchema = z.object({\n hashes: OneDriveSearchItems_HashesSchema.nullable().optional(),\n mimeType: z.string().describe(\"MIME type for the file, determined by server logic.\").nullable().optional(),\n}).passthrough().describe(\"File metadata facet.\");\nconst OneDriveSearchItems_FolderViewSchema = z.object({\n sortBy: z.string().describe(\"Method by which the folder should be sorted (e.g., name, size, lastModifiedDateTime).\").nullable().optional(),\n viewType: z.string().describe(\"Type of view for the folder (e.g., default, icons, details, thumbnails).\").nullable().optional(),\n sortOrder: z.string().describe(\"Sort order: ascending or descending.\").nullable().optional(),\n}).passthrough().describe(\"Recommended view settings for a folder.\");\nconst OneDriveSearchItems_FolderSchema = z.object({\n view: OneDriveSearchItems_FolderViewSchema.nullable().optional(),\n childCount: z.number().int().describe(\"Number of children immediately within this container.\").nullable().optional(),\n}).passthrough().describe(\"Folder metadata facet.\");\nconst OneDriveSearchItems_SharepointIdsSchema = z.object({\n webId: z.string().describe(\"Unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"Unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"Unique identifier (guid) for the item's site collection.\").nullable().optional(),\n siteUrl: z.string().describe(\"SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"Unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"Integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"Unique identifier (guid) for the item within OneDrive for Business or SharePoint.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint identifiers for interoperability.\");\nconst OneDriveSearchItems_ItemReferenceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the item in the drive or list.\").nullable().optional(),\n name: z.string().describe(\"Name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site containing the parent document library or list.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the item.\").nullable().optional(),\n shareId: z.string().describe(\"Unique identifier for a shared resource.\").nullable().optional(),\n driveType: z.string().describe(\"Type of drive (e.g., personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveSearchItems_SharepointIdsSchema.nullable().optional(),\n}).passthrough().describe(\"Reference to an item in a drive or list.\");\nconst OneDriveSearchItems_RemoteItemSchema = z.object({\n id: z.string().describe(\"Unique identifier for the remote item in its drive.\").nullable().optional(),\n file: OneDriveSearchItems_FileSchema.nullable().optional(),\n name: z.string().describe(\"Filename of the remote item.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the remote item in bytes.\").nullable().optional(),\n folder: OneDriveSearchItems_FolderSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the remote item in the browser.\").nullable().optional(),\n webDavUrl: z.string().describe(\"WebDAV compatible URL for the remote item.\").nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of remote item creation.\").nullable().optional(),\n parentReference: OneDriveSearchItems_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the remote item was last modified.\").nullable().optional(),\n}).passthrough().describe(\"Remote item metadata for items shared from another drive.\");\nconst OneDriveSearchItems_SearchResultSchema = z.object({\n onClickTelemetryUrl: z.string().describe(\"Callback URL for recording telemetry when user interacts with this item.\").nullable().optional(),\n}).passthrough().describe(\"Search result metadata facet.\");\nconst OneDriveSearchItems_DriveItemSchema = z.object({\n id: z.string().describe(\"The unique identifier of the item.\").nullable().optional(),\n file: OneDriveSearchItems_FileSchema.nullable().optional(),\n name: z.string().describe(\"The name of the item.\").nullable().optional(),\n size: z.number().int().describe(\"Size of the item in bytes.\").nullable().optional(),\n folder: OneDriveSearchItems_FolderSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the item in the browser.\").nullable().optional(),\n remoteItem: OneDriveSearchItems_RemoteItemSchema.nullable().optional(),\n searchResult: OneDriveSearchItems_SearchResultSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time of item creation.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time of last modification.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveSearchItemsOutput = z.object({\n value: z.array(OneDriveSearchItems_DriveItemSchema).describe(\"A collection of DriveItems that match the search criteria.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of results, if available.\").nullable().optional(),\n composio_execution_message: z.string().describe(\"Informational message about any input modifications made during execution.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveSearchItems = action(\"ONE_DRIVE_SEARCH_ITEMS\", {\n slug: \"one_drive-search-items\",\n name: \"Search Items\",\n description: \"Search OneDrive for files and folders by keyword. Searches filenames, metadata, and file content to find matching items. Use when you need to find specific files based on keywords, file types, or content. Supports filtering, sorting, and pagination. Results are mixed files and folders — filter client-side using file vs folder properties. Disambiguate similarly named items using parentReference.path, lastModifiedDateTime, and size before passing item IDs downstream. Newly created or recently moved files may not appear due to indexing delays; fall back to ONE_DRIVE_LIST_FOLDER_CHILDREN if expected items are missing. No server-side date filtering — apply lastModifiedDateTime/createdDateTime filtering in your own logic. HTTP 429 responses include a Retry-After header; use exponential backoff.\",\n input: OneDriveSearchItemsInput,\n output: OneDriveSearchItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6vBAA6vB;CACpxB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8gBAA8gB,CAAC,CAAC,SAAS;CACrjB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,waAAwa,CAAC,CAAC,SAAS;CAC/c,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC5M,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6UAA6U,CAAC,CAAC,SAAS;CACtX,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACpJ,cAAcA,IAAAA,EAAE,KAAK,CAAC,SAAS,MAAM,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iWAAiW,CAAC,CAAC,SAAS;CAC7a,sBAAsBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CACjI,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CACzI,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACzI,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,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AC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpJ,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -28,9 +28,9 @@ declare const OneDriveSearchItemsOutput: z.ZodObject<{
28
28
  crc32Hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  sha256Hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  quickXorHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>;
31
+ }, z.core.$loose>>>;
32
32
  mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>>>;
33
+ }, z.core.$loose>>>;
34
34
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  folder: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -38,9 +38,9 @@ declare const OneDriveSearchItemsOutput: z.ZodObject<{
38
38
  sortBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39
39
  viewType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  sortOrder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
- }, z.core.$strip>>>;
41
+ }, z.core.$loose>>>;
42
42
  childCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
43
- }, z.core.$strip>>>;
43
+ }, z.core.$loose>>>;
44
44
  webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  remoteItem: z.ZodOptional<z.ZodNullable<z.ZodObject<{
46
46
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -50,9 +50,9 @@ declare const OneDriveSearchItemsOutput: z.ZodObject<{
50
50
  crc32Hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  sha256Hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
52
  quickXorHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
53
- }, z.core.$strip>>>;
53
+ }, z.core.$loose>>>;
54
54
  mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
55
- }, z.core.$strip>>>;
55
+ }, z.core.$loose>>>;
56
56
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
58
58
  folder: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -60,9 +60,9 @@ declare const OneDriveSearchItemsOutput: z.ZodObject<{
60
60
  sortBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
61
61
  viewType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  sortOrder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
- }, z.core.$strip>>>;
63
+ }, z.core.$loose>>>;
64
64
  childCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
65
- }, z.core.$strip>>>;
65
+ }, z.core.$loose>>>;
66
66
  webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
67
  webDavUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
68
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -82,19 +82,19 @@ declare const OneDriveSearchItemsOutput: z.ZodObject<{
82
82
  tenantId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
83
  listItemId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
84
  listItemUniqueId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
85
- }, z.core.$strip>>>;
86
- }, z.core.$strip>>>;
85
+ }, z.core.$loose>>>;
86
+ }, z.core.$loose>>>;
87
87
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- }, z.core.$strip>>>;
88
+ }, z.core.$loose>>>;
89
89
  searchResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
90
90
  onClickTelemetryUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
91
- }, z.core.$strip>>>;
91
+ }, z.core.$loose>>>;
92
92
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
93
93
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
94
- }, z.core.$strip>>>>;
94
+ }, z.core.$loose>>>>;
95
95
  "@odata.nextLink": z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
96
  composio_execution_message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
- }, z.core.$strip>;
97
+ }, z.core.$loose>;
98
98
  declare const oneDriveSearchItems: import("@keystrokehq/action").WorkflowActionDefinition<{
99
99
  q: string;
100
100
  top?: number | undefined;