@keystrokehq/one_drive 0.1.0

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 (682) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-workbook-worksheet.cjs +26 -0
  7. package/dist/actions/add-workbook-worksheet.cjs.map +1 -0
  8. package/dist/actions/add-workbook-worksheet.d.cts +9 -0
  9. package/dist/actions/add-workbook-worksheet.d.cts.map +1 -0
  10. package/dist/actions/add-workbook-worksheet.d.mts +9 -0
  11. package/dist/actions/add-workbook-worksheet.d.mts.map +1 -0
  12. package/dist/actions/add-workbook-worksheet.mjs +23 -0
  13. package/dist/actions/add-workbook-worksheet.mjs.map +1 -0
  14. package/dist/actions/checkin-item.cjs +21 -0
  15. package/dist/actions/checkin-item.cjs.map +1 -0
  16. package/dist/actions/checkin-item.d.cts +9 -0
  17. package/dist/actions/checkin-item.d.cts.map +1 -0
  18. package/dist/actions/checkin-item.d.mts +9 -0
  19. package/dist/actions/checkin-item.d.mts.map +1 -0
  20. package/dist/actions/checkin-item.mjs +18 -0
  21. package/dist/actions/checkin-item.mjs.map +1 -0
  22. package/dist/actions/checkout-item.cjs +19 -0
  23. package/dist/actions/checkout-item.cjs.map +1 -0
  24. package/dist/actions/checkout-item.d.cts +9 -0
  25. package/dist/actions/checkout-item.d.cts.map +1 -0
  26. package/dist/actions/checkout-item.d.mts +9 -0
  27. package/dist/actions/checkout-item.d.mts.map +1 -0
  28. package/dist/actions/checkout-item.mjs +16 -0
  29. package/dist/actions/checkout-item.mjs.map +1 -0
  30. package/dist/actions/clear-workbook-range.cjs +27 -0
  31. package/dist/actions/clear-workbook-range.cjs.map +1 -0
  32. package/dist/actions/clear-workbook-range.d.cts +9 -0
  33. package/dist/actions/clear-workbook-range.d.cts.map +1 -0
  34. package/dist/actions/clear-workbook-range.d.mts +9 -0
  35. package/dist/actions/clear-workbook-range.d.mts.map +1 -0
  36. package/dist/actions/clear-workbook-range.mjs +24 -0
  37. package/dist/actions/clear-workbook-range.mjs.map +1 -0
  38. package/dist/actions/copy-item.cjs +41 -0
  39. package/dist/actions/copy-item.cjs.map +1 -0
  40. package/dist/actions/copy-item.d.cts +9 -0
  41. package/dist/actions/copy-item.d.cts.map +1 -0
  42. package/dist/actions/copy-item.d.mts +9 -0
  43. package/dist/actions/copy-item.d.mts.map +1 -0
  44. package/dist/actions/copy-item.mjs +38 -0
  45. package/dist/actions/copy-item.mjs.map +1 -0
  46. package/dist/actions/create-item-permission.cjs +50 -0
  47. package/dist/actions/create-item-permission.cjs.map +1 -0
  48. package/dist/actions/create-item-permission.d.cts +9 -0
  49. package/dist/actions/create-item-permission.d.cts.map +1 -0
  50. package/dist/actions/create-item-permission.d.mts +9 -0
  51. package/dist/actions/create-item-permission.d.mts.map +1 -0
  52. package/dist/actions/create-item-permission.mjs +49 -0
  53. package/dist/actions/create-item-permission.mjs.map +1 -0
  54. package/dist/actions/create-link.cjs +50 -0
  55. package/dist/actions/create-link.cjs.map +1 -0
  56. package/dist/actions/create-link.d.cts +9 -0
  57. package/dist/actions/create-link.d.cts.map +1 -0
  58. package/dist/actions/create-link.d.mts +9 -0
  59. package/dist/actions/create-link.d.mts.map +1 -0
  60. package/dist/actions/create-link.mjs +49 -0
  61. package/dist/actions/create-link.mjs.map +1 -0
  62. package/dist/actions/create-sharepoint-list-item.cjs +26 -0
  63. package/dist/actions/create-sharepoint-list-item.cjs.map +1 -0
  64. package/dist/actions/create-sharepoint-list-item.d.cts +9 -0
  65. package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -0
  66. package/dist/actions/create-sharepoint-list-item.d.mts +9 -0
  67. package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -0
  68. package/dist/actions/create-sharepoint-list-item.mjs +23 -0
  69. package/dist/actions/create-sharepoint-list-item.mjs.map +1 -0
  70. package/dist/actions/delete-item-permanently.cjs +19 -0
  71. package/dist/actions/delete-item-permanently.cjs.map +1 -0
  72. package/dist/actions/delete-item-permanently.d.cts +9 -0
  73. package/dist/actions/delete-item-permanently.d.cts.map +1 -0
  74. package/dist/actions/delete-item-permanently.d.mts +9 -0
  75. package/dist/actions/delete-item-permanently.d.mts.map +1 -0
  76. package/dist/actions/delete-item-permanently.mjs +16 -0
  77. package/dist/actions/delete-item-permanently.mjs.map +1 -0
  78. package/dist/actions/delete-item-permission.cjs +23 -0
  79. package/dist/actions/delete-item-permission.cjs.map +1 -0
  80. package/dist/actions/delete-item-permission.d.cts +9 -0
  81. package/dist/actions/delete-item-permission.d.cts.map +1 -0
  82. package/dist/actions/delete-item-permission.d.mts +9 -0
  83. package/dist/actions/delete-item-permission.d.mts.map +1 -0
  84. package/dist/actions/delete-item-permission.mjs +20 -0
  85. package/dist/actions/delete-item-permission.mjs.map +1 -0
  86. package/dist/actions/delete-item.cjs +21 -0
  87. package/dist/actions/delete-item.cjs.map +1 -0
  88. package/dist/actions/delete-item.d.cts +9 -0
  89. package/dist/actions/delete-item.d.cts.map +1 -0
  90. package/dist/actions/delete-item.d.mts +9 -0
  91. package/dist/actions/delete-item.d.mts.map +1 -0
  92. package/dist/actions/delete-item.mjs +18 -0
  93. package/dist/actions/delete-item.mjs.map +1 -0
  94. package/dist/actions/delete-share-permission.cjs +16 -0
  95. package/dist/actions/delete-share-permission.cjs.map +1 -0
  96. package/dist/actions/delete-share-permission.d.cts +9 -0
  97. package/dist/actions/delete-share-permission.d.cts.map +1 -0
  98. package/dist/actions/delete-share-permission.d.mts +9 -0
  99. package/dist/actions/delete-share-permission.d.mts.map +1 -0
  100. package/dist/actions/delete-share-permission.mjs +13 -0
  101. package/dist/actions/delete-share-permission.mjs.map +1 -0
  102. package/dist/actions/delete-sharepoint-item-permission.cjs +25 -0
  103. package/dist/actions/delete-sharepoint-item-permission.cjs.map +1 -0
  104. package/dist/actions/delete-sharepoint-item-permission.d.cts +9 -0
  105. package/dist/actions/delete-sharepoint-item-permission.d.cts.map +1 -0
  106. package/dist/actions/delete-sharepoint-item-permission.d.mts +9 -0
  107. package/dist/actions/delete-sharepoint-item-permission.d.mts.map +1 -0
  108. package/dist/actions/delete-sharepoint-item-permission.mjs +22 -0
  109. package/dist/actions/delete-sharepoint-item-permission.mjs.map +1 -0
  110. package/dist/actions/delete-workbook-range.cjs +22 -0
  111. package/dist/actions/delete-workbook-range.cjs.map +1 -0
  112. package/dist/actions/delete-workbook-range.d.cts +9 -0
  113. package/dist/actions/delete-workbook-range.d.cts.map +1 -0
  114. package/dist/actions/delete-workbook-range.d.mts +9 -0
  115. package/dist/actions/delete-workbook-range.d.mts.map +1 -0
  116. package/dist/actions/delete-workbook-range.mjs +19 -0
  117. package/dist/actions/delete-workbook-range.mjs.map +1 -0
  118. package/dist/actions/delete-workbook-worksheet.cjs +24 -0
  119. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -0
  120. package/dist/actions/delete-workbook-worksheet.d.cts +9 -0
  121. package/dist/actions/delete-workbook-worksheet.d.cts.map +1 -0
  122. package/dist/actions/delete-workbook-worksheet.d.mts +9 -0
  123. package/dist/actions/delete-workbook-worksheet.d.mts.map +1 -0
  124. package/dist/actions/delete-workbook-worksheet.mjs +21 -0
  125. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -0
  126. package/dist/actions/discard-checkout.cjs +19 -0
  127. package/dist/actions/discard-checkout.cjs.map +1 -0
  128. package/dist/actions/discard-checkout.d.cts +9 -0
  129. package/dist/actions/discard-checkout.d.cts.map +1 -0
  130. package/dist/actions/discard-checkout.d.mts +9 -0
  131. package/dist/actions/discard-checkout.d.mts.map +1 -0
  132. package/dist/actions/discard-checkout.mjs +16 -0
  133. package/dist/actions/discard-checkout.mjs.map +1 -0
  134. package/dist/actions/download-file-by-path.cjs +25 -0
  135. package/dist/actions/download-file-by-path.cjs.map +1 -0
  136. package/dist/actions/download-file-by-path.d.cts +9 -0
  137. package/dist/actions/download-file-by-path.d.cts.map +1 -0
  138. package/dist/actions/download-file-by-path.d.mts +9 -0
  139. package/dist/actions/download-file-by-path.d.mts.map +1 -0
  140. package/dist/actions/download-file-by-path.mjs +24 -0
  141. package/dist/actions/download-file-by-path.mjs.map +1 -0
  142. package/dist/actions/download-file.cjs +28 -0
  143. package/dist/actions/download-file.cjs.map +1 -0
  144. package/dist/actions/download-file.d.cts +9 -0
  145. package/dist/actions/download-file.d.cts.map +1 -0
  146. package/dist/actions/download-file.d.mts +9 -0
  147. package/dist/actions/download-file.d.mts.map +1 -0
  148. package/dist/actions/download-file.mjs +27 -0
  149. package/dist/actions/download-file.mjs.map +1 -0
  150. package/dist/actions/download-item-as-format.cjs +28 -0
  151. package/dist/actions/download-item-as-format.cjs.map +1 -0
  152. package/dist/actions/download-item-as-format.d.cts +9 -0
  153. package/dist/actions/download-item-as-format.d.cts.map +1 -0
  154. package/dist/actions/download-item-as-format.d.mts +9 -0
  155. package/dist/actions/download-item-as-format.d.mts.map +1 -0
  156. package/dist/actions/download-item-as-format.mjs +27 -0
  157. package/dist/actions/download-item-as-format.mjs.map +1 -0
  158. package/dist/actions/download-item-version.cjs +26 -0
  159. package/dist/actions/download-item-version.cjs.map +1 -0
  160. package/dist/actions/download-item-version.d.cts +9 -0
  161. package/dist/actions/download-item-version.d.cts.map +1 -0
  162. package/dist/actions/download-item-version.d.mts +9 -0
  163. package/dist/actions/download-item-version.d.mts.map +1 -0
  164. package/dist/actions/download-item-version.mjs +25 -0
  165. package/dist/actions/download-item-version.mjs.map +1 -0
  166. package/dist/actions/follow-item.cjs +33 -0
  167. package/dist/actions/follow-item.cjs.map +1 -0
  168. package/dist/actions/follow-item.d.cts +9 -0
  169. package/dist/actions/follow-item.d.cts.map +1 -0
  170. package/dist/actions/follow-item.d.mts +9 -0
  171. package/dist/actions/follow-item.d.mts.map +1 -0
  172. package/dist/actions/follow-item.mjs +30 -0
  173. package/dist/actions/follow-item.mjs.map +1 -0
  174. package/dist/actions/get-document-comments.cjs +33 -0
  175. package/dist/actions/get-document-comments.cjs.map +1 -0
  176. package/dist/actions/get-document-comments.d.cts +9 -0
  177. package/dist/actions/get-document-comments.d.cts.map +1 -0
  178. package/dist/actions/get-document-comments.d.mts +9 -0
  179. package/dist/actions/get-document-comments.d.mts.map +1 -0
  180. package/dist/actions/get-document-comments.mjs +32 -0
  181. package/dist/actions/get-document-comments.mjs.map +1 -0
  182. package/dist/actions/get-drive-item-by-sharing-url.cjs +47 -0
  183. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -0
  184. package/dist/actions/get-drive-item-by-sharing-url.d.cts +9 -0
  185. package/dist/actions/get-drive-item-by-sharing-url.d.cts.map +1 -0
  186. package/dist/actions/get-drive-item-by-sharing-url.d.mts +9 -0
  187. package/dist/actions/get-drive-item-by-sharing-url.d.mts.map +1 -0
  188. package/dist/actions/get-drive-item-by-sharing-url.mjs +46 -0
  189. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -0
  190. package/dist/actions/get-drive.cjs +66 -0
  191. package/dist/actions/get-drive.cjs.map +1 -0
  192. package/dist/actions/get-drive.d.cts +9 -0
  193. package/dist/actions/get-drive.d.cts.map +1 -0
  194. package/dist/actions/get-drive.d.mts +9 -0
  195. package/dist/actions/get-drive.d.mts.map +1 -0
  196. package/dist/actions/get-drive.mjs +65 -0
  197. package/dist/actions/get-drive.mjs.map +1 -0
  198. package/dist/actions/get-followed-item.cjs +48 -0
  199. package/dist/actions/get-followed-item.cjs.map +1 -0
  200. package/dist/actions/get-followed-item.d.cts +9 -0
  201. package/dist/actions/get-followed-item.d.cts.map +1 -0
  202. package/dist/actions/get-followed-item.d.mts +9 -0
  203. package/dist/actions/get-followed-item.d.mts.map +1 -0
  204. package/dist/actions/get-followed-item.mjs +47 -0
  205. package/dist/actions/get-followed-item.mjs.map +1 -0
  206. package/dist/actions/get-group-drive.cjs +65 -0
  207. package/dist/actions/get-group-drive.cjs.map +1 -0
  208. package/dist/actions/get-group-drive.d.cts +9 -0
  209. package/dist/actions/get-group-drive.d.cts.map +1 -0
  210. package/dist/actions/get-group-drive.d.mts +9 -0
  211. package/dist/actions/get-group-drive.d.mts.map +1 -0
  212. package/dist/actions/get-group-drive.mjs +64 -0
  213. package/dist/actions/get-group-drive.mjs.map +1 -0
  214. package/dist/actions/get-item-permissions.cjs +67 -0
  215. package/dist/actions/get-item-permissions.cjs.map +1 -0
  216. package/dist/actions/get-item-permissions.d.cts +9 -0
  217. package/dist/actions/get-item-permissions.d.cts.map +1 -0
  218. package/dist/actions/get-item-permissions.d.mts +9 -0
  219. package/dist/actions/get-item-permissions.d.mts.map +1 -0
  220. package/dist/actions/get-item-permissions.mjs +66 -0
  221. package/dist/actions/get-item-permissions.mjs.map +1 -0
  222. package/dist/actions/get-item-thumbnails.cjs +36 -0
  223. package/dist/actions/get-item-thumbnails.cjs.map +1 -0
  224. package/dist/actions/get-item-thumbnails.d.cts +9 -0
  225. package/dist/actions/get-item-thumbnails.d.cts.map +1 -0
  226. package/dist/actions/get-item-thumbnails.d.mts +9 -0
  227. package/dist/actions/get-item-thumbnails.d.mts.map +1 -0
  228. package/dist/actions/get-item-thumbnails.mjs +35 -0
  229. package/dist/actions/get-item-thumbnails.mjs.map +1 -0
  230. package/dist/actions/get-item-versions.cjs +45 -0
  231. package/dist/actions/get-item-versions.cjs.map +1 -0
  232. package/dist/actions/get-item-versions.d.cts +9 -0
  233. package/dist/actions/get-item-versions.d.cts.map +1 -0
  234. package/dist/actions/get-item-versions.d.mts +9 -0
  235. package/dist/actions/get-item-versions.d.mts.map +1 -0
  236. package/dist/actions/get-item-versions.mjs +44 -0
  237. package/dist/actions/get-item-versions.mjs.map +1 -0
  238. package/dist/actions/get-item.cjs +83 -0
  239. package/dist/actions/get-item.cjs.map +1 -0
  240. package/dist/actions/get-item.d.cts +9 -0
  241. package/dist/actions/get-item.d.cts.map +1 -0
  242. package/dist/actions/get-item.d.mts +9 -0
  243. package/dist/actions/get-item.d.mts.map +1 -0
  244. package/dist/actions/get-item.mjs +82 -0
  245. package/dist/actions/get-item.mjs.map +1 -0
  246. package/dist/actions/get-recent-items.cjs +47 -0
  247. package/dist/actions/get-recent-items.cjs.map +1 -0
  248. package/dist/actions/get-recent-items.d.cts +9 -0
  249. package/dist/actions/get-recent-items.d.cts.map +1 -0
  250. package/dist/actions/get-recent-items.d.mts +9 -0
  251. package/dist/actions/get-recent-items.d.mts.map +1 -0
  252. package/dist/actions/get-recent-items.mjs +46 -0
  253. package/dist/actions/get-recent-items.mjs.map +1 -0
  254. package/dist/actions/get-root.cjs +64 -0
  255. package/dist/actions/get-root.cjs.map +1 -0
  256. package/dist/actions/get-root.d.cts +9 -0
  257. package/dist/actions/get-root.d.cts.map +1 -0
  258. package/dist/actions/get-root.d.mts +9 -0
  259. package/dist/actions/get-root.d.mts.map +1 -0
  260. package/dist/actions/get-root.mjs +63 -0
  261. package/dist/actions/get-root.mjs.map +1 -0
  262. package/dist/actions/get-share.cjs +32 -0
  263. package/dist/actions/get-share.cjs.map +1 -0
  264. package/dist/actions/get-share.d.cts +9 -0
  265. package/dist/actions/get-share.d.cts.map +1 -0
  266. package/dist/actions/get-share.d.mts +9 -0
  267. package/dist/actions/get-share.d.mts.map +1 -0
  268. package/dist/actions/get-share.mjs +31 -0
  269. package/dist/actions/get-share.mjs.map +1 -0
  270. package/dist/actions/get-shared-items.cjs +27 -0
  271. package/dist/actions/get-shared-items.cjs.map +1 -0
  272. package/dist/actions/get-shared-items.d.cts +9 -0
  273. package/dist/actions/get-shared-items.d.cts.map +1 -0
  274. package/dist/actions/get-shared-items.d.mts +9 -0
  275. package/dist/actions/get-shared-items.d.mts.map +1 -0
  276. package/dist/actions/get-shared-items.mjs +26 -0
  277. package/dist/actions/get-shared-items.mjs.map +1 -0
  278. package/dist/actions/get-sharepoint-list-items.cjs +34 -0
  279. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -0
  280. package/dist/actions/get-sharepoint-list-items.d.cts +9 -0
  281. package/dist/actions/get-sharepoint-list-items.d.cts.map +1 -0
  282. package/dist/actions/get-sharepoint-list-items.d.mts +9 -0
  283. package/dist/actions/get-sharepoint-list-items.d.mts.map +1 -0
  284. package/dist/actions/get-sharepoint-list-items.mjs +33 -0
  285. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -0
  286. package/dist/actions/get-site-page-content.cjs +81 -0
  287. package/dist/actions/get-site-page-content.cjs.map +1 -0
  288. package/dist/actions/get-site-page-content.d.cts +9 -0
  289. package/dist/actions/get-site-page-content.d.cts.map +1 -0
  290. package/dist/actions/get-site-page-content.d.mts +9 -0
  291. package/dist/actions/get-site-page-content.d.mts.map +1 -0
  292. package/dist/actions/get-site-page-content.mjs +80 -0
  293. package/dist/actions/get-site-page-content.mjs.map +1 -0
  294. package/dist/actions/get-site.cjs +33 -0
  295. package/dist/actions/get-site.cjs.map +1 -0
  296. package/dist/actions/get-site.d.cts +9 -0
  297. package/dist/actions/get-site.d.cts.map +1 -0
  298. package/dist/actions/get-site.d.mts +9 -0
  299. package/dist/actions/get-site.d.mts.map +1 -0
  300. package/dist/actions/get-site.mjs +30 -0
  301. package/dist/actions/get-site.mjs.map +1 -0
  302. package/dist/actions/get-special-folder.cjs +68 -0
  303. package/dist/actions/get-special-folder.cjs.map +1 -0
  304. package/dist/actions/get-special-folder.d.cts +9 -0
  305. package/dist/actions/get-special-folder.d.cts.map +1 -0
  306. package/dist/actions/get-special-folder.d.mts +9 -0
  307. package/dist/actions/get-special-folder.d.mts.map +1 -0
  308. package/dist/actions/get-special-folder.mjs +67 -0
  309. package/dist/actions/get-special-folder.mjs.map +1 -0
  310. package/dist/actions/get-user.cjs +43 -0
  311. package/dist/actions/get-user.cjs.map +1 -0
  312. package/dist/actions/get-user.d.cts +9 -0
  313. package/dist/actions/get-user.d.cts.map +1 -0
  314. package/dist/actions/get-user.d.mts +9 -0
  315. package/dist/actions/get-user.d.mts.map +1 -0
  316. package/dist/actions/get-user.mjs +40 -0
  317. package/dist/actions/get-user.mjs.map +1 -0
  318. package/dist/actions/get-workbook-used-range.cjs +70 -0
  319. package/dist/actions/get-workbook-used-range.cjs.map +1 -0
  320. package/dist/actions/get-workbook-used-range.d.cts +9 -0
  321. package/dist/actions/get-workbook-used-range.d.cts.map +1 -0
  322. package/dist/actions/get-workbook-used-range.d.mts +9 -0
  323. package/dist/actions/get-workbook-used-range.d.mts.map +1 -0
  324. package/dist/actions/get-workbook-used-range.mjs +67 -0
  325. package/dist/actions/get-workbook-used-range.mjs.map +1 -0
  326. package/dist/actions/get-workbook-worksheet.cjs +27 -0
  327. package/dist/actions/get-workbook-worksheet.cjs.map +1 -0
  328. package/dist/actions/get-workbook-worksheet.d.cts +9 -0
  329. package/dist/actions/get-workbook-worksheet.d.cts.map +1 -0
  330. package/dist/actions/get-workbook-worksheet.d.mts +9 -0
  331. package/dist/actions/get-workbook-worksheet.d.mts.map +1 -0
  332. package/dist/actions/get-workbook-worksheet.mjs +24 -0
  333. package/dist/actions/get-workbook-worksheet.mjs.map +1 -0
  334. package/dist/actions/grant-share-permission.cjs +30 -0
  335. package/dist/actions/grant-share-permission.cjs.map +1 -0
  336. package/dist/actions/grant-share-permission.d.cts +9 -0
  337. package/dist/actions/grant-share-permission.d.cts.map +1 -0
  338. package/dist/actions/grant-share-permission.d.mts +9 -0
  339. package/dist/actions/grant-share-permission.d.mts.map +1 -0
  340. package/dist/actions/grant-share-permission.mjs +29 -0
  341. package/dist/actions/grant-share-permission.mjs.map +1 -0
  342. package/dist/actions/grant-sharepoint-item-permission.cjs +25 -0
  343. package/dist/actions/grant-sharepoint-item-permission.cjs.map +1 -0
  344. package/dist/actions/grant-sharepoint-item-permission.d.cts +9 -0
  345. package/dist/actions/grant-sharepoint-item-permission.d.cts.map +1 -0
  346. package/dist/actions/grant-sharepoint-item-permission.d.mts +9 -0
  347. package/dist/actions/grant-sharepoint-item-permission.d.mts.map +1 -0
  348. package/dist/actions/grant-sharepoint-item-permission.mjs +22 -0
  349. package/dist/actions/grant-sharepoint-item-permission.mjs.map +1 -0
  350. package/dist/actions/index.cjs +163 -0
  351. package/dist/actions/index.d.cts +82 -0
  352. package/dist/actions/index.d.mts +82 -0
  353. package/dist/actions/index.mjs +82 -0
  354. package/dist/actions/invite-user-to-item.cjs +59 -0
  355. package/dist/actions/invite-user-to-item.cjs.map +1 -0
  356. package/dist/actions/invite-user-to-item.d.cts +9 -0
  357. package/dist/actions/invite-user-to-item.d.cts.map +1 -0
  358. package/dist/actions/invite-user-to-item.d.mts +9 -0
  359. package/dist/actions/invite-user-to-item.d.mts.map +1 -0
  360. package/dist/actions/invite-user-to-item.mjs +58 -0
  361. package/dist/actions/invite-user-to-item.mjs.map +1 -0
  362. package/dist/actions/list-activities.cjs +112 -0
  363. package/dist/actions/list-activities.cjs.map +1 -0
  364. package/dist/actions/list-activities.d.cts +9 -0
  365. package/dist/actions/list-activities.d.cts.map +1 -0
  366. package/dist/actions/list-activities.d.mts +9 -0
  367. package/dist/actions/list-activities.d.mts.map +1 -0
  368. package/dist/actions/list-activities.mjs +111 -0
  369. package/dist/actions/list-activities.mjs.map +1 -0
  370. package/dist/actions/list-all-drive-items.cjs +191 -0
  371. package/dist/actions/list-all-drive-items.cjs.map +1 -0
  372. package/dist/actions/list-all-drive-items.d.cts +9 -0
  373. package/dist/actions/list-all-drive-items.d.cts.map +1 -0
  374. package/dist/actions/list-all-drive-items.d.mts +9 -0
  375. package/dist/actions/list-all-drive-items.d.mts.map +1 -0
  376. package/dist/actions/list-all-drive-items.mjs +190 -0
  377. package/dist/actions/list-all-drive-items.mjs.map +1 -0
  378. package/dist/actions/list-bundles.cjs +59 -0
  379. package/dist/actions/list-bundles.cjs.map +1 -0
  380. package/dist/actions/list-bundles.d.cts +9 -0
  381. package/dist/actions/list-bundles.d.cts.map +1 -0
  382. package/dist/actions/list-bundles.d.mts +9 -0
  383. package/dist/actions/list-bundles.d.mts.map +1 -0
  384. package/dist/actions/list-bundles.mjs +58 -0
  385. package/dist/actions/list-bundles.mjs.map +1 -0
  386. package/dist/actions/list-drives.cjs +54 -0
  387. package/dist/actions/list-drives.cjs.map +1 -0
  388. package/dist/actions/list-drives.d.cts +9 -0
  389. package/dist/actions/list-drives.d.cts.map +1 -0
  390. package/dist/actions/list-drives.d.mts +9 -0
  391. package/dist/actions/list-drives.d.mts.map +1 -0
  392. package/dist/actions/list-drives.mjs +53 -0
  393. package/dist/actions/list-drives.mjs.map +1 -0
  394. package/dist/actions/list-folder-children.cjs +197 -0
  395. package/dist/actions/list-folder-children.cjs.map +1 -0
  396. package/dist/actions/list-folder-children.d.cts +9 -0
  397. package/dist/actions/list-folder-children.d.cts.map +1 -0
  398. package/dist/actions/list-folder-children.d.mts +9 -0
  399. package/dist/actions/list-folder-children.d.mts.map +1 -0
  400. package/dist/actions/list-folder-children.mjs +196 -0
  401. package/dist/actions/list-folder-children.mjs.map +1 -0
  402. package/dist/actions/list-item-activities.cjs +37 -0
  403. package/dist/actions/list-item-activities.cjs.map +1 -0
  404. package/dist/actions/list-item-activities.d.cts +9 -0
  405. package/dist/actions/list-item-activities.d.cts.map +1 -0
  406. package/dist/actions/list-item-activities.d.mts +9 -0
  407. package/dist/actions/list-item-activities.d.mts.map +1 -0
  408. package/dist/actions/list-item-activities.mjs +36 -0
  409. package/dist/actions/list-item-activities.mjs.map +1 -0
  410. package/dist/actions/list-root-drive-changes.cjs +53 -0
  411. package/dist/actions/list-root-drive-changes.cjs.map +1 -0
  412. package/dist/actions/list-root-drive-changes.d.cts +9 -0
  413. package/dist/actions/list-root-drive-changes.d.cts.map +1 -0
  414. package/dist/actions/list-root-drive-changes.d.mts +9 -0
  415. package/dist/actions/list-root-drive-changes.d.mts.map +1 -0
  416. package/dist/actions/list-root-drive-changes.mjs +52 -0
  417. package/dist/actions/list-root-drive-changes.mjs.map +1 -0
  418. package/dist/actions/list-share-permissions.cjs +28 -0
  419. package/dist/actions/list-share-permissions.cjs.map +1 -0
  420. package/dist/actions/list-share-permissions.d.cts +9 -0
  421. package/dist/actions/list-share-permissions.d.cts.map +1 -0
  422. package/dist/actions/list-share-permissions.d.mts +9 -0
  423. package/dist/actions/list-share-permissions.d.mts.map +1 -0
  424. package/dist/actions/list-share-permissions.mjs +27 -0
  425. package/dist/actions/list-share-permissions.mjs.map +1 -0
  426. package/dist/actions/list-sharepoint-item-permissions.cjs +26 -0
  427. package/dist/actions/list-sharepoint-item-permissions.cjs.map +1 -0
  428. package/dist/actions/list-sharepoint-item-permissions.d.cts +9 -0
  429. package/dist/actions/list-sharepoint-item-permissions.d.cts.map +1 -0
  430. package/dist/actions/list-sharepoint-item-permissions.d.mts +9 -0
  431. package/dist/actions/list-sharepoint-item-permissions.d.mts.map +1 -0
  432. package/dist/actions/list-sharepoint-item-permissions.mjs +23 -0
  433. package/dist/actions/list-sharepoint-item-permissions.mjs.map +1 -0
  434. package/dist/actions/list-sharepoint-list-items-delta.cjs +37 -0
  435. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -0
  436. package/dist/actions/list-sharepoint-list-items-delta.d.cts +9 -0
  437. package/dist/actions/list-sharepoint-list-items-delta.d.cts.map +1 -0
  438. package/dist/actions/list-sharepoint-list-items-delta.d.mts +9 -0
  439. package/dist/actions/list-sharepoint-list-items-delta.d.mts.map +1 -0
  440. package/dist/actions/list-sharepoint-list-items-delta.mjs +36 -0
  441. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -0
  442. package/dist/actions/list-site-columns.cjs +51 -0
  443. package/dist/actions/list-site-columns.cjs.map +1 -0
  444. package/dist/actions/list-site-columns.d.cts +9 -0
  445. package/dist/actions/list-site-columns.d.cts.map +1 -0
  446. package/dist/actions/list-site-columns.d.mts +9 -0
  447. package/dist/actions/list-site-columns.d.mts.map +1 -0
  448. package/dist/actions/list-site-columns.mjs +50 -0
  449. package/dist/actions/list-site-columns.mjs.map +1 -0
  450. package/dist/actions/list-site-items-delta.cjs +33 -0
  451. package/dist/actions/list-site-items-delta.cjs.map +1 -0
  452. package/dist/actions/list-site-items-delta.d.cts +9 -0
  453. package/dist/actions/list-site-items-delta.d.cts.map +1 -0
  454. package/dist/actions/list-site-items-delta.d.mts +9 -0
  455. package/dist/actions/list-site-items-delta.d.mts.map +1 -0
  456. package/dist/actions/list-site-items-delta.mjs +32 -0
  457. package/dist/actions/list-site-items-delta.mjs.map +1 -0
  458. package/dist/actions/list-site-lists.cjs +74 -0
  459. package/dist/actions/list-site-lists.cjs.map +1 -0
  460. package/dist/actions/list-site-lists.d.cts +9 -0
  461. package/dist/actions/list-site-lists.d.cts.map +1 -0
  462. package/dist/actions/list-site-lists.d.mts +9 -0
  463. package/dist/actions/list-site-lists.d.mts.map +1 -0
  464. package/dist/actions/list-site-lists.mjs +73 -0
  465. package/dist/actions/list-site-lists.mjs.map +1 -0
  466. package/dist/actions/list-site-subsites.cjs +35 -0
  467. package/dist/actions/list-site-subsites.cjs.map +1 -0
  468. package/dist/actions/list-site-subsites.d.cts +9 -0
  469. package/dist/actions/list-site-subsites.d.cts.map +1 -0
  470. package/dist/actions/list-site-subsites.d.mts +9 -0
  471. package/dist/actions/list-site-subsites.d.mts.map +1 -0
  472. package/dist/actions/list-site-subsites.mjs +34 -0
  473. package/dist/actions/list-site-subsites.mjs.map +1 -0
  474. package/dist/actions/list-subscriptions.cjs +37 -0
  475. package/dist/actions/list-subscriptions.cjs.map +1 -0
  476. package/dist/actions/list-subscriptions.d.cts +9 -0
  477. package/dist/actions/list-subscriptions.d.cts.map +1 -0
  478. package/dist/actions/list-subscriptions.d.mts +9 -0
  479. package/dist/actions/list-subscriptions.d.mts.map +1 -0
  480. package/dist/actions/list-subscriptions.mjs +36 -0
  481. package/dist/actions/list-subscriptions.mjs.map +1 -0
  482. package/dist/actions/list-workbook-worksheets.cjs +33 -0
  483. package/dist/actions/list-workbook-worksheets.cjs.map +1 -0
  484. package/dist/actions/list-workbook-worksheets.d.cts +9 -0
  485. package/dist/actions/list-workbook-worksheets.d.cts.map +1 -0
  486. package/dist/actions/list-workbook-worksheets.d.mts +9 -0
  487. package/dist/actions/list-workbook-worksheets.d.mts.map +1 -0
  488. package/dist/actions/list-workbook-worksheets.mjs +32 -0
  489. package/dist/actions/list-workbook-worksheets.mjs.map +1 -0
  490. package/dist/actions/move-item.cjs +40 -0
  491. package/dist/actions/move-item.cjs.map +1 -0
  492. package/dist/actions/move-item.d.cts +9 -0
  493. package/dist/actions/move-item.d.cts.map +1 -0
  494. package/dist/actions/move-item.d.mts +9 -0
  495. package/dist/actions/move-item.d.mts.map +1 -0
  496. package/dist/actions/move-item.mjs +39 -0
  497. package/dist/actions/move-item.mjs.map +1 -0
  498. package/dist/actions/onedrive-create-folder.cjs +30 -0
  499. package/dist/actions/onedrive-create-folder.cjs.map +1 -0
  500. package/dist/actions/onedrive-create-folder.d.cts +9 -0
  501. package/dist/actions/onedrive-create-folder.d.cts.map +1 -0
  502. package/dist/actions/onedrive-create-folder.d.mts +9 -0
  503. package/dist/actions/onedrive-create-folder.d.mts.map +1 -0
  504. package/dist/actions/onedrive-create-folder.mjs +27 -0
  505. package/dist/actions/onedrive-create-folder.mjs.map +1 -0
  506. package/dist/actions/onedrive-create-text-file.cjs +32 -0
  507. package/dist/actions/onedrive-create-text-file.cjs.map +1 -0
  508. package/dist/actions/onedrive-create-text-file.d.cts +9 -0
  509. package/dist/actions/onedrive-create-text-file.d.cts.map +1 -0
  510. package/dist/actions/onedrive-create-text-file.d.mts +9 -0
  511. package/dist/actions/onedrive-create-text-file.d.mts.map +1 -0
  512. package/dist/actions/onedrive-create-text-file.mjs +31 -0
  513. package/dist/actions/onedrive-create-text-file.mjs.map +1 -0
  514. package/dist/actions/onedrive-find-file.cjs +88 -0
  515. package/dist/actions/onedrive-find-file.cjs.map +1 -0
  516. package/dist/actions/onedrive-find-file.d.cts +9 -0
  517. package/dist/actions/onedrive-find-file.d.cts.map +1 -0
  518. package/dist/actions/onedrive-find-file.d.mts +9 -0
  519. package/dist/actions/onedrive-find-file.d.mts.map +1 -0
  520. package/dist/actions/onedrive-find-file.mjs +87 -0
  521. package/dist/actions/onedrive-find-file.mjs.map +1 -0
  522. package/dist/actions/onedrive-find-folder.cjs +69 -0
  523. package/dist/actions/onedrive-find-folder.cjs.map +1 -0
  524. package/dist/actions/onedrive-find-folder.d.cts +9 -0
  525. package/dist/actions/onedrive-find-folder.d.cts.map +1 -0
  526. package/dist/actions/onedrive-find-folder.d.mts +9 -0
  527. package/dist/actions/onedrive-find-folder.d.mts.map +1 -0
  528. package/dist/actions/onedrive-find-folder.mjs +68 -0
  529. package/dist/actions/onedrive-find-folder.mjs.map +1 -0
  530. package/dist/actions/onedrive-list-items.cjs +182 -0
  531. package/dist/actions/onedrive-list-items.cjs.map +1 -0
  532. package/dist/actions/onedrive-list-items.d.cts +9 -0
  533. package/dist/actions/onedrive-list-items.d.cts.map +1 -0
  534. package/dist/actions/onedrive-list-items.d.mts +9 -0
  535. package/dist/actions/onedrive-list-items.d.mts.map +1 -0
  536. package/dist/actions/onedrive-list-items.mjs +181 -0
  537. package/dist/actions/onedrive-list-items.mjs.map +1 -0
  538. package/dist/actions/onedrive-upload-file.cjs +53 -0
  539. package/dist/actions/onedrive-upload-file.cjs.map +1 -0
  540. package/dist/actions/onedrive-upload-file.d.cts +9 -0
  541. package/dist/actions/onedrive-upload-file.d.cts.map +1 -0
  542. package/dist/actions/onedrive-upload-file.d.mts +9 -0
  543. package/dist/actions/onedrive-upload-file.d.mts.map +1 -0
  544. package/dist/actions/onedrive-upload-file.mjs +52 -0
  545. package/dist/actions/onedrive-upload-file.mjs.map +1 -0
  546. package/dist/actions/preview-drive-item.cjs +29 -0
  547. package/dist/actions/preview-drive-item.cjs.map +1 -0
  548. package/dist/actions/preview-drive-item.d.cts +9 -0
  549. package/dist/actions/preview-drive-item.d.cts.map +1 -0
  550. package/dist/actions/preview-drive-item.d.mts +9 -0
  551. package/dist/actions/preview-drive-item.d.mts.map +1 -0
  552. package/dist/actions/preview-drive-item.mjs +26 -0
  553. package/dist/actions/preview-drive-item.mjs.map +1 -0
  554. package/dist/actions/read-workbook-range.cjs +71 -0
  555. package/dist/actions/read-workbook-range.cjs.map +1 -0
  556. package/dist/actions/read-workbook-range.d.cts +9 -0
  557. package/dist/actions/read-workbook-range.d.cts.map +1 -0
  558. package/dist/actions/read-workbook-range.d.mts +9 -0
  559. package/dist/actions/read-workbook-range.d.mts.map +1 -0
  560. package/dist/actions/read-workbook-range.mjs +68 -0
  561. package/dist/actions/read-workbook-range.mjs.map +1 -0
  562. package/dist/actions/restore-drive-item.cjs +32 -0
  563. package/dist/actions/restore-drive-item.cjs.map +1 -0
  564. package/dist/actions/restore-drive-item.d.cts +9 -0
  565. package/dist/actions/restore-drive-item.d.cts.map +1 -0
  566. package/dist/actions/restore-drive-item.d.mts +9 -0
  567. package/dist/actions/restore-drive-item.d.mts.map +1 -0
  568. package/dist/actions/restore-drive-item.mjs +29 -0
  569. package/dist/actions/restore-drive-item.mjs.map +1 -0
  570. package/dist/actions/restore-item-version.cjs +21 -0
  571. package/dist/actions/restore-item-version.cjs.map +1 -0
  572. package/dist/actions/restore-item-version.d.cts +9 -0
  573. package/dist/actions/restore-item-version.d.cts.map +1 -0
  574. package/dist/actions/restore-item-version.d.mts +9 -0
  575. package/dist/actions/restore-item-version.d.mts.map +1 -0
  576. package/dist/actions/restore-item-version.mjs +18 -0
  577. package/dist/actions/restore-item-version.mjs.map +1 -0
  578. package/dist/actions/search-items.cjs +97 -0
  579. package/dist/actions/search-items.cjs.map +1 -0
  580. package/dist/actions/search-items.d.cts +9 -0
  581. package/dist/actions/search-items.d.cts.map +1 -0
  582. package/dist/actions/search-items.d.mts +9 -0
  583. package/dist/actions/search-items.d.mts.map +1 -0
  584. package/dist/actions/search-items.mjs +96 -0
  585. package/dist/actions/search-items.mjs.map +1 -0
  586. package/dist/actions/unfollow-item.cjs +16 -0
  587. package/dist/actions/unfollow-item.cjs.map +1 -0
  588. package/dist/actions/unfollow-item.d.cts +9 -0
  589. package/dist/actions/unfollow-item.d.cts.map +1 -0
  590. package/dist/actions/unfollow-item.d.mts +9 -0
  591. package/dist/actions/unfollow-item.d.mts.map +1 -0
  592. package/dist/actions/unfollow-item.mjs +13 -0
  593. package/dist/actions/unfollow-item.mjs.map +1 -0
  594. package/dist/actions/update-drive-item-metadata.cjs +62 -0
  595. package/dist/actions/update-drive-item-metadata.cjs.map +1 -0
  596. package/dist/actions/update-drive-item-metadata.d.cts +9 -0
  597. package/dist/actions/update-drive-item-metadata.d.cts.map +1 -0
  598. package/dist/actions/update-drive-item-metadata.d.mts +9 -0
  599. package/dist/actions/update-drive-item-metadata.d.mts.map +1 -0
  600. package/dist/actions/update-drive-item-metadata.mjs +61 -0
  601. package/dist/actions/update-drive-item-metadata.mjs.map +1 -0
  602. package/dist/actions/update-drive-items-permissions.cjs +48 -0
  603. package/dist/actions/update-drive-items-permissions.cjs.map +1 -0
  604. package/dist/actions/update-drive-items-permissions.d.cts +9 -0
  605. package/dist/actions/update-drive-items-permissions.d.cts.map +1 -0
  606. package/dist/actions/update-drive-items-permissions.d.mts +9 -0
  607. package/dist/actions/update-drive-items-permissions.d.mts.map +1 -0
  608. package/dist/actions/update-drive-items-permissions.mjs +47 -0
  609. package/dist/actions/update-drive-items-permissions.mjs.map +1 -0
  610. package/dist/actions/update-file-content.cjs +54 -0
  611. package/dist/actions/update-file-content.cjs.map +1 -0
  612. package/dist/actions/update-file-content.d.cts +9 -0
  613. package/dist/actions/update-file-content.d.cts.map +1 -0
  614. package/dist/actions/update-file-content.d.mts +9 -0
  615. package/dist/actions/update-file-content.d.mts.map +1 -0
  616. package/dist/actions/update-file-content.mjs +53 -0
  617. package/dist/actions/update-file-content.mjs.map +1 -0
  618. package/dist/actions/update-sharepoint-item-permission.cjs +22 -0
  619. package/dist/actions/update-sharepoint-item-permission.cjs.map +1 -0
  620. package/dist/actions/update-sharepoint-item-permission.d.cts +9 -0
  621. package/dist/actions/update-sharepoint-item-permission.d.cts.map +1 -0
  622. package/dist/actions/update-sharepoint-item-permission.d.mts +9 -0
  623. package/dist/actions/update-sharepoint-item-permission.d.mts.map +1 -0
  624. package/dist/actions/update-sharepoint-item-permission.mjs +19 -0
  625. package/dist/actions/update-sharepoint-item-permission.mjs.map +1 -0
  626. package/dist/actions/update-sharepoint-list-item-fields.cjs +22 -0
  627. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -0
  628. package/dist/actions/update-sharepoint-list-item-fields.d.cts +9 -0
  629. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -0
  630. package/dist/actions/update-sharepoint-list-item-fields.d.mts +9 -0
  631. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -0
  632. package/dist/actions/update-sharepoint-list-item-fields.mjs +19 -0
  633. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -0
  634. package/dist/actions/update-workbook-range.cjs +93 -0
  635. package/dist/actions/update-workbook-range.cjs.map +1 -0
  636. package/dist/actions/update-workbook-range.d.cts +9 -0
  637. package/dist/actions/update-workbook-range.d.cts.map +1 -0
  638. package/dist/actions/update-workbook-range.d.mts +9 -0
  639. package/dist/actions/update-workbook-range.d.mts.map +1 -0
  640. package/dist/actions/update-workbook-range.mjs +90 -0
  641. package/dist/actions/update-workbook-range.mjs.map +1 -0
  642. package/dist/actions/update-workbook-worksheet.cjs +33 -0
  643. package/dist/actions/update-workbook-worksheet.cjs.map +1 -0
  644. package/dist/actions/update-workbook-worksheet.d.cts +9 -0
  645. package/dist/actions/update-workbook-worksheet.d.cts.map +1 -0
  646. package/dist/actions/update-workbook-worksheet.d.mts +9 -0
  647. package/dist/actions/update-workbook-worksheet.d.mts.map +1 -0
  648. package/dist/actions/update-workbook-worksheet.mjs +30 -0
  649. package/dist/actions/update-workbook-worksheet.mjs.map +1 -0
  650. package/dist/actions/write-workbook-cell.cjs +69 -0
  651. package/dist/actions/write-workbook-cell.cjs.map +1 -0
  652. package/dist/actions/write-workbook-cell.d.cts +9 -0
  653. package/dist/actions/write-workbook-cell.d.cts.map +1 -0
  654. package/dist/actions/write-workbook-cell.d.mts +9 -0
  655. package/dist/actions/write-workbook-cell.d.mts.map +1 -0
  656. package/dist/actions/write-workbook-cell.mjs +66 -0
  657. package/dist/actions/write-workbook-cell.mjs.map +1 -0
  658. package/dist/app.cjs +9 -0
  659. package/dist/app.cjs.map +1 -0
  660. package/dist/app.d.cts +5 -0
  661. package/dist/app.d.cts.map +1 -0
  662. package/dist/app.d.mts +5 -0
  663. package/dist/app.d.mts.map +1 -0
  664. package/dist/app.mjs +10 -0
  665. package/dist/app.mjs.map +1 -0
  666. package/dist/catalog.cjs +15 -0
  667. package/dist/catalog.cjs.map +1 -0
  668. package/dist/catalog.d.cts +14 -0
  669. package/dist/catalog.d.cts.map +1 -0
  670. package/dist/catalog.d.mts +14 -0
  671. package/dist/catalog.d.mts.map +1 -0
  672. package/dist/catalog.mjs +15 -0
  673. package/dist/catalog.mjs.map +1 -0
  674. package/dist/execute.cjs +18 -0
  675. package/dist/execute.cjs.map +1 -0
  676. package/dist/execute.mjs +18 -0
  677. package/dist/execute.mjs.map +1 -0
  678. package/dist/index.cjs +168 -0
  679. package/dist/index.d.cts +84 -0
  680. package/dist/index.d.mts +84 -0
  681. package/dist/index.mjs +85 -0
  682. package/package.json +49 -0
@@ -0,0 +1,53 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/onedrive-upload-file.ts
4
+ const OneDriveOnedriveUploadFileInput = zod.z.object({
5
+ file: zod.z.object({
6
+ name: zod.z.string().describe("The filename that will be used when uploading the file to the destination service"),
7
+ s3key: zod.z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
8
+ mimetype: zod.z.string().describe("The MIME type of the file")
9
+ }).describe("The file to be uploaded, including its name and access to its binary content. Required if source_url is not provided.").optional(),
10
+ folder: zod.z.string().default("/").describe("Destination folder path from root (e.g., '/Documents/Reports') or a unique folder ID. If the folder path doesn't exist, it will be created automatically (including any intermediate folders in the path).").optional(),
11
+ site_id: zod.z.string().describe("The unique identifier of the SharePoint site to upload to. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id.").optional(),
12
+ user_id: zod.z.string().default("me").describe("User ID (e.g., user_principal_name, unique GUID) or 'me' for the authenticated user, determining the target OneDrive.").optional(),
13
+ drive_id: zod.z.string().describe("The unique identifier of the drive to upload to. If not provided, uses the default drive of the user_id. Mutually exclusive with site_id.").optional(),
14
+ file_name: zod.z.string().describe("Name for the file in OneDrive when using source_url, including extension (e.g., 'report.pdf', 'image.png'). If not provided when using source_url, the filename will be extracted from the URL or Content-Disposition header. Ignored when using file parameter (filename comes from file.name).").optional(),
15
+ source_url: zod.z.string().describe("Public HTTPS URL of the file to download and upload to OneDrive. Custom source headers are not supported. Required if file is not provided.").optional(),
16
+ verify_ssl: zod.z.boolean().default(true).describe("Deprecated. SSL verification is always required for source_url downloads.").optional(),
17
+ description: zod.z.string().describe("A user-visible description of the file. Only supported on OneDrive Personal.").optional(),
18
+ defer_commit: zod.z.boolean().describe("If true, the final file creation is deferred until an explicit completion request is made. Useful for large files where you want to control when the upload is finalized.").optional(),
19
+ if_match_etag: zod.z.string().describe("An ETag value to prevent lost updates. If provided, the upload will only proceed if the folder/parent's ETag matches this value. Returns 412 error if it doesn't match.").optional(),
20
+ source_headers: zod.z.object({}).describe("Deprecated. Custom HTTP headers are not supported when downloading from source_url.").optional(),
21
+ file_system_info: zod.z.object({
22
+ createdDateTime: zod.z.string().describe("The UTC date and time the file was created on a client. ISO 8601 format.").optional(),
23
+ lastAccessedDateTime: zod.z.string().describe("The UTC date and time the file was last accessed. ISO 8601 format.").optional(),
24
+ lastModifiedDateTime: zod.z.string().describe("The UTC date and time the file was last modified on a client. ISO 8601 format.").optional()
25
+ }).describe("File system information on client.").optional(),
26
+ conflict_behavior: zod.z.enum([
27
+ "rename",
28
+ "fail",
29
+ "replace"
30
+ ]).default("rename").describe("How to handle file name conflicts. 'rename' automatically renames the file if it exists (default), 'fail' returns an error, 'replace' overwrites the existing file. When renamed, the actual filename in the response may differ (e.g., suffixed with a number); use the response `id` or `webUrl` for follow-up operations.").optional()
31
+ });
32
+ const OneDriveOnedriveUploadFile_FileObjectSchema = zod.z.object({}).describe("Holds optional, OneDrive-specific file metadata; structure can vary or be empty.");
33
+ const OneDriveOnedriveUploadFileOutput = zod.z.object({
34
+ id: zod.z.string().describe("The unique identifier for the uploaded file, as assigned by OneDrive."),
35
+ file: OneDriveOnedriveUploadFile_FileObjectSchema.nullable(),
36
+ name: zod.z.string().describe("The final name of the uploaded file in OneDrive. This name might differ from the original if a conflict occurred and the file was renamed."),
37
+ size: zod.z.number().int().describe("The total size of the uploaded file in bytes."),
38
+ webUrl: zod.z.string().describe("A URL for opening the file in OneDrive's web interface.").nullable().optional(),
39
+ mimeType: zod.z.string().describe("The MIME type of the uploaded file.").nullable().optional(),
40
+ createdDateTime: zod.z.string().describe("The time the file was created (ISO 8601 format).").nullable().optional(),
41
+ lastModifiedDateTime: zod.z.string().describe("The last modification time (ISO 8601 format).").nullable().optional()
42
+ });
43
+ const oneDriveOnedriveUploadFile = require_action.action("ONE_DRIVE_ONEDRIVE_UPLOAD_FILE", {
44
+ slug: "one_drive-onedrive-upload-file",
45
+ name: "Upload file",
46
+ description: "Uploads a file to a specified OneDrive folder, automatically creating the destination folder if it doesn't exist, renaming on conflict, and supporting large files via chunking.",
47
+ input: OneDriveOnedriveUploadFileInput,
48
+ output: OneDriveOnedriveUploadFileOutput
49
+ });
50
+ //#endregion
51
+ exports.oneDriveOnedriveUploadFile = oneDriveOnedriveUploadFile;
52
+
53
+ //# sourceMappingURL=onedrive-upload-file.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onedrive-upload-file.cjs","names":["z","action"],"sources":["../../src/actions/onedrive-upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveOnedriveUploadFileInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to be uploaded, including its name and access to its binary content. Required if source_url is not provided.\").optional(),\n folder: z.string().default(\"/\").describe(\"Destination folder path from root (e.g., '/Documents/Reports') or a unique folder ID. If the folder path doesn't exist, it will be created automatically (including any intermediate folders in the path).\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site to upload to. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id.\").optional(),\n user_id: z.string().default(\"me\").describe(\"User ID (e.g., user_principal_name, unique GUID) or 'me' for the authenticated user, determining the target OneDrive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive to upload to. If not provided, uses the default drive of the user_id. Mutually exclusive with site_id.\").optional(),\n file_name: z.string().describe(\"Name for the file in OneDrive when using source_url, including extension (e.g., 'report.pdf', 'image.png'). If not provided when using source_url, the filename will be extracted from the URL or Content-Disposition header. Ignored when using file parameter (filename comes from file.name).\").optional(),\n source_url: z.string().describe(\"Public HTTPS URL of the file to download and upload to OneDrive. Custom source headers are not supported. Required if file is not provided.\").optional(),\n verify_ssl: z.boolean().default(true).describe(\"Deprecated. SSL verification is always required for source_url downloads.\").optional(),\n description: z.string().describe(\"A user-visible description of the file. Only supported on OneDrive Personal.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for large files where you want to control when the upload is finalized.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the upload will only proceed if the folder/parent's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n source_headers: z.object({}).describe(\"Deprecated. Custom HTTP headers are not supported when downloading from source_url.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"rename\", \"fail\", \"replace\"]).default(\"rename\").describe(\"How to handle file name conflicts. 'rename' automatically renames the file if it exists (default), 'fail' returns an error, 'replace' overwrites the existing file. When renamed, the actual filename in the response may differ (e.g., suffixed with a number); use the response `id` or `webUrl` for follow-up operations.\").optional(),\n});\nconst OneDriveOnedriveUploadFile_FileObjectSchema: z.ZodTypeAny = z.object({}).describe(\"Holds optional, OneDrive-specific file metadata; structure can vary or be empty.\");\nexport const OneDriveOnedriveUploadFileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the uploaded file, as assigned by OneDrive.\"),\n file: OneDriveOnedriveUploadFile_FileObjectSchema.nullable(),\n name: z.string().describe(\"The final name of the uploaded file in OneDrive. This name might differ from the original if a conflict occurred and the file was renamed.\"),\n size: z.number().int().describe(\"The total size of the uploaded file in bytes.\"),\n webUrl: z.string().describe(\"A URL for opening the file in OneDrive's web interface.\").nullable().optional(),\n mimeType: z.string().describe(\"The MIME type of the uploaded file.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The time the file was created (ISO 8601 format).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The last modification time (ISO 8601 format).\").nullable().optional(),\n});\n\nexport const oneDriveOnedriveUploadFile = action(\"ONE_DRIVE_ONEDRIVE_UPLOAD_FILE\", {\n slug: \"one_drive-onedrive-upload-file\",\n name: \"Upload file\",\n description: \"Uploads a file to a specified OneDrive folder, automatically creating the destination folder if it doesn't exist, renaming on conflict, and supporting large files via chunking.\",\n input: OneDriveOnedriveUploadFileInput,\n output: OneDriveOnedriveUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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AC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/onedrive-upload-file.d.ts
4
+ declare const OneDriveOnedriveUploadFileInput: z.ZodTypeAny;
5
+ declare const OneDriveOnedriveUploadFileOutput: z.ZodTypeAny;
6
+ declare const oneDriveOnedriveUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveOnedriveUploadFile };
9
+ //# sourceMappingURL=onedrive-upload-file.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onedrive-upload-file.d.cts","names":[],"sources":["../../src/actions/onedrive-upload-file.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAuB9C;AAAA,cAEW,gCAAA,EAAkC,CAAA,CAAE,UAS/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/onedrive-upload-file.d.ts
4
+ declare const OneDriveOnedriveUploadFileInput: z.ZodTypeAny;
5
+ declare const OneDriveOnedriveUploadFileOutput: z.ZodTypeAny;
6
+ declare const oneDriveOnedriveUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveOnedriveUploadFile };
9
+ //# sourceMappingURL=onedrive-upload-file.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onedrive-upload-file.d.mts","names":[],"sources":["../../src/actions/onedrive-upload-file.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAuB9C;AAAA,cAEW,gCAAA,EAAkC,CAAA,CAAE,UAS/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,52 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/onedrive-upload-file.ts
4
+ const OneDriveOnedriveUploadFileInput = z.object({
5
+ file: z.object({
6
+ name: z.string().describe("The filename that will be used when uploading the file to the destination service"),
7
+ s3key: z.string().describe("The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service."),
8
+ mimetype: z.string().describe("The MIME type of the file")
9
+ }).describe("The file to be uploaded, including its name and access to its binary content. Required if source_url is not provided.").optional(),
10
+ folder: z.string().default("/").describe("Destination folder path from root (e.g., '/Documents/Reports') or a unique folder ID. If the folder path doesn't exist, it will be created automatically (including any intermediate folders in the path).").optional(),
11
+ site_id: z.string().describe("The unique identifier of the SharePoint site to upload to. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id.").optional(),
12
+ user_id: z.string().default("me").describe("User ID (e.g., user_principal_name, unique GUID) or 'me' for the authenticated user, determining the target OneDrive.").optional(),
13
+ drive_id: z.string().describe("The unique identifier of the drive to upload to. If not provided, uses the default drive of the user_id. Mutually exclusive with site_id.").optional(),
14
+ file_name: z.string().describe("Name for the file in OneDrive when using source_url, including extension (e.g., 'report.pdf', 'image.png'). If not provided when using source_url, the filename will be extracted from the URL or Content-Disposition header. Ignored when using file parameter (filename comes from file.name).").optional(),
15
+ source_url: z.string().describe("Public HTTPS URL of the file to download and upload to OneDrive. Custom source headers are not supported. Required if file is not provided.").optional(),
16
+ verify_ssl: z.boolean().default(true).describe("Deprecated. SSL verification is always required for source_url downloads.").optional(),
17
+ description: z.string().describe("A user-visible description of the file. Only supported on OneDrive Personal.").optional(),
18
+ defer_commit: z.boolean().describe("If true, the final file creation is deferred until an explicit completion request is made. Useful for large files where you want to control when the upload is finalized.").optional(),
19
+ if_match_etag: z.string().describe("An ETag value to prevent lost updates. If provided, the upload will only proceed if the folder/parent's ETag matches this value. Returns 412 error if it doesn't match.").optional(),
20
+ source_headers: z.object({}).describe("Deprecated. Custom HTTP headers are not supported when downloading from source_url.").optional(),
21
+ file_system_info: z.object({
22
+ createdDateTime: z.string().describe("The UTC date and time the file was created on a client. ISO 8601 format.").optional(),
23
+ lastAccessedDateTime: z.string().describe("The UTC date and time the file was last accessed. ISO 8601 format.").optional(),
24
+ lastModifiedDateTime: z.string().describe("The UTC date and time the file was last modified on a client. ISO 8601 format.").optional()
25
+ }).describe("File system information on client.").optional(),
26
+ conflict_behavior: z.enum([
27
+ "rename",
28
+ "fail",
29
+ "replace"
30
+ ]).default("rename").describe("How to handle file name conflicts. 'rename' automatically renames the file if it exists (default), 'fail' returns an error, 'replace' overwrites the existing file. When renamed, the actual filename in the response may differ (e.g., suffixed with a number); use the response `id` or `webUrl` for follow-up operations.").optional()
31
+ });
32
+ const OneDriveOnedriveUploadFile_FileObjectSchema = z.object({}).describe("Holds optional, OneDrive-specific file metadata; structure can vary or be empty.");
33
+ const oneDriveOnedriveUploadFile = action("ONE_DRIVE_ONEDRIVE_UPLOAD_FILE", {
34
+ slug: "one_drive-onedrive-upload-file",
35
+ name: "Upload file",
36
+ description: "Uploads a file to a specified OneDrive folder, automatically creating the destination folder if it doesn't exist, renaming on conflict, and supporting large files via chunking.",
37
+ input: OneDriveOnedriveUploadFileInput,
38
+ output: z.object({
39
+ id: z.string().describe("The unique identifier for the uploaded file, as assigned by OneDrive."),
40
+ file: OneDriveOnedriveUploadFile_FileObjectSchema.nullable(),
41
+ name: z.string().describe("The final name of the uploaded file in OneDrive. This name might differ from the original if a conflict occurred and the file was renamed."),
42
+ size: z.number().int().describe("The total size of the uploaded file in bytes."),
43
+ webUrl: z.string().describe("A URL for opening the file in OneDrive's web interface.").nullable().optional(),
44
+ mimeType: z.string().describe("The MIME type of the uploaded file.").nullable().optional(),
45
+ createdDateTime: z.string().describe("The time the file was created (ISO 8601 format).").nullable().optional(),
46
+ lastModifiedDateTime: z.string().describe("The last modification time (ISO 8601 format).").nullable().optional()
47
+ })
48
+ });
49
+ //#endregion
50
+ export { oneDriveOnedriveUploadFile };
51
+
52
+ //# sourceMappingURL=onedrive-upload-file.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onedrive-upload-file.mjs","names":[],"sources":["../../src/actions/onedrive-upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveOnedriveUploadFileInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to be uploaded, including its name and access to its binary content. Required if source_url is not provided.\").optional(),\n folder: z.string().default(\"/\").describe(\"Destination folder path from root (e.g., '/Documents/Reports') or a unique folder ID. If the folder path doesn't exist, it will be created automatically (including any intermediate folders in the path).\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site to upload to. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id.\").optional(),\n user_id: z.string().default(\"me\").describe(\"User ID (e.g., user_principal_name, unique GUID) or 'me' for the authenticated user, determining the target OneDrive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive to upload to. If not provided, uses the default drive of the user_id. Mutually exclusive with site_id.\").optional(),\n file_name: z.string().describe(\"Name for the file in OneDrive when using source_url, including extension (e.g., 'report.pdf', 'image.png'). If not provided when using source_url, the filename will be extracted from the URL or Content-Disposition header. Ignored when using file parameter (filename comes from file.name).\").optional(),\n source_url: z.string().describe(\"Public HTTPS URL of the file to download and upload to OneDrive. Custom source headers are not supported. Required if file is not provided.\").optional(),\n verify_ssl: z.boolean().default(true).describe(\"Deprecated. SSL verification is always required for source_url downloads.\").optional(),\n description: z.string().describe(\"A user-visible description of the file. Only supported on OneDrive Personal.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for large files where you want to control when the upload is finalized.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the upload will only proceed if the folder/parent's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n source_headers: z.object({}).describe(\"Deprecated. Custom HTTP headers are not supported when downloading from source_url.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"rename\", \"fail\", \"replace\"]).default(\"rename\").describe(\"How to handle file name conflicts. 'rename' automatically renames the file if it exists (default), 'fail' returns an error, 'replace' overwrites the existing file. When renamed, the actual filename in the response may differ (e.g., suffixed with a number); use the response `id` or `webUrl` for follow-up operations.\").optional(),\n});\nconst OneDriveOnedriveUploadFile_FileObjectSchema: z.ZodTypeAny = z.object({}).describe(\"Holds optional, OneDrive-specific file metadata; structure can vary or be empty.\");\nexport const OneDriveOnedriveUploadFileOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the uploaded file, as assigned by OneDrive.\"),\n file: OneDriveOnedriveUploadFile_FileObjectSchema.nullable(),\n name: z.string().describe(\"The final name of the uploaded file in OneDrive. This name might differ from the original if a conflict occurred and the file was renamed.\"),\n size: z.number().int().describe(\"The total size of the uploaded file in bytes.\"),\n webUrl: z.string().describe(\"A URL for opening the file in OneDrive's web interface.\").nullable().optional(),\n mimeType: z.string().describe(\"The MIME type of the uploaded file.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The time the file was created (ISO 8601 format).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The last modification time (ISO 8601 format).\").nullable().optional(),\n});\n\nexport const oneDriveOnedriveUploadFile = action(\"ONE_DRIVE_ONEDRIVE_UPLOAD_FILE\", {\n slug: \"one_drive-onedrive-upload-file\",\n name: \"Upload file\",\n description: \"Uploads a file to a specified OneDrive folder, automatically creating the destination folder if it doesn't exist, renaming on conflict, and supporting large files via chunking.\",\n input: OneDriveOnedriveUploadFileInput,\n output: OneDriveOnedriveUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAgD,EAAE,OAAO;CACpE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;CAChQ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC/K,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC7K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACpL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;CAC5U,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACxL,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;C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EAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAOU;AACV,CAAC"}
@@ -0,0 +1,29 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/preview-drive-item.ts
4
+ const OneDrivePreviewDriveItemInput = zod.z.object({
5
+ page: zod.z.union([zod.z.string(), zod.z.number().int()]).optional(),
6
+ zoom: zod.z.number().describe("Optional. Zoom level to start at, if applicable.").optional(),
7
+ item_id: zod.z.string().describe("The unique identifier of the DriveItem."),
8
+ site_id: zod.z.string().describe("The unique identifier of the Site. Provide if the item is in a SharePoint site.").optional(),
9
+ user_id: zod.z.string().describe("The unique identifier of the User. Provide if the item is in another user's drive.").optional(),
10
+ drive_id: zod.z.string().describe("The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.").optional(),
11
+ group_id: zod.z.string().describe("The unique identifier of the Group. Provide if the item is in a group drive.").optional(),
12
+ share_id: zod.z.string().describe("The unique identifier of the shared item. Provide if the item is accessed via a share link.").optional()
13
+ });
14
+ const OneDrivePreviewDriveItemOutput = zod.z.object({
15
+ getUrl: zod.z.string().describe("URL suitable for embedding using HTTP GET (iframes, etc.)").nullable().optional(),
16
+ postUrl: zod.z.string().describe("URL suitable for embedding using HTTP POST (form post, JS, etc.)").nullable().optional(),
17
+ postParameters: zod.z.string().describe("POST parameters to include if using postUrl").nullable().optional()
18
+ });
19
+ const oneDrivePreviewDriveItem = require_action.action("ONE_DRIVE_PREVIEW_DRIVE_ITEM", {
20
+ slug: "one_drive-preview-drive-item",
21
+ name: "Preview Drive Item",
22
+ 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.",
23
+ input: OneDrivePreviewDriveItemInput,
24
+ output: OneDrivePreviewDriveItemOutput
25
+ });
26
+ //#endregion
27
+ exports.oneDrivePreviewDriveItem = oneDrivePreviewDriveItem;
28
+
29
+ //# sourceMappingURL=preview-drive-item.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput: z.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACtE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CACzH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC5H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACrJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACvH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;AACxI,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/preview-drive-item.d.ts
4
+ declare const OneDrivePreviewDriveItemInput: z.ZodTypeAny;
5
+ declare const OneDrivePreviewDriveItemOutput: z.ZodTypeAny;
6
+ declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDrivePreviewDriveItem };
9
+ //# sourceMappingURL=preview-drive-item.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview-drive-item.d.cts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAS5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAI7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/preview-drive-item.d.ts
4
+ declare const OneDrivePreviewDriveItemInput: z.ZodTypeAny;
5
+ declare const OneDrivePreviewDriveItemOutput: z.ZodTypeAny;
6
+ declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDrivePreviewDriveItem };
9
+ //# sourceMappingURL=preview-drive-item.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview-drive-item.d.mts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAS5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAI7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oneDrivePreviewDriveItem = action("ONE_DRIVE_PREVIEW_DRIVE_ITEM", {
4
+ slug: "one_drive-preview-drive-item",
5
+ name: "Preview Drive Item",
6
+ 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.",
7
+ input: z.object({
8
+ page: z.union([z.string(), z.number().int()]).optional(),
9
+ zoom: z.number().describe("Optional. Zoom level to start at, if applicable.").optional(),
10
+ item_id: z.string().describe("The unique identifier of the DriveItem."),
11
+ site_id: z.string().describe("The unique identifier of the Site. Provide if the item is in a SharePoint site.").optional(),
12
+ user_id: z.string().describe("The unique identifier of the User. Provide if the item is in another user's drive.").optional(),
13
+ 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(),
14
+ group_id: z.string().describe("The unique identifier of the Group. Provide if the item is in a group drive.").optional(),
15
+ share_id: z.string().describe("The unique identifier of the shared item. Provide if the item is accessed via a share link.").optional()
16
+ }),
17
+ output: z.object({
18
+ getUrl: z.string().describe("URL suitable for embedding using HTTP GET (iframes, etc.)").nullable().optional(),
19
+ postUrl: z.string().describe("URL suitable for embedding using HTTP POST (form post, JS, etc.)").nullable().optional(),
20
+ postParameters: z.string().describe("POST parameters to include if using postUrl").nullable().optional()
21
+ })
22
+ });
23
+ //#endregion
24
+ export { oneDrivePreviewDriveItem };
25
+
26
+ //# sourceMappingURL=preview-drive-item.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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,OApByD,EAAE,OAAO;EAClE,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,QAX0D,EAAE,OAAO;EACnE,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"}
@@ -0,0 +1,71 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/read-workbook-range.ts
4
+ const OneDriveReadWorkbookRangeInput = zod.z.object({
5
+ address: zod.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."),
6
+ item_id: zod.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."),
7
+ drive_id: zod.z.string().describe("The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint."),
8
+ session_id: zod.z.string().describe("Optional workbook session ID. Use this to read from an existing Excel workbook session.").optional(),
9
+ select_fields: zod.z.array(zod.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(),
10
+ worksheet_id_or_name: zod.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.")
11
+ });
12
+ const OneDriveReadWorkbookRangeOutput = zod.z.object({
13
+ text: zod.z.array(zod.z.array(zod.z.union([
14
+ zod.z.string(),
15
+ zod.z.number().int(),
16
+ zod.z.number(),
17
+ zod.z.boolean()
18
+ ]).nullable())).describe("2D array containing the text representations of cell values (how they appear in Excel UI).").optional(),
19
+ hidden: zod.z.boolean().describe("Whether the range is hidden.").nullable().optional(),
20
+ values: zod.z.array(zod.z.array(zod.z.union([
21
+ zod.z.string(),
22
+ zod.z.number().int(),
23
+ zod.z.number(),
24
+ zod.z.boolean()
25
+ ]).nullable())).describe("2D array containing the cell values. Even single cells or rows are returned as 2D arrays.").optional(),
26
+ address: zod.z.string().describe("Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').").nullable().optional(),
27
+ formulas: zod.z.array(zod.z.array(zod.z.union([
28
+ zod.z.string(),
29
+ zod.z.number().int(),
30
+ zod.z.number(),
31
+ zod.z.boolean()
32
+ ]).nullable())).describe("2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.").optional(),
33
+ rowCount: zod.z.number().int().describe("Number of rows in the range.").nullable().optional(),
34
+ rowIndex: zod.z.number().int().describe("The zero-based row index of the first cell in the range.").nullable().optional(),
35
+ cellCount: zod.z.number().int().describe("Number of cells in the range.").nullable().optional(),
36
+ rowHidden: zod.z.boolean().describe("Whether all rows in the range are hidden.").nullable().optional(),
37
+ valueTypes: zod.z.array(zod.z.array(zod.z.string())).describe("2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').").nullable().optional(),
38
+ columnCount: zod.z.number().int().describe("Number of columns in the range.").nullable().optional(),
39
+ columnIndex: zod.z.number().int().describe("The zero-based column index of the first cell in the range.").nullable().optional(),
40
+ addressLocal: zod.z.string().describe("Range reference in user locale.").nullable().optional(),
41
+ columnHidden: zod.z.boolean().describe("Whether all columns in the range are hidden.").nullable().optional(),
42
+ formulasR1C1: zod.z.array(zod.z.array(zod.z.union([
43
+ zod.z.string(),
44
+ zod.z.number().int(),
45
+ zod.z.number(),
46
+ zod.z.boolean()
47
+ ]).nullable())).describe("2D array containing the cell formulas in R1C1-style notation.").optional(),
48
+ numberFormat: zod.z.array(zod.z.array(zod.z.union([
49
+ zod.z.string(),
50
+ zod.z.number().int(),
51
+ zod.z.number(),
52
+ zod.z.boolean()
53
+ ]).nullable())).describe("2D array containing the number format strings for each cell.").optional(),
54
+ formulasLocal: zod.z.array(zod.z.array(zod.z.union([
55
+ zod.z.string(),
56
+ zod.z.number().int(),
57
+ zod.z.number(),
58
+ zod.z.boolean()
59
+ ]).nullable())).describe("2D array containing the cell formulas in the user's locale notation.").optional()
60
+ });
61
+ const oneDriveReadWorkbookRange = require_action.action("ONE_DRIVE_READ_WORKBOOK_RANGE", {
62
+ slug: "one_drive-read-workbook-range",
63
+ name: "Read Workbook Range",
64
+ 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').",
65
+ input: OneDriveReadWorkbookRangeInput,
66
+ output: OneDriveReadWorkbookRangeOutput
67
+ });
68
+ //#endregion
69
+ exports.oneDriveReadWorkbookRange = oneDriveReadWorkbookRange;
70
+
71
+ //# sourceMappingURL=read-workbook-range.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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).\").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.\").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.\").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.\").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.\").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.\").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,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,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;CA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,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,8DAA8D,CAAC,CAAC,SAAS;CAC9L,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;AACzM,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/read-workbook-range.d.ts
4
+ declare const OneDriveReadWorkbookRangeInput: z.ZodTypeAny;
5
+ declare const OneDriveReadWorkbookRangeOutput: z.ZodTypeAny;
6
+ declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveReadWorkbookRange };
9
+ //# sourceMappingURL=read-workbook-range.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-workbook-range.d.cts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAO7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAkB9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/read-workbook-range.d.ts
4
+ declare const OneDriveReadWorkbookRangeInput: z.ZodTypeAny;
5
+ declare const OneDriveReadWorkbookRangeOutput: z.ZodTypeAny;
6
+ declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveReadWorkbookRange };
9
+ //# sourceMappingURL=read-workbook-range.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read-workbook-range.d.mts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAO7C;AAAA,cACW,+BAAA,EAAiC,CAAA,CAAE,UAkB9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,68 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const oneDriveReadWorkbookRange = action("ONE_DRIVE_READ_WORKBOOK_RANGE", {
4
+ slug: "one_drive-read-workbook-range",
5
+ name: "Read Workbook Range",
6
+ 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').",
7
+ input: z.object({
8
+ 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."),
9
+ 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."),
10
+ drive_id: z.string().describe("The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint."),
11
+ session_id: z.string().describe("Optional workbook session ID. Use this to read from an existing Excel workbook session.").optional(),
12
+ 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(),
13
+ 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.")
14
+ }),
15
+ output: z.object({
16
+ text: z.array(z.array(z.union([
17
+ z.string(),
18
+ z.number().int(),
19
+ z.number(),
20
+ z.boolean()
21
+ ]).nullable())).describe("2D array containing the text representations of cell values (how they appear in Excel UI).").optional(),
22
+ hidden: z.boolean().describe("Whether the range is hidden.").nullable().optional(),
23
+ values: z.array(z.array(z.union([
24
+ z.string(),
25
+ z.number().int(),
26
+ z.number(),
27
+ z.boolean()
28
+ ]).nullable())).describe("2D array containing the cell values. Even single cells or rows are returned as 2D arrays.").optional(),
29
+ address: z.string().describe("Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').").nullable().optional(),
30
+ formulas: z.array(z.array(z.union([
31
+ z.string(),
32
+ z.number().int(),
33
+ z.number(),
34
+ z.boolean()
35
+ ]).nullable())).describe("2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.").optional(),
36
+ rowCount: z.number().int().describe("Number of rows in the range.").nullable().optional(),
37
+ rowIndex: z.number().int().describe("The zero-based row index of the first cell in the range.").nullable().optional(),
38
+ cellCount: z.number().int().describe("Number of cells in the range.").nullable().optional(),
39
+ rowHidden: z.boolean().describe("Whether all rows in the range are hidden.").nullable().optional(),
40
+ 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(),
41
+ columnCount: z.number().int().describe("Number of columns in the range.").nullable().optional(),
42
+ columnIndex: z.number().int().describe("The zero-based column index of the first cell in the range.").nullable().optional(),
43
+ addressLocal: z.string().describe("Range reference in user locale.").nullable().optional(),
44
+ columnHidden: z.boolean().describe("Whether all columns in the range are hidden.").nullable().optional(),
45
+ formulasR1C1: z.array(z.array(z.union([
46
+ z.string(),
47
+ z.number().int(),
48
+ z.number(),
49
+ z.boolean()
50
+ ]).nullable())).describe("2D array containing the cell formulas in R1C1-style notation.").optional(),
51
+ numberFormat: z.array(z.array(z.union([
52
+ z.string(),
53
+ z.number().int(),
54
+ z.number(),
55
+ z.boolean()
56
+ ]).nullable())).describe("2D array containing the number format strings for each cell.").optional(),
57
+ formulasLocal: z.array(z.array(z.union([
58
+ z.string(),
59
+ z.number().int(),
60
+ z.number(),
61
+ z.boolean()
62
+ ]).nullable())).describe("2D array containing the cell formulas in the user's locale notation.").optional()
63
+ })
64
+ });
65
+ //#endregion
66
+ export { oneDriveReadWorkbookRange };
67
+
68
+ //# sourceMappingURL=read-workbook-range.mjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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).\").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.\").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.\").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.\").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.\").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.\").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,OAhC0D,EAAE,OAAO;EACnE,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,QAzB2D,EAAE,OAAO;EACpE,MAA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
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/restore-drive-item.ts
4
+ const OneDriveRestoreDriveItemInput = zod.z.object({
5
+ name: zod.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(),
6
+ item_id: zod.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."),
7
+ drive_id: zod.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(),
8
+ parent_reference_id: zod.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()
9
+ });
10
+ const OneDriveRestoreDriveItemOutput = zod.z.object({
11
+ id: zod.z.string().describe("The unique ID of the restored item.").nullable().optional(),
12
+ file: zod.z.record(zod.z.string(), zod.z.unknown()).describe("If the item is a file, this contains file-specific metadata.").nullable().optional(),
13
+ name: zod.z.string().describe("The name of the restored item.").nullable().optional(),
14
+ size: zod.z.number().int().describe("The size of the restored item in bytes.").nullable().optional(),
15
+ folder: zod.z.record(zod.z.string(), zod.z.unknown()).describe("If the item is a folder, this contains folder-specific metadata (e.g., childCount).").nullable().optional(),
16
+ webUrl: zod.z.string().describe("URL to view the restored item in a browser.").nullable().optional(),
17
+ deleted: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Information about the deleted state (should be null after restore).").nullable().optional(),
18
+ createdDateTime: zod.z.string().describe("The date and time the item was originally created.").nullable().optional(),
19
+ parentReference: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Reference to the parent folder containing the restored item.").nullable().optional(),
20
+ lastModifiedDateTime: zod.z.string().describe("The date and time the item was last modified.").nullable().optional()
21
+ });
22
+ const oneDriveRestoreDriveItem = require_action.action("ONE_DRIVE_RESTORE_DRIVE_ITEM", {
23
+ slug: "one_drive-restore-drive-item",
24
+ name: "Restore Deleted Item",
25
+ 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.",
26
+ input: OneDriveRestoreDriveItemInput,
27
+ output: OneDriveRestoreDriveItemOutput
28
+ });
29
+ //#endregion
30
+ exports.oneDriveRestoreDriveItem = oneDriveRestoreDriveItem;
31
+
32
+ //# sourceMappingURL=restore-drive-item.cjs.map
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO;CAClE,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,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,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AAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/restore-drive-item.d.ts
4
+ declare const OneDriveRestoreDriveItemInput: z.ZodTypeAny;
5
+ declare const OneDriveRestoreDriveItemOutput: z.ZodTypeAny;
6
+ declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveRestoreDriveItem };
9
+ //# sourceMappingURL=restore-drive-item.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-drive-item.d.cts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAK5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAW7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/restore-drive-item.d.ts
4
+ declare const OneDriveRestoreDriveItemInput: z.ZodTypeAny;
5
+ declare const OneDriveRestoreDriveItemOutput: z.ZodTypeAny;
6
+ declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveRestoreDriveItem };
9
+ //# sourceMappingURL=restore-drive-item.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"restore-drive-item.d.mts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAK5C;AAAA,cACW,8BAAA,EAAgC,CAAA,CAAE,UAW7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}