@keystrokehq/one_drive 0.1.2 → 0.1.4

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 (482) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/add-workbook-worksheet.cjs +1 -1
  3. package/dist/actions/add-workbook-worksheet.cjs.map +1 -1
  4. package/dist/actions/add-workbook-worksheet.d.cts +14 -2
  5. package/dist/actions/add-workbook-worksheet.d.mts +14 -2
  6. package/dist/actions/add-workbook-worksheet.mjs +1 -1
  7. package/dist/actions/add-workbook-worksheet.mjs.map +1 -1
  8. package/dist/actions/checkin-item.cjs +1 -1
  9. package/dist/actions/checkin-item.cjs.map +1 -1
  10. package/dist/actions/checkin-item.d.cts +14 -2
  11. package/dist/actions/checkin-item.d.mts +14 -2
  12. package/dist/actions/checkin-item.mjs +1 -1
  13. package/dist/actions/checkin-item.mjs.map +1 -1
  14. package/dist/actions/checkout-item.cjs +1 -1
  15. package/dist/actions/checkout-item.cjs.map +1 -1
  16. package/dist/actions/checkout-item.d.cts +14 -2
  17. package/dist/actions/checkout-item.d.mts +14 -2
  18. package/dist/actions/checkout-item.mjs +1 -1
  19. package/dist/actions/checkout-item.mjs.map +1 -1
  20. package/dist/actions/clear-workbook-range.cjs +1 -1
  21. package/dist/actions/clear-workbook-range.cjs.map +1 -1
  22. package/dist/actions/clear-workbook-range.d.cts +14 -2
  23. package/dist/actions/clear-workbook-range.d.mts +14 -2
  24. package/dist/actions/clear-workbook-range.mjs +1 -1
  25. package/dist/actions/clear-workbook-range.mjs.map +1 -1
  26. package/dist/actions/copy-item.cjs +1 -1
  27. package/dist/actions/copy-item.cjs.map +1 -1
  28. package/dist/actions/copy-item.d.cts +14 -2
  29. package/dist/actions/copy-item.d.mts +14 -2
  30. package/dist/actions/copy-item.mjs +1 -1
  31. package/dist/actions/copy-item.mjs.map +1 -1
  32. package/dist/actions/create-item-permission.cjs +3 -3
  33. package/dist/actions/create-item-permission.cjs.map +1 -1
  34. package/dist/actions/create-item-permission.d.cts +28 -16
  35. package/dist/actions/create-item-permission.d.mts +28 -16
  36. package/dist/actions/create-item-permission.mjs +3 -3
  37. package/dist/actions/create-item-permission.mjs.map +1 -1
  38. package/dist/actions/create-link.cjs +4 -4
  39. package/dist/actions/create-link.cjs.map +1 -1
  40. package/dist/actions/create-link.d.cts +18 -6
  41. package/dist/actions/create-link.d.cts.map +1 -1
  42. package/dist/actions/create-link.d.mts +18 -6
  43. package/dist/actions/create-link.d.mts.map +1 -1
  44. package/dist/actions/create-link.mjs +4 -4
  45. package/dist/actions/create-link.mjs.map +1 -1
  46. package/dist/actions/create-sharepoint-list-item.d.cts +13 -1
  47. package/dist/actions/create-sharepoint-list-item.d.cts.map +1 -1
  48. package/dist/actions/create-sharepoint-list-item.d.mts +13 -1
  49. package/dist/actions/create-sharepoint-list-item.d.mts.map +1 -1
  50. package/dist/actions/delete-item-permanently.cjs +1 -1
  51. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  52. package/dist/actions/delete-item-permanently.d.cts +14 -2
  53. package/dist/actions/delete-item-permanently.d.mts +14 -2
  54. package/dist/actions/delete-item-permanently.mjs +1 -1
  55. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  56. package/dist/actions/delete-item-permission.cjs +1 -1
  57. package/dist/actions/delete-item-permission.cjs.map +1 -1
  58. package/dist/actions/delete-item-permission.d.cts +14 -2
  59. package/dist/actions/delete-item-permission.d.mts +14 -2
  60. package/dist/actions/delete-item-permission.mjs +1 -1
  61. package/dist/actions/delete-item-permission.mjs.map +1 -1
  62. package/dist/actions/delete-item.cjs +1 -1
  63. package/dist/actions/delete-item.cjs.map +1 -1
  64. package/dist/actions/delete-item.d.cts +14 -2
  65. package/dist/actions/delete-item.d.mts +14 -2
  66. package/dist/actions/delete-item.mjs +1 -1
  67. package/dist/actions/delete-item.mjs.map +1 -1
  68. package/dist/actions/delete-share-permission.cjs +1 -1
  69. package/dist/actions/delete-share-permission.cjs.map +1 -1
  70. package/dist/actions/delete-share-permission.d.cts +14 -2
  71. package/dist/actions/delete-share-permission.d.mts +14 -2
  72. package/dist/actions/delete-share-permission.mjs +1 -1
  73. package/dist/actions/delete-share-permission.mjs.map +1 -1
  74. package/dist/actions/delete-sharepoint-item-permission.d.cts +13 -1
  75. package/dist/actions/delete-sharepoint-item-permission.d.mts +13 -1
  76. package/dist/actions/delete-workbook-range.cjs +1 -1
  77. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  78. package/dist/actions/delete-workbook-range.d.cts +14 -2
  79. package/dist/actions/delete-workbook-range.d.mts +14 -2
  80. package/dist/actions/delete-workbook-range.mjs +1 -1
  81. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  82. package/dist/actions/delete-workbook-worksheet.cjs +1 -1
  83. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  84. package/dist/actions/delete-workbook-worksheet.d.cts +14 -2
  85. package/dist/actions/delete-workbook-worksheet.d.mts +14 -2
  86. package/dist/actions/delete-workbook-worksheet.mjs +1 -1
  87. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  88. package/dist/actions/discard-checkout.cjs +1 -1
  89. package/dist/actions/discard-checkout.cjs.map +1 -1
  90. package/dist/actions/discard-checkout.d.cts +14 -2
  91. package/dist/actions/discard-checkout.d.mts +14 -2
  92. package/dist/actions/discard-checkout.mjs +1 -1
  93. package/dist/actions/discard-checkout.mjs.map +1 -1
  94. package/dist/actions/download-file-by-path.cjs +2 -2
  95. package/dist/actions/download-file-by-path.cjs.map +1 -1
  96. package/dist/actions/download-file-by-path.d.cts +15 -3
  97. package/dist/actions/download-file-by-path.d.mts +15 -3
  98. package/dist/actions/download-file-by-path.mjs +2 -2
  99. package/dist/actions/download-file-by-path.mjs.map +1 -1
  100. package/dist/actions/download-file.cjs +2 -2
  101. package/dist/actions/download-file.cjs.map +1 -1
  102. package/dist/actions/download-file.d.cts +15 -3
  103. package/dist/actions/download-file.d.mts +15 -3
  104. package/dist/actions/download-file.mjs +2 -2
  105. package/dist/actions/download-file.mjs.map +1 -1
  106. package/dist/actions/download-item-as-format.cjs +2 -2
  107. package/dist/actions/download-item-as-format.cjs.map +1 -1
  108. package/dist/actions/download-item-as-format.d.cts +15 -3
  109. package/dist/actions/download-item-as-format.d.mts +15 -3
  110. package/dist/actions/download-item-as-format.mjs +2 -2
  111. package/dist/actions/download-item-as-format.mjs.map +1 -1
  112. package/dist/actions/download-item-version.cjs +2 -2
  113. package/dist/actions/download-item-version.cjs.map +1 -1
  114. package/dist/actions/download-item-version.d.cts +15 -3
  115. package/dist/actions/download-item-version.d.mts +15 -3
  116. package/dist/actions/download-item-version.mjs +2 -2
  117. package/dist/actions/download-item-version.mjs.map +1 -1
  118. package/dist/actions/follow-item.cjs +1 -1
  119. package/dist/actions/follow-item.cjs.map +1 -1
  120. package/dist/actions/follow-item.d.cts +14 -2
  121. package/dist/actions/follow-item.d.mts +14 -2
  122. package/dist/actions/follow-item.mjs +1 -1
  123. package/dist/actions/follow-item.mjs.map +1 -1
  124. package/dist/actions/get-document-comments.cjs +2 -2
  125. package/dist/actions/get-document-comments.cjs.map +1 -1
  126. package/dist/actions/get-document-comments.d.cts +15 -3
  127. package/dist/actions/get-document-comments.d.mts +15 -3
  128. package/dist/actions/get-document-comments.mjs +2 -2
  129. package/dist/actions/get-document-comments.mjs.map +1 -1
  130. package/dist/actions/get-drive-item-by-sharing-url.cjs +2 -2
  131. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  132. package/dist/actions/get-drive-item-by-sharing-url.d.cts +15 -3
  133. package/dist/actions/get-drive-item-by-sharing-url.d.mts +15 -3
  134. package/dist/actions/get-drive-item-by-sharing-url.mjs +2 -2
  135. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  136. package/dist/actions/get-drive.cjs +5 -5
  137. package/dist/actions/get-drive.cjs.map +1 -1
  138. package/dist/actions/get-drive.d.cts +31 -19
  139. package/dist/actions/get-drive.d.mts +31 -19
  140. package/dist/actions/get-drive.mjs +5 -5
  141. package/dist/actions/get-drive.mjs.map +1 -1
  142. package/dist/actions/get-followed-item.cjs +4 -4
  143. package/dist/actions/get-followed-item.cjs.map +1 -1
  144. package/dist/actions/get-followed-item.d.cts +18 -6
  145. package/dist/actions/get-followed-item.d.mts +18 -6
  146. package/dist/actions/get-followed-item.mjs +4 -4
  147. package/dist/actions/get-followed-item.mjs.map +1 -1
  148. package/dist/actions/get-group-drive.cjs +5 -5
  149. package/dist/actions/get-group-drive.cjs.map +1 -1
  150. package/dist/actions/get-group-drive.d.cts +31 -19
  151. package/dist/actions/get-group-drive.d.mts +31 -19
  152. package/dist/actions/get-group-drive.mjs +5 -5
  153. package/dist/actions/get-group-drive.mjs.map +1 -1
  154. package/dist/actions/get-item-permissions.cjs +8 -8
  155. package/dist/actions/get-item-permissions.cjs.map +1 -1
  156. package/dist/actions/get-item-permissions.d.cts +37 -25
  157. package/dist/actions/get-item-permissions.d.mts +37 -25
  158. package/dist/actions/get-item-permissions.mjs +8 -8
  159. package/dist/actions/get-item-permissions.mjs.map +1 -1
  160. package/dist/actions/get-item-thumbnails.cjs +3 -3
  161. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  162. package/dist/actions/get-item-thumbnails.d.cts +18 -6
  163. package/dist/actions/get-item-thumbnails.d.mts +18 -6
  164. package/dist/actions/get-item-thumbnails.mjs +3 -3
  165. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  166. package/dist/actions/get-item-versions.cjs +6 -6
  167. package/dist/actions/get-item-versions.cjs.map +1 -1
  168. package/dist/actions/get-item-versions.d.cts +25 -13
  169. package/dist/actions/get-item-versions.d.mts +25 -13
  170. package/dist/actions/get-item-versions.mjs +6 -6
  171. package/dist/actions/get-item-versions.mjs.map +1 -1
  172. package/dist/actions/get-item.cjs +7 -7
  173. package/dist/actions/get-item.cjs.map +1 -1
  174. package/dist/actions/get-item.d.cts +37 -25
  175. package/dist/actions/get-item.d.mts +37 -25
  176. package/dist/actions/get-item.mjs +7 -7
  177. package/dist/actions/get-item.mjs.map +1 -1
  178. package/dist/actions/get-root.cjs +7 -7
  179. package/dist/actions/get-root.cjs.map +1 -1
  180. package/dist/actions/get-root.d.cts +26 -14
  181. package/dist/actions/get-root.d.mts +26 -14
  182. package/dist/actions/get-root.mjs +7 -7
  183. package/dist/actions/get-root.mjs.map +1 -1
  184. package/dist/actions/get-share.cjs +2 -2
  185. package/dist/actions/get-share.cjs.map +1 -1
  186. package/dist/actions/get-share.d.cts +15 -3
  187. package/dist/actions/get-share.d.mts +15 -3
  188. package/dist/actions/get-share.mjs +2 -2
  189. package/dist/actions/get-share.mjs.map +1 -1
  190. package/dist/actions/get-sharepoint-list-items.cjs +2 -2
  191. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  192. package/dist/actions/get-sharepoint-list-items.d.cts +15 -3
  193. package/dist/actions/get-sharepoint-list-items.d.mts +15 -3
  194. package/dist/actions/get-sharepoint-list-items.mjs +2 -2
  195. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  196. package/dist/actions/get-site-page-content.cjs +12 -12
  197. package/dist/actions/get-site-page-content.cjs.map +1 -1
  198. package/dist/actions/get-site-page-content.d.cts +25 -13
  199. package/dist/actions/get-site-page-content.d.mts +25 -13
  200. package/dist/actions/get-site-page-content.mjs +12 -12
  201. package/dist/actions/get-site-page-content.mjs.map +1 -1
  202. package/dist/actions/get-site.cjs +1 -1
  203. package/dist/actions/get-site.cjs.map +1 -1
  204. package/dist/actions/get-site.d.cts +14 -2
  205. package/dist/actions/get-site.d.mts +14 -2
  206. package/dist/actions/get-site.mjs +1 -1
  207. package/dist/actions/get-site.mjs.map +1 -1
  208. package/dist/actions/get-special-folder.cjs +7 -7
  209. package/dist/actions/get-special-folder.cjs.map +1 -1
  210. package/dist/actions/get-special-folder.d.cts +24 -12
  211. package/dist/actions/get-special-folder.d.mts +24 -12
  212. package/dist/actions/get-special-folder.mjs +7 -7
  213. package/dist/actions/get-special-folder.mjs.map +1 -1
  214. package/dist/actions/get-user.cjs +1 -1
  215. package/dist/actions/get-user.cjs.map +1 -1
  216. package/dist/actions/get-user.d.cts +14 -2
  217. package/dist/actions/get-user.d.mts +14 -2
  218. package/dist/actions/get-user.mjs +1 -1
  219. package/dist/actions/get-user.mjs.map +1 -1
  220. package/dist/actions/get-workbook-used-range.cjs +1 -1
  221. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  222. package/dist/actions/get-workbook-used-range.d.cts +14 -2
  223. package/dist/actions/get-workbook-used-range.d.mts +14 -2
  224. package/dist/actions/get-workbook-used-range.mjs +1 -1
  225. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  226. package/dist/actions/get-workbook-worksheet.cjs +1 -1
  227. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  228. package/dist/actions/get-workbook-worksheet.d.cts +14 -2
  229. package/dist/actions/get-workbook-worksheet.d.mts +14 -2
  230. package/dist/actions/get-workbook-worksheet.mjs +1 -1
  231. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  232. package/dist/actions/grant-share-permission.cjs +5 -5
  233. package/dist/actions/grant-share-permission.cjs.map +1 -1
  234. package/dist/actions/grant-share-permission.d.cts +19 -6
  235. package/dist/actions/grant-share-permission.d.mts +19 -6
  236. package/dist/actions/grant-share-permission.mjs +5 -5
  237. package/dist/actions/grant-share-permission.mjs.map +1 -1
  238. package/dist/actions/grant-sharepoint-item-permission.d.cts +13 -1
  239. package/dist/actions/grant-sharepoint-item-permission.d.mts +13 -1
  240. package/dist/actions/invite-user-to-item.cjs +7 -7
  241. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  242. package/dist/actions/invite-user-to-item.d.cts +21 -8
  243. package/dist/actions/invite-user-to-item.d.mts +21 -8
  244. package/dist/actions/invite-user-to-item.mjs +7 -7
  245. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  246. package/dist/actions/list-activities.cjs +20 -20
  247. package/dist/actions/list-activities.cjs.map +1 -1
  248. package/dist/actions/list-activities.d.cts +77 -65
  249. package/dist/actions/list-activities.d.mts +77 -65
  250. package/dist/actions/list-activities.mjs +20 -20
  251. package/dist/actions/list-activities.mjs.map +1 -1
  252. package/dist/actions/list-all-drive-items.cjs +29 -29
  253. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  254. package/dist/actions/list-all-drive-items.d.cts +55 -43
  255. package/dist/actions/list-all-drive-items.d.mts +55 -43
  256. package/dist/actions/list-all-drive-items.mjs +29 -29
  257. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  258. package/dist/actions/list-bundles.cjs +6 -6
  259. package/dist/actions/list-bundles.cjs.map +1 -1
  260. package/dist/actions/list-bundles.d.cts +25 -13
  261. package/dist/actions/list-bundles.d.mts +25 -13
  262. package/dist/actions/list-bundles.mjs +6 -6
  263. package/dist/actions/list-bundles.mjs.map +1 -1
  264. package/dist/actions/list-drives.cjs +5 -5
  265. package/dist/actions/list-drives.cjs.map +1 -1
  266. package/dist/actions/list-drives.d.cts +22 -10
  267. package/dist/actions/list-drives.d.mts +22 -10
  268. package/dist/actions/list-drives.mjs +5 -5
  269. package/dist/actions/list-drives.mjs.map +1 -1
  270. package/dist/actions/list-folder-children.cjs +29 -29
  271. package/dist/actions/list-folder-children.cjs.map +1 -1
  272. package/dist/actions/list-folder-children.d.cts +55 -43
  273. package/dist/actions/list-folder-children.d.mts +55 -43
  274. package/dist/actions/list-folder-children.mjs +29 -29
  275. package/dist/actions/list-folder-children.mjs.map +1 -1
  276. package/dist/actions/list-item-activities.cjs +4 -4
  277. package/dist/actions/list-item-activities.cjs.map +1 -1
  278. package/dist/actions/list-item-activities.d.cts +17 -5
  279. package/dist/actions/list-item-activities.d.mts +17 -5
  280. package/dist/actions/list-item-activities.mjs +4 -4
  281. package/dist/actions/list-item-activities.mjs.map +1 -1
  282. package/dist/actions/list-onedrive-shared-items.d.cts +13 -1
  283. package/dist/actions/list-onedrive-shared-items.d.mts +13 -1
  284. package/dist/actions/list-root-drive-changes.cjs +7 -7
  285. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  286. package/dist/actions/list-root-drive-changes.d.cts +20 -8
  287. package/dist/actions/list-root-drive-changes.d.mts +20 -8
  288. package/dist/actions/list-root-drive-changes.mjs +7 -7
  289. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  290. package/dist/actions/list-share-permissions.cjs +2 -2
  291. package/dist/actions/list-share-permissions.cjs.map +1 -1
  292. package/dist/actions/list-share-permissions.d.cts +15 -3
  293. package/dist/actions/list-share-permissions.d.mts +15 -3
  294. package/dist/actions/list-share-permissions.mjs +2 -2
  295. package/dist/actions/list-share-permissions.mjs.map +1 -1
  296. package/dist/actions/list-sharepoint-item-permissions.d.cts +13 -1
  297. package/dist/actions/list-sharepoint-item-permissions.d.mts +13 -1
  298. package/dist/actions/list-sharepoint-list-items-delta.cjs +3 -3
  299. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  300. package/dist/actions/list-sharepoint-list-items-delta.d.cts +16 -4
  301. package/dist/actions/list-sharepoint-list-items-delta.d.mts +16 -4
  302. package/dist/actions/list-sharepoint-list-items-delta.mjs +3 -3
  303. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  304. package/dist/actions/list-site-columns.cjs +2 -2
  305. package/dist/actions/list-site-columns.cjs.map +1 -1
  306. package/dist/actions/list-site-columns.d.cts +15 -3
  307. package/dist/actions/list-site-columns.d.mts +15 -3
  308. package/dist/actions/list-site-columns.mjs +2 -2
  309. package/dist/actions/list-site-columns.mjs.map +1 -1
  310. package/dist/actions/list-site-items-delta.cjs +2 -2
  311. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  312. package/dist/actions/list-site-items-delta.d.cts +15 -3
  313. package/dist/actions/list-site-items-delta.d.mts +15 -3
  314. package/dist/actions/list-site-items-delta.mjs +2 -2
  315. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  316. package/dist/actions/list-site-lists.cjs +9 -9
  317. package/dist/actions/list-site-lists.cjs.map +1 -1
  318. package/dist/actions/list-site-lists.d.cts +28 -16
  319. package/dist/actions/list-site-lists.d.mts +28 -16
  320. package/dist/actions/list-site-lists.mjs +9 -9
  321. package/dist/actions/list-site-lists.mjs.map +1 -1
  322. package/dist/actions/list-site-subsites.cjs +2 -2
  323. package/dist/actions/list-site-subsites.cjs.map +1 -1
  324. package/dist/actions/list-site-subsites.d.cts +15 -3
  325. package/dist/actions/list-site-subsites.d.mts +15 -3
  326. package/dist/actions/list-site-subsites.mjs +2 -2
  327. package/dist/actions/list-site-subsites.mjs.map +1 -1
  328. package/dist/actions/list-subscriptions.cjs +2 -2
  329. package/dist/actions/list-subscriptions.cjs.map +1 -1
  330. package/dist/actions/list-subscriptions.d.cts +15 -3
  331. package/dist/actions/list-subscriptions.d.cts.map +1 -1
  332. package/dist/actions/list-subscriptions.d.mts +15 -3
  333. package/dist/actions/list-subscriptions.d.mts.map +1 -1
  334. package/dist/actions/list-subscriptions.mjs +2 -2
  335. package/dist/actions/list-subscriptions.mjs.map +1 -1
  336. package/dist/actions/list-workbook-worksheets.cjs +2 -2
  337. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  338. package/dist/actions/list-workbook-worksheets.d.cts +15 -3
  339. package/dist/actions/list-workbook-worksheets.d.mts +15 -3
  340. package/dist/actions/list-workbook-worksheets.mjs +2 -2
  341. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  342. package/dist/actions/move-item.cjs +2 -2
  343. package/dist/actions/move-item.cjs.map +1 -1
  344. package/dist/actions/move-item.d.cts +15 -3
  345. package/dist/actions/move-item.d.mts +15 -3
  346. package/dist/actions/move-item.mjs +2 -2
  347. package/dist/actions/move-item.mjs.map +1 -1
  348. package/dist/actions/onedrive-create-folder.cjs +1 -1
  349. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  350. package/dist/actions/onedrive-create-folder.d.cts +14 -2
  351. package/dist/actions/onedrive-create-folder.d.mts +14 -2
  352. package/dist/actions/onedrive-create-folder.mjs +1 -1
  353. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  354. package/dist/actions/onedrive-create-text-file.cjs +2 -2
  355. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  356. package/dist/actions/onedrive-create-text-file.d.cts +15 -3
  357. package/dist/actions/onedrive-create-text-file.d.mts +15 -3
  358. package/dist/actions/onedrive-create-text-file.mjs +2 -2
  359. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  360. package/dist/actions/onedrive-find-file.cjs +11 -11
  361. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  362. package/dist/actions/onedrive-find-file.d.cts +31 -19
  363. package/dist/actions/onedrive-find-file.d.mts +31 -19
  364. package/dist/actions/onedrive-find-file.mjs +11 -11
  365. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  366. package/dist/actions/onedrive-find-folder.cjs +7 -7
  367. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  368. package/dist/actions/onedrive-find-folder.d.cts +26 -14
  369. package/dist/actions/onedrive-find-folder.d.mts +26 -14
  370. package/dist/actions/onedrive-find-folder.mjs +7 -7
  371. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  372. package/dist/actions/onedrive-list-items.cjs +28 -28
  373. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  374. package/dist/actions/onedrive-list-items.d.cts +49 -37
  375. package/dist/actions/onedrive-list-items.d.mts +49 -37
  376. package/dist/actions/onedrive-list-items.mjs +28 -28
  377. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  378. package/dist/actions/onedrive-upload-file.cjs +3 -3
  379. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  380. package/dist/actions/onedrive-upload-file.d.cts +17 -5
  381. package/dist/actions/onedrive-upload-file.d.cts.map +1 -1
  382. package/dist/actions/onedrive-upload-file.d.mts +17 -5
  383. package/dist/actions/onedrive-upload-file.d.mts.map +1 -1
  384. package/dist/actions/onedrive-upload-file.mjs +3 -3
  385. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  386. package/dist/actions/preview-drive-item.cjs +1 -1
  387. package/dist/actions/preview-drive-item.cjs.map +1 -1
  388. package/dist/actions/preview-drive-item.d.cts +14 -2
  389. package/dist/actions/preview-drive-item.d.mts +14 -2
  390. package/dist/actions/preview-drive-item.mjs +1 -1
  391. package/dist/actions/preview-drive-item.mjs.map +1 -1
  392. package/dist/actions/read-workbook-range.cjs +1 -1
  393. package/dist/actions/read-workbook-range.cjs.map +1 -1
  394. package/dist/actions/read-workbook-range.d.cts +14 -2
  395. package/dist/actions/read-workbook-range.d.mts +14 -2
  396. package/dist/actions/read-workbook-range.mjs +1 -1
  397. package/dist/actions/read-workbook-range.mjs.map +1 -1
  398. package/dist/actions/restore-drive-item.cjs +1 -1
  399. package/dist/actions/restore-drive-item.cjs.map +1 -1
  400. package/dist/actions/restore-drive-item.d.cts +14 -2
  401. package/dist/actions/restore-drive-item.d.mts +14 -2
  402. package/dist/actions/restore-drive-item.mjs +1 -1
  403. package/dist/actions/restore-drive-item.mjs.map +1 -1
  404. package/dist/actions/restore-item-version.cjs +1 -1
  405. package/dist/actions/restore-item-version.cjs.map +1 -1
  406. package/dist/actions/restore-item-version.d.cts +14 -2
  407. package/dist/actions/restore-item-version.d.mts +14 -2
  408. package/dist/actions/restore-item-version.mjs +1 -1
  409. package/dist/actions/restore-item-version.mjs.map +1 -1
  410. package/dist/actions/search-drive-items.d.cts +13 -1
  411. package/dist/actions/search-drive-items.d.mts +13 -1
  412. package/dist/actions/search-items.cjs +10 -10
  413. package/dist/actions/search-items.cjs.map +1 -1
  414. package/dist/actions/search-items.d.cts +27 -15
  415. package/dist/actions/search-items.d.mts +27 -15
  416. package/dist/actions/search-items.mjs +10 -10
  417. package/dist/actions/search-items.mjs.map +1 -1
  418. package/dist/actions/unfollow-item.cjs +1 -1
  419. package/dist/actions/unfollow-item.cjs.map +1 -1
  420. package/dist/actions/unfollow-item.d.cts +14 -2
  421. package/dist/actions/unfollow-item.d.mts +14 -2
  422. package/dist/actions/unfollow-item.mjs +1 -1
  423. package/dist/actions/unfollow-item.mjs.map +1 -1
  424. package/dist/actions/update-drive-item-metadata.cjs +5 -5
  425. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  426. package/dist/actions/update-drive-item-metadata.d.cts +18 -6
  427. package/dist/actions/update-drive-item-metadata.d.mts +18 -6
  428. package/dist/actions/update-drive-item-metadata.mjs +5 -5
  429. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  430. package/dist/actions/update-drive-items-permissions.cjs +4 -4
  431. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  432. package/dist/actions/update-drive-items-permissions.d.cts +27 -15
  433. package/dist/actions/update-drive-items-permissions.d.mts +27 -15
  434. package/dist/actions/update-drive-items-permissions.mjs +4 -4
  435. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  436. package/dist/actions/update-file-content.cjs +2 -2
  437. package/dist/actions/update-file-content.cjs.map +1 -1
  438. package/dist/actions/update-file-content.d.cts +15 -3
  439. package/dist/actions/update-file-content.d.mts +15 -3
  440. package/dist/actions/update-file-content.mjs +2 -2
  441. package/dist/actions/update-file-content.mjs.map +1 -1
  442. package/dist/actions/update-sharepoint-item-permission.d.cts +13 -1
  443. package/dist/actions/update-sharepoint-item-permission.d.mts +13 -1
  444. package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -1
  445. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  446. package/dist/actions/update-sharepoint-list-item-fields.d.cts +14 -2
  447. package/dist/actions/update-sharepoint-list-item-fields.d.cts.map +1 -1
  448. package/dist/actions/update-sharepoint-list-item-fields.d.mts +14 -2
  449. package/dist/actions/update-sharepoint-list-item-fields.d.mts.map +1 -1
  450. package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -1
  451. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  452. package/dist/actions/update-workbook-range.cjs +1 -1
  453. package/dist/actions/update-workbook-range.cjs.map +1 -1
  454. package/dist/actions/update-workbook-range.d.cts +14 -2
  455. package/dist/actions/update-workbook-range.d.mts +14 -2
  456. package/dist/actions/update-workbook-range.mjs +1 -1
  457. package/dist/actions/update-workbook-range.mjs.map +1 -1
  458. package/dist/actions/update-workbook-worksheet.cjs +1 -1
  459. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  460. package/dist/actions/update-workbook-worksheet.d.cts +14 -2
  461. package/dist/actions/update-workbook-worksheet.d.mts +14 -2
  462. package/dist/actions/update-workbook-worksheet.mjs +1 -1
  463. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  464. package/dist/actions/write-workbook-cell.cjs +1 -1
  465. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  466. package/dist/actions/write-workbook-cell.d.cts +14 -2
  467. package/dist/actions/write-workbook-cell.d.mts +14 -2
  468. package/dist/actions/write-workbook-cell.mjs +1 -1
  469. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  470. package/dist/app.cjs +5 -2
  471. package/dist/app.cjs.map +1 -1
  472. package/dist/app.d.cts +9 -1
  473. package/dist/app.d.cts.map +1 -1
  474. package/dist/app.d.mts +9 -1
  475. package/dist/app.d.mts.map +1 -1
  476. package/dist/app.mjs +3 -1
  477. package/dist/app.mjs.map +1 -1
  478. package/dist/execute.cjs +1 -1
  479. package/dist/execute.cjs.map +1 -1
  480. package/dist/execute.mjs +1 -1
  481. package/dist/execute.mjs.map +1 -1
  482. package/package.json +1 -1
@@ -15,7 +15,7 @@ declare const OneDrivePreviewDriveItemOutput: z.ZodObject<{
15
15
  getUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  postUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  postParameters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  item_id: string;
21
21
  page?: string | number | undefined;
@@ -25,7 +25,19 @@ declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowAc
25
25
  drive_id?: string | undefined;
26
26
  group_id?: string | undefined;
27
27
  share_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>;
29
41
  //#endregion
30
42
  export { oneDrivePreviewDriveItem };
31
43
  //# sourceMappingURL=preview-drive-item.d.cts.map
@@ -15,7 +15,7 @@ declare const OneDrivePreviewDriveItemOutput: z.ZodObject<{
15
15
  getUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
16
  postUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  postParameters: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  item_id: string;
21
21
  page?: string | number | undefined;
@@ -25,7 +25,19 @@ declare const oneDrivePreviewDriveItem: import("@keystrokehq/action").WorkflowAc
25
25
  drive_id?: string | undefined;
26
26
  group_id?: string | undefined;
27
27
  share_id?: string | undefined;
28
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>;
29
41
  //#endregion
30
42
  export { oneDrivePreviewDriveItem };
31
43
  //# sourceMappingURL=preview-drive-item.d.mts.map
@@ -18,7 +18,7 @@ const oneDrivePreviewDriveItem = action("ONE_DRIVE_PREVIEW_DRIVE_ITEM", {
18
18
  getUrl: z.string().describe("URL suitable for embedding using HTTP GET (iframes, etc.)").nullable().optional(),
19
19
  postUrl: z.string().describe("URL suitable for embedding using HTTP POST (form post, JS, etc.)").nullable().optional(),
20
20
  postParameters: z.string().describe("POST parameters to include if using postUrl").nullable().optional()
21
- })
21
+ }).passthrough()
22
22
  });
23
23
  //#endregion
24
24
  export { oneDrivePreviewDriveItem };
@@ -1 +1 @@
1
- {"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n});\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxI,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"preview-drive-item.mjs","names":[],"sources":["../../src/actions/preview-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDrivePreviewDriveItemInput = z.object({\n page: z.union([z.string(), z.number().int()]).optional(),\n zoom: z.number().describe(\"Optional. Zoom level to start at, if applicable.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the DriveItem.\"),\n site_id: z.string().describe(\"The unique identifier of the Site. Provide if the item is in a SharePoint site.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the User. Provide if the item is in another user's drive.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive. If not provided, the request will be made to the current user's drive.\").optional(),\n group_id: z.string().describe(\"The unique identifier of the Group. Provide if the item is in a group drive.\").optional(),\n share_id: z.string().describe(\"The unique identifier of the shared item. Provide if the item is accessed via a share link.\").optional(),\n});\nexport const OneDrivePreviewDriveItemOutput = z.object({\n getUrl: z.string().describe(\"URL suitable for embedding using HTTP GET (iframes, etc.)\").nullable().optional(),\n postUrl: z.string().describe(\"URL suitable for embedding using HTTP POST (form post, JS, etc.)\").nullable().optional(),\n postParameters: z.string().describe(\"POST parameters to include if using postUrl\").nullable().optional(),\n}).passthrough();\n\nexport const oneDrivePreviewDriveItem = action(\"ONE_DRIVE_PREVIEW_DRIVE_ITEM\", {\n slug: \"one_drive-preview-drive-item\",\n name: \"Preview Drive Item\",\n description: \"Generates or retrieves a short-lived, permission-bound embeddable URL for a preview of a specific item. URLs expire and must be regenerated per session — do not cache. Use when you need to display a temporary preview of a file.\",\n input: OneDrivePreviewDriveItemInput,\n output: OneDrivePreviewDriveItemOutput,\n});\n"],"mappings":";;AAoBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB2C,EAAE,OAAO;EACpD,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACtE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EACzH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;EAC5H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;EACrJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACxI,CAWS;CACP,QAX4C,EAAE,OAAO;EACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -57,7 +57,7 @@ const OneDriveReadWorkbookRangeOutput = zod.z.object({
57
57
  zod.z.number(),
58
58
  zod.z.boolean()
59
59
  ]).nullable())).describe("2D array containing the cell formulas in the user's locale notation.").nullable().optional()
60
- });
60
+ }).passthrough();
61
61
  const oneDriveReadWorkbookRange = require_action.action("ONE_DRIVE_READ_WORKBOOK_RANGE", {
62
62
  slug: "one_drive-read-workbook-range",
63
63
  name: "Read Workbook Range",
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n});\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;CAC9P,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;CACnL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;CACxJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;CACpI,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;CAC9W,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;AACxP,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,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,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/N,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,OAAO;EAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;EAAGA,IAAAA,EAAE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,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"read-workbook-range.cjs","names":["z","action"],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\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ACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -27,7 +27,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
27
27
  formulasR1C1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
28
28
  numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
29
29
  formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
30
- }, z.core.$strip>;
30
+ }, z.core.$loose>;
31
31
  declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  address: string;
33
33
  item_id: string;
@@ -35,7 +35,19 @@ declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowA
35
35
  worksheet_id_or_name: string;
36
36
  session_id?: string | undefined;
37
37
  select_fields?: string[] | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ accessToken: z.ZodString;
50
+ }, z.core.$strip>>]>;
39
51
  //#endregion
40
52
  export { oneDriveReadWorkbookRange };
41
53
  //# sourceMappingURL=read-workbook-range.d.cts.map
@@ -27,7 +27,7 @@ declare const OneDriveReadWorkbookRangeOutput: z.ZodObject<{
27
27
  formulasR1C1: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
28
28
  numberFormat: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
29
29
  formulasLocal: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodArray<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean]>>>>>>;
30
- }, z.core.$strip>;
30
+ }, z.core.$loose>;
31
31
  declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowActionDefinition<{
32
32
  address: string;
33
33
  item_id: string;
@@ -35,7 +35,19 @@ declare const oneDriveReadWorkbookRange: import("@keystrokehq/action").WorkflowA
35
35
  worksheet_id_or_name: string;
36
36
  session_id?: string | undefined;
37
37
  select_fields?: string[] | undefined;
38
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
38
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
45
+ connectionId: z.ZodString;
46
+ entityId: z.ZodString;
47
+ instanceId: z.ZodString;
48
+ }, z.core.$strip>, z.ZodObject<{
49
+ accessToken: z.ZodString;
50
+ }, z.core.$strip>>]>;
39
51
  //#endregion
40
52
  export { oneDriveReadWorkbookRange };
41
53
  //# sourceMappingURL=read-workbook-range.d.mts.map
@@ -60,7 +60,7 @@ const oneDriveReadWorkbookRange = action("ONE_DRIVE_READ_WORKBOOK_RANGE", {
60
60
  z.number(),
61
61
  z.boolean()
62
62
  ]).nullable())).describe("2D array containing the cell formulas in the user's locale notation.").nullable().optional()
63
- })
63
+ }).passthrough()
64
64
  });
65
65
  //#endregion
66
66
  export { oneDriveReadWorkbookRange };
@@ -1 +1 @@
1
- {"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n});\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;AAgCA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhC4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;EAC9P,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;EACnL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACpI,eAAe,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uTAAuT,CAAC,CAAC,SAAS;EAC9W,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,4MAA4M;CACxP,CAyBS;CACP,QAzB6C,EAAE,OAAO;EACtD,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/N,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjF,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO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AC,CAAC,SAAS;EAC1H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,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,+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,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"read-workbook-range.mjs","names":[],"sources":["../../src/actions/read-workbook-range.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveReadWorkbookRangeInput = z.object({\n address: z.string().describe(\"The range address in A1 notation. Supports single cells (e.g., 'A1'), cell ranges (e.g., 'A1:B5'), entire columns (e.g., 'A:A'), or entire rows (e.g., '1:1'). The address is used as-is in the Graph API function call syntax.\"),\n item_id: z.string().describe(\"The unique identifier of the workbook item (Excel file). This is the DriveItem ID for the Excel file containing the worksheet you want to read from.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the workbook. Required to locate the Excel file in OneDrive or SharePoint.\"),\n session_id: z.string().describe(\"Optional workbook session ID. Use this to read from an existing Excel workbook session.\").optional(),\n select_fields: z.array(z.string()).describe(\"Optional list of specific fields to return in the response. If not specified, all default range properties are returned. Available fields include: address, addressLocal, cellCount, columnCount, columnHidden, columnIndex, hidden, rowCount, rowHidden, rowIndex, values, formulas, text, valueTypes, numberFormat.\").optional(),\n worksheet_id_or_name: z.string().describe(\"The ID or name of the worksheet within the workbook. Can be a worksheet name like 'Sheet1' or a worksheet ID like '{00000000-0001-0000-0000-000000000000}'. Non-ASCII names are automatically URL-encoded.\"),\n});\nexport const OneDriveReadWorkbookRangeOutput = z.object({\n text: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the text representations of cell values (how they appear in Excel UI).\").nullable().optional(),\n hidden: z.boolean().describe(\"Whether the range is hidden.\").nullable().optional(),\n values: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell values. Even single cells or rows are returned as 2D arrays.\").nullable().optional(),\n address: z.string().describe(\"Range reference in A1 notation with sheet name (e.g., 'Sheet1!A1:B5').\").nullable().optional(),\n formulas: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in A1-style notation. Cells without formulas contain their values.\").nullable().optional(),\n rowCount: z.number().int().describe(\"Number of rows in the range.\").nullable().optional(),\n rowIndex: z.number().int().describe(\"The zero-based row index of the first cell in the range.\").nullable().optional(),\n cellCount: z.number().int().describe(\"Number of cells in the range.\").nullable().optional(),\n rowHidden: z.boolean().describe(\"Whether all rows in the range are hidden.\").nullable().optional(),\n valueTypes: z.array(z.array(z.string())).describe(\"2D array containing the data type of each cell value (e.g., 'String', 'Double', 'Boolean', 'Empty', 'Error').\").nullable().optional(),\n columnCount: z.number().int().describe(\"Number of columns in the range.\").nullable().optional(),\n columnIndex: z.number().int().describe(\"The zero-based column index of the first cell in the range.\").nullable().optional(),\n addressLocal: z.string().describe(\"Range reference in user locale.\").nullable().optional(),\n columnHidden: z.boolean().describe(\"Whether all columns in the range are hidden.\").nullable().optional(),\n formulasR1C1: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in R1C1-style notation.\").nullable().optional(),\n numberFormat: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the number format strings for each cell.\").nullable().optional(),\n formulasLocal: z.array(z.array(z.union([z.string(), z.number().int(), z.number(), z.boolean()]).nullable())).describe(\"2D array containing the cell formulas in the user's locale notation.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveReadWorkbookRange = action(\"ONE_DRIVE_READ_WORKBOOK_RANGE\", {\n slug: \"one_drive-read-workbook-range\",\n name: \"Read Workbook Range\",\n description: \"Reads a range of cells from an Excel workbook worksheet stored in OneDrive or SharePoint using Microsoft Graph API. Returns cell values, formulas, formatting, and metadata for the specified range. Use this action when you need to extract data from specific cells in an Excel file, whether reading a single cell, a rectangular range, an entire column, or an entire row. The range address must be specified in A1 notation (e.g., 'A1:B5').\",\n input: OneDriveReadWorkbookRangeInput,\n output: OneDriveReadWorkbookRangeOutput,\n});\n"],"mappings":";;AAgCA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhC4C,EAAE,OAAO;EACrD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO;EAC9P,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sJAAsJ;EACnL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,0HAA0H;EACxJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS;EACp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,SAAS,CAAC,CAAC,SAAS;EACzM,eAAe,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;EAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpN,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -18,7 +18,7 @@ const OneDriveRestoreDriveItemOutput = zod.z.object({
18
18
  createdDateTime: zod.z.string().describe("The date and time the item was originally created.").nullable().optional(),
19
19
  parentReference: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Reference to the parent folder containing the restored item.").nullable().optional(),
20
20
  lastModifiedDateTime: zod.z.string().describe("The date and time the item was last modified.").nullable().optional()
21
- });
21
+ }).passthrough();
22
22
  const oneDriveRestoreDriveItem = require_action.action("ONE_DRIVE_RESTORE_DRIVE_ITEM", {
23
23
  slug: "one_drive-restore-drive-item",
24
24
  name: "Restore Deleted Item",
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the 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,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AAC,CAAC,SAAS;CAChJ,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjH,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-drive-item.cjs","names":["z","action"],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;CACrS,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;CACvP,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;CACtP,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;AACzU,CAAC;AACD,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"}
@@ -18,13 +18,25 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
18
18
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
20
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  item_id: string;
24
24
  name?: string | undefined;
25
25
  drive_id?: string | undefined;
26
26
  parent_reference_id?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ accessToken: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { oneDriveRestoreDriveItem };
30
42
  //# sourceMappingURL=restore-drive-item.d.cts.map
@@ -18,13 +18,25 @@ declare const OneDriveRestoreDriveItemOutput: z.ZodObject<{
18
18
  createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  parentReference: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
20
20
  lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
- }, z.core.$strip>;
21
+ }, z.core.$loose>;
22
22
  declare const oneDriveRestoreDriveItem: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  item_id: string;
24
24
  name?: string | undefined;
25
25
  drive_id?: string | undefined;
26
26
  parent_reference_id?: string | undefined;
27
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
27
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
28
+ connectionId: z.ZodString;
29
+ entityId: z.ZodString;
30
+ instanceId: z.ZodString;
31
+ }, z.core.$strip>, z.ZodObject<{
32
+ accessToken: z.ZodString;
33
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>;
28
40
  //#endregion
29
41
  export { oneDriveRestoreDriveItem };
30
42
  //# sourceMappingURL=restore-drive-item.d.mts.map
@@ -21,7 +21,7 @@ const oneDriveRestoreDriveItem = action("ONE_DRIVE_RESTORE_DRIVE_ITEM", {
21
21
  createdDateTime: z.string().describe("The date and time the item was originally created.").nullable().optional(),
22
22
  parentReference: z.record(z.string(), z.unknown()).describe("Reference to the parent folder containing the restored item.").nullable().optional(),
23
23
  lastModifiedDateTime: z.string().describe("The date and time the item was last modified.").nullable().optional()
24
- })
24
+ }).passthrough()
25
25
  });
26
26
  //#endregion
27
27
  export { oneDriveRestoreDriveItem };
@@ -1 +1 @@
1
- {"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n});\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACp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AAS,CAAC,CAAC,SAAS;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"restore-drive-item.mjs","names":[],"sources":["../../src/actions/restore-drive-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreDriveItemInput = z.object({\n name: z.string().describe(\"(Optional) The new name for the restored item. If not provided, the item will be restored with its original name. This is useful if you want to rename the item during the restore process or if an item with the same name already exists in the destination.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the deleted DriveItem (file or folder) to restore. This item must currently be in the OneDrive recycle bin. The ID can be obtained from deleted items listing or from the item before deletion.\"),\n drive_id: z.string().describe(\"The unique identifier of the Drive containing the deleted item. Required when using application authentication. If not provided with delegated authentication, uses the authenticated user's default drive.\").optional(),\n parent_reference_id: z.string().describe(\"(Optional) The unique identifier of the parent folder where the item should be restored. If not provided, the item will be restored to its original parent location. This is useful when you want to restore the item to a different folder than where it was originally located.\").optional(),\n});\nexport const OneDriveRestoreDriveItemOutput = z.object({\n id: z.string().describe(\"The unique ID of the restored item.\").nullable().optional(),\n file: z.record(z.string(), z.unknown()).describe(\"If the item is a file, this contains file-specific metadata.\").nullable().optional(),\n name: z.string().describe(\"The name of the restored item.\").nullable().optional(),\n size: z.number().int().describe(\"The size of the restored item in bytes.\").nullable().optional(),\n folder: z.record(z.string(), z.unknown()).describe(\"If the item is a folder, this contains folder-specific metadata (e.g., childCount).\").nullable().optional(),\n webUrl: z.string().describe(\"URL to view the restored item in a browser.\").nullable().optional(),\n deleted: z.record(z.string(), z.unknown()).describe(\"Information about the deleted state (should be null after restore).\").nullable().optional(),\n createdDateTime: z.string().describe(\"The date and time the item was originally created.\").nullable().optional(),\n parentReference: z.record(z.string(), z.unknown()).describe(\"Reference to the parent folder containing the restored item.\").nullable().optional(),\n lastModifiedDateTime: z.string().describe(\"The date and time the item was last modified.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveRestoreDriveItem = action(\"ONE_DRIVE_RESTORE_DRIVE_ITEM\", {\n slug: \"one_drive-restore-drive-item\",\n name: \"Restore Deleted Item\",\n description: \"Tool to restore a deleted OneDrive driveItem (file or folder) from the recycle bin. Use when you need to recover a deleted item to its original location or to a specified parent folder, optionally renaming it during restoration. IMPORTANT LIMITATION: This API is ONLY available for OneDrive Personal accounts. It does NOT work with OneDrive for Business or SharePoint. For Business/SharePoint accounts, use the SharePoint REST API endpoints (/_api/web/recyclebin) instead.\",\n input: OneDriveRestoreDriveItemInput,\n output: OneDriveRestoreDriveItemOutput,\n});\n"],"mappings":";;AAuBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gQAAgQ,CAAC,CAAC,SAAS;EACrS,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0NAA0N;EACvP,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6MAA6M,CAAC,CAAC,SAAS;EACtP,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mRAAmR,CAAC,CAAC,SAAS;CACzU,CAkBS;CACP,QAlB4C,EAAE,OAAO;EACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/G,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChJ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -7,7 +7,7 @@ const OneDriveRestoreItemVersionInput = zod.z.object({
7
7
  drive_id: zod.z.string().describe("The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.").optional(),
8
8
  version_id: zod.z.string().describe("The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.")
9
9
  });
10
- const OneDriveRestoreItemVersionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the version restore operation.").nullable() });
10
+ const OneDriveRestoreItemVersionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the version restore operation.").nullable() }).passthrough();
11
11
  const oneDriveRestoreItemVersion = require_action.action("ONE_DRIVE_RESTORE_ITEM_VERSION", {
12
12
  slug: "one_drive-restore-item-version",
13
13
  name: "Restore Item Version",
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n});\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACxL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"restore-item-version.cjs","names":["z","action"],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;CAC/G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;CACxL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;AACnK,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,6BAA6BC,eAAAA,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,13 +9,25 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const oneDriveRestoreItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  item_id: string;
15
15
  version_id: string;
16
16
  user_id?: string | undefined;
17
17
  drive_id?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ accessToken: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ accessToken: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { oneDriveRestoreItemVersion };
21
33
  //# sourceMappingURL=restore-item-version.d.cts.map
@@ -9,13 +9,25 @@ declare const OneDriveRestoreItemVersionInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const OneDriveRestoreItemVersionOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const oneDriveRestoreItemVersion: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  item_id: string;
15
15
  version_id: string;
16
16
  user_id?: string | undefined;
17
17
  drive_id?: string | undefined;
18
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
19
+ connectionId: z.ZodString;
20
+ entityId: z.ZodString;
21
+ instanceId: z.ZodString;
22
+ }, z.core.$strip>, z.ZodObject<{
23
+ accessToken: z.ZodString;
24
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
25
+ connectionId: z.ZodString;
26
+ entityId: z.ZodString;
27
+ instanceId: z.ZodString;
28
+ }, z.core.$strip>, z.ZodObject<{
29
+ accessToken: z.ZodString;
30
+ }, z.core.$strip>>]>;
19
31
  //#endregion
20
32
  export { oneDriveRestoreItemVersion };
21
33
  //# sourceMappingURL=restore-item-version.d.mts.map
@@ -10,7 +10,7 @@ const oneDriveRestoreItemVersion = action("ONE_DRIVE_RESTORE_ITEM_VERSION", {
10
10
  drive_id: z.string().describe("The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.").optional(),
11
11
  version_id: z.string().describe("The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.")
12
12
  }),
13
- output: z.object({ message: z.string().describe("A message indicating the success of the version restore operation.").nullable() })
13
+ output: z.object({ message: z.string().describe("A message indicating the success of the version restore operation.").nullable() }).passthrough()
14
14
  });
15
15
  //#endregion
16
16
  export { oneDriveRestoreItemVersion };
@@ -1 +1 @@
1
- {"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n});\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EACxL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACnK,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"restore-item-version.mjs","names":[],"sources":["../../src/actions/restore-item-version.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveRestoreItemVersionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file) whose version you want to restore.\"),\n user_id: z.string().describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user) if not provided. Required for S2S (app-only) auth to specify target user.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the Drive where the item is located. If not provided, the action will target the user's personal OneDrive (me/drive). Always specify drive_id explicitly for group drives, SharePoint site drives, or shared libraries to avoid silently querying the wrong drive.\").optional(),\n version_id: z.string().describe(\"The unique identifier of the version to restore. This creates a new version with the content of the specified previous version.\"),\n});\nexport const OneDriveRestoreItemVersionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the version restore operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveRestoreItemVersion = action(\"ONE_DRIVE_RESTORE_ITEM_VERSION\", {\n slug: \"one_drive-restore-item-version\",\n name: \"Restore Item Version\",\n description: \"Restores a previous version of a DriveItem (file) by creating a new version with the content of the specified version. Use this action when you need to revert a file to an earlier version. The restoration is permanent and creates a new current version — the file cannot be automatically reverted after this operation, though you can restore again to a different version if needed. This action is irreversible in the sense that it immediately changes the current file content.\",\n input: OneDriveRestoreItemVersionInput,\n output: OneDriveRestoreItemVersionOutput,\n});\n"],"mappings":";;AAcA,MAAa,6BAA6B,OAAO,kCAAkC;CACjF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd6C,EAAE,OAAO;EACtD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF;EAC/G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS;EACxL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI;CACnK,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -36,7 +36,19 @@ declare const oneDriveSearchDriveItems: import("@keystrokehq/action").WorkflowAc
36
36
  from?: number | undefined;
37
37
  size?: number | undefined;
38
38
  fields?: string[] | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { oneDriveSearchDriveItems };
42
54
  //# sourceMappingURL=search-drive-items.d.cts.map
@@ -36,7 +36,19 @@ declare const oneDriveSearchDriveItems: import("@keystrokehq/action").WorkflowAc
36
36
  from?: number | undefined;
37
37
  size?: number | undefined;
38
38
  fields?: string[] | undefined;
39
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
39
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"one_drive", z.ZodObject<{
46
+ connectionId: z.ZodString;
47
+ entityId: z.ZodString;
48
+ instanceId: z.ZodString;
49
+ }, z.core.$strip>, z.ZodObject<{
50
+ accessToken: z.ZodString;
51
+ }, z.core.$strip>>]>;
40
52
  //#endregion
41
53
  export { oneDriveSearchDriveItems };
42
54
  //# sourceMappingURL=search-drive-items.d.mts.map