@keystrokehq/share_point 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/add-attachment-to-list-item.cjs +1 -1
  3. package/dist/actions/add-attachment-to-list-item.cjs.map +1 -1
  4. package/dist/actions/add-attachment-to-list-item.d.cts +14 -2
  5. package/dist/actions/add-attachment-to-list-item.d.mts +14 -2
  6. package/dist/actions/add-attachment-to-list-item.mjs +1 -1
  7. package/dist/actions/add-attachment-to-list-item.mjs.map +1 -1
  8. package/dist/actions/add-field-link-to-content-type.cjs +2 -2
  9. package/dist/actions/add-field-link-to-content-type.cjs.map +1 -1
  10. package/dist/actions/add-field-link-to-content-type.d.cts +15 -3
  11. package/dist/actions/add-field-link-to-content-type.d.mts +15 -3
  12. package/dist/actions/add-field-link-to-content-type.mjs +2 -2
  13. package/dist/actions/add-field-link-to-content-type.mjs.map +1 -1
  14. package/dist/actions/add-role-assignment-to-item.cjs +1 -1
  15. package/dist/actions/add-role-assignment-to-item.cjs.map +1 -1
  16. package/dist/actions/add-role-assignment-to-item.d.cts +14 -2
  17. package/dist/actions/add-role-assignment-to-item.d.mts +14 -2
  18. package/dist/actions/add-role-assignment-to-item.mjs +1 -1
  19. package/dist/actions/add-role-assignment-to-item.mjs.map +1 -1
  20. package/dist/actions/add-role-assignment-to-list.cjs +1 -1
  21. package/dist/actions/add-role-assignment-to-list.cjs.map +1 -1
  22. package/dist/actions/add-role-assignment-to-list.d.cts +14 -2
  23. package/dist/actions/add-role-assignment-to-list.d.mts +14 -2
  24. package/dist/actions/add-role-assignment-to-list.mjs +1 -1
  25. package/dist/actions/add-role-assignment-to-list.mjs.map +1 -1
  26. package/dist/actions/break-role-inheritance-on-item.cjs +1 -1
  27. package/dist/actions/break-role-inheritance-on-item.cjs.map +1 -1
  28. package/dist/actions/break-role-inheritance-on-item.d.cts +14 -2
  29. package/dist/actions/break-role-inheritance-on-item.d.mts +14 -2
  30. package/dist/actions/break-role-inheritance-on-item.mjs +1 -1
  31. package/dist/actions/break-role-inheritance-on-item.mjs.map +1 -1
  32. package/dist/actions/break-role-inheritance-on-list.cjs +1 -1
  33. package/dist/actions/break-role-inheritance-on-list.cjs.map +1 -1
  34. package/dist/actions/break-role-inheritance-on-list.d.cts +14 -2
  35. package/dist/actions/break-role-inheritance-on-list.d.mts +14 -2
  36. package/dist/actions/break-role-inheritance-on-list.mjs +1 -1
  37. package/dist/actions/break-role-inheritance-on-list.mjs.map +1 -1
  38. package/dist/actions/check-in-file.cjs +1 -1
  39. package/dist/actions/check-in-file.cjs.map +1 -1
  40. package/dist/actions/check-in-file.d.cts +14 -2
  41. package/dist/actions/check-in-file.d.mts +14 -2
  42. package/dist/actions/check-in-file.mjs +1 -1
  43. package/dist/actions/check-in-file.mjs.map +1 -1
  44. package/dist/actions/create-content-type.cjs +2 -2
  45. package/dist/actions/create-content-type.cjs.map +1 -1
  46. package/dist/actions/create-content-type.d.cts +15 -3
  47. package/dist/actions/create-content-type.d.mts +15 -3
  48. package/dist/actions/create-content-type.mjs +2 -2
  49. package/dist/actions/create-content-type.mjs.map +1 -1
  50. package/dist/actions/create-drive-item-sharing-link.cjs +3 -3
  51. package/dist/actions/create-drive-item-sharing-link.cjs.map +1 -1
  52. package/dist/actions/create-drive-item-sharing-link.d.cts +16 -4
  53. package/dist/actions/create-drive-item-sharing-link.d.mts +16 -4
  54. package/dist/actions/create-drive-item-sharing-link.mjs +3 -3
  55. package/dist/actions/create-drive-item-sharing-link.mjs.map +1 -1
  56. package/dist/actions/create-list-field.cjs +1 -1
  57. package/dist/actions/create-list-field.cjs.map +1 -1
  58. package/dist/actions/create-list-field.d.cts +14 -2
  59. package/dist/actions/create-list-field.d.mts +14 -2
  60. package/dist/actions/create-list-field.mjs +1 -1
  61. package/dist/actions/create-list-field.mjs.map +1 -1
  62. package/dist/actions/create-list-item-by-id.cjs +2 -2
  63. package/dist/actions/create-list-item-by-id.cjs.map +1 -1
  64. package/dist/actions/create-list-item-by-id.d.cts +16 -4
  65. package/dist/actions/create-list-item-by-id.d.cts.map +1 -1
  66. package/dist/actions/create-list-item-by-id.d.mts +16 -4
  67. package/dist/actions/create-list-item-by-id.d.mts.map +1 -1
  68. package/dist/actions/create-list-item-by-id.mjs +2 -2
  69. package/dist/actions/create-list-item-by-id.mjs.map +1 -1
  70. package/dist/actions/create-list-item-in-folder.cjs +3 -3
  71. package/dist/actions/create-list-item-in-folder.cjs.map +1 -1
  72. package/dist/actions/create-list-item-in-folder.d.cts +17 -4
  73. package/dist/actions/create-list-item-in-folder.d.mts +17 -4
  74. package/dist/actions/create-list-item-in-folder.mjs +3 -3
  75. package/dist/actions/create-list-item-in-folder.mjs.map +1 -1
  76. package/dist/actions/create-web.cjs +1 -1
  77. package/dist/actions/create-web.cjs.map +1 -1
  78. package/dist/actions/create-web.d.cts +14 -2
  79. package/dist/actions/create-web.d.mts +14 -2
  80. package/dist/actions/create-web.mjs +1 -1
  81. package/dist/actions/create-web.mjs.map +1 -1
  82. package/dist/actions/delete-drive-item-version-content.cjs +1 -1
  83. package/dist/actions/delete-drive-item-version-content.cjs.map +1 -1
  84. package/dist/actions/delete-drive-item-version-content.d.cts +14 -2
  85. package/dist/actions/delete-drive-item-version-content.d.mts +14 -2
  86. package/dist/actions/delete-drive-item-version-content.mjs +1 -1
  87. package/dist/actions/delete-drive-item-version-content.mjs.map +1 -1
  88. package/dist/actions/delete-file-item.cjs +1 -1
  89. package/dist/actions/delete-file-item.cjs.map +1 -1
  90. package/dist/actions/delete-file-item.d.cts +14 -2
  91. package/dist/actions/delete-file-item.d.mts +14 -2
  92. package/dist/actions/delete-file-item.mjs +1 -1
  93. package/dist/actions/delete-file-item.mjs.map +1 -1
  94. package/dist/actions/delete-folder.cjs +1 -1
  95. package/dist/actions/delete-folder.cjs.map +1 -1
  96. package/dist/actions/delete-folder.d.cts +14 -2
  97. package/dist/actions/delete-folder.d.mts +14 -2
  98. package/dist/actions/delete-folder.mjs +1 -1
  99. package/dist/actions/delete-folder.mjs.map +1 -1
  100. package/dist/actions/delete-list-by-title.cjs +1 -1
  101. package/dist/actions/delete-list-by-title.cjs.map +1 -1
  102. package/dist/actions/delete-list-by-title.d.cts +14 -2
  103. package/dist/actions/delete-list-by-title.d.mts +14 -2
  104. package/dist/actions/delete-list-by-title.mjs +1 -1
  105. package/dist/actions/delete-list-by-title.mjs.map +1 -1
  106. package/dist/actions/delete-list-item.cjs +1 -1
  107. package/dist/actions/delete-list-item.cjs.map +1 -1
  108. package/dist/actions/delete-list-item.d.cts +14 -2
  109. package/dist/actions/delete-list-item.d.mts +14 -2
  110. package/dist/actions/delete-list-item.mjs +1 -1
  111. package/dist/actions/delete-list-item.mjs.map +1 -1
  112. package/dist/actions/delete-list-items.cjs +2 -2
  113. package/dist/actions/delete-list-items.cjs.map +1 -1
  114. package/dist/actions/delete-list-items.d.cts +15 -3
  115. package/dist/actions/delete-list-items.d.mts +15 -3
  116. package/dist/actions/delete-list-items.mjs +2 -2
  117. package/dist/actions/delete-list-items.mjs.map +1 -1
  118. package/dist/actions/delete-list.cjs +1 -1
  119. package/dist/actions/delete-list.cjs.map +1 -1
  120. package/dist/actions/delete-list.d.cts +14 -2
  121. package/dist/actions/delete-list.d.mts +14 -2
  122. package/dist/actions/delete-list.mjs +1 -1
  123. package/dist/actions/delete-list.mjs.map +1 -1
  124. package/dist/actions/delete-recycle-bin-item-permanent.cjs +1 -1
  125. package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -1
  126. package/dist/actions/delete-recycle-bin-item-permanent.d.cts +14 -2
  127. package/dist/actions/delete-recycle-bin-item-permanent.d.mts +14 -2
  128. package/dist/actions/delete-recycle-bin-item-permanent.mjs +1 -1
  129. package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -1
  130. package/dist/actions/download-file-by-server-relative-url.cjs +2 -2
  131. package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -1
  132. package/dist/actions/download-file-by-server-relative-url.d.cts +15 -3
  133. package/dist/actions/download-file-by-server-relative-url.d.mts +15 -3
  134. package/dist/actions/download-file-by-server-relative-url.mjs +2 -2
  135. package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -1
  136. package/dist/actions/ensure-user.cjs +4 -4
  137. package/dist/actions/ensure-user.cjs.map +1 -1
  138. package/dist/actions/ensure-user.d.cts +17 -5
  139. package/dist/actions/ensure-user.d.mts +17 -5
  140. package/dist/actions/ensure-user.mjs +4 -4
  141. package/dist/actions/ensure-user.mjs.map +1 -1
  142. package/dist/actions/follow.cjs +1 -1
  143. package/dist/actions/follow.cjs.map +1 -1
  144. package/dist/actions/follow.d.cts +14 -2
  145. package/dist/actions/follow.d.mts +14 -2
  146. package/dist/actions/follow.mjs +1 -1
  147. package/dist/actions/follow.mjs.map +1 -1
  148. package/dist/actions/get-all-folders.cjs +1 -1
  149. package/dist/actions/get-all-folders.cjs.map +1 -1
  150. package/dist/actions/get-all-folders.d.cts +14 -2
  151. package/dist/actions/get-all-folders.d.mts +14 -2
  152. package/dist/actions/get-all-folders.mjs +1 -1
  153. package/dist/actions/get-all-folders.mjs.map +1 -1
  154. package/dist/actions/get-changes.cjs +2 -2
  155. package/dist/actions/get-changes.cjs.map +1 -1
  156. package/dist/actions/get-changes.d.cts +15 -3
  157. package/dist/actions/get-changes.d.cts.map +1 -1
  158. package/dist/actions/get-changes.d.mts +15 -3
  159. package/dist/actions/get-changes.d.mts.map +1 -1
  160. package/dist/actions/get-changes.mjs +2 -2
  161. package/dist/actions/get-changes.mjs.map +1 -1
  162. package/dist/actions/get-content-type.cjs +2 -2
  163. package/dist/actions/get-content-type.cjs.map +1 -1
  164. package/dist/actions/get-content-type.d.cts +15 -3
  165. package/dist/actions/get-content-type.d.mts +15 -3
  166. package/dist/actions/get-content-type.mjs +2 -2
  167. package/dist/actions/get-content-type.mjs.map +1 -1
  168. package/dist/actions/get-content-types-for-list.cjs +3 -3
  169. package/dist/actions/get-content-types-for-list.cjs.map +1 -1
  170. package/dist/actions/get-content-types-for-list.d.cts +16 -4
  171. package/dist/actions/get-content-types-for-list.d.mts +16 -4
  172. package/dist/actions/get-content-types-for-list.mjs +3 -3
  173. package/dist/actions/get-content-types-for-list.mjs.map +1 -1
  174. package/dist/actions/get-content-types.cjs +3 -3
  175. package/dist/actions/get-content-types.cjs.map +1 -1
  176. package/dist/actions/get-content-types.d.cts +16 -4
  177. package/dist/actions/get-content-types.d.mts +16 -4
  178. package/dist/actions/get-content-types.mjs +3 -3
  179. package/dist/actions/get-content-types.mjs.map +1 -1
  180. package/dist/actions/get-context-info.cjs +2 -2
  181. package/dist/actions/get-context-info.cjs.map +1 -1
  182. package/dist/actions/get-context-info.d.cts +15 -3
  183. package/dist/actions/get-context-info.d.mts +15 -3
  184. package/dist/actions/get-context-info.mjs +2 -2
  185. package/dist/actions/get-context-info.mjs.map +1 -1
  186. package/dist/actions/get-current-user.cjs +4 -4
  187. package/dist/actions/get-current-user.cjs.map +1 -1
  188. package/dist/actions/get-current-user.d.cts +19 -7
  189. package/dist/actions/get-current-user.d.mts +19 -7
  190. package/dist/actions/get-current-user.mjs +4 -4
  191. package/dist/actions/get-current-user.mjs.map +1 -1
  192. package/dist/actions/get-drive-item-analytics.cjs +2 -2
  193. package/dist/actions/get-drive-item-analytics.cjs.map +1 -1
  194. package/dist/actions/get-drive-item-analytics.d.cts +19 -7
  195. package/dist/actions/get-drive-item-analytics.d.mts +19 -7
  196. package/dist/actions/get-drive-item-analytics.mjs +2 -2
  197. package/dist/actions/get-drive-item-analytics.mjs.map +1 -1
  198. package/dist/actions/get-group-users-by-id.cjs +2 -2
  199. package/dist/actions/get-group-users-by-id.cjs.map +1 -1
  200. package/dist/actions/get-group-users-by-id.d.cts +15 -3
  201. package/dist/actions/get-group-users-by-id.d.mts +15 -3
  202. package/dist/actions/get-group-users-by-id.mjs +2 -2
  203. package/dist/actions/get-group-users-by-id.mjs.map +1 -1
  204. package/dist/actions/get-group-users.cjs +2 -2
  205. package/dist/actions/get-group-users.cjs.map +1 -1
  206. package/dist/actions/get-group-users.d.cts +15 -3
  207. package/dist/actions/get-group-users.d.mts +15 -3
  208. package/dist/actions/get-group-users.mjs +2 -2
  209. package/dist/actions/get-group-users.mjs.map +1 -1
  210. package/dist/actions/get-item-attachment-content.cjs +2 -2
  211. package/dist/actions/get-item-attachment-content.cjs.map +1 -1
  212. package/dist/actions/get-item-attachment-content.d.cts +15 -3
  213. package/dist/actions/get-item-attachment-content.d.mts +15 -3
  214. package/dist/actions/get-item-attachment-content.mjs +2 -2
  215. package/dist/actions/get-item-attachment-content.mjs.map +1 -1
  216. package/dist/actions/get-list-by-guid.d.cts +13 -1
  217. package/dist/actions/get-list-by-guid.d.mts +13 -1
  218. package/dist/actions/get-list-by-title.d.cts +13 -1
  219. package/dist/actions/get-list-by-title.d.mts +13 -1
  220. package/dist/actions/get-list-content-type-by-id.cjs +3 -3
  221. package/dist/actions/get-list-content-type-by-id.cjs.map +1 -1
  222. package/dist/actions/get-list-content-type-by-id.d.cts +16 -4
  223. package/dist/actions/get-list-content-type-by-id.d.mts +16 -4
  224. package/dist/actions/get-list-content-type-by-id.mjs +3 -3
  225. package/dist/actions/get-list-content-type-by-id.mjs.map +1 -1
  226. package/dist/actions/get-list-item-by-id.d.cts +13 -1
  227. package/dist/actions/get-list-item-by-id.d.mts +13 -1
  228. package/dist/actions/get-list-item-version.d.cts +13 -1
  229. package/dist/actions/get-list-item-version.d.mts +13 -1
  230. package/dist/actions/get-list-items-by-guid.cjs +1 -1
  231. package/dist/actions/get-list-items-by-guid.cjs.map +1 -1
  232. package/dist/actions/get-list-items-by-guid.d.cts +14 -2
  233. package/dist/actions/get-list-items-by-guid.d.mts +14 -2
  234. package/dist/actions/get-list-items-by-guid.mjs +1 -1
  235. package/dist/actions/get-list-items-by-guid.mjs.map +1 -1
  236. package/dist/actions/get-list-items.cjs +3 -3
  237. package/dist/actions/get-list-items.cjs.map +1 -1
  238. package/dist/actions/get-list-items.d.cts +35 -23
  239. package/dist/actions/get-list-items.d.mts +35 -23
  240. package/dist/actions/get-list-items.mjs +3 -3
  241. package/dist/actions/get-list-items.mjs.map +1 -1
  242. package/dist/actions/get-my-followed.cjs +2 -2
  243. package/dist/actions/get-my-followed.cjs.map +1 -1
  244. package/dist/actions/get-my-followed.d.cts +15 -3
  245. package/dist/actions/get-my-followed.d.mts +15 -3
  246. package/dist/actions/get-my-followed.mjs +2 -2
  247. package/dist/actions/get-my-followed.mjs.map +1 -1
  248. package/dist/actions/get-my-followers.cjs +2 -2
  249. package/dist/actions/get-my-followers.cjs.map +1 -1
  250. package/dist/actions/get-my-followers.d.cts +15 -3
  251. package/dist/actions/get-my-followers.d.mts +15 -3
  252. package/dist/actions/get-my-followers.mjs +2 -2
  253. package/dist/actions/get-my-followers.mjs.map +1 -1
  254. package/dist/actions/get-role-definitions.cjs +3 -3
  255. package/dist/actions/get-role-definitions.cjs.map +1 -1
  256. package/dist/actions/get-role-definitions.d.cts +16 -4
  257. package/dist/actions/get-role-definitions.d.mts +16 -4
  258. package/dist/actions/get-role-definitions.mjs +3 -3
  259. package/dist/actions/get-role-definitions.mjs.map +1 -1
  260. package/dist/actions/get-site-by-hostname.d.cts +13 -1
  261. package/dist/actions/get-site-by-hostname.d.mts +13 -1
  262. package/dist/actions/get-site-by-id.cjs +1 -1
  263. package/dist/actions/get-site-by-id.cjs.map +1 -1
  264. package/dist/actions/get-site-by-id.d.cts +20 -8
  265. package/dist/actions/get-site-by-id.d.mts +20 -8
  266. package/dist/actions/get-site-by-id.mjs +1 -1
  267. package/dist/actions/get-site-by-id.mjs.map +1 -1
  268. package/dist/actions/get-site-collection-info.cjs +1 -1
  269. package/dist/actions/get-site-collection-info.cjs.map +1 -1
  270. package/dist/actions/get-site-collection-info.d.cts +15 -3
  271. package/dist/actions/get-site-collection-info.d.mts +15 -3
  272. package/dist/actions/get-site-collection-info.mjs +1 -1
  273. package/dist/actions/get-site-collection-info.mjs.map +1 -1
  274. package/dist/actions/get-site-drive-item-by-path.cjs +4 -4
  275. package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -1
  276. package/dist/actions/get-site-drive-item-by-path.d.cts +39 -27
  277. package/dist/actions/get-site-drive-item-by-path.d.mts +39 -27
  278. package/dist/actions/get-site-drive-item-by-path.mjs +4 -4
  279. package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -1
  280. package/dist/actions/get-site-page-content.d.cts +13 -1
  281. package/dist/actions/get-site-page-content.d.mts +13 -1
  282. package/dist/actions/get-site-root.cjs +1 -1
  283. package/dist/actions/get-site-root.cjs.map +1 -1
  284. package/dist/actions/get-site-root.d.cts +20 -8
  285. package/dist/actions/get-site-root.d.mts +20 -8
  286. package/dist/actions/get-site-root.mjs +1 -1
  287. package/dist/actions/get-site-root.mjs.map +1 -1
  288. package/dist/actions/get-user-effective-permissions-on-web.cjs +1 -1
  289. package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -1
  290. package/dist/actions/get-user-effective-permissions-on-web.d.cts +14 -2
  291. package/dist/actions/get-user-effective-permissions-on-web.d.mts +14 -2
  292. package/dist/actions/get-user-effective-permissions-on-web.mjs +1 -1
  293. package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -1
  294. package/dist/actions/get-web-info.cjs +1 -1
  295. package/dist/actions/get-web-info.cjs.map +1 -1
  296. package/dist/actions/get-web-info.d.cts +20 -8
  297. package/dist/actions/get-web-info.d.mts +20 -8
  298. package/dist/actions/get-web-info.mjs +1 -1
  299. package/dist/actions/get-web-info.mjs.map +1 -1
  300. package/dist/actions/get-webhook-subscription.cjs +1 -1
  301. package/dist/actions/get-webhook-subscription.cjs.map +1 -1
  302. package/dist/actions/get-webhook-subscription.d.cts +14 -2
  303. package/dist/actions/get-webhook-subscription.d.mts +14 -2
  304. package/dist/actions/get-webhook-subscription.mjs +1 -1
  305. package/dist/actions/get-webhook-subscription.mjs.map +1 -1
  306. package/dist/actions/get-webhook-subscriptions.cjs +2 -2
  307. package/dist/actions/get-webhook-subscriptions.cjs.map +1 -1
  308. package/dist/actions/get-webhook-subscriptions.d.cts +15 -3
  309. package/dist/actions/get-webhook-subscriptions.d.mts +15 -3
  310. package/dist/actions/get-webhook-subscriptions.mjs +2 -2
  311. package/dist/actions/get-webhook-subscriptions.mjs.map +1 -1
  312. package/dist/actions/is-followed.cjs +1 -1
  313. package/dist/actions/is-followed.cjs.map +1 -1
  314. package/dist/actions/is-followed.d.cts +14 -2
  315. package/dist/actions/is-followed.d.mts +14 -2
  316. package/dist/actions/is-followed.mjs +1 -1
  317. package/dist/actions/is-followed.mjs.map +1 -1
  318. package/dist/actions/list-all-lists.cjs +1 -1
  319. package/dist/actions/list-all-lists.cjs.map +1 -1
  320. package/dist/actions/list-all-lists.d.cts +14 -2
  321. package/dist/actions/list-all-lists.d.mts +14 -2
  322. package/dist/actions/list-all-lists.mjs +1 -1
  323. package/dist/actions/list-all-lists.mjs.map +1 -1
  324. package/dist/actions/list-drive-children.cjs +1 -1
  325. package/dist/actions/list-drive-children.cjs.map +1 -1
  326. package/dist/actions/list-drive-children.d.cts +14 -2
  327. package/dist/actions/list-drive-children.d.mts +14 -2
  328. package/dist/actions/list-drive-children.mjs +1 -1
  329. package/dist/actions/list-drive-children.mjs.map +1 -1
  330. package/dist/actions/list-drive-recent-items.cjs +1 -1
  331. package/dist/actions/list-drive-recent-items.cjs.map +1 -1
  332. package/dist/actions/list-drive-recent-items.d.cts +15 -3
  333. package/dist/actions/list-drive-recent-items.d.mts +15 -3
  334. package/dist/actions/list-drive-recent-items.mjs +1 -1
  335. package/dist/actions/list-drive-recent-items.mjs.map +1 -1
  336. package/dist/actions/list-drives-rest-api.d.cts +13 -1
  337. package/dist/actions/list-drives-rest-api.d.mts +13 -1
  338. package/dist/actions/list-files-in-folder.cjs +1 -1
  339. package/dist/actions/list-files-in-folder.cjs.map +1 -1
  340. package/dist/actions/list-files-in-folder.d.cts +14 -2
  341. package/dist/actions/list-files-in-folder.d.mts +14 -2
  342. package/dist/actions/list-files-in-folder.mjs +1 -1
  343. package/dist/actions/list-files-in-folder.mjs.map +1 -1
  344. package/dist/actions/list-item-attachments.cjs +2 -2
  345. package/dist/actions/list-item-attachments.cjs.map +1 -1
  346. package/dist/actions/list-item-attachments.d.cts +15 -3
  347. package/dist/actions/list-item-attachments.d.mts +15 -3
  348. package/dist/actions/list-item-attachments.mjs +2 -2
  349. package/dist/actions/list-item-attachments.mjs.map +1 -1
  350. package/dist/actions/list-list-columns.cjs +1 -1
  351. package/dist/actions/list-list-columns.cjs.map +1 -1
  352. package/dist/actions/list-list-columns.d.cts +14 -2
  353. package/dist/actions/list-list-columns.d.mts +14 -2
  354. package/dist/actions/list-list-columns.mjs +1 -1
  355. package/dist/actions/list-list-columns.mjs.map +1 -1
  356. package/dist/actions/list-recycle-bin-items.cjs +2 -2
  357. package/dist/actions/list-recycle-bin-items.cjs.map +1 -1
  358. package/dist/actions/list-recycle-bin-items.d.cts +15 -3
  359. package/dist/actions/list-recycle-bin-items.d.mts +15 -3
  360. package/dist/actions/list-recycle-bin-items.mjs +2 -2
  361. package/dist/actions/list-recycle-bin-items.mjs.map +1 -1
  362. package/dist/actions/list-site-drives.d.cts +13 -1
  363. package/dist/actions/list-site-drives.d.mts +13 -1
  364. package/dist/actions/list-site-groups.cjs +5 -5
  365. package/dist/actions/list-site-groups.cjs.map +1 -1
  366. package/dist/actions/list-site-groups.d.cts +21 -9
  367. package/dist/actions/list-site-groups.d.mts +21 -9
  368. package/dist/actions/list-site-groups.mjs +5 -5
  369. package/dist/actions/list-site-groups.mjs.map +1 -1
  370. package/dist/actions/list-site-users.cjs +8 -8
  371. package/dist/actions/list-site-users.cjs.map +1 -1
  372. package/dist/actions/list-site-users.d.cts +24 -12
  373. package/dist/actions/list-site-users.d.mts +24 -12
  374. package/dist/actions/list-site-users.mjs +8 -8
  375. package/dist/actions/list-site-users.mjs.map +1 -1
  376. package/dist/actions/list-sites.d.cts +13 -1
  377. package/dist/actions/list-sites.d.mts +13 -1
  378. package/dist/actions/list-subfolders-in-folder.cjs +1 -1
  379. package/dist/actions/list-subfolders-in-folder.cjs.map +1 -1
  380. package/dist/actions/list-subfolders-in-folder.d.cts +14 -2
  381. package/dist/actions/list-subfolders-in-folder.d.mts +14 -2
  382. package/dist/actions/list-subfolders-in-folder.mjs +1 -1
  383. package/dist/actions/list-subfolders-in-folder.mjs.map +1 -1
  384. package/dist/actions/log-event.cjs +1 -1
  385. package/dist/actions/log-event.cjs.map +1 -1
  386. package/dist/actions/log-event.d.cts +14 -2
  387. package/dist/actions/log-event.d.mts +14 -2
  388. package/dist/actions/log-event.mjs +1 -1
  389. package/dist/actions/log-event.mjs.map +1 -1
  390. package/dist/actions/recycle-file.cjs +1 -1
  391. package/dist/actions/recycle-file.cjs.map +1 -1
  392. package/dist/actions/recycle-file.d.cts +14 -2
  393. package/dist/actions/recycle-file.d.mts +14 -2
  394. package/dist/actions/recycle-file.mjs +1 -1
  395. package/dist/actions/recycle-file.mjs.map +1 -1
  396. package/dist/actions/recycle-list-item.cjs +1 -1
  397. package/dist/actions/recycle-list-item.cjs.map +1 -1
  398. package/dist/actions/recycle-list-item.d.cts +14 -2
  399. package/dist/actions/recycle-list-item.d.mts +14 -2
  400. package/dist/actions/recycle-list-item.mjs +1 -1
  401. package/dist/actions/recycle-list-item.mjs.map +1 -1
  402. package/dist/actions/rename-folder.cjs +1 -1
  403. package/dist/actions/rename-folder.cjs.map +1 -1
  404. package/dist/actions/rename-folder.d.cts +14 -2
  405. package/dist/actions/rename-folder.d.mts +14 -2
  406. package/dist/actions/rename-folder.mjs +1 -1
  407. package/dist/actions/rename-folder.mjs.map +1 -1
  408. package/dist/actions/render-list-data-as-stream.cjs +2 -2
  409. package/dist/actions/render-list-data-as-stream.cjs.map +1 -1
  410. package/dist/actions/render-list-data-as-stream.d.cts +16 -4
  411. package/dist/actions/render-list-data-as-stream.d.cts.map +1 -1
  412. package/dist/actions/render-list-data-as-stream.d.mts +16 -4
  413. package/dist/actions/render-list-data-as-stream.d.mts.map +1 -1
  414. package/dist/actions/render-list-data-as-stream.mjs +2 -2
  415. package/dist/actions/render-list-data-as-stream.mjs.map +1 -1
  416. package/dist/actions/restore-drive-item-version.cjs +1 -1
  417. package/dist/actions/restore-drive-item-version.cjs.map +1 -1
  418. package/dist/actions/restore-drive-item-version.d.cts +14 -2
  419. package/dist/actions/restore-drive-item-version.d.mts +14 -2
  420. package/dist/actions/restore-drive-item-version.mjs +1 -1
  421. package/dist/actions/restore-drive-item-version.mjs.map +1 -1
  422. package/dist/actions/restore-recycle-bin-item.cjs +1 -1
  423. package/dist/actions/restore-recycle-bin-item.cjs.map +1 -1
  424. package/dist/actions/restore-recycle-bin-item.d.cts +14 -2
  425. package/dist/actions/restore-recycle-bin-item.d.mts +14 -2
  426. package/dist/actions/restore-recycle-bin-item.mjs +1 -1
  427. package/dist/actions/restore-recycle-bin-item.mjs.map +1 -1
  428. package/dist/actions/search-files.cjs +14 -14
  429. package/dist/actions/search-files.cjs.map +1 -1
  430. package/dist/actions/search-files.d.cts +30 -18
  431. package/dist/actions/search-files.d.mts +30 -18
  432. package/dist/actions/search-files.mjs +14 -14
  433. package/dist/actions/search-files.mjs.map +1 -1
  434. package/dist/actions/search-query.cjs +10 -10
  435. package/dist/actions/search-query.cjs.map +1 -1
  436. package/dist/actions/search-query.d.cts +25 -13
  437. package/dist/actions/search-query.d.mts +25 -13
  438. package/dist/actions/search-query.mjs +10 -10
  439. package/dist/actions/search-query.mjs.map +1 -1
  440. package/dist/actions/search-suggest.cjs +1 -1
  441. package/dist/actions/search-suggest.cjs.map +1 -1
  442. package/dist/actions/search-suggest.d.cts +14 -2
  443. package/dist/actions/search-suggest.d.mts +14 -2
  444. package/dist/actions/search-suggest.mjs +1 -1
  445. package/dist/actions/search-suggest.mjs.map +1 -1
  446. package/dist/actions/sharepoint-check-out-file.cjs +1 -1
  447. package/dist/actions/sharepoint-check-out-file.cjs.map +1 -1
  448. package/dist/actions/sharepoint-check-out-file.d.cts +14 -2
  449. package/dist/actions/sharepoint-check-out-file.d.mts +14 -2
  450. package/dist/actions/sharepoint-check-out-file.mjs +1 -1
  451. package/dist/actions/sharepoint-check-out-file.mjs.map +1 -1
  452. package/dist/actions/sharepoint-create-folder.cjs +1 -1
  453. package/dist/actions/sharepoint-create-folder.cjs.map +1 -1
  454. package/dist/actions/sharepoint-create-folder.d.cts +14 -2
  455. package/dist/actions/sharepoint-create-folder.d.mts +14 -2
  456. package/dist/actions/sharepoint-create-folder.mjs +1 -1
  457. package/dist/actions/sharepoint-create-folder.mjs.map +1 -1
  458. package/dist/actions/sharepoint-create-list-item.cjs +1 -1
  459. package/dist/actions/sharepoint-create-list-item.cjs.map +1 -1
  460. package/dist/actions/sharepoint-create-list-item.d.cts +14 -2
  461. package/dist/actions/sharepoint-create-list-item.d.cts.map +1 -1
  462. package/dist/actions/sharepoint-create-list-item.d.mts +14 -2
  463. package/dist/actions/sharepoint-create-list-item.d.mts.map +1 -1
  464. package/dist/actions/sharepoint-create-list-item.mjs +1 -1
  465. package/dist/actions/sharepoint-create-list-item.mjs.map +1 -1
  466. package/dist/actions/sharepoint-create-list.cjs +1 -1
  467. package/dist/actions/sharepoint-create-list.cjs.map +1 -1
  468. package/dist/actions/sharepoint-create-list.d.cts +14 -2
  469. package/dist/actions/sharepoint-create-list.d.mts +14 -2
  470. package/dist/actions/sharepoint-create-list.mjs +1 -1
  471. package/dist/actions/sharepoint-create-list.mjs.map +1 -1
  472. package/dist/actions/sharepoint-find-user.cjs +2 -2
  473. package/dist/actions/sharepoint-find-user.cjs.map +1 -1
  474. package/dist/actions/sharepoint-find-user.d.cts +15 -3
  475. package/dist/actions/sharepoint-find-user.d.mts +15 -3
  476. package/dist/actions/sharepoint-find-user.mjs +2 -2
  477. package/dist/actions/sharepoint-find-user.mjs.map +1 -1
  478. package/dist/actions/sharepoint-remove-user.cjs +1 -1
  479. package/dist/actions/sharepoint-remove-user.cjs.map +1 -1
  480. package/dist/actions/sharepoint-remove-user.d.cts +14 -2
  481. package/dist/actions/sharepoint-remove-user.d.mts +14 -2
  482. package/dist/actions/sharepoint-remove-user.mjs +1 -1
  483. package/dist/actions/sharepoint-remove-user.mjs.map +1 -1
  484. package/dist/actions/undo-checkout-file.cjs +1 -1
  485. package/dist/actions/undo-checkout-file.cjs.map +1 -1
  486. package/dist/actions/undo-checkout-file.d.cts +14 -2
  487. package/dist/actions/undo-checkout-file.d.mts +14 -2
  488. package/dist/actions/undo-checkout-file.mjs +1 -1
  489. package/dist/actions/undo-checkout-file.mjs.map +1 -1
  490. package/dist/actions/update-content-type.cjs +6 -6
  491. package/dist/actions/update-content-type.cjs.map +1 -1
  492. package/dist/actions/update-content-type.d.cts +23 -7
  493. package/dist/actions/update-content-type.d.mts +23 -7
  494. package/dist/actions/update-content-type.mjs +6 -6
  495. package/dist/actions/update-content-type.mjs.map +1 -1
  496. package/dist/actions/update-drive-item.d.cts +13 -1
  497. package/dist/actions/update-drive-item.d.mts +13 -1
  498. package/dist/actions/update-file-item.cjs +2 -2
  499. package/dist/actions/update-file-item.cjs.map +1 -1
  500. package/dist/actions/update-file-item.d.cts +16 -4
  501. package/dist/actions/update-file-item.d.cts.map +1 -1
  502. package/dist/actions/update-file-item.d.mts +16 -4
  503. package/dist/actions/update-file-item.d.mts.map +1 -1
  504. package/dist/actions/update-file-item.mjs +2 -2
  505. package/dist/actions/update-file-item.mjs.map +1 -1
  506. package/dist/actions/update-list-item.cjs +2 -2
  507. package/dist/actions/update-list-item.cjs.map +1 -1
  508. package/dist/actions/update-list-item.d.cts +16 -4
  509. package/dist/actions/update-list-item.d.cts.map +1 -1
  510. package/dist/actions/update-list-item.d.mts +16 -4
  511. package/dist/actions/update-list-item.d.mts.map +1 -1
  512. package/dist/actions/update-list-item.mjs +2 -2
  513. package/dist/actions/update-list-item.mjs.map +1 -1
  514. package/dist/actions/update-list.cjs +1 -1
  515. package/dist/actions/update-list.cjs.map +1 -1
  516. package/dist/actions/update-list.d.cts +14 -2
  517. package/dist/actions/update-list.d.mts +14 -2
  518. package/dist/actions/update-list.mjs +1 -1
  519. package/dist/actions/update-list.mjs.map +1 -1
  520. package/dist/actions/update-site.cjs +1 -1
  521. package/dist/actions/update-site.cjs.map +1 -1
  522. package/dist/actions/update-site.d.cts +14 -2
  523. package/dist/actions/update-site.d.mts +14 -2
  524. package/dist/actions/update-site.mjs +1 -1
  525. package/dist/actions/update-site.mjs.map +1 -1
  526. package/dist/actions/upload-file.cjs +1 -1
  527. package/dist/actions/upload-file.cjs.map +1 -1
  528. package/dist/actions/upload-file.d.cts +14 -2
  529. package/dist/actions/upload-file.d.mts +14 -2
  530. package/dist/actions/upload-file.mjs +1 -1
  531. package/dist/actions/upload-file.mjs.map +1 -1
  532. package/dist/actions/upload-from-url.cjs +2 -2
  533. package/dist/actions/upload-from-url.cjs.map +1 -1
  534. package/dist/actions/upload-from-url.d.cts +16 -4
  535. package/dist/actions/upload-from-url.d.cts.map +1 -1
  536. package/dist/actions/upload-from-url.d.mts +16 -4
  537. package/dist/actions/upload-from-url.d.mts.map +1 -1
  538. package/dist/actions/upload-from-url.mjs +2 -2
  539. package/dist/actions/upload-from-url.mjs.map +1 -1
  540. package/dist/actions/validate-credential.cjs +1 -1
  541. package/dist/actions/validate-credential.cjs.map +1 -1
  542. package/dist/actions/validate-credential.d.cts +14 -2
  543. package/dist/actions/validate-credential.d.mts +14 -2
  544. package/dist/actions/validate-credential.mjs +1 -1
  545. package/dist/actions/validate-credential.mjs.map +1 -1
  546. package/dist/app.cjs +5 -2
  547. package/dist/app.cjs.map +1 -1
  548. package/dist/app.d.cts +9 -1
  549. package/dist/app.d.cts.map +1 -1
  550. package/dist/app.d.mts +9 -1
  551. package/dist/app.d.mts.map +1 -1
  552. package/dist/app.mjs +3 -1
  553. package/dist/app.mjs.map +1 -1
  554. package/dist/execute.cjs +1 -1
  555. package/dist/execute.cjs.map +1 -1
  556. package/dist/execute.mjs +1 -1
  557. package/dist/execute.mjs.map +1 -1
  558. package/package.json +1 -1
@@ -14,22 +14,34 @@ declare const SharePointEnsureUserOutput: z.ZodObject<{
14
14
  Groups: z.ZodNullable<z.ZodObject<{
15
15
  __deferred: z.ZodNullable<z.ZodObject<{
16
16
  uri: z.ZodNullable<z.ZodString>;
17
- }, z.core.$strip>>;
18
- }, z.core.$strip>>;
17
+ }, z.core.$loose>>;
18
+ }, z.core.$loose>>;
19
19
  UserId: z.ZodNullable<z.ZodObject<{
20
20
  NameId: z.ZodNullable<z.ZodString>;
21
21
  NameIdIssuer: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>>;
22
+ }, z.core.$loose>>;
23
23
  LoginName: z.ZodNullable<z.ZodString>;
24
24
  IsSiteAdmin: z.ZodNullable<z.ZodBoolean>;
25
25
  PrincipalType: z.ZodNullable<z.ZodNumber>;
26
- }, z.core.$strip>;
26
+ }, z.core.$loose>;
27
27
  declare const sharePointEnsureUser: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  email?: string | undefined;
29
29
  title?: string | undefined;
30
30
  site_name?: string | undefined;
31
31
  login_name?: string | undefined;
32
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
32
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
33
+ connectionId: z.ZodString;
34
+ entityId: z.ZodString;
35
+ instanceId: z.ZodString;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ accessToken: z.ZodString;
38
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
39
+ connectionId: z.ZodString;
40
+ entityId: z.ZodString;
41
+ instanceId: z.ZodString;
42
+ }, z.core.$strip>, z.ZodObject<{
43
+ accessToken: z.ZodString;
44
+ }, z.core.$strip>>]>;
33
45
  //#endregion
34
46
  export { sharePointEnsureUser };
35
47
  //# sourceMappingURL=ensure-user.d.mts.map
@@ -7,12 +7,12 @@ const SharePointEnsureUserInput = z.object({
7
7
  site_name: z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.").optional(),
8
8
  login_name: z.string().describe("Login name of the user in SharePoint claims format (e.g., 'i:0#.f|membership|user@domain.com'). Either login_name or email must be provided. If both are given, login_name takes priority. Throws an exception if login_name does not map to a real directory user; in batch operations, handle each user individually to prevent one failure from halting the batch.").optional()
9
9
  });
10
- const SharePointEnsureUser_DeferredSchema = z.object({ uri: z.string().describe("URL for deferred navigation link.").nullable() });
11
- const SharePointEnsureUser_GroupsInfoSchema = z.object({ __deferred: SharePointEnsureUser_DeferredSchema.nullable() });
10
+ const SharePointEnsureUser_DeferredSchema = z.object({ uri: z.string().describe("URL for deferred navigation link.").nullable() }).passthrough();
11
+ const SharePointEnsureUser_GroupsInfoSchema = z.object({ __deferred: SharePointEnsureUser_DeferredSchema.nullable() }).passthrough();
12
12
  const SharePointEnsureUser_UserIdInfoSchema = z.object({
13
13
  NameId: z.string().describe("Name identifier of the user.").nullable(),
14
14
  NameIdIssuer: z.string().describe("Issuer of the name identifier.").nullable()
15
- });
15
+ }).passthrough();
16
16
  const sharePointEnsureUser = action("SHARE_POINT_ENSURE_USER", {
17
17
  slug: "share_point-ensure-user",
18
18
  name: "Ensure SharePoint User",
@@ -27,7 +27,7 @@ const sharePointEnsureUser = action("SHARE_POINT_ENSURE_USER", {
27
27
  LoginName: z.string().describe("User's login name.").nullable(),
28
28
  IsSiteAdmin: z.boolean().describe("Whether the user is a site collection administrator.").nullable(),
29
29
  PrincipalType: z.number().int().describe("Principal type bit flags (1=User, 4=SecurityGroup, 8=DistributionList).").nullable()
30
- }).describe("SharePoint user object returned or created by ensureUser.")
30
+ }).passthrough().describe("SharePoint user object returned or created by ensureUser.")
31
31
  });
32
32
  //#endregion
33
33
  export { sharePointEnsureUser };
@@ -1 +1 @@
1
- {"version":3,"file":"ensure-user.mjs","names":[],"sources":["../../src/actions/ensure-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointEnsureUserInput = z.object({\n email: z.string().describe(\"Email address of the user to add to SharePoint. Automatically converted to claims format 'i:0#.f|membership|{email}'. Either email or login_name must be provided.\").optional(),\n title: z.string().describe(\"Optional display name/title for the user in SharePoint. If provided, the user's title will be updated after ensuring them.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n login_name: z.string().describe(\"Login name of the user in SharePoint claims format (e.g., 'i:0#.f|membership|user@domain.com'). Either login_name or email must be provided. If both are given, login_name takes priority. Throws an exception if login_name does not map to a real directory user; in batch operations, handle each user individually to prevent one failure from halting the batch.\").optional(),\n});\nconst SharePointEnsureUser_DeferredSchema = z.object({\n uri: z.string().describe(\"URL for deferred navigation link.\").nullable(),\n});\nconst SharePointEnsureUser_GroupsInfoSchema = z.object({\n __deferred: SharePointEnsureUser_DeferredSchema.nullable(),\n});\nconst SharePointEnsureUser_UserIdInfoSchema = z.object({\n NameId: z.string().describe(\"Name identifier of the user.\").nullable(),\n NameIdIssuer: z.string().describe(\"Issuer of the name identifier.\").nullable(),\n});\nexport const SharePointEnsureUserOutput = z.object({\n Id: z.number().int().describe(\"Member identifier for the user.\").nullable(),\n Email: z.string().describe(\"Email address of the user.\").nullable(),\n Title: z.string().describe(\"Display name of the user.\").nullable(),\n Groups: SharePointEnsureUser_GroupsInfoSchema.nullable(),\n UserId: SharePointEnsureUser_UserIdInfoSchema.nullable(),\n LoginName: z.string().describe(\"User's login name.\").nullable(),\n IsSiteAdmin: z.boolean().describe(\"Whether the user is a site collection administrator.\").nullable(),\n PrincipalType: z.number().int().describe(\"Principal type bit flags (1=User, 4=SecurityGroup, 8=DistributionList).\").nullable(),\n}).describe(\"SharePoint user object returned or created by ensureUser.\");\n\nexport const sharePointEnsureUser = action(\"SHARE_POINT_ENSURE_USER\", {\n slug: \"share_point-ensure-user\",\n name: \"Ensure SharePoint User\",\n description: \"Ensures a user exists in a SharePoint site by their login name. If the user already exists, returns their info; if not, adds them to the site — this is a write operation with a provisioning side effect, not a read-only presence check. Use when you need to add a user or get their user ID for permissions. The login name must be in SharePoint claims format (e.g., 'i:0#.f|membership|user@domain.com'). This action only registers the user in the site collection and does not grant any permissions. To assign list-level access, pass the returned Id field as principal_id to SHARE_POINT_ADD_ROLE_ASSIGNMENT_TO_LIST.\",\n input: SharePointEnsureUserInput,\n output: SharePointEnsureUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC1M,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAClK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uWAAuW,CAAC,CAAC,SAAS;AACpZ,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO,EACnD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,EACzE,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO,EACrD,YAAY,oCAAoC,SAAS,EAC3D,CAAC;AACD,MAAM,wCAAwC,EAAE,OAAO;CACrD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CACrE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;AAC/E,CAAC;AAYD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,QAAQ,sCAAsC,SAAS;EACvD,QAAQ,sCAAsC,SAAS;EACvD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;EAC9D,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;EACnG,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,2DAOF;AACV,CAAC"}
1
+ {"version":3,"file":"ensure-user.mjs","names":[],"sources":["../../src/actions/ensure-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointEnsureUserInput = z.object({\n email: z.string().describe(\"Email address of the user to add to SharePoint. Automatically converted to claims format 'i:0#.f|membership|{email}'. Either email or login_name must be provided.\").optional(),\n title: z.string().describe(\"Optional display name/title for the user in SharePoint. If provided, the user's title will be updated after ensuring them.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n login_name: z.string().describe(\"Login name of the user in SharePoint claims format (e.g., 'i:0#.f|membership|user@domain.com'). Either login_name or email must be provided. If both are given, login_name takes priority. Throws an exception if login_name does not map to a real directory user; in batch operations, handle each user individually to prevent one failure from halting the batch.\").optional(),\n});\nconst SharePointEnsureUser_DeferredSchema = z.object({\n uri: z.string().describe(\"URL for deferred navigation link.\").nullable(),\n}).passthrough();\nconst SharePointEnsureUser_GroupsInfoSchema = z.object({\n __deferred: SharePointEnsureUser_DeferredSchema.nullable(),\n}).passthrough();\nconst SharePointEnsureUser_UserIdInfoSchema = z.object({\n NameId: z.string().describe(\"Name identifier of the user.\").nullable(),\n NameIdIssuer: z.string().describe(\"Issuer of the name identifier.\").nullable(),\n}).passthrough();\nexport const SharePointEnsureUserOutput = z.object({\n Id: z.number().int().describe(\"Member identifier for the user.\").nullable(),\n Email: z.string().describe(\"Email address of the user.\").nullable(),\n Title: z.string().describe(\"Display name of the user.\").nullable(),\n Groups: SharePointEnsureUser_GroupsInfoSchema.nullable(),\n UserId: SharePointEnsureUser_UserIdInfoSchema.nullable(),\n LoginName: z.string().describe(\"User's login name.\").nullable(),\n IsSiteAdmin: z.boolean().describe(\"Whether the user is a site collection administrator.\").nullable(),\n PrincipalType: z.number().int().describe(\"Principal type bit flags (1=User, 4=SecurityGroup, 8=DistributionList).\").nullable(),\n}).passthrough().describe(\"SharePoint user object returned or created by ensureUser.\");\n\nexport const sharePointEnsureUser = action(\"SHARE_POINT_ENSURE_USER\", {\n slug: \"share_point-ensure-user\",\n name: \"Ensure SharePoint User\",\n description: \"Ensures a user exists in a SharePoint site by their login name. If the user already exists, returns their info; if not, adds them to the site — this is a write operation with a provisioning side effect, not a read-only presence check. Use when you need to add a user or get their user ID for permissions. The login name must be in SharePoint claims format (e.g., 'i:0#.f|membership|user@domain.com'). This action only registers the user in the site collection and does not grant any permissions. To assign list-level access, pass the returned Id field as principal_id to SHARE_POINT_ADD_ROLE_ASSIGNMENT_TO_LIST.\",\n input: SharePointEnsureUserInput,\n output: SharePointEnsureUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC1M,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;CAClK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,YAAY,EAAE,OAAO,CA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
19
19
  zod.z.literal(2),
20
20
  zod.z.literal(3)
21
- ]).describe("Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.").nullable() }).describe("Response model with follow result code.");
21
+ ]).describe("Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.").nullable() }).passthrough().describe("Response model with follow result code.");
22
22
  const sharePointFollow = require_action.action("SHARE_POINT_FOLLOW", {
23
23
  slug: "share_point-follow",
24
24
  name: "Follow SharePoint Actor",
@@ -1 +1 @@
1
- {"version":3,"file":"follow.cjs","names":["z","action"],"sources":["../../src/actions/follow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointFollowInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to follow: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to follow a SharePoint actor.\");\nexport const SharePointFollowOutput = z.object({\n follow: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.\").nullable(),\n}).describe(\"Response model with follow result code.\");\n\nexport const sharePointFollow = action(\"SHARE_POINT_FOLLOW\", {\n slug: \"share_point-follow\",\n name: \"Follow SharePoint Actor\",\n description: \"Follow a SharePoint user, document, site, or tag. Use to make the authenticated user follow a specified actor. Supports following users (actor_type=0), documents (actor_type=1), sites (actor_type=2), or tags (actor_type=3).\",\n input: SharePointFollowInput,\n output: SharePointFollowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;CACxJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,QAAQA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,QAAQ,CAAC;AAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"follow.cjs","names":["z","action"],"sources":["../../src/actions/follow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointFollowInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to follow: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to follow a SharePoint actor.\");\nexport const SharePointFollowOutput = z.object({\n follow: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.\").nullable(),\n}).passthrough().describe(\"Response model with follow result code.\");\n\nexport const sharePointFollow = action(\"SHARE_POINT_FOLLOW\", {\n slug: \"share_point-follow\",\n name: \"Follow SharePoint Actor\",\n description: \"Follow a SharePoint user, document, site, or tag. Use to make the authenticated user follow a specified actor. Supports following users (actor_type=0), documents (actor_type=1), sites (actor_type=2), or tags (actor_type=3).\",\n input: SharePointFollowInput,\n output: SharePointFollowOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC7E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,MAAM;EAACA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;CACxJ,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;CAC7H,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;AACxJ,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,QAAQA,IAAAA,EAAE,MAAM;CAACA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,QAAQ,CAAC;CAAGA,IAAAA,EAAE,QAAQ,CAAC;AAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -10,14 +10,26 @@ declare const SharePointFollowInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const SharePointFollowOutput: z.ZodObject<{
12
12
  follow: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const sharePointFollow: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  actor_type: 0 | 1 | 2 | 3;
16
16
  tag_guid?: string | undefined;
17
17
  site_name?: string | undefined;
18
18
  content_uri?: string | undefined;
19
19
  account_name?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { sharePointFollow };
23
35
  //# sourceMappingURL=follow.d.cts.map
@@ -10,14 +10,26 @@ declare const SharePointFollowInput: z.ZodObject<{
10
10
  }, z.core.$strip>;
11
11
  declare const SharePointFollowOutput: z.ZodObject<{
12
12
  follow: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>>;
13
- }, z.core.$strip>;
13
+ }, z.core.$loose>;
14
14
  declare const sharePointFollow: import("@keystrokehq/action").WorkflowActionDefinition<{
15
15
  actor_type: 0 | 1 | 2 | 3;
16
16
  tag_guid?: string | undefined;
17
17
  site_name?: string | undefined;
18
18
  content_uri?: string | undefined;
19
19
  account_name?: string | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
21
+ connectionId: z.ZodString;
22
+ entityId: z.ZodString;
23
+ instanceId: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ accessToken: z.ZodString;
26
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
27
+ connectionId: z.ZodString;
28
+ entityId: z.ZodString;
29
+ instanceId: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ accessToken: z.ZodString;
32
+ }, z.core.$strip>>]>;
21
33
  //#endregion
22
34
  export { sharePointFollow };
23
35
  //# sourceMappingURL=follow.d.mts.map
@@ -21,7 +21,7 @@ const sharePointFollow = action("SHARE_POINT_FOLLOW", {
21
21
  z.literal(1),
22
22
  z.literal(2),
23
23
  z.literal(3)
24
- ]).describe("Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.").nullable() }).describe("Response model with follow result code.")
24
+ ]).describe("Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.").nullable() }).passthrough().describe("Response model with follow result code.")
25
25
  });
26
26
  //#endregion
27
27
  export { sharePointFollow };
@@ -1 +1 @@
1
- {"version":3,"file":"follow.mjs","names":[],"sources":["../../src/actions/follow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointFollowInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to follow: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to follow a SharePoint actor.\");\nexport const SharePointFollowOutput = z.object({\n follow: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.\").nullable(),\n}).describe(\"Response model with follow result code.\");\n\nexport const sharePointFollow = action(\"SHARE_POINT_FOLLOW\", {\n slug: \"share_point-follow\",\n name: \"Follow SharePoint Actor\",\n description: \"Follow a SharePoint user, document, site, or tag. Use to make the authenticated user follow a specified actor. Supports following users (actor_type=0), documents (actor_type=1), sites (actor_type=2), or tags (actor_type=3).\",\n input: SharePointFollowInput,\n output: SharePointFollowOutput,\n});\n"],"mappings":";;AAeA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO;EAC5C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;EACxJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QAToC,EAAE,OAAO,EAC7C,QAAQ,EAAE,MAAM;EAAC,EAAE,QAAQ,CAAC;EAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"follow.mjs","names":[],"sources":["../../src/actions/follow.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointFollowInput = z.object({\n tag_guid: z.string().describe(\"GUID of the tag when actor_type=3.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n actor_type: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Type of the actor to follow: 0=user, 1=document, 2=site, 3=tag.\"),\n content_uri: z.string().describe(\"URI of the document or site when actor_type=1 or 2, e.g., 'http://server/site'.\").optional(),\n account_name: z.string().describe(\"Account name for a user when actor_type=0, in claims format, e.g., 'i:0#.f|membership|user@domain.com'.\").optional(),\n}).describe(\"Request parameters to follow a SharePoint actor.\");\nexport const SharePointFollowOutput = z.object({\n follow: z.union([z.literal(0), z.literal(1), z.literal(2), z.literal(3)]).describe(\"Result of follow operation: 0=OK; 1=AlreadyFollowing; 2=LimitReached; 3=InternalError.\").nullable(),\n}).passthrough().describe(\"Response model with follow result code.\");\n\nexport const sharePointFollow = action(\"SHARE_POINT_FOLLOW\", {\n slug: \"share_point-follow\",\n name: \"Follow SharePoint Actor\",\n description: \"Follow a SharePoint user, document, site, or tag. Use to make the authenticated user follow a specified actor. Supports following users (actor_type=0), documents (actor_type=1), sites (actor_type=2), or tags (actor_type=3).\",\n input: SharePointFollowInput,\n output: SharePointFollowOutput,\n});\n"],"mappings":";;AAeA,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfmC,EAAE,OAAO;EAC5C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC7E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,iEAAiE;EACxJ,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,CAAC,CAAC,SAAS;EAC7H,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CACxJ,CAAC,CAAC,CAAC,SAAS,kDASH;CACP,QAToC,EAAE,OAAO,EAC7C,QAAQ,EAAE,MAAM;EAAC,EAAE,QAAQ,CAAC;EAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,QAAQ,CAAC;EAAG,EAAE,QAAQ,CAAC;CAAC,CAAC,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
@@ -20,7 +20,7 @@ const SharePointGetAllFolders_SharePointFolderMetadataSchema = zod.z.object({
20
20
  TimeLastModified: zod.z.string().describe("ISO 8601 timestamp when the folder was last modified.").nullable().optional(),
21
21
  ServerRelativeUrl: zod.z.string().describe("Server-relative URL path to the folder.").nullable().optional()
22
22
  }).passthrough().describe("SharePoint folder metadata and properties.");
23
- const SharePointGetAllFoldersOutput = zod.z.object({ folders: zod.z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe("Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.") }).describe("Response model containing list of all folders in the SharePoint web.");
23
+ const SharePointGetAllFoldersOutput = zod.z.object({ folders: zod.z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe("Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.") }).passthrough().describe("Response model containing list of all folders in the SharePoint web.");
24
24
  const sharePointGetAllFolders = require_action.action("SHARE_POINT_GET_ALL_FOLDERS", {
25
25
  slug: "share_point-get-all-folders",
26
26
  name: "Get All SharePoint Folders",
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-folders.cjs","names":["z","action"],"sources":["../../src/actions/get-all-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetAllFoldersInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of folders returned.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities such as 'Files,Folders,ListItemAllFields'.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results based on folder properties.\").optional(),\n select: z.string().describe(\"OData $select to specify which folder fields to return (comma-separated), e.g., 'Name,ServerRelativeUrl,ItemCount'.\").optional(),\n tenant: z.string().describe(\"The SharePoint tenant name (e.g., 'composio2024' for composio2024.sharepoint.com). This parameter is not used; tenant information is derived from the authenticated connection.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc' or 'TimeCreated desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all folders in SharePoint web.\");\nconst SharePointGetAllFolders_SharePointFolderMetadataSchema = z.object({\n Name: z.string().describe(\"Name of the folder.\").nullable().optional(),\n Exists: z.boolean().describe(\"Whether the folder exists.\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier (GUID) of the folder.\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the folder.\").nullable().optional(),\n TimeCreated: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable().optional(),\n WelcomePage: z.string().describe(\"Welcome page URL for the folder if set.\").nullable().optional(),\n TimeLastModified: z.string().describe(\"ISO 8601 timestamp when the folder was last modified.\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL path to the folder.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint folder metadata and properties.\");\nexport const SharePointGetAllFoldersOutput = z.object({\n folders: z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe(\"Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.\"),\n}).describe(\"Response model containing list of all folders in the SharePoint web.\");\n\nexport const sharePointGetAllFolders = action(\"SHARE_POINT_GET_ALL_FOLDERS\", {\n slug: \"share_point-get-all-folders\",\n name: \"Get All SharePoint Folders\",\n description: \"Tool to retrieve all folders in the SharePoint web. Use when you need to discover all available folders across the site. Supports OData query parameters for filtering, selecting spec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CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,6GAA6G,EACjM,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAElF,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-folders.cjs","names":["z","action"],"sources":["../../src/actions/get-all-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetAllFoldersInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of folders returned.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities such as 'Files,Folders,ListItemAllFields'.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results based on folder properties.\").optional(),\n select: z.string().describe(\"OData $select to specify which folder fields to return (comma-separated), e.g., 'Name,ServerRelativeUrl,ItemCount'.\").optional(),\n tenant: z.string().describe(\"The SharePoint tenant name (e.g., 'composio2024' for composio2024.sharepoint.com). This parameter is not used; tenant information is derived from the authenticated connection.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc' or 'TimeCreated desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all folders in SharePoint web.\");\nconst SharePointGetAllFolders_SharePointFolderMetadataSchema = z.object({\n Name: z.string().describe(\"Name of the folder.\").nullable().optional(),\n Exists: z.boolean().describe(\"Whether the folder exists.\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier (GUID) of the folder.\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the folder.\").nullable().optional(),\n TimeCreated: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable().optional(),\n WelcomePage: z.string().describe(\"Welcome page URL for the folder if set.\").nullable().optional(),\n TimeLastModified: z.string().describe(\"ISO 8601 timestamp when the folder was last modified.\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL path to the folder.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint folder metadata and properties.\");\nexport const SharePointGetAllFoldersOutput = z.object({\n folders: z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe(\"Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.\"),\n}).passthrough().describe(\"Response model containing list of all folders in the SharePoint web.\");\n\nexport const sharePointGetAllFolders = action(\"SHARE_POINT_GET_ALL_FOLDERS\", {\n slug: \"share_point-get-all-folders\",\n name: \"Get All SharePoint Folders\",\n description: \"Tool to retrieve all folders in the SharePoint web. Use when you need to discover all available folders across the site. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetAllFoldersInput,\n output: SharePointGetAllFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,O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CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,SAASA,IAAAA,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,6GAA6G,EACjM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAAsE;AAEhG,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -21,7 +21,7 @@ declare const SharePointGetAllFoldersOutput: z.ZodObject<{
21
21
  TimeLastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  ServerRelativeUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  }, z.core.$loose>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const sharePointGetAllFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  top?: number | undefined;
27
27
  expand?: string | undefined;
@@ -30,7 +30,19 @@ declare const sharePointGetAllFolders: import("@keystrokehq/action").WorkflowAct
30
30
  tenant?: string | undefined;
31
31
  orderby?: string | undefined;
32
32
  site_name?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { sharePointGetAllFolders };
36
48
  //# sourceMappingURL=get-all-folders.d.cts.map
@@ -21,7 +21,7 @@ declare const SharePointGetAllFoldersOutput: z.ZodObject<{
21
21
  TimeLastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  ServerRelativeUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  }, z.core.$loose>>;
24
- }, z.core.$strip>;
24
+ }, z.core.$loose>;
25
25
  declare const sharePointGetAllFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
26
26
  top?: number | undefined;
27
27
  expand?: string | undefined;
@@ -30,7 +30,19 @@ declare const sharePointGetAllFolders: import("@keystrokehq/action").WorkflowAct
30
30
  tenant?: string | undefined;
31
31
  orderby?: string | undefined;
32
32
  site_name?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
33
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
34
+ connectionId: z.ZodString;
35
+ entityId: z.ZodString;
36
+ instanceId: z.ZodString;
37
+ }, z.core.$strip>, z.ZodObject<{
38
+ accessToken: z.ZodString;
39
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
40
+ connectionId: z.ZodString;
41
+ entityId: z.ZodString;
42
+ instanceId: z.ZodString;
43
+ }, z.core.$strip>, z.ZodObject<{
44
+ accessToken: z.ZodString;
45
+ }, z.core.$strip>>]>;
34
46
  //#endregion
35
47
  export { sharePointGetAllFolders };
36
48
  //# sourceMappingURL=get-all-folders.d.mts.map
@@ -25,7 +25,7 @@ const sharePointGetAllFolders = action("SHARE_POINT_GET_ALL_FOLDERS", {
25
25
  name: "Get All SharePoint Folders",
26
26
  description: "Tool to retrieve all folders in the SharePoint web. Use when you need to discover all available folders across the site. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.",
27
27
  input: SharePointGetAllFoldersInput,
28
- output: z.object({ folders: z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe("Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.") }).describe("Response model containing list of all folders in the SharePoint web.")
28
+ output: z.object({ folders: z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe("Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.") }).passthrough().describe("Response model containing list of all folders in the SharePoint web.")
29
29
  });
30
30
  //#endregion
31
31
  export { sharePointGetAllFolders };
@@ -1 +1 @@
1
- {"version":3,"file":"get-all-folders.mjs","names":[],"sources":["../../src/actions/get-all-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetAllFoldersInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of folders returned.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities such as 'Files,Folders,ListItemAllFields'.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results based on folder properties.\").optional(),\n select: z.string().describe(\"OData $select to specify which folder fields to return (comma-separated), e.g., 'Name,ServerRelativeUrl,ItemCount'.\").optional(),\n tenant: z.string().describe(\"The SharePoint tenant name (e.g., 'composio2024' for composio2024.sharepoint.com). This parameter is not used; tenant information is derived from the authenticated connection.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc' or 'TimeCreated desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all folders in SharePoint web.\");\nconst SharePointGetAllFolders_SharePointFolderMetadataSchema = z.object({\n Name: z.string().describe(\"Name of the folder.\").nullable().optional(),\n Exists: z.boolean().describe(\"Whether the folder exists.\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier (GUID) of the folder.\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the folder.\").nullable().optional(),\n TimeCreated: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable().optional(),\n WelcomePage: z.string().describe(\"Welcome page URL for the folder if set.\").nullable().optional(),\n TimeLastModified: z.string().describe(\"ISO 8601 timestamp when the folder was last modified.\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL path to the folder.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint folder metadata and properties.\");\nexport const SharePointGetAllFoldersOutput = z.object({\n folders: z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe(\"Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.\"),\n}).describe(\"Response model containing list of all folders in the SharePoint web.\");\n\nexport const sharePointGetAllFolders = action(\"SHARE_POINT_GET_ALL_FOLDERS\", {\n slug: \"share_point-get-all-folders\",\n name: \"Get All SharePoint Folders\",\n description: \"Tool to retrieve all folders in the SharePoint web. Use when you need to discover all available folders across the site. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetAllFoldersInput,\n output: SharePointGetAllFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACxN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,yDAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,6GAA6G,EACjM,CAAC,CAAC,CAAC,SAAS,sEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-all-folders.mjs","names":[],"sources":["../../src/actions/get-all-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetAllFoldersInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of folders returned.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities such as 'Files,Folders,ListItemAllFields'.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results based on folder properties.\").optional(),\n select: z.string().describe(\"OData $select to specify which folder fields to return (comma-separated), e.g., 'Name,ServerRelativeUrl,ItemCount'.\").optional(),\n tenant: z.string().describe(\"The SharePoint tenant name (e.g., 'composio2024' for composio2024.sharepoint.com). This parameter is not used; tenant information is derived from the authenticated connection.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc' or 'TimeCreated desc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all folders in SharePoint web.\");\nconst SharePointGetAllFolders_SharePointFolderMetadataSchema = z.object({\n Name: z.string().describe(\"Name of the folder.\").nullable().optional(),\n Exists: z.boolean().describe(\"Whether the folder exists.\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier (GUID) of the folder.\").nullable().optional(),\n ItemCount: z.number().int().describe(\"Number of items in the folder.\").nullable().optional(),\n TimeCreated: z.string().describe(\"ISO 8601 timestamp when the folder was created.\").nullable().optional(),\n WelcomePage: z.string().describe(\"Welcome page URL for the folder if set.\").nullable().optional(),\n TimeLastModified: z.string().describe(\"ISO 8601 timestamp when the folder was last modified.\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL path to the folder.\").nullable().optional(),\n}).passthrough().describe(\"SharePoint folder metadata and properties.\");\nexport const SharePointGetAllFoldersOutput = z.object({\n folders: z.array(SharePointGetAllFolders_SharePointFolderMetadataSchema).describe(\"Array of folder objects with metadata. Each folder includes properties based on the $select parameter used.\"),\n}).passthrough().describe(\"Response model containing list of all folders in the SharePoint web.\");\n\nexport const sharePointGetAllFolders = action(\"SHARE_POINT_GET_ALL_FOLDERS\", {\n slug: \"share_point-get-all-folders\",\n name: \"Get All SharePoint Folders\",\n description: \"Tool to retrieve all folders in the SharePoint web. Use when you need to discover all available folders across the site. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetAllFoldersInput,\n output: SharePointGetAllFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+B,EAAE,OAAO;CACnD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC/F,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CAC7H,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACpG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CAC5J,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,iLAAiL,CAAC,CAAC,SAAS;CACxN,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACjH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;AACxO,CAAC,CAAC,CAAC,SAAS,+EAA+E;AAC3F,MAAM,yDAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2C,EAAE,OAAO,EACpD,SAAS,EAAE,MAAM,sDAAsD,CAAC,CAAC,SAAS,6GAA6G,EACjM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sEAOhB;AACV,CAAC"}
@@ -55,8 +55,8 @@ const SharePointGetChanges_ChangeItemSchema = zod.z.object({
55
55
  ChangeToken: zod.z.string().describe("Change token for this change. Store this to use as ChangeTokenStart in subsequent GetChanges calls.").nullable().optional(),
56
56
  EditorEmailHint: zod.z.string().describe("Email hint for the editor").nullable().optional(),
57
57
  ServerRelativeUrl: zod.z.string().describe("Server-relative URL of the changed object").nullable().optional()
58
- }).describe("A single change entry from the change log.");
59
- const SharePointGetChangesOutput = zod.z.object({ changes: zod.z.array(SharePointGetChanges_ChangeItemSchema).describe("Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.") }).describe("Response model containing the list of changes from the change log.");
58
+ }).passthrough().describe("A single change entry from the change log.");
59
+ const SharePointGetChangesOutput = zod.z.object({ changes: zod.z.array(SharePointGetChanges_ChangeItemSchema).describe("Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.") }).passthrough().describe("Response model containing the list of changes from the change log.");
60
60
  const sharePointGetChanges = require_action.action("SHARE_POINT_GET_CHANGES", {
61
61
  slug: "share_point-get-changes",
62
62
  name: "Get SharePoint List Changes",
@@ -1 +1 @@
1
- {"version":3,"file":"get-changes.cjs","names":["z","action"],"sources":["../../src/actions/get-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetChangesInput = z.object({\n query: z.object({\n Add: z.boolean().describe(\"Include changes for added objects (new items, files, folders, etc.)\").optional(),\n Web: z.boolean().describe(\"Include changes for webs (subsites)\").optional(),\n File: z.boolean().describe(\"Include changes for files\").optional(),\n Item: z.boolean().describe(\"Include changes for list items\").optional(),\n List: z.boolean().describe(\"Include changes for lists\").optional(),\n Move: z.boolean().describe(\"Include changes for moved objects\").optional(),\n Site: z.boolean().describe(\"Include changes for sites\").optional(),\n User: z.boolean().describe(\"Include changes for users\").optional(),\n View: z.boolean().describe(\"Include changes for views\").optional(),\n Alert: z.boolean().describe(\"Include changes for alerts\").optional(),\n Field: z.boolean().describe(\"Include changes for fields (columns)\").optional(),\n Group: z.boolean().describe(\"Include changes for groups\").optional(),\n Folder: z.boolean().describe(\"Include changes for folders\").optional(),\n Rename: z.boolean().describe(\"Include changes for renamed objects\").optional(),\n Update: z.boolean().describe(\"Include changes for updated objects\").optional(),\n Restore: z.boolean().describe(\"Include changes for restored objects (from recycle bin or backup)\").optional(),\n FetchLimit: z.number().int().describe(\"Maximum number of changes to return. Default is no limit.\").optional(),\n Navigation: z.boolean().describe(\"Include changes for navigation structure\").optional(),\n __metadata: z.record(z.string(), z.unknown()).default({\"type\":\"SP.ChangeQuery\"}).describe(\"Metadata type for SharePoint ChangeQuery object\").optional(),\n ContentType: z.boolean().describe(\"Include changes for content types\").optional(),\n LatestFirst: z.boolean().describe(\"Return changes in reverse chronological order (newest first)\").optional(),\n DeleteObject: z.boolean().describe(\"Include changes for deleted objects\").optional(),\n RecursiveAll: z.boolean().describe(\"Include changes for all items in folders recursively\").optional(),\n SystemUpdate: z.boolean().describe(\"Include changes made via SystemUpdate method\").optional(),\n ChangeTokenEnd: z.string().describe(\"Change token at which to stop retrieving changes\").optional(),\n SecurityPolicy: z.boolean().describe(\"Include changes for security policies\").optional(),\n ChangeTokenStart: z.string().describe(\"Change token from which to start retrieving changes. Use the change token from previous GetChanges call to get only new changes since last check.\").optional(),\n RoleAssignmentAdd: z.boolean().describe(\"Include changes for role assignments added (permissions granted)\").optional(),\n RoleDefinitionAdd: z.boolean().describe(\"Include changes for role definitions added\").optional(),\n GroupMembershipAdd: z.boolean().describe(\"Include changes for users added to groups\").optional(),\n RequireSecurityTrim: z.boolean().describe(\"Apply security trimming to filter changes based on current user permissions\").optional(),\n RoleAssignmentDelete: z.boolean().describe(\"Include changes for role assignments removed (permissions revoked)\").optional(),\n RoleDefinitionDelete: z.boolean().describe(\"Include changes for role definitions deleted\").optional(),\n RoleDefinitionUpdate: z.boolean().describe(\"Include changes for role definitions updated\").optional(),\n GroupMembershipDelete: z.boolean().describe(\"Include changes for users removed from groups\").optional(),\n}).describe(\"Change query parameters specifying which types of changes to retrieve. Set boolean properties to True to include specific change types (e.g., Add=True, Item=True for new items).\"),\n list_id: z.string().describe(\"GUID of the SharePoint list to get changes for, in canonical format, e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving changes from the SharePoint change log.\");\nconst SharePointGetChanges_ChangeItemSchema = z.object({\n Time: z.string().describe(\"Timestamp when the change occurred\").nullable().optional(),\n Title: z.string().describe(\"Title of the changed item\").nullable().optional(),\n WebId: z.string().describe(\"GUID of the web (subsite)\").nullable().optional(),\n Editor: z.string().describe(\"User who made the change\").nullable().optional(),\n ItemId: z.number().int().describe(\"ID of the item that changed\").nullable().optional(),\n ListId: z.string().describe(\"GUID of the list containing the changed item\").nullable().optional(),\n SiteId: z.string().describe(\"GUID of the site collection\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier of the changed object\").nullable().optional(),\n ChangeType: z.number().int().describe(\"Type of change as integer (0=NoChange, 1=Add, 2=Update, 3=DeleteObject, 4=Rename, 5=MoveAway, 6=MoveInto, 7=Restore, 8=RoleAdd, 9=RoleDelete, 10=RoleUpdate, 11=AssignmentAdd, 12=AssignmentDelete, 13=MemberAdd, 14=MemberDelete, 15=SystemUpdate, 16=Navigation, 17=ScopeAdd, 18=ScopeDelete)\").nullable().optional(),\n ChangeToken: z.string().describe(\"Change token for this change. Store this to use as ChangeTokenStart in subsequent GetChanges calls.\").nullable().optional(),\n EditorEmailHint: z.string().describe(\"Email hint for the editor\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL of the changed object\").nullable().optional(),\n}).describe(\"A single change entry from the change log.\");\nexport const SharePointGetChangesOutput = z.object({\n changes: z.array(SharePointGetChanges_ChangeItemSchema).describe(\"Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.\"),\n}).describe(\"Response model containing the list of changes from the change log.\");\n\nexport const sharePointGetChanges = action(\"SHARE_POINT_GET_CHANGES\", {\n slug: \"share_point-get-changes\",\n name: \"Get SharePoint List Changes\",\n description: \"Tool to retrieve changes from SharePoint list change log. Use when processing webhook notifications to get actual changes that occurred. Set boolean flags in query (Add, Item, Update, etc.) to filter change types. Store the ChangeToken from the last change and use as ChangeTokenStart in subsequent calls to track only new changes.\",\n input: SharePointGetChangesInput,\n output: SharePointGetChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO;EAChB,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC1G,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC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,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iSAAiS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7V,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0KAA0K,EAC7O,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-changes.cjs","names":["z","action"],"sources":["../../src/actions/get-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetChangesInput = z.object({\n query: z.object({\n Add: z.boolean().describe(\"Include changes for added objects (new items, files, folders, etc.)\").optional(),\n Web: z.boolean().describe(\"Include changes for webs (subsites)\").optional(),\n File: z.boolean().describe(\"Include changes for files\").optional(),\n Item: z.boolean().describe(\"Include changes for list items\").optional(),\n List: z.boolean().describe(\"Include changes for lists\").optional(),\n Move: z.boolean().describe(\"Include changes for moved objects\").optional(),\n Site: z.boolean().describe(\"Include changes for sites\").optional(),\n User: z.boolean().describe(\"Include changes for users\").optional(),\n View: z.boolean().describe(\"Include changes for views\").optional(),\n Alert: z.boolean().describe(\"Include changes for alerts\").optional(),\n Field: z.boolean().describe(\"Include changes for fields (columns)\").optional(),\n Group: z.boolean().describe(\"Include changes for groups\").optional(),\n Folder: z.boolean().describe(\"Include changes for folders\").optional(),\n Rename: z.boolean().describe(\"Include changes for renamed objects\").optional(),\n Update: z.boolean().describe(\"Include changes for updated objects\").optional(),\n Restore: z.boolean().describe(\"Include changes for restored objects (from recycle bin or backup)\").optional(),\n FetchLimit: z.number().int().describe(\"Maximum number of changes to return. Default is no limit.\").optional(),\n Navigation: z.boolean().describe(\"Include changes for navigation structure\").optional(),\n __metadata: z.record(z.string(), z.unknown()).default({\"type\":\"SP.ChangeQuery\"}).describe(\"Metadata type for SharePoint ChangeQuery object\").optional(),\n ContentType: z.boolean().describe(\"Include changes for content types\").optional(),\n LatestFirst: z.boolean().describe(\"Return changes in reverse chronological order (newest first)\").optional(),\n DeleteObject: z.boolean().describe(\"Include changes for deleted objects\").optional(),\n RecursiveAll: z.boolean().describe(\"Include changes for all items in folders recursively\").optional(),\n SystemUpdate: z.boolean().describe(\"Include changes made via SystemUpdate method\").optional(),\n ChangeTokenEnd: z.string().describe(\"Change token at which to stop retrieving changes\").optional(),\n SecurityPolicy: z.boolean().describe(\"Include changes for security policies\").optional(),\n ChangeTokenStart: z.string().describe(\"Change token from which to start retrieving changes. Use the change token from previous GetChanges call to get only new changes since last check.\").optional(),\n RoleAssignmentAdd: z.boolean().describe(\"Include changes for role assignments added (permissions granted)\").optional(),\n RoleDefinitionAdd: z.boolean().describe(\"Include changes for role definitions added\").optional(),\n GroupMembershipAdd: z.boolean().describe(\"Include changes for users added to groups\").optional(),\n RequireSecurityTrim: z.boolean().describe(\"Apply security trimming to filter changes based on current user permissions\").optional(),\n RoleAssignmentDelete: z.boolean().describe(\"Include changes for role assignments removed (permissions revoked)\").optional(),\n RoleDefinitionDelete: z.boolean().describe(\"Include changes for role definitions deleted\").optional(),\n RoleDefinitionUpdate: z.boolean().describe(\"Include changes for role definitions updated\").optional(),\n GroupMembershipDelete: z.boolean().describe(\"Include changes for users removed from groups\").optional(),\n}).describe(\"Change query parameters specifying which types of changes to retrieve. Set boolean properties to True to include specific change types (e.g., Add=True, Item=True for new items).\"),\n list_id: z.string().describe(\"GUID of the SharePoint list to get changes for, in canonical format, e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving changes from the SharePoint change log.\");\nconst SharePointGetChanges_ChangeItemSchema = z.object({\n Time: z.string().describe(\"Timestamp when the change occurred\").nullable().optional(),\n Title: z.string().describe(\"Title of the changed item\").nullable().optional(),\n WebId: z.string().describe(\"GUID of the web (subsite)\").nullable().optional(),\n Editor: z.string().describe(\"User who made the change\").nullable().optional(),\n ItemId: z.number().int().describe(\"ID of the item that changed\").nullable().optional(),\n ListId: z.string().describe(\"GUID of the list containing the changed item\").nullable().optional(),\n SiteId: z.string().describe(\"GUID of the site collection\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier of the changed object\").nullable().optional(),\n ChangeType: z.number().int().describe(\"Type of change as integer (0=NoChange, 1=Add, 2=Update, 3=DeleteObject, 4=Rename, 5=MoveAway, 6=MoveInto, 7=Restore, 8=RoleAdd, 9=RoleDelete, 10=RoleUpdate, 11=AssignmentAdd, 12=AssignmentDelete, 13=MemberAdd, 14=MemberDelete, 15=SystemUpdate, 16=Navigation, 17=ScopeAdd, 18=ScopeDelete)\").nullable().optional(),\n ChangeToken: z.string().describe(\"Change token for this change. Store this to use as ChangeTokenStart in subsequent GetChanges calls.\").nullable().optional(),\n EditorEmailHint: z.string().describe(\"Email hint for the editor\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL of the changed object\").nullable().optional(),\n}).passthrough().describe(\"A single change entry from the change log.\");\nexport const SharePointGetChangesOutput = z.object({\n changes: z.array(SharePointGetChanges_ChangeItemSchema).describe(\"Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.\"),\n}).passthrough().describe(\"Response model containing the list of changes from the change log.\");\n\nexport const sharePointGetChanges = action(\"SHARE_POINT_GET_CHANGES\", {\n slug: \"share_point-get-changes\",\n name: \"Get SharePoint List Changes\",\n description: \"Tool to retrieve changes from SharePoint list change log. Use when processing webhook notifications to get actual changes that occurred. Set boolean flags in query (Add, Item, Update, etc.) to filter change types. Store the ChangeToken from the last change and use as ChangeTokenStart in subsequent calls to track only new changes.\",\n input: SharePointGetChangesInput,\n output: SharePointGetChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO;EAChB,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC1G,KAAKA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS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CAAC,SAAS,4CAA4C;AACtE,MAAa,6BAA6BA,IAAAA,EAAE,OAAO,EACjD,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0KAA0K,EAC7O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -56,8 +56,8 @@ declare const SharePointGetChangesOutput: z.ZodObject<{
56
56
  ChangeToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  EditorEmailHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  ServerRelativeUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>;
60
- }, z.core.$strip>;
59
+ }, z.core.$loose>>;
60
+ }, z.core.$loose>;
61
61
  declare const sharePointGetChanges: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  query: {
63
63
  Add?: boolean | undefined;
@@ -98,7 +98,19 @@ declare const sharePointGetChanges: import("@keystrokehq/action").WorkflowAction
98
98
  };
99
99
  list_id: string;
100
100
  site_name?: string | undefined;
101
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
101
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
102
+ connectionId: z.ZodString;
103
+ entityId: z.ZodString;
104
+ instanceId: z.ZodString;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ accessToken: z.ZodString;
107
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
108
+ connectionId: z.ZodString;
109
+ entityId: z.ZodString;
110
+ instanceId: z.ZodString;
111
+ }, z.core.$strip>, z.ZodObject<{
112
+ accessToken: z.ZodString;
113
+ }, z.core.$strip>>]>;
102
114
  //#endregion
103
115
  export { sharePointGetChanges };
104
116
  //# sourceMappingURL=get-changes.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-changes.d.cts","names":[],"sources":["../../src/actions/get-changes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;;;;;;;;;iBAM/B,MAAA"}
1
+ {"version":3,"file":"get-changes.d.cts","names":[],"sources":["../../src/actions/get-changes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -56,8 +56,8 @@ declare const SharePointGetChangesOutput: z.ZodObject<{
56
56
  ChangeToken: z.ZodOptional<z.ZodNullable<z.ZodString>>;
57
57
  EditorEmailHint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
58
58
  ServerRelativeUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
59
- }, z.core.$strip>>;
60
- }, z.core.$strip>;
59
+ }, z.core.$loose>>;
60
+ }, z.core.$loose>;
61
61
  declare const sharePointGetChanges: import("@keystrokehq/action").WorkflowActionDefinition<{
62
62
  query: {
63
63
  Add?: boolean | undefined;
@@ -98,7 +98,19 @@ declare const sharePointGetChanges: import("@keystrokehq/action").WorkflowAction
98
98
  };
99
99
  list_id: string;
100
100
  site_name?: string | undefined;
101
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
101
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
102
+ connectionId: z.ZodString;
103
+ entityId: z.ZodString;
104
+ instanceId: z.ZodString;
105
+ }, z.core.$strip>, z.ZodObject<{
106
+ accessToken: z.ZodString;
107
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
108
+ connectionId: z.ZodString;
109
+ entityId: z.ZodString;
110
+ instanceId: z.ZodString;
111
+ }, z.core.$strip>, z.ZodObject<{
112
+ accessToken: z.ZodString;
113
+ }, z.core.$strip>>]>;
102
114
  //#endregion
103
115
  export { sharePointGetChanges };
104
116
  //# sourceMappingURL=get-changes.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-changes.d.mts","names":[],"sources":["../../src/actions/get-changes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA;;;;;;;;;;;;;;;;;;;;iBAM/B,MAAA"}
1
+ {"version":3,"file":"get-changes.d.mts","names":[],"sources":["../../src/actions/get-changes.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAuDzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAI1B,oBAAA,gCAAoB,wBAAA"}
@@ -55,13 +55,13 @@ const SharePointGetChanges_ChangeItemSchema = z.object({
55
55
  ChangeToken: z.string().describe("Change token for this change. Store this to use as ChangeTokenStart in subsequent GetChanges calls.").nullable().optional(),
56
56
  EditorEmailHint: z.string().describe("Email hint for the editor").nullable().optional(),
57
57
  ServerRelativeUrl: z.string().describe("Server-relative URL of the changed object").nullable().optional()
58
- }).describe("A single change entry from the change log.");
58
+ }).passthrough().describe("A single change entry from the change log.");
59
59
  const sharePointGetChanges = action("SHARE_POINT_GET_CHANGES", {
60
60
  slug: "share_point-get-changes",
61
61
  name: "Get SharePoint List Changes",
62
62
  description: "Tool to retrieve changes from SharePoint list change log. Use when processing webhook notifications to get actual changes that occurred. Set boolean flags in query (Add, Item, Update, etc.) to filter change types. Store the ChangeToken from the last change and use as ChangeTokenStart in subsequent calls to track only new changes.",
63
63
  input: SharePointGetChangesInput,
64
- output: z.object({ changes: z.array(SharePointGetChanges_ChangeItemSchema).describe("Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.") }).describe("Response model containing the list of changes from the change log.")
64
+ output: z.object({ changes: z.array(SharePointGetChanges_ChangeItemSchema).describe("Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.") }).passthrough().describe("Response model containing the list of changes from the change log.")
65
65
  });
66
66
  //#endregion
67
67
  export { sharePointGetChanges };
@@ -1 +1 @@
1
- {"version":3,"file":"get-changes.mjs","names":[],"sources":["../../src/actions/get-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetChangesInput = z.object({\n query: z.object({\n Add: z.boolean().describe(\"Include changes for added objects (new items, files, folders, etc.)\").optional(),\n Web: z.boolean().describe(\"Include changes for webs (subsites)\").optional(),\n File: z.boolean().describe(\"Include changes for files\").optional(),\n Item: z.boolean().describe(\"Include changes for list items\").optional(),\n List: z.boolean().describe(\"Include changes for lists\").optional(),\n Move: z.boolean().describe(\"Include changes for moved objects\").optional(),\n Site: z.boolean().describe(\"Include changes for sites\").optional(),\n User: z.boolean().describe(\"Include changes for users\").optional(),\n View: z.boolean().describe(\"Include changes for views\").optional(),\n Alert: z.boolean().describe(\"Include changes for alerts\").optional(),\n Field: z.boolean().describe(\"Include changes for fields (columns)\").optional(),\n Group: z.boolean().describe(\"Include changes for groups\").optional(),\n Folder: z.boolean().describe(\"Include changes for folders\").optional(),\n Rename: z.boolean().describe(\"Include changes for renamed objects\").optional(),\n Update: z.boolean().describe(\"Include changes for updated objects\").optional(),\n Restore: z.boolean().describe(\"Include changes for restored objects (from recycle bin or backup)\").optional(),\n FetchLimit: z.number().int().describe(\"Maximum number of changes to return. Default is no limit.\").optional(),\n Navigation: z.boolean().describe(\"Include changes for navigation structure\").optional(),\n __metadata: z.record(z.string(), z.unknown()).default({\"type\":\"SP.ChangeQuery\"}).describe(\"Metadata type for SharePoint ChangeQuery object\").optional(),\n ContentType: z.boolean().describe(\"Include changes for content types\").optional(),\n LatestFirst: z.boolean().describe(\"Return changes in reverse chronological order (newest first)\").optional(),\n DeleteObject: z.boolean().describe(\"Include changes for deleted objects\").optional(),\n RecursiveAll: z.boolean().describe(\"Include changes for all items in folders recursively\").optional(),\n SystemUpdate: z.boolean().describe(\"Include changes made via SystemUpdate method\").optional(),\n ChangeTokenEnd: z.string().describe(\"Change token at which to stop retrieving changes\").optional(),\n SecurityPolicy: z.boolean().describe(\"Include changes for security policies\").optional(),\n ChangeTokenStart: z.string().describe(\"Change token from which to start retrieving changes. Use the change token from previous GetChanges call to get only new changes since last check.\").optional(),\n RoleAssignmentAdd: z.boolean().describe(\"Include changes for role assignments added (permissions granted)\").optional(),\n RoleDefinitionAdd: z.boolean().describe(\"Include changes for role definitions added\").optional(),\n GroupMembershipAdd: z.boolean().describe(\"Include changes for users added to groups\").optional(),\n RequireSecurityTrim: z.boolean().describe(\"Apply security trimming to filter changes based on current user permissions\").optional(),\n RoleAssignmentDelete: z.boolean().describe(\"Include changes for role assignments removed (permissions revoked)\").optional(),\n RoleDefinitionDelete: z.boolean().describe(\"Include changes for role definitions deleted\").optional(),\n RoleDefinitionUpdate: z.boolean().describe(\"Include changes for role definitions updated\").optional(),\n GroupMembershipDelete: z.boolean().describe(\"Include changes for users removed from groups\").optional(),\n}).describe(\"Change query parameters specifying which types of changes to retrieve. Set boolean properties to True to include specific change types (e.g., Add=True, Item=True for new items).\"),\n list_id: z.string().describe(\"GUID of the SharePoint list to get changes for, in canonical format, e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving changes from the SharePoint change log.\");\nconst SharePointGetChanges_ChangeItemSchema = z.object({\n Time: z.string().describe(\"Timestamp when the change occurred\").nullable().optional(),\n Title: z.string().describe(\"Title of the changed item\").nullable().optional(),\n WebId: z.string().describe(\"GUID of the web (subsite)\").nullable().optional(),\n Editor: z.string().describe(\"User who made the change\").nullable().optional(),\n ItemId: z.number().int().describe(\"ID of the item that changed\").nullable().optional(),\n ListId: z.string().describe(\"GUID of the list containing the changed item\").nullable().optional(),\n SiteId: z.string().describe(\"GUID of the site collection\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier of the changed object\").nullable().optional(),\n ChangeType: z.number().int().describe(\"Type of change as integer (0=NoChange, 1=Add, 2=Update, 3=DeleteObject, 4=Rename, 5=MoveAway, 6=MoveInto, 7=Restore, 8=RoleAdd, 9=RoleDelete, 10=RoleUpdate, 11=AssignmentAdd, 12=AssignmentDelete, 13=MemberAdd, 14=MemberDelete, 15=SystemUpdate, 16=Navigation, 17=ScopeAdd, 18=ScopeDelete)\").nullable().optional(),\n ChangeToken: z.string().describe(\"Change token for this change. Store this to use as ChangeTokenStart in subsequent GetChanges calls.\").nullable().optional(),\n EditorEmailHint: z.string().describe(\"Email hint for the editor\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL of the changed object\").nullable().optional(),\n}).describe(\"A single change entry from the change log.\");\nexport const SharePointGetChangesOutput = z.object({\n changes: z.array(SharePointGetChanges_ChangeItemSchema).describe(\"Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.\"),\n}).describe(\"Response model containing the list of changes from the change log.\");\n\nexport const sharePointGetChanges = action(\"SHARE_POINT_GET_CHANGES\", {\n slug: \"share_point-get-changes\",\n name: \"Get SharePoint List Changes\",\n description: \"Tool to retrieve changes from SharePoint list change log. Use when processing webhook notifications to get actual changes that occurred. Set boolean flags in query (Add, Item, Update, etc.) to filter change types. Store the ChangeToken from the last change and use as ChangeTokenStart in subsequent calls to track only new changes.\",\n input: SharePointGetChangesInput,\n output: SharePointGetChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO;EAChB,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC1G,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC7E,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EACnE,QAAQ,EAAE,QAAQ,CAAC,CAAC,S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AAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iSAAiS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7V,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,4CAA4C;AAKxD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0KAA0K,EAC7O,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-changes.mjs","names":[],"sources":["../../src/actions/get-changes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetChangesInput = z.object({\n query: z.object({\n Add: z.boolean().describe(\"Include changes for added objects (new items, files, folders, etc.)\").optional(),\n Web: z.boolean().describe(\"Include changes for webs (subsites)\").optional(),\n File: z.boolean().describe(\"Include changes for files\").optional(),\n Item: z.boolean().describe(\"Include changes for list items\").optional(),\n List: z.boolean().describe(\"Include changes for lists\").optional(),\n Move: z.boolean().describe(\"Include changes for moved objects\").optional(),\n Site: z.boolean().describe(\"Include changes for sites\").optional(),\n User: z.boolean().describe(\"Include changes for users\").optional(),\n View: z.boolean().describe(\"Include changes for views\").optional(),\n Alert: z.boolean().describe(\"Include changes for alerts\").optional(),\n Field: z.boolean().describe(\"Include changes for fields (columns)\").optional(),\n Group: z.boolean().describe(\"Include changes for groups\").optional(),\n Folder: z.boolean().describe(\"Include changes for folders\").optional(),\n Rename: z.boolean().describe(\"Include changes for renamed objects\").optional(),\n Update: z.boolean().describe(\"Include changes for updated objects\").optional(),\n Restore: z.boolean().describe(\"Include changes for restored objects (from recycle bin or backup)\").optional(),\n FetchLimit: z.number().int().describe(\"Maximum number of changes to return. Default is no limit.\").optional(),\n Navigation: z.boolean().describe(\"Include changes for navigation structure\").optional(),\n __metadata: z.record(z.string(), z.unknown()).default({\"type\":\"SP.ChangeQuery\"}).describe(\"Metadata type for SharePoint ChangeQuery object\").optional(),\n ContentType: z.boolean().describe(\"Include changes for content types\").optional(),\n LatestFirst: z.boolean().describe(\"Return changes in reverse chronological order (newest first)\").optional(),\n DeleteObject: z.boolean().describe(\"Include changes for deleted objects\").optional(),\n RecursiveAll: z.boolean().describe(\"Include changes for all items in folders recursively\").optional(),\n SystemUpdate: z.boolean().describe(\"Include changes made via SystemUpdate method\").optional(),\n ChangeTokenEnd: z.string().describe(\"Change token at which to stop retrieving changes\").optional(),\n SecurityPolicy: z.boolean().describe(\"Include changes for security policies\").optional(),\n ChangeTokenStart: z.string().describe(\"Change token from which to start retrieving changes. Use the change token from previous GetChanges call to get only new changes since last check.\").optional(),\n RoleAssignmentAdd: z.boolean().describe(\"Include changes for role assignments added (permissions granted)\").optional(),\n RoleDefinitionAdd: z.boolean().describe(\"Include changes for role definitions added\").optional(),\n GroupMembershipAdd: z.boolean().describe(\"Include changes for users added to groups\").optional(),\n RequireSecurityTrim: z.boolean().describe(\"Apply security trimming to filter changes based on current user permissions\").optional(),\n RoleAssignmentDelete: z.boolean().describe(\"Include changes for role assignments removed (permissions revoked)\").optional(),\n RoleDefinitionDelete: z.boolean().describe(\"Include changes for role definitions deleted\").optional(),\n RoleDefinitionUpdate: z.boolean().describe(\"Include changes for role definitions updated\").optional(),\n GroupMembershipDelete: z.boolean().describe(\"Include changes for users removed from groups\").optional(),\n}).describe(\"Change query parameters specifying which types of changes to retrieve. Set boolean properties to True to include specific change types (e.g., Add=True, Item=True for new items).\"),\n list_id: z.string().describe(\"GUID of the SharePoint list to get changes for, in canonical format, e.g., 'a12e3d6e-9414-462d-bd53-cf06f3982ad3'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n}).describe(\"Request model for retrieving changes from the SharePoint change log.\");\nconst SharePointGetChanges_ChangeItemSchema = z.object({\n Time: z.string().describe(\"Timestamp when the change occurred\").nullable().optional(),\n Title: z.string().describe(\"Title of the changed item\").nullable().optional(),\n WebId: z.string().describe(\"GUID of the web (subsite)\").nullable().optional(),\n Editor: z.string().describe(\"User who made the change\").nullable().optional(),\n ItemId: z.number().int().describe(\"ID of the item that changed\").nullable().optional(),\n ListId: z.string().describe(\"GUID of the list containing the changed item\").nullable().optional(),\n SiteId: z.string().describe(\"GUID of the site collection\").nullable().optional(),\n UniqueId: z.string().describe(\"Unique identifier of the changed object\").nullable().optional(),\n ChangeType: z.number().int().describe(\"Type of change as integer (0=NoChange, 1=Add, 2=Update, 3=DeleteObject, 4=Rename, 5=MoveAway, 6=MoveInto, 7=Restore, 8=RoleAdd, 9=RoleDelete, 10=RoleUpdate, 11=AssignmentAdd, 12=AssignmentDelete, 13=MemberAdd, 14=MemberDelete, 15=SystemUpdate, 16=Navigation, 17=ScopeAdd, 18=ScopeDelete)\").nullable().optional(),\n ChangeToken: z.string().describe(\"Change token for this change. Store this to use as ChangeTokenStart in subsequent GetChanges calls.\").nullable().optional(),\n EditorEmailHint: z.string().describe(\"Email hint for the editor\").nullable().optional(),\n ServerRelativeUrl: z.string().describe(\"Server-relative URL of the changed object\").nullable().optional(),\n}).passthrough().describe(\"A single change entry from the change log.\");\nexport const SharePointGetChangesOutput = z.object({\n changes: z.array(SharePointGetChanges_ChangeItemSchema).describe(\"Array of change entries. Each change includes a ChangeToken that should be stored and used as ChangeTokenStart in the next GetChanges call to retrieve only new changes.\"),\n}).passthrough().describe(\"Response model containing the list of changes from the change log.\");\n\nexport const sharePointGetChanges = action(\"SHARE_POINT_GET_CHANGES\", {\n slug: \"share_point-get-changes\",\n name: \"Get SharePoint List Changes\",\n description: \"Tool to retrieve changes from SharePoint list change log. Use when processing webhook notifications to get actual changes that occurred. Set boolean flags in query (Add, Item, Update, etc.) to filter change types. Store the ChangeToken from the last change and use as ChangeTokenStart in subsequent calls to track only new changes.\",\n input: SharePointGetChangesInput,\n output: SharePointGetChangesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO;EAChB,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;EAC1G,KAAK,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACtE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACzE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,MAAM,EAAE,QAAQ,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;EACjE,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA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SAAS,CAAC,CAAC,SAAS;CAC5E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iSAAiS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7V,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5J,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAKtE,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,0KAA0K,EAC7O,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SharePointGetContentTypeInput = zod.z.object({
5
5
  site_name: zod.z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.").optional(),
6
6
  content_type_id: zod.z.string().describe("The unique identifier of the content type to retrieve. This can be the hexadecimal content type ID (e.g., '0x01' for Item, '0x0101' for Document) or the string representation. Common IDs: '0x01' (Item), '0x0101' (Document), '0x0120' (Folder).")
7
7
  }).describe("Request model for retrieving a single SharePoint content type by ID.");
8
- const SharePointGetContentType_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID.").nullable() }).describe("Model for the content type ID object.");
8
+ const SharePointGetContentType_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID.").nullable() }).passthrough().describe("Model for the content type ID object.");
9
9
  const SharePointGetContentTypeOutput = zod.z.object({
10
10
  Id: SharePointGetContentType_ContentTypeIdSchema.nullable(),
11
11
  Name: zod.z.string().describe("Name of the content type (e.g., 'Item', 'Document', 'Folder', 'Task').").nullable(),
@@ -29,7 +29,7 @@ const SharePointGetContentTypeOutput = zod.z.object({
29
29
  EditFormTemplateName: zod.z.string().describe("Name of the edit form template used by this content type.").nullable().optional(),
30
30
  MobileDisplayFormUrl: zod.z.string().describe("Server-relative URL of the mobile display form.").nullable().optional(),
31
31
  DisplayFormTemplateName: zod.z.string().describe("Name of the display form template used by this content type.").nullable().optional()
32
- }).describe("Response model containing a single SharePoint content type.");
32
+ }).passthrough().describe("Response model containing a single SharePoint content type.");
33
33
  const sharePointGetContentType = require_action.action("SHARE_POINT_GET_CONTENT_TYPE", {
34
34
  slug: "share_point-get-content-type",
35
35
  name: "Get Content Type",