@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":"create-drive-item-sharing-link.mjs","names":[],"sources":["../../src/actions/create-drive-item-sharing-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateDriveItemSharingLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. 'view' creates read-only access, 'edit' creates read-write access, 'embed' creates embeddable link (OneDrive Personal only).\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"Scope of the sharing link.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item.\"),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n driveItem_id: z.string().describe(\"The unique identifier of the drive item to create a link for.\"),\n expirationDateTime: z.string().describe(\"The expiration time of the sharing link in ISO 8601 format (yyyy-MM-ddTHH:mm:ssZ). If not specified, the link does not expire unless a default expiration policy is enforced.\").optional(),\n retainInheritedPermissions: z.boolean().describe(\"If true (default), any existing inherited permissions are retained on the shared item. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n}).describe(\"Request model for creating a sharing link for a drive item.\");\nconst SharePointCreateDriveItemSharingLink_IdentityInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier\").nullable().optional(),\n displayName: z.string().describe(\"The display name\").nullable().optional(),\n}).describe(\"Identity information for an application or user.\");\nconst SharePointCreateDriveItemSharingLink_SharingLinkSchema = z.object({\n type: z.string().describe(\"The type of the link (view, edit, or embed)\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link (anonymous, organization, or users)\").nullable().optional(),\n webUrl: z.string().describe(\"A URL that opens the item in the browser\").nullable().optional(),\n webHtml: z.string().describe(\"For embed links, the HTML code for an iframe element to embed the item\").nullable().optional(),\n application: SharePointCreateDriveItemSharingLink_IdentityInfoSchema.nullable().optional(),\n preventsDownload: z.boolean().describe(\"If true, the user can only view the item on the web and cannot download contents\").nullable().optional(),\n}).describe(\"Information about the sharing link.\");\nexport const SharePointCreateDriveItemSharingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission\").nullable().optional(),\n link: SharePointCreateDriveItemSharingLink_SharingLinkSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The type of permission (e.g., read, write)\").nullable().optional(),\n shareId: z.string().describe(\"A unique token for accessing this shared item via the shares API\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password set\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the permission in ISO 8601 format\").nullable().optional(),\n}).describe(\"Response model containing the sharing link permission details.\");\n\nexport const sharePointCreateDriveItemSharingLink = action(\"SHARE_POINT_CREATE_DRIVE_ITEM_SHARING_LINK\", {\n slug: \"share_point-create-drive-item-sharing-link\",\n name: \"Create Drive Item Sharing Link\",\n description: \"Tool to create a sharing link for a drive item in SharePoint or OneDrive. Use when you need to generate a shareable link with specific permissions (view/edit/embed) and scope (anonymous/organization/users). The link can optionally include password protection and expiration date.\",\n input: SharePointCreateDriveItemSharingLinkInput,\n output: SharePointCreateDriveItemSharingLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACnN,OAAO,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClO,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;AACtO,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,yDAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAUjD,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,MAAM,uDAAuD,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,SAAS,gEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-drive-item-sharing-link.mjs","names":[],"sources":["../../src/actions/create-drive-item-sharing-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateDriveItemSharingLinkInput = z.object({\n type: z.enum([\"view\", \"edit\", \"embed\"]).describe(\"The type of sharing link to create. 'view' creates read-only access, 'edit' creates read-write access, 'embed' creates embeddable link (OneDrive Personal only).\"),\n scope: z.enum([\"anonymous\", \"organization\", \"users\"]).describe(\"Scope of the sharing link.\").optional(),\n drive_id: z.string().describe(\"The unique identifier of the drive containing the item.\"),\n password: z.string().describe(\"The password for the sharing link. Optional and OneDrive Personal only.\").optional(),\n driveItem_id: z.string().describe(\"The unique identifier of the drive item to create a link for.\"),\n expirationDateTime: z.string().describe(\"The expiration time of the sharing link in ISO 8601 format (yyyy-MM-ddTHH:mm:ssZ). If not specified, the link does not expire unless a default expiration policy is enforced.\").optional(),\n retainInheritedPermissions: z.boolean().describe(\"If true (default), any existing inherited permissions are retained on the shared item. If false, all existing permissions are removed when sharing for the first time.\").optional(),\n}).describe(\"Request model for creating a sharing link for a drive item.\");\nconst SharePointCreateDriveItemSharingLink_IdentityInfoSchema = z.object({\n id: z.string().describe(\"The unique identifier\").nullable().optional(),\n displayName: z.string().describe(\"The display name\").nullable().optional(),\n}).passthrough().describe(\"Identity information for an application or user.\");\nconst SharePointCreateDriveItemSharingLink_SharingLinkSchema = z.object({\n type: z.string().describe(\"The type of the link (view, edit, or embed)\").nullable().optional(),\n scope: z.string().describe(\"The scope of the link (anonymous, organization, or users)\").nullable().optional(),\n webUrl: z.string().describe(\"A URL that opens the item in the browser\").nullable().optional(),\n webHtml: z.string().describe(\"For embed links, the HTML code for an iframe element to embed the item\").nullable().optional(),\n application: SharePointCreateDriveItemSharingLink_IdentityInfoSchema.nullable().optional(),\n preventsDownload: z.boolean().describe(\"If true, the user can only view the item on the web and cannot download contents\").nullable().optional(),\n}).passthrough().describe(\"Information about the sharing link.\");\nexport const SharePointCreateDriveItemSharingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier of the permission\").nullable().optional(),\n link: SharePointCreateDriveItemSharingLink_SharingLinkSchema.nullable().optional(),\n roles: z.array(z.string()).describe(\"The type of permission (e.g., read, write)\").nullable().optional(),\n shareId: z.string().describe(\"A unique token for accessing this shared item via the shares API\").nullable().optional(),\n hasPassword: z.boolean().describe(\"Indicates whether the link has a password set\").nullable().optional(),\n expirationDateTime: z.string().describe(\"The expiration time of the permission in ISO 8601 format\").nullable().optional(),\n}).passthrough().describe(\"Response model containing the sharing link permission details.\");\n\nexport const sharePointCreateDriveItemSharingLink = action(\"SHARE_POINT_CREATE_DRIVE_ITEM_SHARING_LINK\", {\n slug: \"share_point-create-drive-item-sharing-link\",\n name: \"Create Drive Item Sharing Link\",\n description: \"Tool to create a sharing link for a drive item in SharePoint or OneDrive. Use when you need to generate a shareable link with specific permissions (view/edit/embed) and scope (anonymous/organization/users). The link can optionally include password protection and expiration date.\",\n input: SharePointCreateDriveItemSharingLinkInput,\n output: SharePointCreateDriveItemSharingLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4C,EAAE,OAAO;CAChE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAQ;CAAO,CAAC,CAAC,CAAC,SAAS,kKAAkK;CACnN,OAAO,EAAE,KAAK;EAAC;EAAa;EAAgB;CAAO,CAAC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACtG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD;CACvF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CAClH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D;CACjG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,+KAA+K,CAAC,CAAC,SAAS;CAClO,4BAA4B,EAAE,QAAQ,CAAC,CAAC,SAAS,wKAAwK,CAAC,CAAC,SAAS;AACtO,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,0DAA0D,EAAE,OAAO;CACvE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAC5E,MAAM,yDAAyD,EAAE,OAAO;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,wDAAwD,SAAS,CAAC,CAAC,SAAS;CACzF,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAU/D,MAAa,uCAAuC,OAAO,8CAA8C;CACvG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdwD,EAAE,OAAO;EACjE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,MAAM,uDAAuD,SAAS,CAAC,CAAC,SAAS;EACjF,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,aAAa,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvG,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gEAOhB;AACV,CAAC"}
@@ -17,7 +17,7 @@ const SharePointCreateListFieldOutput = zod.z.object({
17
17
  StaticName: zod.z.string().describe("Internal name of the created field.").nullable(),
18
18
  FieldTypeKind: zod.z.number().int().describe("Numeric SP.FieldType value of the created field.").nullable(),
19
19
  EnforceUniqueValues: zod.z.boolean().describe("Indicates if the field enforces unique values.").nullable()
20
- });
20
+ }).passthrough();
21
21
  const sharePointCreateListField = require_action.action("SHARE_POINT_CREATE_LIST_FIELD", {
22
22
  slug: "share_point-create-list-field",
23
23
  name: "Create SharePoint List Field",
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-field.cjs","names":["z","action"],"sources":["../../src/actions/create-list-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListFieldInput = z.object({\n title: z.string().describe(\"Display name of the new list field.\"),\n required: z.boolean().default(false).describe(\"Whether the field is required (non-nullable).\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list where the new field will be created. Obtain via SHARE_POINT_SHAREPOINT_CREATE_LIST or SHARE_POINT_GET_LIST_BY_TITLE before calling this tool.\"),\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 static_name: z.string().describe(\"Internal name of the field (no spaces).\"),\n field_type_kind: z.number().int().describe(\"Numeric value from SP.FieldType enumeration specifying the type of the field. Common values: 1=Counter, 2=Text (single line), 3=Note (multiple lines), 6=Choice, 8=Boolean, 9=Number (decimal), 11=URL, 20=User.\"),\n enforce_unique_values: z.boolean().default(false).describe(\"Whether values in this field must be unique. When True, the field will automatically be marked as Indexed, which SharePoint requires for unique-value enforcement.\").optional(),\n});\nexport const SharePointCreateListFieldOutput = z.object({\n Id: z.string().describe(\"GUID of the created field.\").nullable(),\n Title: z.string().describe(\"Display name of the created field.\").nullable(),\n Required: z.boolean().describe(\"Indicates if the field is required.\").nullable(),\n StaticName: z.string().describe(\"Internal name of the created field.\").nullable(),\n FieldTypeKind: z.number().int().describe(\"Numeric SP.FieldType value of the created field.\").nullable(),\n EnforceUniqueValues: z.boolean().describe(\"Indicates if the field enforces unique values.\").nullable(),\n});\n\nexport const sharePointCreateListField = action(\"SHARE_POINT_CREATE_LIST_FIELD\", {\n slug: \"share_point-create-list-field\",\n name: \"Create SharePoint List Field\",\n description: \"Tool to create a new field (column) in a SharePoint list. Use when you need to programmatically add a column after confirming the list GUID.\",\n input: SharePointCreateListFieldInput,\n output: SharePointCreateListFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;CAC1M,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kNAAkN;CAC7P,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;AAC5O,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACvG,CAAC;AAED,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-list-field.cjs","names":["z","action"],"sources":["../../src/actions/create-list-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListFieldInput = z.object({\n title: z.string().describe(\"Display name of the new list field.\"),\n required: z.boolean().default(false).describe(\"Whether the field is required (non-nullable).\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list where the new field will be created. Obtain via SHARE_POINT_SHAREPOINT_CREATE_LIST or SHARE_POINT_GET_LIST_BY_TITLE before calling this tool.\"),\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 static_name: z.string().describe(\"Internal name of the field (no spaces).\"),\n field_type_kind: z.number().int().describe(\"Numeric value from SP.FieldType enumeration specifying the type of the field. Common values: 1=Counter, 2=Text (single line), 3=Note (multiple lines), 6=Choice, 8=Boolean, 9=Number (decimal), 11=URL, 20=User.\"),\n enforce_unique_values: z.boolean().default(false).describe(\"Whether values in this field must be unique. When True, the field will automatically be marked as Indexed, which SharePoint requires for unique-value enforcement.\").optional(),\n});\nexport const SharePointCreateListFieldOutput = z.object({\n Id: z.string().describe(\"GUID of the created field.\").nullable(),\n Title: z.string().describe(\"Display name of the created field.\").nullable(),\n Required: z.boolean().describe(\"Indicates if the field is required.\").nullable(),\n StaticName: z.string().describe(\"Internal name of the created field.\").nullable(),\n FieldTypeKind: z.number().int().describe(\"Numeric SP.FieldType value of the created field.\").nullable(),\n EnforceUniqueValues: z.boolean().describe(\"Indicates if the field enforces unique values.\").nullable(),\n}).passthrough();\n\nexport const sharePointCreateListField = action(\"SHARE_POINT_CREATE_LIST_FIELD\", {\n slug: \"share_point-create-list-field\",\n name: \"Create SharePoint List Field\",\n description: \"Tool to create a new field (column) in a SharePoint list. Use when you need to programmatically add a column after confirming the list GUID.\",\n input: SharePointCreateListFieldInput,\n output: SharePointCreateListFieldOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;CAChE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;CAC1M,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CAC1E,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kNAAkN;CAC7P,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;AAC5O,CAAC;AACD,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC/E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAChF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CACtG,qBAAqBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -17,7 +17,7 @@ declare const SharePointCreateListFieldOutput: z.ZodObject<{
17
17
  StaticName: z.ZodNullable<z.ZodString>;
18
18
  FieldTypeKind: z.ZodNullable<z.ZodNumber>;
19
19
  EnforceUniqueValues: z.ZodNullable<z.ZodBoolean>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const sharePointCreateListField: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  title: string;
23
23
  list_guid: string;
@@ -26,7 +26,19 @@ declare const sharePointCreateListField: import("@keystrokehq/action").WorkflowA
26
26
  required?: boolean | undefined;
27
27
  site_name?: string | undefined;
28
28
  enforce_unique_values?: boolean | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ accessToken: z.ZodString;
35
+ }, z.core.$strip>>]>, 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>>]>;
30
42
  //#endregion
31
43
  export { sharePointCreateListField };
32
44
  //# sourceMappingURL=create-list-field.d.cts.map
@@ -17,7 +17,7 @@ declare const SharePointCreateListFieldOutput: z.ZodObject<{
17
17
  StaticName: z.ZodNullable<z.ZodString>;
18
18
  FieldTypeKind: z.ZodNullable<z.ZodNumber>;
19
19
  EnforceUniqueValues: z.ZodNullable<z.ZodBoolean>;
20
- }, z.core.$strip>;
20
+ }, z.core.$loose>;
21
21
  declare const sharePointCreateListField: import("@keystrokehq/action").WorkflowActionDefinition<{
22
22
  title: string;
23
23
  list_guid: string;
@@ -26,7 +26,19 @@ declare const sharePointCreateListField: import("@keystrokehq/action").WorkflowA
26
26
  required?: boolean | undefined;
27
27
  site_name?: string | undefined;
28
28
  enforce_unique_values?: boolean | undefined;
29
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
30
+ connectionId: z.ZodString;
31
+ entityId: z.ZodString;
32
+ instanceId: z.ZodString;
33
+ }, z.core.$strip>, z.ZodObject<{
34
+ accessToken: z.ZodString;
35
+ }, z.core.$strip>>]>, 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>>]>;
30
42
  //#endregion
31
43
  export { sharePointCreateListField };
32
44
  //# sourceMappingURL=create-list-field.d.mts.map
@@ -20,7 +20,7 @@ const sharePointCreateListField = action("SHARE_POINT_CREATE_LIST_FIELD", {
20
20
  StaticName: z.string().describe("Internal name of the created field.").nullable(),
21
21
  FieldTypeKind: z.number().int().describe("Numeric SP.FieldType value of the created field.").nullable(),
22
22
  EnforceUniqueValues: z.boolean().describe("Indicates if the field enforces unique values.").nullable()
23
- })
23
+ }).passthrough()
24
24
  });
25
25
  //#endregion
26
26
  export { sharePointCreateListField };
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-field.mjs","names":[],"sources":["../../src/actions/create-list-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListFieldInput = z.object({\n title: z.string().describe(\"Display name of the new list field.\"),\n required: z.boolean().default(false).describe(\"Whether the field is required (non-nullable).\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list where the new field will be created. Obtain via SHARE_POINT_SHAREPOINT_CREATE_LIST or SHARE_POINT_GET_LIST_BY_TITLE before calling this tool.\"),\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 static_name: z.string().describe(\"Internal name of the field (no spaces).\"),\n field_type_kind: z.number().int().describe(\"Numeric value from SP.FieldType enumeration specifying the type of the field. Common values: 1=Counter, 2=Text (single line), 3=Note (multiple lines), 6=Choice, 8=Boolean, 9=Number (decimal), 11=URL, 20=User.\"),\n enforce_unique_values: z.boolean().default(false).describe(\"Whether values in this field must be unique. When True, the field will automatically be marked as Indexed, which SharePoint requires for unique-value enforcement.\").optional(),\n});\nexport const SharePointCreateListFieldOutput = z.object({\n Id: z.string().describe(\"GUID of the created field.\").nullable(),\n Title: z.string().describe(\"Display name of the created field.\").nullable(),\n Required: z.boolean().describe(\"Indicates if the field is required.\").nullable(),\n StaticName: z.string().describe(\"Internal name of the created field.\").nullable(),\n FieldTypeKind: z.number().int().describe(\"Numeric SP.FieldType value of the created field.\").nullable(),\n EnforceUniqueValues: z.boolean().describe(\"Indicates if the field enforces unique values.\").nullable(),\n});\n\nexport const sharePointCreateListField = action(\"SHARE_POINT_CREATE_LIST_FIELD\", {\n slug: \"share_point-create-list-field\",\n name: \"Create SharePoint List Field\",\n description: \"Tool to create a new field (column) in a SharePoint list. Use when you need to programmatically add a column after confirming the list GUID.\",\n input: SharePointCreateListFieldInput,\n output: SharePointCreateListFieldOutput,\n});\n"],"mappings":";;AAsBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EAC1M,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kNAAkN;EAC7P,uBAAuB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC5O,CAcS;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvG,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-list-field.mjs","names":[],"sources":["../../src/actions/create-list-field.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListFieldInput = z.object({\n title: z.string().describe(\"Display name of the new list field.\"),\n required: z.boolean().default(false).describe(\"Whether the field is required (non-nullable).\").optional(),\n list_guid: z.string().describe(\"GUID of the SharePoint list where the new field will be created. Obtain via SHARE_POINT_SHAREPOINT_CREATE_LIST or SHARE_POINT_GET_LIST_BY_TITLE before calling this tool.\"),\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 static_name: z.string().describe(\"Internal name of the field (no spaces).\"),\n field_type_kind: z.number().int().describe(\"Numeric value from SP.FieldType enumeration specifying the type of the field. Common values: 1=Counter, 2=Text (single line), 3=Note (multiple lines), 6=Choice, 8=Boolean, 9=Number (decimal), 11=URL, 20=User.\"),\n enforce_unique_values: z.boolean().default(false).describe(\"Whether values in this field must be unique. When True, the field will automatically be marked as Indexed, which SharePoint requires for unique-value enforcement.\").optional(),\n});\nexport const SharePointCreateListFieldOutput = z.object({\n Id: z.string().describe(\"GUID of the created field.\").nullable(),\n Title: z.string().describe(\"Display name of the created field.\").nullable(),\n Required: z.boolean().describe(\"Indicates if the field is required.\").nullable(),\n StaticName: z.string().describe(\"Internal name of the created field.\").nullable(),\n FieldTypeKind: z.number().int().describe(\"Numeric SP.FieldType value of the created field.\").nullable(),\n EnforceUniqueValues: z.boolean().describe(\"Indicates if the field enforces unique values.\").nullable(),\n}).passthrough();\n\nexport const sharePointCreateListField = action(\"SHARE_POINT_CREATE_LIST_FIELD\", {\n slug: \"share_point-create-list-field\",\n name: \"Create SharePoint List Field\",\n description: \"Tool to create a new field (column) in a SharePoint list. Use when you need to programmatically add a column after confirming the list GUID.\",\n input: SharePointCreateListFieldInput,\n output: SharePointCreateListFieldOutput,\n});\n"],"mappings":";;AAsBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtB4C,EAAE,OAAO;EACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAChE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,2KAA2K;EAC1M,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;EACtO,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EAC1E,iBAAiB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kNAAkN;EAC7P,uBAAuB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,oKAAoK,CAAC,CAAC,SAAS;CAC5O,CAcS;CACP,QAd6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EAC1E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAC/E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;EAChF,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EACtG,qBAAqB,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/create-list-item-by-id.ts
4
4
  const SharePointCreateListItemByIdInput = zod.z.object({
5
- fields: zod.z.object({}).describe("Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists."),
5
+ fields: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists."),
6
6
  list_id: zod.z.string().describe("The unique identifier (GUID) of the SharePoint list where the item will be created. Format: '12345678-1234-1234-1234-123456789abc'"),
7
7
  site_name: zod.z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes 'https://{tenant}.sharepoint.com/sites/{site}'.").optional(),
8
8
  metadata_type: zod.z.string().describe("The ListItemEntityTypeFullName required for __metadata.type in the request body. Format: 'SP.Data.{ListName}ListItem' (e.g., 'SP.Data.TasksListItem' or 'SP.Data.AbcListItem'). Use GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME to retrieve this value if unknown.")
@@ -13,7 +13,7 @@ const SharePointCreateListItemByIdOutput = zod.z.object({
13
13
  success: zod.z.boolean().describe("Indicates whether the item creation succeeded.").nullable(),
14
14
  item_data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Complete data of the created list item returned by SharePoint."),
15
15
  created_at: zod.z.string().describe("ISO 8601 timestamp when the item was created.").nullable().optional()
16
- }).describe("Response model for a successfully created list item.");
16
+ }).passthrough().describe("Response model for a successfully created list item.");
17
17
  const sharePointCreateListItemById = require_action.action("SHARE_POINT_CREATE_LIST_ITEM_BY_ID", {
18
18
  slug: "share_point-create-list-item-by-id",
19
19
  name: "Create SharePoint List Item by GUID",
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-item-by-id.cjs","names":["z","action"],"sources":["../../src/actions/create-list-item-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemByIdInput = z.object({\n fields: z.object({}).describe(\"Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists.\"),\n list_id: z.string().describe(\"The unique identifier (GUID) of the SharePoint list where the item will be created. Format: '12345678-1234-1234-1234-123456789abc'\"),\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 metadata_type: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. Format: 'SP.Data.{ListName}ListItem' (e.g., 'SP.Data.TasksListItem' or 'SP.Data.AbcListItem'). Use GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME to retrieve this value if unknown.\"),\n}).describe(\"Request model for creating a SharePoint list item by list GUID.\");\nexport const SharePointCreateListItemByIdOutput = z.object({\n item_id: z.number().int().describe(\"The numeric ID of the newly created list item.\").nullable(),\n message: z.string().describe(\"Success message describing the creation result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the item creation succeeded.\").nullable(),\n item_data: z.record(z.string(), z.unknown()).describe(\"Complete data of the created list item returned by SharePoint.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the item was created.\").nullable().optional(),\n}).describe(\"Response model for a successfully created list item.\");\n\nexport const sharePointCreateListItemById = action(\"SHARE_POINT_CREATE_LIST_ITEM_BY_ID\", {\n slug: \"share_point-create-list-item-by-id\",\n name: \"Create SharePoint List Item by GUID\",\n description: \"Tool to create a new item in a SharePoint list using the list's GUID. Use when you have the list GUID rather than the list title.\",\n input: SharePointCreateListItemByIdInput,\n output: SharePointCreateListItemByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iMAAiM;CAC/N,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4PAA4P;AACjS,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,+BAA+BC,eAAAA,OAAO,sCAAsC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-list-item-by-id.cjs","names":["z","action"],"sources":["../../src/actions/create-list-item-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemByIdInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists.\"),\n list_id: z.string().describe(\"The unique identifier (GUID) of the SharePoint list where the item will be created. Format: '12345678-1234-1234-1234-123456789abc'\"),\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 metadata_type: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. Format: 'SP.Data.{ListName}ListItem' (e.g., 'SP.Data.TasksListItem' or 'SP.Data.AbcListItem'). Use GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME to retrieve this value if unknown.\"),\n}).describe(\"Request model for creating a SharePoint list item by list GUID.\");\nexport const SharePointCreateListItemByIdOutput = z.object({\n item_id: z.number().int().describe(\"The numeric ID of the newly created list item.\").nullable(),\n message: z.string().describe(\"Success message describing the creation result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the item creation succeeded.\").nullable(),\n item_data: z.record(z.string(), z.unknown()).describe(\"Complete data of the created list item returned by SharePoint.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the item was created.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a successfully created list item.\");\n\nexport const sharePointCreateListItemById = action(\"SHARE_POINT_CREATE_LIST_ITEM_BY_ID\", {\n slug: \"share_point-create-list-item-by-id\",\n name: \"Create SharePoint List Item by GUID\",\n description: \"Tool to create a new item in a SharePoint list using the list's GUID. Use when you have the list GUID rather than the list title.\",\n input: SharePointCreateListItemByIdInput,\n output: SharePointCreateListItemByIdOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,QAAQA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iMAAiM;CACpP,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CACjK,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;CACxO,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4PAA4P;AACjS,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAC9F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,+BAA+BC,eAAAA,OAAO,sCAAsC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-list-item-by-id.d.ts
4
4
  declare const SharePointCreateListItemByIdInput: z.ZodObject<{
5
- fields: z.ZodObject<{}, z.core.$strip>;
5
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
6
  list_id: z.ZodString;
7
7
  site_name: z.ZodOptional<z.ZodString>;
8
8
  metadata_type: z.ZodString;
@@ -13,13 +13,25 @@ declare const SharePointCreateListItemByIdOutput: z.ZodObject<{
13
13
  success: z.ZodNullable<z.ZodBoolean>;
14
14
  item_data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const sharePointCreateListItemById: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- fields: Record<string, never>;
18
+ fields: Record<string, unknown>;
19
19
  list_id: string;
20
20
  metadata_type: string;
21
21
  site_name?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { sharePointCreateListItemById };
25
37
  //# sourceMappingURL=create-list-item-by-id.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-item-by-id.d.cts","names":[],"sources":["../../src/actions/create-list-item-by-id.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,gCAA4B,wBAAA;UAMvC,MAAA"}
1
+ {"version":3,"file":"create-list-item-by-id.d.cts","names":[],"sources":["../../src/actions/create-list-item-by-id.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,gCAA4B,wBAAA"}
@@ -2,7 +2,7 @@ import { z } from "zod";
2
2
 
3
3
  //#region src/actions/create-list-item-by-id.d.ts
4
4
  declare const SharePointCreateListItemByIdInput: z.ZodObject<{
5
- fields: z.ZodObject<{}, z.core.$strip>;
5
+ fields: z.ZodRecord<z.ZodString, z.ZodUnknown>;
6
6
  list_id: z.ZodString;
7
7
  site_name: z.ZodOptional<z.ZodString>;
8
8
  metadata_type: z.ZodString;
@@ -13,13 +13,25 @@ declare const SharePointCreateListItemByIdOutput: z.ZodObject<{
13
13
  success: z.ZodNullable<z.ZodBoolean>;
14
14
  item_data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15
15
  created_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- }, z.core.$strip>;
16
+ }, z.core.$loose>;
17
17
  declare const sharePointCreateListItemById: import("@keystrokehq/action").WorkflowActionDefinition<{
18
- fields: Record<string, never>;
18
+ fields: Record<string, unknown>;
19
19
  list_id: string;
20
20
  metadata_type: string;
21
21
  site_name?: string | undefined;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
23
+ connectionId: z.ZodString;
24
+ entityId: z.ZodString;
25
+ instanceId: z.ZodString;
26
+ }, z.core.$strip>, z.ZodObject<{
27
+ accessToken: z.ZodString;
28
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
29
+ connectionId: z.ZodString;
30
+ entityId: z.ZodString;
31
+ instanceId: z.ZodString;
32
+ }, z.core.$strip>, z.ZodObject<{
33
+ accessToken: z.ZodString;
34
+ }, z.core.$strip>>]>;
23
35
  //#endregion
24
36
  export { sharePointCreateListItemById };
25
37
  //# sourceMappingURL=create-list-item-by-id.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-item-by-id.d.mts","names":[],"sources":["../../src/actions/create-list-item-by-id.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,gCAA4B,wBAAA;UAMvC,MAAA"}
1
+ {"version":3,"file":"create-list-item-by-id.d.mts","names":[],"sources":["../../src/actions/create-list-item-by-id.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;cAMjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;cAQlC,4BAAA,gCAA4B,wBAAA"}
@@ -5,7 +5,7 @@ const sharePointCreateListItemById = action("SHARE_POINT_CREATE_LIST_ITEM_BY_ID"
5
5
  name: "Create SharePoint List Item by GUID",
6
6
  description: "Tool to create a new item in a SharePoint list using the list's GUID. Use when you have the list GUID rather than the list title.",
7
7
  input: z.object({
8
- fields: z.object({}).describe("Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists."),
8
+ fields: z.record(z.string(), z.unknown()).describe("Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists."),
9
9
  list_id: z.string().describe("The unique identifier (GUID) of the SharePoint list where the item will be created. Format: '12345678-1234-1234-1234-123456789abc'"),
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
  metadata_type: z.string().describe("The ListItemEntityTypeFullName required for __metadata.type in the request body. Format: 'SP.Data.{ListName}ListItem' (e.g., 'SP.Data.TasksListItem' or 'SP.Data.AbcListItem'). Use GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME to retrieve this value if unknown.")
@@ -16,7 +16,7 @@ const sharePointCreateListItemById = action("SHARE_POINT_CREATE_LIST_ITEM_BY_ID"
16
16
  success: z.boolean().describe("Indicates whether the item creation succeeded.").nullable(),
17
17
  item_data: z.record(z.string(), z.unknown()).describe("Complete data of the created list item returned by SharePoint."),
18
18
  created_at: z.string().describe("ISO 8601 timestamp when the item was created.").nullable().optional()
19
- }).describe("Response model for a successfully created list item.")
19
+ }).passthrough().describe("Response model for a successfully created list item.")
20
20
  });
21
21
  //#endregion
22
22
  export { sharePointCreateListItemById };
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-item-by-id.mjs","names":[],"sources":["../../src/actions/create-list-item-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemByIdInput = z.object({\n fields: z.object({}).describe(\"Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists.\"),\n list_id: z.string().describe(\"The unique identifier (GUID) of the SharePoint list where the item will be created. Format: '12345678-1234-1234-1234-123456789abc'\"),\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 metadata_type: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. Format: 'SP.Data.{ListName}ListItem' (e.g., 'SP.Data.TasksListItem' or 'SP.Data.AbcListItem'). Use GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME to retrieve this value if unknown.\"),\n}).describe(\"Request model for creating a SharePoint list item by list GUID.\");\nexport const SharePointCreateListItemByIdOutput = z.object({\n item_id: z.number().int().describe(\"The numeric ID of the newly created list item.\").nullable(),\n message: z.string().describe(\"Success message describing the creation result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the item creation succeeded.\").nullable(),\n item_data: z.record(z.string(), z.unknown()).describe(\"Complete data of the created list item returned by SharePoint.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the item was created.\").nullable().optional(),\n}).describe(\"Response model for a successfully created list item.\");\n\nexport const sharePointCreateListItemById = action(\"SHARE_POINT_CREATE_LIST_ITEM_BY_ID\", {\n slug: \"share_point-create-list-item-by-id\",\n name: \"Create SharePoint List Item by GUID\",\n description: \"Tool to create a new item in a SharePoint list using the list's GUID. Use when you have the list GUID rather than the list title.\",\n input: SharePointCreateListItemByIdInput,\n output: SharePointCreateListItemByIdOutput,\n});\n"],"mappings":";;AAkBA,MAAa,+BAA+B,OAAO,sCAAsC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iMAAiM;EAC/N,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;EACjK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4PAA4P;CACjS,CAAC,CAAC,CAAC,SAAS,iEAaH;CACP,QAbgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"create-list-item-by-id.mjs","names":[],"sources":["../../src/actions/create-list-item-by-id.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemByIdInput = z.object({\n fields: z.record(z.string(), z.unknown()).describe(\"Dictionary mapping internal field names to their values for the new list item. Example: {'Title': 'New Item', 'Description': 'Item details'}. At minimum, provide 'Title' field for most lists.\"),\n list_id: z.string().describe(\"The unique identifier (GUID) of the SharePoint list where the item will be created. Format: '12345678-1234-1234-1234-123456789abc'\"),\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 metadata_type: z.string().describe(\"The ListItemEntityTypeFullName required for __metadata.type in the request body. Format: 'SP.Data.{ListName}ListItem' (e.g., 'SP.Data.TasksListItem' or 'SP.Data.AbcListItem'). Use GET_LIST_ITEM_ENTITY_TYPE_FULL_NAME to retrieve this value if unknown.\"),\n}).describe(\"Request model for creating a SharePoint list item by list GUID.\");\nexport const SharePointCreateListItemByIdOutput = z.object({\n item_id: z.number().int().describe(\"The numeric ID of the newly created list item.\").nullable(),\n message: z.string().describe(\"Success message describing the creation result.\").nullable(),\n success: z.boolean().describe(\"Indicates whether the item creation succeeded.\").nullable(),\n item_data: z.record(z.string(), z.unknown()).describe(\"Complete data of the created list item returned by SharePoint.\"),\n created_at: z.string().describe(\"ISO 8601 timestamp when the item was created.\").nullable().optional(),\n}).passthrough().describe(\"Response model for a successfully created list item.\");\n\nexport const sharePointCreateListItemById = action(\"SHARE_POINT_CREATE_LIST_ITEM_BY_ID\", {\n slug: \"share_point-create-list-item-by-id\",\n name: \"Create SharePoint List Item by GUID\",\n description: \"Tool to create a new item in a SharePoint list using the list's GUID. Use when you have the list GUID rather than the list title.\",\n input: SharePointCreateListItemByIdInput,\n output: SharePointCreateListItemByIdOutput,\n});\n"],"mappings":";;AAkBA,MAAa,+BAA+B,OAAO,sCAAsC;CACvF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB+C,EAAE,OAAO;EACxD,QAAQ,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,iMAAiM;EACpP,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;EACjK,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS;EACxO,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4PAA4P;CACjS,CAAC,CAAC,CAAC,SAAS,iEAaH;CACP,QAbgD,EAAE,OAAO;EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAC9F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACzF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
@@ -5,7 +5,7 @@ const SharePointCreateListItemInFolderInput = zod.z.object({
5
5
  values: zod.z.array(zod.z.object({
6
6
  FieldName: zod.z.string().describe("Internal name of the field to set"),
7
7
  FieldValue: zod.z.string().describe("Value to assign to the field")
8
- })).describe("List of field name/value pairs to set on the new item."),
8
+ }).passthrough()).describe("List of field name/value pairs to set on the new item."),
9
9
  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 tenant is derived from the connected account's base URL.").optional(),
10
10
  folder_url: zod.z.string().describe("URL of the target folder within the list where the item will be created. Accepts both server-relative URLs (e.g., '/Lists/MyList') and absolute URLs (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). For the list root folder, use '/Lists/<ListName>' or the full absolute URL. For a subfolder within the list, append the subfolder path. You can obtain this URL from the list's RootFolder.ServerRelativeUrl property. This parameter works with SharePoint lists only, NOT document libraries."),
11
11
  list_title: zod.z.string().describe("The title of the SharePoint list where the item will be created. Must be an existing list (not a document library)."),
@@ -18,8 +18,8 @@ const SharePointCreateListItemInFolder_ListItemFieldResultSchema = zod.z.object(
18
18
  FieldValue: zod.z.string().describe("Value resulting after validation/update.").nullable(),
19
19
  ErrorMessage: zod.z.string().describe("Error message for the field, if any.").nullable().optional(),
20
20
  HasException: zod.z.boolean().describe("Indicates whether validation/update failed for the field.").nullable()
21
- });
22
- const SharePointCreateListItemInFolderOutput = zod.z.object({ value: zod.z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe("Array of per-field results for the newly created item.") });
21
+ }).passthrough();
22
+ const SharePointCreateListItemInFolderOutput = zod.z.object({ value: zod.z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe("Array of per-field results for the newly created item.") }).passthrough();
23
23
  const sharePointCreateListItemInFolder = require_action.action("SHARE_POINT_CREATE_LIST_ITEM_IN_FOLDER", {
24
24
  slug: "share_point-create-list-item-in-folder",
25
25
  name: "Create List Item in Folder",
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-item-in-folder.cjs","names":["z","action"],"sources":["../../src/actions/create-list-item-in-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemInFolderInput = z.object({\n values: z.array(z.object({\n FieldName: z.string().describe(\"Internal name of the field to set\"),\n FieldValue: z.string().describe(\"Value to assign to the field\"),\n})).describe(\"List of field name/value pairs to set on the new item.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the tenant is derived from the connected account's base URL.\").optional(),\n folder_url: z.string().describe(\"URL of the target folder within the list where the item will be created. Accepts both server-relative URLs (e.g., '/Lists/MyList') and absolute URLs (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). For the list root folder, use '/Lists/<ListName>' or the full absolute URL. For a subfolder within the list, append the subfolder path. You can obtain this URL from the list's RootFolder.ServerRelativeUrl property. This parameter works with SharePoint lists only, NOT document libraries.\"),\n list_title: z.string().describe(\"The title of the SharePoint list where the item will be created. Must be an existing list (not a document library).\"),\n check_in_comment: z.string().describe(\"Optional check-in comment if the item is checked out.\").optional(),\n});\nconst SharePointCreateListItemInFolder_ListItemFieldResultSchema = z.object({\n ItemId: z.number().int().describe(\"Item ID reference (typically 0 in the response). To get the actual created item ID, look for the field result where FieldName='Id'.\").nullable(),\n ErrorCode: z.number().int().describe(\"Error code for the field operation. 0 indicates success, non-zero indicates an error.\").nullable(),\n FieldName: z.string().describe(\"Internal name of the field.\").nullable(),\n FieldValue: z.string().describe(\"Value resulting after validation/update.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message for the field, if any.\").nullable().optional(),\n HasException: z.boolean().describe(\"Indicates whether validation/update failed for the field.\").nullable(),\n});\nexport const SharePointCreateListItemInFolderOutput = z.object({\n value: z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe(\"Array of per-field results for the newly created item.\"),\n});\n\nexport const sharePointCreateListItemInFolder = action(\"SHARE_POINT_CREATE_LIST_ITEM_IN_FOLDER\", {\n slug: \"share_point-create-list-item-in-folder\",\n name: \"Create List Item in Folder\",\n description: \"Tool to create a list item in a specific folder within a SharePoint list. IMPORTANT: This action works ONLY with SharePoint lists (not document libraries). The folder_url can be either a server-relative URL (e.g., '/Lists/MyList') or an absolute URL (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). To create files in document libraries, use a different action like upload_file.\",\n input: SharePointCreateListItemInFolderInput,\n output: SharePointCreateListItemInFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAChE,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;CACnE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC5N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yfAAyf;CACzhB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACrJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC1G,CAAC;AACD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAClL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC;AACD,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,OAAOA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,wDAAwD,EAC9I,CAAC;AAED,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-list-item-in-folder.cjs","names":["z","action"],"sources":["../../src/actions/create-list-item-in-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemInFolderInput = z.object({\n values: z.array(z.object({\n FieldName: z.string().describe(\"Internal name of the field to set\"),\n FieldValue: z.string().describe(\"Value to assign to the field\"),\n}).passthrough()).describe(\"List of field name/value pairs to set on the new item.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the tenant is derived from the connected account's base URL.\").optional(),\n folder_url: z.string().describe(\"URL of the target folder within the list where the item will be created. Accepts both server-relative URLs (e.g., '/Lists/MyList') and absolute URLs (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). For the list root folder, use '/Lists/<ListName>' or the full absolute URL. For a subfolder within the list, append the subfolder path. You can obtain this URL from the list's RootFolder.ServerRelativeUrl property. This parameter works with SharePoint lists only, NOT document libraries.\"),\n list_title: z.string().describe(\"The title of the SharePoint list where the item will be created. Must be an existing list (not a document library).\"),\n check_in_comment: z.string().describe(\"Optional check-in comment if the item is checked out.\").optional(),\n});\nconst SharePointCreateListItemInFolder_ListItemFieldResultSchema = z.object({\n ItemId: z.number().int().describe(\"Item ID reference (typically 0 in the response). To get the actual created item ID, look for the field result where FieldName='Id'.\").nullable(),\n ErrorCode: z.number().int().describe(\"Error code for the field operation. 0 indicates success, non-zero indicates an error.\").nullable(),\n FieldName: z.string().describe(\"Internal name of the field.\").nullable(),\n FieldValue: z.string().describe(\"Value resulting after validation/update.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message for the field, if any.\").nullable().optional(),\n HasException: z.boolean().describe(\"Indicates whether validation/update failed for the field.\").nullable(),\n}).passthrough();\nexport const SharePointCreateListItemInFolderOutput = z.object({\n value: z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe(\"Array of per-field results for the newly created item.\"),\n}).passthrough();\n\nexport const sharePointCreateListItemInFolder = action(\"SHARE_POINT_CREATE_LIST_ITEM_IN_FOLDER\", {\n slug: \"share_point-create-list-item-in-folder\",\n name: \"Create List Item in Folder\",\n description: \"Tool to create a list item in a specific folder within a SharePoint list. IMPORTANT: This action works ONLY with SharePoint lists (not document libraries). The folder_url can be either a server-relative URL (e.g., '/Lists/MyList') or an absolute URL (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). To create files in document libraries, use a different action like upload_file.\",\n input: SharePointCreateListItemInFolderInput,\n output: SharePointCreateListItemInFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,wDAAwD;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC5N,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yfAAyf;CACzhB,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACrJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC1G,CAAC;AACD,MAAM,6DAA6DA,IAAAA,EAAE,OAAO;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAClL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACvI,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,OAAOA,IAAAA,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,wDAAwD,EAC9I,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,mCAAmCC,eAAAA,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,7 +5,7 @@ declare const SharePointCreateListItemInFolderInput: z.ZodObject<{
5
5
  values: z.ZodArray<z.ZodObject<{
6
6
  FieldName: z.ZodString;
7
7
  FieldValue: z.ZodString;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  site_name: z.ZodOptional<z.ZodString>;
10
10
  folder_url: z.ZodString;
11
11
  list_title: z.ZodString;
@@ -19,10 +19,11 @@ declare const SharePointCreateListItemInFolderOutput: z.ZodObject<{
19
19
  FieldValue: z.ZodNullable<z.ZodString>;
20
20
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  HasException: z.ZodNullable<z.ZodBoolean>;
22
- }, z.core.$strip>>;
23
- }, z.core.$strip>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
24
  declare const sharePointCreateListItemInFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  values: {
26
+ [x: string]: unknown;
26
27
  FieldName: string;
27
28
  FieldValue: string;
28
29
  }[];
@@ -30,7 +31,19 @@ declare const sharePointCreateListItemInFolder: import("@keystrokehq/action").Wo
30
31
  list_title: string;
31
32
  site_name?: string | undefined;
32
33
  check_in_comment?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>;
34
47
  //#endregion
35
48
  export { sharePointCreateListItemInFolder };
36
49
  //# sourceMappingURL=create-list-item-in-folder.d.cts.map
@@ -5,7 +5,7 @@ declare const SharePointCreateListItemInFolderInput: z.ZodObject<{
5
5
  values: z.ZodArray<z.ZodObject<{
6
6
  FieldName: z.ZodString;
7
7
  FieldValue: z.ZodString;
8
- }, z.core.$strip>>;
8
+ }, z.core.$loose>>;
9
9
  site_name: z.ZodOptional<z.ZodString>;
10
10
  folder_url: z.ZodString;
11
11
  list_title: z.ZodString;
@@ -19,10 +19,11 @@ declare const SharePointCreateListItemInFolderOutput: z.ZodObject<{
19
19
  FieldValue: z.ZodNullable<z.ZodString>;
20
20
  ErrorMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
21
  HasException: z.ZodNullable<z.ZodBoolean>;
22
- }, z.core.$strip>>;
23
- }, z.core.$strip>;
22
+ }, z.core.$loose>>;
23
+ }, z.core.$loose>;
24
24
  declare const sharePointCreateListItemInFolder: import("@keystrokehq/action").WorkflowActionDefinition<{
25
25
  values: {
26
+ [x: string]: unknown;
26
27
  FieldName: string;
27
28
  FieldValue: string;
28
29
  }[];
@@ -30,7 +31,19 @@ declare const sharePointCreateListItemInFolder: import("@keystrokehq/action").Wo
30
31
  list_title: string;
31
32
  site_name?: string | undefined;
32
33
  check_in_comment?: string | undefined;
33
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
34
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
35
+ connectionId: z.ZodString;
36
+ entityId: z.ZodString;
37
+ instanceId: z.ZodString;
38
+ }, z.core.$strip>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"share_point", z.ZodObject<{
41
+ connectionId: z.ZodString;
42
+ entityId: z.ZodString;
43
+ instanceId: z.ZodString;
44
+ }, z.core.$strip>, z.ZodObject<{
45
+ accessToken: z.ZodString;
46
+ }, z.core.$strip>>]>;
34
47
  //#endregion
35
48
  export { sharePointCreateListItemInFolder };
36
49
  //# sourceMappingURL=create-list-item-in-folder.d.mts.map
@@ -5,7 +5,7 @@ const SharePointCreateListItemInFolderInput = z.object({
5
5
  values: z.array(z.object({
6
6
  FieldName: z.string().describe("Internal name of the field to set"),
7
7
  FieldValue: z.string().describe("Value to assign to the field")
8
- })).describe("List of field name/value pairs to set on the new item."),
8
+ }).passthrough()).describe("List of field name/value pairs to set on the new item."),
9
9
  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 tenant is derived from the connected account's base URL.").optional(),
10
10
  folder_url: z.string().describe("URL of the target folder within the list where the item will be created. Accepts both server-relative URLs (e.g., '/Lists/MyList') and absolute URLs (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). For the list root folder, use '/Lists/<ListName>' or the full absolute URL. For a subfolder within the list, append the subfolder path. You can obtain this URL from the list's RootFolder.ServerRelativeUrl property. This parameter works with SharePoint lists only, NOT document libraries."),
11
11
  list_title: z.string().describe("The title of the SharePoint list where the item will be created. Must be an existing list (not a document library)."),
@@ -18,13 +18,13 @@ const SharePointCreateListItemInFolder_ListItemFieldResultSchema = z.object({
18
18
  FieldValue: z.string().describe("Value resulting after validation/update.").nullable(),
19
19
  ErrorMessage: z.string().describe("Error message for the field, if any.").nullable().optional(),
20
20
  HasException: z.boolean().describe("Indicates whether validation/update failed for the field.").nullable()
21
- });
21
+ }).passthrough();
22
22
  const sharePointCreateListItemInFolder = action("SHARE_POINT_CREATE_LIST_ITEM_IN_FOLDER", {
23
23
  slug: "share_point-create-list-item-in-folder",
24
24
  name: "Create List Item in Folder",
25
25
  description: "Tool to create a list item in a specific folder within a SharePoint list. IMPORTANT: This action works ONLY with SharePoint lists (not document libraries). The folder_url can be either a server-relative URL (e.g., '/Lists/MyList') or an absolute URL (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). To create files in document libraries, use a different action like upload_file.",
26
26
  input: SharePointCreateListItemInFolderInput,
27
- output: z.object({ value: z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe("Array of per-field results for the newly created item.") })
27
+ output: z.object({ value: z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe("Array of per-field results for the newly created item.") }).passthrough()
28
28
  });
29
29
  //#endregion
30
30
  export { sharePointCreateListItemInFolder };
@@ -1 +1 @@
1
- {"version":3,"file":"create-list-item-in-folder.mjs","names":[],"sources":["../../src/actions/create-list-item-in-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemInFolderInput = z.object({\n values: z.array(z.object({\n FieldName: z.string().describe(\"Internal name of the field to set\"),\n FieldValue: z.string().describe(\"Value to assign to the field\"),\n})).describe(\"List of field name/value pairs to set on the new item.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the tenant is derived from the connected account's base URL.\").optional(),\n folder_url: z.string().describe(\"URL of the target folder within the list where the item will be created. Accepts both server-relative URLs (e.g., '/Lists/MyList') and absolute URLs (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). For the list root folder, use '/Lists/<ListName>' or the full absolute URL. For a subfolder within the list, append the subfolder path. You can obtain this URL from the list's RootFolder.ServerRelativeUrl property. This parameter works with SharePoint lists only, NOT document libraries.\"),\n list_title: z.string().describe(\"The title of the SharePoint list where the item will be created. Must be an existing list (not a document library).\"),\n check_in_comment: z.string().describe(\"Optional check-in comment if the item is checked out.\").optional(),\n});\nconst SharePointCreateListItemInFolder_ListItemFieldResultSchema = z.object({\n ItemId: z.number().int().describe(\"Item ID reference (typically 0 in the response). To get the actual created item ID, look for the field result where FieldName='Id'.\").nullable(),\n ErrorCode: z.number().int().describe(\"Error code for the field operation. 0 indicates success, non-zero indicates an error.\").nullable(),\n FieldName: z.string().describe(\"Internal name of the field.\").nullable(),\n FieldValue: z.string().describe(\"Value resulting after validation/update.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message for the field, if any.\").nullable().optional(),\n HasException: z.boolean().describe(\"Indicates whether validation/update failed for the field.\").nullable(),\n});\nexport const SharePointCreateListItemInFolderOutput = z.object({\n value: z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe(\"Array of per-field results for the newly created item.\"),\n});\n\nexport const sharePointCreateListItemInFolder = action(\"SHARE_POINT_CREATE_LIST_ITEM_IN_FOLDER\", {\n slug: \"share_point-create-list-item-in-folder\",\n name: \"Create List Item in Folder\",\n description: \"Tool to create a list item in a specific folder within a SharePoint list. IMPORTANT: This action works ONLY with SharePoint lists (not document libraries). The folder_url can be either a server-relative URL (e.g., '/Lists/MyList') or an absolute URL (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). To create files in document libraries, use a different action like upload_file.\",\n input: SharePointCreateListItemInFolderInput,\n output: SharePointCreateListItemInFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAChE,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC5N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yfAAyf;CACzhB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACrJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC1G,CAAC;AACD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAClL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC;AAKD,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,OAAO,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,wDAAwD,EAC9I,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"create-list-item-in-folder.mjs","names":[],"sources":["../../src/actions/create-list-item-in-folder.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateListItemInFolderInput = z.object({\n values: z.array(z.object({\n FieldName: z.string().describe(\"Internal name of the field to set\"),\n FieldValue: z.string().describe(\"Value to assign to the field\"),\n}).passthrough()).describe(\"List of field name/value pairs to set on the new item.\"),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the tenant is derived from the connected account's base URL.\").optional(),\n folder_url: z.string().describe(\"URL of the target folder within the list where the item will be created. Accepts both server-relative URLs (e.g., '/Lists/MyList') and absolute URLs (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). For the list root folder, use '/Lists/<ListName>' or the full absolute URL. For a subfolder within the list, append the subfolder path. You can obtain this URL from the list's RootFolder.ServerRelativeUrl property. This parameter works with SharePoint lists only, NOT document libraries.\"),\n list_title: z.string().describe(\"The title of the SharePoint list where the item will be created. Must be an existing list (not a document library).\"),\n check_in_comment: z.string().describe(\"Optional check-in comment if the item is checked out.\").optional(),\n});\nconst SharePointCreateListItemInFolder_ListItemFieldResultSchema = z.object({\n ItemId: z.number().int().describe(\"Item ID reference (typically 0 in the response). To get the actual created item ID, look for the field result where FieldName='Id'.\").nullable(),\n ErrorCode: z.number().int().describe(\"Error code for the field operation. 0 indicates success, non-zero indicates an error.\").nullable(),\n FieldName: z.string().describe(\"Internal name of the field.\").nullable(),\n FieldValue: z.string().describe(\"Value resulting after validation/update.\").nullable(),\n ErrorMessage: z.string().describe(\"Error message for the field, if any.\").nullable().optional(),\n HasException: z.boolean().describe(\"Indicates whether validation/update failed for the field.\").nullable(),\n}).passthrough();\nexport const SharePointCreateListItemInFolderOutput = z.object({\n value: z.array(SharePointCreateListItemInFolder_ListItemFieldResultSchema).describe(\"Array of per-field results for the newly created item.\"),\n}).passthrough();\n\nexport const sharePointCreateListItemInFolder = action(\"SHARE_POINT_CREATE_LIST_ITEM_IN_FOLDER\", {\n slug: \"share_point-create-list-item-in-folder\",\n name: \"Create List Item in Folder\",\n description: \"Tool to create a list item in a specific folder within a SharePoint list. IMPORTANT: This action works ONLY with SharePoint lists (not document libraries). The folder_url can be either a server-relative URL (e.g., '/Lists/MyList') or an absolute URL (e.g., 'https://site.sharepoint.com/sites/sitename/Lists/MyList'). To create files in document libraries, use a different action like upload_file.\",\n input: SharePointCreateListItemInFolderInput,\n output: SharePointCreateListItemInFolderOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;EAClE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CAChE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,wDAAwD;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kLAAkL,CAAC,CAAC,SAAS;CAC5N,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yfAAyf;CACzhB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACrJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAC1G,CAAC;AACD,MAAM,6DAA6D,EAAE,OAAO;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;CAClL,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CACvI,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACrF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,mCAAmC,OAAO,0CAA0C;CAC/F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAToD,EAAE,OAAO,EAC7D,OAAO,EAAE,MAAM,0DAA0D,CAAC,CAAC,SAAS,wDAAwD,EAC9I,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
@@ -19,7 +19,7 @@ const SharePointCreateWebOutput = zod.z.object({
19
19
  description: zod.z.string().describe("The description of the created subsite").nullable(),
20
20
  web_template: zod.z.string().describe("The web template used for the created subsite").nullable(),
21
21
  server_relative_url: zod.z.string().describe("The server-relative URL of the created subsite").nullable()
22
- });
22
+ }).passthrough();
23
23
  const sharePointCreateWeb = require_action.action("SHARE_POINT_CREATE_WEB", {
24
24
  slug: "share_point-create-web",
25
25
  name: "Create SharePoint Subsite",
@@ -1 +1 @@
1
- {"version":3,"file":"create-web.cjs","names":["z","action"],"sources":["../../src/actions/create-web.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateWebInput = z.object({\n url: z.string().describe(\"The URL segment for the new subsite (e.g., 'TestSubWeb'). This becomes part of the site URL path. Must contain only letters, numbers, hyphens, and underscores.\"),\n title: z.string().describe(\"The display title for the new subsite.\"),\n language: z.number().int().default(1033).describe(\"Language code for the subsite. Default is 1033 (English - United States). Examples: 1031 (German), 1033 (English), 1036 (French), 1040 (Italian), 1041 (Japanese), 1042 (Korean), 1043 (Dutch), 2052 (Chinese - Simplified), 3082 (Spanish).\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to. You can find this in your SharePoint URL after /sites/ (e.g., https://tenant.sharepoint.com/sites/<subsite-name>). If omitted, the root site is used.\").optional(),\n description: z.string().default(\"\").describe(\"A description of the new subsite (optional).\").optional(),\n web_template: z.string().default(\"sts\").describe(\"Web template to use for the subsite. Use 'sts' for modern team site homepage or 'sts#0' for classic team site. Other options include 'blog', 'wiki', etc.\").optional(),\n use_unique_permissions: z.boolean().default(false).describe(\"If true, the subsite will have unique permissions separate from the parent site. If false, it inherits permissions from the parent site.\").optional(),\n});\nexport const SharePointCreateWebOutput = z.object({\n id: z.string().describe(\"The unique identifier (GUID) of the created subsite\").nullable(),\n url: z.string().describe(\"The URL of the created subsite\").nullable(),\n title: z.string().describe(\"The title of the created subsite\").nullable(),\n message: z.string().describe(\"Success message indicating subsite creation\").nullable(),\n language: z.number().int().describe(\"The language code of the created subsite\").nullable(),\n description: z.string().describe(\"The description of the created subsite\").nullable(),\n web_template: z.string().describe(\"The web template used for the created subsite\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the created subsite\").nullable(),\n});\n\nexport const sharePointCreateWeb = action(\"SHARE_POINT_CREATE_WEB\", {\n slug: \"share_point-create-web\",\n name: \"Create SharePoint Subsite\",\n description: \"Tool to create a new SharePoint subsite under the current site. Use when you need to create a new subsite with specific settings for permissions, language, and template.\",\n input: SharePointCreateWebInput,\n output: SharePointCreateWebOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;CAC1L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8OAA8O,CAAC,CAAC,SAAS;CAC3S,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAC3O,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACvN,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AACnN,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACtG,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-web.cjs","names":["z","action"],"sources":["../../src/actions/create-web.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointCreateWebInput = z.object({\n url: z.string().describe(\"The URL segment for the new subsite (e.g., 'TestSubWeb'). This becomes part of the site URL path. Must contain only letters, numbers, hyphens, and underscores.\"),\n title: z.string().describe(\"The display title for the new subsite.\"),\n language: z.number().int().default(1033).describe(\"Language code for the subsite. Default is 1033 (English - United States). Examples: 1031 (German), 1033 (English), 1036 (French), 1040 (Italian), 1041 (Japanese), 1042 (Korean), 1043 (Dutch), 2052 (Chinese - Simplified), 3082 (Spanish).\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to. You can find this in your SharePoint URL after /sites/ (e.g., https://tenant.sharepoint.com/sites/<subsite-name>). If omitted, the root site is used.\").optional(),\n description: z.string().default(\"\").describe(\"A description of the new subsite (optional).\").optional(),\n web_template: z.string().default(\"sts\").describe(\"Web template to use for the subsite. Use 'sts' for modern team site homepage or 'sts#0' for classic team site. Other options include 'blog', 'wiki', etc.\").optional(),\n use_unique_permissions: z.boolean().default(false).describe(\"If true, the subsite will have unique permissions separate from the parent site. If false, it inherits permissions from the parent site.\").optional(),\n});\nexport const SharePointCreateWebOutput = z.object({\n id: z.string().describe(\"The unique identifier (GUID) of the created subsite\").nullable(),\n url: z.string().describe(\"The URL of the created subsite\").nullable(),\n title: z.string().describe(\"The title of the created subsite\").nullable(),\n message: z.string().describe(\"Success message indicating subsite creation\").nullable(),\n language: z.number().int().describe(\"The language code of the created subsite\").nullable(),\n description: z.string().describe(\"The description of the created subsite\").nullable(),\n web_template: z.string().describe(\"The web template used for the created subsite\").nullable(),\n server_relative_url: z.string().describe(\"The server-relative URL of the created subsite\").nullable(),\n}).passthrough();\n\nexport const sharePointCreateWeb = action(\"SHARE_POINT_CREATE_WEB\", {\n slug: \"share_point-create-web\",\n name: \"Create SharePoint Subsite\",\n description: \"Tool to create a new SharePoint subsite under the current site. Use when you need to create a new subsite with specific settings for permissions, language, and template.\",\n input: SharePointCreateWebInput,\n output: SharePointCreateWebOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iKAAiK;CAC1L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CACnE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8OAA8O,CAAC,CAAC,SAAS;CAC3S,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iMAAiM,CAAC,CAAC,SAAS;CAC3O,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,2JAA2J,CAAC,CAAC,SAAS;CACvN,wBAAwBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,0IAA0I,CAAC,CAAC,SAAS;AACnN,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CACpF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAC5F,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -19,7 +19,7 @@ declare const SharePointCreateWebOutput: z.ZodObject<{
19
19
  description: z.ZodNullable<z.ZodString>;
20
20
  web_template: z.ZodNullable<z.ZodString>;
21
21
  server_relative_url: z.ZodNullable<z.ZodString>;
22
- }, z.core.$strip>;
22
+ }, z.core.$loose>;
23
23
  declare const sharePointCreateWeb: import("@keystrokehq/action").WorkflowActionDefinition<{
24
24
  url: string;
25
25
  title: string;
@@ -28,7 +28,19 @@ declare const sharePointCreateWeb: import("@keystrokehq/action").WorkflowActionD
28
28
  description?: string | undefined;
29
29
  web_template?: string | undefined;
30
30
  use_unique_permissions?: boolean | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
31
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<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>>]>, 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>>]>;
32
44
  //#endregion
33
45
  export { sharePointCreateWeb };
34
46
  //# sourceMappingURL=create-web.d.cts.map