@keystrokehq/share_point 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) 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 +1 -1
  5. package/dist/actions/add-attachment-to-list-item.d.mts +1 -1
  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 +2 -2
  11. package/dist/actions/add-field-link-to-content-type.d.mts +2 -2
  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 +1 -1
  17. package/dist/actions/add-role-assignment-to-item.d.mts +1 -1
  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 +1 -1
  23. package/dist/actions/add-role-assignment-to-list.d.mts +1 -1
  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 +1 -1
  29. package/dist/actions/break-role-inheritance-on-item.d.mts +1 -1
  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 +1 -1
  35. package/dist/actions/break-role-inheritance-on-list.d.mts +1 -1
  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 +1 -1
  41. package/dist/actions/check-in-file.d.mts +1 -1
  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 +2 -2
  47. package/dist/actions/create-content-type.d.mts +2 -2
  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 +3 -3
  53. package/dist/actions/create-drive-item-sharing-link.d.mts +3 -3
  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 +1 -1
  59. package/dist/actions/create-list-field.d.mts +1 -1
  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 +3 -3
  65. package/dist/actions/create-list-item-by-id.d.mts +3 -3
  66. package/dist/actions/create-list-item-by-id.mjs +2 -2
  67. package/dist/actions/create-list-item-by-id.mjs.map +1 -1
  68. package/dist/actions/create-list-item-in-folder.cjs +3 -3
  69. package/dist/actions/create-list-item-in-folder.cjs.map +1 -1
  70. package/dist/actions/create-list-item-in-folder.d.cts +4 -3
  71. package/dist/actions/create-list-item-in-folder.d.mts +4 -3
  72. package/dist/actions/create-list-item-in-folder.mjs +3 -3
  73. package/dist/actions/create-list-item-in-folder.mjs.map +1 -1
  74. package/dist/actions/create-web.cjs +1 -1
  75. package/dist/actions/create-web.cjs.map +1 -1
  76. package/dist/actions/create-web.d.cts +1 -1
  77. package/dist/actions/create-web.d.mts +1 -1
  78. package/dist/actions/create-web.mjs +1 -1
  79. package/dist/actions/create-web.mjs.map +1 -1
  80. package/dist/actions/delete-drive-item-version-content.cjs +1 -1
  81. package/dist/actions/delete-drive-item-version-content.cjs.map +1 -1
  82. package/dist/actions/delete-drive-item-version-content.d.cts +1 -1
  83. package/dist/actions/delete-drive-item-version-content.d.mts +1 -1
  84. package/dist/actions/delete-drive-item-version-content.mjs +1 -1
  85. package/dist/actions/delete-drive-item-version-content.mjs.map +1 -1
  86. package/dist/actions/delete-file-item.cjs +1 -1
  87. package/dist/actions/delete-file-item.cjs.map +1 -1
  88. package/dist/actions/delete-file-item.d.cts +1 -1
  89. package/dist/actions/delete-file-item.d.mts +1 -1
  90. package/dist/actions/delete-file-item.mjs +1 -1
  91. package/dist/actions/delete-file-item.mjs.map +1 -1
  92. package/dist/actions/delete-folder.cjs +1 -1
  93. package/dist/actions/delete-folder.cjs.map +1 -1
  94. package/dist/actions/delete-folder.d.cts +1 -1
  95. package/dist/actions/delete-folder.d.mts +1 -1
  96. package/dist/actions/delete-folder.mjs +1 -1
  97. package/dist/actions/delete-folder.mjs.map +1 -1
  98. package/dist/actions/delete-list-by-title.cjs +1 -1
  99. package/dist/actions/delete-list-by-title.cjs.map +1 -1
  100. package/dist/actions/delete-list-by-title.d.cts +1 -1
  101. package/dist/actions/delete-list-by-title.d.mts +1 -1
  102. package/dist/actions/delete-list-by-title.mjs +1 -1
  103. package/dist/actions/delete-list-by-title.mjs.map +1 -1
  104. package/dist/actions/delete-list-item.cjs +1 -1
  105. package/dist/actions/delete-list-item.cjs.map +1 -1
  106. package/dist/actions/delete-list-item.d.cts +1 -1
  107. package/dist/actions/delete-list-item.d.mts +1 -1
  108. package/dist/actions/delete-list-item.mjs +1 -1
  109. package/dist/actions/delete-list-item.mjs.map +1 -1
  110. package/dist/actions/delete-list-items.cjs +2 -2
  111. package/dist/actions/delete-list-items.cjs.map +1 -1
  112. package/dist/actions/delete-list-items.d.cts +2 -2
  113. package/dist/actions/delete-list-items.d.mts +2 -2
  114. package/dist/actions/delete-list-items.mjs +2 -2
  115. package/dist/actions/delete-list-items.mjs.map +1 -1
  116. package/dist/actions/delete-list.cjs +1 -1
  117. package/dist/actions/delete-list.cjs.map +1 -1
  118. package/dist/actions/delete-list.d.cts +1 -1
  119. package/dist/actions/delete-list.d.mts +1 -1
  120. package/dist/actions/delete-list.mjs +1 -1
  121. package/dist/actions/delete-list.mjs.map +1 -1
  122. package/dist/actions/delete-recycle-bin-item-permanent.cjs +1 -1
  123. package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -1
  124. package/dist/actions/delete-recycle-bin-item-permanent.d.cts +1 -1
  125. package/dist/actions/delete-recycle-bin-item-permanent.d.mts +1 -1
  126. package/dist/actions/delete-recycle-bin-item-permanent.mjs +1 -1
  127. package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -1
  128. package/dist/actions/download-file-by-server-relative-url.cjs +2 -2
  129. package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -1
  130. package/dist/actions/download-file-by-server-relative-url.d.cts +2 -2
  131. package/dist/actions/download-file-by-server-relative-url.d.mts +2 -2
  132. package/dist/actions/download-file-by-server-relative-url.mjs +2 -2
  133. package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -1
  134. package/dist/actions/ensure-user.cjs +4 -4
  135. package/dist/actions/ensure-user.cjs.map +1 -1
  136. package/dist/actions/ensure-user.d.cts +4 -4
  137. package/dist/actions/ensure-user.d.mts +4 -4
  138. package/dist/actions/ensure-user.mjs +4 -4
  139. package/dist/actions/ensure-user.mjs.map +1 -1
  140. package/dist/actions/follow.cjs +1 -1
  141. package/dist/actions/follow.cjs.map +1 -1
  142. package/dist/actions/follow.d.cts +1 -1
  143. package/dist/actions/follow.d.mts +1 -1
  144. package/dist/actions/follow.mjs +1 -1
  145. package/dist/actions/follow.mjs.map +1 -1
  146. package/dist/actions/get-all-folders.cjs +1 -1
  147. package/dist/actions/get-all-folders.cjs.map +1 -1
  148. package/dist/actions/get-all-folders.d.cts +1 -1
  149. package/dist/actions/get-all-folders.d.mts +1 -1
  150. package/dist/actions/get-all-folders.mjs +1 -1
  151. package/dist/actions/get-all-folders.mjs.map +1 -1
  152. package/dist/actions/get-changes.cjs +2 -2
  153. package/dist/actions/get-changes.cjs.map +1 -1
  154. package/dist/actions/get-changes.d.cts +2 -2
  155. package/dist/actions/get-changes.d.mts +2 -2
  156. package/dist/actions/get-changes.mjs +2 -2
  157. package/dist/actions/get-changes.mjs.map +1 -1
  158. package/dist/actions/get-content-type.cjs +2 -2
  159. package/dist/actions/get-content-type.cjs.map +1 -1
  160. package/dist/actions/get-content-type.d.cts +2 -2
  161. package/dist/actions/get-content-type.d.mts +2 -2
  162. package/dist/actions/get-content-type.mjs +2 -2
  163. package/dist/actions/get-content-type.mjs.map +1 -1
  164. package/dist/actions/get-content-types-for-list.cjs +3 -3
  165. package/dist/actions/get-content-types-for-list.cjs.map +1 -1
  166. package/dist/actions/get-content-types-for-list.d.cts +3 -3
  167. package/dist/actions/get-content-types-for-list.d.mts +3 -3
  168. package/dist/actions/get-content-types-for-list.mjs +3 -3
  169. package/dist/actions/get-content-types-for-list.mjs.map +1 -1
  170. package/dist/actions/get-content-types.cjs +3 -3
  171. package/dist/actions/get-content-types.cjs.map +1 -1
  172. package/dist/actions/get-content-types.d.cts +3 -3
  173. package/dist/actions/get-content-types.d.mts +3 -3
  174. package/dist/actions/get-content-types.mjs +3 -3
  175. package/dist/actions/get-content-types.mjs.map +1 -1
  176. package/dist/actions/get-context-info.cjs +2 -2
  177. package/dist/actions/get-context-info.cjs.map +1 -1
  178. package/dist/actions/get-context-info.d.cts +2 -2
  179. package/dist/actions/get-context-info.d.mts +2 -2
  180. package/dist/actions/get-context-info.mjs +2 -2
  181. package/dist/actions/get-context-info.mjs.map +1 -1
  182. package/dist/actions/get-current-user.cjs +4 -4
  183. package/dist/actions/get-current-user.cjs.map +1 -1
  184. package/dist/actions/get-current-user.d.cts +6 -6
  185. package/dist/actions/get-current-user.d.mts +6 -6
  186. package/dist/actions/get-current-user.mjs +4 -4
  187. package/dist/actions/get-current-user.mjs.map +1 -1
  188. package/dist/actions/get-drive-item-analytics.cjs +2 -2
  189. package/dist/actions/get-drive-item-analytics.cjs.map +1 -1
  190. package/dist/actions/get-drive-item-analytics.d.cts +6 -6
  191. package/dist/actions/get-drive-item-analytics.d.mts +6 -6
  192. package/dist/actions/get-drive-item-analytics.mjs +2 -2
  193. package/dist/actions/get-drive-item-analytics.mjs.map +1 -1
  194. package/dist/actions/get-group-users-by-id.cjs +2 -2
  195. package/dist/actions/get-group-users-by-id.cjs.map +1 -1
  196. package/dist/actions/get-group-users-by-id.d.cts +2 -2
  197. package/dist/actions/get-group-users-by-id.d.mts +2 -2
  198. package/dist/actions/get-group-users-by-id.mjs +2 -2
  199. package/dist/actions/get-group-users-by-id.mjs.map +1 -1
  200. package/dist/actions/get-group-users.cjs +2 -2
  201. package/dist/actions/get-group-users.cjs.map +1 -1
  202. package/dist/actions/get-group-users.d.cts +2 -2
  203. package/dist/actions/get-group-users.d.mts +2 -2
  204. package/dist/actions/get-group-users.mjs +2 -2
  205. package/dist/actions/get-group-users.mjs.map +1 -1
  206. package/dist/actions/get-item-attachment-content.cjs +2 -2
  207. package/dist/actions/get-item-attachment-content.cjs.map +1 -1
  208. package/dist/actions/get-item-attachment-content.d.cts +2 -2
  209. package/dist/actions/get-item-attachment-content.d.mts +2 -2
  210. package/dist/actions/get-item-attachment-content.mjs +2 -2
  211. package/dist/actions/get-item-attachment-content.mjs.map +1 -1
  212. package/dist/actions/get-list-content-type-by-id.cjs +3 -3
  213. package/dist/actions/get-list-content-type-by-id.cjs.map +1 -1
  214. package/dist/actions/get-list-content-type-by-id.d.cts +3 -3
  215. package/dist/actions/get-list-content-type-by-id.d.mts +3 -3
  216. package/dist/actions/get-list-content-type-by-id.mjs +3 -3
  217. package/dist/actions/get-list-content-type-by-id.mjs.map +1 -1
  218. package/dist/actions/get-list-items-by-guid.cjs +1 -1
  219. package/dist/actions/get-list-items-by-guid.cjs.map +1 -1
  220. package/dist/actions/get-list-items-by-guid.d.cts +1 -1
  221. package/dist/actions/get-list-items-by-guid.d.mts +1 -1
  222. package/dist/actions/get-list-items-by-guid.mjs +1 -1
  223. package/dist/actions/get-list-items-by-guid.mjs.map +1 -1
  224. package/dist/actions/get-list-items.cjs +3 -3
  225. package/dist/actions/get-list-items.cjs.map +1 -1
  226. package/dist/actions/get-list-items.d.cts +22 -22
  227. package/dist/actions/get-list-items.d.mts +22 -22
  228. package/dist/actions/get-list-items.mjs +3 -3
  229. package/dist/actions/get-list-items.mjs.map +1 -1
  230. package/dist/actions/get-my-followed.cjs +2 -2
  231. package/dist/actions/get-my-followed.cjs.map +1 -1
  232. package/dist/actions/get-my-followed.d.cts +2 -2
  233. package/dist/actions/get-my-followed.d.mts +2 -2
  234. package/dist/actions/get-my-followed.mjs +2 -2
  235. package/dist/actions/get-my-followed.mjs.map +1 -1
  236. package/dist/actions/get-my-followers.cjs +2 -2
  237. package/dist/actions/get-my-followers.cjs.map +1 -1
  238. package/dist/actions/get-my-followers.d.cts +2 -2
  239. package/dist/actions/get-my-followers.d.mts +2 -2
  240. package/dist/actions/get-my-followers.mjs +2 -2
  241. package/dist/actions/get-my-followers.mjs.map +1 -1
  242. package/dist/actions/get-role-definitions.cjs +3 -3
  243. package/dist/actions/get-role-definitions.cjs.map +1 -1
  244. package/dist/actions/get-role-definitions.d.cts +3 -3
  245. package/dist/actions/get-role-definitions.d.mts +3 -3
  246. package/dist/actions/get-role-definitions.mjs +3 -3
  247. package/dist/actions/get-role-definitions.mjs.map +1 -1
  248. package/dist/actions/get-site-by-id.cjs +1 -1
  249. package/dist/actions/get-site-by-id.cjs.map +1 -1
  250. package/dist/actions/get-site-by-id.d.cts +7 -7
  251. package/dist/actions/get-site-by-id.d.mts +7 -7
  252. package/dist/actions/get-site-by-id.mjs +1 -1
  253. package/dist/actions/get-site-by-id.mjs.map +1 -1
  254. package/dist/actions/get-site-collection-info.cjs +1 -1
  255. package/dist/actions/get-site-collection-info.cjs.map +1 -1
  256. package/dist/actions/get-site-collection-info.d.cts +2 -2
  257. package/dist/actions/get-site-collection-info.d.mts +2 -2
  258. package/dist/actions/get-site-collection-info.mjs +1 -1
  259. package/dist/actions/get-site-collection-info.mjs.map +1 -1
  260. package/dist/actions/get-site-drive-item-by-path.cjs +4 -4
  261. package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -1
  262. package/dist/actions/get-site-drive-item-by-path.d.cts +26 -26
  263. package/dist/actions/get-site-drive-item-by-path.d.mts +26 -26
  264. package/dist/actions/get-site-drive-item-by-path.mjs +4 -4
  265. package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -1
  266. package/dist/actions/get-site-root.cjs +1 -1
  267. package/dist/actions/get-site-root.cjs.map +1 -1
  268. package/dist/actions/get-site-root.d.cts +7 -7
  269. package/dist/actions/get-site-root.d.mts +7 -7
  270. package/dist/actions/get-site-root.mjs +1 -1
  271. package/dist/actions/get-site-root.mjs.map +1 -1
  272. package/dist/actions/get-user-effective-permissions-on-web.cjs +1 -1
  273. package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -1
  274. package/dist/actions/get-user-effective-permissions-on-web.d.cts +1 -1
  275. package/dist/actions/get-user-effective-permissions-on-web.d.mts +1 -1
  276. package/dist/actions/get-user-effective-permissions-on-web.mjs +1 -1
  277. package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -1
  278. package/dist/actions/get-web-info.cjs +1 -1
  279. package/dist/actions/get-web-info.cjs.map +1 -1
  280. package/dist/actions/get-web-info.d.cts +7 -7
  281. package/dist/actions/get-web-info.d.mts +7 -7
  282. package/dist/actions/get-web-info.mjs +1 -1
  283. package/dist/actions/get-web-info.mjs.map +1 -1
  284. package/dist/actions/get-webhook-subscription.cjs +1 -1
  285. package/dist/actions/get-webhook-subscription.cjs.map +1 -1
  286. package/dist/actions/get-webhook-subscription.d.cts +1 -1
  287. package/dist/actions/get-webhook-subscription.d.mts +1 -1
  288. package/dist/actions/get-webhook-subscription.mjs +1 -1
  289. package/dist/actions/get-webhook-subscription.mjs.map +1 -1
  290. package/dist/actions/get-webhook-subscriptions.cjs +2 -2
  291. package/dist/actions/get-webhook-subscriptions.cjs.map +1 -1
  292. package/dist/actions/get-webhook-subscriptions.d.cts +2 -2
  293. package/dist/actions/get-webhook-subscriptions.d.mts +2 -2
  294. package/dist/actions/get-webhook-subscriptions.mjs +2 -2
  295. package/dist/actions/get-webhook-subscriptions.mjs.map +1 -1
  296. package/dist/actions/is-followed.cjs +1 -1
  297. package/dist/actions/is-followed.cjs.map +1 -1
  298. package/dist/actions/is-followed.d.cts +1 -1
  299. package/dist/actions/is-followed.d.mts +1 -1
  300. package/dist/actions/is-followed.mjs +1 -1
  301. package/dist/actions/is-followed.mjs.map +1 -1
  302. package/dist/actions/list-all-lists.cjs +1 -1
  303. package/dist/actions/list-all-lists.cjs.map +1 -1
  304. package/dist/actions/list-all-lists.d.cts +1 -1
  305. package/dist/actions/list-all-lists.d.mts +1 -1
  306. package/dist/actions/list-all-lists.mjs +1 -1
  307. package/dist/actions/list-all-lists.mjs.map +1 -1
  308. package/dist/actions/list-drive-children.cjs +1 -1
  309. package/dist/actions/list-drive-children.cjs.map +1 -1
  310. package/dist/actions/list-drive-children.d.cts +1 -1
  311. package/dist/actions/list-drive-children.d.mts +1 -1
  312. package/dist/actions/list-drive-children.mjs +1 -1
  313. package/dist/actions/list-drive-children.mjs.map +1 -1
  314. package/dist/actions/list-drive-recent-items.cjs +1 -1
  315. package/dist/actions/list-drive-recent-items.cjs.map +1 -1
  316. package/dist/actions/list-drive-recent-items.d.cts +2 -2
  317. package/dist/actions/list-drive-recent-items.d.mts +2 -2
  318. package/dist/actions/list-drive-recent-items.mjs +1 -1
  319. package/dist/actions/list-drive-recent-items.mjs.map +1 -1
  320. package/dist/actions/list-files-in-folder.cjs +1 -1
  321. package/dist/actions/list-files-in-folder.cjs.map +1 -1
  322. package/dist/actions/list-files-in-folder.d.cts +1 -1
  323. package/dist/actions/list-files-in-folder.d.mts +1 -1
  324. package/dist/actions/list-files-in-folder.mjs +1 -1
  325. package/dist/actions/list-files-in-folder.mjs.map +1 -1
  326. package/dist/actions/list-item-attachments.cjs +2 -2
  327. package/dist/actions/list-item-attachments.cjs.map +1 -1
  328. package/dist/actions/list-item-attachments.d.cts +2 -2
  329. package/dist/actions/list-item-attachments.d.mts +2 -2
  330. package/dist/actions/list-item-attachments.mjs +2 -2
  331. package/dist/actions/list-item-attachments.mjs.map +1 -1
  332. package/dist/actions/list-list-columns.cjs +1 -1
  333. package/dist/actions/list-list-columns.cjs.map +1 -1
  334. package/dist/actions/list-list-columns.d.cts +1 -1
  335. package/dist/actions/list-list-columns.d.mts +1 -1
  336. package/dist/actions/list-list-columns.mjs +1 -1
  337. package/dist/actions/list-list-columns.mjs.map +1 -1
  338. package/dist/actions/list-recycle-bin-items.cjs +2 -2
  339. package/dist/actions/list-recycle-bin-items.cjs.map +1 -1
  340. package/dist/actions/list-recycle-bin-items.d.cts +2 -2
  341. package/dist/actions/list-recycle-bin-items.d.mts +2 -2
  342. package/dist/actions/list-recycle-bin-items.mjs +2 -2
  343. package/dist/actions/list-recycle-bin-items.mjs.map +1 -1
  344. package/dist/actions/list-site-groups.cjs +5 -5
  345. package/dist/actions/list-site-groups.cjs.map +1 -1
  346. package/dist/actions/list-site-groups.d.cts +8 -8
  347. package/dist/actions/list-site-groups.d.mts +8 -8
  348. package/dist/actions/list-site-groups.mjs +5 -5
  349. package/dist/actions/list-site-groups.mjs.map +1 -1
  350. package/dist/actions/list-site-users.cjs +8 -8
  351. package/dist/actions/list-site-users.cjs.map +1 -1
  352. package/dist/actions/list-site-users.d.cts +11 -11
  353. package/dist/actions/list-site-users.d.mts +11 -11
  354. package/dist/actions/list-site-users.mjs +8 -8
  355. package/dist/actions/list-site-users.mjs.map +1 -1
  356. package/dist/actions/list-subfolders-in-folder.cjs +1 -1
  357. package/dist/actions/list-subfolders-in-folder.cjs.map +1 -1
  358. package/dist/actions/list-subfolders-in-folder.d.cts +1 -1
  359. package/dist/actions/list-subfolders-in-folder.d.mts +1 -1
  360. package/dist/actions/list-subfolders-in-folder.mjs +1 -1
  361. package/dist/actions/list-subfolders-in-folder.mjs.map +1 -1
  362. package/dist/actions/log-event.cjs +1 -1
  363. package/dist/actions/log-event.cjs.map +1 -1
  364. package/dist/actions/log-event.d.cts +1 -1
  365. package/dist/actions/log-event.d.mts +1 -1
  366. package/dist/actions/log-event.mjs +1 -1
  367. package/dist/actions/log-event.mjs.map +1 -1
  368. package/dist/actions/recycle-file.cjs +1 -1
  369. package/dist/actions/recycle-file.cjs.map +1 -1
  370. package/dist/actions/recycle-file.d.cts +1 -1
  371. package/dist/actions/recycle-file.d.mts +1 -1
  372. package/dist/actions/recycle-file.mjs +1 -1
  373. package/dist/actions/recycle-file.mjs.map +1 -1
  374. package/dist/actions/recycle-list-item.cjs +1 -1
  375. package/dist/actions/recycle-list-item.cjs.map +1 -1
  376. package/dist/actions/recycle-list-item.d.cts +1 -1
  377. package/dist/actions/recycle-list-item.d.mts +1 -1
  378. package/dist/actions/recycle-list-item.mjs +1 -1
  379. package/dist/actions/recycle-list-item.mjs.map +1 -1
  380. package/dist/actions/rename-folder.cjs +1 -1
  381. package/dist/actions/rename-folder.cjs.map +1 -1
  382. package/dist/actions/rename-folder.d.cts +1 -1
  383. package/dist/actions/rename-folder.d.mts +1 -1
  384. package/dist/actions/rename-folder.mjs +1 -1
  385. package/dist/actions/rename-folder.mjs.map +1 -1
  386. package/dist/actions/render-list-data-as-stream.cjs +2 -2
  387. package/dist/actions/render-list-data-as-stream.cjs.map +1 -1
  388. package/dist/actions/render-list-data-as-stream.d.cts +3 -3
  389. package/dist/actions/render-list-data-as-stream.d.mts +3 -3
  390. package/dist/actions/render-list-data-as-stream.mjs +2 -2
  391. package/dist/actions/render-list-data-as-stream.mjs.map +1 -1
  392. package/dist/actions/restore-drive-item-version.cjs +1 -1
  393. package/dist/actions/restore-drive-item-version.cjs.map +1 -1
  394. package/dist/actions/restore-drive-item-version.d.cts +1 -1
  395. package/dist/actions/restore-drive-item-version.d.mts +1 -1
  396. package/dist/actions/restore-drive-item-version.mjs +1 -1
  397. package/dist/actions/restore-drive-item-version.mjs.map +1 -1
  398. package/dist/actions/restore-recycle-bin-item.cjs +1 -1
  399. package/dist/actions/restore-recycle-bin-item.cjs.map +1 -1
  400. package/dist/actions/restore-recycle-bin-item.d.cts +1 -1
  401. package/dist/actions/restore-recycle-bin-item.d.mts +1 -1
  402. package/dist/actions/restore-recycle-bin-item.mjs +1 -1
  403. package/dist/actions/restore-recycle-bin-item.mjs.map +1 -1
  404. package/dist/actions/search-files.cjs +14 -14
  405. package/dist/actions/search-files.cjs.map +1 -1
  406. package/dist/actions/search-files.d.cts +17 -17
  407. package/dist/actions/search-files.d.mts +17 -17
  408. package/dist/actions/search-files.mjs +14 -14
  409. package/dist/actions/search-files.mjs.map +1 -1
  410. package/dist/actions/search-query.cjs +10 -10
  411. package/dist/actions/search-query.cjs.map +1 -1
  412. package/dist/actions/search-query.d.cts +12 -12
  413. package/dist/actions/search-query.d.mts +12 -12
  414. package/dist/actions/search-query.mjs +10 -10
  415. package/dist/actions/search-query.mjs.map +1 -1
  416. package/dist/actions/search-suggest.cjs +1 -1
  417. package/dist/actions/search-suggest.cjs.map +1 -1
  418. package/dist/actions/search-suggest.d.cts +1 -1
  419. package/dist/actions/search-suggest.d.mts +1 -1
  420. package/dist/actions/search-suggest.mjs +1 -1
  421. package/dist/actions/search-suggest.mjs.map +1 -1
  422. package/dist/actions/sharepoint-check-out-file.cjs +1 -1
  423. package/dist/actions/sharepoint-check-out-file.cjs.map +1 -1
  424. package/dist/actions/sharepoint-check-out-file.d.cts +1 -1
  425. package/dist/actions/sharepoint-check-out-file.d.mts +1 -1
  426. package/dist/actions/sharepoint-check-out-file.mjs +1 -1
  427. package/dist/actions/sharepoint-check-out-file.mjs.map +1 -1
  428. package/dist/actions/sharepoint-create-folder.cjs +1 -1
  429. package/dist/actions/sharepoint-create-folder.cjs.map +1 -1
  430. package/dist/actions/sharepoint-create-folder.d.cts +1 -1
  431. package/dist/actions/sharepoint-create-folder.d.mts +1 -1
  432. package/dist/actions/sharepoint-create-folder.mjs +1 -1
  433. package/dist/actions/sharepoint-create-folder.mjs.map +1 -1
  434. package/dist/actions/sharepoint-create-list-item.cjs +1 -1
  435. package/dist/actions/sharepoint-create-list-item.cjs.map +1 -1
  436. package/dist/actions/sharepoint-create-list-item.d.cts +1 -1
  437. package/dist/actions/sharepoint-create-list-item.d.mts +1 -1
  438. package/dist/actions/sharepoint-create-list-item.mjs +1 -1
  439. package/dist/actions/sharepoint-create-list-item.mjs.map +1 -1
  440. package/dist/actions/sharepoint-create-list.cjs +1 -1
  441. package/dist/actions/sharepoint-create-list.cjs.map +1 -1
  442. package/dist/actions/sharepoint-create-list.d.cts +1 -1
  443. package/dist/actions/sharepoint-create-list.d.mts +1 -1
  444. package/dist/actions/sharepoint-create-list.mjs +1 -1
  445. package/dist/actions/sharepoint-create-list.mjs.map +1 -1
  446. package/dist/actions/sharepoint-find-user.cjs +2 -2
  447. package/dist/actions/sharepoint-find-user.cjs.map +1 -1
  448. package/dist/actions/sharepoint-find-user.d.cts +2 -2
  449. package/dist/actions/sharepoint-find-user.d.mts +2 -2
  450. package/dist/actions/sharepoint-find-user.mjs +2 -2
  451. package/dist/actions/sharepoint-find-user.mjs.map +1 -1
  452. package/dist/actions/sharepoint-remove-user.cjs +1 -1
  453. package/dist/actions/sharepoint-remove-user.cjs.map +1 -1
  454. package/dist/actions/sharepoint-remove-user.d.cts +1 -1
  455. package/dist/actions/sharepoint-remove-user.d.mts +1 -1
  456. package/dist/actions/sharepoint-remove-user.mjs +1 -1
  457. package/dist/actions/sharepoint-remove-user.mjs.map +1 -1
  458. package/dist/actions/undo-checkout-file.cjs +1 -1
  459. package/dist/actions/undo-checkout-file.cjs.map +1 -1
  460. package/dist/actions/undo-checkout-file.d.cts +1 -1
  461. package/dist/actions/undo-checkout-file.d.mts +1 -1
  462. package/dist/actions/undo-checkout-file.mjs +1 -1
  463. package/dist/actions/undo-checkout-file.mjs.map +1 -1
  464. package/dist/actions/update-content-type.cjs +6 -6
  465. package/dist/actions/update-content-type.cjs.map +1 -1
  466. package/dist/actions/update-content-type.d.cts +10 -6
  467. package/dist/actions/update-content-type.d.mts +10 -6
  468. package/dist/actions/update-content-type.mjs +6 -6
  469. package/dist/actions/update-content-type.mjs.map +1 -1
  470. package/dist/actions/update-file-item.cjs +2 -2
  471. package/dist/actions/update-file-item.cjs.map +1 -1
  472. package/dist/actions/update-file-item.d.cts +3 -3
  473. package/dist/actions/update-file-item.d.mts +3 -3
  474. package/dist/actions/update-file-item.mjs +2 -2
  475. package/dist/actions/update-file-item.mjs.map +1 -1
  476. package/dist/actions/update-list-item.cjs +2 -2
  477. package/dist/actions/update-list-item.cjs.map +1 -1
  478. package/dist/actions/update-list-item.d.cts +3 -3
  479. package/dist/actions/update-list-item.d.mts +3 -3
  480. package/dist/actions/update-list-item.mjs +2 -2
  481. package/dist/actions/update-list-item.mjs.map +1 -1
  482. package/dist/actions/update-list.cjs +1 -1
  483. package/dist/actions/update-list.cjs.map +1 -1
  484. package/dist/actions/update-list.d.cts +1 -1
  485. package/dist/actions/update-list.d.mts +1 -1
  486. package/dist/actions/update-list.mjs +1 -1
  487. package/dist/actions/update-list.mjs.map +1 -1
  488. package/dist/actions/update-site.cjs +1 -1
  489. package/dist/actions/update-site.cjs.map +1 -1
  490. package/dist/actions/update-site.d.cts +1 -1
  491. package/dist/actions/update-site.d.mts +1 -1
  492. package/dist/actions/update-site.mjs +1 -1
  493. package/dist/actions/update-site.mjs.map +1 -1
  494. package/dist/actions/upload-file.cjs +1 -1
  495. package/dist/actions/upload-file.cjs.map +1 -1
  496. package/dist/actions/upload-file.d.cts +1 -1
  497. package/dist/actions/upload-file.d.mts +1 -1
  498. package/dist/actions/upload-file.mjs +1 -1
  499. package/dist/actions/upload-file.mjs.map +1 -1
  500. package/dist/actions/upload-from-url.cjs +2 -2
  501. package/dist/actions/upload-from-url.cjs.map +1 -1
  502. package/dist/actions/upload-from-url.d.cts +3 -3
  503. package/dist/actions/upload-from-url.d.mts +3 -3
  504. package/dist/actions/upload-from-url.mjs +2 -2
  505. package/dist/actions/upload-from-url.mjs.map +1 -1
  506. package/dist/actions/validate-credential.cjs +1 -1
  507. package/dist/actions/validate-credential.cjs.map +1 -1
  508. package/dist/actions/validate-credential.d.cts +1 -1
  509. package/dist/actions/validate-credential.d.mts +1 -1
  510. package/dist/actions/validate-credential.mjs +1 -1
  511. package/dist/actions/validate-credential.mjs.map +1 -1
  512. package/dist/execute.cjs +1 -1
  513. package/dist/execute.cjs.map +1 -1
  514. package/dist/execute.mjs +1 -1
  515. package/dist/execute.mjs.map +1 -1
  516. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"update-content-type.cjs","names":["z","action"],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateContentTypeInput = z.object({\n name: z.string().describe(\"The name of the content type. Use this to rename the content type.\").optional(),\n group: z.string().describe(\"The group name that this content type belongs to. Use this to change the group classification.\").optional(),\n hidden: z.boolean().describe(\"Indicates whether the content type is hidden in the list's New menu. Set to true to hide the content type.\").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 description: z.string().describe(\"The descriptive text for the content type. Use this to update the content type description.\").optional(),\n document_set: z.object({\n sharedColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the shared column.\").optional(),\n name: z.string().describe(\"The name of the shared column.\").optional(),\n}).describe(\"Model for document set shared columns.\")).describe(\"List of shared columns in the document set.\").optional(),\n defaultContents: z.array(z.object({\n fileName: z.string().describe(\"The file name for the default content.\").optional(),\n folderName: z.string().describe(\"The folder path for the default content.\").optional(),\n contentTypeName: z.string().describe(\"The name of the content type for the default content.\").optional(),\n}).describe(\"Model for document set default contents.\")).describe(\"List of default contents for the document set.\").optional(),\n welcomePageColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the welcome page column.\").optional(),\n name: z.string().describe(\"The name of the welcome page column.\").optional(),\n}).describe(\"Model for document set welcome page columns.\")).describe(\"List of welcome page columns in the document set.\").optional(),\n allowedContentTypes: z.array(z.object({\n id: z.string().describe(\"The content type ID.\").optional(),\n name: z.string().describe(\"The content type name.\").optional(),\n}).describe(\"Model for document set allowed content types.\")).describe(\"List of content types allowed in the document set.\").optional(),\n shouldPrefixNameToFile: z.boolean().describe(\"Whether to prefix the document set name to files.\").optional(),\n}).describe(\"Model for document set metadata.\").optional(),\n content_type_id: z.string().describe(\"The unique identifier of the content type to update. This can be the content type ID (e.g., '0x01' for Item) or the string ID from the Id.StringValue property.\"),\n}).describe(\"Request model for updating a SharePoint content type.\");\nconst SharePointUpdateContentType_ContentTypeIdObjectSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = z.object({\n Id: SharePointUpdateContentType_ContentTypeIdObjectSchema.nullable().optional(),\n Name: z.string().describe(\"Name of the content type.\").nullable().optional(),\n Group: z.string().describe(\"Content type group.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type.\").nullable().optional(),\n}).describe(\"Response model for the updated content type.\");\n\nexport const sharePointUpdateContentType = action(\"SHARE_POINT_UPDATE_CONTENT_TYPE\", {\n slug: \"share_point-update-content-type\",\n name: \"Update SharePoint Content Type\",\n description: \"Tool to update a SharePoint content type's properties such as name, description, group, or hidden status. Use when you need to modify content type metadata.\",\n input: SharePointUpdateContentTypeInput,\n output: SharePointUpdateContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,cAAcA,IAAAA,EAAE,OAAO;EACvB,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GAChC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACjE,MAAMA,IAAAA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file":"update-content-type.cjs","names":["z","action"],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateContentTypeInput = z.object({\n name: z.string().describe(\"The name of the content type. Use this to rename the content type.\").optional(),\n group: z.string().describe(\"The group name that this content type belongs to. Use this to change the group classification.\").optional(),\n hidden: z.boolean().describe(\"Indicates whether the content type is hidden in the list's New menu. Set to true to hide the content type.\").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 description: z.string().describe(\"The descriptive text for the content type. Use this to update the content type description.\").optional(),\n document_set: z.object({\n sharedColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the shared column.\").optional(),\n name: z.string().describe(\"The name of the shared column.\").optional(),\n}).passthrough().describe(\"Model for document set shared columns.\")).describe(\"List of shared columns in the document set.\").optional(),\n defaultContents: z.array(z.object({\n fileName: z.string().describe(\"The file name for the default content.\").optional(),\n folderName: z.string().describe(\"The folder path for the default content.\").optional(),\n contentTypeName: z.string().describe(\"The name of the content type for the default content.\").optional(),\n}).passthrough().describe(\"Model for document set default contents.\")).describe(\"List of default contents for the document set.\").optional(),\n welcomePageColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the welcome page column.\").optional(),\n name: z.string().describe(\"The name of the welcome page column.\").optional(),\n}).passthrough().describe(\"Model for document set welcome page columns.\")).describe(\"List of welcome page columns in the document set.\").optional(),\n allowedContentTypes: z.array(z.object({\n id: z.string().describe(\"The content type ID.\").optional(),\n name: z.string().describe(\"The content type name.\").optional(),\n}).passthrough().describe(\"Model for document set allowed content types.\")).describe(\"List of content types allowed in the document set.\").optional(),\n shouldPrefixNameToFile: z.boolean().describe(\"Whether to prefix the document set name to files.\").optional(),\n}).describe(\"Model for document set metadata.\").optional(),\n content_type_id: z.string().describe(\"The unique identifier of the content type to update. This can be the content type ID (e.g., '0x01' for Item) or the string ID from the Id.StringValue property.\"),\n}).describe(\"Request model for updating a SharePoint content type.\");\nconst SharePointUpdateContentType_ContentTypeIdObjectSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).passthrough().describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = z.object({\n Id: SharePointUpdateContentType_ContentTypeIdObjectSchema.nullable().optional(),\n Name: z.string().describe(\"Name of the content type.\").nullable().optional(),\n Group: z.string().describe(\"Content type group.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated content type.\");\n\nexport const sharePointUpdateContentType = action(\"SHARE_POINT_UPDATE_CONTENT_TYPE\", {\n slug: \"share_point-update-content-type\",\n name: \"Update SharePoint Content Type\",\n description: \"Tool to update a SharePoint content type's properties such as name, description, group, or hidden status. Use when you need to modify content type metadata.\",\n input: SharePointUpdateContentTypeInput,\n output: SharePointUpdateContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACpJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC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SAAS,CAAC,CAAC,SAAS;CACnG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,8BAA8BC,eAAAA,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,20 +11,20 @@ declare const SharePointUpdateContentTypeInput: z.ZodObject<{
11
11
  sharedColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
12
12
  id: z.ZodOptional<z.ZodString>;
13
13
  name: z.ZodOptional<z.ZodString>;
14
- }, z.core.$strip>>>;
14
+ }, z.core.$loose>>>;
15
15
  defaultContents: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
16
  fileName: z.ZodOptional<z.ZodString>;
17
17
  folderName: z.ZodOptional<z.ZodString>;
18
18
  contentTypeName: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  welcomePageColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
21
  id: z.ZodOptional<z.ZodString>;
22
22
  name: z.ZodOptional<z.ZodString>;
23
- }, z.core.$strip>>>;
23
+ }, z.core.$loose>>>;
24
24
  allowedContentTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
25
  id: z.ZodOptional<z.ZodString>;
26
26
  name: z.ZodOptional<z.ZodString>;
27
- }, z.core.$strip>>>;
27
+ }, z.core.$loose>>>;
28
28
  shouldPrefixNameToFile: z.ZodOptional<z.ZodBoolean>;
29
29
  }, z.core.$strip>>;
30
30
  content_type_id: z.ZodString;
@@ -32,7 +32,7 @@ declare const SharePointUpdateContentTypeInput: z.ZodObject<{
32
32
  declare const SharePointUpdateContentTypeOutput: z.ZodObject<{
33
33
  Id: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  StringValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -40,7 +40,7 @@ declare const SharePointUpdateContentTypeOutput: z.ZodObject<{
40
40
  ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
41
  StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>;
43
+ }, z.core.$loose>;
44
44
  declare const sharePointUpdateContentType: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  content_type_id: string;
46
46
  name?: string | undefined;
@@ -50,19 +50,23 @@ declare const sharePointUpdateContentType: import("@keystrokehq/action").Workflo
50
50
  description?: string | undefined;
51
51
  document_set?: {
52
52
  sharedColumns?: {
53
+ [x: string]: unknown;
53
54
  id?: string | undefined;
54
55
  name?: string | undefined;
55
56
  }[] | undefined;
56
57
  defaultContents?: {
58
+ [x: string]: unknown;
57
59
  fileName?: string | undefined;
58
60
  folderName?: string | undefined;
59
61
  contentTypeName?: string | undefined;
60
62
  }[] | undefined;
61
63
  welcomePageColumns?: {
64
+ [x: string]: unknown;
62
65
  id?: string | undefined;
63
66
  name?: string | undefined;
64
67
  }[] | undefined;
65
68
  allowedContentTypes?: {
69
+ [x: string]: unknown;
66
70
  id?: string | undefined;
67
71
  name?: string | undefined;
68
72
  }[] | undefined;
@@ -11,20 +11,20 @@ declare const SharePointUpdateContentTypeInput: z.ZodObject<{
11
11
  sharedColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
12
12
  id: z.ZodOptional<z.ZodString>;
13
13
  name: z.ZodOptional<z.ZodString>;
14
- }, z.core.$strip>>>;
14
+ }, z.core.$loose>>>;
15
15
  defaultContents: z.ZodOptional<z.ZodArray<z.ZodObject<{
16
16
  fileName: z.ZodOptional<z.ZodString>;
17
17
  folderName: z.ZodOptional<z.ZodString>;
18
18
  contentTypeName: z.ZodOptional<z.ZodString>;
19
- }, z.core.$strip>>>;
19
+ }, z.core.$loose>>>;
20
20
  welcomePageColumns: z.ZodOptional<z.ZodArray<z.ZodObject<{
21
21
  id: z.ZodOptional<z.ZodString>;
22
22
  name: z.ZodOptional<z.ZodString>;
23
- }, z.core.$strip>>>;
23
+ }, z.core.$loose>>>;
24
24
  allowedContentTypes: z.ZodOptional<z.ZodArray<z.ZodObject<{
25
25
  id: z.ZodOptional<z.ZodString>;
26
26
  name: z.ZodOptional<z.ZodString>;
27
- }, z.core.$strip>>>;
27
+ }, z.core.$loose>>>;
28
28
  shouldPrefixNameToFile: z.ZodOptional<z.ZodBoolean>;
29
29
  }, z.core.$strip>>;
30
30
  content_type_id: z.ZodString;
@@ -32,7 +32,7 @@ declare const SharePointUpdateContentTypeInput: z.ZodObject<{
32
32
  declare const SharePointUpdateContentTypeOutput: z.ZodObject<{
33
33
  Id: z.ZodOptional<z.ZodNullable<z.ZodObject<{
34
34
  StringValue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35
- }, z.core.$strip>>>;
35
+ }, z.core.$loose>>>;
36
36
  Name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
37
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
38
38
  Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -40,7 +40,7 @@ declare const SharePointUpdateContentTypeOutput: z.ZodObject<{
40
40
  ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
41
41
  StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
42
42
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
43
- }, z.core.$strip>;
43
+ }, z.core.$loose>;
44
44
  declare const sharePointUpdateContentType: import("@keystrokehq/action").WorkflowActionDefinition<{
45
45
  content_type_id: string;
46
46
  name?: string | undefined;
@@ -50,19 +50,23 @@ declare const sharePointUpdateContentType: import("@keystrokehq/action").Workflo
50
50
  description?: string | undefined;
51
51
  document_set?: {
52
52
  sharedColumns?: {
53
+ [x: string]: unknown;
53
54
  id?: string | undefined;
54
55
  name?: string | undefined;
55
56
  }[] | undefined;
56
57
  defaultContents?: {
58
+ [x: string]: unknown;
57
59
  fileName?: string | undefined;
58
60
  folderName?: string | undefined;
59
61
  contentTypeName?: string | undefined;
60
62
  }[] | undefined;
61
63
  welcomePageColumns?: {
64
+ [x: string]: unknown;
62
65
  id?: string | undefined;
63
66
  name?: string | undefined;
64
67
  }[] | undefined;
65
68
  allowedContentTypes?: {
69
+ [x: string]: unknown;
66
70
  id?: string | undefined;
67
71
  name?: string | undefined;
68
72
  }[] | undefined;
@@ -11,25 +11,25 @@ const SharePointUpdateContentTypeInput = z.object({
11
11
  sharedColumns: z.array(z.object({
12
12
  id: z.string().describe("The ID of the shared column.").optional(),
13
13
  name: z.string().describe("The name of the shared column.").optional()
14
- }).describe("Model for document set shared columns.")).describe("List of shared columns in the document set.").optional(),
14
+ }).passthrough().describe("Model for document set shared columns.")).describe("List of shared columns in the document set.").optional(),
15
15
  defaultContents: z.array(z.object({
16
16
  fileName: z.string().describe("The file name for the default content.").optional(),
17
17
  folderName: z.string().describe("The folder path for the default content.").optional(),
18
18
  contentTypeName: z.string().describe("The name of the content type for the default content.").optional()
19
- }).describe("Model for document set default contents.")).describe("List of default contents for the document set.").optional(),
19
+ }).passthrough().describe("Model for document set default contents.")).describe("List of default contents for the document set.").optional(),
20
20
  welcomePageColumns: z.array(z.object({
21
21
  id: z.string().describe("The ID of the welcome page column.").optional(),
22
22
  name: z.string().describe("The name of the welcome page column.").optional()
23
- }).describe("Model for document set welcome page columns.")).describe("List of welcome page columns in the document set.").optional(),
23
+ }).passthrough().describe("Model for document set welcome page columns.")).describe("List of welcome page columns in the document set.").optional(),
24
24
  allowedContentTypes: z.array(z.object({
25
25
  id: z.string().describe("The content type ID.").optional(),
26
26
  name: z.string().describe("The content type name.").optional()
27
- }).describe("Model for document set allowed content types.")).describe("List of content types allowed in the document set.").optional(),
27
+ }).passthrough().describe("Model for document set allowed content types.")).describe("List of content types allowed in the document set.").optional(),
28
28
  shouldPrefixNameToFile: z.boolean().describe("Whether to prefix the document set name to files.").optional()
29
29
  }).describe("Model for document set metadata.").optional(),
30
30
  content_type_id: z.string().describe("The unique identifier of the content type to update. This can be the content type ID (e.g., '0x01' for Item) or the string ID from the Id.StringValue property.")
31
31
  }).describe("Request model for updating a SharePoint content type.");
32
- const SharePointUpdateContentType_ContentTypeIdObjectSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID.").nullable().optional() }).describe("Model for content type ID object.");
32
+ const SharePointUpdateContentType_ContentTypeIdObjectSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID.").nullable().optional() }).passthrough().describe("Model for content type ID object.");
33
33
  const sharePointUpdateContentType = action("SHARE_POINT_UPDATE_CONTENT_TYPE", {
34
34
  slug: "share_point-update-content-type",
35
35
  name: "Update SharePoint Content Type",
@@ -44,7 +44,7 @@ const sharePointUpdateContentType = action("SHARE_POINT_UPDATE_CONTENT_TYPE", {
44
44
  ReadOnly: z.boolean().describe("Whether the content type is read-only.").nullable().optional(),
45
45
  StringId: z.string().describe("String representation of the content type ID.").nullable().optional(),
46
46
  Description: z.string().describe("Description of the content type.").nullable().optional()
47
- }).describe("Response model for the updated content type.")
47
+ }).passthrough().describe("Response model for the updated content type.")
48
48
  });
49
49
  //#endregion
50
50
  export { sharePointUpdateContentType };
@@ -1 +1 @@
1
- {"version":3,"file":"update-content-type.mjs","names":[],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateContentTypeInput = z.object({\n name: z.string().describe(\"The name of the content type. Use this to rename the content type.\").optional(),\n group: z.string().describe(\"The group name that this content type belongs to. Use this to change the group classification.\").optional(),\n hidden: z.boolean().describe(\"Indicates whether the content type is hidden in the list's New menu. Set to true to hide the content type.\").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 description: z.string().describe(\"The descriptive text for the content type. Use this to update the content type description.\").optional(),\n document_set: z.object({\n sharedColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the shared column.\").optional(),\n name: z.string().describe(\"The name of the shared column.\").optional(),\n}).describe(\"Model for document set shared columns.\")).describe(\"List of shared columns in the document set.\").optional(),\n defaultContents: z.array(z.object({\n fileName: z.string().describe(\"The file name for the default content.\").optional(),\n folderName: z.string().describe(\"The folder path for the default content.\").optional(),\n contentTypeName: z.string().describe(\"The name of the content type for the default content.\").optional(),\n}).describe(\"Model for document set default contents.\")).describe(\"List of default contents for the document set.\").optional(),\n welcomePageColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the welcome page column.\").optional(),\n name: z.string().describe(\"The name of the welcome page column.\").optional(),\n}).describe(\"Model for document set welcome page columns.\")).describe(\"List of welcome page columns in the document set.\").optional(),\n allowedContentTypes: z.array(z.object({\n id: z.string().describe(\"The content type ID.\").optional(),\n name: z.string().describe(\"The content type name.\").optional(),\n}).describe(\"Model for document set allowed content types.\")).describe(\"List of content types allowed in the document set.\").optional(),\n shouldPrefixNameToFile: z.boolean().describe(\"Whether to prefix the document set name to files.\").optional(),\n}).describe(\"Model for document set metadata.\").optional(),\n content_type_id: z.string().describe(\"The unique identifier of the content type to update. This can be the content type ID (e.g., '0x01' for Item) or the string ID from the Id.StringValue property.\"),\n}).describe(\"Request model for updating a SharePoint content type.\");\nconst SharePointUpdateContentType_ContentTypeIdObjectSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = z.object({\n Id: SharePointUpdateContentType_ContentTypeIdObjectSchema.nullable().optional(),\n Name: z.string().describe(\"Name of the content type.\").nullable().optional(),\n Group: z.string().describe(\"Content type group.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type.\").nullable().optional(),\n}).describe(\"Response model for the updated content type.\");\n\nexport const sharePointUpdateContentType = action(\"SHARE_POINT_UPDATE_CONTENT_TYPE\", {\n slug: \"share_point-update-content-type\",\n name: \"Update SharePoint Content Type\",\n description: \"Tool to update a SharePoint content type's properties such as name, description, group, or hidden status. Use when you need to modify content type metadata.\",\n input: SharePointUpdateContentTypeInput,\n output: SharePointUpdateContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,cAAc,EAAE,OAAO;EACvB,eAAe,EAAE,MAAM,EAAE,OAAO;GAChC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACtH,iBAAiB,EAAE,MAA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AAa,8BAA8B,OAAO,mCAAmC;CACnF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhB+C,EAAE,OAAO;EACxD,IAAI,sDAAsD,SAAS,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-content-type.mjs","names":[],"sources":["../../src/actions/update-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateContentTypeInput = z.object({\n name: z.string().describe(\"The name of the content type. Use this to rename the content type.\").optional(),\n group: z.string().describe(\"The group name that this content type belongs to. Use this to change the group classification.\").optional(),\n hidden: z.boolean().describe(\"Indicates whether the content type is hidden in the list's New menu. Set to true to hide the content type.\").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 description: z.string().describe(\"The descriptive text for the content type. Use this to update the content type description.\").optional(),\n document_set: z.object({\n sharedColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the shared column.\").optional(),\n name: z.string().describe(\"The name of the shared column.\").optional(),\n}).passthrough().describe(\"Model for document set shared columns.\")).describe(\"List of shared columns in the document set.\").optional(),\n defaultContents: z.array(z.object({\n fileName: z.string().describe(\"The file name for the default content.\").optional(),\n folderName: z.string().describe(\"The folder path for the default content.\").optional(),\n contentTypeName: z.string().describe(\"The name of the content type for the default content.\").optional(),\n}).passthrough().describe(\"Model for document set default contents.\")).describe(\"List of default contents for the document set.\").optional(),\n welcomePageColumns: z.array(z.object({\n id: z.string().describe(\"The ID of the welcome page column.\").optional(),\n name: z.string().describe(\"The name of the welcome page column.\").optional(),\n}).passthrough().describe(\"Model for document set welcome page columns.\")).describe(\"List of welcome page columns in the document set.\").optional(),\n allowedContentTypes: z.array(z.object({\n id: z.string().describe(\"The content type ID.\").optional(),\n name: z.string().describe(\"The content type name.\").optional(),\n}).passthrough().describe(\"Model for document set allowed content types.\")).describe(\"List of content types allowed in the document set.\").optional(),\n shouldPrefixNameToFile: z.boolean().describe(\"Whether to prefix the document set name to files.\").optional(),\n}).describe(\"Model for document set metadata.\").optional(),\n content_type_id: z.string().describe(\"The unique identifier of the content type to update. This can be the content type ID (e.g., '0x01' for Item) or the string ID from the Id.StringValue property.\"),\n}).describe(\"Request model for updating a SharePoint content type.\");\nconst SharePointUpdateContentType_ContentTypeIdObjectSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n}).passthrough().describe(\"Model for content type ID object.\");\nexport const SharePointUpdateContentTypeOutput = z.object({\n Id: SharePointUpdateContentType_ContentTypeIdObjectSchema.nullable().optional(),\n Name: z.string().describe(\"Name of the content type.\").nullable().optional(),\n Group: z.string().describe(\"Content type group.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type.\").nullable().optional(),\n}).passthrough().describe(\"Response model for the updated content type.\");\n\nexport const sharePointUpdateContentType = action(\"SHARE_POINT_UPDATE_CONTENT_TYPE\", {\n slug: \"share_point-update-content-type\",\n name: \"Update SharePoint Content Type\",\n description: \"Tool to update a SharePoint content type's properties such as name, description, group, or hidden status. Use when you need to modify content type metadata.\",\n input: SharePointUpdateContentTypeInput,\n output: SharePointUpdateContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmC,EAAE,OAAO;CACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CACzG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;CACtI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CACpJ,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6FAA6F,CAAC,CAAC,SAAS;CACzI,cAAc,EAAE,OAAO;EACvB,eAAe,EAAE,MAAM,EAAE,OAAO;GAChC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;EACvE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACpI,iBAAiB,EAAE,MAAM,EAAE,OAAO;GAClC,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;GACjF,YAAY,EAAE,OAAO,CAAC,CAAC,SA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M;CACN,aAAa;CACb,OAAO;CACP,QAhB+C,EAAE,OAAO;EACxD,IAAI,sDAAsD,SAAS,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/update-file-item.ts
4
4
  const SharePointUpdateFileItemInput = zod.z.object({
5
5
  etag: zod.z.string().default("*").describe("ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\"guid,version\"' like '\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\"'.").optional(),
6
- fields: zod.z.object({}).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
6
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
7
7
  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(),
8
8
  server_relative_url: zod.z.string().describe("Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'."),
9
9
  entity_type_full_name: zod.z.string().describe("The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.").optional()
@@ -13,7 +13,7 @@ const SharePointUpdateFileItemOutput = zod.z.object({
13
13
  message: zod.z.string().describe("Success message describing the update result.").nullable(),
14
14
  success: zod.z.boolean().describe("Indicates whether the update operation succeeded.").nullable(),
15
15
  server_relative_url: zod.z.string().describe("The server-relative URL of the updated file.").nullable()
16
- }).describe("Response model for a successful file item update.");
16
+ }).passthrough().describe("Response model for a successful file item update.");
17
17
  const sharePointUpdateFileItem = require_action.action("SHARE_POINT_UPDATE_FILE_ITEM", {
18
18
  slug: "share_point-update-file-item",
19
19
  name: "Update File Item Metadata",
@@ -1 +1 @@
1
- {"version":3,"file":"update-file-item.cjs","names":["z","action"],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.object({}).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\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 server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;CAC/Q,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0bAA0b;CACxd,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACpL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;AAC7Q,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-file-item.cjs","names":["z","action"],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\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 server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).passthrough().describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;CAC/Q,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;CAC7e,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;CACpL,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;AAC7Q,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/update-file-item.d.ts
4
4
  declare const SharePointUpdateFileItemInput: z.ZodObject<{
5
5
  etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
- fields: z.ZodObject<{}, z.core.$strip>;
6
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
7
  site_name: z.ZodOptional<z.ZodString>;
8
8
  server_relative_url: z.ZodString;
9
9
  entity_type_full_name: z.ZodOptional<z.ZodString>;
@@ -13,9 +13,9 @@ declare const SharePointUpdateFileItemOutput: z.ZodObject<{
13
13
  message: z.ZodNullable<z.ZodString>;
14
14
  success: z.ZodNullable<z.ZodBoolean>;
15
15
  server_relative_url: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const sharePointUpdateFileItem: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- fields: Record<string, never>;
18
+ fields: Record<string, unknown>;
19
19
  server_relative_url: string;
20
20
  etag?: string | undefined;
21
21
  site_name?: string | undefined;
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/update-file-item.d.ts
4
4
  declare const SharePointUpdateFileItemInput: z.ZodObject<{
5
5
  etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
- fields: z.ZodObject<{}, z.core.$strip>;
6
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
7
  site_name: z.ZodOptional<z.ZodString>;
8
8
  server_relative_url: z.ZodString;
9
9
  entity_type_full_name: z.ZodOptional<z.ZodString>;
@@ -13,9 +13,9 @@ declare const SharePointUpdateFileItemOutput: z.ZodObject<{
13
13
  message: z.ZodNullable<z.ZodString>;
14
14
  success: z.ZodNullable<z.ZodBoolean>;
15
15
  server_relative_url: z.ZodNullable<z.ZodString>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const sharePointUpdateFileItem: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- fields: Record<string, never>;
18
+ fields: Record<string, unknown>;
19
19
  server_relative_url: string;
20
20
  etag?: string | undefined;
21
21
  site_name?: string | undefined;
@@ -6,7 +6,7 @@ const sharePointUpdateFileItem = action("SHARE_POINT_UPDATE_FILE_ITEM", {
6
6
  description: "Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.",
7
7
  input: z.object({
8
8
  etag: z.string().default("*").describe("ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\"guid,version\"' like '\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\"'.").optional(),
9
- fields: z.object({}).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
9
+ fields: z.record(z.string(), z.unknown()).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
10
10
  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(),
11
11
  server_relative_url: z.string().describe("Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'."),
12
12
  entity_type_full_name: z.string().describe("The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.").optional()
@@ -16,7 +16,7 @@ const sharePointUpdateFileItem = action("SHARE_POINT_UPDATE_FILE_ITEM", {
16
16
  message: z.string().describe("Success message describing the update result.").nullable(),
17
17
  success: z.boolean().describe("Indicates whether the update operation succeeded.").nullable(),
18
18
  server_relative_url: z.string().describe("The server-relative URL of the updated file.").nullable()
19
- }).describe("Response model for a successful file item update.")
19
+ }).passthrough().describe("Response model for a successful file item update.")
20
20
  });
21
21
  //#endregion
22
22
  export { sharePointUpdateFileItem };
@@ -1 +1 @@
1
- {"version":3,"file":"update-file-item.mjs","names":[],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.object({}).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\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 server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;EAC/Q,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0bAA0b;EACxd,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EACpL,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;CAC7Q,CAAC,CAAC,CAAC,SAAS,sEAYH;CACP,QAZ4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-file-item.mjs","names":[],"sources":["../../src/actions/update-file-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateFileItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\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 server_relative_url: z.string().describe(\"Server-relative URL of the file to update, starting with '/'. E.g., '/Shared Documents/report.pdf' or '/sites/Finance/Documents/W-9.pdf'.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.Shared_x0020_DocumentsItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint file item's metadata fields.\");\nexport const SharePointUpdateFileItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the updated file.\").nullable(),\n}).passthrough().describe(\"Response model for a successful file item update.\");\n\nexport const sharePointUpdateFileItem = action(\"SHARE_POINT_UPDATE_FILE_ITEM\", {\n slug: \"share_point-update-file-item\",\n name: \"Update File Item Metadata\",\n description: \"Tool to update metadata fields on a SharePoint file item via its ListItemAllFields. Use this action when you need to modify document properties, custom columns, or metadata without changing the file content itself. This operates on the list item behind the file, allowing you to set Title, Status, Owner, Categories, or any other library column.\",\n input: SharePointUpdateFileItemInput,\n output: SharePointUpdateFileItemOutput,\n});\n"],"mappings":";;AAkBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,6NAA6N,CAAC,CAAC,SAAS;EAC/Q,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;EAC7e,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I;EACpL,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,qNAAqN,CAAC,CAAC,SAAS;CAC7Q,CAAC,CAAC,CAAC,SAAS,sEAYH;CACP,QAZ4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -3,7 +3,7 @@ let zod = require("zod");
3
3
  //#region src/actions/update-list-item.ts
4
4
  const SharePointUpdateListItemInput = zod.z.object({
5
5
  etag: zod.z.string().default("*").describe("ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\"guid,version\"' like '\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\"'.").optional(),
6
- fields: zod.z.object({}).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
6
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
7
7
  item_id: zod.z.number().int().describe("Numeric ID of the list item to update."),
8
8
  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(),
9
9
  list_title: zod.z.string().describe("The exact title of the SharePoint list containing the item to update."),
@@ -14,7 +14,7 @@ const SharePointUpdateListItemOutput = zod.z.object({
14
14
  item_id: zod.z.number().int().describe("The ID of the updated list item.").nullable(),
15
15
  message: zod.z.string().describe("Success message describing the update result.").nullable(),
16
16
  success: zod.z.boolean().describe("Indicates whether the update operation succeeded.").nullable()
17
- }).describe("Response model for a successful list item update.");
17
+ }).passthrough().describe("Response model for a successful list item update.");
18
18
  const sharePointUpdateListItem = require_action.action("SHARE_POINT_UPDATE_LIST_ITEM", {
19
19
  slug: "share_point-update-list-item",
20
20
  name: "Update SharePoint List Item",
@@ -1 +1 @@
1
- {"version":3,"file":"update-list-item.cjs","names":["z","action"],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.object({}).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\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 list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS;CAC9S,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0bAA0b;CACxd,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;CAC3E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,uBAAuBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;AAC1S,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-list-item.cjs","names":["z","action"],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\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 list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAg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
  etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
- fields: z.ZodObject<{}, z.core.$strip>;
6
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
7
  item_id: z.ZodNumber;
8
8
  site_name: z.ZodOptional<z.ZodString>;
9
9
  list_title: z.ZodString;
@@ -14,9 +14,9 @@ declare const SharePointUpdateListItemOutput: z.ZodObject<{
14
14
  item_id: z.ZodNullable<z.ZodNumber>;
15
15
  message: z.ZodNullable<z.ZodString>;
16
16
  success: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const sharePointUpdateListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- fields: Record<string, never>;
19
+ fields: Record<string, unknown>;
20
20
  item_id: number;
21
21
  list_title: string;
22
22
  etag?: string | undefined;
@@ -3,7 +3,7 @@ import { z } from "zod";
3
3
  //#region src/actions/update-list-item.d.ts
4
4
  declare const SharePointUpdateListItemInput: z.ZodObject<{
5
5
  etag: z.ZodOptional<z.ZodDefault<z.ZodString>>;
6
- fields: z.ZodObject<{}, z.core.$strip>;
6
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
7
7
  item_id: z.ZodNumber;
8
8
  site_name: z.ZodOptional<z.ZodString>;
9
9
  list_title: z.ZodString;
@@ -14,9 +14,9 @@ declare const SharePointUpdateListItemOutput: z.ZodObject<{
14
14
  item_id: z.ZodNullable<z.ZodNumber>;
15
15
  message: z.ZodNullable<z.ZodString>;
16
16
  success: z.ZodNullable<z.ZodBoolean>;
17
- }, z.core.$strip>;
17
+ }, z.core.$loose>;
18
18
  declare const sharePointUpdateListItem: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- fields: Record<string, never>;
19
+ fields: Record<string, unknown>;
20
20
  item_id: number;
21
21
  list_title: string;
22
22
  etag?: string | undefined;
@@ -6,7 +6,7 @@ const sharePointUpdateListItem = action("SHARE_POINT_UPDATE_LIST_ITEM", {
6
6
  description: "Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.",
7
7
  input: z.object({
8
8
  etag: z.string().default("*").describe("ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\"guid,version\"' like '\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\"'.").optional(),
9
- fields: z.object({}).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
9
+ fields: z.record(z.string(), z.unknown()).describe("Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item')."),
10
10
  item_id: z.number().int().describe("Numeric ID of the list item to update."),
11
11
  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(),
12
12
  list_title: z.string().describe("The exact title of the SharePoint list containing the item to update."),
@@ -17,7 +17,7 @@ const sharePointUpdateListItem = action("SHARE_POINT_UPDATE_LIST_ITEM", {
17
17
  item_id: z.number().int().describe("The ID of the updated list item.").nullable(),
18
18
  message: z.string().describe("Success message describing the update result.").nullable(),
19
19
  success: z.boolean().describe("Indicates whether the update operation succeeded.").nullable()
20
- }).describe("Response model for a successful list item update.")
20
+ }).passthrough().describe("Response model for a successful list item update.")
21
21
  });
22
22
  //#endregion
23
23
  export { sharePointUpdateListItem };
@@ -1 +1 @@
1
- {"version":3,"file":"update-list-item.mjs","names":[],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.object({}).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\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 list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;AAmBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS;EAC9S,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,0bAA0b;EACxd,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;CAC1S,CAAC,CAAC,CAAC,SAAS,oDAYH;CACP,QAZ4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-list-item.mjs","names":[],"sources":["../../src/actions/update-list-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListItemInput = z.object({\n etag: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag (from GET_LIST_ITEM_ETAG tool) to ensure safe concurrent updates. Format: '\\\"guid,version\\\"' like '\\\"c7a93369-bda8-4da1-b1a3-3d87d2e207fc,1\\\"'.\").optional(),\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their new values. Supports text, numbers, booleans, dates, and complex types for lookup/person fields. For lookup and person/group fields, append 'Id' to the field name and provide the ID as an integer (single-value) or {'results': [id1, id2, ...]} for multi-value (OData verbose format). Internal field names with spaces are encoded with '_x0020_' (e.g., 'Related_x0020_Item' for 'Related Item').\"),\n item_id: z.number().int().describe(\"Numeric ID of the list item to update.\"),\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 list_title: z.string().describe(\"The exact title of the SharePoint list containing the item to update.\"),\n entity_type_full_name: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. If not provided, it will be fetched automatically using GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME. Format: 'SP.Data.{ListName}ListItem' like 'SP.Data.TasksListItem'.\").optional(),\n}).describe(\"Request model for updating a SharePoint list item.\");\nexport const SharePointUpdateListItemOutput = z.object({\n etag: z.string().describe(\"The ETag of the updated item, if returned by the server.\").nullable().optional(),\n item_id: z.number().int().describe(\"The ID of the updated list item.\").nullable(),\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list item update.\");\n\nexport const sharePointUpdateListItem = action(\"SHARE_POINT_UPDATE_LIST_ITEM\", {\n slug: \"share_point-update-list-item\",\n name: \"Update SharePoint List Item\",\n description: \"Tool to update fields on an existing SharePoint list item. Use when you need to modify an item's properties with proper ETag concurrency control via MERGE.\",\n input: SharePointUpdateListItemInput,\n output: SharePointUpdateListItemOutput,\n});\n"],"mappings":";;AAmBA,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnB2C,EAAE,OAAO;EACpD,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,4PAA4P,CAAC,CAAC,SAAS;EAC9S,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0bAA0b;EAC7e,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wCAAwC;EAC3E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,kPAAkP,CAAC,CAAC,SAAS;CAC1S,CAAC,CAAC,CAAC,SAAS,oDAYH;CACP,QAZ4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1G,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
@@ -15,7 +15,7 @@ const SharePointUpdateListOutput = zod.z.object({
15
15
  message: zod.z.string().describe("Success message describing the update result.").nullable(),
16
16
  success: zod.z.boolean().describe("Indicates whether the update operation succeeded.").nullable(),
17
17
  list_guid: zod.z.string().describe("The GUID of the updated list.").nullable()
18
- }).describe("Response model for a successful list update.");
18
+ }).passthrough().describe("Response model for a successful list update.");
19
19
  const sharePointUpdateList = require_action.action("SHARE_POINT_UPDATE_LIST", {
20
20
  slug: "share_point-update-list",
21
21
  name: "Update SharePoint List",
@@ -1 +1 @@
1
- {"version":3,"file":"update-list.cjs","names":["z","action"],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, 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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACrM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACzI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9I,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"update-list.cjs","names":["z","action"],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, 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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAChG,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;CACrM,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;CAC3I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CACxH,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;CACzI,oBAAoBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CAC9I,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACvF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC5F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -15,7 +15,7 @@ declare const SharePointUpdateListOutput: z.ZodObject<{
15
15
  message: z.ZodNullable<z.ZodString>;
16
16
  success: z.ZodNullable<z.ZodBoolean>;
17
17
  list_guid: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const sharePointUpdateList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  list_guid: string;
21
21
  title?: string | undefined;
@@ -15,7 +15,7 @@ declare const SharePointUpdateListOutput: z.ZodObject<{
15
15
  message: z.ZodNullable<z.ZodString>;
16
16
  success: z.ZodNullable<z.ZodBoolean>;
17
17
  list_guid: z.ZodNullable<z.ZodString>;
18
- }, z.core.$strip>;
18
+ }, z.core.$loose>;
19
19
  declare const sharePointUpdateList: import("@keystrokehq/action").WorkflowActionDefinition<{
20
20
  list_guid: string;
21
21
  title?: string | undefined;
@@ -18,7 +18,7 @@ const sharePointUpdateList = action("SHARE_POINT_UPDATE_LIST", {
18
18
  message: z.string().describe("Success message describing the update result.").nullable(),
19
19
  success: z.boolean().describe("Indicates whether the update operation succeeded.").nullable(),
20
20
  list_guid: z.string().describe("The GUID of the updated list.").nullable()
21
- }).describe("Response model for a successful list update.")
21
+ }).passthrough().describe("Response model for a successful list update.")
22
22
  });
23
23
  //#endregion
24
24
  export { sharePointUpdateList };
@@ -1 +1 @@
1
- {"version":3,"file":"update-list.mjs","names":[],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, 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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACrM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC9I,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,+CAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"update-list.mjs","names":[],"sources":["../../src/actions/update-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointUpdateListInput = z.object({\n title: z.string().describe(\"New title for the list. Provide this to rename the list.\").optional(),\n if_match: z.string().default(\"*\").describe(\"ETag value for concurrency control. Use '*' to force update regardless of version. Provide a specific ETag to ensure safe concurrent updates.\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list to update, 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 description: z.string().describe(\"New description for the list. Provide this to update the list description.\").optional(),\n enable_versioning: z.boolean().describe(\"Whether versioning is enabled for the list. Set to true to enable, false to disable.\").optional(),\n enable_attachments: z.boolean().describe(\"Whether attachments are enabled for list items. Set to true to enable, false to disable.\").optional(),\n content_types_enabled: z.boolean().describe(\"Whether content types are enabled for the list. Set to true to enable, false to disable.\").optional(),\n}).describe(\"Request model for updating a SharePoint list.\");\nexport const SharePointUpdateListOutput = z.object({\n message: z.string().describe(\"Success message describing the update result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the update operation succeeded.\").nullable(),\n list_guid: z.string().describe(\"The GUID of the updated list.\").nullable(),\n}).passthrough().describe(\"Response model for a successful list update.\");\n\nexport const sharePointUpdateList = action(\"SHARE_POINT_UPDATE_LIST\", {\n slug: \"share_point-update-list\",\n name: \"Update SharePoint List\",\n description: \"Tool to update properties of an existing SharePoint list. Use when you need to modify list metadata such as title, description, or settings like versioning and attachments.\",\n input: SharePointUpdateListInput,\n output: SharePointUpdateListOutput,\n});\n"],"mappings":";;AAoBA,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBuC,EAAE,OAAO;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;EAChG,UAAU,EAAE,OAAO,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,+IAA+I,CAAC,CAAC,SAAS;EACrM,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4GAA4G;EAC3I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EACxH,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,sFAAsF,CAAC,CAAC,SAAS;EACzI,oBAAoB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;EAC9I,uBAAuB,EAAE,QAAQ,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,SAAS,+CAWH;CACP,QAXwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACvF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EAC5F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}