@keystrokehq/one_drive 0.1.2 → 0.1.3

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 (450) 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 +1 -1
  5. package/dist/actions/add-workbook-worksheet.d.mts +1 -1
  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 +1 -1
  11. package/dist/actions/checkin-item.d.mts +1 -1
  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 +1 -1
  17. package/dist/actions/checkout-item.d.mts +1 -1
  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 +1 -1
  23. package/dist/actions/clear-workbook-range.d.mts +1 -1
  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 +3 -3
  29. package/dist/actions/copy-item.d.mts +3 -3
  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 +15 -15
  35. package/dist/actions/create-item-permission.d.mts +15 -15
  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 +5 -5
  41. package/dist/actions/create-link.d.mts +5 -5
  42. package/dist/actions/create-link.mjs +4 -4
  43. package/dist/actions/create-link.mjs.map +1 -1
  44. package/dist/actions/delete-item-permanently.cjs +1 -1
  45. package/dist/actions/delete-item-permanently.cjs.map +1 -1
  46. package/dist/actions/delete-item-permanently.d.cts +1 -1
  47. package/dist/actions/delete-item-permanently.d.mts +1 -1
  48. package/dist/actions/delete-item-permanently.mjs +1 -1
  49. package/dist/actions/delete-item-permanently.mjs.map +1 -1
  50. package/dist/actions/delete-item-permission.cjs +1 -1
  51. package/dist/actions/delete-item-permission.cjs.map +1 -1
  52. package/dist/actions/delete-item-permission.d.cts +1 -1
  53. package/dist/actions/delete-item-permission.d.mts +1 -1
  54. package/dist/actions/delete-item-permission.mjs +1 -1
  55. package/dist/actions/delete-item-permission.mjs.map +1 -1
  56. package/dist/actions/delete-item.cjs +1 -1
  57. package/dist/actions/delete-item.cjs.map +1 -1
  58. package/dist/actions/delete-item.d.cts +1 -1
  59. package/dist/actions/delete-item.d.mts +1 -1
  60. package/dist/actions/delete-item.mjs +1 -1
  61. package/dist/actions/delete-item.mjs.map +1 -1
  62. package/dist/actions/delete-share-permission.cjs +1 -1
  63. package/dist/actions/delete-share-permission.cjs.map +1 -1
  64. package/dist/actions/delete-share-permission.d.cts +1 -1
  65. package/dist/actions/delete-share-permission.d.mts +1 -1
  66. package/dist/actions/delete-share-permission.mjs +1 -1
  67. package/dist/actions/delete-share-permission.mjs.map +1 -1
  68. package/dist/actions/delete-workbook-range.cjs +1 -1
  69. package/dist/actions/delete-workbook-range.cjs.map +1 -1
  70. package/dist/actions/delete-workbook-range.d.cts +1 -1
  71. package/dist/actions/delete-workbook-range.d.mts +1 -1
  72. package/dist/actions/delete-workbook-range.mjs +1 -1
  73. package/dist/actions/delete-workbook-range.mjs.map +1 -1
  74. package/dist/actions/delete-workbook-worksheet.cjs +1 -1
  75. package/dist/actions/delete-workbook-worksheet.cjs.map +1 -1
  76. package/dist/actions/delete-workbook-worksheet.d.cts +1 -1
  77. package/dist/actions/delete-workbook-worksheet.d.mts +1 -1
  78. package/dist/actions/delete-workbook-worksheet.mjs +1 -1
  79. package/dist/actions/delete-workbook-worksheet.mjs.map +1 -1
  80. package/dist/actions/discard-checkout.cjs +1 -1
  81. package/dist/actions/discard-checkout.cjs.map +1 -1
  82. package/dist/actions/discard-checkout.d.cts +1 -1
  83. package/dist/actions/discard-checkout.d.mts +1 -1
  84. package/dist/actions/discard-checkout.mjs +1 -1
  85. package/dist/actions/discard-checkout.mjs.map +1 -1
  86. package/dist/actions/download-file-by-path.cjs +2 -2
  87. package/dist/actions/download-file-by-path.cjs.map +1 -1
  88. package/dist/actions/download-file-by-path.d.cts +2 -2
  89. package/dist/actions/download-file-by-path.d.mts +2 -2
  90. package/dist/actions/download-file-by-path.mjs +2 -2
  91. package/dist/actions/download-file-by-path.mjs.map +1 -1
  92. package/dist/actions/download-file.cjs +2 -2
  93. package/dist/actions/download-file.cjs.map +1 -1
  94. package/dist/actions/download-file.d.cts +2 -2
  95. package/dist/actions/download-file.d.mts +2 -2
  96. package/dist/actions/download-file.mjs +2 -2
  97. package/dist/actions/download-file.mjs.map +1 -1
  98. package/dist/actions/download-item-as-format.cjs +2 -2
  99. package/dist/actions/download-item-as-format.cjs.map +1 -1
  100. package/dist/actions/download-item-as-format.d.cts +2 -2
  101. package/dist/actions/download-item-as-format.d.mts +2 -2
  102. package/dist/actions/download-item-as-format.mjs +2 -2
  103. package/dist/actions/download-item-as-format.mjs.map +1 -1
  104. package/dist/actions/download-item-version.cjs +2 -2
  105. package/dist/actions/download-item-version.cjs.map +1 -1
  106. package/dist/actions/download-item-version.d.cts +2 -2
  107. package/dist/actions/download-item-version.d.mts +2 -2
  108. package/dist/actions/download-item-version.mjs +2 -2
  109. package/dist/actions/download-item-version.mjs.map +1 -1
  110. package/dist/actions/follow-item.cjs +1 -1
  111. package/dist/actions/follow-item.cjs.map +1 -1
  112. package/dist/actions/follow-item.d.cts +1 -1
  113. package/dist/actions/follow-item.d.mts +1 -1
  114. package/dist/actions/follow-item.mjs +1 -1
  115. package/dist/actions/follow-item.mjs.map +1 -1
  116. package/dist/actions/get-document-comments.cjs +2 -2
  117. package/dist/actions/get-document-comments.cjs.map +1 -1
  118. package/dist/actions/get-document-comments.d.cts +2 -2
  119. package/dist/actions/get-document-comments.d.mts +2 -2
  120. package/dist/actions/get-document-comments.mjs +2 -2
  121. package/dist/actions/get-document-comments.mjs.map +1 -1
  122. package/dist/actions/get-drive-item-by-sharing-url.cjs +2 -2
  123. package/dist/actions/get-drive-item-by-sharing-url.cjs.map +1 -1
  124. package/dist/actions/get-drive-item-by-sharing-url.d.cts +2 -2
  125. package/dist/actions/get-drive-item-by-sharing-url.d.mts +2 -2
  126. package/dist/actions/get-drive-item-by-sharing-url.mjs +2 -2
  127. package/dist/actions/get-drive-item-by-sharing-url.mjs.map +1 -1
  128. package/dist/actions/get-drive.cjs +5 -5
  129. package/dist/actions/get-drive.cjs.map +1 -1
  130. package/dist/actions/get-drive.d.cts +18 -18
  131. package/dist/actions/get-drive.d.mts +18 -18
  132. package/dist/actions/get-drive.mjs +5 -5
  133. package/dist/actions/get-drive.mjs.map +1 -1
  134. package/dist/actions/get-followed-item.cjs +4 -4
  135. package/dist/actions/get-followed-item.cjs.map +1 -1
  136. package/dist/actions/get-followed-item.d.cts +5 -5
  137. package/dist/actions/get-followed-item.d.mts +5 -5
  138. package/dist/actions/get-followed-item.mjs +4 -4
  139. package/dist/actions/get-followed-item.mjs.map +1 -1
  140. package/dist/actions/get-group-drive.cjs +5 -5
  141. package/dist/actions/get-group-drive.cjs.map +1 -1
  142. package/dist/actions/get-group-drive.d.cts +18 -18
  143. package/dist/actions/get-group-drive.d.mts +18 -18
  144. package/dist/actions/get-group-drive.mjs +5 -5
  145. package/dist/actions/get-group-drive.mjs.map +1 -1
  146. package/dist/actions/get-item-permissions.cjs +8 -8
  147. package/dist/actions/get-item-permissions.cjs.map +1 -1
  148. package/dist/actions/get-item-permissions.d.cts +24 -24
  149. package/dist/actions/get-item-permissions.d.mts +24 -24
  150. package/dist/actions/get-item-permissions.mjs +8 -8
  151. package/dist/actions/get-item-permissions.mjs.map +1 -1
  152. package/dist/actions/get-item-thumbnails.cjs +3 -3
  153. package/dist/actions/get-item-thumbnails.cjs.map +1 -1
  154. package/dist/actions/get-item-thumbnails.d.cts +5 -5
  155. package/dist/actions/get-item-thumbnails.d.mts +5 -5
  156. package/dist/actions/get-item-thumbnails.mjs +3 -3
  157. package/dist/actions/get-item-thumbnails.mjs.map +1 -1
  158. package/dist/actions/get-item-versions.cjs +6 -6
  159. package/dist/actions/get-item-versions.cjs.map +1 -1
  160. package/dist/actions/get-item-versions.d.cts +12 -12
  161. package/dist/actions/get-item-versions.d.mts +12 -12
  162. package/dist/actions/get-item-versions.mjs +6 -6
  163. package/dist/actions/get-item-versions.mjs.map +1 -1
  164. package/dist/actions/get-item.cjs +7 -7
  165. package/dist/actions/get-item.cjs.map +1 -1
  166. package/dist/actions/get-item.d.cts +24 -24
  167. package/dist/actions/get-item.d.mts +24 -24
  168. package/dist/actions/get-item.mjs +7 -7
  169. package/dist/actions/get-item.mjs.map +1 -1
  170. package/dist/actions/get-root.cjs +7 -7
  171. package/dist/actions/get-root.cjs.map +1 -1
  172. package/dist/actions/get-root.d.cts +13 -13
  173. package/dist/actions/get-root.d.mts +13 -13
  174. package/dist/actions/get-root.mjs +7 -7
  175. package/dist/actions/get-root.mjs.map +1 -1
  176. package/dist/actions/get-share.cjs +2 -2
  177. package/dist/actions/get-share.cjs.map +1 -1
  178. package/dist/actions/get-share.d.cts +2 -2
  179. package/dist/actions/get-share.d.mts +2 -2
  180. package/dist/actions/get-share.mjs +2 -2
  181. package/dist/actions/get-share.mjs.map +1 -1
  182. package/dist/actions/get-sharepoint-list-items.cjs +2 -2
  183. package/dist/actions/get-sharepoint-list-items.cjs.map +1 -1
  184. package/dist/actions/get-sharepoint-list-items.d.cts +2 -2
  185. package/dist/actions/get-sharepoint-list-items.d.mts +2 -2
  186. package/dist/actions/get-sharepoint-list-items.mjs +2 -2
  187. package/dist/actions/get-sharepoint-list-items.mjs.map +1 -1
  188. package/dist/actions/get-site-page-content.cjs +12 -12
  189. package/dist/actions/get-site-page-content.cjs.map +1 -1
  190. package/dist/actions/get-site-page-content.d.cts +12 -12
  191. package/dist/actions/get-site-page-content.d.mts +12 -12
  192. package/dist/actions/get-site-page-content.mjs +12 -12
  193. package/dist/actions/get-site-page-content.mjs.map +1 -1
  194. package/dist/actions/get-site.cjs +1 -1
  195. package/dist/actions/get-site.cjs.map +1 -1
  196. package/dist/actions/get-site.d.cts +1 -1
  197. package/dist/actions/get-site.d.mts +1 -1
  198. package/dist/actions/get-site.mjs +1 -1
  199. package/dist/actions/get-site.mjs.map +1 -1
  200. package/dist/actions/get-special-folder.cjs +7 -7
  201. package/dist/actions/get-special-folder.cjs.map +1 -1
  202. package/dist/actions/get-special-folder.d.cts +11 -11
  203. package/dist/actions/get-special-folder.d.mts +11 -11
  204. package/dist/actions/get-special-folder.mjs +7 -7
  205. package/dist/actions/get-special-folder.mjs.map +1 -1
  206. package/dist/actions/get-user.cjs +1 -1
  207. package/dist/actions/get-user.cjs.map +1 -1
  208. package/dist/actions/get-user.d.cts +1 -1
  209. package/dist/actions/get-user.d.mts +1 -1
  210. package/dist/actions/get-user.mjs +1 -1
  211. package/dist/actions/get-user.mjs.map +1 -1
  212. package/dist/actions/get-workbook-used-range.cjs +1 -1
  213. package/dist/actions/get-workbook-used-range.cjs.map +1 -1
  214. package/dist/actions/get-workbook-used-range.d.cts +1 -1
  215. package/dist/actions/get-workbook-used-range.d.mts +1 -1
  216. package/dist/actions/get-workbook-used-range.mjs +1 -1
  217. package/dist/actions/get-workbook-used-range.mjs.map +1 -1
  218. package/dist/actions/get-workbook-worksheet.cjs +1 -1
  219. package/dist/actions/get-workbook-worksheet.cjs.map +1 -1
  220. package/dist/actions/get-workbook-worksheet.d.cts +1 -1
  221. package/dist/actions/get-workbook-worksheet.d.mts +1 -1
  222. package/dist/actions/get-workbook-worksheet.mjs +1 -1
  223. package/dist/actions/get-workbook-worksheet.mjs.map +1 -1
  224. package/dist/actions/grant-share-permission.cjs +5 -5
  225. package/dist/actions/grant-share-permission.cjs.map +1 -1
  226. package/dist/actions/grant-share-permission.d.cts +6 -5
  227. package/dist/actions/grant-share-permission.d.mts +6 -5
  228. package/dist/actions/grant-share-permission.mjs +5 -5
  229. package/dist/actions/grant-share-permission.mjs.map +1 -1
  230. package/dist/actions/invite-user-to-item.cjs +7 -7
  231. package/dist/actions/invite-user-to-item.cjs.map +1 -1
  232. package/dist/actions/invite-user-to-item.d.cts +8 -7
  233. package/dist/actions/invite-user-to-item.d.mts +8 -7
  234. package/dist/actions/invite-user-to-item.mjs +7 -7
  235. package/dist/actions/invite-user-to-item.mjs.map +1 -1
  236. package/dist/actions/list-activities.cjs +20 -20
  237. package/dist/actions/list-activities.cjs.map +1 -1
  238. package/dist/actions/list-activities.d.cts +64 -64
  239. package/dist/actions/list-activities.d.mts +64 -64
  240. package/dist/actions/list-activities.mjs +20 -20
  241. package/dist/actions/list-activities.mjs.map +1 -1
  242. package/dist/actions/list-all-drive-items.cjs +29 -29
  243. package/dist/actions/list-all-drive-items.cjs.map +1 -1
  244. package/dist/actions/list-all-drive-items.d.cts +42 -42
  245. package/dist/actions/list-all-drive-items.d.mts +42 -42
  246. package/dist/actions/list-all-drive-items.mjs +29 -29
  247. package/dist/actions/list-all-drive-items.mjs.map +1 -1
  248. package/dist/actions/list-bundles.cjs +6 -6
  249. package/dist/actions/list-bundles.cjs.map +1 -1
  250. package/dist/actions/list-bundles.d.cts +12 -12
  251. package/dist/actions/list-bundles.d.mts +12 -12
  252. package/dist/actions/list-bundles.mjs +6 -6
  253. package/dist/actions/list-bundles.mjs.map +1 -1
  254. package/dist/actions/list-drives.cjs +5 -5
  255. package/dist/actions/list-drives.cjs.map +1 -1
  256. package/dist/actions/list-drives.d.cts +9 -9
  257. package/dist/actions/list-drives.d.mts +9 -9
  258. package/dist/actions/list-drives.mjs +5 -5
  259. package/dist/actions/list-drives.mjs.map +1 -1
  260. package/dist/actions/list-folder-children.cjs +29 -29
  261. package/dist/actions/list-folder-children.cjs.map +1 -1
  262. package/dist/actions/list-folder-children.d.cts +42 -42
  263. package/dist/actions/list-folder-children.d.mts +42 -42
  264. package/dist/actions/list-folder-children.mjs +29 -29
  265. package/dist/actions/list-folder-children.mjs.map +1 -1
  266. package/dist/actions/list-item-activities.cjs +4 -4
  267. package/dist/actions/list-item-activities.cjs.map +1 -1
  268. package/dist/actions/list-item-activities.d.cts +4 -4
  269. package/dist/actions/list-item-activities.d.mts +4 -4
  270. package/dist/actions/list-item-activities.mjs +4 -4
  271. package/dist/actions/list-item-activities.mjs.map +1 -1
  272. package/dist/actions/list-root-drive-changes.cjs +7 -7
  273. package/dist/actions/list-root-drive-changes.cjs.map +1 -1
  274. package/dist/actions/list-root-drive-changes.d.cts +7 -7
  275. package/dist/actions/list-root-drive-changes.d.mts +7 -7
  276. package/dist/actions/list-root-drive-changes.mjs +7 -7
  277. package/dist/actions/list-root-drive-changes.mjs.map +1 -1
  278. package/dist/actions/list-share-permissions.cjs +2 -2
  279. package/dist/actions/list-share-permissions.cjs.map +1 -1
  280. package/dist/actions/list-share-permissions.d.cts +2 -2
  281. package/dist/actions/list-share-permissions.d.mts +2 -2
  282. package/dist/actions/list-share-permissions.mjs +2 -2
  283. package/dist/actions/list-share-permissions.mjs.map +1 -1
  284. package/dist/actions/list-sharepoint-list-items-delta.cjs +3 -3
  285. package/dist/actions/list-sharepoint-list-items-delta.cjs.map +1 -1
  286. package/dist/actions/list-sharepoint-list-items-delta.d.cts +3 -3
  287. package/dist/actions/list-sharepoint-list-items-delta.d.mts +3 -3
  288. package/dist/actions/list-sharepoint-list-items-delta.mjs +3 -3
  289. package/dist/actions/list-sharepoint-list-items-delta.mjs.map +1 -1
  290. package/dist/actions/list-site-columns.cjs +2 -2
  291. package/dist/actions/list-site-columns.cjs.map +1 -1
  292. package/dist/actions/list-site-columns.d.cts +2 -2
  293. package/dist/actions/list-site-columns.d.mts +2 -2
  294. package/dist/actions/list-site-columns.mjs +2 -2
  295. package/dist/actions/list-site-columns.mjs.map +1 -1
  296. package/dist/actions/list-site-items-delta.cjs +2 -2
  297. package/dist/actions/list-site-items-delta.cjs.map +1 -1
  298. package/dist/actions/list-site-items-delta.d.cts +2 -2
  299. package/dist/actions/list-site-items-delta.d.mts +2 -2
  300. package/dist/actions/list-site-items-delta.mjs +2 -2
  301. package/dist/actions/list-site-items-delta.mjs.map +1 -1
  302. package/dist/actions/list-site-lists.cjs +9 -9
  303. package/dist/actions/list-site-lists.cjs.map +1 -1
  304. package/dist/actions/list-site-lists.d.cts +15 -15
  305. package/dist/actions/list-site-lists.d.mts +15 -15
  306. package/dist/actions/list-site-lists.mjs +9 -9
  307. package/dist/actions/list-site-lists.mjs.map +1 -1
  308. package/dist/actions/list-site-subsites.cjs +2 -2
  309. package/dist/actions/list-site-subsites.cjs.map +1 -1
  310. package/dist/actions/list-site-subsites.d.cts +2 -2
  311. package/dist/actions/list-site-subsites.d.mts +2 -2
  312. package/dist/actions/list-site-subsites.mjs +2 -2
  313. package/dist/actions/list-site-subsites.mjs.map +1 -1
  314. package/dist/actions/list-subscriptions.cjs +2 -2
  315. package/dist/actions/list-subscriptions.cjs.map +1 -1
  316. package/dist/actions/list-subscriptions.d.cts +2 -2
  317. package/dist/actions/list-subscriptions.d.mts +2 -2
  318. package/dist/actions/list-subscriptions.mjs +2 -2
  319. package/dist/actions/list-subscriptions.mjs.map +1 -1
  320. package/dist/actions/list-workbook-worksheets.cjs +2 -2
  321. package/dist/actions/list-workbook-worksheets.cjs.map +1 -1
  322. package/dist/actions/list-workbook-worksheets.d.cts +2 -2
  323. package/dist/actions/list-workbook-worksheets.d.mts +2 -2
  324. package/dist/actions/list-workbook-worksheets.mjs +2 -2
  325. package/dist/actions/list-workbook-worksheets.mjs.map +1 -1
  326. package/dist/actions/move-item.cjs +2 -2
  327. package/dist/actions/move-item.cjs.map +1 -1
  328. package/dist/actions/move-item.d.cts +2 -2
  329. package/dist/actions/move-item.d.mts +2 -2
  330. package/dist/actions/move-item.mjs +2 -2
  331. package/dist/actions/move-item.mjs.map +1 -1
  332. package/dist/actions/onedrive-create-folder.cjs +1 -1
  333. package/dist/actions/onedrive-create-folder.cjs.map +1 -1
  334. package/dist/actions/onedrive-create-folder.d.cts +3 -3
  335. package/dist/actions/onedrive-create-folder.d.mts +3 -3
  336. package/dist/actions/onedrive-create-folder.mjs +1 -1
  337. package/dist/actions/onedrive-create-folder.mjs.map +1 -1
  338. package/dist/actions/onedrive-create-text-file.cjs +2 -2
  339. package/dist/actions/onedrive-create-text-file.cjs.map +1 -1
  340. package/dist/actions/onedrive-create-text-file.d.cts +4 -4
  341. package/dist/actions/onedrive-create-text-file.d.mts +4 -4
  342. package/dist/actions/onedrive-create-text-file.mjs +2 -2
  343. package/dist/actions/onedrive-create-text-file.mjs.map +1 -1
  344. package/dist/actions/onedrive-find-file.cjs +11 -11
  345. package/dist/actions/onedrive-find-file.cjs.map +1 -1
  346. package/dist/actions/onedrive-find-file.d.cts +18 -18
  347. package/dist/actions/onedrive-find-file.d.mts +18 -18
  348. package/dist/actions/onedrive-find-file.mjs +11 -11
  349. package/dist/actions/onedrive-find-file.mjs.map +1 -1
  350. package/dist/actions/onedrive-find-folder.cjs +7 -7
  351. package/dist/actions/onedrive-find-folder.cjs.map +1 -1
  352. package/dist/actions/onedrive-find-folder.d.cts +13 -13
  353. package/dist/actions/onedrive-find-folder.d.mts +13 -13
  354. package/dist/actions/onedrive-find-folder.mjs +7 -7
  355. package/dist/actions/onedrive-find-folder.mjs.map +1 -1
  356. package/dist/actions/onedrive-list-items.cjs +28 -28
  357. package/dist/actions/onedrive-list-items.cjs.map +1 -1
  358. package/dist/actions/onedrive-list-items.d.cts +36 -36
  359. package/dist/actions/onedrive-list-items.d.mts +36 -36
  360. package/dist/actions/onedrive-list-items.mjs +28 -28
  361. package/dist/actions/onedrive-list-items.mjs.map +1 -1
  362. package/dist/actions/onedrive-upload-file.cjs +3 -3
  363. package/dist/actions/onedrive-upload-file.cjs.map +1 -1
  364. package/dist/actions/onedrive-upload-file.d.cts +6 -6
  365. package/dist/actions/onedrive-upload-file.d.mts +6 -6
  366. package/dist/actions/onedrive-upload-file.mjs +3 -3
  367. package/dist/actions/onedrive-upload-file.mjs.map +1 -1
  368. package/dist/actions/preview-drive-item.cjs +1 -1
  369. package/dist/actions/preview-drive-item.cjs.map +1 -1
  370. package/dist/actions/preview-drive-item.d.cts +1 -1
  371. package/dist/actions/preview-drive-item.d.mts +1 -1
  372. package/dist/actions/preview-drive-item.mjs +1 -1
  373. package/dist/actions/preview-drive-item.mjs.map +1 -1
  374. package/dist/actions/read-workbook-range.cjs +1 -1
  375. package/dist/actions/read-workbook-range.cjs.map +1 -1
  376. package/dist/actions/read-workbook-range.d.cts +1 -1
  377. package/dist/actions/read-workbook-range.d.mts +1 -1
  378. package/dist/actions/read-workbook-range.mjs +1 -1
  379. package/dist/actions/read-workbook-range.mjs.map +1 -1
  380. package/dist/actions/restore-drive-item.cjs +1 -1
  381. package/dist/actions/restore-drive-item.cjs.map +1 -1
  382. package/dist/actions/restore-drive-item.d.cts +1 -1
  383. package/dist/actions/restore-drive-item.d.mts +1 -1
  384. package/dist/actions/restore-drive-item.mjs +1 -1
  385. package/dist/actions/restore-drive-item.mjs.map +1 -1
  386. package/dist/actions/restore-item-version.cjs +1 -1
  387. package/dist/actions/restore-item-version.cjs.map +1 -1
  388. package/dist/actions/restore-item-version.d.cts +1 -1
  389. package/dist/actions/restore-item-version.d.mts +1 -1
  390. package/dist/actions/restore-item-version.mjs +1 -1
  391. package/dist/actions/restore-item-version.mjs.map +1 -1
  392. package/dist/actions/search-items.cjs +10 -10
  393. package/dist/actions/search-items.cjs.map +1 -1
  394. package/dist/actions/search-items.d.cts +14 -14
  395. package/dist/actions/search-items.d.mts +14 -14
  396. package/dist/actions/search-items.mjs +10 -10
  397. package/dist/actions/search-items.mjs.map +1 -1
  398. package/dist/actions/unfollow-item.cjs +1 -1
  399. package/dist/actions/unfollow-item.cjs.map +1 -1
  400. package/dist/actions/unfollow-item.d.cts +1 -1
  401. package/dist/actions/unfollow-item.d.mts +1 -1
  402. package/dist/actions/unfollow-item.mjs +1 -1
  403. package/dist/actions/unfollow-item.mjs.map +1 -1
  404. package/dist/actions/update-drive-item-metadata.cjs +5 -5
  405. package/dist/actions/update-drive-item-metadata.cjs.map +1 -1
  406. package/dist/actions/update-drive-item-metadata.d.cts +5 -5
  407. package/dist/actions/update-drive-item-metadata.d.mts +5 -5
  408. package/dist/actions/update-drive-item-metadata.mjs +5 -5
  409. package/dist/actions/update-drive-item-metadata.mjs.map +1 -1
  410. package/dist/actions/update-drive-items-permissions.cjs +4 -4
  411. package/dist/actions/update-drive-items-permissions.cjs.map +1 -1
  412. package/dist/actions/update-drive-items-permissions.d.cts +14 -14
  413. package/dist/actions/update-drive-items-permissions.d.mts +14 -14
  414. package/dist/actions/update-drive-items-permissions.mjs +4 -4
  415. package/dist/actions/update-drive-items-permissions.mjs.map +1 -1
  416. package/dist/actions/update-file-content.cjs +2 -2
  417. package/dist/actions/update-file-content.cjs.map +1 -1
  418. package/dist/actions/update-file-content.d.cts +4 -4
  419. package/dist/actions/update-file-content.d.mts +4 -4
  420. package/dist/actions/update-file-content.mjs +2 -2
  421. package/dist/actions/update-file-content.mjs.map +1 -1
  422. package/dist/actions/update-sharepoint-list-item-fields.cjs +1 -1
  423. package/dist/actions/update-sharepoint-list-item-fields.cjs.map +1 -1
  424. package/dist/actions/update-sharepoint-list-item-fields.d.cts +1 -1
  425. package/dist/actions/update-sharepoint-list-item-fields.d.mts +1 -1
  426. package/dist/actions/update-sharepoint-list-item-fields.mjs +1 -1
  427. package/dist/actions/update-sharepoint-list-item-fields.mjs.map +1 -1
  428. package/dist/actions/update-workbook-range.cjs +1 -1
  429. package/dist/actions/update-workbook-range.cjs.map +1 -1
  430. package/dist/actions/update-workbook-range.d.cts +1 -1
  431. package/dist/actions/update-workbook-range.d.mts +1 -1
  432. package/dist/actions/update-workbook-range.mjs +1 -1
  433. package/dist/actions/update-workbook-range.mjs.map +1 -1
  434. package/dist/actions/update-workbook-worksheet.cjs +1 -1
  435. package/dist/actions/update-workbook-worksheet.cjs.map +1 -1
  436. package/dist/actions/update-workbook-worksheet.d.cts +1 -1
  437. package/dist/actions/update-workbook-worksheet.d.mts +1 -1
  438. package/dist/actions/update-workbook-worksheet.mjs +1 -1
  439. package/dist/actions/update-workbook-worksheet.mjs.map +1 -1
  440. package/dist/actions/write-workbook-cell.cjs +1 -1
  441. package/dist/actions/write-workbook-cell.cjs.map +1 -1
  442. package/dist/actions/write-workbook-cell.d.cts +1 -1
  443. package/dist/actions/write-workbook-cell.d.mts +1 -1
  444. package/dist/actions/write-workbook-cell.mjs +1 -1
  445. package/dist/actions/write-workbook-cell.mjs.map +1 -1
  446. package/dist/execute.cjs +1 -1
  447. package/dist/execute.cjs.map +1 -1
  448. package/dist/execute.mjs +1 -1
  449. package/dist/execute.mjs.map +1 -1
  450. package/package.json +1 -1
@@ -24,68 +24,68 @@ declare const OneDriveCreateItemPermissionOutput: z.ZodObject<{
24
24
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
26
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
- }, z.core.$strip>>>;
27
+ }, z.core.$loose>>>;
28
28
  group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
29
29
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- }, z.core.$strip>>>;
32
+ }, z.core.$loose>>>;
33
33
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
35
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- }, z.core.$strip>>>;
37
+ }, z.core.$loose>>>;
38
38
  siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
39
39
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
40
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
43
  siteGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
44
44
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
45
45
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
46
46
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
47
- }, z.core.$strip>>>;
47
+ }, z.core.$loose>>>;
48
48
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
49
49
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
50
50
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
51
51
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
52
- }, z.core.$strip>>>;
53
- }, z.core.$strip>>>;
52
+ }, z.core.$loose>>>;
53
+ }, z.core.$loose>>>;
54
54
  grantedToV2: z.ZodOptional<z.ZodNullable<z.ZodObject<{
55
55
  user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
56
56
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>>;
59
+ }, z.core.$loose>>>;
60
60
  group: z.ZodOptional<z.ZodNullable<z.ZodObject<{
61
61
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
62
62
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
63
63
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- }, z.core.$strip>>>;
64
+ }, z.core.$loose>>>;
65
65
  device: z.ZodOptional<z.ZodNullable<z.ZodObject<{
66
66
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
67
67
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
68
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
69
- }, z.core.$strip>>>;
69
+ }, z.core.$loose>>>;
70
70
  siteUser: z.ZodOptional<z.ZodNullable<z.ZodObject<{
71
71
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
72
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
73
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
- }, z.core.$strip>>>;
74
+ }, z.core.$loose>>>;
75
75
  siteGroup: z.ZodOptional<z.ZodNullable<z.ZodObject<{
76
76
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
77
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
78
78
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
79
- }, z.core.$strip>>>;
79
+ }, z.core.$loose>>>;
80
80
  application: z.ZodOptional<z.ZodNullable<z.ZodObject<{
81
81
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
82
82
  loginName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
83
83
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
- }, z.core.$strip>>>;
85
- }, z.core.$strip>>>;
84
+ }, z.core.$loose>>>;
85
+ }, z.core.$loose>>>;
86
86
  hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
87
87
  expirationDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
- }, z.core.$strip>;
88
+ }, z.core.$loose>;
89
89
  declare const oneDriveCreateItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<{
90
90
  roles: string[];
91
91
  drive_id: string;
@@ -20,7 +20,7 @@ const OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({
20
20
  id: z.string().describe("The unique identifier of the identity.").nullable().optional(),
21
21
  loginName: z.string().describe("The login name of the site user.").nullable().optional(),
22
22
  displayName: z.string().describe("The display name of the identity.").nullable().optional()
23
- });
23
+ }).passthrough();
24
24
  const OneDriveCreateItemPermission_GrantedToSchema = z.object({
25
25
  user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
26
26
  group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
@@ -28,7 +28,7 @@ const OneDriveCreateItemPermission_GrantedToSchema = z.object({
28
28
  siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
29
29
  siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),
30
30
  application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional()
31
- });
31
+ }).passthrough();
32
32
  const oneDriveCreateItemPermission = action("ONE_DRIVE_CREATE_ITEM_PERMISSION", {
33
33
  slug: "one_drive-create-item-permission",
34
34
  name: "Create Drive Item Permission",
@@ -41,7 +41,7 @@ const oneDriveCreateItemPermission = action("ONE_DRIVE_CREATE_ITEM_PERMISSION",
41
41
  grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),
42
42
  hasPassword: z.boolean().describe("Indicates whether the sharing link has a password.").nullable().optional(),
43
43
  expirationDateTime: z.string().describe("The expiration date and time for the permission.").nullable().optional()
44
- })
44
+ }).passthrough()
45
45
  });
46
46
  //#endregion
47
47
  export { oneDriveCreateItemPermission };
@@ -1 +1 @@
1
- {"version":3,"file":"create-item-permission.mjs","names":[],"sources":["../../src/actions/create-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n granted_to_v2: z.object({\n siteGroup: z.object({\n id: z.string().describe(\"The unique identifier of the SharePoint site group.\"),\n displayName: z.string().describe(\"The display name of the SharePoint site group.\"),\n}).describe(\"Represents a SharePoint site group identity.\").optional(),\n application: z.object({\n id: z.string().describe(\"The unique identifier of the application.\"),\n displayName: z.string().describe(\"The display name of the application.\").optional(),\n}).describe(\"Represents an application identity.\").optional(),\n}).describe(\"The identity to grant permission to. Must contain either application or siteGroup property.\"),\n});\nconst OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n});\nconst OneDriveCreateItemPermission_GrantedToSchema = z.object({\n user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n});\nexport const OneDriveCreateItemPermissionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n});\n\nexport const oneDriveCreateItemPermission = action(\"ONE_DRIVE_CREATE_ITEM_PERMISSION\", {\n slug: \"one_drive-create-item-permission\",\n name: \"Create Drive Item Permission\",\n description: \"Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.\",\n input: OneDriveCreateItemPermissionInput,\n output: OneDriveCreateItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAe,EAAE,OAAO;EACxB,WAAW,EAAE,OAAO;GACpB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;GAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO;GACtB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,CAAC;AACD,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,uDAAuD,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC;AAUD,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC3E,WAAW,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-item-permission.mjs","names":[],"sources":["../../src/actions/create-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateItemPermissionInput = z.object({\n roles: z.array(z.string()).describe(\"Array of Microsoft Graph role strings to assign to the permission. Documented/common values include read, write, and owner for SharePoint/OneDrive for Business permission resources; tenant/resource-specific roles may also be accepted by Graph.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive.\"),\n drive_item_id: z.string().describe(\"The unique identifier of the drive item.\"),\n granted_to_v2: z.object({\n siteGroup: z.object({\n id: z.string().describe(\"The unique identifier of the SharePoint site group.\"),\n displayName: z.string().describe(\"The display name of the SharePoint site group.\"),\n}).describe(\"Represents a SharePoint site group identity.\").optional(),\n application: z.object({\n id: z.string().describe(\"The unique identifier of the application.\"),\n displayName: z.string().describe(\"The display name of the application.\").optional(),\n}).describe(\"Represents an application identity.\").optional(),\n}).describe(\"The identity to grant permission to. Must contain either application or siteGroup property.\"),\n});\nconst OneDriveCreateItemPermission_GrantedToIdentifierSchema = z.object({\n id: z.string().describe(\"The unique identifier of the identity.\").nullable().optional(),\n loginName: z.string().describe(\"The login name of the site user.\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the identity.\").nullable().optional(),\n}).passthrough();\nconst OneDriveCreateItemPermission_GrantedToSchema = z.object({\n user: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n group: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n device: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteUser: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n siteGroup: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n application: OneDriveCreateItemPermission_GrantedToIdentifierSchema.nullable().optional(),\n}).passthrough();\nexport const OneDriveCreateItemPermissionOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission.\").nullable(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\"),\n grantedTo: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n grantedToV2: OneDriveCreateItemPermission_GrantedToSchema.nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the sharing link has a password.\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration date and time for the permission.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveCreateItemPermission = action(\"ONE_DRIVE_CREATE_ITEM_PERMISSION\", {\n slug: \"one_drive-create-item-permission\",\n name: \"Create Drive Item Permission\",\n description: \"Tool to create a new permission on a OneDrive drive item. Use when you need to grant application or SharePoint group permissions to a file or folder. This endpoint supports creating application permissions and SharePoint site group permissions only.\",\n input: OneDriveCreateItemPermissionInput,\n output: OneDriveCreateItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoC,EAAE,OAAO;CACxD,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qPAAqP;CACzR,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CACnE,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CAC7E,eAAe,EAAE,OAAO;EACxB,WAAW,EAAE,OAAO;GACpB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;GAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,CAAC,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;EACnE,aAAa,EAAE,OAAO;GACtB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EACpF,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5D,CAAC,CAAC,CAAC,SAAS,6FAA6F;AACzG,CAAC;AACD,MAAM,yDAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,+CAA+C,EAAE,OAAO;CAC5D,MAAM,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACjF,OAAO,uDAAuD,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,uDAAuD,SAAS,CAAC,CAAC,SAAS;CACtF,aAAa,uDAAuD,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY;AAUf,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC;EAC3E,WAAW,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC5E,aAAa,6CAA6C,SAAS,CAAC,CAAC,SAAS;EAC9E,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -18,7 +18,7 @@ const OneDriveCreateLinkInput = zod.z.object({
18
18
  drive_id: zod.z.string().describe("The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).").optional(),
19
19
  group_id: zod.z.string().describe("The unique identifier of the group. Use this if the item is in a group's drive.").optional(),
20
20
  password: zod.z.string().describe("The password for the sharing link. Optional and OneDrive Personal only.").optional(),
21
- recipients: zod.z.array(zod.z.object({})).describe("A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].").optional(),
21
+ recipients: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].").optional(),
22
22
  expiration_date_time: zod.z.string().describe("The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.").optional(),
23
23
  retain_inherited_permissions: zod.z.boolean().describe("If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.").optional()
24
24
  });
@@ -27,16 +27,16 @@ const OneDriveCreateLink_LinkDetailsSchema = zod.z.object({
27
27
  scope: zod.z.string().describe("The scope of the link.").nullable().optional(),
28
28
  webUrl: zod.z.string().describe("The URL of the sharing link.").nullable().optional(),
29
29
  webHtml: zod.z.string().describe("The HTML code for an iframe to host the content (for 'embed' links).").nullable().optional(),
30
- application: zod.z.object({}).describe("Details of the application that created the link.").nullable().optional(),
30
+ application: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Details of the application that created the link.").nullable().optional(),
31
31
  preventsDownload: zod.z.boolean().describe("Indicates whether the link prevents downloading the item.").nullable().optional()
32
- });
32
+ }).passthrough();
33
33
  const OneDriveCreateLinkOutput = zod.z.object({
34
34
  id: zod.z.string().describe("The unique identifier of the permission resource.").nullable(),
35
35
  link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),
36
36
  roles: zod.z.array(zod.z.string()).describe("The roles granted by this permission.").nullable().optional(),
37
37
  shareId: zod.z.string().describe("A unique identifier for the sharing link that can be used to access the shared item.").nullable().optional(),
38
38
  hasPassword: zod.z.boolean().describe("Indicates whether the link has a password.").nullable().optional()
39
- });
39
+ }).passthrough();
40
40
  const oneDriveCreateLink = require_action.action("ONE_DRIVE_CREATE_LINK", {
41
41
  slug: "one_drive-create-link",
42
42
  name: "Create Sharing Link",
@@ -1 +1 @@
1
- {"version":3,"file":"create-link.cjs","names":["z","action"],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this 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 link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.object({})).describe(\"A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].\").optional(),\n expiration_date_time: z.string().describe(\"The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.\").optional(),\n retain_inherited_permissions: z.boolean().describe(\"If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveCreateLink_LinkDetailsSchema = z.object({\n type: z.string().describe(\"The type of the link.\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the sharing link.\").nullable().optional(),\n webHtml: z.string().describe(\"The HTML code for an iframe to host the content (for 'embed' links).\").nullable().optional(),\n application: z.object({}).describe(\"Details of the application that created the link.\").nullable().optional(),\n preventsDownload: z.boolean().describe(\"Indicates whether the link prevents downloading the item.\").nullable().optional(),\n});\nexport const OneDriveCreateLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission resource.\").nullable(),\n link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for the sharing link that can be used to access the shared item.\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password.\").nullable().optional(),\n});\n\nexport const oneDriveCreateLink = action(\"ONE_DRIVE_CREATE_LINK\", {\n slug: \"one_drive-create-link\",\n name: \"Create Sharing Link\",\n description: \"Tool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.\",\n input: OneDriveCreateLinkInput,\n output: OneDriveCreateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC7H,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,sZAAsZ,CAAC,CAAC,SAAS;CAChe,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CACzU,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAC7N,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC9O,8BAA8BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACjN,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-link.cjs","names":["z","action"],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this 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 link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.record(z.string(), z.unknown())).describe(\"A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].\").optional(),\n expiration_date_time: z.string().describe(\"The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.\").optional(),\n retain_inherited_permissions: z.boolean().describe(\"If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveCreateLink_LinkDetailsSchema = z.object({\n type: z.string().describe(\"The type of the link.\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the sharing link.\").nullable().optional(),\n webHtml: z.string().describe(\"The HTML code for an iframe to host the content (for 'embed' links).\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details of the application that created the link.\").nullable().optional(),\n preventsDownload: z.boolean().describe(\"Indicates whether the link prevents downloading the item.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveCreateLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission resource.\").nullable(),\n link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for the sharing link that can be used to access the shared item.\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveCreateLink = action(\"ONE_DRIVE_CREATE_LINK\", {\n slug: \"one_drive-create-link\",\n name: \"Create Sharing Link\",\n description: \"Tool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.\",\n input: OneDriveCreateLinkInput,\n output: OneDriveCreateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC7H,OAAOA,IAAAA,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,sZAAsZ,CAAC,CAAC,SAAS;CAChe,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CACzU,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAClP,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC9O,8BAA8BA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACjN,CAAC;AACD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAaA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -18,7 +18,7 @@ declare const OneDriveCreateLinkInput: z.ZodObject<{
18
18
  drive_id: z.ZodOptional<z.ZodString>;
19
19
  group_id: z.ZodOptional<z.ZodString>;
20
20
  password: z.ZodOptional<z.ZodString>;
21
- recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
21
+ recipients: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
22
  expiration_date_time: z.ZodOptional<z.ZodString>;
23
23
  retain_inherited_permissions: z.ZodOptional<z.ZodBoolean>;
24
24
  }, z.core.$strip>;
@@ -29,13 +29,13 @@ declare const OneDriveCreateLinkOutput: z.ZodObject<{
29
29
  scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  webHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- application: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
32
+ application: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33
33
  preventsDownload: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
36
36
  shareId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  type: "view" | "edit" | "embed";
41
41
  item_id: string;
@@ -45,7 +45,7 @@ declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDe
45
45
  drive_id?: string | undefined;
46
46
  group_id?: string | undefined;
47
47
  password?: string | undefined;
48
- recipients?: Record<string, never>[] | undefined;
48
+ recipients?: Record<string, unknown>[] | undefined;
49
49
  expiration_date_time?: string | undefined;
50
50
  retain_inherited_permissions?: boolean | undefined;
51
51
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -18,7 +18,7 @@ declare const OneDriveCreateLinkInput: z.ZodObject<{
18
18
  drive_id: z.ZodOptional<z.ZodString>;
19
19
  group_id: z.ZodOptional<z.ZodString>;
20
20
  password: z.ZodOptional<z.ZodString>;
21
- recipients: z.ZodOptional<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>;
21
+ recipients: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
22
22
  expiration_date_time: z.ZodOptional<z.ZodString>;
23
23
  retain_inherited_permissions: z.ZodOptional<z.ZodBoolean>;
24
24
  }, z.core.$strip>;
@@ -29,13 +29,13 @@ declare const OneDriveCreateLinkOutput: z.ZodObject<{
29
29
  scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30
30
  webUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  webHtml: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
- application: z.ZodOptional<z.ZodNullable<z.ZodObject<{}, z.core.$strip>>>;
32
+ application: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
33
33
  preventsDownload: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
36
36
  shareId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  hasPassword: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
38
- }, z.core.$strip>;
38
+ }, z.core.$loose>;
39
39
  declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDefinition<{
40
40
  type: "view" | "edit" | "embed";
41
41
  item_id: string;
@@ -45,7 +45,7 @@ declare const oneDriveCreateLink: import("@keystrokehq/action").WorkflowActionDe
45
45
  drive_id?: string | undefined;
46
46
  group_id?: string | undefined;
47
47
  password?: string | undefined;
48
- recipients?: Record<string, never>[] | undefined;
48
+ recipients?: Record<string, unknown>[] | undefined;
49
49
  expiration_date_time?: string | undefined;
50
50
  retain_inherited_permissions?: boolean | undefined;
51
51
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -18,7 +18,7 @@ const OneDriveCreateLinkInput = z.object({
18
18
  drive_id: z.string().describe("The unique identifier of the drive. If not provided, the link will be created in the current user's drive (me/drive).").optional(),
19
19
  group_id: z.string().describe("The unique identifier of the group. Use this if the item is in a group's drive.").optional(),
20
20
  password: z.string().describe("The password for the sharing link. Optional and OneDrive Personal only.").optional(),
21
- recipients: z.array(z.object({})).describe("A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].").optional(),
21
+ recipients: z.array(z.record(z.string(), z.unknown())).describe("A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].").optional(),
22
22
  expiration_date_time: z.string().describe("The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.").optional(),
23
23
  retain_inherited_permissions: z.boolean().describe("If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.").optional()
24
24
  });
@@ -27,9 +27,9 @@ const OneDriveCreateLink_LinkDetailsSchema = z.object({
27
27
  scope: z.string().describe("The scope of the link.").nullable().optional(),
28
28
  webUrl: z.string().describe("The URL of the sharing link.").nullable().optional(),
29
29
  webHtml: z.string().describe("The HTML code for an iframe to host the content (for 'embed' links).").nullable().optional(),
30
- application: z.object({}).describe("Details of the application that created the link.").nullable().optional(),
30
+ application: z.record(z.string(), z.unknown()).describe("Details of the application that created the link.").nullable().optional(),
31
31
  preventsDownload: z.boolean().describe("Indicates whether the link prevents downloading the item.").nullable().optional()
32
- });
32
+ }).passthrough();
33
33
  const oneDriveCreateLink = action("ONE_DRIVE_CREATE_LINK", {
34
34
  slug: "one_drive-create-link",
35
35
  name: "Create Sharing Link",
@@ -41,7 +41,7 @@ const oneDriveCreateLink = action("ONE_DRIVE_CREATE_LINK", {
41
41
  roles: z.array(z.string()).describe("The roles granted by this permission.").nullable().optional(),
42
42
  shareId: z.string().describe("A unique identifier for the sharing link that can be used to access the shared item.").nullable().optional(),
43
43
  hasPassword: z.boolean().describe("Indicates whether the link has a password.").nullable().optional()
44
- })
44
+ }).passthrough()
45
45
  });
46
46
  //#endregion
47
47
  export { oneDriveCreateLink };
@@ -1 +1 @@
1
- {"version":3,"file":"create-link.mjs","names":[],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this 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 link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.object({})).describe(\"A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].\").optional(),\n expiration_date_time: z.string().describe(\"The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.\").optional(),\n retain_inherited_permissions: z.boolean().describe(\"If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveCreateLink_LinkDetailsSchema = z.object({\n type: z.string().describe(\"The type of the link.\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the sharing link.\").nullable().optional(),\n webHtml: z.string().describe(\"The HTML code for an iframe to host the content (for 'embed' links).\").nullable().optional(),\n application: z.object({}).describe(\"Details of the application that created the link.\").nullable().optional(),\n preventsDownload: z.boolean().describe(\"Indicates whether the link prevents downloading the item.\").nullable().optional(),\n});\nexport const OneDriveCreateLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission resource.\").nullable(),\n link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for the sharing link that can be used to access the shared item.\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password.\").nullable().optional(),\n});\n\nexport const oneDriveCreateLink = action(\"ONE_DRIVE_CREATE_LINK\", {\n slug: \"one_drive-create-link\",\n name: \"Create Sharing Link\",\n description: \"Tool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.\",\n input: OneDriveCreateLinkInput,\n output: OneDriveCreateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC7H,OAAO,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,sZAAsZ,CAAC,CAAC,SAAS;CAChe,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CACzU,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAC7N,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC9O,8BAA8B,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACjN,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC;AASD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-link.mjs","names":[],"sources":["../../src/actions/create-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveCreateLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. Valid values: `view`, `edit`, `embed`.\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"The scope of the link to create. If not specified, the default link type for the organization is created. Valid values: `view`, `edit`, `organization`, `anonymous`. Use `organization` to restrict to internal users; `anonymous` exposes content to anyone with the link. Tenant policies may block or downgrade certain scopes (e.g., `anonymous`), resulting in errors or more restrictive links than requested.\").optional(),\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) for which to create the link. Note: Some item types cannot be shared, including embedded objects, certain system files, and items with restricted permissions. If sharing fails with 'notSupported' error, verify the item type supports sharing.\"),\n site_id: z.string().describe(\"The unique identifier of the site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of the user. Use this 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 link will be created in the current user's drive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n recipients: z.array(z.record(z.string(), z.unknown())).describe(\"A list of recipients for the sharing link. Required when scope is 'users'. Each recipient should be a dict with an 'email' key, e.g. [{'email': 'user@example.com'}].\").optional(),\n expiration_date_time: z.string().describe(\"The expiration date and time for the permission, in yyyy-MM-ddTHH:mm:ssZ format. Example: 2023-12-31T23:59:59Z Must be a future UTC timestamp; past values will cause the call to fail.\").optional(),\n retain_inherited_permissions: z.boolean().describe(\"If true (default), existing inherited permissions are retained. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n});\nconst OneDriveCreateLink_LinkDetailsSchema = z.object({\n type: z.string().describe(\"The type of the link.\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link.\").nullable().optional(),\n webUrl: z.string().describe(\"The URL of the sharing link.\").nullable().optional(),\n webHtml: z.string().describe(\"The HTML code for an iframe to host the content (for 'embed' links).\").nullable().optional(),\n application: z.record(z.string(), z.unknown()).describe(\"Details of the application that created the link.\").nullable().optional(),\n preventsDownload: z.boolean().describe(\"Indicates whether the link prevents downloading the item.\").nullable().optional(),\n}).passthrough();\nexport const OneDriveCreateLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission resource.\").nullable(),\n link: OneDriveCreateLink_LinkDetailsSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The roles granted by this permission.\").nullable().optional(),\n shareId: z.string().describe(\"A unique identifier for the sharing link that can be used to access the shared item.\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password.\").nullable().optional(),\n}).passthrough();\n\nexport const oneDriveCreateLink = action(\"ONE_DRIVE_CREATE_LINK\", {\n slug: \"one_drive-create-link\",\n name: \"Create Sharing Link\",\n description: \"Tool to create a sharing link for a DriveItem (file or folder) by its unique ID. Use when you need to generate a shareable link for an item in OneDrive or SharePoint.\",\n input: OneDriveCreateLinkInput,\n output: OneDriveCreateLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAC7H,OAAO,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,sZAAsZ,CAAC,CAAC,SAAS;CAChe,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4SAA4S;CACzU,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAClI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;CAC7H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;CAChK,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC1H,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,uKAAuK,CAAC,CAAC,SAAS;CAClP,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,yLAAyL,CAAC,CAAC,SAAS;CAC9O,8BAA8B,EAAE,QAAQ,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;AACjN,CAAC;AACD,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,aAAa,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,YAAY;AASf,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -5,7 +5,7 @@ const OneDriveDeleteItemPermanentlyInput = zod.z.object({
5
5
  item_id: zod.z.string().describe("The unique identifier of the drive item (file or folder) to permanently delete. This action deletes the item without moving it to the recycle bin and cannot be undone."),
6
6
  drive_id: zod.z.string().describe("The unique identifier of the drive containing the item to permanently delete.")
7
7
  });
8
- const OneDriveDeleteItemPermanentlyOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the permanent deletion operation.").nullable() });
8
+ const OneDriveDeleteItemPermanentlyOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the permanent deletion operation.").nullable() }).passthrough();
9
9
  const oneDriveDeleteItemPermanently = require_action.action("ONE_DRIVE_DELETE_ITEM_PERMANENTLY", {
10
10
  slug: "one_drive-delete-item-permanently",
11
11
  name: "Permanently Delete Drive Item",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item-permanently.cjs","names":["z","action"],"sources":["../../src/actions/delete-item-permanently.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermanentlyInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) to permanently delete. This action deletes the item without moving it to the recycle bin and cannot be undone.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to permanently delete.\"),\n});\nexport const OneDriveDeleteItemPermanentlyOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the permanent deletion operation.\").nullable(),\n});\n\nexport const oneDriveDeleteItemPermanently = action(\"ONE_DRIVE_DELETE_ITEM_PERMANENTLY\", {\n slug: \"one_drive-delete-item-permanently\",\n name: \"Permanently Delete Drive Item\",\n description: \"Tool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.\",\n input: OneDriveDeleteItemPermanentlyInput,\n output: OneDriveDeleteItemPermanentlyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;CACtM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAC/G,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-item-permanently.cjs","names":["z","action"],"sources":["../../src/actions/delete-item-permanently.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermanentlyInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) to permanently delete. This action deletes the item without moving it to the recycle bin and cannot be undone.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to permanently delete.\"),\n});\nexport const OneDriveDeleteItemPermanentlyOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the permanent deletion operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveDeleteItemPermanently = action(\"ONE_DRIVE_DELETE_ITEM_PERMANENTLY\", {\n slug: \"one_drive-delete-item-permanently\",\n name: \"Permanently Delete Drive Item\",\n description: \"Tool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.\",\n input: OneDriveDeleteItemPermanentlyInput,\n output: OneDriveDeleteItemPermanentlyOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;CACtM,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;AAC/G,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -7,7 +7,7 @@ declare const OneDriveDeleteItemPermanentlyInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const OneDriveDeleteItemPermanentlyOutput: z.ZodObject<{
9
9
  message: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const oneDriveDeleteItemPermanently: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  item_id: string;
13
13
  drive_id: string;
@@ -7,7 +7,7 @@ declare const OneDriveDeleteItemPermanentlyInput: z.ZodObject<{
7
7
  }, z.core.$strip>;
8
8
  declare const OneDriveDeleteItemPermanentlyOutput: z.ZodObject<{
9
9
  message: z.ZodNullable<z.ZodString>;
10
- }, z.core.$strip>;
10
+ }, z.core.$loose>;
11
11
  declare const oneDriveDeleteItemPermanently: import("@keystrokehq/action").WorkflowActionDefinition<{
12
12
  item_id: string;
13
13
  drive_id: string;
@@ -8,7 +8,7 @@ const oneDriveDeleteItemPermanently = action("ONE_DRIVE_DELETE_ITEM_PERMANENTLY"
8
8
  item_id: z.string().describe("The unique identifier of the drive item (file or folder) to permanently delete. This action deletes the item without moving it to the recycle bin and cannot be undone."),
9
9
  drive_id: z.string().describe("The unique identifier of the drive containing the item to permanently delete.")
10
10
  }),
11
- output: z.object({ message: z.string().describe("A message indicating the success of the permanent deletion operation.").nullable() })
11
+ output: z.object({ message: z.string().describe("A message indicating the success of the permanent deletion operation.").nullable() }).passthrough()
12
12
  });
13
13
  //#endregion
14
14
  export { oneDriveDeleteItemPermanently };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item-permanently.mjs","names":[],"sources":["../../src/actions/delete-item-permanently.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermanentlyInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) to permanently delete. This action deletes the item without moving it to the recycle bin and cannot be undone.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to permanently delete.\"),\n});\nexport const OneDriveDeleteItemPermanentlyOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the permanent deletion operation.\").nullable(),\n});\n\nexport const oneDriveDeleteItemPermanently = action(\"ONE_DRIVE_DELETE_ITEM_PERMANENTLY\", {\n slug: \"one_drive-delete-item-permanently\",\n name: \"Permanently Delete Drive Item\",\n description: \"Tool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.\",\n input: OneDriveDeleteItemPermanentlyInput,\n output: OneDriveDeleteItemPermanentlyOutput,\n});\n"],"mappings":";;AAYA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;EACtM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC/G,CASS;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-item-permanently.mjs","names":[],"sources":["../../src/actions/delete-item-permanently.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermanentlyInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder) to permanently delete. This action deletes the item without moving it to the recycle bin and cannot be undone.\"),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item to permanently delete.\"),\n});\nexport const OneDriveDeleteItemPermanentlyOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the permanent deletion operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveDeleteItemPermanently = action(\"ONE_DRIVE_DELETE_ITEM_PERMANENTLY\", {\n slug: \"one_drive-delete-item-permanently\",\n name: \"Permanently Delete Drive Item\",\n description: \"Tool to permanently delete a driveItem by its ID without moving it to the recycle bin. Use when you need to irreversibly remove a file or folder from OneDrive or SharePoint. This action cannot be undone.\",\n input: OneDriveDeleteItemPermanentlyInput,\n output: OneDriveDeleteItemPermanentlyOutput,\n});\n"],"mappings":";;AAYA,MAAa,gCAAgC,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yKAAyK;EACtM,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E;CAC/G,CASS;CACP,QATiD,EAAE,OAAO,EAC1D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,EACjH,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -9,7 +9,7 @@ const OneDriveDeleteItemPermissionInput = zod.z.object({
9
9
  drive_id: zod.z.string().describe("The unique identifier of the drive. If not provided, the action will target the user's personal OneDrive (me/drive).").optional(),
10
10
  group_id: zod.z.string().describe("The unique identifier of the group. Use this if the item is in a group's drive.").optional()
11
11
  });
12
- const OneDriveDeleteItemPermissionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the deletion operation.").nullable() });
12
+ const OneDriveDeleteItemPermissionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the deletion operation.").nullable() }).passthrough();
13
13
  const oneDriveDeleteItemPermission = require_action.action("ONE_DRIVE_DELETE_ITEM_PERMISSION", {
14
14
  slug: "one_drive-delete-item-permission",
15
15
  name: "Delete Drive Item Permission",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item-permission.cjs","names":["z","action"],"sources":["../../src/actions/delete-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermissionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder).\"),\n perm_id: z.string().describe(\"The unique identifier of the permission to delete. Only non-inherited sharing permissions can be deleted.\"),\n site_id: z.string().describe(\"The unique identifier of a SharePoint site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of a user. Use this if the item is in a specific user's drive (other than 'me').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the action will target the user's personal OneDrive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n});\nexport const OneDriveDeleteItemPermissionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n});\n\nexport const oneDriveDeleteItemPermission = action(\"ONE_DRIVE_DELETE_ITEM_PERMISSION\", {\n slug: \"one_drive-delete-item-permission\",\n name: \"Delete Drive Item Permission\",\n description: \"Tool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.\",\n input: OneDriveDeleteItemPermissionInput,\n output: OneDriveDeleteItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC;AAED,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-item-permission.cjs","names":["z","action"],"sources":["../../src/actions/delete-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermissionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder).\"),\n perm_id: z.string().describe(\"The unique identifier of the permission to delete. Only non-inherited sharing permissions can be deleted.\"),\n site_id: z.string().describe(\"The unique identifier of a SharePoint site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of a user. Use this if the item is in a specific user's drive (other than 'me').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the action will target the user's personal OneDrive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n});\nexport const OneDriveDeleteItemPermissionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveDeleteItemPermission = action(\"ONE_DRIVE_DELETE_ITEM_PERMISSION\", {\n slug: \"one_drive-delete-item-permission\",\n name: \"Delete Drive Item Permission\",\n description: \"Tool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.\",\n input: OneDriveDeleteItemPermissionInput,\n output: OneDriveDeleteItemPermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACxF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC3I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;CAChJ,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;AAC5H,CAAC;AACD,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,7 +11,7 @@ declare const OneDriveDeleteItemPermissionInput: z.ZodObject<{
11
11
  }, z.core.$strip>;
12
12
  declare const OneDriveDeleteItemPermissionOutput: z.ZodObject<{
13
13
  message: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const oneDriveDeleteItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  item_id: string;
17
17
  perm_id: string;
@@ -11,7 +11,7 @@ declare const OneDriveDeleteItemPermissionInput: z.ZodObject<{
11
11
  }, z.core.$strip>;
12
12
  declare const OneDriveDeleteItemPermissionOutput: z.ZodObject<{
13
13
  message: z.ZodNullable<z.ZodString>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const oneDriveDeleteItemPermission: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  item_id: string;
17
17
  perm_id: string;
@@ -12,7 +12,7 @@ const oneDriveDeleteItemPermission = action("ONE_DRIVE_DELETE_ITEM_PERMISSION",
12
12
  drive_id: z.string().describe("The unique identifier of the drive. If not provided, the action will target the user's personal OneDrive (me/drive).").optional(),
13
13
  group_id: z.string().describe("The unique identifier of the group. Use this if the item is in a group's drive.").optional()
14
14
  }),
15
- output: z.object({ message: z.string().describe("A message indicating the success of the deletion operation.").nullable() })
15
+ output: z.object({ message: z.string().describe("A message indicating the success of the deletion operation.").nullable() }).passthrough()
16
16
  });
17
17
  //#endregion
18
18
  export { oneDriveDeleteItemPermission };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item-permission.mjs","names":[],"sources":["../../src/actions/delete-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermissionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder).\"),\n perm_id: z.string().describe(\"The unique identifier of the permission to delete. Only non-inherited sharing permissions can be deleted.\"),\n site_id: z.string().describe(\"The unique identifier of a SharePoint site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of a user. Use this if the item is in a specific user's drive (other than 'me').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the action will target the user's personal OneDrive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n});\nexport const OneDriveDeleteItemPermissionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n});\n\nexport const oneDriveDeleteItemPermission = action(\"ONE_DRIVE_DELETE_ITEM_PERMISSION\", {\n slug: \"one_drive-delete-item-permission\",\n name: \"Delete Drive Item Permission\",\n description: \"Tool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.\",\n input: OneDriveDeleteItemPermissionInput,\n output: OneDriveDeleteItemPermissionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC3I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAChJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC/J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC5H,CASS;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-item-permission.mjs","names":[],"sources":["../../src/actions/delete-item-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemPermissionInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the drive item (file or folder).\"),\n perm_id: z.string().describe(\"The unique identifier of the permission to delete. Only non-inherited sharing permissions can be deleted.\"),\n site_id: z.string().describe(\"The unique identifier of a SharePoint site. Use this if the item is in a SharePoint site's drive.\").optional(),\n user_id: z.string().describe(\"The unique identifier of a user. Use this if the item is in a specific user's drive (other than 'me').\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive. If not provided, the action will target the user's personal OneDrive (me/drive).\").optional(),\n group_id: z.string().describe(\"The unique identifier of the group. Use this if the item is in a group's drive.\").optional(),\n});\nexport const OneDriveDeleteItemPermissionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveDeleteItemPermission = action(\"ONE_DRIVE_DELETE_ITEM_PERMISSION\", {\n slug: \"one_drive-delete-item-permission\",\n name: \"Delete Drive Item Permission\",\n description: \"Tool to delete a permission from a drive item. Use when you need to revoke sharing access to a file or folder. Only non-inherited sharing permissions can be deleted.\",\n input: OneDriveDeleteItemPermissionInput,\n output: OneDriveDeleteItemPermissionOutput,\n});\n"],"mappings":";;AAgBA,MAAa,+BAA+B,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;EACxF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G;EACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EAC3I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS;EAChJ,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;EAC/J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC5H,CASS;CACP,QATgD,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -7,7 +7,7 @@ const OneDriveDeleteItemInput = 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
  if_match: zod.z.string().describe("(Optional) If this request header is included and the eTag (or cTag) provided doesn't match the current tag on the item, a `412 Precondition Failed` response is returned, and the item won't be deleted.").optional()
9
9
  });
10
- const OneDriveDeleteItemOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the deletion operation.").nullable() });
10
+ const OneDriveDeleteItemOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the deletion operation.").nullable() }).passthrough();
11
11
  const oneDriveDeleteItem = require_action.action("ONE_DRIVE_DELETE_ITEM", {
12
12
  slug: "one_drive-delete-item",
13
13
  name: "Delete Item",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file or folder) to be deleted.\"),\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n 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 if_match: z.string().describe(\"(Optional) If this request header is included and the eTag (or cTag) provided doesn't match the current tag on the item, a `412 Precondition Failed` response is returned, and the item won't be deleted.\").optional(),\n});\nexport const OneDriveDeleteItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n});\n\nexport const oneDriveDeleteItem = action(\"ONE_DRIVE_DELETE_ITEM\", {\n slug: \"one_drive-delete-item\",\n name: \"Delete Item\",\n description: \"Tool to delete a DriveItem (file or folder) by its unique ID from the authenticated user's OneDrive. Use when you need to remove an item from OneDrive. This action moves the item to the recycle bin, not permanently deleting it; storage quota is not freed until the recycle bin is emptied. Bulk deletions can trigger 429 (rate limit) or 5xx responses — limit concurrency and use exponential backoff.\",\n input: OneDriveDeleteItemInput,\n output: OneDriveDeleteItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;AACtP,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC;AAED,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-item.cjs","names":["z","action"],"sources":["../../src/actions/delete-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file or folder) to be deleted.\"),\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n 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 if_match: z.string().describe(\"(Optional) If this request header is included and the eTag (or cTag) provided doesn't match the current tag on the item, a `412 Precondition Failed` response is returned, and the item won't be deleted.\").optional(),\n});\nexport const OneDriveDeleteItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveDeleteItem = action(\"ONE_DRIVE_DELETE_ITEM\", {\n slug: \"one_drive-delete-item\",\n name: \"Delete Item\",\n description: \"Tool to delete a DriveItem (file or folder) by its unique ID from the authenticated user's OneDrive. Use when you need to remove an item from OneDrive. This action moves the item to the recycle bin, not permanently deleting it; storage quota is not freed until the recycle bin is emptied. Bulk deletions can trigger 429 (rate limit) or 5xx responses — limit concurrency and use exponential backoff.\",\n input: OneDriveDeleteItemInput,\n output: OneDriveDeleteItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CACrG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC/J,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;CACtU,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;AACtP,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const OneDriveDeleteItemInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const OneDriveDeleteItemOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const oneDriveDeleteItem: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  item_id: string;
15
15
  user_id?: string | undefined;
@@ -9,7 +9,7 @@ declare const OneDriveDeleteItemInput: z.ZodObject<{
9
9
  }, z.core.$strip>;
10
10
  declare const OneDriveDeleteItemOutput: z.ZodObject<{
11
11
  message: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>;
12
+ }, z.core.$loose>;
13
13
  declare const oneDriveDeleteItem: import("@keystrokehq/action").WorkflowActionDefinition<{
14
14
  item_id: string;
15
15
  user_id?: string | undefined;
@@ -10,7 +10,7 @@ const oneDriveDeleteItem = action("ONE_DRIVE_DELETE_ITEM", {
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
  if_match: z.string().describe("(Optional) If this request header is included and the eTag (or cTag) provided doesn't match the current tag on the item, a `412 Precondition Failed` response is returned, and the item won't be deleted.").optional()
12
12
  }),
13
- output: z.object({ message: z.string().describe("A message indicating the success of the deletion operation.").nullable() })
13
+ output: z.object({ message: z.string().describe("A message indicating the success of the deletion operation.").nullable() }).passthrough()
14
14
  });
15
15
  //#endregion
16
16
  export { oneDriveDeleteItem };
@@ -1 +1 @@
1
- {"version":3,"file":"delete-item.mjs","names":[],"sources":["../../src/actions/delete-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file or folder) to be deleted.\"),\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n 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 if_match: z.string().describe(\"(Optional) If this request header is included and the eTag (or cTag) provided doesn't match the current tag on the item, a `412 Precondition Failed` response is returned, and the item won't be deleted.\").optional(),\n});\nexport const OneDriveDeleteItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n});\n\nexport const oneDriveDeleteItem = action(\"ONE_DRIVE_DELETE_ITEM\", {\n slug: \"one_drive-delete-item\",\n name: \"Delete Item\",\n description: \"Tool to delete a DriveItem (file or folder) by its unique ID from the authenticated user's OneDrive. Use when you need to remove an item from OneDrive. This action moves the item to the recycle bin, not permanently deleting it; storage quota is not freed until the recycle bin is emptied. Bulk deletions can trigger 429 (rate limit) or 5xx responses — limit concurrency and use exponential backoff.\",\n input: OneDriveDeleteItemInput,\n output: OneDriveDeleteItemOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EAC/J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CACtP,CASS;CACP,QATsC,EAAE,OAAO,EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"delete-item.mjs","names":[],"sources":["../../src/actions/delete-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteItemInput = z.object({\n item_id: z.string().describe(\"The unique identifier of the DriveItem (file or folder) to be deleted.\"),\n user_id: z.string().default(\"me\").describe(\"The user's ID, email, or 'me'. Defaults to 'me' (authenticated user). Required for S2S (app-only) auth.\").optional(),\n 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 if_match: z.string().describe(\"(Optional) If this request header is included and the eTag (or cTag) provided doesn't match the current tag on the item, a `412 Precondition Failed` response is returned, and the item won't be deleted.\").optional(),\n});\nexport const OneDriveDeleteItemOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveDeleteItem = action(\"ONE_DRIVE_DELETE_ITEM\", {\n slug: \"one_drive-delete-item\",\n name: \"Delete Item\",\n description: \"Tool to delete a DriveItem (file or folder) by its unique ID from the authenticated user's OneDrive. Use when you need to remove an item from OneDrive. This action moves the item to the recycle bin, not permanently deleting it; storage quota is not freed until the recycle bin is emptied. Bulk deletions can trigger 429 (rate limit) or 5xx responses — limit concurrency and use exponential backoff.\",\n input: OneDriveDeleteItemInput,\n output: OneDriveDeleteItemOutput,\n});\n"],"mappings":";;AAcA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EACrG,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;EAC/J,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6RAA6R,CAAC,CAAC,SAAS;EACtU,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2MAA2M,CAAC,CAAC,SAAS;CACtP,CASS;CACP,QATsC,EAAE,OAAO,EAC/C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/delete-share-permission.ts
4
4
  const OneDriveDeleteSharePermissionInput = zod.z.object({ shared_drive_item_id: zod.z.string().describe("The share ID or base64-encoded sharing URL. This is the shareId returned from the createLink API response. Example format: u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBUmI4Zk5XVjdhMUJidGQ1NDF2SEdXUQ") });
5
- const OneDriveDeleteSharePermissionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the deletion operation.").nullable() });
5
+ const OneDriveDeleteSharePermissionOutput = zod.z.object({ message: zod.z.string().describe("A message indicating the success of the deletion operation.").nullable() }).passthrough();
6
6
  const oneDriveDeleteSharePermission = require_action.action("ONE_DRIVE_DELETE_SHARE_PERMISSION", {
7
7
  slug: "one_drive-delete-share-permission",
8
8
  name: "Delete Shares Permission",
@@ -1 +1 @@
1
- {"version":3,"file":"delete-share-permission.cjs","names":["z","action"],"sources":["../../src/actions/delete-share-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteSharePermissionInput = z.object({\n shared_drive_item_id: z.string().describe(\"The share ID or base64-encoded sharing URL. This is the shareId returned from the createLink API response. Example format: u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBUmI4Zk5XVjdhMUJidGQ1NDF2SEdXUQ\"),\n});\nexport const OneDriveDeleteSharePermissionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n});\n\nexport const oneDriveDeleteSharePermission = action(\"ONE_DRIVE_DELETE_SHARE_PERMISSION\", {\n slug: \"one_drive-delete-share-permission\",\n name: \"Delete Shares Permission\",\n description: \"Tool to delete the permission navigation property for a shared drive item. Use when you need to remove a sharing link permission. This effectively revokes access via the specific share link.\",\n input: OneDriveDeleteSharePermissionInput,\n output: OneDriveDeleteSharePermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qSAAqS,EACjV,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-share-permission.cjs","names":["z","action"],"sources":["../../src/actions/delete-share-permission.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OneDriveDeleteSharePermissionInput = z.object({\n shared_drive_item_id: z.string().describe(\"The share ID or base64-encoded sharing URL. This is the shareId returned from the createLink API response. Example format: u!aHR0cHM6Ly9jb21wb3NpbzIwMjQtbXkuc2hhcmVwb2ludC5jb20vOng6L2cvcGVyc29uYWwva2FyYW52YWlkeWFfYXV0aGtpdF9haS9JUURPT2NCVEx5RTFSWktVQkJGZ0YzZVZBUmI4Zk5XVjdhMUJidGQ1NDF2SEdXUQ\"),\n});\nexport const OneDriveDeleteSharePermissionOutput = z.object({\n message: z.string().describe(\"A message indicating the success of the deletion operation.\").nullable(),\n}).passthrough();\n\nexport const oneDriveDeleteSharePermission = action(\"ONE_DRIVE_DELETE_SHARE_PERMISSION\", {\n slug: \"one_drive-delete-share-permission\",\n name: \"Delete Shares Permission\",\n description: \"Tool to delete the permission navigation property for a shared drive item. Use when you need to remove a sharing link permission. This effectively revokes access via the specific share link.\",\n input: OneDriveDeleteSharePermissionInput,\n output: OneDriveDeleteSharePermissionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qSAAqS,EACjV,CAAC;AACD,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,EACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,gCAAgCC,eAAAA,OAAO,qCAAqC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -6,7 +6,7 @@ declare const OneDriveDeleteSharePermissionInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const OneDriveDeleteSharePermissionOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const oneDriveDeleteSharePermission: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  shared_drive_item_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
@@ -6,7 +6,7 @@ declare const OneDriveDeleteSharePermissionInput: z.ZodObject<{
6
6
  }, z.core.$strip>;
7
7
  declare const OneDriveDeleteSharePermissionOutput: z.ZodObject<{
8
8
  message: z.ZodNullable<z.ZodString>;
9
- }, z.core.$strip>;
9
+ }, z.core.$loose>;
10
10
  declare const oneDriveDeleteSharePermission: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  shared_drive_item_id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;