@keystrokehq/one_drive 0.1.0 → 0.1.2

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 (620) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-workbook-worksheet.cjs +4 -4
  5. package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
  6. package/dist/actions/add-workbook-worksheet.d.cts +18 -3
  7. package/dist/actions/add-workbook-worksheet.d.cts.map +1 -1
  8. package/dist/actions/add-workbook-worksheet.d.mts +18 -3
  9. package/dist/actions/add-workbook-worksheet.d.mts.map +1 -1
  10. package/dist/actions/add-workbook-worksheet.mjs +4 -4
  11. package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
  12. package/dist/actions/checkin-item.cjs +1 -1
  13. package/dist/actions/checkin-item.cjs.map +1 -1
  14. package/dist/actions/checkin-item.d.cts +15 -3
  15. package/dist/actions/checkin-item.d.cts.map +1 -1
  16. package/dist/actions/checkin-item.d.mts +15 -3
  17. package/dist/actions/checkin-item.d.mts.map +1 -1
  18. package/dist/actions/checkin-item.mjs +1 -1
  19. package/dist/actions/checkin-item.mjs.map +1 -1
  20. package/dist/actions/checkout-item.cjs +1 -1
  21. package/dist/actions/checkout-item.cjs.map +1 -1
  22. package/dist/actions/checkout-item.d.cts +11 -3
  23. package/dist/actions/checkout-item.d.cts.map +1 -1
  24. package/dist/actions/checkout-item.d.mts +11 -3
  25. package/dist/actions/checkout-item.d.mts.map +1 -1
  26. package/dist/actions/checkout-item.mjs +1 -1
  27. package/dist/actions/checkout-item.mjs.map +1 -1
  28. package/dist/actions/clear-workbook-range.cjs +1 -1
  29. package/dist/actions/clear-workbook-range.cjs.map +1 -1
  30. package/dist/actions/clear-workbook-range.d.cts +23 -3
  31. package/dist/actions/clear-workbook-range.d.cts.map +1 -1
  32. package/dist/actions/clear-workbook-range.d.mts +23 -3
  33. package/dist/actions/clear-workbook-range.d.mts.map +1 -1
  34. package/dist/actions/clear-workbook-range.mjs +1 -1
  35. package/dist/actions/clear-workbook-range.mjs.map +1 -1
  36. package/dist/actions/copy-item.cjs +2 -2
  37. package/dist/actions/copy-item.cjs.map +1 -1
  38. package/dist/actions/copy-item.d.cts +42 -3
  39. package/dist/actions/copy-item.d.cts.map +1 -1
  40. package/dist/actions/copy-item.d.mts +42 -3
  41. package/dist/actions/copy-item.d.mts.map +1 -1
  42. package/dist/actions/copy-item.mjs +2 -2
  43. package/dist/actions/copy-item.mjs.map +1 -1
  44. package/dist/actions/create-item-permission.cjs +1 -1
  45. package/dist/actions/create-item-permission.cjs.map +1 -1
  46. package/dist/actions/create-item-permission.d.cts +100 -3
  47. package/dist/actions/create-item-permission.d.cts.map +1 -1
  48. package/dist/actions/create-item-permission.d.mts +100 -3
  49. package/dist/actions/create-item-permission.d.mts.map +1 -1
  50. package/dist/actions/create-item-permission.mjs +1 -1
  51. package/dist/actions/create-item-permission.mjs.map +1 -1
  52. package/dist/actions/create-link.cjs +1 -1
  53. package/dist/actions/create-link.cjs.map +1 -1
  54. package/dist/actions/create-link.d.cts +48 -3
  55. package/dist/actions/create-link.d.cts.map +1 -1
  56. package/dist/actions/create-link.d.mts +48 -3
  57. package/dist/actions/create-link.d.mts.map +1 -1
  58. package/dist/actions/create-link.mjs +1 -1
  59. package/dist/actions/create-link.mjs.map +1 -1
  60. package/dist/actions/create-sharepoint-list-item.cjs +1 -1
  61. package/dist/actions/create-sharepoint-list-item.cjs.map +1 -1
  62. package/dist/actions/create-sharepoint-list-item.d.cts +17 -3
  63. package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
  64. package/dist/actions/create-sharepoint-list-item.d.mts +17 -3
  65. package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
  66. package/dist/actions/create-sharepoint-list-item.mjs +1 -1
  67. package/dist/actions/create-sharepoint-list-item.mjs.map +1 -1
  68. package/dist/actions/delete-item-permanently.cjs +1 -1
  69. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  70. package/dist/actions/delete-item-permanently.d.cts +11 -3
  71. package/dist/actions/delete-item-permanently.d.cts.map +1 -1
  72. package/dist/actions/delete-item-permanently.d.mts +11 -3
  73. package/dist/actions/delete-item-permanently.d.mts.map +1 -1
  74. package/dist/actions/delete-item-permanently.mjs +1 -1
  75. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  76. package/dist/actions/delete-item-permission.cjs +1 -1
  77. package/dist/actions/delete-item-permission.cjs.map +1 -1
  78. package/dist/actions/delete-item-permission.d.cts +19 -3
  79. package/dist/actions/delete-item-permission.d.cts.map +1 -1
  80. package/dist/actions/delete-item-permission.d.mts +19 -3
  81. package/dist/actions/delete-item-permission.d.mts.map +1 -1
  82. package/dist/actions/delete-item-permission.mjs +1 -1
  83. package/dist/actions/delete-item-permission.mjs.map +1 -1
  84. package/dist/actions/delete-item.cjs +1 -1
  85. package/dist/actions/delete-item.cjs.map +1 -1
  86. package/dist/actions/delete-item.d.cts +15 -3
  87. package/dist/actions/delete-item.d.cts.map +1 -1
  88. package/dist/actions/delete-item.d.mts +15 -3
  89. package/dist/actions/delete-item.d.mts.map +1 -1
  90. package/dist/actions/delete-item.mjs +1 -1
  91. package/dist/actions/delete-item.mjs.map +1 -1
  92. package/dist/actions/delete-share-permission.cjs +1 -1
  93. package/dist/actions/delete-share-permission.cjs.map +1 -1
  94. package/dist/actions/delete-share-permission.d.cts +9 -3
  95. package/dist/actions/delete-share-permission.d.cts.map +1 -1
  96. package/dist/actions/delete-share-permission.d.mts +9 -3
  97. package/dist/actions/delete-share-permission.d.mts.map +1 -1
  98. package/dist/actions/delete-share-permission.mjs +1 -1
  99. package/dist/actions/delete-share-permission.mjs.map +1 -1
  100. package/dist/actions/delete-sharepoint-item-permission.cjs +3 -3
  101. package/dist/actions/delete-sharepoint-item-permission.cjs.map +1 -1
  102. package/dist/actions/delete-sharepoint-item-permission.d.cts +17 -3
  103. package/dist/actions/delete-sharepoint-item-permission.d.cts.map +1 -1
  104. package/dist/actions/delete-sharepoint-item-permission.d.mts +17 -3
  105. package/dist/actions/delete-sharepoint-item-permission.d.mts.map +1 -1
  106. package/dist/actions/delete-sharepoint-item-permission.mjs +3 -3
  107. package/dist/actions/delete-sharepoint-item-permission.mjs.map +1 -1
  108. package/dist/actions/delete-workbook-range.cjs +1 -1
  109. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  110. package/dist/actions/delete-workbook-range.d.cts +20 -3
  111. package/dist/actions/delete-workbook-range.d.cts.map +1 -1
  112. package/dist/actions/delete-workbook-range.d.mts +20 -3
  113. package/dist/actions/delete-workbook-range.d.mts.map +1 -1
  114. package/dist/actions/delete-workbook-range.mjs +1 -1
  115. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  116. package/dist/actions/delete-workbook-worksheet.cjs +2 -2
  117. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  118. package/dist/actions/delete-workbook-worksheet.d.cts +16 -3
  119. package/dist/actions/delete-workbook-worksheet.d.cts.map +1 -1
  120. package/dist/actions/delete-workbook-worksheet.d.mts +16 -3
  121. package/dist/actions/delete-workbook-worksheet.d.mts.map +1 -1
  122. package/dist/actions/delete-workbook-worksheet.mjs +2 -2
  123. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  124. package/dist/actions/discard-checkout.cjs +1 -1
  125. package/dist/actions/discard-checkout.cjs.map +1 -1
  126. package/dist/actions/discard-checkout.d.cts +11 -3
  127. package/dist/actions/discard-checkout.d.cts.map +1 -1
  128. package/dist/actions/discard-checkout.d.mts +11 -3
  129. package/dist/actions/discard-checkout.d.mts.map +1 -1
  130. package/dist/actions/discard-checkout.mjs +1 -1
  131. package/dist/actions/discard-checkout.mjs.map +1 -1
  132. package/dist/actions/download-file-by-path.cjs +3 -3
  133. package/dist/actions/download-file-by-path.cjs.map +1 -1
  134. package/dist/actions/download-file-by-path.d.cts +17 -3
  135. package/dist/actions/download-file-by-path.d.cts.map +1 -1
  136. package/dist/actions/download-file-by-path.d.mts +17 -3
  137. package/dist/actions/download-file-by-path.d.mts.map +1 -1
  138. package/dist/actions/download-file-by-path.mjs +3 -3
  139. package/dist/actions/download-file-by-path.mjs.map +1 -1
  140. package/dist/actions/download-file.cjs +4 -4
  141. package/dist/actions/download-file.cjs.map +1 -1
  142. package/dist/actions/download-file.d.cts +26 -3
  143. package/dist/actions/download-file.d.cts.map +1 -1
  144. package/dist/actions/download-file.d.mts +26 -3
  145. package/dist/actions/download-file.d.mts.map +1 -1
  146. package/dist/actions/download-file.mjs +4 -4
  147. package/dist/actions/download-file.mjs.map +1 -1
  148. package/dist/actions/download-item-as-format.cjs +3 -3
  149. package/dist/actions/download-item-as-format.cjs.map +1 -1
  150. package/dist/actions/download-item-as-format.d.cts +26 -3
  151. package/dist/actions/download-item-as-format.d.cts.map +1 -1
  152. package/dist/actions/download-item-as-format.d.mts +26 -3
  153. package/dist/actions/download-item-as-format.d.mts.map +1 -1
  154. package/dist/actions/download-item-as-format.mjs +3 -3
  155. package/dist/actions/download-item-as-format.mjs.map +1 -1
  156. package/dist/actions/download-item-version.cjs +3 -3
  157. package/dist/actions/download-item-version.cjs.map +1 -1
  158. package/dist/actions/download-item-version.d.cts +19 -3
  159. package/dist/actions/download-item-version.d.cts.map +1 -1
  160. package/dist/actions/download-item-version.d.mts +19 -3
  161. package/dist/actions/download-item-version.d.mts.map +1 -1
  162. package/dist/actions/download-item-version.mjs +3 -3
  163. package/dist/actions/download-item-version.mjs.map +1 -1
  164. package/dist/actions/follow-item.cjs.map +1 -1
  165. package/dist/actions/follow-item.d.cts +23 -3
  166. package/dist/actions/follow-item.d.cts.map +1 -1
  167. package/dist/actions/follow-item.d.mts +23 -3
  168. package/dist/actions/follow-item.d.mts.map +1 -1
  169. package/dist/actions/follow-item.mjs.map +1 -1
  170. package/dist/actions/get-document-comments.cjs +2 -2
  171. package/dist/actions/get-document-comments.cjs.map +1 -1
  172. package/dist/actions/get-document-comments.d.cts +25 -3
  173. package/dist/actions/get-document-comments.d.cts.map +1 -1
  174. package/dist/actions/get-document-comments.d.mts +25 -3
  175. package/dist/actions/get-document-comments.d.mts.map +1 -1
  176. package/dist/actions/get-document-comments.mjs +2 -2
  177. package/dist/actions/get-document-comments.mjs.map +1 -1
  178. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  179. package/dist/actions/get-drive-item-by-sharing-url.d.cts +42 -3
  180. package/dist/actions/get-drive-item-by-sharing-url.d.cts.map +1 -1
  181. package/dist/actions/get-drive-item-by-sharing-url.d.mts +42 -3
  182. package/dist/actions/get-drive-item-by-sharing-url.d.mts.map +1 -1
  183. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  184. package/dist/actions/get-drive.cjs.map +1 -1
  185. package/dist/actions/get-drive.d.cts +96 -3
  186. package/dist/actions/get-drive.d.cts.map +1 -1
  187. package/dist/actions/get-drive.d.mts +96 -3
  188. package/dist/actions/get-drive.d.mts.map +1 -1
  189. package/dist/actions/get-drive.mjs.map +1 -1
  190. package/dist/actions/get-followed-item.cjs.map +1 -1
  191. package/dist/actions/get-followed-item.d.cts +41 -3
  192. package/dist/actions/get-followed-item.d.cts.map +1 -1
  193. package/dist/actions/get-followed-item.d.mts +41 -3
  194. package/dist/actions/get-followed-item.d.mts.map +1 -1
  195. package/dist/actions/get-followed-item.mjs.map +1 -1
  196. package/dist/actions/get-group-drive.cjs.map +1 -1
  197. package/dist/actions/get-group-drive.d.cts +94 -3
  198. package/dist/actions/get-group-drive.d.cts.map +1 -1
  199. package/dist/actions/get-group-drive.d.mts +94 -3
  200. package/dist/actions/get-group-drive.d.mts.map +1 -1
  201. package/dist/actions/get-group-drive.mjs.map +1 -1
  202. package/dist/actions/get-item-permissions.cjs +1 -1
  203. package/dist/actions/get-item-permissions.cjs.map +1 -1
  204. package/dist/actions/get-item-permissions.d.cts +125 -3
  205. package/dist/actions/get-item-permissions.d.cts.map +1 -1
  206. package/dist/actions/get-item-permissions.d.mts +125 -3
  207. package/dist/actions/get-item-permissions.d.mts.map +1 -1
  208. package/dist/actions/get-item-permissions.mjs +1 -1
  209. package/dist/actions/get-item-permissions.mjs.map +1 -1
  210. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  211. package/dist/actions/get-item-thumbnails.d.cts +39 -3
  212. package/dist/actions/get-item-thumbnails.d.cts.map +1 -1
  213. package/dist/actions/get-item-thumbnails.d.mts +39 -3
  214. package/dist/actions/get-item-thumbnails.d.mts.map +1 -1
  215. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  216. package/dist/actions/get-item-versions.cjs +2 -2
  217. package/dist/actions/get-item-versions.cjs.map +1 -1
  218. package/dist/actions/get-item-versions.d.cts +56 -3
  219. package/dist/actions/get-item-versions.d.cts.map +1 -1
  220. package/dist/actions/get-item-versions.d.mts +56 -3
  221. package/dist/actions/get-item-versions.d.mts.map +1 -1
  222. package/dist/actions/get-item-versions.mjs +2 -2
  223. package/dist/actions/get-item-versions.mjs.map +1 -1
  224. package/dist/actions/get-item.cjs +1 -1
  225. package/dist/actions/get-item.cjs.map +1 -1
  226. package/dist/actions/get-item.d.cts +137 -3
  227. package/dist/actions/get-item.d.cts.map +1 -1
  228. package/dist/actions/get-item.d.mts +137 -3
  229. package/dist/actions/get-item.d.mts.map +1 -1
  230. package/dist/actions/get-item.mjs +1 -1
  231. package/dist/actions/get-item.mjs.map +1 -1
  232. package/dist/actions/get-root.cjs.map +1 -1
  233. package/dist/actions/get-root.d.cts +69 -3
  234. package/dist/actions/get-root.d.cts.map +1 -1
  235. package/dist/actions/get-root.d.mts +69 -3
  236. package/dist/actions/get-root.d.mts.map +1 -1
  237. package/dist/actions/get-root.mjs.map +1 -1
  238. package/dist/actions/get-share.cjs.map +1 -1
  239. package/dist/actions/get-share.d.cts +25 -3
  240. package/dist/actions/get-share.d.cts.map +1 -1
  241. package/dist/actions/get-share.d.mts +25 -3
  242. package/dist/actions/get-share.d.mts.map +1 -1
  243. package/dist/actions/get-share.mjs.map +1 -1
  244. package/dist/actions/get-sharepoint-list-items.cjs +1 -1
  245. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  246. package/dist/actions/get-sharepoint-list-items.d.cts +30 -3
  247. package/dist/actions/get-sharepoint-list-items.d.cts.map +1 -1
  248. package/dist/actions/get-sharepoint-list-items.d.mts +30 -3
  249. package/dist/actions/get-sharepoint-list-items.d.mts.map +1 -1
  250. package/dist/actions/get-sharepoint-list-items.mjs +1 -1
  251. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  252. package/dist/actions/get-site-page-content.cjs.map +1 -1
  253. package/dist/actions/get-site-page-content.d.cts +68 -3
  254. package/dist/actions/get-site-page-content.d.cts.map +1 -1
  255. package/dist/actions/get-site-page-content.d.mts +68 -3
  256. package/dist/actions/get-site-page-content.d.mts.map +1 -1
  257. package/dist/actions/get-site-page-content.mjs.map +1 -1
  258. package/dist/actions/get-site.cjs +1 -1
  259. package/dist/actions/get-site.cjs.map +1 -1
  260. package/dist/actions/get-site.d.cts +24 -3
  261. package/dist/actions/get-site.d.cts.map +1 -1
  262. package/dist/actions/get-site.d.mts +24 -3
  263. package/dist/actions/get-site.d.mts.map +1 -1
  264. package/dist/actions/get-site.mjs +1 -1
  265. package/dist/actions/get-site.mjs.map +1 -1
  266. package/dist/actions/get-special-folder.cjs.map +1 -1
  267. package/dist/actions/get-special-folder.d.cts +70 -3
  268. package/dist/actions/get-special-folder.d.cts.map +1 -1
  269. package/dist/actions/get-special-folder.d.mts +70 -3
  270. package/dist/actions/get-special-folder.d.mts.map +1 -1
  271. package/dist/actions/get-special-folder.mjs.map +1 -1
  272. package/dist/actions/get-user.cjs.map +1 -1
  273. package/dist/actions/get-user.d.cts +33 -3
  274. package/dist/actions/get-user.d.cts.map +1 -1
  275. package/dist/actions/get-user.d.mts +33 -3
  276. package/dist/actions/get-user.d.mts.map +1 -1
  277. package/dist/actions/get-user.mjs.map +1 -1
  278. package/dist/actions/get-workbook-used-range.cjs +6 -6
  279. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  280. package/dist/actions/get-workbook-used-range.d.cts +33 -3
  281. package/dist/actions/get-workbook-used-range.d.cts.map +1 -1
  282. package/dist/actions/get-workbook-used-range.d.mts +33 -3
  283. package/dist/actions/get-workbook-used-range.d.mts.map +1 -1
  284. package/dist/actions/get-workbook-used-range.mjs +6 -6
  285. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  286. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  287. package/dist/actions/get-workbook-worksheet.d.cts +20 -3
  288. package/dist/actions/get-workbook-worksheet.d.cts.map +1 -1
  289. package/dist/actions/get-workbook-worksheet.d.mts +20 -3
  290. package/dist/actions/get-workbook-worksheet.d.mts.map +1 -1
  291. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  292. package/dist/actions/grant-share-permission.cjs +1 -1
  293. package/dist/actions/grant-share-permission.cjs.map +1 -1
  294. package/dist/actions/grant-share-permission.d.cts +26 -3
  295. package/dist/actions/grant-share-permission.d.cts.map +1 -1
  296. package/dist/actions/grant-share-permission.d.mts +26 -3
  297. package/dist/actions/grant-share-permission.d.mts.map +1 -1
  298. package/dist/actions/grant-share-permission.mjs +1 -1
  299. package/dist/actions/grant-share-permission.mjs.map +1 -1
  300. package/dist/actions/grant-sharepoint-item-permission.cjs.map +1 -1
  301. package/dist/actions/grant-sharepoint-item-permission.d.cts +27 -3
  302. package/dist/actions/grant-sharepoint-item-permission.d.cts.map +1 -1
  303. package/dist/actions/grant-sharepoint-item-permission.d.mts +27 -3
  304. package/dist/actions/grant-sharepoint-item-permission.d.mts.map +1 -1
  305. package/dist/actions/grant-sharepoint-item-permission.mjs.map +1 -1
  306. package/dist/actions/index.cjs +4 -4
  307. package/dist/actions/index.d.cts +3 -3
  308. package/dist/actions/index.d.mts +3 -3
  309. package/dist/actions/index.mjs +3 -3
  310. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  311. package/dist/actions/invite-user-to-item.d.cts +61 -3
  312. package/dist/actions/invite-user-to-item.d.cts.map +1 -1
  313. package/dist/actions/invite-user-to-item.d.mts +61 -3
  314. package/dist/actions/invite-user-to-item.d.mts.map +1 -1
  315. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  316. package/dist/actions/list-activities.cjs.map +1 -1
  317. package/dist/actions/list-activities.d.cts +274 -3
  318. package/dist/actions/list-activities.d.cts.map +1 -1
  319. package/dist/actions/list-activities.d.mts +274 -3
  320. package/dist/actions/list-activities.d.mts.map +1 -1
  321. package/dist/actions/list-activities.mjs.map +1 -1
  322. package/dist/actions/list-all-drive-items.cjs +1 -1
  323. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  324. package/dist/actions/list-all-drive-items.d.cts +218 -3
  325. package/dist/actions/list-all-drive-items.d.cts.map +1 -1
  326. package/dist/actions/list-all-drive-items.d.mts +218 -3
  327. package/dist/actions/list-all-drive-items.d.mts.map +1 -1
  328. package/dist/actions/list-all-drive-items.mjs +1 -1
  329. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  330. package/dist/actions/list-bundles.cjs +1 -1
  331. package/dist/actions/list-bundles.cjs.map +1 -1
  332. package/dist/actions/list-bundles.d.cts +68 -3
  333. package/dist/actions/list-bundles.d.cts.map +1 -1
  334. package/dist/actions/list-bundles.d.mts +68 -3
  335. package/dist/actions/list-bundles.d.mts.map +1 -1
  336. package/dist/actions/list-bundles.mjs +1 -1
  337. package/dist/actions/list-bundles.mjs.map +1 -1
  338. package/dist/actions/list-drives.cjs.map +1 -1
  339. package/dist/actions/list-drives.d.cts +60 -3
  340. package/dist/actions/list-drives.d.cts.map +1 -1
  341. package/dist/actions/list-drives.d.mts +60 -3
  342. package/dist/actions/list-drives.d.mts.map +1 -1
  343. package/dist/actions/list-drives.mjs.map +1 -1
  344. package/dist/actions/list-folder-children.cjs.map +1 -1
  345. package/dist/actions/list-folder-children.d.cts +228 -3
  346. package/dist/actions/list-folder-children.d.cts.map +1 -1
  347. package/dist/actions/list-folder-children.d.mts +228 -3
  348. package/dist/actions/list-folder-children.d.mts.map +1 -1
  349. package/dist/actions/list-folder-children.mjs.map +1 -1
  350. package/dist/actions/list-item-activities.cjs +2 -2
  351. package/dist/actions/list-item-activities.cjs.map +1 -1
  352. package/dist/actions/list-item-activities.d.cts +24 -3
  353. package/dist/actions/list-item-activities.d.cts.map +1 -1
  354. package/dist/actions/list-item-activities.d.mts +24 -3
  355. package/dist/actions/list-item-activities.d.mts.map +1 -1
  356. package/dist/actions/list-item-activities.mjs +2 -2
  357. package/dist/actions/list-item-activities.mjs.map +1 -1
  358. package/dist/actions/list-onedrive-shared-items.cjs +45 -0
  359. package/dist/actions/list-onedrive-shared-items.cjs.map +1 -0
  360. package/dist/actions/list-onedrive-shared-items.d.cts +41 -0
  361. package/dist/actions/list-onedrive-shared-items.d.cts.map +1 -0
  362. package/dist/actions/list-onedrive-shared-items.d.mts +41 -0
  363. package/dist/actions/list-onedrive-shared-items.d.mts.map +1 -0
  364. package/dist/actions/list-onedrive-shared-items.mjs +44 -0
  365. package/dist/actions/list-onedrive-shared-items.mjs.map +1 -0
  366. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  367. package/dist/actions/list-root-drive-changes.d.cts +42 -3
  368. package/dist/actions/list-root-drive-changes.d.cts.map +1 -1
  369. package/dist/actions/list-root-drive-changes.d.mts +42 -3
  370. package/dist/actions/list-root-drive-changes.d.mts.map +1 -1
  371. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  372. package/dist/actions/list-share-permissions.cjs.map +1 -1
  373. package/dist/actions/list-share-permissions.d.cts +18 -3
  374. package/dist/actions/list-share-permissions.d.cts.map +1 -1
  375. package/dist/actions/list-share-permissions.d.mts +18 -3
  376. package/dist/actions/list-share-permissions.d.mts.map +1 -1
  377. package/dist/actions/list-share-permissions.mjs.map +1 -1
  378. package/dist/actions/list-sharepoint-item-permissions.cjs.map +1 -1
  379. package/dist/actions/list-sharepoint-item-permissions.d.cts +19 -3
  380. package/dist/actions/list-sharepoint-item-permissions.d.cts.map +1 -1
  381. package/dist/actions/list-sharepoint-item-permissions.d.mts +19 -3
  382. package/dist/actions/list-sharepoint-item-permissions.d.mts.map +1 -1
  383. package/dist/actions/list-sharepoint-item-permissions.mjs.map +1 -1
  384. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  385. package/dist/actions/list-sharepoint-list-items-delta.d.cts +31 -3
  386. package/dist/actions/list-sharepoint-list-items-delta.d.cts.map +1 -1
  387. package/dist/actions/list-sharepoint-list-items-delta.d.mts +31 -3
  388. package/dist/actions/list-sharepoint-list-items-delta.d.mts.map +1 -1
  389. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  390. package/dist/actions/list-site-columns.cjs.map +1 -1
  391. package/dist/actions/list-site-columns.d.cts +46 -3
  392. package/dist/actions/list-site-columns.d.cts.map +1 -1
  393. package/dist/actions/list-site-columns.d.mts +46 -3
  394. package/dist/actions/list-site-columns.d.mts.map +1 -1
  395. package/dist/actions/list-site-columns.mjs.map +1 -1
  396. package/dist/actions/list-site-items-delta.cjs +1 -1
  397. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  398. package/dist/actions/list-site-items-delta.d.cts +25 -3
  399. package/dist/actions/list-site-items-delta.d.cts.map +1 -1
  400. package/dist/actions/list-site-items-delta.d.mts +25 -3
  401. package/dist/actions/list-site-items-delta.d.mts.map +1 -1
  402. package/dist/actions/list-site-items-delta.mjs +1 -1
  403. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  404. package/dist/actions/list-site-lists.cjs.map +1 -1
  405. package/dist/actions/list-site-lists.d.cts +82 -3
  406. package/dist/actions/list-site-lists.d.cts.map +1 -1
  407. package/dist/actions/list-site-lists.d.mts +82 -3
  408. package/dist/actions/list-site-lists.d.mts.map +1 -1
  409. package/dist/actions/list-site-lists.mjs.map +1 -1
  410. package/dist/actions/list-site-subsites.cjs.map +1 -1
  411. package/dist/actions/list-site-subsites.d.cts +28 -3
  412. package/dist/actions/list-site-subsites.d.cts.map +1 -1
  413. package/dist/actions/list-site-subsites.d.mts +28 -3
  414. package/dist/actions/list-site-subsites.d.mts.map +1 -1
  415. package/dist/actions/list-site-subsites.mjs.map +1 -1
  416. package/dist/actions/list-subscriptions.cjs +7 -7
  417. package/dist/actions/list-subscriptions.cjs.map +1 -1
  418. package/dist/actions/list-subscriptions.d.cts +23 -3
  419. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  420. package/dist/actions/list-subscriptions.d.mts +23 -3
  421. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  422. package/dist/actions/list-subscriptions.mjs +7 -7
  423. package/dist/actions/list-subscriptions.mjs.map +1 -1
  424. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  425. package/dist/actions/list-workbook-worksheets.d.cts +26 -3
  426. package/dist/actions/list-workbook-worksheets.d.cts.map +1 -1
  427. package/dist/actions/list-workbook-worksheets.d.mts +26 -3
  428. package/dist/actions/list-workbook-worksheets.d.mts.map +1 -1
  429. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  430. package/dist/actions/move-item.cjs +2 -2
  431. package/dist/actions/move-item.cjs.map +1 -1
  432. package/dist/actions/move-item.d.cts +38 -3
  433. package/dist/actions/move-item.d.cts.map +1 -1
  434. package/dist/actions/move-item.d.mts +38 -3
  435. package/dist/actions/move-item.d.mts.map +1 -1
  436. package/dist/actions/move-item.mjs +2 -2
  437. package/dist/actions/move-item.mjs.map +1 -1
  438. package/dist/actions/onedrive-create-folder.cjs +3 -3
  439. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  440. package/dist/actions/onedrive-create-folder.d.cts +23 -3
  441. package/dist/actions/onedrive-create-folder.d.cts.map +1 -1
  442. package/dist/actions/onedrive-create-folder.d.mts +23 -3
  443. package/dist/actions/onedrive-create-folder.d.mts.map +1 -1
  444. package/dist/actions/onedrive-create-folder.mjs +3 -3
  445. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  446. package/dist/actions/onedrive-create-text-file.cjs +3 -3
  447. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  448. package/dist/actions/onedrive-create-text-file.d.cts +24 -3
  449. package/dist/actions/onedrive-create-text-file.d.cts.map +1 -1
  450. package/dist/actions/onedrive-create-text-file.d.mts +24 -3
  451. package/dist/actions/onedrive-create-text-file.d.mts.map +1 -1
  452. package/dist/actions/onedrive-create-text-file.mjs +3 -3
  453. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  454. package/dist/actions/onedrive-find-file.cjs +1 -1
  455. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  456. package/dist/actions/onedrive-find-file.d.cts +95 -3
  457. package/dist/actions/onedrive-find-file.d.cts.map +1 -1
  458. package/dist/actions/onedrive-find-file.d.mts +95 -3
  459. package/dist/actions/onedrive-find-file.d.mts.map +1 -1
  460. package/dist/actions/onedrive-find-file.mjs +1 -1
  461. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  462. package/dist/actions/onedrive-find-folder.cjs +1 -1
  463. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  464. package/dist/actions/onedrive-find-folder.d.cts +85 -3
  465. package/dist/actions/onedrive-find-folder.d.cts.map +1 -1
  466. package/dist/actions/onedrive-find-folder.d.mts +85 -3
  467. package/dist/actions/onedrive-find-folder.d.mts.map +1 -1
  468. package/dist/actions/onedrive-find-folder.mjs +1 -1
  469. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  470. package/dist/actions/onedrive-list-items.cjs +1 -1
  471. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  472. package/dist/actions/onedrive-list-items.d.cts +187 -3
  473. package/dist/actions/onedrive-list-items.d.cts.map +1 -1
  474. package/dist/actions/onedrive-list-items.d.mts +187 -3
  475. package/dist/actions/onedrive-list-items.d.mts.map +1 -1
  476. package/dist/actions/onedrive-list-items.mjs +1 -1
  477. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  478. package/dist/actions/onedrive-upload-file.cjs +3 -3
  479. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  480. package/dist/actions/onedrive-upload-file.d.cts +62 -3
  481. package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
  482. package/dist/actions/onedrive-upload-file.d.mts +62 -3
  483. package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
  484. package/dist/actions/onedrive-upload-file.mjs +3 -3
  485. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  486. package/dist/actions/preview-drive-item.cjs.map +1 -1
  487. package/dist/actions/preview-drive-item.d.cts +25 -3
  488. package/dist/actions/preview-drive-item.d.cts.map +1 -1
  489. package/dist/actions/preview-drive-item.d.mts +25 -3
  490. package/dist/actions/preview-drive-item.d.mts.map +1 -1
  491. package/dist/actions/preview-drive-item.mjs.map +1 -1
  492. package/dist/actions/read-workbook-range.cjs +6 -6
  493. package/dist/actions/read-workbook-range.cjs.map +1 -1
  494. package/dist/actions/read-workbook-range.d.cts +35 -3
  495. package/dist/actions/read-workbook-range.d.cts.map +1 -1
  496. package/dist/actions/read-workbook-range.d.mts +35 -3
  497. package/dist/actions/read-workbook-range.d.mts.map +1 -1
  498. package/dist/actions/read-workbook-range.mjs +6 -6
  499. package/dist/actions/read-workbook-range.mjs.map +1 -1
  500. package/dist/actions/restore-drive-item.cjs.map +1 -1
  501. package/dist/actions/restore-drive-item.d.cts +24 -3
  502. package/dist/actions/restore-drive-item.d.cts.map +1 -1
  503. package/dist/actions/restore-drive-item.d.mts +24 -3
  504. package/dist/actions/restore-drive-item.d.mts.map +1 -1
  505. package/dist/actions/restore-drive-item.mjs.map +1 -1
  506. package/dist/actions/restore-item-version.cjs +1 -1
  507. package/dist/actions/restore-item-version.cjs.map +1 -1
  508. package/dist/actions/restore-item-version.d.cts +15 -3
  509. package/dist/actions/restore-item-version.d.cts.map +1 -1
  510. package/dist/actions/restore-item-version.d.mts +15 -3
  511. package/dist/actions/restore-item-version.d.mts.map +1 -1
  512. package/dist/actions/restore-item-version.mjs +1 -1
  513. package/dist/actions/restore-item-version.mjs.map +1 -1
  514. package/dist/actions/search-drive-items.cjs +45 -0
  515. package/dist/actions/search-drive-items.cjs.map +1 -0
  516. package/dist/actions/search-drive-items.d.cts +42 -0
  517. package/dist/actions/search-drive-items.d.cts.map +1 -0
  518. package/dist/actions/search-drive-items.d.mts +42 -0
  519. package/dist/actions/search-drive-items.d.mts.map +1 -0
  520. package/dist/actions/search-drive-items.mjs +44 -0
  521. package/dist/actions/search-drive-items.mjs.map +1 -0
  522. package/dist/actions/search-items.cjs.map +1 -1
  523. package/dist/actions/search-items.d.cts +109 -3
  524. package/dist/actions/search-items.d.cts.map +1 -1
  525. package/dist/actions/search-items.d.mts +109 -3
  526. package/dist/actions/search-items.d.mts.map +1 -1
  527. package/dist/actions/search-items.mjs.map +1 -1
  528. package/dist/actions/unfollow-item.cjs +1 -1
  529. package/dist/actions/unfollow-item.cjs.map +1 -1
  530. package/dist/actions/unfollow-item.d.cts +9 -3
  531. package/dist/actions/unfollow-item.d.cts.map +1 -1
  532. package/dist/actions/unfollow-item.d.mts +9 -3
  533. package/dist/actions/unfollow-item.d.mts.map +1 -1
  534. package/dist/actions/unfollow-item.mjs +1 -1
  535. package/dist/actions/unfollow-item.mjs.map +1 -1
  536. package/dist/actions/update-drive-item-metadata.cjs +2 -2
  537. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  538. package/dist/actions/update-drive-item-metadata.d.cts +61 -3
  539. package/dist/actions/update-drive-item-metadata.d.cts.map +1 -1
  540. package/dist/actions/update-drive-item-metadata.d.mts +61 -3
  541. package/dist/actions/update-drive-item-metadata.d.mts.map +1 -1
  542. package/dist/actions/update-drive-item-metadata.mjs +2 -2
  543. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  544. package/dist/actions/update-drive-items-permissions.cjs +1 -1
  545. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  546. package/dist/actions/update-drive-items-permissions.d.cts +82 -3
  547. package/dist/actions/update-drive-items-permissions.d.cts.map +1 -1
  548. package/dist/actions/update-drive-items-permissions.d.mts +82 -3
  549. package/dist/actions/update-drive-items-permissions.d.mts.map +1 -1
  550. package/dist/actions/update-drive-items-permissions.mjs +1 -1
  551. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  552. package/dist/actions/update-file-content.cjs +1 -1
  553. package/dist/actions/update-file-content.cjs.map +1 -1
  554. package/dist/actions/update-file-content.d.cts +69 -3
  555. package/dist/actions/update-file-content.d.cts.map +1 -1
  556. package/dist/actions/update-file-content.d.mts +69 -3
  557. package/dist/actions/update-file-content.d.mts.map +1 -1
  558. package/dist/actions/update-file-content.mjs +1 -1
  559. package/dist/actions/update-file-content.mjs.map +1 -1
  560. package/dist/actions/update-sharepoint-item-permission.cjs.map +1 -1
  561. package/dist/actions/update-sharepoint-item-permission.d.cts +17 -3
  562. package/dist/actions/update-sharepoint-item-permission.d.cts.map +1 -1
  563. package/dist/actions/update-sharepoint-item-permission.d.mts +17 -3
  564. package/dist/actions/update-sharepoint-item-permission.d.mts.map +1 -1
  565. package/dist/actions/update-sharepoint-item-permission.mjs.map +1 -1
  566. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  567. package/dist/actions/update-sharepoint-list-item-fields.d.cts +17 -3
  568. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
  569. package/dist/actions/update-sharepoint-list-item-fields.d.mts +17 -3
  570. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
  571. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  572. package/dist/actions/update-workbook-range.cjs +10 -10
  573. package/dist/actions/update-workbook-range.cjs.map +1 -1
  574. package/dist/actions/update-workbook-range.d.cts +39 -3
  575. package/dist/actions/update-workbook-range.d.cts.map +1 -1
  576. package/dist/actions/update-workbook-range.d.mts +39 -3
  577. package/dist/actions/update-workbook-range.d.mts.map +1 -1
  578. package/dist/actions/update-workbook-range.mjs +10 -10
  579. package/dist/actions/update-workbook-range.mjs.map +1 -1
  580. package/dist/actions/update-workbook-worksheet.cjs +4 -4
  581. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  582. package/dist/actions/update-workbook-worksheet.d.cts +28 -3
  583. package/dist/actions/update-workbook-worksheet.d.cts.map +1 -1
  584. package/dist/actions/update-workbook-worksheet.d.mts +28 -3
  585. package/dist/actions/update-workbook-worksheet.d.mts.map +1 -1
  586. package/dist/actions/update-workbook-worksheet.mjs +4 -4
  587. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  588. package/dist/actions/write-workbook-cell.cjs +4 -4
  589. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  590. package/dist/actions/write-workbook-cell.d.cts +41 -3
  591. package/dist/actions/write-workbook-cell.d.cts.map +1 -1
  592. package/dist/actions/write-workbook-cell.d.mts +41 -3
  593. package/dist/actions/write-workbook-cell.d.mts.map +1 -1
  594. package/dist/actions/write-workbook-cell.mjs +4 -4
  595. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  596. package/dist/execute.cjs +1 -1
  597. package/dist/execute.cjs.map +1 -1
  598. package/dist/execute.mjs +1 -1
  599. package/dist/execute.mjs.map +1 -1
  600. package/dist/index.cjs +4 -4
  601. package/dist/index.d.cts +3 -3
  602. package/dist/index.d.mts +3 -3
  603. package/dist/index.mjs +3 -3
  604. package/package.json +2 -2
  605. package/dist/actions/get-recent-items.cjs +0 -47
  606. package/dist/actions/get-recent-items.cjs.map +0 -1
  607. package/dist/actions/get-recent-items.d.cts +0 -9
  608. package/dist/actions/get-recent-items.d.cts.map +0 -1
  609. package/dist/actions/get-recent-items.d.mts +0 -9
  610. package/dist/actions/get-recent-items.d.mts.map +0 -1
  611. package/dist/actions/get-recent-items.mjs +0 -46
  612. package/dist/actions/get-recent-items.mjs.map +0 -1
  613. package/dist/actions/get-shared-items.cjs +0 -27
  614. package/dist/actions/get-shared-items.cjs.map +0 -1
  615. package/dist/actions/get-shared-items.d.cts +0 -9
  616. package/dist/actions/get-shared-items.d.cts.map +0 -1
  617. package/dist/actions/get-shared-items.d.mts +0 -9
  618. package/dist/actions/get-shared-items.d.mts.map +0 -1
  619. package/dist/actions/get-shared-items.mjs +0 -26
  620. package/dist/actions/get-shared-items.mjs.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"update-file-content.cjs","names":["z","action"],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema: z.ZodTypeAny = z.object({}).describe(\"Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).\");\nexport const OneDriveUpdateFileContentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the updated DriveItem. Same as input item_id unless conflict_behavior caused a rename. Populated only when `file` was provided.\").nullable().optional(),\n file: OneDriveUpdateFileContent_FileObjectSchema.nullable().optional(),\n name: z.string().describe(\"Final name of the updated DriveItem. Populated only when `file` was provided.\").nullable().optional(),\n size: z.number().int().describe(\"Final size of the file in bytes. Populated only when `file` was provided.\").nullable().optional(),\n uploadUrl: z.string().describe(\"The resumable upload URL where file bytes should be uploaded using PUT requests. Returned only when `file` was not provided.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the upload session. Returned only when `file` was not provided.\").nullable().optional(),\n nextExpectedRanges: z.array(z.string()).describe(\"Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.\").nullable().optional(),\n});\n\nexport const oneDriveUpdateFileContent = action(\"ONE_DRIVE_UPDATE_FILE_CONTENT\", {\n slug: \"one_drive-update-file-content\",\n name: \"Update File Content\",\n description: \"Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file` (FileUploadable), the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.\",\n input: OneDriveUpdateFileContentInput,\n output: OneDriveUpdateFileContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uVAAuV,CAAC,CAAC,SAAS;CAC5W,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACzL,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC9K,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACvK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kQAAkQ,CAAC,CAAC,SAAS;CAChT,cAAcA,IAAAA,EAAE,OAAO,EACvB,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAA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AAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtJ,oBAAoBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxL,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-file-content.cjs","names":["z","action"],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema = z.object({}).describe(\"Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).\");\nexport const OneDriveUpdateFileContentOutput = z.object({\n id: z.string().describe(\"ID of the updated DriveItem. Same as input item_id unless conflict_behavior caused a rename. Populated only when `file` was provided.\").nullable().optional(),\n file: OneDriveUpdateFileContent_FileObjectSchema.nullable().optional(),\n name: z.string().describe(\"Final name of the updated DriveItem. Populated only when `file` was provided.\").nullable().optional(),\n size: z.number().int().describe(\"Final size of the file in bytes. Populated only when `file` was provided.\").nullable().optional(),\n uploadUrl: z.string().describe(\"The resumable upload URL where file bytes should be uploaded using PUT requests. Returned only when `file` was not provided.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the upload session. Returned only when `file` was not provided.\").nullable().optional(),\n nextExpectedRanges: z.array(z.string()).describe(\"Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.\").nullable().optional(),\n});\n\nexport const oneDriveUpdateFileContent = action(\"ONE_DRIVE_UPDATE_FILE_CONTENT\", {\n slug: \"one_drive-update-file-content\",\n name: \"Update File Content\",\n description: \"Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.\",\n input: OneDriveUpdateFileContentInput,\n output: OneDriveUpdateFileContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uVAAuV,CAAC,CAAC,SAAS;CAC5W,SAASA,IAAAA,EAAE,OAAO,CAAC,CAA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ContentInput: z.ZodTypeAny;
5
- declare const OneDriveUpdateFileContentOutput: z.ZodTypeAny;
6
- declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveUpdateFileContentInput: z.ZodObject<{
5
+ file: z.ZodOptional<z.ZodObject<{
6
+ name: z.ZodString;
7
+ s3key: z.ZodString;
8
+ mimetype: z.ZodString;
9
+ }, z.core.$strip>>;
10
+ item_id: z.ZodString;
11
+ site_id: z.ZodOptional<z.ZodString>;
12
+ user_id: z.ZodOptional<z.ZodString>;
13
+ drive_id: z.ZodOptional<z.ZodString>;
14
+ group_id: z.ZodOptional<z.ZodString>;
15
+ defer_commit: z.ZodOptional<z.ZodBoolean>;
16
+ media_source: z.ZodOptional<z.ZodObject<{
17
+ contentCategory: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ if_match_etag: z.ZodOptional<z.ZodString>;
20
+ file_system_info: z.ZodOptional<z.ZodObject<{
21
+ createdDateTime: z.ZodOptional<z.ZodString>;
22
+ lastAccessedDateTime: z.ZodOptional<z.ZodString>;
23
+ lastModifiedDateTime: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>>;
25
+ conflict_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
26
+ replace: "replace";
27
+ fail: "fail";
28
+ rename: "rename";
29
+ }>>>;
30
+ drive_item_source: z.ZodOptional<z.ZodObject<{
31
+ externalId: z.ZodOptional<z.ZodString>;
32
+ application: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ if_none_match_etag: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ declare const OneDriveUpdateFileContentOutput: z.ZodObject<{
37
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
39
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ uploadUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ nextExpectedRanges: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
44
+ }, z.core.$strip>;
45
+ declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowActionDefinition<{
46
+ item_id: string;
47
+ file?: {
48
+ name: string;
49
+ s3key: string;
50
+ mimetype: string;
51
+ } | undefined;
52
+ site_id?: string | undefined;
53
+ user_id?: string | undefined;
54
+ drive_id?: string | undefined;
55
+ group_id?: string | undefined;
56
+ defer_commit?: boolean | undefined;
57
+ media_source?: {
58
+ contentCategory?: string | undefined;
59
+ } | undefined;
60
+ if_match_etag?: string | undefined;
61
+ file_system_info?: {
62
+ createdDateTime?: string | undefined;
63
+ lastAccessedDateTime?: string | undefined;
64
+ lastModifiedDateTime?: string | undefined;
65
+ } | undefined;
66
+ conflict_behavior?: "replace" | "fail" | "rename" | undefined;
67
+ drive_item_source?: {
68
+ externalId?: string | undefined;
69
+ application?: string | undefined;
70
+ } | undefined;
71
+ if_none_match_etag?: string | undefined;
72
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
73
  //#endregion
8
74
  export { oneDriveUpdateFileContent };
9
75
  //# sourceMappingURL=update-file-content.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-file-content.d.cts","names":[],"sources":["../../src/actions/update-file-content.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UA2B7C;AAAA,cAEW,+BAAA,EAAiC,CAAA,CAAE,UAQ9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-file-content.d.cts","names":[],"sources":["../../src/actions/update-file-content.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAU/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,75 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-file-content.d.ts
4
- declare const OneDriveUpdateFileContentInput: z.ZodTypeAny;
5
- declare const OneDriveUpdateFileContentOutput: z.ZodTypeAny;
6
- declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveUpdateFileContentInput: z.ZodObject<{
5
+ file: z.ZodOptional<z.ZodObject<{
6
+ name: z.ZodString;
7
+ s3key: z.ZodString;
8
+ mimetype: z.ZodString;
9
+ }, z.core.$strip>>;
10
+ item_id: z.ZodString;
11
+ site_id: z.ZodOptional<z.ZodString>;
12
+ user_id: z.ZodOptional<z.ZodString>;
13
+ drive_id: z.ZodOptional<z.ZodString>;
14
+ group_id: z.ZodOptional<z.ZodString>;
15
+ defer_commit: z.ZodOptional<z.ZodBoolean>;
16
+ media_source: z.ZodOptional<z.ZodObject<{
17
+ contentCategory: z.ZodOptional<z.ZodString>;
18
+ }, z.core.$strip>>;
19
+ if_match_etag: z.ZodOptional<z.ZodString>;
20
+ file_system_info: z.ZodOptional<z.ZodObject<{
21
+ createdDateTime: z.ZodOptional<z.ZodString>;
22
+ lastAccessedDateTime: z.ZodOptional<z.ZodString>;
23
+ lastModifiedDateTime: z.ZodOptional<z.ZodString>;
24
+ }, z.core.$strip>>;
25
+ conflict_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
26
+ replace: "replace";
27
+ fail: "fail";
28
+ rename: "rename";
29
+ }>>>;
30
+ drive_item_source: z.ZodOptional<z.ZodObject<{
31
+ externalId: z.ZodOptional<z.ZodString>;
32
+ application: z.ZodOptional<z.ZodString>;
33
+ }, z.core.$strip>>;
34
+ if_none_match_etag: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strip>;
36
+ declare const OneDriveUpdateFileContentOutput: z.ZodObject<{
37
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
+ file: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
39
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
+ size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
41
+ uploadUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
+ expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
+ nextExpectedRanges: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
44
+ }, z.core.$strip>;
45
+ declare const oneDriveUpdateFileContent: import("@keystrokehq/action").WorkflowActionDefinition<{
46
+ item_id: string;
47
+ file?: {
48
+ name: string;
49
+ s3key: string;
50
+ mimetype: string;
51
+ } | undefined;
52
+ site_id?: string | undefined;
53
+ user_id?: string | undefined;
54
+ drive_id?: string | undefined;
55
+ group_id?: string | undefined;
56
+ defer_commit?: boolean | undefined;
57
+ media_source?: {
58
+ contentCategory?: string | undefined;
59
+ } | undefined;
60
+ if_match_etag?: string | undefined;
61
+ file_system_info?: {
62
+ createdDateTime?: string | undefined;
63
+ lastAccessedDateTime?: string | undefined;
64
+ lastModifiedDateTime?: string | undefined;
65
+ } | undefined;
66
+ conflict_behavior?: "replace" | "fail" | "rename" | undefined;
67
+ drive_item_source?: {
68
+ externalId?: string | undefined;
69
+ application?: string | undefined;
70
+ } | undefined;
71
+ if_none_match_etag?: string | undefined;
72
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
73
  //#endregion
8
74
  export { oneDriveUpdateFileContent };
9
75
  //# sourceMappingURL=update-file-content.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-file-content.d.mts","names":[],"sources":["../../src/actions/update-file-content.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UA2B7C;AAAA,cAEW,+BAAA,EAAiC,CAAA,CAAE,UAQ9C;AAAA,cAEW,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-file-content.d.mts","names":[],"sources":["../../src/actions/update-file-content.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6B9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;cAU/B,yBAAA,gCAAyB,wBAAA"}
@@ -35,7 +35,7 @@ const OneDriveUpdateFileContent_FileObjectSchema = z.object({}).describe("Contai
35
35
  const oneDriveUpdateFileContent = action("ONE_DRIVE_UPDATE_FILE_CONTENT", {
36
36
  slug: "one_drive-update-file-content",
37
37
  name: "Update File Content",
38
- description: "Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file` (FileUploadable), the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.",
38
+ description: "Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.",
39
39
  input: OneDriveUpdateFileContentInput,
40
40
  output: z.object({
41
41
  id: z.string().describe("ID of the updated DriveItem. Same as input item_id unless conflict_behavior caused a rename. Populated only when `file` was provided.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-file-content.mjs","names":[],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput: z.ZodTypeAny = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema: z.ZodTypeAny = z.object({}).describe(\"Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).\");\nexport const OneDriveUpdateFileContentOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"ID of the updated DriveItem. Same as input item_id unless conflict_behavior caused a rename. Populated only when `file` was provided.\").nullable().optional(),\n file: OneDriveUpdateFileContent_FileObjectSchema.nullable().optional(),\n name: z.string().describe(\"Final name of the updated DriveItem. Populated only when `file` was provided.\").nullable().optional(),\n size: z.number().int().describe(\"Final size of the file in bytes. Populated only when `file` was provided.\").nullable().optional(),\n uploadUrl: z.string().describe(\"The resumable upload URL where file bytes should be uploaded using PUT requests. Returned only when `file` was not provided.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the upload session. Returned only when `file` was not provided.\").nullable().optional(),\n nextExpectedRanges: z.array(z.string()).describe(\"Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.\").nullable().optional(),\n});\n\nexport const oneDriveUpdateFileContent = action(\"ONE_DRIVE_UPDATE_FILE_CONTENT\", {\n slug: \"one_drive-update-file-content\",\n name: \"Update File Content\",\n description: \"Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file` (FileUploadable), the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.\",\n input: OneDriveUpdateFileContentInput,\n output: OneDriveUpdateFileContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uVAAuV,CAAC,CAAC,SAAS;CAC5W,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACzL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC9K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACvK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kQAAkQ,CAAC,CAAC,SAAS;CAChT,cAAc,EAAE,OAAO,EACvB,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,EAChH,CAAC,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC9F,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;CACtN,kBAAkB,EAAE,OAAO;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AC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-file-content.mjs","names":[],"sources":["../../src/actions/update-file-content.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateFileContentInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"Optional file content to upload. When provided, the action creates an upload session, streams the file bytes in chunks, and returns the updated DriveItem (id/name/size/file). When omitted, the action only creates the upload session and returns its uploadUrl + session metadata, leaving subsequent PUT uploads to the caller (legacy behavior).\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) to update.\"),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id, group_id, and user_id.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. If provided, uses /users/{userId}/drive. Mutually exclusive with drive_id, site_id, and group_id.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, uses /me/drive. Mutually exclusive with site_id, group_id, and user_id.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. If provided, uses /groups/{groupId}/drive. Mutually exclusive with drive_id, site_id, and user_id.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for very large files when the caller drives the upload themselves. Ignored when `file` is provided — the chunked upload always commits the session at the end.\").optional(),\n media_source: z.object({\n contentCategory: z.string().describe(\"Enumeration value that indicates the media content category.\").optional(),\n}).describe(\"Media source information. Only on OneDrive for Business and SharePoint.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the update will only proceed if the current file's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"replace\", \"fail\", \"rename\"]).default(\"replace\").describe(\"How to handle conflicts when updating the file. 'replace' overwrites the existing content (default), 'fail' returns an error if conflict occurs, 'rename' creates a new file with a different name.\").optional(),\n drive_item_source: z.object({\n externalId: z.string().describe(\"The external identifier for the drive item from the source.\").optional(),\n application: z.string().describe(\"Enumeration value that indicates the source application.\").optional(),\n}).describe(\"Information about the drive item source. Only on OneDrive for Business and SharePoint.\").optional(),\n if_none_match_etag: z.string().describe(\"An ETag value to prevent updates if the item already exists. If provided and the ETag matches, returns 412 error. Used to detect if the item has changed.\").optional(),\n});\nconst OneDriveUpdateFileContent_FileObjectSchema = z.object({}).describe(\"Container for OneDrive-specific file metadata in the response (shape mirrors upload_file).\");\nexport const OneDriveUpdateFileContentOutput = z.object({\n id: z.string().describe(\"ID of the updated DriveItem. Same as input item_id unless conflict_behavior caused a rename. Populated only when `file` was provided.\").nullable().optional(),\n file: OneDriveUpdateFileContent_FileObjectSchema.nullable().optional(),\n name: z.string().describe(\"Final name of the updated DriveItem. Populated only when `file` was provided.\").nullable().optional(),\n size: z.number().int().describe(\"Final size of the file in bytes. Populated only when `file` was provided.\").nullable().optional(),\n uploadUrl: z.string().describe(\"The resumable upload URL where file bytes should be uploaded using PUT requests. Returned only when `file` was not provided.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the upload session. Returned only when `file` was not provided.\").nullable().optional(),\n nextExpectedRanges: z.array(z.string()).describe(\"Array of byte ranges still needed for the upload (e.g., ['26-']). Returned only when `file` was not provided.\").nullable().optional(),\n});\n\nexport const oneDriveUpdateFileContent = action(\"ONE_DRIVE_UPDATE_FILE_CONTENT\", {\n slug: \"one_drive-update-file-content\",\n name: \"Update File Content\",\n description: \"Tool to update an existing file's content in OneDrive. When called without a `file` parameter, creates an upload session and returns its uploadUrl (legacy behavior — caller drives the PUT uploads). When called with a `file`, the action streams the file's bytes in chunks via the upload session and returns the final updated DriveItem. The item's ID is preserved (existing share links remain valid) unless conflict_behavior=rename causes the server to create a new item.\",\n input: OneDriveUpdateFileContentInput,\n output: OneDriveUpdateFileContentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uVAAuV,CAAC,CAAC,SAAS;CAC5W,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;CACzL,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC9K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACvK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wIAAwI,CAAC,CAAC,SAAS;CACjL,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,kQAAkQ,CAAC,CAAC,SAAS;CAChT,cAAc,EAAE,OAAO,EACvB,iBAAiB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AM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/H,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtJ,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,+GAA+G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-item-permission.cjs","names":["z","action"],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointItemPermissionInput: z.ZodTypeAny = z.object({\n roles: z.array(z.string()).describe(\"Roles to set on the permission, such as read or write.\"),\n item_id: z.string().describe(\"Optional SharePoint list item ID. Provide this to update a list-item permission; omit it to update a list-level permission.\").optional(),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n permission_id: z.string().describe(\"The Microsoft Graph permission ID to update.\"),\n});\nexport const OneDriveUpdateSharepointItemPermissionOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Microsoft Graph response payload.\"),\n}).passthrough();\n\nexport const oneDriveUpdateSharepointItemPermission = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_ITEM_PERMISSION\", {\n slug: \"one_drive-update-sharepoint-item-permission\",\n name: \"Update SharePoint Item Permission\",\n description: \"Update an application permission on a SharePoint list or list item using Microsoft Graph beta.\",\n input: OneDriveUpdateSharepointItemPermissionInput,\n output: OneDriveUpdateSharepointItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACnF,CAAC;AACD,MAAa,+CAA6DA,IAAAA,EAAE,OAAO,EACjF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-sharepoint-item-permission.cjs","names":["z","action"],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Roles to set on the permission, such as read or write.\"),\n item_id: z.string().describe(\"Optional SharePoint list item ID. Provide this to update a list-item permission; omit it to update a list-level permission.\").optional(),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n permission_id: z.string().describe(\"The Microsoft Graph permission ID to update.\"),\n});\nexport const OneDriveUpdateSharepointItemPermissionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Microsoft Graph response payload.\"),\n}).passthrough();\n\nexport const oneDriveUpdateSharepointItemPermission = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_ITEM_PERMISSION\", {\n slug: \"one_drive-update-sharepoint-item-permission\",\n name: \"Update SharePoint Item Permission\",\n description: \"Update an application permission on a SharePoint list or list item using Microsoft Graph beta.\",\n input: OneDriveUpdateSharepointItemPermissionInput,\n output: OneDriveUpdateSharepointItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD;CAC5F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;CACrK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CACpF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;AACnF,CAAC;AACD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACtF,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,yCAAyCC,eAAAA,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-sharepoint-item-permission.d.ts
4
- declare const OneDriveUpdateSharepointItemPermissionInput: z.ZodTypeAny;
5
- declare const OneDriveUpdateSharepointItemPermissionOutput: z.ZodTypeAny;
6
- declare const oneDriveUpdateSharepointItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveUpdateSharepointItemPermissionInput: z.ZodObject<{
5
+ roles: z.ZodArray<z.ZodString>;
6
+ item_id: z.ZodOptional<z.ZodString>;
7
+ list_id: z.ZodString;
8
+ site_id: z.ZodString;
9
+ permission_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const OneDriveUpdateSharepointItemPermissionOutput: z.ZodObject<{
12
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ }, z.core.$loose>;
14
+ declare const oneDriveUpdateSharepointItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ roles: string[];
16
+ list_id: string;
17
+ site_id: string;
18
+ permission_id: string;
19
+ item_id?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { oneDriveUpdateSharepointItemPermission };
9
23
  //# sourceMappingURL=update-sharepoint-item-permission.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-item-permission.d.cts","names":[],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAM1D;AAAA,cACW,4CAAA,EAA8C,CAAA,CAAE,UAE7C;AAAA,cAEH,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-sharepoint-item-permission.d.cts","names":[],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-sharepoint-item-permission.d.ts
4
- declare const OneDriveUpdateSharepointItemPermissionInput: z.ZodTypeAny;
5
- declare const OneDriveUpdateSharepointItemPermissionOutput: z.ZodTypeAny;
6
- declare const oneDriveUpdateSharepointItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveUpdateSharepointItemPermissionInput: z.ZodObject<{
5
+ roles: z.ZodArray<z.ZodString>;
6
+ item_id: z.ZodOptional<z.ZodString>;
7
+ list_id: z.ZodString;
8
+ site_id: z.ZodString;
9
+ permission_id: z.ZodString;
10
+ }, z.core.$strip>;
11
+ declare const OneDriveUpdateSharepointItemPermissionOutput: z.ZodObject<{
12
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ }, z.core.$loose>;
14
+ declare const oneDriveUpdateSharepointItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ roles: string[];
16
+ list_id: string;
17
+ site_id: string;
18
+ permission_id: string;
19
+ item_id?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { oneDriveUpdateSharepointItemPermission };
9
23
  //# sourceMappingURL=update-sharepoint-item-permission.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-item-permission.d.mts","names":[],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAM1D;AAAA,cACW,4CAAA,EAA8C,CAAA,CAAE,UAE7C;AAAA,cAEH,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-sharepoint-item-permission.d.mts","names":[],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-item-permission.mjs","names":[],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointItemPermissionInput: z.ZodTypeAny = z.object({\n roles: z.array(z.string()).describe(\"Roles to set on the permission, such as read or write.\"),\n item_id: z.string().describe(\"Optional SharePoint list item ID. Provide this to update a list-item permission; omit it to update a list-level permission.\").optional(),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n permission_id: z.string().describe(\"The Microsoft Graph permission ID to update.\"),\n});\nexport const OneDriveUpdateSharepointItemPermissionOutput: z.ZodTypeAny = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Microsoft Graph response payload.\"),\n}).passthrough();\n\nexport const oneDriveUpdateSharepointItemPermission = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_ITEM_PERMISSION\", {\n slug: \"one_drive-update-sharepoint-item-permission\",\n name: \"Update SharePoint Item Permission\",\n description: \"Update an application permission on a SharePoint list or list item using Microsoft Graph beta.\",\n input: OneDriveUpdateSharepointItemPermissionInput,\n output: OneDriveUpdateSharepointItemPermissionOutput,\n});\n"],"mappings":";;AAeA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuE,EAAE,OAAO;EAChF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACrK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACnF,CASS;CACP,QATwE,EAAE,OAAO,EACjF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"update-sharepoint-item-permission.mjs","names":[],"sources":["../../src/actions/update-sharepoint-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Roles to set on the permission, such as read or write.\"),\n item_id: z.string().describe(\"Optional SharePoint list item ID. Provide this to update a list-item permission; omit it to update a list-level permission.\").optional(),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n permission_id: z.string().describe(\"The Microsoft Graph permission ID to update.\"),\n});\nexport const OneDriveUpdateSharepointItemPermissionOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"Microsoft Graph response payload.\"),\n}).passthrough();\n\nexport const oneDriveUpdateSharepointItemPermission = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_ITEM_PERMISSION\", {\n slug: \"one_drive-update-sharepoint-item-permission\",\n name: \"Update SharePoint Item Permission\",\n description: \"Update an application permission on a SharePoint list or list item using Microsoft Graph beta.\",\n input: OneDriveUpdateSharepointItemPermissionInput,\n output: OneDriveUpdateSharepointItemPermissionOutput,\n});\n"],"mappings":";;AAeA,MAAa,yCAAyC,OAAO,+CAA+C;CAC1G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO;EAClE,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wDAAwD;EAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6HAA6H,CAAC,CAAC,SAAS;EACrK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;EACpF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACnF,CASS;CACP,QAT0D,EAAE,OAAO,EACnE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mCAAmC,EACtF,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-list-item-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput: z.ZodTypeAny = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodTypeAny = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n});\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA4DA,IAAAA,EAAE,OAAO;CAChF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;CACnM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC3J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAa,+CAA6DA,IAAAA,EAAE,OAAO,EACjF,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,CAAC;AAED,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-sharepoint-list-item-fields.cjs","names":["z","action"],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n});\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8CAA8CA,IAAAA,EAAE,OAAO;CAClE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;CACnM,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;CAC3J,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;AACrM,CAAC;AACD,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,CAAC;AAED,MAAa,yCAAyCC,eAAAA,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-sharepoint-list-item-fields.d.ts
4
- declare const OneDriveUpdateSharepointListItemFieldsInput: z.ZodTypeAny;
5
- declare const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodTypeAny;
6
- declare const oneDriveUpdateSharepointListItemFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveUpdateSharepointListItemFieldsInput: z.ZodObject<{
5
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ item_id: z.ZodString;
7
+ list_id: z.ZodString;
8
+ site_id: z.ZodString;
9
+ if_match: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodObject<{
12
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ }, z.core.$strip>;
14
+ declare const oneDriveUpdateSharepointListItemFields: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ fields: Record<string, unknown>;
16
+ item_id: string;
17
+ list_id: string;
18
+ site_id: string;
19
+ if_match?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { oneDriveUpdateSharepointListItemFields };
9
23
  //# sourceMappingURL=update-sharepoint-list-item-fields.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-list-item-fields.d.cts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAM1D;AAAA,cACW,4CAAA,EAA8C,CAAA,CAAE,UAE3D;AAAA,cAEW,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-sharepoint-list-item-fields.d.cts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA;UAMjD,MAAA"}
@@ -1,9 +1,23 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-sharepoint-list-item-fields.d.ts
4
- declare const OneDriveUpdateSharepointListItemFieldsInput: z.ZodTypeAny;
5
- declare const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodTypeAny;
6
- declare const oneDriveUpdateSharepointListItemFields: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveUpdateSharepointListItemFieldsInput: z.ZodObject<{
5
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
+ item_id: z.ZodString;
7
+ list_id: z.ZodString;
8
+ site_id: z.ZodString;
9
+ if_match: z.ZodOptional<z.ZodString>;
10
+ }, z.core.$strip>;
11
+ declare const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodObject<{
12
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
13
+ }, z.core.$strip>;
14
+ declare const oneDriveUpdateSharepointListItemFields: import("@keystrokehq/action").WorkflowActionDefinition<{
15
+ fields: Record<string, unknown>;
16
+ item_id: string;
17
+ list_id: string;
18
+ site_id: string;
19
+ if_match?: string | undefined;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
21
  //#endregion
8
22
  export { oneDriveUpdateSharepointListItemFields };
9
23
  //# sourceMappingURL=update-sharepoint-list-item-fields.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-list-item-fields.d.mts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA6C,CAAA,CAAE,UAM1D;AAAA,cACW,4CAAA,EAA8C,CAAA,CAAE,UAE3D;AAAA,cAEW,sCAAA,gCAAsC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-sharepoint-list-item-fields.d.mts","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"mappings":";;;cAIa,2CAAA,EAA2C,CAAA,CAAA,SAAA;;;;;;;cAO3C,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAI5C,sCAAA,gCAAsC,wBAAA;UAMjD,MAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"update-sharepoint-list-item-fields.mjs","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput: z.ZodTypeAny = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput: z.ZodTypeAny = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n});\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;AAeA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfuE,EAAE,OAAO;EAChF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;EACnM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC3J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACrM,CASS;CACP,QATwE,EAAE,OAAO,EACjF,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"update-sharepoint-list-item-fields.mjs","names":[],"sources":["../../src/actions/update-sharepoint-list-item-fields.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateSharepointListItemFieldsInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Field values to update, keyed by SharePoint internal column name. Only supplied fields are changed; all other list item fields are left as-is.\"),\n item_id: z.string().describe(\"The unique ID of the SharePoint list item to update.\"),\n list_id: z.string().describe(\"The unique Microsoft Graph ID of the SharePoint list that contains the item. Use ONE_DRIVE_LIST_SITE_LISTS to find list IDs.\"),\n site_id: z.string().describe(\"The Microsoft Graph SharePoint site ID in composite format, usually 'hostname,site-collection-id,web-id'.\"),\n if_match: z.string().describe(\"Optional eTag for optimistic concurrency. If provided and it does not match the current list item eTag, Microsoft Graph returns 412 Precondition Failed.\").optional(),\n});\nexport const OneDriveUpdateSharepointListItemFieldsOutput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"The field values returned by Microsoft Graph after the update.\"),\n});\n\nexport const oneDriveUpdateSharepointListItemFields = action(\"ONE_DRIVE_UPDATE_SHAREPOINT_LIST_ITEM_FIELDS\", {\n slug: \"one_drive-update-sharepoint-list-item-fields\",\n name: \"Update SharePoint List Item Fields\",\n description: \"Update field values on a SharePoint list item using Microsoft Graph through the OneDrive connection. Use when you need to modify one or more columns on an existing SharePoint list item.\",\n input: OneDriveUpdateSharepointListItemFieldsInput,\n output: OneDriveUpdateSharepointListItemFieldsOutput,\n});\n"],"mappings":";;AAeA,MAAa,yCAAyC,OAAO,gDAAgD;CAC3G,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfyD,EAAE,OAAO;EAClE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gJAAgJ;EACnM,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACnF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8HAA8H;EAC3J,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0JAA0J,CAAC,CAAC,SAAS;CACrM,CASS;CACP,QAT0D,EAAE,OAAO,EACnE,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,EACrH,CAOU;AACV,CAAC"}
@@ -33,34 +33,34 @@ const OneDriveUpdateWorkbookRangeOutput = zod.z.object({
33
33
  zod.z.number(),
34
34
  zod.z.boolean()
35
35
  ]).nullable())).describe("2D array of text values in the range"),
36
- hidden: zod.z.boolean().describe("Whether the range is hidden"),
36
+ hidden: zod.z.boolean().describe("Whether the range is hidden").nullable(),
37
37
  values: zod.z.array(zod.z.array(zod.z.union([
38
38
  zod.z.string(),
39
39
  zod.z.number().int(),
40
40
  zod.z.number(),
41
41
  zod.z.boolean()
42
42
  ]).nullable())).describe("2D array of values in the range"),
43
- address: zod.z.string().describe("The range address in A1 notation"),
43
+ address: zod.z.string().describe("The range address in A1 notation").nullable(),
44
44
  formulas: zod.z.array(zod.z.array(zod.z.union([
45
45
  zod.z.string(),
46
46
  zod.z.number().int(),
47
47
  zod.z.number(),
48
48
  zod.z.boolean()
49
49
  ]).nullable())).describe("2D array of formulas in the range"),
50
- rowCount: zod.z.number().int().describe("Number of rows in the range"),
51
- rowIndex: zod.z.number().int().describe("Index of the first row"),
52
- cellCount: zod.z.number().int().describe("Number of cells in the range"),
53
- rowHidden: zod.z.boolean().describe("Whether rows are hidden"),
50
+ rowCount: zod.z.number().int().describe("Number of rows in the range").nullable(),
51
+ rowIndex: zod.z.number().int().describe("Index of the first row").nullable(),
52
+ cellCount: zod.z.number().int().describe("Number of cells in the range").nullable(),
53
+ rowHidden: zod.z.boolean().describe("Whether rows are hidden").nullable(),
54
54
  valueTypes: zod.z.array(zod.z.array(zod.z.union([
55
55
  zod.z.string(),
56
56
  zod.z.number().int(),
57
57
  zod.z.number(),
58
58
  zod.z.boolean()
59
59
  ]).nullable())).describe("2D array of value types"),
60
- columnCount: zod.z.number().int().describe("Number of columns in the range"),
61
- columnIndex: zod.z.number().int().describe("Index of the first column"),
62
- addressLocal: zod.z.string().describe("The range address in local notation"),
63
- columnHidden: zod.z.boolean().describe("Whether columns are hidden"),
60
+ columnCount: zod.z.number().int().describe("Number of columns in the range").nullable(),
61
+ columnIndex: zod.z.number().int().describe("Index of the first column").nullable(),
62
+ addressLocal: zod.z.string().describe("The range address in local notation").nullable(),
63
+ columnHidden: zod.z.boolean().describe("Whether columns are hidden").nullable(),
64
64
  formulasR1C1: zod.z.array(zod.z.array(zod.z.union([
65
65
  zod.z.string(),
66
66
  zod.z.number().int(),
@@ -1 +1 @@
1
- {"version":3,"file":"update-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/update-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookRangeInput: z.ZodTypeAny = z.object({\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing values to write to the range. Array dimensions must match or be smaller than the range. At least one of values, formulas, or number_format must be provided.\").optional(),\n address: z.string().describe(\"The range address in A1 notation. Supports single cell (e.g., 'A1'), range (e.g., 'A1:B5'), entire column (e.g., 'A:A'), or entire row (e.g., '1:1').\"),\n item_id: z.string().describe(\"The ID of the workbook item\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook\"),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing formulas to set. If both formulas and values are provided, formulas take precedence.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID to use via the Workbook-Session-Id request header.\").optional(),\n number_format: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing number format strings\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet\"),\n});\nexport const OneDriveUpdateWorkbookRangeOutput: z.ZodTypeAny = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of text values in the range\"),\n hidden: z.boolean().describe(\"Whether the range is hidden\"),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of values in the range\"),\n address: z.string().describe(\"The range address in A1 notation\"),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in the range\"),\n rowCount: z.number().int().describe(\"Number of rows in the range\"),\n rowIndex: z.number().int().describe(\"Index of the first row\"),\n cellCount: z.number().int().describe(\"Number of cells in the range\"),\n rowHidden: z.boolean().describe(\"Whether rows are hidden\"),\n valueTypes: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of value types\"),\n columnCount: z.number().int().describe(\"Number of columns in the range\"),\n columnIndex: z.number().int().describe(\"Index of the first column\"),\n addressLocal: z.string().describe(\"The range address in local notation\"),\n columnHidden: z.boolean().describe(\"Whether columns are hidden\"),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in R1C1 notation\"),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of number formats\"),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in local notation\"),\n});\n\nexport const oneDriveUpdateWorkbookRange = action(\"ONE_DRIVE_UPDATE_WORKBOOK_RANGE\", {\n slug: \"one_drive-update-workbook-range\",\n name: \"Update Workbook Range\",\n description: \"Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.\",\n input: OneDriveUpdateWorkbookRangeInput,\n output: OneDriveUpdateWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;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;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/update-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveUpdateWorkbookRangeInput = z.object({\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing values to write to the range. Array dimensions must match or be smaller than the range. At least one of values, formulas, or number_format must be provided.\").optional(),\n address: z.string().describe(\"The range address in A1 notation. Supports single cell (e.g., 'A1'), range (e.g., 'A1:B5'), entire column (e.g., 'A:A'), or entire row (e.g., '1:1').\"),\n item_id: z.string().describe(\"The ID of the workbook item\"),\n drive_id: z.string().describe(\"The ID of the drive containing the workbook\"),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing formulas to set. If both formulas and values are provided, formulas take precedence.\").optional(),\n session_id: z.string().describe(\"Optional workbook session ID to use via the Workbook-Session-Id request header.\").optional(),\n number_format: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"Optional 2D array containing number format strings\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet\"),\n});\nexport const OneDriveUpdateWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of text values in the range\"),\n hidden: z.boolean().describe(\"Whether the range is hidden\").nullable(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of values in the range\"),\n address: z.string().describe(\"The range address in A1 notation\").nullable(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in the range\"),\n rowCount: z.number().int().describe(\"Number of rows in the range\").nullable(),\n rowIndex: z.number().int().describe(\"Index of the first row\").nullable(),\n cellCount: z.number().int().describe(\"Number of cells in the range\").nullable(),\n rowHidden: z.boolean().describe(\"Whether rows are hidden\").nullable(),\n valueTypes: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of value types\"),\n columnCount: z.number().int().describe(\"Number of columns in the range\").nullable(),\n columnIndex: z.number().int().describe(\"Index of the first column\").nullable(),\n addressLocal: z.string().describe(\"The range address in local notation\").nullable(),\n columnHidden: z.boolean().describe(\"Whether columns are hidden\").nullable(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in R1C1 notation\"),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of number formats\"),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array of formulas in local notation\"),\n});\n\nexport const oneDriveUpdateWorkbookRange = action(\"ONE_DRIVE_UPDATE_WORKBOOK_RANGE\", {\n slug: \"one_drive-update-workbook-range\",\n name: \"Update Workbook Range\",\n description: \"Updates a range in a workbook worksheet using Microsoft Graph API. Use this action when you need to write data, formulas, or number formats to specific cells in an Excel workbook stored in OneDrive or SharePoint. The address parameter supports various formats including single cells, cell ranges, entire columns, or entire rows.\",\n input: OneDriveUpdateWorkbookRangeInput,\n output: OneDriveUpdateWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,2LAA2L,CAAC,CAAC,SAAS;CACrT,SAASA,IAAAA,EAAE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O,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,45 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/update-workbook-range.d.ts
4
- declare const OneDriveUpdateWorkbookRangeInput: z.ZodTypeAny;
5
- declare const OneDriveUpdateWorkbookRangeOutput: z.ZodTypeAny;
6
- declare const oneDriveUpdateWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const OneDriveUpdateWorkbookRangeInput: z.ZodObject<{
5
+ values: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>;
6
+ address: z.ZodString;
7
+ item_id: z.ZodString;
8
+ drive_id: z.ZodString;
9
+ formulas: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>;
10
+ session_id: z.ZodOptional<z.ZodString>;
11
+ number_format: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>;
12
+ worksheet_id_or_name: z.ZodString;
13
+ }, z.core.$strip>;
14
+ declare const OneDriveUpdateWorkbookRangeOutput: z.ZodObject<{
15
+ text: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
16
+ hidden: z.ZodNullable<z.ZodBoolean>;
17
+ values: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
18
+ address: z.ZodNullable<z.ZodString>;
19
+ formulas: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
20
+ rowCount: z.ZodNullable<z.ZodNumber>;
21
+ rowIndex: z.ZodNullable<z.ZodNumber>;
22
+ cellCount: z.ZodNullable<z.ZodNumber>;
23
+ rowHidden: z.ZodNullable<z.ZodBoolean>;
24
+ valueTypes: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
25
+ columnCount: z.ZodNullable<z.ZodNumber>;
26
+ columnIndex: z.ZodNullable<z.ZodNumber>;
27
+ addressLocal: z.ZodNullable<z.ZodString>;
28
+ columnHidden: z.ZodNullable<z.ZodBoolean>;
29
+ formulasR1C1: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
30
+ numberFormat: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
31
+ formulasLocal: z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>;
32
+ }, z.core.$strip>;
33
+ declare const oneDriveUpdateWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
34
+ address: string;
35
+ item_id: string;
36
+ drive_id: string;
37
+ worksheet_id_or_name: string;
38
+ values?: (string | number | boolean | null)[][] | undefined;
39
+ formulas?: (string | number | boolean | null)[][] | undefined;
40
+ session_id?: string | undefined;
41
+ number_format?: (string | number | boolean | null)[][] | undefined;
42
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
43
  //#endregion
8
44
  export { oneDriveUpdateWorkbookRange };
9
45
  //# sourceMappingURL=update-workbook-range.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"update-workbook-range.d.cts","names":[],"sources":["../../src/actions/update-workbook-range.ts"],"mappings":";;;cAIa,gCAAA,EAAkC,CAAA,CAAE,UAS/C;AAAA,cACW,iCAAA,EAAmC,CAAA,CAAE,UAkBhD;AAAA,cAEW,2BAAA,gCAA2B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"update-workbook-range.d.cts","names":[],"sources":["../../src/actions/update-workbook-range.ts"],"mappings":";;;cAIa,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoBjC,2BAAA,gCAA2B,wBAAA"}