@keystrokehq/one_drive 0.1.3 → 0.1.5

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 (661) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-workbook-worksheet.cjs +1 -0
  4. package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
  5. package/dist/actions/add-workbook-worksheet.d.cts +3 -6
  6. package/dist/actions/add-workbook-worksheet.d.cts.map +1 -1
  7. package/dist/actions/add-workbook-worksheet.d.mts +3 -6
  8. package/dist/actions/add-workbook-worksheet.d.mts.map +1 -1
  9. package/dist/actions/add-workbook-worksheet.mjs +1 -0
  10. package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
  11. package/dist/actions/checkin-item.cjs +1 -0
  12. package/dist/actions/checkin-item.cjs.map +1 -1
  13. package/dist/actions/checkin-item.d.cts +3 -6
  14. package/dist/actions/checkin-item.d.cts.map +1 -1
  15. package/dist/actions/checkin-item.d.mts +3 -6
  16. package/dist/actions/checkin-item.d.mts.map +1 -1
  17. package/dist/actions/checkin-item.mjs +1 -0
  18. package/dist/actions/checkin-item.mjs.map +1 -1
  19. package/dist/actions/checkout-item.cjs +1 -0
  20. package/dist/actions/checkout-item.cjs.map +1 -1
  21. package/dist/actions/checkout-item.d.cts +3 -4
  22. package/dist/actions/checkout-item.d.cts.map +1 -1
  23. package/dist/actions/checkout-item.d.mts +3 -4
  24. package/dist/actions/checkout-item.d.mts.map +1 -1
  25. package/dist/actions/checkout-item.mjs +1 -0
  26. package/dist/actions/checkout-item.mjs.map +1 -1
  27. package/dist/actions/clear-workbook-range.cjs +1 -0
  28. package/dist/actions/clear-workbook-range.cjs.map +1 -1
  29. package/dist/actions/clear-workbook-range.d.cts +3 -8
  30. package/dist/actions/clear-workbook-range.d.cts.map +1 -1
  31. package/dist/actions/clear-workbook-range.d.mts +3 -8
  32. package/dist/actions/clear-workbook-range.d.mts.map +1 -1
  33. package/dist/actions/clear-workbook-range.mjs +1 -0
  34. package/dist/actions/clear-workbook-range.mjs.map +1 -1
  35. package/dist/actions/copy-item.cjs +1 -0
  36. package/dist/actions/copy-item.cjs.map +1 -1
  37. package/dist/actions/copy-item.d.cts +4 -16
  38. package/dist/actions/copy-item.d.cts.map +1 -1
  39. package/dist/actions/copy-item.d.mts +4 -16
  40. package/dist/actions/copy-item.d.mts.map +1 -1
  41. package/dist/actions/copy-item.mjs +1 -0
  42. package/dist/actions/copy-item.mjs.map +1 -1
  43. package/dist/actions/create-item-permission.cjs +1 -0
  44. package/dist/actions/create-item-permission.cjs.map +1 -1
  45. package/dist/actions/create-item-permission.d.cts +3 -15
  46. package/dist/actions/create-item-permission.d.cts.map +1 -1
  47. package/dist/actions/create-item-permission.d.mts +3 -15
  48. package/dist/actions/create-item-permission.d.mts.map +1 -1
  49. package/dist/actions/create-item-permission.mjs +1 -0
  50. package/dist/actions/create-item-permission.mjs.map +1 -1
  51. package/dist/actions/create-link.cjs +1 -0
  52. package/dist/actions/create-link.cjs.map +1 -1
  53. package/dist/actions/create-link.d.cts +3 -13
  54. package/dist/actions/create-link.d.cts.map +1 -1
  55. package/dist/actions/create-link.d.mts +3 -13
  56. package/dist/actions/create-link.d.mts.map +1 -1
  57. package/dist/actions/create-link.mjs +1 -0
  58. package/dist/actions/create-link.mjs.map +1 -1
  59. package/dist/actions/create-sharepoint-list-item.cjs +1 -0
  60. package/dist/actions/create-sharepoint-list-item.cjs.map +1 -1
  61. package/dist/actions/create-sharepoint-list-item.d.cts +3 -5
  62. package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
  63. package/dist/actions/create-sharepoint-list-item.d.mts +3 -5
  64. package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
  65. package/dist/actions/create-sharepoint-list-item.mjs +1 -0
  66. package/dist/actions/create-sharepoint-list-item.mjs.map +1 -1
  67. package/dist/actions/delete-item-permanently.cjs +1 -0
  68. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  69. package/dist/actions/delete-item-permanently.d.cts +3 -4
  70. package/dist/actions/delete-item-permanently.d.cts.map +1 -1
  71. package/dist/actions/delete-item-permanently.d.mts +3 -4
  72. package/dist/actions/delete-item-permanently.d.mts.map +1 -1
  73. package/dist/actions/delete-item-permanently.mjs +1 -0
  74. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  75. package/dist/actions/delete-item-permission.cjs +1 -0
  76. package/dist/actions/delete-item-permission.cjs.map +1 -1
  77. package/dist/actions/delete-item-permission.d.cts +3 -8
  78. package/dist/actions/delete-item-permission.d.cts.map +1 -1
  79. package/dist/actions/delete-item-permission.d.mts +3 -8
  80. package/dist/actions/delete-item-permission.d.mts.map +1 -1
  81. package/dist/actions/delete-item-permission.mjs +1 -0
  82. package/dist/actions/delete-item-permission.mjs.map +1 -1
  83. package/dist/actions/delete-item.cjs +1 -0
  84. package/dist/actions/delete-item.cjs.map +1 -1
  85. package/dist/actions/delete-item.d.cts +3 -6
  86. package/dist/actions/delete-item.d.cts.map +1 -1
  87. package/dist/actions/delete-item.d.mts +3 -6
  88. package/dist/actions/delete-item.d.mts.map +1 -1
  89. package/dist/actions/delete-item.mjs +1 -0
  90. package/dist/actions/delete-item.mjs.map +1 -1
  91. package/dist/actions/delete-share-permission.cjs +1 -0
  92. package/dist/actions/delete-share-permission.cjs.map +1 -1
  93. package/dist/actions/delete-share-permission.d.cts +3 -3
  94. package/dist/actions/delete-share-permission.d.cts.map +1 -1
  95. package/dist/actions/delete-share-permission.d.mts +3 -3
  96. package/dist/actions/delete-share-permission.d.mts.map +1 -1
  97. package/dist/actions/delete-share-permission.mjs +1 -0
  98. package/dist/actions/delete-share-permission.mjs.map +1 -1
  99. package/dist/actions/delete-sharepoint-item-permission.cjs +1 -0
  100. package/dist/actions/delete-sharepoint-item-permission.cjs.map +1 -1
  101. package/dist/actions/delete-sharepoint-item-permission.d.cts +3 -6
  102. package/dist/actions/delete-sharepoint-item-permission.d.cts.map +1 -1
  103. package/dist/actions/delete-sharepoint-item-permission.d.mts +3 -6
  104. package/dist/actions/delete-sharepoint-item-permission.d.mts.map +1 -1
  105. package/dist/actions/delete-sharepoint-item-permission.mjs +1 -0
  106. package/dist/actions/delete-sharepoint-item-permission.mjs.map +1 -1
  107. package/dist/actions/delete-workbook-range.cjs +1 -0
  108. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  109. package/dist/actions/delete-workbook-range.d.cts +3 -7
  110. package/dist/actions/delete-workbook-range.d.cts.map +1 -1
  111. package/dist/actions/delete-workbook-range.d.mts +3 -7
  112. package/dist/actions/delete-workbook-range.d.mts.map +1 -1
  113. package/dist/actions/delete-workbook-range.mjs +1 -0
  114. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  115. package/dist/actions/delete-workbook-worksheet.cjs +1 -0
  116. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  117. package/dist/actions/delete-workbook-worksheet.d.cts +3 -6
  118. package/dist/actions/delete-workbook-worksheet.d.cts.map +1 -1
  119. package/dist/actions/delete-workbook-worksheet.d.mts +3 -6
  120. package/dist/actions/delete-workbook-worksheet.d.mts.map +1 -1
  121. package/dist/actions/delete-workbook-worksheet.mjs +1 -0
  122. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  123. package/dist/actions/discard-checkout.cjs +1 -0
  124. package/dist/actions/discard-checkout.cjs.map +1 -1
  125. package/dist/actions/discard-checkout.d.cts +3 -4
  126. package/dist/actions/discard-checkout.d.cts.map +1 -1
  127. package/dist/actions/discard-checkout.d.mts +3 -4
  128. package/dist/actions/discard-checkout.d.mts.map +1 -1
  129. package/dist/actions/discard-checkout.mjs +1 -0
  130. package/dist/actions/discard-checkout.mjs.map +1 -1
  131. package/dist/actions/download-file-by-path.cjs +1 -0
  132. package/dist/actions/download-file-by-path.cjs.map +1 -1
  133. package/dist/actions/download-file-by-path.d.cts +3 -5
  134. package/dist/actions/download-file-by-path.d.cts.map +1 -1
  135. package/dist/actions/download-file-by-path.d.mts +3 -5
  136. package/dist/actions/download-file-by-path.d.mts.map +1 -1
  137. package/dist/actions/download-file-by-path.mjs +1 -0
  138. package/dist/actions/download-file-by-path.mjs.map +1 -1
  139. package/dist/actions/download-file.cjs +1 -0
  140. package/dist/actions/download-file.cjs.map +1 -1
  141. package/dist/actions/download-file.d.cts +3 -8
  142. package/dist/actions/download-file.d.cts.map +1 -1
  143. package/dist/actions/download-file.d.mts +3 -8
  144. package/dist/actions/download-file.d.mts.map +1 -1
  145. package/dist/actions/download-file.mjs +1 -0
  146. package/dist/actions/download-file.mjs.map +1 -1
  147. package/dist/actions/download-item-as-format.cjs +1 -0
  148. package/dist/actions/download-item-as-format.cjs.map +1 -1
  149. package/dist/actions/download-item-as-format.d.cts +3 -8
  150. package/dist/actions/download-item-as-format.d.cts.map +1 -1
  151. package/dist/actions/download-item-as-format.d.mts +3 -8
  152. package/dist/actions/download-item-as-format.d.mts.map +1 -1
  153. package/dist/actions/download-item-as-format.mjs +1 -0
  154. package/dist/actions/download-item-as-format.mjs.map +1 -1
  155. package/dist/actions/download-item-version.cjs +1 -0
  156. package/dist/actions/download-item-version.cjs.map +1 -1
  157. package/dist/actions/download-item-version.d.cts +3 -6
  158. package/dist/actions/download-item-version.d.cts.map +1 -1
  159. package/dist/actions/download-item-version.d.mts +3 -6
  160. package/dist/actions/download-item-version.d.mts.map +1 -1
  161. package/dist/actions/download-item-version.mjs +1 -0
  162. package/dist/actions/download-item-version.mjs.map +1 -1
  163. package/dist/actions/follow-item.cjs +1 -0
  164. package/dist/actions/follow-item.cjs.map +1 -1
  165. package/dist/actions/follow-item.d.cts +3 -4
  166. package/dist/actions/follow-item.d.cts.map +1 -1
  167. package/dist/actions/follow-item.d.mts +3 -4
  168. package/dist/actions/follow-item.d.mts.map +1 -1
  169. package/dist/actions/follow-item.mjs +1 -0
  170. package/dist/actions/follow-item.mjs.map +1 -1
  171. package/dist/actions/get-document-comments.cjs +1 -0
  172. package/dist/actions/get-document-comments.cjs.map +1 -1
  173. package/dist/actions/get-document-comments.d.cts +3 -5
  174. package/dist/actions/get-document-comments.d.cts.map +1 -1
  175. package/dist/actions/get-document-comments.d.mts +3 -5
  176. package/dist/actions/get-document-comments.d.mts.map +1 -1
  177. package/dist/actions/get-document-comments.mjs +1 -0
  178. package/dist/actions/get-document-comments.mjs.map +1 -1
  179. package/dist/actions/get-drive-item-by-sharing-url.cjs +1 -0
  180. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  181. package/dist/actions/get-drive-item-by-sharing-url.d.cts +3 -7
  182. package/dist/actions/get-drive-item-by-sharing-url.d.cts.map +1 -1
  183. package/dist/actions/get-drive-item-by-sharing-url.d.mts +3 -7
  184. package/dist/actions/get-drive-item-by-sharing-url.d.mts.map +1 -1
  185. package/dist/actions/get-drive-item-by-sharing-url.mjs +1 -0
  186. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  187. package/dist/actions/get-drive.cjs +1 -0
  188. package/dist/actions/get-drive.cjs.map +1 -1
  189. package/dist/actions/get-drive.d.cts +3 -5
  190. package/dist/actions/get-drive.d.cts.map +1 -1
  191. package/dist/actions/get-drive.d.mts +3 -5
  192. package/dist/actions/get-drive.d.mts.map +1 -1
  193. package/dist/actions/get-drive.mjs +1 -0
  194. package/dist/actions/get-drive.mjs.map +1 -1
  195. package/dist/actions/get-followed-item.cjs +1 -0
  196. package/dist/actions/get-followed-item.cjs.map +1 -1
  197. package/dist/actions/get-followed-item.d.cts +3 -4
  198. package/dist/actions/get-followed-item.d.cts.map +1 -1
  199. package/dist/actions/get-followed-item.d.mts +3 -4
  200. package/dist/actions/get-followed-item.d.mts.map +1 -1
  201. package/dist/actions/get-followed-item.mjs +1 -0
  202. package/dist/actions/get-followed-item.mjs.map +1 -1
  203. package/dist/actions/get-group-drive.cjs +1 -0
  204. package/dist/actions/get-group-drive.cjs.map +1 -1
  205. package/dist/actions/get-group-drive.d.cts +3 -4
  206. package/dist/actions/get-group-drive.d.cts.map +1 -1
  207. package/dist/actions/get-group-drive.d.mts +3 -4
  208. package/dist/actions/get-group-drive.d.mts.map +1 -1
  209. package/dist/actions/get-group-drive.mjs +1 -0
  210. package/dist/actions/get-group-drive.mjs.map +1 -1
  211. package/dist/actions/get-item-permissions.cjs +1 -0
  212. package/dist/actions/get-item-permissions.cjs.map +1 -1
  213. package/dist/actions/get-item-permissions.d.cts +3 -10
  214. package/dist/actions/get-item-permissions.d.cts.map +1 -1
  215. package/dist/actions/get-item-permissions.d.mts +3 -10
  216. package/dist/actions/get-item-permissions.d.mts.map +1 -1
  217. package/dist/actions/get-item-permissions.mjs +1 -0
  218. package/dist/actions/get-item-permissions.mjs.map +1 -1
  219. package/dist/actions/get-item-thumbnails.cjs +1 -0
  220. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  221. package/dist/actions/get-item-thumbnails.d.cts +3 -9
  222. package/dist/actions/get-item-thumbnails.d.cts.map +1 -1
  223. package/dist/actions/get-item-thumbnails.d.mts +3 -9
  224. package/dist/actions/get-item-thumbnails.d.mts.map +1 -1
  225. package/dist/actions/get-item-thumbnails.mjs +1 -0
  226. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  227. package/dist/actions/get-item-versions.cjs +1 -0
  228. package/dist/actions/get-item-versions.cjs.map +1 -1
  229. package/dist/actions/get-item-versions.d.cts +3 -7
  230. package/dist/actions/get-item-versions.d.cts.map +1 -1
  231. package/dist/actions/get-item-versions.d.mts +3 -7
  232. package/dist/actions/get-item-versions.d.mts.map +1 -1
  233. package/dist/actions/get-item-versions.mjs +1 -0
  234. package/dist/actions/get-item-versions.mjs.map +1 -1
  235. package/dist/actions/get-item.cjs +1 -0
  236. package/dist/actions/get-item.cjs.map +1 -1
  237. package/dist/actions/get-item.d.cts +3 -6
  238. package/dist/actions/get-item.d.cts.map +1 -1
  239. package/dist/actions/get-item.d.mts +3 -6
  240. package/dist/actions/get-item.d.mts.map +1 -1
  241. package/dist/actions/get-item.mjs +1 -0
  242. package/dist/actions/get-item.mjs.map +1 -1
  243. package/dist/actions/get-root.cjs +1 -0
  244. package/dist/actions/get-root.cjs.map +1 -1
  245. package/dist/actions/get-root.d.cts +3 -4
  246. package/dist/actions/get-root.d.cts.map +1 -1
  247. package/dist/actions/get-root.d.mts +3 -4
  248. package/dist/actions/get-root.d.mts.map +1 -1
  249. package/dist/actions/get-root.mjs +1 -0
  250. package/dist/actions/get-root.mjs.map +1 -1
  251. package/dist/actions/get-share.cjs +1 -0
  252. package/dist/actions/get-share.cjs.map +1 -1
  253. package/dist/actions/get-share.d.cts +3 -5
  254. package/dist/actions/get-share.d.cts.map +1 -1
  255. package/dist/actions/get-share.d.mts +3 -5
  256. package/dist/actions/get-share.d.mts.map +1 -1
  257. package/dist/actions/get-share.mjs +1 -0
  258. package/dist/actions/get-share.mjs.map +1 -1
  259. package/dist/actions/get-sharepoint-list-items.cjs +1 -0
  260. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  261. package/dist/actions/get-sharepoint-list-items.d.cts +3 -11
  262. package/dist/actions/get-sharepoint-list-items.d.cts.map +1 -1
  263. package/dist/actions/get-sharepoint-list-items.d.mts +3 -11
  264. package/dist/actions/get-sharepoint-list-items.d.mts.map +1 -1
  265. package/dist/actions/get-sharepoint-list-items.mjs +1 -0
  266. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  267. package/dist/actions/get-site-page-content.cjs +1 -0
  268. package/dist/actions/get-site-page-content.cjs.map +1 -1
  269. package/dist/actions/get-site-page-content.d.cts +3 -6
  270. package/dist/actions/get-site-page-content.d.cts.map +1 -1
  271. package/dist/actions/get-site-page-content.d.mts +3 -6
  272. package/dist/actions/get-site-page-content.d.mts.map +1 -1
  273. package/dist/actions/get-site-page-content.mjs +1 -0
  274. package/dist/actions/get-site-page-content.mjs.map +1 -1
  275. package/dist/actions/get-site.cjs +1 -0
  276. package/dist/actions/get-site.cjs.map +1 -1
  277. package/dist/actions/get-site.d.cts +3 -5
  278. package/dist/actions/get-site.d.cts.map +1 -1
  279. package/dist/actions/get-site.d.mts +3 -5
  280. package/dist/actions/get-site.d.mts.map +1 -1
  281. package/dist/actions/get-site.mjs +1 -0
  282. package/dist/actions/get-site.mjs.map +1 -1
  283. package/dist/actions/get-special-folder.cjs +1 -0
  284. package/dist/actions/get-special-folder.cjs.map +1 -1
  285. package/dist/actions/get-special-folder.d.cts +3 -6
  286. package/dist/actions/get-special-folder.d.cts.map +1 -1
  287. package/dist/actions/get-special-folder.d.mts +3 -6
  288. package/dist/actions/get-special-folder.d.mts.map +1 -1
  289. package/dist/actions/get-special-folder.mjs +1 -0
  290. package/dist/actions/get-special-folder.mjs.map +1 -1
  291. package/dist/actions/get-user.cjs +1 -0
  292. package/dist/actions/get-user.cjs.map +1 -1
  293. package/dist/actions/get-user.d.cts +3 -4
  294. package/dist/actions/get-user.d.cts.map +1 -1
  295. package/dist/actions/get-user.d.mts +3 -4
  296. package/dist/actions/get-user.d.mts.map +1 -1
  297. package/dist/actions/get-user.mjs +1 -0
  298. package/dist/actions/get-user.mjs.map +1 -1
  299. package/dist/actions/get-workbook-used-range.cjs +1 -0
  300. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  301. package/dist/actions/get-workbook-used-range.d.cts +3 -7
  302. package/dist/actions/get-workbook-used-range.d.cts.map +1 -1
  303. package/dist/actions/get-workbook-used-range.d.mts +3 -7
  304. package/dist/actions/get-workbook-used-range.d.mts.map +1 -1
  305. package/dist/actions/get-workbook-used-range.mjs +1 -0
  306. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  307. package/dist/actions/get-workbook-worksheet.cjs +1 -0
  308. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  309. package/dist/actions/get-workbook-worksheet.d.cts +3 -7
  310. package/dist/actions/get-workbook-worksheet.d.cts.map +1 -1
  311. package/dist/actions/get-workbook-worksheet.d.mts +3 -7
  312. package/dist/actions/get-workbook-worksheet.d.mts.map +1 -1
  313. package/dist/actions/get-workbook-worksheet.mjs +1 -0
  314. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  315. package/dist/actions/grant-share-permission.cjs +1 -0
  316. package/dist/actions/grant-share-permission.cjs.map +1 -1
  317. package/dist/actions/grant-share-permission.d.cts +3 -8
  318. package/dist/actions/grant-share-permission.d.cts.map +1 -1
  319. package/dist/actions/grant-share-permission.d.mts +3 -8
  320. package/dist/actions/grant-share-permission.d.mts.map +1 -1
  321. package/dist/actions/grant-share-permission.mjs +1 -0
  322. package/dist/actions/grant-share-permission.mjs.map +1 -1
  323. package/dist/actions/grant-sharepoint-item-permission.cjs +1 -0
  324. package/dist/actions/grant-sharepoint-item-permission.cjs.map +1 -1
  325. package/dist/actions/grant-sharepoint-item-permission.d.cts +3 -12
  326. package/dist/actions/grant-sharepoint-item-permission.d.cts.map +1 -1
  327. package/dist/actions/grant-sharepoint-item-permission.d.mts +3 -12
  328. package/dist/actions/grant-sharepoint-item-permission.d.mts.map +1 -1
  329. package/dist/actions/grant-sharepoint-item-permission.mjs +1 -0
  330. package/dist/actions/grant-sharepoint-item-permission.mjs.map +1 -1
  331. package/dist/actions/invite-user-to-item.cjs +1 -0
  332. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  333. package/dist/actions/invite-user-to-item.d.cts +3 -20
  334. package/dist/actions/invite-user-to-item.d.cts.map +1 -1
  335. package/dist/actions/invite-user-to-item.d.mts +3 -20
  336. package/dist/actions/invite-user-to-item.d.mts.map +1 -1
  337. package/dist/actions/invite-user-to-item.mjs +1 -0
  338. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  339. package/dist/actions/list-activities.cjs +1 -0
  340. package/dist/actions/list-activities.cjs.map +1 -1
  341. package/dist/actions/list-activities.d.cts +3 -4
  342. package/dist/actions/list-activities.d.cts.map +1 -1
  343. package/dist/actions/list-activities.d.mts +3 -4
  344. package/dist/actions/list-activities.d.mts.map +1 -1
  345. package/dist/actions/list-activities.mjs +1 -0
  346. package/dist/actions/list-activities.mjs.map +1 -1
  347. package/dist/actions/list-all-drive-items.cjs +1 -0
  348. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  349. package/dist/actions/list-all-drive-items.d.cts +3 -5
  350. package/dist/actions/list-all-drive-items.d.cts.map +1 -1
  351. package/dist/actions/list-all-drive-items.d.mts +3 -5
  352. package/dist/actions/list-all-drive-items.d.mts.map +1 -1
  353. package/dist/actions/list-all-drive-items.mjs +1 -0
  354. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  355. package/dist/actions/list-bundles.cjs +1 -0
  356. package/dist/actions/list-bundles.cjs.map +1 -1
  357. package/dist/actions/list-bundles.d.cts +3 -9
  358. package/dist/actions/list-bundles.d.cts.map +1 -1
  359. package/dist/actions/list-bundles.d.mts +3 -9
  360. package/dist/actions/list-bundles.d.mts.map +1 -1
  361. package/dist/actions/list-bundles.mjs +1 -0
  362. package/dist/actions/list-bundles.mjs.map +1 -1
  363. package/dist/actions/list-drives.cjs +1 -0
  364. package/dist/actions/list-drives.cjs.map +1 -1
  365. package/dist/actions/list-drives.d.cts +3 -10
  366. package/dist/actions/list-drives.d.cts.map +1 -1
  367. package/dist/actions/list-drives.d.mts +3 -10
  368. package/dist/actions/list-drives.d.mts.map +1 -1
  369. package/dist/actions/list-drives.mjs +1 -0
  370. package/dist/actions/list-drives.mjs.map +1 -1
  371. package/dist/actions/list-folder-children.cjs +1 -0
  372. package/dist/actions/list-folder-children.cjs.map +1 -1
  373. package/dist/actions/list-folder-children.d.cts +3 -13
  374. package/dist/actions/list-folder-children.d.cts.map +1 -1
  375. package/dist/actions/list-folder-children.d.mts +3 -13
  376. package/dist/actions/list-folder-children.d.mts.map +1 -1
  377. package/dist/actions/list-folder-children.mjs +1 -0
  378. package/dist/actions/list-folder-children.mjs.map +1 -1
  379. package/dist/actions/list-item-activities.cjs +1 -0
  380. package/dist/actions/list-item-activities.cjs.map +1 -1
  381. package/dist/actions/list-item-activities.d.cts +3 -4
  382. package/dist/actions/list-item-activities.d.cts.map +1 -1
  383. package/dist/actions/list-item-activities.d.mts +3 -4
  384. package/dist/actions/list-item-activities.d.mts.map +1 -1
  385. package/dist/actions/list-item-activities.mjs +1 -0
  386. package/dist/actions/list-item-activities.mjs.map +1 -1
  387. package/dist/actions/list-onedrive-shared-items.cjs +1 -0
  388. package/dist/actions/list-onedrive-shared-items.cjs.map +1 -1
  389. package/dist/actions/list-onedrive-shared-items.d.cts +3 -5
  390. package/dist/actions/list-onedrive-shared-items.d.cts.map +1 -1
  391. package/dist/actions/list-onedrive-shared-items.d.mts +3 -5
  392. package/dist/actions/list-onedrive-shared-items.d.mts.map +1 -1
  393. package/dist/actions/list-onedrive-shared-items.mjs +1 -0
  394. package/dist/actions/list-onedrive-shared-items.mjs.map +1 -1
  395. package/dist/actions/list-root-drive-changes.cjs +1 -0
  396. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  397. package/dist/actions/list-root-drive-changes.d.cts +3 -7
  398. package/dist/actions/list-root-drive-changes.d.cts.map +1 -1
  399. package/dist/actions/list-root-drive-changes.d.mts +3 -7
  400. package/dist/actions/list-root-drive-changes.d.mts.map +1 -1
  401. package/dist/actions/list-root-drive-changes.mjs +1 -0
  402. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  403. package/dist/actions/list-share-permissions.cjs +1 -0
  404. package/dist/actions/list-share-permissions.cjs.map +1 -1
  405. package/dist/actions/list-share-permissions.d.cts +3 -3
  406. package/dist/actions/list-share-permissions.d.cts.map +1 -1
  407. package/dist/actions/list-share-permissions.d.mts +3 -3
  408. package/dist/actions/list-share-permissions.d.mts.map +1 -1
  409. package/dist/actions/list-share-permissions.mjs +1 -0
  410. package/dist/actions/list-share-permissions.mjs.map +1 -1
  411. package/dist/actions/list-sharepoint-item-permissions.cjs +1 -0
  412. package/dist/actions/list-sharepoint-item-permissions.cjs.map +1 -1
  413. package/dist/actions/list-sharepoint-item-permissions.d.cts +3 -7
  414. package/dist/actions/list-sharepoint-item-permissions.d.cts.map +1 -1
  415. package/dist/actions/list-sharepoint-item-permissions.d.mts +3 -7
  416. package/dist/actions/list-sharepoint-item-permissions.d.mts.map +1 -1
  417. package/dist/actions/list-sharepoint-item-permissions.mjs +1 -0
  418. package/dist/actions/list-sharepoint-item-permissions.mjs.map +1 -1
  419. package/dist/actions/list-sharepoint-list-items-delta.cjs +1 -0
  420. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  421. package/dist/actions/list-sharepoint-list-items-delta.d.cts +3 -8
  422. package/dist/actions/list-sharepoint-list-items-delta.d.cts.map +1 -1
  423. package/dist/actions/list-sharepoint-list-items-delta.d.mts +3 -8
  424. package/dist/actions/list-sharepoint-list-items-delta.d.mts.map +1 -1
  425. package/dist/actions/list-sharepoint-list-items-delta.mjs +1 -0
  426. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  427. package/dist/actions/list-site-columns.cjs +1 -0
  428. package/dist/actions/list-site-columns.cjs.map +1 -1
  429. package/dist/actions/list-site-columns.d.cts +3 -10
  430. package/dist/actions/list-site-columns.d.cts.map +1 -1
  431. package/dist/actions/list-site-columns.d.mts +3 -10
  432. package/dist/actions/list-site-columns.d.mts.map +1 -1
  433. package/dist/actions/list-site-columns.mjs +1 -0
  434. package/dist/actions/list-site-columns.mjs.map +1 -1
  435. package/dist/actions/list-site-items-delta.cjs +1 -0
  436. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  437. package/dist/actions/list-site-items-delta.d.cts +3 -7
  438. package/dist/actions/list-site-items-delta.d.cts.map +1 -1
  439. package/dist/actions/list-site-items-delta.d.mts +3 -7
  440. package/dist/actions/list-site-items-delta.d.mts.map +1 -1
  441. package/dist/actions/list-site-items-delta.mjs +1 -0
  442. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  443. package/dist/actions/list-site-lists.cjs +1 -0
  444. package/dist/actions/list-site-lists.cjs.map +1 -1
  445. package/dist/actions/list-site-lists.d.cts +3 -8
  446. package/dist/actions/list-site-lists.d.cts.map +1 -1
  447. package/dist/actions/list-site-lists.d.mts +3 -8
  448. package/dist/actions/list-site-lists.d.mts.map +1 -1
  449. package/dist/actions/list-site-lists.mjs +1 -0
  450. package/dist/actions/list-site-lists.mjs.map +1 -1
  451. package/dist/actions/list-site-subsites.cjs +1 -0
  452. package/dist/actions/list-site-subsites.cjs.map +1 -1
  453. package/dist/actions/list-site-subsites.d.cts +3 -8
  454. package/dist/actions/list-site-subsites.d.cts.map +1 -1
  455. package/dist/actions/list-site-subsites.d.mts +3 -8
  456. package/dist/actions/list-site-subsites.d.mts.map +1 -1
  457. package/dist/actions/list-site-subsites.mjs +1 -0
  458. package/dist/actions/list-site-subsites.mjs.map +1 -1
  459. package/dist/actions/list-subscriptions.cjs +1 -0
  460. package/dist/actions/list-subscriptions.cjs.map +1 -1
  461. package/dist/actions/list-subscriptions.d.cts +3 -1
  462. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  463. package/dist/actions/list-subscriptions.d.mts +3 -1
  464. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  465. package/dist/actions/list-subscriptions.mjs +1 -0
  466. package/dist/actions/list-subscriptions.mjs.map +1 -1
  467. package/dist/actions/list-workbook-worksheets.cjs +1 -0
  468. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  469. package/dist/actions/list-workbook-worksheets.d.cts +3 -8
  470. package/dist/actions/list-workbook-worksheets.d.cts.map +1 -1
  471. package/dist/actions/list-workbook-worksheets.d.mts +3 -8
  472. package/dist/actions/list-workbook-worksheets.d.mts.map +1 -1
  473. package/dist/actions/list-workbook-worksheets.mjs +1 -0
  474. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  475. package/dist/actions/move-item.cjs +1 -0
  476. package/dist/actions/move-item.cjs.map +1 -1
  477. package/dist/actions/move-item.d.cts +3 -13
  478. package/dist/actions/move-item.d.cts.map +1 -1
  479. package/dist/actions/move-item.d.mts +3 -13
  480. package/dist/actions/move-item.d.mts.map +1 -1
  481. package/dist/actions/move-item.mjs +1 -0
  482. package/dist/actions/move-item.mjs.map +1 -1
  483. package/dist/actions/onedrive-create-folder.cjs +1 -0
  484. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  485. package/dist/actions/onedrive-create-folder.d.cts +4 -8
  486. package/dist/actions/onedrive-create-folder.d.cts.map +1 -1
  487. package/dist/actions/onedrive-create-folder.d.mts +4 -8
  488. package/dist/actions/onedrive-create-folder.d.mts.map +1 -1
  489. package/dist/actions/onedrive-create-folder.mjs +1 -0
  490. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  491. package/dist/actions/onedrive-create-text-file.cjs +1 -0
  492. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  493. package/dist/actions/onedrive-create-text-file.d.cts +4 -8
  494. package/dist/actions/onedrive-create-text-file.d.cts.map +1 -1
  495. package/dist/actions/onedrive-create-text-file.d.mts +4 -8
  496. package/dist/actions/onedrive-create-text-file.d.mts.map +1 -1
  497. package/dist/actions/onedrive-create-text-file.mjs +1 -0
  498. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  499. package/dist/actions/onedrive-find-file.cjs +1 -0
  500. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  501. package/dist/actions/onedrive-find-file.d.cts +3 -6
  502. package/dist/actions/onedrive-find-file.d.cts.map +1 -1
  503. package/dist/actions/onedrive-find-file.d.mts +3 -6
  504. package/dist/actions/onedrive-find-file.d.mts.map +1 -1
  505. package/dist/actions/onedrive-find-file.mjs +1 -0
  506. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  507. package/dist/actions/onedrive-find-folder.cjs +1 -0
  508. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  509. package/dist/actions/onedrive-find-folder.d.cts +3 -10
  510. package/dist/actions/onedrive-find-folder.d.cts.map +1 -1
  511. package/dist/actions/onedrive-find-folder.d.mts +3 -10
  512. package/dist/actions/onedrive-find-folder.d.mts.map +1 -1
  513. package/dist/actions/onedrive-find-folder.mjs +1 -0
  514. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  515. package/dist/actions/onedrive-list-items.cjs +1 -0
  516. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  517. package/dist/actions/onedrive-list-items.d.cts +3 -5
  518. package/dist/actions/onedrive-list-items.d.cts.map +1 -1
  519. package/dist/actions/onedrive-list-items.d.mts +3 -5
  520. package/dist/actions/onedrive-list-items.d.mts.map +1 -1
  521. package/dist/actions/onedrive-list-items.mjs +1 -0
  522. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  523. package/dist/actions/onedrive-upload-file.cjs +1 -0
  524. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  525. package/dist/actions/onedrive-upload-file.d.cts +4 -25
  526. package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
  527. package/dist/actions/onedrive-upload-file.d.mts +4 -25
  528. package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
  529. package/dist/actions/onedrive-upload-file.mjs +1 -0
  530. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  531. package/dist/actions/preview-drive-item.cjs +1 -0
  532. package/dist/actions/preview-drive-item.cjs.map +1 -1
  533. package/dist/actions/preview-drive-item.d.cts +3 -10
  534. package/dist/actions/preview-drive-item.d.cts.map +1 -1
  535. package/dist/actions/preview-drive-item.d.mts +3 -10
  536. package/dist/actions/preview-drive-item.d.mts.map +1 -1
  537. package/dist/actions/preview-drive-item.mjs +1 -0
  538. package/dist/actions/preview-drive-item.mjs.map +1 -1
  539. package/dist/actions/read-workbook-range.cjs +1 -0
  540. package/dist/actions/read-workbook-range.cjs.map +1 -1
  541. package/dist/actions/read-workbook-range.d.cts +3 -8
  542. package/dist/actions/read-workbook-range.d.cts.map +1 -1
  543. package/dist/actions/read-workbook-range.d.mts +3 -8
  544. package/dist/actions/read-workbook-range.d.mts.map +1 -1
  545. package/dist/actions/read-workbook-range.mjs +1 -0
  546. package/dist/actions/read-workbook-range.mjs.map +1 -1
  547. package/dist/actions/restore-drive-item.cjs +1 -0
  548. package/dist/actions/restore-drive-item.cjs.map +1 -1
  549. package/dist/actions/restore-drive-item.d.cts +3 -6
  550. package/dist/actions/restore-drive-item.d.cts.map +1 -1
  551. package/dist/actions/restore-drive-item.d.mts +3 -6
  552. package/dist/actions/restore-drive-item.d.mts.map +1 -1
  553. package/dist/actions/restore-drive-item.mjs +1 -0
  554. package/dist/actions/restore-drive-item.mjs.map +1 -1
  555. package/dist/actions/restore-item-version.cjs +1 -0
  556. package/dist/actions/restore-item-version.cjs.map +1 -1
  557. package/dist/actions/restore-item-version.d.cts +3 -6
  558. package/dist/actions/restore-item-version.d.cts.map +1 -1
  559. package/dist/actions/restore-item-version.d.mts +3 -6
  560. package/dist/actions/restore-item-version.d.mts.map +1 -1
  561. package/dist/actions/restore-item-version.mjs +1 -0
  562. package/dist/actions/restore-item-version.mjs.map +1 -1
  563. package/dist/actions/search-drive-items.cjs +1 -0
  564. package/dist/actions/search-drive-items.cjs.map +1 -1
  565. package/dist/actions/search-drive-items.d.cts +3 -6
  566. package/dist/actions/search-drive-items.d.cts.map +1 -1
  567. package/dist/actions/search-drive-items.d.mts +3 -6
  568. package/dist/actions/search-drive-items.d.mts.map +1 -1
  569. package/dist/actions/search-drive-items.mjs +1 -0
  570. package/dist/actions/search-drive-items.mjs.map +1 -1
  571. package/dist/actions/search-items.cjs +1 -0
  572. package/dist/actions/search-items.cjs.map +1 -1
  573. package/dist/actions/search-items.d.cts +3 -15
  574. package/dist/actions/search-items.d.cts.map +1 -1
  575. package/dist/actions/search-items.d.mts +3 -15
  576. package/dist/actions/search-items.d.mts.map +1 -1
  577. package/dist/actions/search-items.mjs +1 -0
  578. package/dist/actions/search-items.mjs.map +1 -1
  579. package/dist/actions/unfollow-item.cjs +1 -0
  580. package/dist/actions/unfollow-item.cjs.map +1 -1
  581. package/dist/actions/unfollow-item.d.cts +3 -3
  582. package/dist/actions/unfollow-item.d.cts.map +1 -1
  583. package/dist/actions/unfollow-item.d.mts +3 -3
  584. package/dist/actions/unfollow-item.d.mts.map +1 -1
  585. package/dist/actions/unfollow-item.mjs +1 -0
  586. package/dist/actions/unfollow-item.mjs.map +1 -1
  587. package/dist/actions/update-drive-item-metadata.cjs +1 -0
  588. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  589. package/dist/actions/update-drive-item-metadata.d.cts +3 -17
  590. package/dist/actions/update-drive-item-metadata.d.cts.map +1 -1
  591. package/dist/actions/update-drive-item-metadata.d.mts +3 -17
  592. package/dist/actions/update-drive-item-metadata.d.mts.map +1 -1
  593. package/dist/actions/update-drive-item-metadata.mjs +1 -0
  594. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  595. package/dist/actions/update-drive-items-permissions.cjs +1 -0
  596. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  597. package/dist/actions/update-drive-items-permissions.d.cts +3 -9
  598. package/dist/actions/update-drive-items-permissions.d.cts.map +1 -1
  599. package/dist/actions/update-drive-items-permissions.d.mts +3 -9
  600. package/dist/actions/update-drive-items-permissions.d.mts.map +1 -1
  601. package/dist/actions/update-drive-items-permissions.mjs +1 -0
  602. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  603. package/dist/actions/update-file-content.cjs +1 -0
  604. package/dist/actions/update-file-content.cjs.map +1 -1
  605. package/dist/actions/update-file-content.d.cts +4 -29
  606. package/dist/actions/update-file-content.d.cts.map +1 -1
  607. package/dist/actions/update-file-content.d.mts +4 -29
  608. package/dist/actions/update-file-content.d.mts.map +1 -1
  609. package/dist/actions/update-file-content.mjs +1 -0
  610. package/dist/actions/update-file-content.mjs.map +1 -1
  611. package/dist/actions/update-sharepoint-item-permission.cjs +1 -0
  612. package/dist/actions/update-sharepoint-item-permission.cjs.map +1 -1
  613. package/dist/actions/update-sharepoint-item-permission.d.cts +3 -7
  614. package/dist/actions/update-sharepoint-item-permission.d.cts.map +1 -1
  615. package/dist/actions/update-sharepoint-item-permission.d.mts +3 -7
  616. package/dist/actions/update-sharepoint-item-permission.d.mts.map +1 -1
  617. package/dist/actions/update-sharepoint-item-permission.mjs +1 -0
  618. package/dist/actions/update-sharepoint-item-permission.mjs.map +1 -1
  619. package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -0
  620. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  621. package/dist/actions/update-sharepoint-list-item-fields.d.cts +3 -7
  622. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
  623. package/dist/actions/update-sharepoint-list-item-fields.d.mts +3 -7
  624. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
  625. package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -0
  626. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  627. package/dist/actions/update-workbook-range.cjs +1 -0
  628. package/dist/actions/update-workbook-range.cjs.map +1 -1
  629. package/dist/actions/update-workbook-range.d.cts +3 -10
  630. package/dist/actions/update-workbook-range.d.cts.map +1 -1
  631. package/dist/actions/update-workbook-range.d.mts +3 -10
  632. package/dist/actions/update-workbook-range.d.mts.map +1 -1
  633. package/dist/actions/update-workbook-range.mjs +1 -0
  634. package/dist/actions/update-workbook-range.mjs.map +1 -1
  635. package/dist/actions/update-workbook-worksheet.cjs +1 -0
  636. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  637. package/dist/actions/update-workbook-worksheet.d.cts +3 -9
  638. package/dist/actions/update-workbook-worksheet.d.cts.map +1 -1
  639. package/dist/actions/update-workbook-worksheet.d.mts +3 -9
  640. package/dist/actions/update-workbook-worksheet.d.mts.map +1 -1
  641. package/dist/actions/update-workbook-worksheet.mjs +1 -0
  642. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  643. package/dist/actions/write-workbook-cell.cjs +1 -0
  644. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  645. package/dist/actions/write-workbook-cell.d.cts +3 -11
  646. package/dist/actions/write-workbook-cell.d.cts.map +1 -1
  647. package/dist/actions/write-workbook-cell.d.mts +3 -11
  648. package/dist/actions/write-workbook-cell.d.mts.map +1 -1
  649. package/dist/actions/write-workbook-cell.mjs +1 -0
  650. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  651. package/dist/app.cjs +5 -2
  652. package/dist/app.cjs.map +1 -1
  653. package/dist/app.d.cts +7 -1
  654. package/dist/app.d.cts.map +1 -1
  655. package/dist/app.d.mts +7 -1
  656. package/dist/app.d.mts.map +1 -1
  657. package/dist/app.mjs +3 -2
  658. package/dist/app.mjs.map +1 -1
  659. package/dist/index.d.cts +1 -1
  660. package/dist/index.d.mts +1 -1
  661. package/package.json +2 -2
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/onedrive-upload-file.d.ts
@@ -24,8 +26,8 @@ declare const OneDriveOnedriveUploadFileInput: z.ZodObject<{
24
26
  lastModifiedDateTime: z.ZodOptional<z.ZodString>;
25
27
  }, z.core.$strip>>;
26
28
  conflict_behavior: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
27
- fail: "fail";
28
29
  replace: "replace";
30
+ fail: "fail";
29
31
  rename: "rename";
30
32
  }>>>;
31
33
  }, z.core.$strip>;
@@ -39,30 +41,7 @@ declare const OneDriveOnedriveUploadFileOutput: z.ZodObject<{
39
41
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
42
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
43
  }, z.core.$loose>;
42
- declare const oneDriveOnedriveUploadFile: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- file?: {
44
- name: string;
45
- s3key: string;
46
- mimetype: string;
47
- } | undefined;
48
- folder?: string | undefined;
49
- site_id?: string | undefined;
50
- user_id?: string | undefined;
51
- drive_id?: string | undefined;
52
- file_name?: string | undefined;
53
- source_url?: string | undefined;
54
- verify_ssl?: boolean | undefined;
55
- description?: string | undefined;
56
- defer_commit?: boolean | undefined;
57
- if_match_etag?: string | undefined;
58
- source_headers?: Record<string, unknown> | undefined;
59
- file_system_info?: {
60
- createdDateTime?: string | undefined;
61
- lastAccessedDateTime?: string | undefined;
62
- lastModifiedDateTime?: string | undefined;
63
- } | undefined;
64
- conflict_behavior?: "fail" | "replace" | "rename" | undefined;
65
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const oneDriveOnedriveUploadFile: AppAction<typeof OneDriveOnedriveUploadFileInput, typeof OneDriveOnedriveUploadFileOutput, typeof oneDrive.credential>;
66
45
  //#endregion
67
46
  export { oneDriveOnedriveUploadFile };
68
47
  //# sourceMappingURL=onedrive-upload-file.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"onedrive-upload-file.d.mts","names":[],"sources":["../../src/actions/onedrive-upload-file.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAWhC,0BAAA,gCAA0B,wBAAA;;;;;;;;;;;;;;;;mBAMrC,MAAA"}
1
+ {"version":3,"file":"onedrive-upload-file.d.mts","names":[],"sources":["../../src/actions/onedrive-upload-file.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAyB/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;;;;;;;cAWhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/onedrive-upload-file.ts
@@ -1 +1 @@
1
- {"version":3,"file":"onedrive-upload-file.mjs","names":[],"sources":["../../src/actions/onedrive-upload-file.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveOnedriveUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to be uploaded, including its name and access to its binary content. Required if source_url is not provided.\").optional(),\n folder: z.string().default(\"/\").describe(\"Destination folder path from root (e.g., '/Documents/Reports') or a unique folder ID. If the folder path doesn't exist, it will be created automatically (including any intermediate folders in the path).\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site to upload to. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id.\").optional(),\n user_id: z.string().default(\"me\").describe(\"User ID (e.g., user_principal_name, unique GUID) or 'me' for the authenticated user, determining the target OneDrive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive to upload to. If not provided, uses the default drive of the user_id. Mutually exclusive with site_id.\").optional(),\n file_name: z.string().describe(\"Name for the file in OneDrive when using source_url, including extension (e.g., 'report.pdf', 'image.png'). If not provided when using source_url, the filename will be extracted from the URL or Content-Disposition header. Ignored when using file parameter (filename comes from file.name).\").optional(),\n source_url: z.string().describe(\"Public HTTPS URL of the file to download and upload to OneDrive. Custom source headers are not supported. Required if file is not provided.\").optional(),\n verify_ssl: z.boolean().default(true).describe(\"Deprecated. SSL verification is always required for source_url downloads.\").optional(),\n description: z.string().describe(\"A user-visible description of the file. Only supported on OneDrive Personal.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for large files where you want to control when the upload is finalized.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the upload will only proceed if the folder/parent's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n source_headers: z.record(z.string(), z.unknown()).describe(\"Deprecated. Custom HTTP headers are not supported when downloading from source_url.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"rename\", \"fail\", \"replace\"]).default(\"rename\").describe(\"How to handle file name conflicts. 'rename' automatically renames the file if it exists (default), 'fail' returns an error, 'replace' overwrites the existing file. When renamed, the actual filename in the response may differ (e.g., suffixed with a number); use the response `id` or `webUrl` for follow-up operations.\").optional(),\n});\nconst OneDriveOnedriveUploadFile_FileObjectSchema = z.record(z.string(), z.unknown()).describe(\"Holds optional, OneDrive-specific file metadata; structure can vary or be empty.\");\nexport const OneDriveOnedriveUploadFileOutput = z.object({\n id: z.string().describe(\"The unique identifier for the uploaded file, as assigned by OneDrive.\").nullable(),\n file: OneDriveOnedriveUploadFile_FileObjectSchema.nullable(),\n name: z.string().describe(\"The final name of the uploaded file in OneDrive. This name might differ from the original if a conflict occurred and the file was renamed.\").nullable(),\n size: z.number().int().describe(\"The total size of the uploaded file in bytes.\").nullable(),\n webUrl: z.string().describe(\"A URL for opening the file in OneDrive's web interface.\").nullable().optional(),\n mimeType: z.string().describe(\"The MIME type of the uploaded file.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The time the file was created (ISO 8601 format).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The last modification time (ISO 8601 format).\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveOnedriveUploadFile = action(\"ONE_DRIVE_ONEDRIVE_UPLOAD_FILE\", {\n slug: \"one_drive-onedrive-upload-file\",\n name: \"Upload file\",\n description: \"Uploads a file to a specified OneDrive folder, automatically creating the destination folder if it doesn't exist, renaming on conflict, and supporting large files via chunking.\",\n input: OneDriveOnedriveUploadFileInput,\n output: OneDriveOnedriveUploadFileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO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C,SAAS;EACzH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CACvI,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACzD,mBAAmB,EAAE,KAAK;EAAC;EAAU;EAAQ;CAAS,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,8TAA8T,CAAC,CAAC,SAAS;AAC/Z,CAAC;AACD,MAAM,8CAA8C,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,kFAAkF;AAYjL,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;EAC1G,MAAM,4CAA4C,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;EACjL,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EAC1F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"onedrive-upload-file.mjs","names":[],"sources":["../../src/actions/onedrive-upload-file.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveOnedriveUploadFileInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to be uploaded, including its name and access to its binary content. Required if source_url is not provided.\").optional(),\n folder: z.string().default(\"/\").describe(\"Destination folder path from root (e.g., '/Documents/Reports') or a unique folder ID. If the folder path doesn't exist, it will be created automatically (including any intermediate folders in the path).\").optional(),\n site_id: z.string().describe(\"The unique identifier of the SharePoint site to upload to. If provided, uses /sites/{siteId}/drive. Mutually exclusive with drive_id.\").optional(),\n user_id: z.string().default(\"me\").describe(\"User ID (e.g., user_principal_name, unique GUID) or 'me' for the authenticated user, determining the target OneDrive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive to upload to. If not provided, uses the default drive of the user_id. Mutually exclusive with site_id.\").optional(),\n file_name: z.string().describe(\"Name for the file in OneDrive when using source_url, including extension (e.g., 'report.pdf', 'image.png'). If not provided when using source_url, the filename will be extracted from the URL or Content-Disposition header. Ignored when using file parameter (filename comes from file.name).\").optional(),\n source_url: z.string().describe(\"Public HTTPS URL of the file to download and upload to OneDrive. Custom source headers are not supported. Required if file is not provided.\").optional(),\n verify_ssl: z.boolean().default(true).describe(\"Deprecated. SSL verification is always required for source_url downloads.\").optional(),\n description: z.string().describe(\"A user-visible description of the file. Only supported on OneDrive Personal.\").optional(),\n defer_commit: z.boolean().describe(\"If true, the final file creation is deferred until an explicit completion request is made. Useful for large files where you want to control when the upload is finalized.\").optional(),\n if_match_etag: z.string().describe(\"An ETag value to prevent lost updates. If provided, the upload will only proceed if the folder/parent's ETag matches this value. Returns 412 error if it doesn't match.\").optional(),\n source_headers: z.record(z.string(), z.unknown()).describe(\"Deprecated. Custom HTTP headers are not supported when downloading from source_url.\").optional(),\n file_system_info: z.object({\n createdDateTime: z.string().describe(\"The UTC date and time the file was created on a client. ISO 8601 format.\").optional(),\n lastAccessedDateTime: z.string().describe(\"The UTC date and time the file was last accessed. ISO 8601 format.\").optional(),\n lastModifiedDateTime: z.string().describe(\"The UTC date and time the file was last modified on a client. ISO 8601 format.\").optional(),\n}).describe(\"File system information on client.\").optional(),\n conflict_behavior: z.enum([\"rename\", \"fail\", \"replace\"]).default(\"rename\").describe(\"How to handle file name conflicts. 'rename' automatically renames the file if it exists (default), 'fail' returns an error, 'replace' overwrites the existing file. When renamed, the actual filename in the response may differ (e.g., suffixed with a number); use the response `id` or `webUrl` for follow-up operations.\").optional(),\n});\nconst OneDriveOnedriveUploadFile_FileObjectSchema = z.record(z.string(), z.unknown()).describe(\"Holds optional, OneDrive-specific file metadata; structure can vary or be empty.\");\nexport const OneDriveOnedriveUploadFileOutput = z.object({\n id: z.string().describe(\"The unique identifier for the uploaded file, as assigned by OneDrive.\").nullable(),\n file: OneDriveOnedriveUploadFile_FileObjectSchema.nullable(),\n name: z.string().describe(\"The final name of the uploaded file in OneDrive. This name might differ from the original if a conflict occurred and the file was renamed.\").nullable(),\n size: z.number().int().describe(\"The total size of the uploaded file in bytes.\").nullable(),\n webUrl: z.string().describe(\"A URL for opening the file in OneDrive's web interface.\").nullable().optional(),\n mimeType: z.string().describe(\"The MIME type of the uploaded file.\").nullable().optional(),\n createdDateTime: z.string().describe(\"The time the file was created (ISO 8601 format).\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The last modification time (ISO 8601 format).\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveOnedriveUploadFile: AppAction<\n typeof OneDriveOnedriveUploadFileInput,\n typeof OneDriveOnedriveUploadFileOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_ONEDRIVE_UPLOAD_FILE\", {\n slug: \"one_drive-onedrive-upload-file\",\n name: \"Upload file\",\n description: \"Uploads a file to a specified OneDrive folder, automatically creating the destination folder if it doesn't exist, renaming on conflict, and supporting large files via chunking.\",\n input: OneDriveOnedriveUploadFileInput,\n output: OneDriveOnedriveUploadFileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO;EACf,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC5I,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4MAA4M,CAAC,CAAC,SAAS;CAChQ,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS;CAC/K,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAC7K,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;CACpL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kSAAkS,CAAC,CAAC,SAAS;CAC5U,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,6IAA6I,CAAC,CAAC,SAAS;CACxL,YAAY,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACrI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1H,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2KAA2K,CAAC,CAAC,SAAS;CACzN,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CACvN,gBAAgB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,Q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,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/preview-drive-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"preview-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewD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+ {"version":3,"file":"preview-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem: AppAction<\n typeof OneDrivePreviewDriveItemInput,\n typeof OneDrivePreviewDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MA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5
  //#region src/actions/preview-drive-item.d.ts
@@ -16,16 +18,7 @@ declare const OneDrivePreviewDriveItemOutput: z.ZodObject<{
16
18
  postUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  postParameters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- item_id: string;
21
- page?: string | number | undefined;
22
- zoom?: number | undefined;
23
- site_id?: string | undefined;
24
- user_id?: string | undefined;
25
- drive_id?: string | undefined;
26
- group_id?: string | undefined;
27
- share_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const oneDrivePreviewDriveItem: AppAction<typeof OneDrivePreviewDriveItemInput, typeof OneDrivePreviewDriveItemOutput, typeof oneDrive.credential>;
29
22
  //#endregion
30
23
  export { oneDrivePreviewDriveItem };
31
24
  //# sourceMappingURL=preview-drive-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"preview-drive-item.d.cts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"preview-drive-item.d.cts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/preview-drive-item.d.ts
@@ -16,16 +18,7 @@ declare const OneDrivePreviewDriveItemOutput: z.ZodObject<{
16
18
  postUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  postParameters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- item_id: string;
21
- page?: string | number | undefined;
22
- zoom?: number | undefined;
23
- site_id?: string | undefined;
24
- user_id?: string | undefined;
25
- drive_id?: string | undefined;
26
- group_id?: string | undefined;
27
- share_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const oneDrivePreviewDriveItem: AppAction<typeof OneDrivePreviewDriveItemInput, typeof OneDrivePreviewDriveItemOutput, typeof oneDrive.credential>;
29
22
  //#endregion
30
23
  export { oneDrivePreviewDriveItem };
31
24
  //# sourceMappingURL=preview-drive-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"preview-drive-item.d.mts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"preview-drive-item.d.mts","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;;cAU7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;cAM9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const oneDrivePreviewDriveItem = action("ONE_DRIVE_PREVIEW_DRIVE_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxI,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem: AppAction<\n typeof OneDrivePreviewDriveItemInput,\n typeof OneDrivePreviewDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxI,CAeS;CACP,QAf4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/read-workbook-range.ts
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;CAC9P,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CACnL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpI,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;CAC9W,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;AACxP,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,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A,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpN,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange: AppAction<\n typeof OneDriveReadWorkbookRangeInput,\n typeof OneDriveReadWorkbookRangeOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;CAC9P,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CACnL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpI,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;CAC9W,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;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cAAcA,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,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzM,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,QAAQ;CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpN,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAITC,eAAAA,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/read-workbook-range.d.ts
@@ -28,14 +30,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
28
30
  numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
29
31
  formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
30
32
  }, z.core.$loose>;
31
- declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- address: string;
33
- item_id: string;
34
- drive_id: string;
35
- worksheet_id_or_name: string;
36
- session_id?: string | undefined;
37
- select_fields?: string[] | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const oneDriveReadWorkbookRange: AppAction<typeof OneDriveReadWorkbookRangeInput, typeof OneDriveReadWorkbookRangeOutput, typeof oneDrive.credential>;
39
34
  //#endregion
40
35
  export { oneDriveReadWorkbookRange };
41
36
  //# sourceMappingURL=read-workbook-range.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.d.cts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"read-workbook-range.d.cts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/read-workbook-range.d.ts
@@ -28,14 +30,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
28
30
  numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
29
31
  formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
30
32
  }, z.core.$loose>;
31
- declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
32
- address: string;
33
- item_id: string;
34
- drive_id: string;
35
- worksheet_id_or_name: string;
36
- session_id?: string | undefined;
37
- select_fields?: string[] | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ declare const oneDriveReadWorkbookRange: AppAction<typeof OneDriveReadWorkbookRangeInput, typeof OneDriveReadWorkbookRangeOutput, typeof oneDrive.credential>;
39
34
  //#endregion
40
35
  export { oneDriveReadWorkbookRange };
41
36
  //# sourceMappingURL=read-workbook-range.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.d.mts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB/B,yBAAA,gCAAyB,wBAAA"}
1
+ {"version":3,"file":"read-workbook-range.d.mts","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAQ9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAoB/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const oneDriveReadWorkbookRange = action("ONE_DRIVE_READ_WORKBOOK_RANGE", {
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;AAgCA,MAAa,4BAA4B,OAAO,iCA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AC,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1M,cAAc,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzM,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange: AppAction<\n typeof OneDriveReadWorkbookRangeInput,\n typeof OneDriveReadWorkbookRangeOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;;AAkCA,MAAa,4BAIT,OAAO,iCAAiC;CAC1C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApC4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;EAC9P,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;EACnL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpI,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;EAC9W,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;CACxP,CA6BS;CACP,QA7B6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,EAAE,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,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/restore-drive-item.ts
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;CACrS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;CACvP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACtP,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;AACzU,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem: AppAction<\n typeof OneDriveRestoreDriveItemInput,\n typeof OneDriveRestoreDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;CACrS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;CACvP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACtP,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;AACzU,CAAC;AACD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,iBAAiBA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/restore-drive-item.d.ts
@@ -19,12 +21,7 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
19
21
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
22
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>;
22
- declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- item_id: string;
24
- name?: string | undefined;
25
- drive_id?: string | undefined;
26
- parent_reference_id?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const oneDriveRestoreDriveItem: AppAction<typeof OneDriveRestoreDriveItemInput, typeof OneDriveRestoreDriveItemOutput, typeof oneDrive.credential>;
28
25
  //#endregion
29
26
  export { oneDriveRestoreDriveItem };
30
27
  //# sourceMappingURL=restore-drive-item.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.d.cts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"restore-drive-item.d.cts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/restore-drive-item.d.ts
@@ -19,12 +21,7 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
19
21
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
22
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
23
  }, z.core.$loose>;
22
- declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
23
- item_id: string;
24
- name?: string | undefined;
25
- drive_id?: string | undefined;
26
- parent_reference_id?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
24
+ declare const oneDriveRestoreDriveItem: AppAction<typeof OneDriveRestoreDriveItemInput, typeof OneDriveRestoreDriveItemOutput, typeof oneDrive.credential>;
28
25
  //#endregion
29
26
  export { oneDriveRestoreDriveItem };
30
27
  //# sourceMappingURL=restore-drive-item.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.d.mts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"restore-drive-item.d.mts","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAM7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;cAa9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const oneDriveRestoreDriveItem = action("ONE_DRIVE_RESTORE_DRIVE_ITEM", {
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EAC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SAAS,CAAC,CAAC,SAAS;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem: AppAction<\n typeof OneDriveRestoreDriveItemInput,\n typeof OneDriveRestoreDriveItemOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;;AAyBA,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA3B2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;EACrS,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;EACvP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;EACtP,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACzU,CAsBS;CACP,QAtB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/restore-item-version.ts
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACxL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion: AppAction<\n typeof OneDriveRestoreItemVersionInput,\n typeof OneDriveRestoreItemVersionOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACxL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAITC,eAAAA,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/restore-item-version.d.ts
@@ -10,12 +12,7 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
10
12
  declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
11
13
  message: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>;
13
- declare const oneDriveRestoreItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- item_id: string;
15
- version_id: string;
16
- user_id?: string | undefined;
17
- drive_id?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const oneDriveRestoreItemVersion: AppAction<typeof OneDriveRestoreItemVersionInput, typeof OneDriveRestoreItemVersionOutput, typeof oneDrive.credential>;
19
16
  //#endregion
20
17
  export { oneDriveRestoreItemVersion };
21
18
  //# sourceMappingURL=restore-item-version.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.d.cts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"restore-item-version.d.cts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { oneDrive } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/restore-item-version.d.ts
@@ -10,12 +12,7 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
10
12
  declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
11
13
  message: z.ZodNullable<z.ZodString>;
12
14
  }, z.core.$loose>;
13
- declare const oneDriveRestoreItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
14
- item_id: string;
15
- version_id: string;
16
- user_id?: string | undefined;
17
- drive_id?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
15
+ declare const oneDriveRestoreItemVersion: AppAction<typeof OneDriveRestoreItemVersionInput, typeof OneDriveRestoreItemVersionOutput, typeof oneDrive.credential>;
19
16
  //#endregion
20
17
  export { oneDriveRestoreItemVersion };
21
18
  //# sourceMappingURL=restore-item-version.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.d.mts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
1
+ {"version":3,"file":"restore-item-version.d.mts","names":[],"sources":["../../src/actions/restore-item-version.ts"],"mappings":";;;;;cAMa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;cAM/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,EAA4B,SAAA,QAChC,+BAAA,SACA,gCAAA,SACA,QAAA,CAAS,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const oneDriveRestoreItemVersion = action("ONE_DRIVE_RESTORE_ITEM_VERSION", {
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EACxL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACnK,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { oneDrive } from \"../app\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion: AppAction<\n typeof OneDriveRestoreItemVersionInput,\n typeof OneDriveRestoreItemVersionOutput,\n typeof oneDrive.credential\n> = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;AAgBA,MAAa,6BAIT,OAAO,kCAAkC;CAC3C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EACxL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACnK,CAaS;CACP,QAb8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/search-drive-items.ts