@keystrokehq/share_point 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (558) hide show
  1. package/README.md +1 -1
  2. package/dist/actions/add-attachment-to-list-item.cjs +1 -1
  3. package/dist/actions/add-attachment-to-list-item.cjs.map +1 -1
  4. package/dist/actions/add-attachment-to-list-item.d.cts +14 -2
  5. package/dist/actions/add-attachment-to-list-item.d.mts +14 -2
  6. package/dist/actions/add-attachment-to-list-item.mjs +1 -1
  7. package/dist/actions/add-attachment-to-list-item.mjs.map +1 -1
  8. package/dist/actions/add-field-link-to-content-type.cjs +2 -2
  9. package/dist/actions/add-field-link-to-content-type.cjs.map +1 -1
  10. package/dist/actions/add-field-link-to-content-type.d.cts +15 -3
  11. package/dist/actions/add-field-link-to-content-type.d.mts +15 -3
  12. package/dist/actions/add-field-link-to-content-type.mjs +2 -2
  13. package/dist/actions/add-field-link-to-content-type.mjs.map +1 -1
  14. package/dist/actions/add-role-assignment-to-item.cjs +1 -1
  15. package/dist/actions/add-role-assignment-to-item.cjs.map +1 -1
  16. package/dist/actions/add-role-assignment-to-item.d.cts +14 -2
  17. package/dist/actions/add-role-assignment-to-item.d.mts +14 -2
  18. package/dist/actions/add-role-assignment-to-item.mjs +1 -1
  19. package/dist/actions/add-role-assignment-to-item.mjs.map +1 -1
  20. package/dist/actions/add-role-assignment-to-list.cjs +1 -1
  21. package/dist/actions/add-role-assignment-to-list.cjs.map +1 -1
  22. package/dist/actions/add-role-assignment-to-list.d.cts +14 -2
  23. package/dist/actions/add-role-assignment-to-list.d.mts +14 -2
  24. package/dist/actions/add-role-assignment-to-list.mjs +1 -1
  25. package/dist/actions/add-role-assignment-to-list.mjs.map +1 -1
  26. package/dist/actions/break-role-inheritance-on-item.cjs +1 -1
  27. package/dist/actions/break-role-inheritance-on-item.cjs.map +1 -1
  28. package/dist/actions/break-role-inheritance-on-item.d.cts +14 -2
  29. package/dist/actions/break-role-inheritance-on-item.d.mts +14 -2
  30. package/dist/actions/break-role-inheritance-on-item.mjs +1 -1
  31. package/dist/actions/break-role-inheritance-on-item.mjs.map +1 -1
  32. package/dist/actions/break-role-inheritance-on-list.cjs +1 -1
  33. package/dist/actions/break-role-inheritance-on-list.cjs.map +1 -1
  34. package/dist/actions/break-role-inheritance-on-list.d.cts +14 -2
  35. package/dist/actions/break-role-inheritance-on-list.d.mts +14 -2
  36. package/dist/actions/break-role-inheritance-on-list.mjs +1 -1
  37. package/dist/actions/break-role-inheritance-on-list.mjs.map +1 -1
  38. package/dist/actions/check-in-file.cjs +1 -1
  39. package/dist/actions/check-in-file.cjs.map +1 -1
  40. package/dist/actions/check-in-file.d.cts +14 -2
  41. package/dist/actions/check-in-file.d.mts +14 -2
  42. package/dist/actions/check-in-file.mjs +1 -1
  43. package/dist/actions/check-in-file.mjs.map +1 -1
  44. package/dist/actions/create-content-type.cjs +2 -2
  45. package/dist/actions/create-content-type.cjs.map +1 -1
  46. package/dist/actions/create-content-type.d.cts +15 -3
  47. package/dist/actions/create-content-type.d.mts +15 -3
  48. package/dist/actions/create-content-type.mjs +2 -2
  49. package/dist/actions/create-content-type.mjs.map +1 -1
  50. package/dist/actions/create-drive-item-sharing-link.cjs +3 -3
  51. package/dist/actions/create-drive-item-sharing-link.cjs.map +1 -1
  52. package/dist/actions/create-drive-item-sharing-link.d.cts +16 -4
  53. package/dist/actions/create-drive-item-sharing-link.d.mts +16 -4
  54. package/dist/actions/create-drive-item-sharing-link.mjs +3 -3
  55. package/dist/actions/create-drive-item-sharing-link.mjs.map +1 -1
  56. package/dist/actions/create-list-field.cjs +1 -1
  57. package/dist/actions/create-list-field.cjs.map +1 -1
  58. package/dist/actions/create-list-field.d.cts +14 -2
  59. package/dist/actions/create-list-field.d.mts +14 -2
  60. package/dist/actions/create-list-field.mjs +1 -1
  61. package/dist/actions/create-list-field.mjs.map +1 -1
  62. package/dist/actions/create-list-item-by-id.cjs +2 -2
  63. package/dist/actions/create-list-item-by-id.cjs.map +1 -1
  64. package/dist/actions/create-list-item-by-id.d.cts +16 -4
  65. package/dist/actions/create-list-item-by-id.d.cts.map +1 -1
  66. package/dist/actions/create-list-item-by-id.d.mts +16 -4
  67. package/dist/actions/create-list-item-by-id.d.mts.map +1 -1
  68. package/dist/actions/create-list-item-by-id.mjs +2 -2
  69. package/dist/actions/create-list-item-by-id.mjs.map +1 -1
  70. package/dist/actions/create-list-item-in-folder.cjs +3 -3
  71. package/dist/actions/create-list-item-in-folder.cjs.map +1 -1
  72. package/dist/actions/create-list-item-in-folder.d.cts +17 -4
  73. package/dist/actions/create-list-item-in-folder.d.mts +17 -4
  74. package/dist/actions/create-list-item-in-folder.mjs +3 -3
  75. package/dist/actions/create-list-item-in-folder.mjs.map +1 -1
  76. package/dist/actions/create-web.cjs +1 -1
  77. package/dist/actions/create-web.cjs.map +1 -1
  78. package/dist/actions/create-web.d.cts +14 -2
  79. package/dist/actions/create-web.d.mts +14 -2
  80. package/dist/actions/create-web.mjs +1 -1
  81. package/dist/actions/create-web.mjs.map +1 -1
  82. package/dist/actions/delete-drive-item-version-content.cjs +1 -1
  83. package/dist/actions/delete-drive-item-version-content.cjs.map +1 -1
  84. package/dist/actions/delete-drive-item-version-content.d.cts +14 -2
  85. package/dist/actions/delete-drive-item-version-content.d.mts +14 -2
  86. package/dist/actions/delete-drive-item-version-content.mjs +1 -1
  87. package/dist/actions/delete-drive-item-version-content.mjs.map +1 -1
  88. package/dist/actions/delete-file-item.cjs +1 -1
  89. package/dist/actions/delete-file-item.cjs.map +1 -1
  90. package/dist/actions/delete-file-item.d.cts +14 -2
  91. package/dist/actions/delete-file-item.d.mts +14 -2
  92. package/dist/actions/delete-file-item.mjs +1 -1
  93. package/dist/actions/delete-file-item.mjs.map +1 -1
  94. package/dist/actions/delete-folder.cjs +1 -1
  95. package/dist/actions/delete-folder.cjs.map +1 -1
  96. package/dist/actions/delete-folder.d.cts +14 -2
  97. package/dist/actions/delete-folder.d.mts +14 -2
  98. package/dist/actions/delete-folder.mjs +1 -1
  99. package/dist/actions/delete-folder.mjs.map +1 -1
  100. package/dist/actions/delete-list-by-title.cjs +1 -1
  101. package/dist/actions/delete-list-by-title.cjs.map +1 -1
  102. package/dist/actions/delete-list-by-title.d.cts +14 -2
  103. package/dist/actions/delete-list-by-title.d.mts +14 -2
  104. package/dist/actions/delete-list-by-title.mjs +1 -1
  105. package/dist/actions/delete-list-by-title.mjs.map +1 -1
  106. package/dist/actions/delete-list-item.cjs +1 -1
  107. package/dist/actions/delete-list-item.cjs.map +1 -1
  108. package/dist/actions/delete-list-item.d.cts +14 -2
  109. package/dist/actions/delete-list-item.d.mts +14 -2
  110. package/dist/actions/delete-list-item.mjs +1 -1
  111. package/dist/actions/delete-list-item.mjs.map +1 -1
  112. package/dist/actions/delete-list-items.cjs +2 -2
  113. package/dist/actions/delete-list-items.cjs.map +1 -1
  114. package/dist/actions/delete-list-items.d.cts +15 -3
  115. package/dist/actions/delete-list-items.d.mts +15 -3
  116. package/dist/actions/delete-list-items.mjs +2 -2
  117. package/dist/actions/delete-list-items.mjs.map +1 -1
  118. package/dist/actions/delete-list.cjs +1 -1
  119. package/dist/actions/delete-list.cjs.map +1 -1
  120. package/dist/actions/delete-list.d.cts +14 -2
  121. package/dist/actions/delete-list.d.mts +14 -2
  122. package/dist/actions/delete-list.mjs +1 -1
  123. package/dist/actions/delete-list.mjs.map +1 -1
  124. package/dist/actions/delete-recycle-bin-item-permanent.cjs +1 -1
  125. package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -1
  126. package/dist/actions/delete-recycle-bin-item-permanent.d.cts +14 -2
  127. package/dist/actions/delete-recycle-bin-item-permanent.d.mts +14 -2
  128. package/dist/actions/delete-recycle-bin-item-permanent.mjs +1 -1
  129. package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -1
  130. package/dist/actions/download-file-by-server-relative-url.cjs +2 -2
  131. package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -1
  132. package/dist/actions/download-file-by-server-relative-url.d.cts +15 -3
  133. package/dist/actions/download-file-by-server-relative-url.d.mts +15 -3
  134. package/dist/actions/download-file-by-server-relative-url.mjs +2 -2
  135. package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -1
  136. package/dist/actions/ensure-user.cjs +4 -4
  137. package/dist/actions/ensure-user.cjs.map +1 -1
  138. package/dist/actions/ensure-user.d.cts +17 -5
  139. package/dist/actions/ensure-user.d.mts +17 -5
  140. package/dist/actions/ensure-user.mjs +4 -4
  141. package/dist/actions/ensure-user.mjs.map +1 -1
  142. package/dist/actions/follow.cjs +1 -1
  143. package/dist/actions/follow.cjs.map +1 -1
  144. package/dist/actions/follow.d.cts +14 -2
  145. package/dist/actions/follow.d.mts +14 -2
  146. package/dist/actions/follow.mjs +1 -1
  147. package/dist/actions/follow.mjs.map +1 -1
  148. package/dist/actions/get-all-folders.cjs +1 -1
  149. package/dist/actions/get-all-folders.cjs.map +1 -1
  150. package/dist/actions/get-all-folders.d.cts +14 -2
  151. package/dist/actions/get-all-folders.d.mts +14 -2
  152. package/dist/actions/get-all-folders.mjs +1 -1
  153. package/dist/actions/get-all-folders.mjs.map +1 -1
  154. package/dist/actions/get-changes.cjs +2 -2
  155. package/dist/actions/get-changes.cjs.map +1 -1
  156. package/dist/actions/get-changes.d.cts +15 -3
  157. package/dist/actions/get-changes.d.cts.map +1 -1
  158. package/dist/actions/get-changes.d.mts +15 -3
  159. package/dist/actions/get-changes.d.mts.map +1 -1
  160. package/dist/actions/get-changes.mjs +2 -2
  161. package/dist/actions/get-changes.mjs.map +1 -1
  162. package/dist/actions/get-content-type.cjs +2 -2
  163. package/dist/actions/get-content-type.cjs.map +1 -1
  164. package/dist/actions/get-content-type.d.cts +15 -3
  165. package/dist/actions/get-content-type.d.mts +15 -3
  166. package/dist/actions/get-content-type.mjs +2 -2
  167. package/dist/actions/get-content-type.mjs.map +1 -1
  168. package/dist/actions/get-content-types-for-list.cjs +3 -3
  169. package/dist/actions/get-content-types-for-list.cjs.map +1 -1
  170. package/dist/actions/get-content-types-for-list.d.cts +16 -4
  171. package/dist/actions/get-content-types-for-list.d.mts +16 -4
  172. package/dist/actions/get-content-types-for-list.mjs +3 -3
  173. package/dist/actions/get-content-types-for-list.mjs.map +1 -1
  174. package/dist/actions/get-content-types.cjs +3 -3
  175. package/dist/actions/get-content-types.cjs.map +1 -1
  176. package/dist/actions/get-content-types.d.cts +16 -4
  177. package/dist/actions/get-content-types.d.mts +16 -4
  178. package/dist/actions/get-content-types.mjs +3 -3
  179. package/dist/actions/get-content-types.mjs.map +1 -1
  180. package/dist/actions/get-context-info.cjs +2 -2
  181. package/dist/actions/get-context-info.cjs.map +1 -1
  182. package/dist/actions/get-context-info.d.cts +15 -3
  183. package/dist/actions/get-context-info.d.mts +15 -3
  184. package/dist/actions/get-context-info.mjs +2 -2
  185. package/dist/actions/get-context-info.mjs.map +1 -1
  186. package/dist/actions/get-current-user.cjs +4 -4
  187. package/dist/actions/get-current-user.cjs.map +1 -1
  188. package/dist/actions/get-current-user.d.cts +19 -7
  189. package/dist/actions/get-current-user.d.mts +19 -7
  190. package/dist/actions/get-current-user.mjs +4 -4
  191. package/dist/actions/get-current-user.mjs.map +1 -1
  192. package/dist/actions/get-drive-item-analytics.cjs +2 -2
  193. package/dist/actions/get-drive-item-analytics.cjs.map +1 -1
  194. package/dist/actions/get-drive-item-analytics.d.cts +19 -7
  195. package/dist/actions/get-drive-item-analytics.d.mts +19 -7
  196. package/dist/actions/get-drive-item-analytics.mjs +2 -2
  197. package/dist/actions/get-drive-item-analytics.mjs.map +1 -1
  198. package/dist/actions/get-group-users-by-id.cjs +2 -2
  199. package/dist/actions/get-group-users-by-id.cjs.map +1 -1
  200. package/dist/actions/get-group-users-by-id.d.cts +15 -3
  201. package/dist/actions/get-group-users-by-id.d.mts +15 -3
  202. package/dist/actions/get-group-users-by-id.mjs +2 -2
  203. package/dist/actions/get-group-users-by-id.mjs.map +1 -1
  204. package/dist/actions/get-group-users.cjs +2 -2
  205. package/dist/actions/get-group-users.cjs.map +1 -1
  206. package/dist/actions/get-group-users.d.cts +15 -3
  207. package/dist/actions/get-group-users.d.mts +15 -3
  208. package/dist/actions/get-group-users.mjs +2 -2
  209. package/dist/actions/get-group-users.mjs.map +1 -1
  210. package/dist/actions/get-item-attachment-content.cjs +2 -2
  211. package/dist/actions/get-item-attachment-content.cjs.map +1 -1
  212. package/dist/actions/get-item-attachment-content.d.cts +15 -3
  213. package/dist/actions/get-item-attachment-content.d.mts +15 -3
  214. package/dist/actions/get-item-attachment-content.mjs +2 -2
  215. package/dist/actions/get-item-attachment-content.mjs.map +1 -1
  216. package/dist/actions/get-list-by-guid.d.cts +13 -1
  217. package/dist/actions/get-list-by-guid.d.mts +13 -1
  218. package/dist/actions/get-list-by-title.d.cts +13 -1
  219. package/dist/actions/get-list-by-title.d.mts +13 -1
  220. package/dist/actions/get-list-content-type-by-id.cjs +3 -3
  221. package/dist/actions/get-list-content-type-by-id.cjs.map +1 -1
  222. package/dist/actions/get-list-content-type-by-id.d.cts +16 -4
  223. package/dist/actions/get-list-content-type-by-id.d.mts +16 -4
  224. package/dist/actions/get-list-content-type-by-id.mjs +3 -3
  225. package/dist/actions/get-list-content-type-by-id.mjs.map +1 -1
  226. package/dist/actions/get-list-item-by-id.d.cts +13 -1
  227. package/dist/actions/get-list-item-by-id.d.mts +13 -1
  228. package/dist/actions/get-list-item-version.d.cts +13 -1
  229. package/dist/actions/get-list-item-version.d.mts +13 -1
  230. package/dist/actions/get-list-items-by-guid.cjs +1 -1
  231. package/dist/actions/get-list-items-by-guid.cjs.map +1 -1
  232. package/dist/actions/get-list-items-by-guid.d.cts +14 -2
  233. package/dist/actions/get-list-items-by-guid.d.mts +14 -2
  234. package/dist/actions/get-list-items-by-guid.mjs +1 -1
  235. package/dist/actions/get-list-items-by-guid.mjs.map +1 -1
  236. package/dist/actions/get-list-items.cjs +3 -3
  237. package/dist/actions/get-list-items.cjs.map +1 -1
  238. package/dist/actions/get-list-items.d.cts +35 -23
  239. package/dist/actions/get-list-items.d.mts +35 -23
  240. package/dist/actions/get-list-items.mjs +3 -3
  241. package/dist/actions/get-list-items.mjs.map +1 -1
  242. package/dist/actions/get-my-followed.cjs +2 -2
  243. package/dist/actions/get-my-followed.cjs.map +1 -1
  244. package/dist/actions/get-my-followed.d.cts +15 -3
  245. package/dist/actions/get-my-followed.d.mts +15 -3
  246. package/dist/actions/get-my-followed.mjs +2 -2
  247. package/dist/actions/get-my-followed.mjs.map +1 -1
  248. package/dist/actions/get-my-followers.cjs +2 -2
  249. package/dist/actions/get-my-followers.cjs.map +1 -1
  250. package/dist/actions/get-my-followers.d.cts +15 -3
  251. package/dist/actions/get-my-followers.d.mts +15 -3
  252. package/dist/actions/get-my-followers.mjs +2 -2
  253. package/dist/actions/get-my-followers.mjs.map +1 -1
  254. package/dist/actions/get-role-definitions.cjs +3 -3
  255. package/dist/actions/get-role-definitions.cjs.map +1 -1
  256. package/dist/actions/get-role-definitions.d.cts +16 -4
  257. package/dist/actions/get-role-definitions.d.mts +16 -4
  258. package/dist/actions/get-role-definitions.mjs +3 -3
  259. package/dist/actions/get-role-definitions.mjs.map +1 -1
  260. package/dist/actions/get-site-by-hostname.d.cts +13 -1
  261. package/dist/actions/get-site-by-hostname.d.mts +13 -1
  262. package/dist/actions/get-site-by-id.cjs +1 -1
  263. package/dist/actions/get-site-by-id.cjs.map +1 -1
  264. package/dist/actions/get-site-by-id.d.cts +20 -8
  265. package/dist/actions/get-site-by-id.d.mts +20 -8
  266. package/dist/actions/get-site-by-id.mjs +1 -1
  267. package/dist/actions/get-site-by-id.mjs.map +1 -1
  268. package/dist/actions/get-site-collection-info.cjs +1 -1
  269. package/dist/actions/get-site-collection-info.cjs.map +1 -1
  270. package/dist/actions/get-site-collection-info.d.cts +15 -3
  271. package/dist/actions/get-site-collection-info.d.mts +15 -3
  272. package/dist/actions/get-site-collection-info.mjs +1 -1
  273. package/dist/actions/get-site-collection-info.mjs.map +1 -1
  274. package/dist/actions/get-site-drive-item-by-path.cjs +4 -4
  275. package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -1
  276. package/dist/actions/get-site-drive-item-by-path.d.cts +39 -27
  277. package/dist/actions/get-site-drive-item-by-path.d.mts +39 -27
  278. package/dist/actions/get-site-drive-item-by-path.mjs +4 -4
  279. package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -1
  280. package/dist/actions/get-site-page-content.d.cts +13 -1
  281. package/dist/actions/get-site-page-content.d.mts +13 -1
  282. package/dist/actions/get-site-root.cjs +1 -1
  283. package/dist/actions/get-site-root.cjs.map +1 -1
  284. package/dist/actions/get-site-root.d.cts +20 -8
  285. package/dist/actions/get-site-root.d.mts +20 -8
  286. package/dist/actions/get-site-root.mjs +1 -1
  287. package/dist/actions/get-site-root.mjs.map +1 -1
  288. package/dist/actions/get-user-effective-permissions-on-web.cjs +1 -1
  289. package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -1
  290. package/dist/actions/get-user-effective-permissions-on-web.d.cts +14 -2
  291. package/dist/actions/get-user-effective-permissions-on-web.d.mts +14 -2
  292. package/dist/actions/get-user-effective-permissions-on-web.mjs +1 -1
  293. package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -1
  294. package/dist/actions/get-web-info.cjs +1 -1
  295. package/dist/actions/get-web-info.cjs.map +1 -1
  296. package/dist/actions/get-web-info.d.cts +20 -8
  297. package/dist/actions/get-web-info.d.mts +20 -8
  298. package/dist/actions/get-web-info.mjs +1 -1
  299. package/dist/actions/get-web-info.mjs.map +1 -1
  300. package/dist/actions/get-webhook-subscription.cjs +1 -1
  301. package/dist/actions/get-webhook-subscription.cjs.map +1 -1
  302. package/dist/actions/get-webhook-subscription.d.cts +14 -2
  303. package/dist/actions/get-webhook-subscription.d.mts +14 -2
  304. package/dist/actions/get-webhook-subscription.mjs +1 -1
  305. package/dist/actions/get-webhook-subscription.mjs.map +1 -1
  306. package/dist/actions/get-webhook-subscriptions.cjs +2 -2
  307. package/dist/actions/get-webhook-subscriptions.cjs.map +1 -1
  308. package/dist/actions/get-webhook-subscriptions.d.cts +15 -3
  309. package/dist/actions/get-webhook-subscriptions.d.mts +15 -3
  310. package/dist/actions/get-webhook-subscriptions.mjs +2 -2
  311. package/dist/actions/get-webhook-subscriptions.mjs.map +1 -1
  312. package/dist/actions/is-followed.cjs +1 -1
  313. package/dist/actions/is-followed.cjs.map +1 -1
  314. package/dist/actions/is-followed.d.cts +14 -2
  315. package/dist/actions/is-followed.d.mts +14 -2
  316. package/dist/actions/is-followed.mjs +1 -1
  317. package/dist/actions/is-followed.mjs.map +1 -1
  318. package/dist/actions/list-all-lists.cjs +1 -1
  319. package/dist/actions/list-all-lists.cjs.map +1 -1
  320. package/dist/actions/list-all-lists.d.cts +14 -2
  321. package/dist/actions/list-all-lists.d.mts +14 -2
  322. package/dist/actions/list-all-lists.mjs +1 -1
  323. package/dist/actions/list-all-lists.mjs.map +1 -1
  324. package/dist/actions/list-drive-children.cjs +1 -1
  325. package/dist/actions/list-drive-children.cjs.map +1 -1
  326. package/dist/actions/list-drive-children.d.cts +14 -2
  327. package/dist/actions/list-drive-children.d.mts +14 -2
  328. package/dist/actions/list-drive-children.mjs +1 -1
  329. package/dist/actions/list-drive-children.mjs.map +1 -1
  330. package/dist/actions/list-drive-recent-items.cjs +1 -1
  331. package/dist/actions/list-drive-recent-items.cjs.map +1 -1
  332. package/dist/actions/list-drive-recent-items.d.cts +15 -3
  333. package/dist/actions/list-drive-recent-items.d.mts +15 -3
  334. package/dist/actions/list-drive-recent-items.mjs +1 -1
  335. package/dist/actions/list-drive-recent-items.mjs.map +1 -1
  336. package/dist/actions/list-drives-rest-api.d.cts +13 -1
  337. package/dist/actions/list-drives-rest-api.d.mts +13 -1
  338. package/dist/actions/list-files-in-folder.cjs +1 -1
  339. package/dist/actions/list-files-in-folder.cjs.map +1 -1
  340. package/dist/actions/list-files-in-folder.d.cts +14 -2
  341. package/dist/actions/list-files-in-folder.d.mts +14 -2
  342. package/dist/actions/list-files-in-folder.mjs +1 -1
  343. package/dist/actions/list-files-in-folder.mjs.map +1 -1
  344. package/dist/actions/list-item-attachments.cjs +2 -2
  345. package/dist/actions/list-item-attachments.cjs.map +1 -1
  346. package/dist/actions/list-item-attachments.d.cts +15 -3
  347. package/dist/actions/list-item-attachments.d.mts +15 -3
  348. package/dist/actions/list-item-attachments.mjs +2 -2
  349. package/dist/actions/list-item-attachments.mjs.map +1 -1
  350. package/dist/actions/list-list-columns.cjs +1 -1
  351. package/dist/actions/list-list-columns.cjs.map +1 -1
  352. package/dist/actions/list-list-columns.d.cts +14 -2
  353. package/dist/actions/list-list-columns.d.mts +14 -2
  354. package/dist/actions/list-list-columns.mjs +1 -1
  355. package/dist/actions/list-list-columns.mjs.map +1 -1
  356. package/dist/actions/list-recycle-bin-items.cjs +2 -2
  357. package/dist/actions/list-recycle-bin-items.cjs.map +1 -1
  358. package/dist/actions/list-recycle-bin-items.d.cts +15 -3
  359. package/dist/actions/list-recycle-bin-items.d.mts +15 -3
  360. package/dist/actions/list-recycle-bin-items.mjs +2 -2
  361. package/dist/actions/list-recycle-bin-items.mjs.map +1 -1
  362. package/dist/actions/list-site-drives.d.cts +13 -1
  363. package/dist/actions/list-site-drives.d.mts +13 -1
  364. package/dist/actions/list-site-groups.cjs +5 -5
  365. package/dist/actions/list-site-groups.cjs.map +1 -1
  366. package/dist/actions/list-site-groups.d.cts +21 -9
  367. package/dist/actions/list-site-groups.d.mts +21 -9
  368. package/dist/actions/list-site-groups.mjs +5 -5
  369. package/dist/actions/list-site-groups.mjs.map +1 -1
  370. package/dist/actions/list-site-users.cjs +8 -8
  371. package/dist/actions/list-site-users.cjs.map +1 -1
  372. package/dist/actions/list-site-users.d.cts +24 -12
  373. package/dist/actions/list-site-users.d.mts +24 -12
  374. package/dist/actions/list-site-users.mjs +8 -8
  375. package/dist/actions/list-site-users.mjs.map +1 -1
  376. package/dist/actions/list-sites.d.cts +13 -1
  377. package/dist/actions/list-sites.d.mts +13 -1
  378. package/dist/actions/list-subfolders-in-folder.cjs +1 -1
  379. package/dist/actions/list-subfolders-in-folder.cjs.map +1 -1
  380. package/dist/actions/list-subfolders-in-folder.d.cts +14 -2
  381. package/dist/actions/list-subfolders-in-folder.d.mts +14 -2
  382. package/dist/actions/list-subfolders-in-folder.mjs +1 -1
  383. package/dist/actions/list-subfolders-in-folder.mjs.map +1 -1
  384. package/dist/actions/log-event.cjs +1 -1
  385. package/dist/actions/log-event.cjs.map +1 -1
  386. package/dist/actions/log-event.d.cts +14 -2
  387. package/dist/actions/log-event.d.mts +14 -2
  388. package/dist/actions/log-event.mjs +1 -1
  389. package/dist/actions/log-event.mjs.map +1 -1
  390. package/dist/actions/recycle-file.cjs +1 -1
  391. package/dist/actions/recycle-file.cjs.map +1 -1
  392. package/dist/actions/recycle-file.d.cts +14 -2
  393. package/dist/actions/recycle-file.d.mts +14 -2
  394. package/dist/actions/recycle-file.mjs +1 -1
  395. package/dist/actions/recycle-file.mjs.map +1 -1
  396. package/dist/actions/recycle-list-item.cjs +1 -1
  397. package/dist/actions/recycle-list-item.cjs.map +1 -1
  398. package/dist/actions/recycle-list-item.d.cts +14 -2
  399. package/dist/actions/recycle-list-item.d.mts +14 -2
  400. package/dist/actions/recycle-list-item.mjs +1 -1
  401. package/dist/actions/recycle-list-item.mjs.map +1 -1
  402. package/dist/actions/rename-folder.cjs +1 -1
  403. package/dist/actions/rename-folder.cjs.map +1 -1
  404. package/dist/actions/rename-folder.d.cts +14 -2
  405. package/dist/actions/rename-folder.d.mts +14 -2
  406. package/dist/actions/rename-folder.mjs +1 -1
  407. package/dist/actions/rename-folder.mjs.map +1 -1
  408. package/dist/actions/render-list-data-as-stream.cjs +2 -2
  409. package/dist/actions/render-list-data-as-stream.cjs.map +1 -1
  410. package/dist/actions/render-list-data-as-stream.d.cts +16 -4
  411. package/dist/actions/render-list-data-as-stream.d.cts.map +1 -1
  412. package/dist/actions/render-list-data-as-stream.d.mts +16 -4
  413. package/dist/actions/render-list-data-as-stream.d.mts.map +1 -1
  414. package/dist/actions/render-list-data-as-stream.mjs +2 -2
  415. package/dist/actions/render-list-data-as-stream.mjs.map +1 -1
  416. package/dist/actions/restore-drive-item-version.cjs +1 -1
  417. package/dist/actions/restore-drive-item-version.cjs.map +1 -1
  418. package/dist/actions/restore-drive-item-version.d.cts +14 -2
  419. package/dist/actions/restore-drive-item-version.d.mts +14 -2
  420. package/dist/actions/restore-drive-item-version.mjs +1 -1
  421. package/dist/actions/restore-drive-item-version.mjs.map +1 -1
  422. package/dist/actions/restore-recycle-bin-item.cjs +1 -1
  423. package/dist/actions/restore-recycle-bin-item.cjs.map +1 -1
  424. package/dist/actions/restore-recycle-bin-item.d.cts +14 -2
  425. package/dist/actions/restore-recycle-bin-item.d.mts +14 -2
  426. package/dist/actions/restore-recycle-bin-item.mjs +1 -1
  427. package/dist/actions/restore-recycle-bin-item.mjs.map +1 -1
  428. package/dist/actions/search-files.cjs +14 -14
  429. package/dist/actions/search-files.cjs.map +1 -1
  430. package/dist/actions/search-files.d.cts +30 -18
  431. package/dist/actions/search-files.d.mts +30 -18
  432. package/dist/actions/search-files.mjs +14 -14
  433. package/dist/actions/search-files.mjs.map +1 -1
  434. package/dist/actions/search-query.cjs +10 -10
  435. package/dist/actions/search-query.cjs.map +1 -1
  436. package/dist/actions/search-query.d.cts +25 -13
  437. package/dist/actions/search-query.d.mts +25 -13
  438. package/dist/actions/search-query.mjs +10 -10
  439. package/dist/actions/search-query.mjs.map +1 -1
  440. package/dist/actions/search-suggest.cjs +1 -1
  441. package/dist/actions/search-suggest.cjs.map +1 -1
  442. package/dist/actions/search-suggest.d.cts +14 -2
  443. package/dist/actions/search-suggest.d.mts +14 -2
  444. package/dist/actions/search-suggest.mjs +1 -1
  445. package/dist/actions/search-suggest.mjs.map +1 -1
  446. package/dist/actions/sharepoint-check-out-file.cjs +1 -1
  447. package/dist/actions/sharepoint-check-out-file.cjs.map +1 -1
  448. package/dist/actions/sharepoint-check-out-file.d.cts +14 -2
  449. package/dist/actions/sharepoint-check-out-file.d.mts +14 -2
  450. package/dist/actions/sharepoint-check-out-file.mjs +1 -1
  451. package/dist/actions/sharepoint-check-out-file.mjs.map +1 -1
  452. package/dist/actions/sharepoint-create-folder.cjs +1 -1
  453. package/dist/actions/sharepoint-create-folder.cjs.map +1 -1
  454. package/dist/actions/sharepoint-create-folder.d.cts +14 -2
  455. package/dist/actions/sharepoint-create-folder.d.mts +14 -2
  456. package/dist/actions/sharepoint-create-folder.mjs +1 -1
  457. package/dist/actions/sharepoint-create-folder.mjs.map +1 -1
  458. package/dist/actions/sharepoint-create-list-item.cjs +1 -1
  459. package/dist/actions/sharepoint-create-list-item.cjs.map +1 -1
  460. package/dist/actions/sharepoint-create-list-item.d.cts +14 -2
  461. package/dist/actions/sharepoint-create-list-item.d.cts.map +1 -1
  462. package/dist/actions/sharepoint-create-list-item.d.mts +14 -2
  463. package/dist/actions/sharepoint-create-list-item.d.mts.map +1 -1
  464. package/dist/actions/sharepoint-create-list-item.mjs +1 -1
  465. package/dist/actions/sharepoint-create-list-item.mjs.map +1 -1
  466. package/dist/actions/sharepoint-create-list.cjs +1 -1
  467. package/dist/actions/sharepoint-create-list.cjs.map +1 -1
  468. package/dist/actions/sharepoint-create-list.d.cts +14 -2
  469. package/dist/actions/sharepoint-create-list.d.mts +14 -2
  470. package/dist/actions/sharepoint-create-list.mjs +1 -1
  471. package/dist/actions/sharepoint-create-list.mjs.map +1 -1
  472. package/dist/actions/sharepoint-find-user.cjs +2 -2
  473. package/dist/actions/sharepoint-find-user.cjs.map +1 -1
  474. package/dist/actions/sharepoint-find-user.d.cts +15 -3
  475. package/dist/actions/sharepoint-find-user.d.mts +15 -3
  476. package/dist/actions/sharepoint-find-user.mjs +2 -2
  477. package/dist/actions/sharepoint-find-user.mjs.map +1 -1
  478. package/dist/actions/sharepoint-remove-user.cjs +1 -1
  479. package/dist/actions/sharepoint-remove-user.cjs.map +1 -1
  480. package/dist/actions/sharepoint-remove-user.d.cts +14 -2
  481. package/dist/actions/sharepoint-remove-user.d.mts +14 -2
  482. package/dist/actions/sharepoint-remove-user.mjs +1 -1
  483. package/dist/actions/sharepoint-remove-user.mjs.map +1 -1
  484. package/dist/actions/undo-checkout-file.cjs +1 -1
  485. package/dist/actions/undo-checkout-file.cjs.map +1 -1
  486. package/dist/actions/undo-checkout-file.d.cts +14 -2
  487. package/dist/actions/undo-checkout-file.d.mts +14 -2
  488. package/dist/actions/undo-checkout-file.mjs +1 -1
  489. package/dist/actions/undo-checkout-file.mjs.map +1 -1
  490. package/dist/actions/update-content-type.cjs +6 -6
  491. package/dist/actions/update-content-type.cjs.map +1 -1
  492. package/dist/actions/update-content-type.d.cts +23 -7
  493. package/dist/actions/update-content-type.d.mts +23 -7
  494. package/dist/actions/update-content-type.mjs +6 -6
  495. package/dist/actions/update-content-type.mjs.map +1 -1
  496. package/dist/actions/update-drive-item.d.cts +13 -1
  497. package/dist/actions/update-drive-item.d.mts +13 -1
  498. package/dist/actions/update-file-item.cjs +2 -2
  499. package/dist/actions/update-file-item.cjs.map +1 -1
  500. package/dist/actions/update-file-item.d.cts +16 -4
  501. package/dist/actions/update-file-item.d.cts.map +1 -1
  502. package/dist/actions/update-file-item.d.mts +16 -4
  503. package/dist/actions/update-file-item.d.mts.map +1 -1
  504. package/dist/actions/update-file-item.mjs +2 -2
  505. package/dist/actions/update-file-item.mjs.map +1 -1
  506. package/dist/actions/update-list-item.cjs +2 -2
  507. package/dist/actions/update-list-item.cjs.map +1 -1
  508. package/dist/actions/update-list-item.d.cts +16 -4
  509. package/dist/actions/update-list-item.d.cts.map +1 -1
  510. package/dist/actions/update-list-item.d.mts +16 -4
  511. package/dist/actions/update-list-item.d.mts.map +1 -1
  512. package/dist/actions/update-list-item.mjs +2 -2
  513. package/dist/actions/update-list-item.mjs.map +1 -1
  514. package/dist/actions/update-list.cjs +1 -1
  515. package/dist/actions/update-list.cjs.map +1 -1
  516. package/dist/actions/update-list.d.cts +14 -2
  517. package/dist/actions/update-list.d.mts +14 -2
  518. package/dist/actions/update-list.mjs +1 -1
  519. package/dist/actions/update-list.mjs.map +1 -1
  520. package/dist/actions/update-site.cjs +1 -1
  521. package/dist/actions/update-site.cjs.map +1 -1
  522. package/dist/actions/update-site.d.cts +14 -2
  523. package/dist/actions/update-site.d.mts +14 -2
  524. package/dist/actions/update-site.mjs +1 -1
  525. package/dist/actions/update-site.mjs.map +1 -1
  526. package/dist/actions/upload-file.cjs +1 -1
  527. package/dist/actions/upload-file.cjs.map +1 -1
  528. package/dist/actions/upload-file.d.cts +14 -2
  529. package/dist/actions/upload-file.d.mts +14 -2
  530. package/dist/actions/upload-file.mjs +1 -1
  531. package/dist/actions/upload-file.mjs.map +1 -1
  532. package/dist/actions/upload-from-url.cjs +2 -2
  533. package/dist/actions/upload-from-url.cjs.map +1 -1
  534. package/dist/actions/upload-from-url.d.cts +16 -4
  535. package/dist/actions/upload-from-url.d.cts.map +1 -1
  536. package/dist/actions/upload-from-url.d.mts +16 -4
  537. package/dist/actions/upload-from-url.d.mts.map +1 -1
  538. package/dist/actions/upload-from-url.mjs +2 -2
  539. package/dist/actions/upload-from-url.mjs.map +1 -1
  540. package/dist/actions/validate-credential.cjs +1 -1
  541. package/dist/actions/validate-credential.cjs.map +1 -1
  542. package/dist/actions/validate-credential.d.cts +14 -2
  543. package/dist/actions/validate-credential.d.mts +14 -2
  544. package/dist/actions/validate-credential.mjs +1 -1
  545. package/dist/actions/validate-credential.mjs.map +1 -1
  546. package/dist/app.cjs +5 -2
  547. package/dist/app.cjs.map +1 -1
  548. package/dist/app.d.cts +9 -1
  549. package/dist/app.d.cts.map +1 -1
  550. package/dist/app.d.mts +9 -1
  551. package/dist/app.d.mts.map +1 -1
  552. package/dist/app.mjs +3 -1
  553. package/dist/app.mjs.map +1 -1
  554. package/dist/execute.cjs +1 -1
  555. package/dist/execute.cjs.map +1 -1
  556. package/dist/execute.mjs +1 -1
  557. package/dist/execute.mjs.map +1 -1
  558. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-type.cjs","names":["z","action"],"sources":["../../src/actions/get-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypeInput = z.object({\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 content_type_id: z.string().describe(\"The unique identifier of the content type to retrieve. This can be the hexadecimal content type ID (e.g., '0x01' for Item, '0x0101' for Document) or the string representation. Common IDs: '0x01' (Item), '0x0101' (Document), '0x0120' (Folder).\"),\n}).describe(\"Request model for retrieving a single SharePoint content type by ID.\");\nconst SharePointGetContentType_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable(),\n}).describe(\"Model for the content type ID object.\");\nexport const SharePointGetContentTypeOutput = z.object({\n Id: SharePointGetContentType_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type (e.g., 'Item', 'Document', 'Folder', 'Task').\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Document Content Types', 'Folder Content Types').\").nullable().optional(),\n Scope: z.string().describe(\"Scope of the content type (e.g., site collection, web).\").nullable().optional(),\n Hidden: z.boolean().describe(\"Indicates whether the content type is hidden from the user interface.\").nullable().optional(),\n JSLink: z.string().describe(\"JavaScript link or file associated with this content type for customization.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Indicates whether the content type is sealed and cannot be customized further.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Indicates whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n SchemaXml: z.string().describe(\"XML schema defining the content type structure and fields.\").nullable().optional(),\n NewFormUrl: z.string().describe(\"Server-relative URL of the new item form for this content type.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type explaining its purpose.\").nullable().optional(),\n EditFormUrl: z.string().describe(\"Server-relative URL of the edit form for this content type.\").nullable().optional(),\n DisplayFormUrl: z.string().describe(\"Server-relative URL of the display form for this content type.\").nullable().optional(),\n DocumentTemplate: z.string().describe(\"Document template associated with this content type.\").nullable().optional(),\n MobileNewFormUrl: z.string().describe(\"Server-relative URL of the mobile new item form.\").nullable().optional(),\n MobileEditFormUrl: z.string().describe(\"Server-relative URL of the mobile edit form.\").nullable().optional(),\n DocumentTemplateUrl: z.string().describe(\"Server-relative URL of the document template.\").nullable().optional(),\n NewFormTemplateName: z.string().describe(\"Name of the new form template used by this content type.\").nullable().optional(),\n EditFormTemplateName: z.string().describe(\"Name of the edit form template used by this content type.\").nullable().optional(),\n MobileDisplayFormUrl: z.string().describe(\"Server-relative URL of the mobile display form.\").nullable().optional(),\n DisplayFormTemplateName: z.string().describe(\"Name of the display form template used by this content type.\").nullable().optional(),\n}).describe(\"Response model containing a single SharePoint content type.\");\n\nexport const sharePointGetContentType = action(\"SHARE_POINT_GET_CONTENT_TYPE\", {\n slug: \"share_point-get-content-type\",\n name: \"Get Content Type\",\n description: \"Tool to retrieve a single SharePoint content type by its ID. Use when you need detailed information about a specific content type including its fields, forms, and metadata.\",\n input: SharePointGetContentTypeInput,\n output: SharePointGetContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP;AAC3R,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,iCAAiCA,IAAAA,E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,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,6DAA6D;AAEzE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-content-type.cjs","names":["z","action"],"sources":["../../src/actions/get-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypeInput = z.object({\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 content_type_id: z.string().describe(\"The unique identifier of the content type to retrieve. This can be the hexadecimal content type ID (e.g., '0x01' for Item, '0x0101' for Document) or the string representation. Common IDs: '0x01' (Item), '0x0101' (Document), '0x0120' (Folder).\"),\n}).describe(\"Request model for retrieving a single SharePoint content type by ID.\");\nconst SharePointGetContentType_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nexport const SharePointGetContentTypeOutput = z.object({\n Id: SharePointGetContentType_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type (e.g., 'Item', 'Document', 'Folder', 'Task').\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Document Content Types', 'Folder Content Types').\").nullable().optional(),\n Scope: z.string().describe(\"Scope of the content type (e.g., site collection, web).\").nullable().optional(),\n Hidden: z.boolean().describe(\"Indicates whether the content type is hidden from the user interface.\").nullable().optional(),\n JSLink: z.string().describe(\"JavaScript link or file associated with this content type for customization.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Indicates whether the content type is sealed and cannot be customized further.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Indicates whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n SchemaXml: z.string().describe(\"XML schema defining the content type structure and fields.\").nullable().optional(),\n NewFormUrl: z.string().describe(\"Server-relative URL of the new item form for this content type.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type explaining its purpose.\").nullable().optional(),\n EditFormUrl: z.string().describe(\"Server-relative URL of the edit form for this content type.\").nullable().optional(),\n DisplayFormUrl: z.string().describe(\"Server-relative URL of the display form for this content type.\").nullable().optional(),\n DocumentTemplate: z.string().describe(\"Document template associated with this content type.\").nullable().optional(),\n MobileNewFormUrl: z.string().describe(\"Server-relative URL of the mobile new item form.\").nullable().optional(),\n MobileEditFormUrl: z.string().describe(\"Server-relative URL of the mobile edit form.\").nullable().optional(),\n DocumentTemplateUrl: z.string().describe(\"Server-relative URL of the document template.\").nullable().optional(),\n NewFormTemplateName: z.string().describe(\"Name of the new form template used by this content type.\").nullable().optional(),\n EditFormTemplateName: z.string().describe(\"Name of the edit form template used by this content type.\").nullable().optional(),\n MobileDisplayFormUrl: z.string().describe(\"Server-relative URL of the mobile display form.\").nullable().optional(),\n DisplayFormTemplateName: z.string().describe(\"Name of the display form template used by this content type.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a single SharePoint content type.\");\n\nexport const sharePointGetContentType = action(\"SHARE_POINT_GET_CONTENT_TYPE\", {\n slug: \"share_point-get-content-type\",\n name: \"Get Content Type\",\n description: \"Tool to retrieve a single SharePoint content type by its ID. Use when you need detailed information about a specific content type including its fields, forms, and metadata.\",\n input: SharePointGetContentTypeInput,\n output: SharePointGetContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP;AAC3R,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO,EAC5D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAI,6CAA6C,SAAS;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,OAAOA,IAAAA,EAAE,OAAO,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mBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,sBAAsBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAEvF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -8,7 +8,7 @@ declare const SharePointGetContentTypeInput: z.ZodObject<{
8
8
  declare const SharePointGetContentTypeOutput: z.ZodObject<{
9
9
  Id: z.ZodNullable<z.ZodObject<{
10
10
  StringValue: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  Name: z.ZodNullable<z.ZodString>;
13
13
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  Scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30,11 +30,23 @@ declare const SharePointGetContentTypeOutput: z.ZodObject<{
30
30
  EditFormTemplateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  MobileDisplayFormUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  DisplayFormTemplateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>;
33
+ }, z.core.$loose>;
34
34
  declare const sharePointGetContentType: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  content_type_id: string;
36
36
  site_name?: string | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ accessToken: z.ZodString;
43
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ accessToken: z.ZodString;
49
+ }, z.core.$strip>>]>;
38
50
  //#endregion
39
51
  export { sharePointGetContentType };
40
52
  //# sourceMappingURL=get-content-type.d.cts.map
@@ -8,7 +8,7 @@ declare const SharePointGetContentTypeInput: z.ZodObject<{
8
8
  declare const SharePointGetContentTypeOutput: z.ZodObject<{
9
9
  Id: z.ZodNullable<z.ZodObject<{
10
10
  StringValue: z.ZodNullable<z.ZodString>;
11
- }, z.core.$strip>>;
11
+ }, z.core.$loose>>;
12
12
  Name: z.ZodNullable<z.ZodString>;
13
13
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
14
  Scope: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30,11 +30,23 @@ declare const SharePointGetContentTypeOutput: z.ZodObject<{
30
30
  EditFormTemplateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  MobileDisplayFormUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  DisplayFormTemplateName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
- }, z.core.$strip>;
33
+ }, z.core.$loose>;
34
34
  declare const sharePointGetContentType: import("@keystrokehq/action").WorkflowActionDefinition<{
35
35
  content_type_id: string;
36
36
  site_name?: string | undefined;
37
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
37
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
38
+ connectionId: z.ZodString;
39
+ entityId: z.ZodString;
40
+ instanceId: z.ZodString;
41
+ }, z.core.$strip>, z.ZodObject<{
42
+ accessToken: z.ZodString;
43
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
44
+ connectionId: z.ZodString;
45
+ entityId: z.ZodString;
46
+ instanceId: z.ZodString;
47
+ }, z.core.$strip>, z.ZodObject<{
48
+ accessToken: z.ZodString;
49
+ }, z.core.$strip>>]>;
38
50
  //#endregion
39
51
  export { sharePointGetContentType };
40
52
  //# sourceMappingURL=get-content-type.d.mts.map
@@ -5,7 +5,7 @@ const SharePointGetContentTypeInput = z.object({
5
5
  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(),
6
6
  content_type_id: z.string().describe("The unique identifier of the content type to retrieve. This can be the hexadecimal content type ID (e.g., '0x01' for Item, '0x0101' for Document) or the string representation. Common IDs: '0x01' (Item), '0x0101' (Document), '0x0120' (Folder).")
7
7
  }).describe("Request model for retrieving a single SharePoint content type by ID.");
8
- const SharePointGetContentType_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID.").nullable() }).describe("Model for the content type ID object.");
8
+ const SharePointGetContentType_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID.").nullable() }).passthrough().describe("Model for the content type ID object.");
9
9
  const sharePointGetContentType = action("SHARE_POINT_GET_CONTENT_TYPE", {
10
10
  slug: "share_point-get-content-type",
11
11
  name: "Get Content Type",
@@ -34,7 +34,7 @@ const sharePointGetContentType = action("SHARE_POINT_GET_CONTENT_TYPE", {
34
34
  EditFormTemplateName: z.string().describe("Name of the edit form template used by this content type.").nullable().optional(),
35
35
  MobileDisplayFormUrl: z.string().describe("Server-relative URL of the mobile display form.").nullable().optional(),
36
36
  DisplayFormTemplateName: z.string().describe("Name of the display form template used by this content type.").nullable().optional()
37
- }).describe("Response model containing a single SharePoint content type.")
37
+ }).passthrough().describe("Response model containing a single SharePoint content type.")
38
38
  });
39
39
  //#endregion
40
40
  export { sharePointGetContentType };
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-type.mjs","names":[],"sources":["../../src/actions/get-content-type.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypeInput = z.object({\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 content_type_id: z.string().describe(\"The unique identifier of the content type to retrieve. This can be the hexadecimal content type ID (e.g., '0x01' for Item, '0x0101' for Document) or the string representation. Common IDs: '0x01' (Item), '0x0101' (Document), '0x0120' (Folder).\"),\n}).describe(\"Request model for retrieving a single SharePoint content type by ID.\");\nconst SharePointGetContentType_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable(),\n}).describe(\"Model for the content type ID object.\");\nexport const SharePointGetContentTypeOutput = z.object({\n Id: SharePointGetContentType_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type (e.g., 'Item', 'Document', 'Folder', 'Task').\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Document Content Types', 'Folder Content Types').\").nullable().optional(),\n Scope: z.string().describe(\"Scope of the content type (e.g., site collection, web).\").nullable().optional(),\n Hidden: z.boolean().describe(\"Indicates whether the content type is hidden from the user interface.\").nullable().optional(),\n JSLink: z.string().describe(\"JavaScript link or file associated with this content type for customization.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Indicates whether the content type is sealed and cannot be customized further.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Indicates whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n SchemaXml: z.string().describe(\"XML schema defining the content type structure and fields.\").nullable().optional(),\n NewFormUrl: z.string().describe(\"Server-relative URL of the new item form for this content type.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type explaining its purpose.\").nullable().optional(),\n EditFormUrl: z.string().describe(\"Server-relative URL of the edit form for this content type.\").nullable().optional(),\n DisplayFormUrl: z.string().describe(\"Server-relative URL of the display form for this content type.\").nullable().optional(),\n DocumentTemplate: z.string().describe(\"Document template associated with this content type.\").nullable().optional(),\n MobileNewFormUrl: z.string().describe(\"Server-relative URL of the mobile new item form.\").nullable().optional(),\n MobileEditFormUrl: z.string().describe(\"Server-relative URL of the mobile edit form.\").nullable().optional(),\n DocumentTemplateUrl: z.string().describe(\"Server-relative URL of the document template.\").nullable().optional(),\n NewFormTemplateName: z.string().describe(\"Name of the new form template used by this content type.\").nullable().optional(),\n EditFormTemplateName: z.string().describe(\"Name of the edit form template used by this content type.\").nullable().optional(),\n MobileDisplayFormUrl: z.string().describe(\"Server-relative URL of the mobile display form.\").nullable().optional(),\n DisplayFormTemplateName: z.string().describe(\"Name of the display form template used by this content type.\").nullable().optional(),\n}).describe(\"Response model containing a single SharePoint content type.\");\n\nexport const sharePointGetContentType = action(\"SHARE_POINT_GET_CONTENT_TYPE\", {\n slug: \"share_point-get-content-type\",\n name: \"Get Content Type\",\n description: \"Tool to retrieve a single SharePoint content type by its ID. Use when you need detailed information about a specific content type including its fields, forms, and metadata.\",\n input: SharePointGetContentTypeInput,\n output: SharePointGetContent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{ z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypeInput = z.object({\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 content_type_id: z.string().describe(\"The unique identifier of the content type to retrieve. This can be the hexadecimal content type ID (e.g., '0x01' for Item, '0x0101' for Document) or the string representation. Common IDs: '0x01' (Item), '0x0101' (Document), '0x0120' (Folder).\"),\n}).describe(\"Request model for retrieving a single SharePoint content type by ID.\");\nconst SharePointGetContentType_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID.\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nexport const SharePointGetContentTypeOutput = z.object({\n Id: SharePointGetContentType_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type (e.g., 'Item', 'Document', 'Folder', 'Task').\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Document Content Types', 'Folder Content Types').\").nullable().optional(),\n Scope: z.string().describe(\"Scope of the content type (e.g., site collection, web).\").nullable().optional(),\n Hidden: z.boolean().describe(\"Indicates whether the content type is hidden from the user interface.\").nullable().optional(),\n JSLink: z.string().describe(\"JavaScript link or file associated with this content type for customization.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Indicates whether the content type is sealed and cannot be customized further.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Indicates whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n SchemaXml: z.string().describe(\"XML schema defining the content type structure and fields.\").nullable().optional(),\n NewFormUrl: z.string().describe(\"Server-relative URL of the new item form for this content type.\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type explaining its purpose.\").nullable().optional(),\n EditFormUrl: z.string().describe(\"Server-relative URL of the edit form for this content type.\").nullable().optional(),\n DisplayFormUrl: z.string().describe(\"Server-relative URL of the display form for this content type.\").nullable().optional(),\n DocumentTemplate: z.string().describe(\"Document template associated with this content type.\").nullable().optional(),\n MobileNewFormUrl: z.string().describe(\"Server-relative URL of the mobile new item form.\").nullable().optional(),\n MobileEditFormUrl: z.string().describe(\"Server-relative URL of the mobile edit form.\").nullable().optional(),\n DocumentTemplateUrl: z.string().describe(\"Server-relative URL of the document template.\").nullable().optional(),\n NewFormTemplateName: z.string().describe(\"Name of the new form template used by this content type.\").nullable().optional(),\n EditFormTemplateName: z.string().describe(\"Name of the edit form template used by this content type.\").nullable().optional(),\n MobileDisplayFormUrl: z.string().describe(\"Server-relative URL of the mobile display form.\").nullable().optional(),\n DisplayFormTemplateName: z.string().describe(\"Name of the display form template used by this content type.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing a single SharePoint content type.\");\n\nexport const sharePointGetContentType = action(\"SHARE_POINT_GET_CONTENT_TYPE\", {\n slug: \"share_point-get-content-type\",\n name: \"Get Content Type\",\n description: \"Tool to retrieve a single SharePoint content type by its ID. Use when you need detailed information about a specific content type including its fields, forms, and metadata.\",\n input: SharePointGetContentTypeInput,\n output: SharePointGetContentTypeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,oPAAoP;AAC3R,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAM,+CAA+C,EAAE,OAAO,EAC5D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AA0BjE,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QA9B4C,EAAE,OAAO;EACrD,IAAI,6CAA6C,SAAS;EAC1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OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9G,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SharePointGetContentTypesForListInput = zod.z.object({
5
5
  list_guid: zod.z.string().describe("GUID of the SharePoint list to retrieve content types for, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'."),
6
6
  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()
7
7
  }).describe("Request model for retrieving content types of a SharePoint list by GUID.");
8
- const SharePointGetContentTypesForList_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).describe("Model for the content type ID object.");
8
+ const SharePointGetContentTypesForList_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).passthrough().describe("Model for the content type ID object.");
9
9
  const SharePointGetContentTypesForList_ContentTypeSchema = zod.z.object({
10
10
  Id: SharePointGetContentTypesForList_ContentTypeIdSchema.nullable(),
11
11
  Name: zod.z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'.").nullable(),
@@ -15,8 +15,8 @@ const SharePointGetContentTypesForList_ContentTypeSchema = zod.z.object({
15
15
  ReadOnly: zod.z.boolean().describe("Whether the content type is read-only and cannot be modified.").nullable().optional(),
16
16
  StringId: zod.z.string().describe("String representation of the content type ID (alternative to Id.StringValue).").nullable().optional(),
17
17
  Description: zod.z.string().describe("Description of the content type, e.g., 'Create a new list item.'.").nullable().optional()
18
- }).describe("Model representing a SharePoint content type.");
19
- const SharePointGetContentTypesForListOutput = zod.z.object({ content_types: zod.z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe("List of content types for the specified SharePoint list.") }).describe("Response model containing a list of content types.");
18
+ }).passthrough().describe("Model representing a SharePoint content type.");
19
+ const SharePointGetContentTypesForListOutput = zod.z.object({ content_types: zod.z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe("List of content types for the specified SharePoint list.") }).passthrough().describe("Response model containing a list of content types.");
20
20
  const sharePointGetContentTypesForList = require_action.action("SHARE_POINT_GET_CONTENT_TYPES_FOR_LIST", {
21
21
  slug: "share_point-get-content-types-for-list",
22
22
  name: "Get Content Types for List",
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types-for-list.cjs","names":["z","action"],"sources":["../../src/actions/get-content-types-for-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesForListInput = z.object({\n list_guid: z.string().describe(\"GUID of the SharePoint list to retrieve content types for, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n}).describe(\"Request model for retrieving content types of a SharePoint list by GUID.\");\nconst SharePointGetContentTypesForList_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypesForList_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypesForList_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Folder Content Types').\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (alternative to Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesForListOutput = z.object({\n content_types: z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe(\"List of content types for the specified SharePoint list.\"),\n}).describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypesForList = action(\"SHARE_POINT_GET_CONTENT_TYPES_FOR_LIST\", {\n slug: \"share_point-get-content-types-for-list\",\n name: \"Get Content Types for List\",\n description: \"Tool to retrieve all content types for a specific SharePoint list by GUID. Use when you need the content type IDs, names, and descriptions of every content type in a list.\",\n input: SharePointGetContentTypesForListInput,\n output: SharePointGetContentTypesForListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAC9J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;AAC1O,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuDA,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"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesForListInput = z.object({\n list_guid: z.string().describe(\"GUID of the SharePoint list to retrieve content types for, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n}).describe(\"Request model for retrieving content types of a SharePoint list by GUID.\");\nconst SharePointGetContentTypesForList_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypesForList_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypesForList_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Folder Content Types').\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (alternative to Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesForListOutput = z.object({\n content_types: z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe(\"List of content types for the specified SharePoint list.\"),\n}).passthrough().describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypesForList = action(\"SHARE_POINT_GET_CONTENT_TYPES_FOR_LIST\", {\n slug: \"share_point-get-content-types-for-list\",\n name: \"Get Content Types for List\",\n description: \"Tool to retrieve all content types for a specific SharePoint list by GUID. Use when you need the content type IDs, names, and descriptions of every content type in a list.\",\n input: SharePointGetContentTypesForListInput,\n output: SharePointGetContentTypesForListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAC9J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;AAC1O,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,IAAI,qDAAqD,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,eAAeA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0DAA0D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,7 +9,7 @@ declare const SharePointGetContentTypesForListOutput: z.ZodObject<{
9
9
  content_types: z.ZodArray<z.ZodObject<{
10
10
  Id: z.ZodNullable<z.ZodObject<{
11
11
  StringValue: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  Name: z.ZodNullable<z.ZodString>;
14
14
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -17,12 +17,24 @@ declare const SharePointGetContentTypesForListOutput: z.ZodObject<{
17
17
  ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
22
  declare const sharePointGetContentTypesForList: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  list_guid: string;
24
24
  site_name?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ accessToken: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { sharePointGetContentTypesForList };
28
40
  //# sourceMappingURL=get-content-types-for-list.d.cts.map
@@ -9,7 +9,7 @@ declare const SharePointGetContentTypesForListOutput: z.ZodObject<{
9
9
  content_types: z.ZodArray<z.ZodObject<{
10
10
  Id: z.ZodNullable<z.ZodObject<{
11
11
  StringValue: z.ZodNullable<z.ZodString>;
12
- }, z.core.$strip>>;
12
+ }, z.core.$loose>>;
13
13
  Name: z.ZodNullable<z.ZodString>;
14
14
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -17,12 +17,24 @@ declare const SharePointGetContentTypesForListOutput: z.ZodObject<{
17
17
  ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
18
18
  StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
- }, z.core.$strip>>;
21
- }, z.core.$strip>;
20
+ }, z.core.$loose>>;
21
+ }, z.core.$loose>;
22
22
  declare const sharePointGetContentTypesForList: import("@keystrokehq/action").WorkflowActionDefinition<{
23
23
  list_guid: string;
24
24
  site_name?: string | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
25
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
32
+ connectionId: z.ZodString;
33
+ entityId: z.ZodString;
34
+ instanceId: z.ZodString;
35
+ }, z.core.$strip>, z.ZodObject<{
36
+ accessToken: z.ZodString;
37
+ }, z.core.$strip>>]>;
26
38
  //#endregion
27
39
  export { sharePointGetContentTypesForList };
28
40
  //# sourceMappingURL=get-content-types-for-list.d.mts.map
@@ -5,7 +5,7 @@ const SharePointGetContentTypesForListInput = z.object({
5
5
  list_guid: z.string().describe("GUID of the SharePoint list to retrieve content types for, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'."),
6
6
  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()
7
7
  }).describe("Request model for retrieving content types of a SharePoint list by GUID.");
8
- const SharePointGetContentTypesForList_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).describe("Model for the content type ID object.");
8
+ const SharePointGetContentTypesForList_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).passthrough().describe("Model for the content type ID object.");
9
9
  const SharePointGetContentTypesForList_ContentTypeSchema = z.object({
10
10
  Id: SharePointGetContentTypesForList_ContentTypeIdSchema.nullable(),
11
11
  Name: z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'.").nullable(),
@@ -15,13 +15,13 @@ const SharePointGetContentTypesForList_ContentTypeSchema = z.object({
15
15
  ReadOnly: z.boolean().describe("Whether the content type is read-only and cannot be modified.").nullable().optional(),
16
16
  StringId: z.string().describe("String representation of the content type ID (alternative to Id.StringValue).").nullable().optional(),
17
17
  Description: z.string().describe("Description of the content type, e.g., 'Create a new list item.'.").nullable().optional()
18
- }).describe("Model representing a SharePoint content type.");
18
+ }).passthrough().describe("Model representing a SharePoint content type.");
19
19
  const sharePointGetContentTypesForList = action("SHARE_POINT_GET_CONTENT_TYPES_FOR_LIST", {
20
20
  slug: "share_point-get-content-types-for-list",
21
21
  name: "Get Content Types for List",
22
22
  description: "Tool to retrieve all content types for a specific SharePoint list by GUID. Use when you need the content type IDs, names, and descriptions of every content type in a list.",
23
23
  input: SharePointGetContentTypesForListInput,
24
- output: z.object({ content_types: z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe("List of content types for the specified SharePoint list.") }).describe("Response model containing a list of content types.")
24
+ output: z.object({ content_types: z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe("List of content types for the specified SharePoint list.") }).passthrough().describe("Response model containing a list of content types.")
25
25
  });
26
26
  //#endregion
27
27
  export { sharePointGetContentTypesForList };
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types-for-list.mjs","names":[],"sources":["../../src/actions/get-content-types-for-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesForListInput = z.object({\n list_guid: z.string().describe(\"GUID of the SharePoint list to retrieve content types for, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n}).describe(\"Request model for retrieving content types of a SharePoint list by GUID.\");\nconst SharePointGetContentTypesForList_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypesForList_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypesForList_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Folder Content Types').\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (alternative to Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesForListOutput = z.object({\n content_types: z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe(\"List of content types for the specified SharePoint list.\"),\n}).describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypesForList = action(\"SHARE_POINT_GET_CONTENT_TYPES_FOR_LIST\", {\n slug: \"share_point-get-content-types-for-list\",\n name: \"Get Content Types for List\",\n description: \"Tool to retrieve all content types for a specific SharePoint list by GUID. Use when you need the content type IDs, names, and descriptions of every content type in a list.\",\n input: SharePointGetContentTypesForListInput,\n output: SharePointGetContentTypesForListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAC9J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;AAC1O,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuD,EAAE,OAAO,EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,qDAAqD,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,eAAe,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0DAA0D,EAChJ,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-content-types-for-list.mjs","names":[],"sources":["../../src/actions/get-content-types-for-list.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesForListInput = z.object({\n list_guid: z.string().describe(\"GUID of the SharePoint list to retrieve content types for, in canonical format, e.g., '01234567-89ab-cdef-0123-456789abcdef'.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.\").optional(),\n}).describe(\"Request model for retrieving content types of a SharePoint list by GUID.\");\nconst SharePointGetContentTypesForList_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypesForList_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypesForList_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group category (e.g., 'List Content Types', 'Folder Content Types').\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (alternative to Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesForListOutput = z.object({\n content_types: z.array(SharePointGetContentTypesForList_ContentTypeSchema).describe(\"List of content types for the specified SharePoint list.\"),\n}).passthrough().describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypesForList = action(\"SHARE_POINT_GET_CONTENT_TYPES_FOR_LIST\", {\n slug: \"share_point-get-content-types-for-list\",\n name: \"Get Content Types for List\",\n description: \"Tool to retrieve all content types for a specific SharePoint list by GUID. Use when you need the content type IDs, names, and descriptions of every content type in a list.\",\n input: SharePointGetContentTypesForListInput,\n output: SharePointGetContentTypesForListOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H;CAC9J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;AAC1O,CAAC,CAAC,CAAC,SAAS,0EAA0E;AACtF,MAAM,uDAAuD,EAAE,OAAO,EACpE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,qDAAqD,EAAE,OAAO;CAClE,IAAI,qDAAqD,SAAS;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,eAAe,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,0DAA0D,EAChJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const SharePointGetContentTypesInput = zod.z.object({
10
10
  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(),
11
11
  skiptoken: zod.z.string().describe("OData $skiptoken for paging through results.").optional()
12
12
  }).describe("Optional OData query parameters for retrieving all SharePoint site content types.");
13
- const SharePointGetContentTypes_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).describe("Model for the content type ID object.");
13
+ const SharePointGetContentTypes_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).passthrough().describe("Model for the content type ID object.");
14
14
  const SharePointGetContentTypes_ContentTypeSchema = zod.z.object({
15
15
  Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),
16
16
  Name: zod.z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'.").nullable(),
@@ -20,8 +20,8 @@ const SharePointGetContentTypes_ContentTypeSchema = zod.z.object({
20
20
  ReadOnly: zod.z.boolean().describe("Whether the content type is read-only and cannot be modified.").nullable().optional(),
21
21
  StringId: zod.z.string().describe("String representation of the content type ID (convenience field, same as Id.StringValue).").nullable().optional(),
22
22
  Description: zod.z.string().describe("Description of the content type, e.g., 'Create a new list item.'.").nullable().optional()
23
- }).describe("Model representing a SharePoint content type.");
24
- const SharePointGetContentTypesOutput = zod.z.object({ content_types: zod.z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).describe("Response model containing a list of content types.");
23
+ }).passthrough().describe("Model representing a SharePoint content type.");
24
+ const SharePointGetContentTypesOutput = zod.z.object({ content_types: zod.z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).passthrough().describe("Response model containing a list of content types.");
25
25
  const sharePointGetContentTypes = require_action.action("SHARE_POINT_GET_CONTENT_TYPES", {
26
26
  slug: "share_point-get-content-types",
27
27
  name: "Get Site Content Types",
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types.cjs","names":["z","action"],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").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 skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAI,8CAA8C,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-content-types.cjs","names":["z","action"],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").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 skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).passthrough().describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA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CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -14,7 +14,7 @@ declare const SharePointGetContentTypesOutput: z.ZodObject<{
14
14
  content_types: z.ZodArray<z.ZodObject<{
15
15
  Id: z.ZodNullable<z.ZodObject<{
16
16
  StringValue: z.ZodNullable<z.ZodString>;
17
- }, z.core.$strip>>;
17
+ }, z.core.$loose>>;
18
18
  Name: z.ZodNullable<z.ZodString>;
19
19
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -22,8 +22,8 @@ declare const SharePointGetContentTypesOutput: z.ZodObject<{
22
22
  ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
23
  StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  top?: number | undefined;
29
29
  expand?: string | undefined;
@@ -32,7 +32,19 @@ declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowA
32
32
  orderby?: string | undefined;
33
33
  site_name?: string | undefined;
34
34
  skiptoken?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { sharePointGetContentTypes };
38
50
  //# sourceMappingURL=get-content-types.d.cts.map
@@ -14,7 +14,7 @@ declare const SharePointGetContentTypesOutput: z.ZodObject<{
14
14
  content_types: z.ZodArray<z.ZodObject<{
15
15
  Id: z.ZodNullable<z.ZodObject<{
16
16
  StringValue: z.ZodNullable<z.ZodString>;
17
- }, z.core.$strip>>;
17
+ }, z.core.$loose>>;
18
18
  Name: z.ZodNullable<z.ZodString>;
19
19
  Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
20
  Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
@@ -22,8 +22,8 @@ declare const SharePointGetContentTypesOutput: z.ZodObject<{
22
22
  ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
23
  StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
- }, z.core.$strip>>;
26
- }, z.core.$strip>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
27
  declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
28
28
  top?: number | undefined;
29
29
  expand?: string | undefined;
@@ -32,7 +32,19 @@ declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowA
32
32
  orderby?: string | undefined;
33
33
  site_name?: string | undefined;
34
34
  skiptoken?: string | undefined;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { sharePointGetContentTypes };
38
50
  //# sourceMappingURL=get-content-types.d.mts.map
@@ -10,7 +10,7 @@ const SharePointGetContentTypesInput = z.object({
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
  skiptoken: z.string().describe("OData $skiptoken for paging through results.").optional()
12
12
  }).describe("Optional OData query parameters for retrieving all SharePoint site content types.");
13
- const SharePointGetContentTypes_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).describe("Model for the content type ID object.");
13
+ const SharePointGetContentTypes_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).passthrough().describe("Model for the content type ID object.");
14
14
  const SharePointGetContentTypes_ContentTypeSchema = z.object({
15
15
  Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),
16
16
  Name: z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'.").nullable(),
@@ -20,13 +20,13 @@ const SharePointGetContentTypes_ContentTypeSchema = z.object({
20
20
  ReadOnly: z.boolean().describe("Whether the content type is read-only and cannot be modified.").nullable().optional(),
21
21
  StringId: z.string().describe("String representation of the content type ID (convenience field, same as Id.StringValue).").nullable().optional(),
22
22
  Description: z.string().describe("Description of the content type, e.g., 'Create a new list item.'.").nullable().optional()
23
- }).describe("Model representing a SharePoint content type.");
23
+ }).passthrough().describe("Model representing a SharePoint content type.");
24
24
  const sharePointGetContentTypes = action("SHARE_POINT_GET_CONTENT_TYPES", {
25
25
  slug: "share_point-get-content-types",
26
26
  name: "Get Site Content Types",
27
27
  description: "Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.",
28
28
  input: SharePointGetContentTypesInput,
29
- output: z.object({ content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).describe("Response model containing a list of content types.")
29
+ output: z.object({ content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).passthrough().describe("Response model containing a list of content types.")
30
30
  });
31
31
  //#endregion
32
32
  export { sharePointGetContentTypes };
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types.mjs","names":[],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").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 skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gDAAgD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,8CAA8C,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-content-types.mjs","names":[],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").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 skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).passthrough().describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC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,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -9,8 +9,8 @@ const SharePointGetContextInfo_GetContextWebInformationSchema = zod.z.object({
9
9
  FormDigestValue: zod.z.string().describe("Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.").nullable(),
10
10
  SupportedSchemaVersions: zod.z.array(zod.z.string()).describe("List of supported schema versions.").nullable().optional(),
11
11
  FormDigestTimeoutSeconds: zod.z.number().int().describe("Number of seconds until the form digest value expires and a new one must be requested.").nullable()
12
- }).describe("Context information returned by SharePoint.");
13
- const SharePointGetContextInfoOutput = zod.z.object({ GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable() }).describe("Response containing context information.");
12
+ }).passthrough().describe("Context information returned by SharePoint.");
13
+ const SharePointGetContextInfoOutput = zod.z.object({ GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable() }).passthrough().describe("Response containing context information.");
14
14
  const sharePointGetContextInfo = require_action.action("SHARE_POINT_GET_CONTEXT_INFO", {
15
15
  slug: "share_point-get-context-info",
16
16
  name: "Get SharePoint Context Info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-info.cjs","names":["z","action"],"sources":["../../src/actions/get-context-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContextInfoInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving context info.\");\nconst SharePointGetContextInfo_GetContextWebInformationSchema = z.object({\n WebFullUrl: z.string().describe(\"Full URL of the current web.\").nullable().optional(),\n SiteFullUrl: z.string().describe(\"Full URL of the SharePoint site.\").nullable().optional(),\n LibraryVersion: z.string().describe(\"Version of the SharePoint library.\").nullable().optional(),\n FormDigestValue: z.string().describe(\"Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.\").nullable(),\n SupportedSchemaVersions: z.array(z.string()).describe(\"List of supported schema versions.\").nullable().optional(),\n FormDigestTimeoutSeconds: z.number().int().describe(\"Number of seconds until the form digest value expires and a new one must be requested.\").nullable(),\n}).describe(\"Context information returned by SharePoint.\");\nexport const SharePointGetContextInfoOutput = z.object({\n GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable(),\n}).describe(\"Response containing context information.\");\n\nexport const sharePointGetContextInfo = action(\"SHARE_POINT_GET_CONTEXT_INFO\", {\n slug: \"share_point-get-context-info\",\n name: \"Get SharePoint Context Info\",\n description: \"Tool to retrieve SharePoint context information including the form digest value. Use when you need a form digest token for write operations (POST, PUT, DELETE).\",\n input: SharePointGetContextInfoInput,\n output: SharePointGetContextInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAClK,yBAAyBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,0BAA0B,wDAAwD,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-context-info.cjs","names":["z","action"],"sources":["../../src/actions/get-context-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContextInfoInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving context info.\");\nconst SharePointGetContextInfo_GetContextWebInformationSchema = z.object({\n WebFullUrl: z.string().describe(\"Full URL of the current web.\").nullable().optional(),\n SiteFullUrl: z.string().describe(\"Full URL of the SharePoint site.\").nullable().optional(),\n LibraryVersion: z.string().describe(\"Version of the SharePoint library.\").nullable().optional(),\n FormDigestValue: z.string().describe(\"Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.\").nullable(),\n SupportedSchemaVersions: z.array(z.string()).describe(\"List of supported schema versions.\").nullable().optional(),\n FormDigestTimeoutSeconds: z.number().int().describe(\"Number of seconds until the form digest value expires and a new one must be requested.\").nullable(),\n}).passthrough().describe(\"Context information returned by SharePoint.\");\nexport const SharePointGetContextInfoOutput = z.object({\n GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable(),\n}).passthrough().describe(\"Response containing context information.\");\n\nexport const sharePointGetContextInfo = action(\"SHARE_POINT_GET_CONTEXT_INFO\", {\n slug: \"share_point-get-context-info\",\n name: \"Get SharePoint Context Info\",\n description: \"Tool to retrieve SharePoint context information including the form digest value. Use when you need a form digest token for write operations (POST, PUT, DELETE).\",\n input: SharePointGetContextInfoInput,\n output: SharePointGetContextInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAClK,yBAAyBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,0BAA0B,wDAAwD,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -12,11 +12,23 @@ declare const SharePointGetContextInfoOutput: z.ZodObject<{
12
12
  FormDigestValue: z.ZodNullable<z.ZodString>;
13
13
  SupportedSchemaVersions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
14
  FormDigestTimeoutSeconds: z.ZodNullable<z.ZodNumber>;
15
- }, z.core.$strip>>;
16
- }, z.core.$strip>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
17
  declare const sharePointGetContextInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
18
18
  site_name?: string | undefined;
19
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
20
+ connectionId: z.ZodString;
21
+ entityId: z.ZodString;
22
+ instanceId: z.ZodString;
23
+ }, z.core.$strip>, z.ZodObject<{
24
+ accessToken: z.ZodString;
25
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
26
+ connectionId: z.ZodString;
27
+ entityId: z.ZodString;
28
+ instanceId: z.ZodString;
29
+ }, z.core.$strip>, z.ZodObject<{
30
+ accessToken: z.ZodString;
31
+ }, z.core.$strip>>]>;
20
32
  //#endregion
21
33
  export { sharePointGetContextInfo };
22
34
  //# sourceMappingURL=get-context-info.d.cts.map