@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,64 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-root.ts
4
+ const OneDriveGetRootInput = zod.z.object({
5
+ user_id: zod.z.string().default("me").describe("The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.").optional(),
6
+ select_fields: zod.z.array(zod.z.string()).describe("A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.").optional()
7
+ });
8
+ const OneDriveGetRoot_RootFacetSchema = zod.z.object({}).describe("Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.");
9
+ const OneDriveGetRoot_FolderFacetSchema = zod.z.object({ childCount: zod.z.number().int().describe("Number of children contained immediately within this folder.").nullable().optional() });
10
+ const OneDriveGetRoot_IdentitySchema = zod.z.object({
11
+ id: zod.z.string().describe("The unique identifier for the identity.").nullable().optional(),
12
+ displayName: zod.z.string().describe("The display name of the identity.").nullable().optional()
13
+ });
14
+ const OneDriveGetRoot_IdentitySetSchema = zod.z.object({
15
+ user: OneDriveGetRoot_IdentitySchema.nullable().optional(),
16
+ device: OneDriveGetRoot_IdentitySchema.nullable().optional(),
17
+ application: OneDriveGetRoot_IdentitySchema.nullable().optional()
18
+ });
19
+ const OneDriveGetRoot_SharepointIdsSchema = zod.z.object({
20
+ webId: zod.z.string().describe("The unique identifier (guid) for the item's site (SPWeb).").nullable().optional(),
21
+ listId: zod.z.string().describe("The unique identifier (guid) for the item's list in SharePoint.").nullable().optional(),
22
+ siteId: zod.z.string().describe("The unique identifier (guid) for the item's site collection (SPSite).").nullable().optional(),
23
+ siteUrl: zod.z.string().describe("The SharePoint URL for the site that contains the item.").nullable().optional(),
24
+ tenantId: zod.z.string().describe("The unique identifier (guid) for the tenancy.").nullable().optional(),
25
+ listItemId: zod.z.string().describe("An integer identifier for the item within the containing list.").nullable().optional(),
26
+ listItemUniqueId: zod.z.string().describe("The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.").nullable().optional()
27
+ }).describe("Returns identifiers useful for SharePoint REST compatibility.");
28
+ const OneDriveGetRoot_ItemReferenceSchema = zod.z.object({
29
+ id: zod.z.string().describe("Unique identifier of the driveItem in the drive or a listItem in a list.").nullable().optional(),
30
+ name: zod.z.string().describe("The name of the item being referenced.").nullable().optional(),
31
+ path: zod.z.string().describe("Percent-encoded path that can be used to navigate to the item.").nullable().optional(),
32
+ siteId: zod.z.string().describe("ID of the site that contains the parent document library of the driveItem resource.").nullable().optional(),
33
+ driveId: zod.z.string().describe("Unique identifier of the drive instance that contains the driveItem.").nullable().optional(),
34
+ shareId: zod.z.string().describe("A unique identifier for a shared resource that can be accessed via the Shares API.").nullable().optional(),
35
+ driveType: zod.z.string().describe("Identifies the type of drive (personal, business, documentLibrary).").nullable().optional(),
36
+ sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional()
37
+ }).describe("Provides information necessary to address a driveItem via the API.");
38
+ const OneDriveGetRootOutput = zod.z.object({
39
+ id: zod.z.string().describe("The unique identifier of the root folder.").nullable().optional(),
40
+ cTag: zod.z.string().describe("An eTag for the content of the item. This eTag is not changed if only the metadata is changed.").nullable().optional(),
41
+ eTag: zod.z.string().describe("eTag for the entire item (metadata + content).").nullable().optional(),
42
+ name: zod.z.string().describe("The name of the root folder.").nullable().optional(),
43
+ root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),
44
+ size: zod.z.number().int().describe("The size of the folder in bytes, including all descendants.").nullable().optional(),
45
+ folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),
46
+ webUrl: zod.z.string().describe("URL that displays the root folder in a browser.").nullable().optional(),
47
+ createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),
48
+ description: zod.z.string().describe("Provide a user-visible description of the item. Optional.").nullable().optional(),
49
+ lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),
50
+ createdDateTime: zod.z.string().describe("Date and time the root folder was created. Read-only.").nullable().optional(),
51
+ parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),
52
+ lastModifiedDateTime: zod.z.string().describe("Date and time the root folder was last modified. Read-only.").nullable().optional()
53
+ });
54
+ const oneDriveGetRoot = require_action.action("ONE_DRIVE_GET_ROOT", {
55
+ slug: "one_drive-get-root",
56
+ name: "Get Drive Root Folder",
57
+ description: "Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.",
58
+ input: OneDriveGetRootInput,
59
+ output: OneDriveGetRootOutput
60
+ });
61
+ //#endregion
62
+ exports.oneDriveGetRoot = oneDriveGetRoot;
63
+
64
+ //# sourceMappingURL=get-root.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-root.cjs","names":["z","action"],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetRootInput: z.ZodTypeAny = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.\").optional(),\n});\nconst OneDriveGetRoot_RootFacetSchema: z.ZodTypeAny = z.object({}).describe(\"Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.\");\nconst OneDriveGetRoot_FolderFacetSchema: z.ZodTypeAny = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this folder.\").nullable().optional(),\n});\nconst OneDriveGetRoot_IdentitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n});\nconst OneDriveGetRoot_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n device: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n application: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n});\nconst OneDriveGetRoot_SharepointIdsSchema: z.ZodTypeAny = z.object({\n webId: z.string().describe(\"The unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"The unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"The unique identifier (guid) for the item's site collection (SPSite).\").nullable().optional(),\n siteUrl: z.string().describe(\"The SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"The unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"An integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.\").nullable().optional(),\n}).describe(\"Returns identifiers useful for SharePoint REST compatibility.\");\nconst OneDriveGetRoot_ItemReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the driveItem in the drive or a listItem in a list.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site that contains the parent document library of the driveItem resource.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the driveItem.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for a shared resource that can be accessed via the Shares API.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive (personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional(),\n}).describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetRootOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the root folder.\").nullable().optional(),\n cTag: z.string().describe(\"An eTag for the content of the item. This eTag is not changed if only the metadata is changed.\").nullable().optional(),\n eTag: z.string().describe(\"eTag for the entire item (metadata + content).\").nullable().optional(),\n name: z.string().describe(\"The name of the root folder.\").nullable().optional(),\n root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),\n size: z.number().int().describe(\"The size of the folder in bytes, including all descendants.\").nullable().optional(),\n folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the root folder in a browser.\").nullable().optional(),\n createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n description: z.string().describe(\"Provide a user-visible description of the item. Optional.\").nullable().optional(),\n lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the root folder was created. Read-only.\").nullable().optional(),\n parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the root folder was last modified. Read-only.\").nullable().optional(),\n});\n\nexport const oneDriveGetRoot = action(\"ONE_DRIVE_GET_ROOT\", {\n slug: \"one_drive-get-root\",\n name: \"Get Drive Root Folder\",\n description: \"Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.\",\n input: OneDriveGetRootInput,\n output: OneDriveGetRootOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-root.d.ts
4
+ declare const OneDriveGetRootInput: z.ZodTypeAny;
5
+ declare const OneDriveGetRootOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetRoot };
9
+ //# sourceMappingURL=get-root.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-root.d.cts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGnC;AAAA,cAiCW,qBAAA,EAAuB,CAAA,CAAE,UAepC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-root.d.ts
4
+ declare const OneDriveGetRootInput: z.ZodTypeAny;
5
+ declare const OneDriveGetRootOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetRoot: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetRoot };
9
+ //# sourceMappingURL=get-root.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-root.d.mts","names":[],"sources":["../../src/actions/get-root.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAGnC;AAAA,cAiCW,qBAAA,EAAuB,CAAA,CAAE,UAepC;AAAA,cAEW,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,63 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-root.ts
4
+ const OneDriveGetRootInput = z.object({
5
+ user_id: z.string().default("me").describe("The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.").optional(),
6
+ select_fields: z.array(z.string()).describe("A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.").optional()
7
+ });
8
+ const OneDriveGetRoot_RootFacetSchema = z.object({}).describe("Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.");
9
+ const OneDriveGetRoot_FolderFacetSchema = z.object({ childCount: z.number().int().describe("Number of children contained immediately within this folder.").nullable().optional() });
10
+ const OneDriveGetRoot_IdentitySchema = z.object({
11
+ id: z.string().describe("The unique identifier for the identity.").nullable().optional(),
12
+ displayName: z.string().describe("The display name of the identity.").nullable().optional()
13
+ });
14
+ const OneDriveGetRoot_IdentitySetSchema = z.object({
15
+ user: OneDriveGetRoot_IdentitySchema.nullable().optional(),
16
+ device: OneDriveGetRoot_IdentitySchema.nullable().optional(),
17
+ application: OneDriveGetRoot_IdentitySchema.nullable().optional()
18
+ });
19
+ const OneDriveGetRoot_SharepointIdsSchema = z.object({
20
+ webId: z.string().describe("The unique identifier (guid) for the item's site (SPWeb).").nullable().optional(),
21
+ listId: z.string().describe("The unique identifier (guid) for the item's list in SharePoint.").nullable().optional(),
22
+ siteId: z.string().describe("The unique identifier (guid) for the item's site collection (SPSite).").nullable().optional(),
23
+ siteUrl: z.string().describe("The SharePoint URL for the site that contains the item.").nullable().optional(),
24
+ tenantId: z.string().describe("The unique identifier (guid) for the tenancy.").nullable().optional(),
25
+ listItemId: z.string().describe("An integer identifier for the item within the containing list.").nullable().optional(),
26
+ listItemUniqueId: z.string().describe("The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.").nullable().optional()
27
+ }).describe("Returns identifiers useful for SharePoint REST compatibility.");
28
+ const OneDriveGetRoot_ItemReferenceSchema = z.object({
29
+ id: z.string().describe("Unique identifier of the driveItem in the drive or a listItem in a list.").nullable().optional(),
30
+ name: z.string().describe("The name of the item being referenced.").nullable().optional(),
31
+ path: z.string().describe("Percent-encoded path that can be used to navigate to the item.").nullable().optional(),
32
+ siteId: z.string().describe("ID of the site that contains the parent document library of the driveItem resource.").nullable().optional(),
33
+ driveId: z.string().describe("Unique identifier of the drive instance that contains the driveItem.").nullable().optional(),
34
+ shareId: z.string().describe("A unique identifier for a shared resource that can be accessed via the Shares API.").nullable().optional(),
35
+ driveType: z.string().describe("Identifies the type of drive (personal, business, documentLibrary).").nullable().optional(),
36
+ sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional()
37
+ }).describe("Provides information necessary to address a driveItem via the API.");
38
+ const oneDriveGetRoot = action("ONE_DRIVE_GET_ROOT", {
39
+ slug: "one_drive-get-root",
40
+ name: "Get Drive Root Folder",
41
+ description: "Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.",
42
+ input: OneDriveGetRootInput,
43
+ output: z.object({
44
+ id: z.string().describe("The unique identifier of the root folder.").nullable().optional(),
45
+ cTag: z.string().describe("An eTag for the content of the item. This eTag is not changed if only the metadata is changed.").nullable().optional(),
46
+ eTag: z.string().describe("eTag for the entire item (metadata + content).").nullable().optional(),
47
+ name: z.string().describe("The name of the root folder.").nullable().optional(),
48
+ root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),
49
+ size: z.number().int().describe("The size of the folder in bytes, including all descendants.").nullable().optional(),
50
+ folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),
51
+ webUrl: z.string().describe("URL that displays the root folder in a browser.").nullable().optional(),
52
+ createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),
53
+ description: z.string().describe("Provide a user-visible description of the item. Optional.").nullable().optional(),
54
+ lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),
55
+ createdDateTime: z.string().describe("Date and time the root folder was created. Read-only.").nullable().optional(),
56
+ parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),
57
+ lastModifiedDateTime: z.string().describe("Date and time the root folder was last modified. Read-only.").nullable().optional()
58
+ })
59
+ });
60
+ //#endregion
61
+ export { oneDriveGetRoot };
62
+
63
+ //# sourceMappingURL=get-root.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-root.mjs","names":[],"sources":["../../src/actions/get-root.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetRootInput: z.ZodTypeAny = z.object({\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n select_fields: z.array(z.string()).describe(\"A list of properties to include in the response. Use this to retrieve specific fields and reduce the response size. Common fields include: id, name, size, createdDateTime, lastModifiedDateTime, webUrl, folder, root. If not provided, all default properties are returned.\").optional(),\n});\nconst OneDriveGetRoot_RootFacetSchema: z.ZodTypeAny = z.object({}).describe(\"Indicates that an item is the root folder in a drive. The presence (non-null) of this facet indicates that the object is the root.\");\nconst OneDriveGetRoot_FolderFacetSchema: z.ZodTypeAny = z.object({\n childCount: z.number().int().describe(\"Number of children contained immediately within this folder.\").nullable().optional(),\n});\nconst OneDriveGetRoot_IdentitySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the identity.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n});\nconst OneDriveGetRoot_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n device: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n application: OneDriveGetRoot_IdentitySchema.nullable().optional(),\n});\nconst OneDriveGetRoot_SharepointIdsSchema: z.ZodTypeAny = z.object({\n webId: z.string().describe(\"The unique identifier (guid) for the item's site (SPWeb).\").nullable().optional(),\n listId: z.string().describe(\"The unique identifier (guid) for the item's list in SharePoint.\").nullable().optional(),\n siteId: z.string().describe(\"The unique identifier (guid) for the item's site collection (SPSite).\").nullable().optional(),\n siteUrl: z.string().describe(\"The SharePoint URL for the site that contains the item.\").nullable().optional(),\n tenantId: z.string().describe(\"The unique identifier (guid) for the tenancy.\").nullable().optional(),\n listItemId: z.string().describe(\"An integer identifier for the item within the containing list.\").nullable().optional(),\n listItemUniqueId: z.string().describe(\"The unique identifier (guid) for the item within OneDrive for Business or a SharePoint site.\").nullable().optional(),\n}).describe(\"Returns identifiers useful for SharePoint REST compatibility.\");\nconst OneDriveGetRoot_ItemReferenceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the driveItem in the drive or a listItem in a list.\").nullable().optional(),\n name: z.string().describe(\"The name of the item being referenced.\").nullable().optional(),\n path: z.string().describe(\"Percent-encoded path that can be used to navigate to the item.\").nullable().optional(),\n siteId: z.string().describe(\"ID of the site that contains the parent document library of the driveItem resource.\").nullable().optional(),\n driveId: z.string().describe(\"Unique identifier of the drive instance that contains the driveItem.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for a shared resource that can be accessed via the Shares API.\").nullable().optional(),\n driveType: z.string().describe(\"Identifies the type of drive (personal, business, documentLibrary).\").nullable().optional(),\n sharepointIds: OneDriveGetRoot_SharepointIdsSchema.nullable().optional(),\n}).describe(\"Provides information necessary to address a driveItem via the API.\");\nexport const OneDriveGetRootOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the root folder.\").nullable().optional(),\n cTag: z.string().describe(\"An eTag for the content of the item. This eTag is not changed if only the metadata is changed.\").nullable().optional(),\n eTag: z.string().describe(\"eTag for the entire item (metadata + content).\").nullable().optional(),\n name: z.string().describe(\"The name of the root folder.\").nullable().optional(),\n root: OneDriveGetRoot_RootFacetSchema.nullable().optional(),\n size: z.number().int().describe(\"The size of the folder in bytes, including all descendants.\").nullable().optional(),\n folder: OneDriveGetRoot_FolderFacetSchema.nullable().optional(),\n webUrl: z.string().describe(\"URL that displays the root folder in a browser.\").nullable().optional(),\n createdBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n description: z.string().describe(\"Provide a user-visible description of the item. Optional.\").nullable().optional(),\n lastModifiedBy: OneDriveGetRoot_IdentitySetSchema.nullable().optional(),\n createdDateTime: z.string().describe(\"Date and time the root folder was created. Read-only.\").nullable().optional(),\n parentReference: OneDriveGetRoot_ItemReferenceSchema.nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"Date and time the root folder was last modified. Read-only.\").nullable().optional(),\n});\n\nexport const oneDriveGetRoot = action(\"ONE_DRIVE_GET_ROOT\", {\n slug: \"one_drive-get-root\",\n name: \"Get Drive Root Folder\",\n description: \"Tool to retrieve metadata for the root folder of the signed-in user's OneDrive. Use when you need information about the user's OneDrive root directory, such as size, child count, or web URL.\",\n input: OneDriveGetRootInput,\n output: OneDriveGetRootOutput,\n});\n"],"mappings":"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"}
@@ -0,0 +1,32 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-share.ts
4
+ const OneDriveGetShareInput = zod.z.object({
5
+ prefer_redeem: zod.z.enum(["redeemSharingLinkIfNecessary", "redeemSharingLink"]).describe("Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.").optional(),
6
+ expand_children: zod.z.boolean().default(false).describe("If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.").optional(),
7
+ share_id_or_encoded_sharing_url: zod.z.string().describe("A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'")
8
+ });
9
+ const OneDriveGetShare_IdentitySetSchema = zod.z.object({
10
+ user: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the user (id, displayName, email).").nullable().optional(),
11
+ device: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the device.").nullable().optional(),
12
+ application: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details about the application.").nullable().optional()
13
+ });
14
+ const OneDriveGetShareOutput = zod.z.object({
15
+ id: zod.z.string().describe("The unique identifier of the shared item.").nullable().optional(),
16
+ name: zod.z.string().describe("The name of the shared item.").nullable().optional(),
17
+ root: zod.z.record(zod.z.string(), zod.z.unknown()).describe("DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.").nullable().optional(),
18
+ items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.").nullable().optional(),
19
+ owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),
20
+ children: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.").nullable().optional()
21
+ });
22
+ const oneDriveGetShare = require_action.action("ONE_DRIVE_GET_SHARE", {
23
+ slug: "one_drive-get-share",
24
+ name: "Get Shared Item by ShareId",
25
+ description: "Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.",
26
+ input: OneDriveGetShareInput,
27
+ output: OneDriveGetShareOutput
28
+ });
29
+ //#endregion
30
+ exports.oneDriveGetShare = oneDriveGetShare;
31
+
32
+ //# sourceMappingURL=get-share.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-share.cjs","names":["z","action"],"sources":["../../src/actions/get-share.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetShareInput: z.ZodTypeAny = z.object({\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.\").optional(),\n share_id_or_encoded_sharing_url: z.string().describe(\"A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'\"),\n});\nconst OneDriveGetShare_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Details about the user (id, displayName, email).\").nullable().optional(),\n device: z.record(z.string(), z.unknown()).describe(\"Details about the device.\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details about the application.\").nullable().optional(),\n});\nexport const OneDriveGetShareOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the shared item.\").nullable().optional(),\n name: z.string().describe(\"The name of the shared item.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.\").nullable().optional(),\n owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.\").nullable().optional(),\n});\n\nexport const oneDriveGetShare = action(\"ONE_DRIVE_GET_SHARE\", {\n slug: \"one_drive-get-share\",\n name: \"Get Shared Item by ShareId\",\n description: \"Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.\",\n input: OneDriveGetShareInput,\n output: OneDriveGetShareOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,eAAeA,IAAAA,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;CACxX,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC/M,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6ZAA6Z;AACpd,CAAC;AACD,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC;AACD,MAAa,yBAAuCA,IAAAA,EAAE,OAAO;CAC3D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5K,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9L,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzN,CAAC;AAED,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,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/get-share.d.ts
4
+ declare const OneDriveGetShareInput: z.ZodTypeAny;
5
+ declare const OneDriveGetShareOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetShare: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetShare };
9
+ //# sourceMappingURL=get-share.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-share.d.cts","names":[],"sources":["../../src/actions/get-share.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIpC;AAAA,cAMW,sBAAA,EAAwB,CAAA,CAAE,UAOrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-share.d.ts
4
+ declare const OneDriveGetShareInput: z.ZodTypeAny;
5
+ declare const OneDriveGetShareOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetShare: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetShare };
9
+ //# sourceMappingURL=get-share.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-share.d.mts","names":[],"sources":["../../src/actions/get-share.ts"],"mappings":";;;cAIa,qBAAA,EAAuB,CAAA,CAAE,UAIpC;AAAA,cAMW,sBAAA,EAAwB,CAAA,CAAE,UAOrC;AAAA,cAEW,gBAAA,gCAAgB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,31 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-share.ts
4
+ const OneDriveGetShareInput = z.object({
5
+ prefer_redeem: z.enum(["redeemSharingLinkIfNecessary", "redeemSharingLink"]).describe("Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.").optional(),
6
+ expand_children: z.boolean().default(false).describe("If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.").optional(),
7
+ share_id_or_encoded_sharing_url: z.string().describe("A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'")
8
+ });
9
+ const OneDriveGetShare_IdentitySetSchema = z.object({
10
+ user: z.record(z.string(), z.unknown()).describe("Details about the user (id, displayName, email).").nullable().optional(),
11
+ device: z.record(z.string(), z.unknown()).describe("Details about the device.").nullable().optional(),
12
+ application: z.record(z.string(), z.unknown()).describe("Details about the application.").nullable().optional()
13
+ });
14
+ const oneDriveGetShare = action("ONE_DRIVE_GET_SHARE", {
15
+ slug: "one_drive-get-share",
16
+ name: "Get Shared Item by ShareId",
17
+ description: "Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.",
18
+ input: OneDriveGetShareInput,
19
+ output: z.object({
20
+ id: z.string().describe("The unique identifier of the shared item.").nullable().optional(),
21
+ name: z.string().describe("The name of the shared item.").nullable().optional(),
22
+ root: z.record(z.string(), z.unknown()).describe("DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.").nullable().optional(),
23
+ items: z.array(z.record(z.string(), z.unknown())).describe("Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.").nullable().optional(),
24
+ owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),
25
+ children: z.array(z.record(z.string(), z.unknown())).describe("Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.").nullable().optional()
26
+ })
27
+ });
28
+ //#endregion
29
+ export { oneDriveGetShare };
30
+
31
+ //# sourceMappingURL=get-share.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-share.mjs","names":[],"sources":["../../src/actions/get-share.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetShareInput: z.ZodTypeAny = z.object({\n prefer_redeem: z.enum([\"redeemSharingLinkIfNecessary\", \"redeemSharingLink\"]).describe(\"Controls access redemption. 'redeemSharingLink' grants durable access to the item (permanent permission). 'redeemSharingLinkIfNecessary' grants access only for this request (temporary, no lasting permission). If not specified, no Prefer header is sent and no redemption occurs.\").optional(),\n expand_children: z.boolean().default(false).describe(\"If true and the shared item is a folder, expands the children collection to include child items in the response. Only applicable for folders.\").optional(),\n share_id_or_encoded_sharing_url: z.string().describe(\"A sharing token (shareId) as returned by the API or a properly encoded sharing URL. To encode a URL: base64 encode it, convert to unpadded base64url format (remove '=' padding, replace '/' with '_', '+' with '-'), and prepend 'u!'. Example: 'u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBVEliM2JmcUhzNFNqaVp5S1E1UTVSOA'\"),\n});\nconst OneDriveGetShare_IdentitySetSchema: z.ZodTypeAny = z.object({\n user: z.record(z.string(), z.unknown()).describe(\"Details about the user (id, displayName, email).\").nullable().optional(),\n device: z.record(z.string(), z.unknown()).describe(\"Details about the device.\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details about the application.\").nullable().optional(),\n});\nexport const OneDriveGetShareOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the shared item.\").nullable().optional(),\n name: z.string().describe(\"The name of the shared item.\").nullable().optional(),\n root: z.record(z.string(), z.unknown()).describe(\"DriveItem resource representing the root of the shared item. Access via /shares/{id}/root endpoint.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Collection of driveItem resources contained within the shared item. Access via /shares/{id}/items endpoint.\").nullable().optional(),\n owner: OneDriveGetShare_IdentitySetSchema.nullable().optional(),\n children: z.array(z.record(z.string(), z.unknown())).describe(\"Children of the shared item, if expanded with $expand=children. Only populated when expand_children is true and item is a folder.\").nullable().optional(),\n});\n\nexport const oneDriveGetShare = action(\"ONE_DRIVE_GET_SHARE\", {\n slug: \"one_drive-get-share\",\n name: \"Get Shared Item by ShareId\",\n description: \"Tool to access a shared DriveItem or collection of shared items using a shareId or encoded sharing URL. Returns the sharedDriveItem resource with metadata about the shared item and its owner. Use when you have a shareId or sharing token and need information about what was shared.\",\n input: OneDriveGetShareInput,\n output: OneDriveGetShareOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAsC,EAAE,OAAO;CAC1D,eAAe,EAAE,KAAK,CAAC,gCAAgC,mBAAmB,CAAC,CAAC,CAAC,SAAS,uRAAuR,CAAC,CAAC,SAAS;CACxX,iBAAiB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CAC/M,iCAAiC,EAAE,OAAO,CAAC,CAAC,SAAS,6ZAA6Z;AACpd,CAAC;AACD,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC;AAUD,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdkD,EAAE,OAAO;EAC3D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5K,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9L,OAAO,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC9D,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mIAAmI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzN,CAOU;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-shared-items.ts
4
+ const OneDriveGetSharedItemsInput = zod.z.object({ allow_external: zod.z.boolean().default(false).describe("Set to true to include items shared from external tenants. Defaults to false, which only returns items shared within the user's own tenant.").optional() });
5
+ const OneDriveGetSharedItems_RemoteItemSchema = zod.z.object({
6
+ id: zod.z.string().describe("The unique identifier of the item in the sharer's drive."),
7
+ file: zod.z.record(zod.z.string(), zod.z.unknown()).describe("An object indicating it's a file (if applicable).").nullable().optional(),
8
+ name: zod.z.string().describe("The name of the shared file or folder."),
9
+ size: zod.z.number().int().describe("The size of the file in bytes.").nullable().optional(),
10
+ parentReference: zod.z.record(zod.z.string(), zod.z.unknown()).describe("An object containing driveId and id of the parent folder in the sharer's drive.").nullable().optional()
11
+ });
12
+ const OneDriveGetSharedItems_SharedDriveItemSchema = zod.z.object({
13
+ id: zod.z.string().describe("The ID of the shared item in the current user's drive."),
14
+ remoteItem: OneDriveGetSharedItems_RemoteItemSchema.nullable().optional()
15
+ });
16
+ const OneDriveGetSharedItemsOutput = zod.z.object({ value: zod.z.array(OneDriveGetSharedItems_SharedDriveItemSchema).default([]).describe("A collection of driveItem objects representing shared items.").nullable().optional() });
17
+ const oneDriveGetSharedItems = require_action.action("ONE_DRIVE_GET_SHARED_ITEMS", {
18
+ slug: "one_drive-get-shared-items",
19
+ name: "Get Shared Items",
20
+ description: "Tool to retrieve items shared with the authenticated user (not items the user has shared with others). Returns files and folders shared with the current user; response value array may be empty if no items exist. Use webUrl field from results for clickable links to items.",
21
+ input: OneDriveGetSharedItemsInput,
22
+ output: OneDriveGetSharedItemsOutput
23
+ });
24
+ //#endregion
25
+ exports.oneDriveGetSharedItems = oneDriveGetSharedItems;
26
+
27
+ //# sourceMappingURL=get-shared-items.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-shared-items.cjs","names":["z","action"],"sources":["../../src/actions/get-shared-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSharedItemsInput: z.ZodTypeAny = z.object({\n allow_external: z.boolean().default(false).describe(\"Set to true to include items shared from external tenants. Defaults to false, which only returns items shared within the user's own tenant.\").optional(),\n});\nconst OneDriveGetSharedItems_RemoteItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the item in the sharer's drive.\"),\n file: z.record(z.string(), z.unknown()).describe(\"An object indicating it's a file (if applicable).\").nullable().optional(),\n name: z.string().describe(\"The name of the shared file or folder.\"),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"An object containing driveId and id of the parent folder in the sharer's drive.\").nullable().optional(),\n});\nconst OneDriveGetSharedItems_SharedDriveItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the shared item in the current user's drive.\"),\n remoteItem: OneDriveGetSharedItems_RemoteItemSchema.nullable().optional(),\n});\nexport const OneDriveGetSharedItemsOutput: z.ZodTypeAny = z.object({\n value: z.array(OneDriveGetSharedItems_SharedDriveItemSchema).default([]).describe(\"A collection of driveItem objects representing shared items.\").nullable().optional(),\n});\n\nexport const oneDriveGetSharedItems = action(\"ONE_DRIVE_GET_SHARED_ITEMS\", {\n slug: \"one_drive-get-shared-items\",\n name: \"Get Shared Items\",\n description: \"Tool to retrieve items shared with the authenticated user (not items the user has shared with others). Returns files and folders shared with the current user; response value array may be empty if no items exist. Use webUrl field from results for clickable links to items.\",\n input: OneDriveGetSharedItemsInput,\n output: OneDriveGetSharedItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4CA,IAAAA,EAAE,OAAO,EAChE,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,EAC9M,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC;AACD,MAAa,+BAA6CA,IAAAA,EAAE,OAAO,EACjE,OAAOA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxK,CAAC;AAED,MAAa,yBAAyBC,eAAAA,OAAO,8BAA8B;CACzE,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/get-shared-items.d.ts
4
+ declare const OneDriveGetSharedItemsInput: z.ZodTypeAny;
5
+ declare const OneDriveGetSharedItemsOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetSharedItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetSharedItems };
9
+ //# sourceMappingURL=get-shared-items.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-shared-items.d.cts","names":[],"sources":["../../src/actions/get-shared-items.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAYW,4BAAA,EAA8B,CAAA,CAAE,UAE3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-shared-items.d.ts
4
+ declare const OneDriveGetSharedItemsInput: z.ZodTypeAny;
5
+ declare const OneDriveGetSharedItemsOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetSharedItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetSharedItems };
9
+ //# sourceMappingURL=get-shared-items.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-shared-items.d.mts","names":[],"sources":["../../src/actions/get-shared-items.ts"],"mappings":";;;cAIa,2BAAA,EAA6B,CAAA,CAAE,UAE1C;AAAA,cAYW,4BAAA,EAA8B,CAAA,CAAE,UAE3C;AAAA,cAEW,sBAAA,gCAAsB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,26 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-shared-items.ts
4
+ const OneDriveGetSharedItemsInput = z.object({ allow_external: z.boolean().default(false).describe("Set to true to include items shared from external tenants. Defaults to false, which only returns items shared within the user's own tenant.").optional() });
5
+ const OneDriveGetSharedItems_RemoteItemSchema = z.object({
6
+ id: z.string().describe("The unique identifier of the item in the sharer's drive."),
7
+ file: z.record(z.string(), z.unknown()).describe("An object indicating it's a file (if applicable).").nullable().optional(),
8
+ name: z.string().describe("The name of the shared file or folder."),
9
+ size: z.number().int().describe("The size of the file in bytes.").nullable().optional(),
10
+ parentReference: z.record(z.string(), z.unknown()).describe("An object containing driveId and id of the parent folder in the sharer's drive.").nullable().optional()
11
+ });
12
+ const OneDriveGetSharedItems_SharedDriveItemSchema = z.object({
13
+ id: z.string().describe("The ID of the shared item in the current user's drive."),
14
+ remoteItem: OneDriveGetSharedItems_RemoteItemSchema.nullable().optional()
15
+ });
16
+ const oneDriveGetSharedItems = action("ONE_DRIVE_GET_SHARED_ITEMS", {
17
+ slug: "one_drive-get-shared-items",
18
+ name: "Get Shared Items",
19
+ description: "Tool to retrieve items shared with the authenticated user (not items the user has shared with others). Returns files and folders shared with the current user; response value array may be empty if no items exist. Use webUrl field from results for clickable links to items.",
20
+ input: OneDriveGetSharedItemsInput,
21
+ output: z.object({ value: z.array(OneDriveGetSharedItems_SharedDriveItemSchema).default([]).describe("A collection of driveItem objects representing shared items.").nullable().optional() })
22
+ });
23
+ //#endregion
24
+ export { oneDriveGetSharedItems };
25
+
26
+ //# sourceMappingURL=get-shared-items.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-shared-items.mjs","names":[],"sources":["../../src/actions/get-shared-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSharedItemsInput: z.ZodTypeAny = z.object({\n allow_external: z.boolean().default(false).describe(\"Set to true to include items shared from external tenants. Defaults to false, which only returns items shared within the user's own tenant.\").optional(),\n});\nconst OneDriveGetSharedItems_RemoteItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the item in the sharer's drive.\"),\n file: z.record(z.string(), z.unknown()).describe(\"An object indicating it's a file (if applicable).\").nullable().optional(),\n name: z.string().describe(\"The name of the shared file or folder.\"),\n size: z.number().int().describe(\"The size of the file in bytes.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"An object containing driveId and id of the parent folder in the sharer's drive.\").nullable().optional(),\n});\nconst OneDriveGetSharedItems_SharedDriveItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the shared item in the current user's drive.\"),\n remoteItem: OneDriveGetSharedItems_RemoteItemSchema.nullable().optional(),\n});\nexport const OneDriveGetSharedItemsOutput: z.ZodTypeAny = z.object({\n value: z.array(OneDriveGetSharedItems_SharedDriveItemSchema).default([]).describe(\"A collection of driveItem objects representing shared items.\").nullable().optional(),\n});\n\nexport const oneDriveGetSharedItems = action(\"ONE_DRIVE_GET_SHARED_ITEMS\", {\n slug: \"one_drive-get-shared-items\",\n name: \"Get Shared Items\",\n description: \"Tool to retrieve items shared with the authenticated user (not items the user has shared with others). Returns files and folders shared with the current user; response value array may be empty if no items exist. Use webUrl field from results for clickable links to items.\",\n input: OneDriveGetSharedItemsInput,\n output: OneDriveGetSharedItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA4C,EAAE,OAAO,EAChE,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS,EAC9M,CAAC;AACD,MAAM,0CAAwD,EAAE,OAAO;CACrE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CAClF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CAChF,YAAY,wCAAwC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC;AAKD,MAAa,yBAAyB,OAAO,8BAA8B;CACzE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwD,EAAE,OAAO,EACjE,OAAO,EAAE,MAAM,4CAA4C,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACxK,CAOU;AACV,CAAC"}
@@ -0,0 +1,34 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-sharepoint-list-items.ts
4
+ const OneDriveGetSharepointListItemsInput = zod.z.object({
5
+ top: zod.z.number().int().describe("The maximum number of items to return in a single response. Used for pagination.").optional(),
6
+ skip: zod.z.number().int().describe("The number of items to skip in the result set. Used for pagination.").optional(),
7
+ count: zod.z.boolean().describe("If true, returns the total count of items in the @odata.count property.").optional(),
8
+ expand: zod.z.string().describe("A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.").optional(),
9
+ filter: zod.z.string().describe("An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.").optional(),
10
+ select: zod.z.string().describe("A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.").optional(),
11
+ list_id: zod.z.string().describe("The unique identifier of the list within the SharePoint site."),
12
+ orderby: zod.z.string().describe("OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.").optional(),
13
+ site_id: zod.z.string().describe("The unique identifier of the SharePoint site.")
14
+ });
15
+ const OneDriveGetSharepointListItems_ListItemSchema = zod.z.object({
16
+ id: zod.z.string().describe("The unique ID of the list item."),
17
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).").nullable().optional()
18
+ });
19
+ const OneDriveGetSharepointListItemsOutput = zod.z.object({
20
+ value: zod.z.array(OneDriveGetSharepointListItems_ListItemSchema).describe("A collection of listItem objects."),
21
+ "@odata.count": zod.z.number().int().describe("The total count of items in the collection, if requested with $count=true.").nullable().optional(),
22
+ "@odata.nextLink": zod.z.string().describe("URL to retrieve the next page of items, if applicable.").nullable().optional()
23
+ });
24
+ const oneDriveGetSharepointListItems = require_action.action("ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS", {
25
+ slug: "one_drive-get-sharepoint-list-items",
26
+ name: "Get SharePoint List Items",
27
+ description: "Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.",
28
+ input: OneDriveGetSharepointListItemsInput,
29
+ output: OneDriveGetSharepointListItemsOutput
30
+ });
31
+ //#endregion
32
+ exports.oneDriveGetSharepointListItems = oneDriveGetSharepointListItems;
33
+
34
+ //# sourceMappingURL=get-sharepoint-list-items.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sharepoint-list-items.cjs","names":["z","action"],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSharepointListItemsInput: z.ZodTypeAny = z.object({\n top: z.number().int().describe(\"The maximum number of items to return in a single response. Used for pagination.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip in the result set. Used for pagination.\").optional(),\n count: z.boolean().describe(\"If true, returns the total count of items in the @odata.count property.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.\").optional(),\n filter: z.string().describe(\"An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.\").optional(),\n select: z.string().describe(\"A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.\").optional(),\n list_id: z.string().describe(\"The unique identifier of the list within the SharePoint site.\"),\n orderby: z.string().describe(\"OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSharepointListItems_ListItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the list item.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).\").nullable().optional(),\n});\nexport const OneDriveGetSharepointListItemsOutput: z.ZodTypeAny = z.object({\n value: z.array(OneDriveGetSharepointListItems_ListItemSchema).describe(\"A collection of listItem objects.\"),\n \"@odata.count\": z.number().int().describe(\"The total count of items in the collection, if requested with $count=true.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of items, if applicable.\").nullable().optional(),\n});\n\nexport const oneDriveGetSharepointListItems = action(\"ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS\", {\n slug: \"one_drive-get-sharepoint-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.\",\n input: OneDriveGetSharepointListItemsInput,\n output: OneDriveGetSharepointListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoDA,IAAAA,EAAE,OAAO;CACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC5H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2ZAA2Z,CAAC,CAAC,SAAS;CAClc,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACrL,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACrM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC9E,CAAC;AACD,MAAM,gDAA8DA,IAAAA,EAAE,OAAO;CAC3E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClR,CAAC;AACD,MAAa,uCAAqDA,IAAAA,EAAE,OAAO;CACzE,OAAOA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,mCAAmC;CAC1G,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvH,CAAC;AAED,MAAa,iCAAiCC,eAAAA,OAAO,uCAAuC;CAC1F,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/get-sharepoint-list-items.d.ts
4
+ declare const OneDriveGetSharepointListItemsInput: z.ZodTypeAny;
5
+ declare const OneDriveGetSharepointListItemsOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetSharepointListItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetSharepointListItems };
9
+ //# sourceMappingURL=get-sharepoint-list-items.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sharepoint-list-items.d.cts","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAUlD;AAAA,cAKW,oCAAA,EAAsC,CAAA,CAAE,UAInD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-sharepoint-list-items.d.ts
4
+ declare const OneDriveGetSharepointListItemsInput: z.ZodTypeAny;
5
+ declare const OneDriveGetSharepointListItemsOutput: z.ZodTypeAny;
6
+ declare const oneDriveGetSharepointListItems: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { oneDriveGetSharepointListItems };
9
+ //# sourceMappingURL=get-sharepoint-list-items.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sharepoint-list-items.d.mts","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"mappings":";;;cAIa,mCAAA,EAAqC,CAAA,CAAE,UAUlD;AAAA,cAKW,oCAAA,EAAsC,CAAA,CAAE,UAInD;AAAA,cAEW,8BAAA,gCAA8B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,33 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-sharepoint-list-items.ts
4
+ const OneDriveGetSharepointListItemsInput = z.object({
5
+ top: z.number().int().describe("The maximum number of items to return in a single response. Used for pagination.").optional(),
6
+ skip: z.number().int().describe("The number of items to skip in the result set. Used for pagination.").optional(),
7
+ count: z.boolean().describe("If true, returns the total count of items in the @odata.count property.").optional(),
8
+ expand: z.string().describe("A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.").optional(),
9
+ filter: z.string().describe("An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.").optional(),
10
+ select: z.string().describe("A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.").optional(),
11
+ list_id: z.string().describe("The unique identifier of the list within the SharePoint site."),
12
+ orderby: z.string().describe("OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.").optional(),
13
+ site_id: z.string().describe("The unique identifier of the SharePoint site.")
14
+ });
15
+ const OneDriveGetSharepointListItems_ListItemSchema = z.object({
16
+ id: z.string().describe("The unique ID of the list item."),
17
+ fields: z.record(z.string(), z.unknown()).describe("An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).").nullable().optional()
18
+ });
19
+ const oneDriveGetSharepointListItems = action("ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS", {
20
+ slug: "one_drive-get-sharepoint-list-items",
21
+ name: "Get SharePoint List Items",
22
+ description: "Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.",
23
+ input: OneDriveGetSharepointListItemsInput,
24
+ output: z.object({
25
+ value: z.array(OneDriveGetSharepointListItems_ListItemSchema).describe("A collection of listItem objects."),
26
+ "@odata.count": z.number().int().describe("The total count of items in the collection, if requested with $count=true.").nullable().optional(),
27
+ "@odata.nextLink": z.string().describe("URL to retrieve the next page of items, if applicable.").nullable().optional()
28
+ })
29
+ });
30
+ //#endregion
31
+ export { oneDriveGetSharepointListItems };
32
+
33
+ //# sourceMappingURL=get-sharepoint-list-items.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-sharepoint-list-items.mjs","names":[],"sources":["../../src/actions/get-sharepoint-list-items.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveGetSharepointListItemsInput: z.ZodTypeAny = z.object({\n top: z.number().int().describe(\"The maximum number of items to return in a single response. Used for pagination.\").optional(),\n skip: z.number().int().describe(\"The number of items to skip in the result set. Used for pagination.\").optional(),\n count: z.boolean().describe(\"If true, returns the total count of items in the @odata.count property.\").optional(),\n expand: z.string().describe(\"A comma-separated list of relationships to expand, or 'fields($select=columnName1,columnName2)' to retrieve specific fields. For example, to get specific columns 'Name' and 'Color', use 'fields($select=Name,Color)'. SharePoint internal field names may differ from display names; call without expand first (or use 'fields' alone) to discover actual internal names before filtering or selecting specific fields.\").optional(),\n filter: z.string().describe(\"An OData filter query to restrict the results. For example, to filter items where 'Quantity' is less than 600, use 'fields/Quantity lt 600'.\").optional(),\n select: z.string().describe(\"A comma-separated list of properties to include in the response. Often used in conjunction with '$expand=fields(select=...)'. For example, 'id,name,fields'.\").optional(),\n list_id: z.string().describe(\"The unique identifier of the list within the SharePoint site.\"),\n orderby: z.string().describe(\"OData order by expression to sort results. For example, 'fields/Name asc' or 'fields/Quantity desc'.\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site.\"),\n});\nconst OneDriveGetSharepointListItems_ListItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the list item.\"),\n fields: z.record(z.string(), z.unknown()).describe(\"An object containing the key-value pairs of the list item's columns and their values. Supports primitive types, arrays, and nested objects (e.g., lookup fields, person fields, multi-select fields).\").nullable().optional(),\n});\nexport const OneDriveGetSharepointListItemsOutput: z.ZodTypeAny = z.object({\n value: z.array(OneDriveGetSharepointListItems_ListItemSchema).describe(\"A collection of listItem objects.\"),\n \"@odata.count\": z.number().int().describe(\"The total count of items in the collection, if requested with $count=true.\").nullable().optional(),\n \"@odata.nextLink\": z.string().describe(\"URL to retrieve the next page of items, if applicable.\").nullable().optional(),\n});\n\nexport const oneDriveGetSharepointListItems = action(\"ONE_DRIVE_GET_SHAREPOINT_LIST_ITEMS\", {\n slug: \"one_drive-get-sharepoint-list-items\",\n name: \"Get SharePoint List Items\",\n description: \"Tool to get the items (list items) within a specific SharePoint list on a site. Use when you need to retrieve data from a SharePoint list.\",\n input: OneDriveGetSharepointListItemsInput,\n output: OneDriveGetSharepointListItemsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sCAAoD,EAAE,OAAO;CACxE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS;CAC5H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CAChH,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2ZAA2Z,CAAC,CAAC,SAAS;CAClc,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACrL,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J,CAAC,CAAC,SAAS;CACrM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CAC9I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;AAC9E,CAAC;AACD,MAAM,gDAA8D,EAAE,OAAO;CAC3E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CACzD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClR,CAAC;AAOD,MAAa,iCAAiC,OAAO,uCAAuC;CAC1F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXgE,EAAE,OAAO;EACzE,OAAO,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,mCAAmC;EAC1G,gBAAgB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,CAOU;AACV,CAAC"}