@keystrokehq/share_point 0.1.0 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (748) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-attachment-to-list-item.cjs +3 -3
  5. package/dist/actions/add-attachment-to-list-item.cjs.map +1 -1
  6. package/dist/actions/add-attachment-to-list-item.d.cts +32 -3
  7. package/dist/actions/add-attachment-to-list-item.d.cts.map +1 -1
  8. package/dist/actions/add-attachment-to-list-item.d.mts +32 -3
  9. package/dist/actions/add-attachment-to-list-item.d.mts.map +1 -1
  10. package/dist/actions/add-attachment-to-list-item.mjs +3 -3
  11. package/dist/actions/add-attachment-to-list-item.mjs.map +1 -1
  12. package/dist/actions/add-field-link-to-content-type.cjs +7 -7
  13. package/dist/actions/add-field-link-to-content-type.cjs.map +1 -1
  14. package/dist/actions/add-field-link-to-content-type.d.cts +25 -3
  15. package/dist/actions/add-field-link-to-content-type.d.cts.map +1 -1
  16. package/dist/actions/add-field-link-to-content-type.d.mts +25 -3
  17. package/dist/actions/add-field-link-to-content-type.d.mts.map +1 -1
  18. package/dist/actions/add-field-link-to-content-type.mjs +7 -7
  19. package/dist/actions/add-field-link-to-content-type.mjs.map +1 -1
  20. package/dist/actions/add-role-assignment-to-item.cjs +6 -6
  21. package/dist/actions/add-role-assignment-to-item.cjs.map +1 -1
  22. package/dist/actions/add-role-assignment-to-item.d.cts +21 -3
  23. package/dist/actions/add-role-assignment-to-item.d.cts.map +1 -1
  24. package/dist/actions/add-role-assignment-to-item.d.mts +21 -3
  25. package/dist/actions/add-role-assignment-to-item.d.mts.map +1 -1
  26. package/dist/actions/add-role-assignment-to-item.mjs +6 -6
  27. package/dist/actions/add-role-assignment-to-item.mjs.map +1 -1
  28. package/dist/actions/add-role-assignment-to-list.cjs +3 -3
  29. package/dist/actions/add-role-assignment-to-list.cjs.map +1 -1
  30. package/dist/actions/add-role-assignment-to-list.d.cts +16 -3
  31. package/dist/actions/add-role-assignment-to-list.d.cts.map +1 -1
  32. package/dist/actions/add-role-assignment-to-list.d.mts +16 -3
  33. package/dist/actions/add-role-assignment-to-list.d.mts.map +1 -1
  34. package/dist/actions/add-role-assignment-to-list.mjs +3 -3
  35. package/dist/actions/add-role-assignment-to-list.mjs.map +1 -1
  36. package/dist/actions/break-role-inheritance-on-item.cjs +1 -1
  37. package/dist/actions/break-role-inheritance-on-item.cjs.map +1 -1
  38. package/dist/actions/break-role-inheritance-on-item.d.cts +17 -3
  39. package/dist/actions/break-role-inheritance-on-item.d.cts.map +1 -1
  40. package/dist/actions/break-role-inheritance-on-item.d.mts +17 -3
  41. package/dist/actions/break-role-inheritance-on-item.d.mts.map +1 -1
  42. package/dist/actions/break-role-inheritance-on-item.mjs +1 -1
  43. package/dist/actions/break-role-inheritance-on-item.mjs.map +1 -1
  44. package/dist/actions/break-role-inheritance-on-list.cjs +1 -1
  45. package/dist/actions/break-role-inheritance-on-list.cjs.map +1 -1
  46. package/dist/actions/break-role-inheritance-on-list.d.cts +15 -3
  47. package/dist/actions/break-role-inheritance-on-list.d.cts.map +1 -1
  48. package/dist/actions/break-role-inheritance-on-list.d.mts +15 -3
  49. package/dist/actions/break-role-inheritance-on-list.d.mts.map +1 -1
  50. package/dist/actions/break-role-inheritance-on-list.mjs +1 -1
  51. package/dist/actions/break-role-inheritance-on-list.mjs.map +1 -1
  52. package/dist/actions/check-in-file.cjs +4 -4
  53. package/dist/actions/check-in-file.cjs.map +1 -1
  54. package/dist/actions/check-in-file.d.cts +17 -3
  55. package/dist/actions/check-in-file.d.cts.map +1 -1
  56. package/dist/actions/check-in-file.d.mts +17 -3
  57. package/dist/actions/check-in-file.d.mts.map +1 -1
  58. package/dist/actions/check-in-file.mjs +4 -4
  59. package/dist/actions/check-in-file.mjs.map +1 -1
  60. package/dist/actions/create-content-type.cjs +3 -3
  61. package/dist/actions/create-content-type.cjs.map +1 -1
  62. package/dist/actions/create-content-type.d.cts +30 -3
  63. package/dist/actions/create-content-type.d.cts.map +1 -1
  64. package/dist/actions/create-content-type.d.mts +30 -3
  65. package/dist/actions/create-content-type.d.mts.map +1 -1
  66. package/dist/actions/create-content-type.mjs +3 -3
  67. package/dist/actions/create-content-type.mjs.map +1 -1
  68. package/dist/actions/create-drive-item-sharing-link.cjs +3 -3
  69. package/dist/actions/create-drive-item-sharing-link.cjs.map +1 -1
  70. package/dist/actions/create-drive-item-sharing-link.d.cts +44 -3
  71. package/dist/actions/create-drive-item-sharing-link.d.cts.map +1 -1
  72. package/dist/actions/create-drive-item-sharing-link.d.mts +44 -3
  73. package/dist/actions/create-drive-item-sharing-link.d.mts.map +1 -1
  74. package/dist/actions/create-drive-item-sharing-link.mjs +3 -3
  75. package/dist/actions/create-drive-item-sharing-link.mjs.map +1 -1
  76. package/dist/actions/create-list-field.cjs +7 -7
  77. package/dist/actions/create-list-field.cjs.map +1 -1
  78. package/dist/actions/create-list-field.d.cts +26 -3
  79. package/dist/actions/create-list-field.d.cts.map +1 -1
  80. package/dist/actions/create-list-field.d.mts +26 -3
  81. package/dist/actions/create-list-field.d.mts.map +1 -1
  82. package/dist/actions/create-list-field.mjs +7 -7
  83. package/dist/actions/create-list-field.mjs.map +1 -1
  84. package/dist/actions/create-list-item-by-id.cjs +5 -5
  85. package/dist/actions/create-list-item-by-id.cjs.map +1 -1
  86. package/dist/actions/create-list-item-by-id.d.cts +19 -3
  87. package/dist/actions/create-list-item-by-id.d.cts.map +1 -1
  88. package/dist/actions/create-list-item-by-id.d.mts +19 -3
  89. package/dist/actions/create-list-item-by-id.d.mts.map +1 -1
  90. package/dist/actions/create-list-item-by-id.mjs +5 -5
  91. package/dist/actions/create-list-item-by-id.mjs.map +1 -1
  92. package/dist/actions/create-list-item-in-folder.cjs +8 -8
  93. package/dist/actions/create-list-item-in-folder.cjs.map +1 -1
  94. package/dist/actions/create-list-item-in-folder.d.cts +31 -3
  95. package/dist/actions/create-list-item-in-folder.d.cts.map +1 -1
  96. package/dist/actions/create-list-item-in-folder.d.mts +31 -3
  97. package/dist/actions/create-list-item-in-folder.d.mts.map +1 -1
  98. package/dist/actions/create-list-item-in-folder.mjs +8 -8
  99. package/dist/actions/create-list-item-in-folder.mjs.map +1 -1
  100. package/dist/actions/create-web.cjs +9 -9
  101. package/dist/actions/create-web.cjs.map +1 -1
  102. package/dist/actions/create-web.d.cts +28 -3
  103. package/dist/actions/create-web.d.cts.map +1 -1
  104. package/dist/actions/create-web.d.mts +28 -3
  105. package/dist/actions/create-web.d.mts.map +1 -1
  106. package/dist/actions/create-web.mjs +9 -9
  107. package/dist/actions/create-web.mjs.map +1 -1
  108. package/dist/actions/delete-drive-item-version-content.cjs +5 -5
  109. package/dist/actions/delete-drive-item-version-content.cjs.map +1 -1
  110. package/dist/actions/delete-drive-item-version-content.d.cts +16 -3
  111. package/dist/actions/delete-drive-item-version-content.d.cts.map +1 -1
  112. package/dist/actions/delete-drive-item-version-content.d.mts +16 -3
  113. package/dist/actions/delete-drive-item-version-content.d.mts.map +1 -1
  114. package/dist/actions/delete-drive-item-version-content.mjs +5 -5
  115. package/dist/actions/delete-drive-item-version-content.mjs.map +1 -1
  116. package/dist/actions/delete-file-item.cjs +3 -3
  117. package/dist/actions/delete-file-item.cjs.map +1 -1
  118. package/dist/actions/delete-file-item.d.cts +14 -3
  119. package/dist/actions/delete-file-item.d.cts.map +1 -1
  120. package/dist/actions/delete-file-item.d.mts +14 -3
  121. package/dist/actions/delete-file-item.d.mts.map +1 -1
  122. package/dist/actions/delete-file-item.mjs +3 -3
  123. package/dist/actions/delete-file-item.mjs.map +1 -1
  124. package/dist/actions/delete-folder.cjs +3 -3
  125. package/dist/actions/delete-folder.cjs.map +1 -1
  126. package/dist/actions/delete-folder.d.cts +14 -3
  127. package/dist/actions/delete-folder.d.cts.map +1 -1
  128. package/dist/actions/delete-folder.d.mts +14 -3
  129. package/dist/actions/delete-folder.d.mts.map +1 -1
  130. package/dist/actions/delete-folder.mjs +3 -3
  131. package/dist/actions/delete-folder.mjs.map +1 -1
  132. package/dist/actions/delete-list-by-title.cjs +1 -1
  133. package/dist/actions/delete-list-by-title.cjs.map +1 -1
  134. package/dist/actions/delete-list-by-title.d.cts +13 -3
  135. package/dist/actions/delete-list-by-title.d.cts.map +1 -1
  136. package/dist/actions/delete-list-by-title.d.mts +13 -3
  137. package/dist/actions/delete-list-by-title.d.mts.map +1 -1
  138. package/dist/actions/delete-list-by-title.mjs +1 -1
  139. package/dist/actions/delete-list-by-title.mjs.map +1 -1
  140. package/dist/actions/delete-list-item.cjs +1 -1
  141. package/dist/actions/delete-list-item.cjs.map +1 -1
  142. package/dist/actions/delete-list-item.d.cts +15 -3
  143. package/dist/actions/delete-list-item.d.cts.map +1 -1
  144. package/dist/actions/delete-list-item.d.mts +15 -3
  145. package/dist/actions/delete-list-item.d.mts.map +1 -1
  146. package/dist/actions/delete-list-item.mjs +1 -1
  147. package/dist/actions/delete-list-item.mjs.map +1 -1
  148. package/dist/actions/delete-list-items.cjs +7 -7
  149. package/dist/actions/delete-list-items.cjs.map +1 -1
  150. package/dist/actions/delete-list-items.d.cts +22 -3
  151. package/dist/actions/delete-list-items.d.cts.map +1 -1
  152. package/dist/actions/delete-list-items.d.mts +22 -3
  153. package/dist/actions/delete-list-items.d.mts.map +1 -1
  154. package/dist/actions/delete-list-items.mjs +7 -7
  155. package/dist/actions/delete-list-items.mjs.map +1 -1
  156. package/dist/actions/delete-list.cjs +1 -1
  157. package/dist/actions/delete-list.cjs.map +1 -1
  158. package/dist/actions/delete-list.d.cts +13 -3
  159. package/dist/actions/delete-list.d.cts.map +1 -1
  160. package/dist/actions/delete-list.d.mts +13 -3
  161. package/dist/actions/delete-list.d.mts.map +1 -1
  162. package/dist/actions/delete-list.mjs +1 -1
  163. package/dist/actions/delete-list.mjs.map +1 -1
  164. package/dist/actions/delete-recycle-bin-item-permanent.cjs +1 -1
  165. package/dist/actions/delete-recycle-bin-item-permanent.cjs.map +1 -1
  166. package/dist/actions/delete-recycle-bin-item-permanent.d.cts +11 -3
  167. package/dist/actions/delete-recycle-bin-item-permanent.d.cts.map +1 -1
  168. package/dist/actions/delete-recycle-bin-item-permanent.d.mts +11 -3
  169. package/dist/actions/delete-recycle-bin-item-permanent.d.mts.map +1 -1
  170. package/dist/actions/delete-recycle-bin-item-permanent.mjs +1 -1
  171. package/dist/actions/delete-recycle-bin-item-permanent.mjs.map +1 -1
  172. package/dist/actions/download-file-by-server-relative-url.cjs +5 -5
  173. package/dist/actions/download-file-by-server-relative-url.cjs.map +1 -1
  174. package/dist/actions/download-file-by-server-relative-url.d.cts +15 -3
  175. package/dist/actions/download-file-by-server-relative-url.d.cts.map +1 -1
  176. package/dist/actions/download-file-by-server-relative-url.d.mts +15 -3
  177. package/dist/actions/download-file-by-server-relative-url.d.mts.map +1 -1
  178. package/dist/actions/download-file-by-server-relative-url.mjs +5 -5
  179. package/dist/actions/download-file-by-server-relative-url.mjs.map +1 -1
  180. package/dist/actions/ensure-user.cjs +12 -12
  181. package/dist/actions/ensure-user.cjs.map +1 -1
  182. package/dist/actions/ensure-user.d.cts +29 -3
  183. package/dist/actions/ensure-user.d.cts.map +1 -1
  184. package/dist/actions/ensure-user.d.mts +29 -3
  185. package/dist/actions/ensure-user.d.mts.map +1 -1
  186. package/dist/actions/ensure-user.mjs +12 -12
  187. package/dist/actions/ensure-user.mjs.map +1 -1
  188. package/dist/actions/follow.cjs +1 -1
  189. package/dist/actions/follow.cjs.map +1 -1
  190. package/dist/actions/follow.d.cts +17 -3
  191. package/dist/actions/follow.d.cts.map +1 -1
  192. package/dist/actions/follow.d.mts +17 -3
  193. package/dist/actions/follow.d.mts.map +1 -1
  194. package/dist/actions/follow.mjs +1 -1
  195. package/dist/actions/follow.mjs.map +1 -1
  196. package/dist/actions/get-all-folders.cjs +1 -1
  197. package/dist/actions/get-all-folders.cjs.map +1 -1
  198. package/dist/actions/get-all-folders.d.cts +30 -3
  199. package/dist/actions/get-all-folders.d.cts.map +1 -1
  200. package/dist/actions/get-all-folders.d.mts +30 -3
  201. package/dist/actions/get-all-folders.d.mts.map +1 -1
  202. package/dist/actions/get-all-folders.mjs +1 -1
  203. package/dist/actions/get-all-folders.mjs.map +1 -1
  204. package/dist/actions/get-changes.cjs +2 -2
  205. package/dist/actions/get-changes.cjs.map +1 -1
  206. package/dist/actions/get-changes.d.cts +98 -3
  207. package/dist/actions/get-changes.d.cts.map +1 -1
  208. package/dist/actions/get-changes.d.mts +98 -3
  209. package/dist/actions/get-changes.d.mts.map +1 -1
  210. package/dist/actions/get-changes.mjs +2 -2
  211. package/dist/actions/get-changes.mjs.map +1 -1
  212. package/dist/actions/get-content-type.cjs +3 -3
  213. package/dist/actions/get-content-type.cjs.map +1 -1
  214. package/dist/actions/get-content-type.d.cts +34 -3
  215. package/dist/actions/get-content-type.d.cts.map +1 -1
  216. package/dist/actions/get-content-type.d.mts +34 -3
  217. package/dist/actions/get-content-type.d.mts.map +1 -1
  218. package/dist/actions/get-content-type.mjs +3 -3
  219. package/dist/actions/get-content-type.mjs.map +1 -1
  220. package/dist/actions/get-content-types-for-list.cjs +4 -4
  221. package/dist/actions/get-content-types-for-list.cjs.map +1 -1
  222. package/dist/actions/get-content-types-for-list.d.cts +22 -3
  223. package/dist/actions/get-content-types-for-list.d.cts.map +1 -1
  224. package/dist/actions/get-content-types-for-list.d.mts +22 -3
  225. package/dist/actions/get-content-types-for-list.d.mts.map +1 -1
  226. package/dist/actions/get-content-types-for-list.mjs +4 -4
  227. package/dist/actions/get-content-types-for-list.mjs.map +1 -1
  228. package/dist/actions/get-content-types.cjs +4 -4
  229. package/dist/actions/get-content-types.cjs.map +1 -1
  230. package/dist/actions/get-content-types.d.cts +32 -3
  231. package/dist/actions/get-content-types.d.cts.map +1 -1
  232. package/dist/actions/get-content-types.d.mts +32 -3
  233. package/dist/actions/get-content-types.d.mts.map +1 -1
  234. package/dist/actions/get-content-types.mjs +4 -4
  235. package/dist/actions/get-content-types.mjs.map +1 -1
  236. package/dist/actions/get-context-info.cjs +4 -4
  237. package/dist/actions/get-context-info.cjs.map +1 -1
  238. package/dist/actions/get-context-info.d.cts +16 -3
  239. package/dist/actions/get-context-info.d.cts.map +1 -1
  240. package/dist/actions/get-context-info.d.mts +16 -3
  241. package/dist/actions/get-context-info.d.mts.map +1 -1
  242. package/dist/actions/get-context-info.mjs +4 -4
  243. package/dist/actions/get-context-info.mjs.map +1 -1
  244. package/dist/actions/get-current-user.cjs +13 -13
  245. package/dist/actions/get-current-user.cjs.map +1 -1
  246. package/dist/actions/get-current-user.d.cts +33 -3
  247. package/dist/actions/get-current-user.d.cts.map +1 -1
  248. package/dist/actions/get-current-user.d.mts +33 -3
  249. package/dist/actions/get-current-user.d.mts.map +1 -1
  250. package/dist/actions/get-current-user.mjs +13 -13
  251. package/dist/actions/get-current-user.mjs.map +1 -1
  252. package/dist/actions/get-drive-item-analytics.cjs +2 -2
  253. package/dist/actions/get-drive-item-analytics.cjs.map +1 -1
  254. package/dist/actions/get-drive-item-analytics.d.cts +44 -3
  255. package/dist/actions/get-drive-item-analytics.d.cts.map +1 -1
  256. package/dist/actions/get-drive-item-analytics.d.mts +44 -3
  257. package/dist/actions/get-drive-item-analytics.d.mts.map +1 -1
  258. package/dist/actions/get-drive-item-analytics.mjs +2 -2
  259. package/dist/actions/get-drive-item-analytics.mjs.map +1 -1
  260. package/dist/actions/get-group-users-by-id.cjs +9 -9
  261. package/dist/actions/get-group-users-by-id.cjs.map +1 -1
  262. package/dist/actions/get-group-users-by-id.d.cts +49 -3
  263. package/dist/actions/get-group-users-by-id.d.cts.map +1 -1
  264. package/dist/actions/get-group-users-by-id.d.mts +49 -3
  265. package/dist/actions/get-group-users-by-id.d.mts.map +1 -1
  266. package/dist/actions/get-group-users-by-id.mjs +9 -9
  267. package/dist/actions/get-group-users-by-id.mjs.map +1 -1
  268. package/dist/actions/get-group-users.cjs +9 -9
  269. package/dist/actions/get-group-users.cjs.map +1 -1
  270. package/dist/actions/get-group-users.d.cts +49 -3
  271. package/dist/actions/get-group-users.d.cts.map +1 -1
  272. package/dist/actions/get-group-users.d.mts +49 -3
  273. package/dist/actions/get-group-users.d.mts.map +1 -1
  274. package/dist/actions/get-group-users.mjs +9 -9
  275. package/dist/actions/get-group-users.mjs.map +1 -1
  276. package/dist/actions/get-item-attachment-content.cjs +5 -5
  277. package/dist/actions/get-item-attachment-content.cjs.map +1 -1
  278. package/dist/actions/get-item-attachment-content.d.cts +19 -3
  279. package/dist/actions/get-item-attachment-content.d.cts.map +1 -1
  280. package/dist/actions/get-item-attachment-content.d.mts +19 -3
  281. package/dist/actions/get-item-attachment-content.d.mts.map +1 -1
  282. package/dist/actions/get-item-attachment-content.mjs +5 -5
  283. package/dist/actions/get-item-attachment-content.mjs.map +1 -1
  284. package/dist/actions/get-list-by-guid.cjs.map +1 -1
  285. package/dist/actions/get-list-by-guid.d.cts +51 -3
  286. package/dist/actions/get-list-by-guid.d.cts.map +1 -1
  287. package/dist/actions/get-list-by-guid.d.mts +51 -3
  288. package/dist/actions/get-list-by-guid.d.mts.map +1 -1
  289. package/dist/actions/get-list-by-guid.mjs.map +1 -1
  290. package/dist/actions/get-list-by-title.cjs.map +1 -1
  291. package/dist/actions/get-list-by-title.d.cts +51 -3
  292. package/dist/actions/get-list-by-title.d.cts.map +1 -1
  293. package/dist/actions/get-list-by-title.d.mts +51 -3
  294. package/dist/actions/get-list-by-title.d.mts.map +1 -1
  295. package/dist/actions/get-list-by-title.mjs.map +1 -1
  296. package/dist/actions/get-list-content-type-by-id.cjs +4 -4
  297. package/dist/actions/get-list-content-type-by-id.cjs.map +1 -1
  298. package/dist/actions/get-list-content-type-by-id.d.cts +31 -3
  299. package/dist/actions/get-list-content-type-by-id.d.cts.map +1 -1
  300. package/dist/actions/get-list-content-type-by-id.d.mts +31 -3
  301. package/dist/actions/get-list-content-type-by-id.d.mts.map +1 -1
  302. package/dist/actions/get-list-content-type-by-id.mjs +4 -4
  303. package/dist/actions/get-list-content-type-by-id.mjs.map +1 -1
  304. package/dist/actions/get-list-item-by-id.cjs.map +1 -1
  305. package/dist/actions/get-list-item-by-id.d.cts +27 -3
  306. package/dist/actions/get-list-item-by-id.d.cts.map +1 -1
  307. package/dist/actions/get-list-item-by-id.d.mts +27 -3
  308. package/dist/actions/get-list-item-by-id.d.mts.map +1 -1
  309. package/dist/actions/get-list-item-by-id.mjs.map +1 -1
  310. package/dist/actions/get-list-item-version.cjs.map +1 -1
  311. package/dist/actions/get-list-item-version.d.cts +20 -3
  312. package/dist/actions/get-list-item-version.d.cts.map +1 -1
  313. package/dist/actions/get-list-item-version.d.mts +20 -3
  314. package/dist/actions/get-list-item-version.d.mts.map +1 -1
  315. package/dist/actions/get-list-item-version.mjs.map +1 -1
  316. package/dist/actions/get-list-items-by-guid.cjs +1 -1
  317. package/dist/actions/get-list-items-by-guid.cjs.map +1 -1
  318. package/dist/actions/get-list-items-by-guid.d.cts +23 -3
  319. package/dist/actions/get-list-items-by-guid.d.cts.map +1 -1
  320. package/dist/actions/get-list-items-by-guid.d.mts +23 -3
  321. package/dist/actions/get-list-items-by-guid.d.mts.map +1 -1
  322. package/dist/actions/get-list-items-by-guid.mjs +1 -1
  323. package/dist/actions/get-list-items-by-guid.mjs.map +1 -1
  324. package/dist/actions/get-list-items.cjs +7 -7
  325. package/dist/actions/get-list-items.cjs.map +1 -1
  326. package/dist/actions/get-list-items.d.cts +71 -3
  327. package/dist/actions/get-list-items.d.cts.map +1 -1
  328. package/dist/actions/get-list-items.d.mts +71 -3
  329. package/dist/actions/get-list-items.d.mts.map +1 -1
  330. package/dist/actions/get-list-items.mjs +7 -7
  331. package/dist/actions/get-list-items.mjs.map +1 -1
  332. package/dist/actions/get-my-followed.cjs +6 -6
  333. package/dist/actions/get-my-followed.cjs.map +1 -1
  334. package/dist/actions/get-my-followed.d.cts +29 -3
  335. package/dist/actions/get-my-followed.d.cts.map +1 -1
  336. package/dist/actions/get-my-followed.d.mts +29 -3
  337. package/dist/actions/get-my-followed.d.mts.map +1 -1
  338. package/dist/actions/get-my-followed.mjs +6 -6
  339. package/dist/actions/get-my-followed.mjs.map +1 -1
  340. package/dist/actions/get-my-followers.cjs +2 -2
  341. package/dist/actions/get-my-followers.cjs.map +1 -1
  342. package/dist/actions/get-my-followers.d.cts +28 -3
  343. package/dist/actions/get-my-followers.d.cts.map +1 -1
  344. package/dist/actions/get-my-followers.d.mts +28 -3
  345. package/dist/actions/get-my-followers.d.mts.map +1 -1
  346. package/dist/actions/get-my-followers.mjs +2 -2
  347. package/dist/actions/get-my-followers.mjs.map +1 -1
  348. package/dist/actions/get-role-definitions.cjs +3 -3
  349. package/dist/actions/get-role-definitions.cjs.map +1 -1
  350. package/dist/actions/get-role-definitions.d.cts +29 -3
  351. package/dist/actions/get-role-definitions.d.cts.map +1 -1
  352. package/dist/actions/get-role-definitions.d.mts +29 -3
  353. package/dist/actions/get-role-definitions.d.mts.map +1 -1
  354. package/dist/actions/get-role-definitions.mjs +3 -3
  355. package/dist/actions/get-role-definitions.mjs.map +1 -1
  356. package/dist/actions/get-site-by-hostname.cjs.map +1 -1
  357. package/dist/actions/get-site-by-hostname.d.cts +22 -3
  358. package/dist/actions/get-site-by-hostname.d.cts.map +1 -1
  359. package/dist/actions/get-site-by-hostname.d.mts +22 -3
  360. package/dist/actions/get-site-by-hostname.d.mts.map +1 -1
  361. package/dist/actions/get-site-by-hostname.mjs.map +1 -1
  362. package/dist/actions/get-site-by-id.cjs +1 -1
  363. package/dist/actions/get-site-by-id.cjs.map +1 -1
  364. package/dist/actions/get-site-by-id.d.cts +70 -3
  365. package/dist/actions/get-site-by-id.d.cts.map +1 -1
  366. package/dist/actions/get-site-by-id.d.mts +70 -3
  367. package/dist/actions/get-site-by-id.d.mts.map +1 -1
  368. package/dist/actions/get-site-by-id.mjs +1 -1
  369. package/dist/actions/get-site-by-id.mjs.map +1 -1
  370. package/dist/actions/get-site-collection-info.cjs +1 -1
  371. package/dist/actions/get-site-collection-info.cjs.map +1 -1
  372. package/dist/actions/get-site-collection-info.d.cts +31 -3
  373. package/dist/actions/get-site-collection-info.d.cts.map +1 -1
  374. package/dist/actions/get-site-collection-info.d.mts +31 -3
  375. package/dist/actions/get-site-collection-info.d.mts.map +1 -1
  376. package/dist/actions/get-site-collection-info.mjs +1 -1
  377. package/dist/actions/get-site-collection-info.mjs.map +1 -1
  378. package/dist/actions/get-site-drive-item-by-path.cjs +7 -7
  379. package/dist/actions/get-site-drive-item-by-path.cjs.map +1 -1
  380. package/dist/actions/get-site-drive-item-by-path.d.cts +119 -3
  381. package/dist/actions/get-site-drive-item-by-path.d.cts.map +1 -1
  382. package/dist/actions/get-site-drive-item-by-path.d.mts +119 -3
  383. package/dist/actions/get-site-drive-item-by-path.d.mts.map +1 -1
  384. package/dist/actions/get-site-drive-item-by-path.mjs +7 -7
  385. package/dist/actions/get-site-drive-item-by-path.mjs.map +1 -1
  386. package/dist/actions/get-site-page-content.cjs.map +1 -1
  387. package/dist/actions/get-site-page-content.d.cts +24 -3
  388. package/dist/actions/get-site-page-content.d.cts.map +1 -1
  389. package/dist/actions/get-site-page-content.d.mts +24 -3
  390. package/dist/actions/get-site-page-content.d.mts.map +1 -1
  391. package/dist/actions/get-site-page-content.mjs.map +1 -1
  392. package/dist/actions/get-site-root.cjs +1 -1
  393. package/dist/actions/get-site-root.cjs.map +1 -1
  394. package/dist/actions/get-site-root.d.cts +68 -3
  395. package/dist/actions/get-site-root.d.cts.map +1 -1
  396. package/dist/actions/get-site-root.d.mts +68 -3
  397. package/dist/actions/get-site-root.d.mts.map +1 -1
  398. package/dist/actions/get-site-root.mjs +1 -1
  399. package/dist/actions/get-site-root.mjs.map +1 -1
  400. package/dist/actions/get-user-effective-permissions-on-web.cjs +3 -3
  401. package/dist/actions/get-user-effective-permissions-on-web.cjs.map +1 -1
  402. package/dist/actions/get-user-effective-permissions-on-web.d.cts +12 -3
  403. package/dist/actions/get-user-effective-permissions-on-web.d.cts.map +1 -1
  404. package/dist/actions/get-user-effective-permissions-on-web.d.mts +12 -3
  405. package/dist/actions/get-user-effective-permissions-on-web.d.mts.map +1 -1
  406. package/dist/actions/get-user-effective-permissions-on-web.mjs +3 -3
  407. package/dist/actions/get-user-effective-permissions-on-web.mjs.map +1 -1
  408. package/dist/actions/get-web-info.cjs +1 -1
  409. package/dist/actions/get-web-info.cjs.map +1 -1
  410. package/dist/actions/get-web-info.d.cts +70 -3
  411. package/dist/actions/get-web-info.d.cts.map +1 -1
  412. package/dist/actions/get-web-info.d.mts +70 -3
  413. package/dist/actions/get-web-info.d.mts.map +1 -1
  414. package/dist/actions/get-web-info.mjs +1 -1
  415. package/dist/actions/get-web-info.mjs.map +1 -1
  416. package/dist/actions/get-webhook-subscription.cjs +5 -5
  417. package/dist/actions/get-webhook-subscription.cjs.map +1 -1
  418. package/dist/actions/get-webhook-subscription.d.cts +17 -3
  419. package/dist/actions/get-webhook-subscription.d.cts.map +1 -1
  420. package/dist/actions/get-webhook-subscription.d.mts +17 -3
  421. package/dist/actions/get-webhook-subscription.d.mts.map +1 -1
  422. package/dist/actions/get-webhook-subscription.mjs +5 -5
  423. package/dist/actions/get-webhook-subscription.mjs.map +1 -1
  424. package/dist/actions/get-webhook-subscriptions.cjs +6 -6
  425. package/dist/actions/get-webhook-subscriptions.cjs.map +1 -1
  426. package/dist/actions/get-webhook-subscriptions.d.cts +17 -3
  427. package/dist/actions/get-webhook-subscriptions.d.cts.map +1 -1
  428. package/dist/actions/get-webhook-subscriptions.d.mts +17 -3
  429. package/dist/actions/get-webhook-subscriptions.d.mts.map +1 -1
  430. package/dist/actions/get-webhook-subscriptions.mjs +6 -6
  431. package/dist/actions/get-webhook-subscriptions.mjs.map +1 -1
  432. package/dist/actions/is-followed.cjs +1 -1
  433. package/dist/actions/is-followed.cjs.map +1 -1
  434. package/dist/actions/is-followed.d.cts +17 -3
  435. package/dist/actions/is-followed.d.cts.map +1 -1
  436. package/dist/actions/is-followed.d.mts +17 -3
  437. package/dist/actions/is-followed.d.mts.map +1 -1
  438. package/dist/actions/is-followed.mjs +1 -1
  439. package/dist/actions/is-followed.mjs.map +1 -1
  440. package/dist/actions/list-all-lists.cjs +2 -2
  441. package/dist/actions/list-all-lists.cjs.map +1 -1
  442. package/dist/actions/list-all-lists.d.cts +29 -3
  443. package/dist/actions/list-all-lists.d.cts.map +1 -1
  444. package/dist/actions/list-all-lists.d.mts +29 -3
  445. package/dist/actions/list-all-lists.d.mts.map +1 -1
  446. package/dist/actions/list-all-lists.mjs +2 -2
  447. package/dist/actions/list-all-lists.mjs.map +1 -1
  448. package/dist/actions/list-drive-children.cjs +1 -1
  449. package/dist/actions/list-drive-children.cjs.map +1 -1
  450. package/dist/actions/list-drive-children.d.cts +76 -3
  451. package/dist/actions/list-drive-children.d.cts.map +1 -1
  452. package/dist/actions/list-drive-children.d.mts +76 -3
  453. package/dist/actions/list-drive-children.d.mts.map +1 -1
  454. package/dist/actions/list-drive-children.mjs +1 -1
  455. package/dist/actions/list-drive-children.mjs.map +1 -1
  456. package/dist/actions/list-drive-recent-items.cjs +1 -1
  457. package/dist/actions/list-drive-recent-items.cjs.map +1 -1
  458. package/dist/actions/list-drive-recent-items.d.cts +89 -3
  459. package/dist/actions/list-drive-recent-items.d.cts.map +1 -1
  460. package/dist/actions/list-drive-recent-items.d.mts +89 -3
  461. package/dist/actions/list-drive-recent-items.d.mts.map +1 -1
  462. package/dist/actions/list-drive-recent-items.mjs +1 -1
  463. package/dist/actions/list-drive-recent-items.mjs.map +1 -1
  464. package/dist/actions/list-drives-rest-api.cjs.map +1 -1
  465. package/dist/actions/list-drives-rest-api.d.cts +41 -3
  466. package/dist/actions/list-drives-rest-api.d.cts.map +1 -1
  467. package/dist/actions/list-drives-rest-api.d.mts +41 -3
  468. package/dist/actions/list-drives-rest-api.d.mts.map +1 -1
  469. package/dist/actions/list-drives-rest-api.mjs.map +1 -1
  470. package/dist/actions/list-files-in-folder.cjs +1 -1
  471. package/dist/actions/list-files-in-folder.cjs.map +1 -1
  472. package/dist/actions/list-files-in-folder.d.cts +31 -3
  473. package/dist/actions/list-files-in-folder.d.cts.map +1 -1
  474. package/dist/actions/list-files-in-folder.d.mts +31 -3
  475. package/dist/actions/list-files-in-folder.d.mts.map +1 -1
  476. package/dist/actions/list-files-in-folder.mjs +1 -1
  477. package/dist/actions/list-files-in-folder.mjs.map +1 -1
  478. package/dist/actions/list-item-attachments.cjs +4 -4
  479. package/dist/actions/list-item-attachments.cjs.map +1 -1
  480. package/dist/actions/list-item-attachments.d.cts +16 -3
  481. package/dist/actions/list-item-attachments.d.cts.map +1 -1
  482. package/dist/actions/list-item-attachments.d.mts +16 -3
  483. package/dist/actions/list-item-attachments.d.mts.map +1 -1
  484. package/dist/actions/list-item-attachments.mjs +4 -4
  485. package/dist/actions/list-item-attachments.mjs.map +1 -1
  486. package/dist/actions/list-list-columns.cjs +2 -2
  487. package/dist/actions/list-list-columns.cjs.map +1 -1
  488. package/dist/actions/list-list-columns.d.cts +34 -3
  489. package/dist/actions/list-list-columns.d.cts.map +1 -1
  490. package/dist/actions/list-list-columns.d.mts +34 -3
  491. package/dist/actions/list-list-columns.d.mts.map +1 -1
  492. package/dist/actions/list-list-columns.mjs +2 -2
  493. package/dist/actions/list-list-columns.mjs.map +1 -1
  494. package/dist/actions/list-recycle-bin-items.cjs +2 -2
  495. package/dist/actions/list-recycle-bin-items.cjs.map +1 -1
  496. package/dist/actions/list-recycle-bin-items.d.cts +33 -3
  497. package/dist/actions/list-recycle-bin-items.d.cts.map +1 -1
  498. package/dist/actions/list-recycle-bin-items.d.mts +33 -3
  499. package/dist/actions/list-recycle-bin-items.d.mts.map +1 -1
  500. package/dist/actions/list-recycle-bin-items.mjs +2 -2
  501. package/dist/actions/list-recycle-bin-items.mjs.map +1 -1
  502. package/dist/actions/list-site-drives.cjs.map +1 -1
  503. package/dist/actions/list-site-drives.d.cts +37 -3
  504. package/dist/actions/list-site-drives.d.cts.map +1 -1
  505. package/dist/actions/list-site-drives.d.mts +37 -3
  506. package/dist/actions/list-site-drives.d.mts.map +1 -1
  507. package/dist/actions/list-site-drives.mjs.map +1 -1
  508. package/dist/actions/list-site-groups.cjs +5 -5
  509. package/dist/actions/list-site-groups.cjs.map +1 -1
  510. package/dist/actions/list-site-groups.d.cts +76 -3
  511. package/dist/actions/list-site-groups.d.cts.map +1 -1
  512. package/dist/actions/list-site-groups.d.mts +76 -3
  513. package/dist/actions/list-site-groups.d.mts.map +1 -1
  514. package/dist/actions/list-site-groups.mjs +5 -5
  515. package/dist/actions/list-site-groups.mjs.map +1 -1
  516. package/dist/actions/list-site-users.cjs +11 -11
  517. package/dist/actions/list-site-users.cjs.map +1 -1
  518. package/dist/actions/list-site-users.d.cts +68 -3
  519. package/dist/actions/list-site-users.d.cts.map +1 -1
  520. package/dist/actions/list-site-users.d.mts +68 -3
  521. package/dist/actions/list-site-users.d.mts.map +1 -1
  522. package/dist/actions/list-site-users.mjs +11 -11
  523. package/dist/actions/list-site-users.mjs.map +1 -1
  524. package/dist/actions/list-sites.cjs.map +1 -1
  525. package/dist/actions/list-sites.d.cts +21 -3
  526. package/dist/actions/list-sites.d.cts.map +1 -1
  527. package/dist/actions/list-sites.d.mts +21 -3
  528. package/dist/actions/list-sites.d.mts.map +1 -1
  529. package/dist/actions/list-sites.mjs.map +1 -1
  530. package/dist/actions/list-subfolders-in-folder.cjs +1 -1
  531. package/dist/actions/list-subfolders-in-folder.cjs.map +1 -1
  532. package/dist/actions/list-subfolders-in-folder.d.cts +26 -3
  533. package/dist/actions/list-subfolders-in-folder.d.cts.map +1 -1
  534. package/dist/actions/list-subfolders-in-folder.d.mts +26 -3
  535. package/dist/actions/list-subfolders-in-folder.d.mts.map +1 -1
  536. package/dist/actions/list-subfolders-in-folder.mjs +1 -1
  537. package/dist/actions/list-subfolders-in-folder.mjs.map +1 -1
  538. package/dist/actions/log-event.cjs +1 -1
  539. package/dist/actions/log-event.cjs.map +1 -1
  540. package/dist/actions/log-event.d.cts +19 -3
  541. package/dist/actions/log-event.d.cts.map +1 -1
  542. package/dist/actions/log-event.d.mts +19 -3
  543. package/dist/actions/log-event.d.mts.map +1 -1
  544. package/dist/actions/log-event.mjs +1 -1
  545. package/dist/actions/log-event.mjs.map +1 -1
  546. package/dist/actions/recycle-file.cjs +1 -1
  547. package/dist/actions/recycle-file.cjs.map +1 -1
  548. package/dist/actions/recycle-file.d.cts +13 -3
  549. package/dist/actions/recycle-file.d.cts.map +1 -1
  550. package/dist/actions/recycle-file.d.mts +13 -3
  551. package/dist/actions/recycle-file.d.mts.map +1 -1
  552. package/dist/actions/recycle-file.mjs +1 -1
  553. package/dist/actions/recycle-file.mjs.map +1 -1
  554. package/dist/actions/recycle-list-item.cjs +1 -1
  555. package/dist/actions/recycle-list-item.cjs.map +1 -1
  556. package/dist/actions/recycle-list-item.d.cts +13 -3
  557. package/dist/actions/recycle-list-item.d.cts.map +1 -1
  558. package/dist/actions/recycle-list-item.d.mts +13 -3
  559. package/dist/actions/recycle-list-item.d.mts.map +1 -1
  560. package/dist/actions/recycle-list-item.mjs +1 -1
  561. package/dist/actions/recycle-list-item.mjs.map +1 -1
  562. package/dist/actions/rename-folder.cjs +4 -4
  563. package/dist/actions/rename-folder.cjs.map +1 -1
  564. package/dist/actions/rename-folder.d.cts +19 -3
  565. package/dist/actions/rename-folder.d.cts.map +1 -1
  566. package/dist/actions/rename-folder.d.mts +19 -3
  567. package/dist/actions/rename-folder.d.mts.map +1 -1
  568. package/dist/actions/rename-folder.mjs +4 -4
  569. package/dist/actions/rename-folder.mjs.map +1 -1
  570. package/dist/actions/render-list-data-as-stream.cjs +2 -2
  571. package/dist/actions/render-list-data-as-stream.cjs.map +1 -1
  572. package/dist/actions/render-list-data-as-stream.d.cts +66 -3
  573. package/dist/actions/render-list-data-as-stream.d.cts.map +1 -1
  574. package/dist/actions/render-list-data-as-stream.d.mts +66 -3
  575. package/dist/actions/render-list-data-as-stream.d.mts.map +1 -1
  576. package/dist/actions/render-list-data-as-stream.mjs +2 -2
  577. package/dist/actions/render-list-data-as-stream.mjs.map +1 -1
  578. package/dist/actions/restore-drive-item-version.cjs +5 -5
  579. package/dist/actions/restore-drive-item-version.cjs.map +1 -1
  580. package/dist/actions/restore-drive-item-version.d.cts +16 -3
  581. package/dist/actions/restore-drive-item-version.d.cts.map +1 -1
  582. package/dist/actions/restore-drive-item-version.d.mts +16 -3
  583. package/dist/actions/restore-drive-item-version.d.mts.map +1 -1
  584. package/dist/actions/restore-drive-item-version.mjs +5 -5
  585. package/dist/actions/restore-drive-item-version.mjs.map +1 -1
  586. package/dist/actions/restore-recycle-bin-item.cjs +1 -1
  587. package/dist/actions/restore-recycle-bin-item.cjs.map +1 -1
  588. package/dist/actions/restore-recycle-bin-item.d.cts +11 -3
  589. package/dist/actions/restore-recycle-bin-item.d.cts.map +1 -1
  590. package/dist/actions/restore-recycle-bin-item.d.mts +11 -3
  591. package/dist/actions/restore-recycle-bin-item.d.mts.map +1 -1
  592. package/dist/actions/restore-recycle-bin-item.mjs +1 -1
  593. package/dist/actions/restore-recycle-bin-item.mjs.map +1 -1
  594. package/dist/actions/search-files.cjs +27 -27
  595. package/dist/actions/search-files.cjs.map +1 -1
  596. package/dist/actions/search-files.d.cts +84 -3
  597. package/dist/actions/search-files.d.cts.map +1 -1
  598. package/dist/actions/search-files.d.mts +84 -3
  599. package/dist/actions/search-files.d.mts.map +1 -1
  600. package/dist/actions/search-files.mjs +27 -27
  601. package/dist/actions/search-files.mjs.map +1 -1
  602. package/dist/actions/search-query.cjs +23 -23
  603. package/dist/actions/search-query.cjs.map +1 -1
  604. package/dist/actions/search-query.d.cts +69 -3
  605. package/dist/actions/search-query.d.cts.map +1 -1
  606. package/dist/actions/search-query.d.mts +69 -3
  607. package/dist/actions/search-query.d.mts.map +1 -1
  608. package/dist/actions/search-query.mjs +23 -23
  609. package/dist/actions/search-query.mjs.map +1 -1
  610. package/dist/actions/search-suggest.cjs +1 -1
  611. package/dist/actions/search-suggest.cjs.map +1 -1
  612. package/dist/actions/search-suggest.d.cts +32 -3
  613. package/dist/actions/search-suggest.d.cts.map +1 -1
  614. package/dist/actions/search-suggest.d.mts +32 -3
  615. package/dist/actions/search-suggest.d.mts.map +1 -1
  616. package/dist/actions/search-suggest.mjs +1 -1
  617. package/dist/actions/search-suggest.mjs.map +1 -1
  618. package/dist/actions/sharepoint-check-out-file.cjs +3 -3
  619. package/dist/actions/sharepoint-check-out-file.cjs.map +1 -1
  620. package/dist/actions/sharepoint-check-out-file.d.cts +12 -3
  621. package/dist/actions/sharepoint-check-out-file.d.cts.map +1 -1
  622. package/dist/actions/sharepoint-check-out-file.d.mts +12 -3
  623. package/dist/actions/sharepoint-check-out-file.d.mts.map +1 -1
  624. package/dist/actions/sharepoint-check-out-file.mjs +3 -3
  625. package/dist/actions/sharepoint-check-out-file.mjs.map +1 -1
  626. package/dist/actions/sharepoint-create-folder.cjs +5 -5
  627. package/dist/actions/sharepoint-create-folder.cjs.map +1 -1
  628. package/dist/actions/sharepoint-create-folder.d.cts +18 -3
  629. package/dist/actions/sharepoint-create-folder.d.cts.map +1 -1
  630. package/dist/actions/sharepoint-create-folder.d.mts +18 -3
  631. package/dist/actions/sharepoint-create-folder.d.mts.map +1 -1
  632. package/dist/actions/sharepoint-create-folder.mjs +5 -5
  633. package/dist/actions/sharepoint-create-folder.mjs.map +1 -1
  634. package/dist/actions/sharepoint-create-list-item.cjs +4 -4
  635. package/dist/actions/sharepoint-create-list-item.cjs.map +1 -1
  636. package/dist/actions/sharepoint-create-list-item.d.cts +16 -3
  637. package/dist/actions/sharepoint-create-list-item.d.cts.map +1 -1
  638. package/dist/actions/sharepoint-create-list-item.d.mts +16 -3
  639. package/dist/actions/sharepoint-create-list-item.d.mts.map +1 -1
  640. package/dist/actions/sharepoint-create-list-item.mjs +4 -4
  641. package/dist/actions/sharepoint-create-list-item.mjs.map +1 -1
  642. package/dist/actions/sharepoint-create-list.cjs +5 -5
  643. package/dist/actions/sharepoint-create-list.cjs.map +1 -1
  644. package/dist/actions/sharepoint-create-list.d.cts +18 -3
  645. package/dist/actions/sharepoint-create-list.d.cts.map +1 -1
  646. package/dist/actions/sharepoint-create-list.d.mts +18 -3
  647. package/dist/actions/sharepoint-create-list.d.mts.map +1 -1
  648. package/dist/actions/sharepoint-create-list.mjs +5 -5
  649. package/dist/actions/sharepoint-create-list.mjs.map +1 -1
  650. package/dist/actions/sharepoint-find-user.cjs +3 -3
  651. package/dist/actions/sharepoint-find-user.cjs.map +1 -1
  652. package/dist/actions/sharepoint-find-user.d.cts +21 -3
  653. package/dist/actions/sharepoint-find-user.d.cts.map +1 -1
  654. package/dist/actions/sharepoint-find-user.d.mts +21 -3
  655. package/dist/actions/sharepoint-find-user.d.mts.map +1 -1
  656. package/dist/actions/sharepoint-find-user.mjs +3 -3
  657. package/dist/actions/sharepoint-find-user.mjs.map +1 -1
  658. package/dist/actions/sharepoint-remove-user.cjs +4 -4
  659. package/dist/actions/sharepoint-remove-user.cjs.map +1 -1
  660. package/dist/actions/sharepoint-remove-user.d.cts +13 -3
  661. package/dist/actions/sharepoint-remove-user.d.cts.map +1 -1
  662. package/dist/actions/sharepoint-remove-user.d.mts +13 -3
  663. package/dist/actions/sharepoint-remove-user.d.mts.map +1 -1
  664. package/dist/actions/sharepoint-remove-user.mjs +4 -4
  665. package/dist/actions/sharepoint-remove-user.mjs.map +1 -1
  666. package/dist/actions/undo-checkout-file.cjs +4 -4
  667. package/dist/actions/undo-checkout-file.cjs.map +1 -1
  668. package/dist/actions/undo-checkout-file.d.cts +13 -3
  669. package/dist/actions/undo-checkout-file.d.cts.map +1 -1
  670. package/dist/actions/undo-checkout-file.d.mts +13 -3
  671. package/dist/actions/undo-checkout-file.d.mts.map +1 -1
  672. package/dist/actions/undo-checkout-file.mjs +4 -4
  673. package/dist/actions/undo-checkout-file.mjs.map +1 -1
  674. package/dist/actions/update-content-type.cjs +6 -6
  675. package/dist/actions/update-content-type.cjs.map +1 -1
  676. package/dist/actions/update-content-type.d.cts +72 -3
  677. package/dist/actions/update-content-type.d.cts.map +1 -1
  678. package/dist/actions/update-content-type.d.mts +72 -3
  679. package/dist/actions/update-content-type.d.mts.map +1 -1
  680. package/dist/actions/update-content-type.mjs +6 -6
  681. package/dist/actions/update-content-type.mjs.map +1 -1
  682. package/dist/actions/update-drive-item.cjs.map +1 -1
  683. package/dist/actions/update-drive-item.d.cts +26 -3
  684. package/dist/actions/update-drive-item.d.cts.map +1 -1
  685. package/dist/actions/update-drive-item.d.mts +26 -3
  686. package/dist/actions/update-drive-item.d.mts.map +1 -1
  687. package/dist/actions/update-drive-item.mjs.map +1 -1
  688. package/dist/actions/update-file-item.cjs +5 -5
  689. package/dist/actions/update-file-item.cjs.map +1 -1
  690. package/dist/actions/update-file-item.d.cts +20 -3
  691. package/dist/actions/update-file-item.d.cts.map +1 -1
  692. package/dist/actions/update-file-item.d.mts +20 -3
  693. package/dist/actions/update-file-item.d.mts.map +1 -1
  694. package/dist/actions/update-file-item.mjs +5 -5
  695. package/dist/actions/update-file-item.mjs.map +1 -1
  696. package/dist/actions/update-list-item.cjs +5 -5
  697. package/dist/actions/update-list-item.cjs.map +1 -1
  698. package/dist/actions/update-list-item.d.cts +22 -3
  699. package/dist/actions/update-list-item.d.cts.map +1 -1
  700. package/dist/actions/update-list-item.d.mts +22 -3
  701. package/dist/actions/update-list-item.d.mts.map +1 -1
  702. package/dist/actions/update-list-item.mjs +5 -5
  703. package/dist/actions/update-list-item.mjs.map +1 -1
  704. package/dist/actions/update-list.cjs +4 -4
  705. package/dist/actions/update-list.cjs.map +1 -1
  706. package/dist/actions/update-list.d.cts +25 -3
  707. package/dist/actions/update-list.d.cts.map +1 -1
  708. package/dist/actions/update-list.d.mts +25 -3
  709. package/dist/actions/update-list.d.mts.map +1 -1
  710. package/dist/actions/update-list.mjs +4 -4
  711. package/dist/actions/update-list.mjs.map +1 -1
  712. package/dist/actions/update-site.cjs +3 -3
  713. package/dist/actions/update-site.cjs.map +1 -1
  714. package/dist/actions/update-site.d.cts +22 -3
  715. package/dist/actions/update-site.d.cts.map +1 -1
  716. package/dist/actions/update-site.d.mts +22 -3
  717. package/dist/actions/update-site.d.mts.map +1 -1
  718. package/dist/actions/update-site.mjs +3 -3
  719. package/dist/actions/update-site.mjs.map +1 -1
  720. package/dist/actions/upload-file.cjs +3 -3
  721. package/dist/actions/upload-file.cjs.map +1 -1
  722. package/dist/actions/upload-file.d.cts +30 -3
  723. package/dist/actions/upload-file.d.cts.map +1 -1
  724. package/dist/actions/upload-file.d.mts +30 -3
  725. package/dist/actions/upload-file.d.mts.map +1 -1
  726. package/dist/actions/upload-file.mjs +3 -3
  727. package/dist/actions/upload-file.mjs.map +1 -1
  728. package/dist/actions/upload-from-url.cjs +5 -5
  729. package/dist/actions/upload-from-url.cjs.map +1 -1
  730. package/dist/actions/upload-from-url.d.cts +33 -3
  731. package/dist/actions/upload-from-url.d.cts.map +1 -1
  732. package/dist/actions/upload-from-url.d.mts +33 -3
  733. package/dist/actions/upload-from-url.d.mts.map +1 -1
  734. package/dist/actions/upload-from-url.mjs +5 -5
  735. package/dist/actions/upload-from-url.mjs.map +1 -1
  736. package/dist/actions/validate-credential.cjs +2 -2
  737. package/dist/actions/validate-credential.cjs.map +1 -1
  738. package/dist/actions/validate-credential.d.cts +12 -3
  739. package/dist/actions/validate-credential.d.cts.map +1 -1
  740. package/dist/actions/validate-credential.d.mts +12 -3
  741. package/dist/actions/validate-credential.d.mts.map +1 -1
  742. package/dist/actions/validate-credential.mjs +2 -2
  743. package/dist/actions/validate-credential.mjs.map +1 -1
  744. package/dist/execute.cjs +1 -1
  745. package/dist/execute.cjs.map +1 -1
  746. package/dist/execute.mjs +1 -1
  747. package/dist/execute.mjs.map +1 -1
  748. package/package.json +2 -2
@@ -10,18 +10,18 @@ const SharePointGetContentTypesInput = zod.z.object({
10
10
  site_name: zod.z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.").optional(),
11
11
  skiptoken: zod.z.string().describe("OData $skiptoken for paging through results.").optional()
12
12
  }).describe("Optional OData query parameters for retrieving all SharePoint site content types.");
13
- const SharePointGetContentTypes_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID (Id.StringValue).") }).describe("Model for the content type ID object.");
13
+ const SharePointGetContentTypes_ContentTypeIdSchema = zod.z.object({ StringValue: zod.z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).passthrough().describe("Model for the content type ID object.");
14
14
  const SharePointGetContentTypes_ContentTypeSchema = zod.z.object({
15
15
  Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),
16
- Name: zod.z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'."),
16
+ Name: zod.z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'.").nullable(),
17
17
  Group: zod.z.string().describe("Content type group, e.g., 'List Content Types', 'Folder Content Types'.").nullable().optional(),
18
18
  Hidden: zod.z.boolean().describe("Whether the content type is hidden from the user interface.").nullable().optional(),
19
19
  Sealed: zod.z.boolean().describe("Whether the content type is sealed and cannot be customized.").nullable().optional(),
20
20
  ReadOnly: zod.z.boolean().describe("Whether the content type is read-only and cannot be modified.").nullable().optional(),
21
21
  StringId: zod.z.string().describe("String representation of the content type ID (convenience field, same as Id.StringValue).").nullable().optional(),
22
22
  Description: zod.z.string().describe("Description of the content type, e.g., 'Create a new list item.'.").nullable().optional()
23
- }).describe("Model representing a SharePoint content type.");
24
- const SharePointGetContentTypesOutput = zod.z.object({ content_types: zod.z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).describe("Response model containing a list of content types.");
23
+ }).passthrough().describe("Model representing a SharePoint content type.");
24
+ const SharePointGetContentTypesOutput = zod.z.object({ content_types: zod.z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).passthrough().describe("Response model containing a list of content types.");
25
25
  const sharePointGetContentTypes = require_action.action("SHARE_POINT_GET_CONTENT_TYPES", {
26
26
  slug: "share_point-get-content-types",
27
27
  name: "Get Site Content Types",
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types.cjs","names":["z","action"],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput: z.ZodTypeAny = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema: z.ZodTypeAny = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\"),\n}).describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema: z.ZodTypeAny = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\"),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput: z.ZodTypeAny = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gDAA8DA,IAAAA,EAAE,OAAO,EAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACnG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8CAA4DA,IAAAA,EAAE,OAAO;CACzE,IAAI,8CAA8C,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAC3D,MAAa,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,eAAeA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-content-types.cjs","names":["z","action"],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).passthrough().describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gDAAgDA,IAAAA,EAAE,OAAO,EAC7D,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,8CAA8CA,IAAAA,EAAE,OAAO;CAC3D,IAAI,8CAA8C,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,eAAeA,IAAAA,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-content-types.d.ts
4
- declare const SharePointGetContentTypesInput: z.ZodTypeAny;
5
- declare const SharePointGetContentTypesOutput: z.ZodTypeAny;
6
- declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SharePointGetContentTypesInput: z.ZodObject<{
5
+ top: z.ZodOptional<z.ZodNumber>;
6
+ expand: z.ZodOptional<z.ZodString>;
7
+ filter: z.ZodOptional<z.ZodString>;
8
+ select: z.ZodOptional<z.ZodString>;
9
+ orderby: z.ZodOptional<z.ZodString>;
10
+ site_name: z.ZodOptional<z.ZodString>;
11
+ skiptoken: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const SharePointGetContentTypesOutput: z.ZodObject<{
14
+ content_types: z.ZodArray<z.ZodObject<{
15
+ Id: z.ZodNullable<z.ZodObject<{
16
+ StringValue: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>;
18
+ Name: z.ZodNullable<z.ZodString>;
19
+ Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ Sealed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ top?: number | undefined;
29
+ expand?: string | undefined;
30
+ filter?: string | undefined;
31
+ select?: string | undefined;
32
+ orderby?: string | undefined;
33
+ site_name?: string | undefined;
34
+ skiptoken?: string | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { sharePointGetContentTypes };
9
38
  //# sourceMappingURL=get-content-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types.d.cts","names":[],"sources":["../../src/actions/get-content-types.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAQiD;AAAA,cAcnF,+BAAA,EAAiC,CAAA,CAAE,UAEiB;AAAA,cAEpD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-content-types.d.cts","names":[],"sources":["../../src/actions/get-content-types.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -1,9 +1,38 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-content-types.d.ts
4
- declare const SharePointGetContentTypesInput: z.ZodTypeAny;
5
- declare const SharePointGetContentTypesOutput: z.ZodTypeAny;
6
- declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SharePointGetContentTypesInput: z.ZodObject<{
5
+ top: z.ZodOptional<z.ZodNumber>;
6
+ expand: z.ZodOptional<z.ZodString>;
7
+ filter: z.ZodOptional<z.ZodString>;
8
+ select: z.ZodOptional<z.ZodString>;
9
+ orderby: z.ZodOptional<z.ZodString>;
10
+ site_name: z.ZodOptional<z.ZodString>;
11
+ skiptoken: z.ZodOptional<z.ZodString>;
12
+ }, z.core.$strip>;
13
+ declare const SharePointGetContentTypesOutput: z.ZodObject<{
14
+ content_types: z.ZodArray<z.ZodObject<{
15
+ Id: z.ZodNullable<z.ZodObject<{
16
+ StringValue: z.ZodNullable<z.ZodString>;
17
+ }, z.core.$loose>>;
18
+ Name: z.ZodNullable<z.ZodString>;
19
+ Group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ Hidden: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
21
+ Sealed: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
+ ReadOnly: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23
+ StringId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
+ Description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
+ }, z.core.$loose>>;
26
+ }, z.core.$loose>;
27
+ declare const sharePointGetContentTypes: import("@keystrokehq/action").WorkflowActionDefinition<{
28
+ top?: number | undefined;
29
+ expand?: string | undefined;
30
+ filter?: string | undefined;
31
+ select?: string | undefined;
32
+ orderby?: string | undefined;
33
+ site_name?: string | undefined;
34
+ skiptoken?: string | undefined;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
36
  //#endregion
8
37
  export { sharePointGetContentTypes };
9
38
  //# sourceMappingURL=get-content-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types.d.mts","names":[],"sources":["../../src/actions/get-content-types.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAQiD;AAAA,cAcnF,+BAAA,EAAiC,CAAA,CAAE,UAEiB;AAAA,cAEpD,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-content-types.d.mts","names":[],"sources":["../../src/actions/get-content-types.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;cAsB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAI/B,yBAAA,gCAAyB,wBAAA"}
@@ -10,23 +10,23 @@ const SharePointGetContentTypesInput = z.object({
10
10
  site_name: z.string().describe("The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.").optional(),
11
11
  skiptoken: z.string().describe("OData $skiptoken for paging through results.").optional()
12
12
  }).describe("Optional OData query parameters for retrieving all SharePoint site content types.");
13
- const SharePointGetContentTypes_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID (Id.StringValue).") }).describe("Model for the content type ID object.");
13
+ const SharePointGetContentTypes_ContentTypeIdSchema = z.object({ StringValue: z.string().describe("String representation of the content type ID (Id.StringValue).").nullable() }).passthrough().describe("Model for the content type ID object.");
14
14
  const SharePointGetContentTypes_ContentTypeSchema = z.object({
15
15
  Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),
16
- Name: z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'."),
16
+ Name: z.string().describe("Name of the content type, e.g., 'Item', 'Folder', 'Task'.").nullable(),
17
17
  Group: z.string().describe("Content type group, e.g., 'List Content Types', 'Folder Content Types'.").nullable().optional(),
18
18
  Hidden: z.boolean().describe("Whether the content type is hidden from the user interface.").nullable().optional(),
19
19
  Sealed: z.boolean().describe("Whether the content type is sealed and cannot be customized.").nullable().optional(),
20
20
  ReadOnly: z.boolean().describe("Whether the content type is read-only and cannot be modified.").nullable().optional(),
21
21
  StringId: z.string().describe("String representation of the content type ID (convenience field, same as Id.StringValue).").nullable().optional(),
22
22
  Description: z.string().describe("Description of the content type, e.g., 'Create a new list item.'.").nullable().optional()
23
- }).describe("Model representing a SharePoint content type.");
23
+ }).passthrough().describe("Model representing a SharePoint content type.");
24
24
  const sharePointGetContentTypes = action("SHARE_POINT_GET_CONTENT_TYPES", {
25
25
  slug: "share_point-get-content-types",
26
26
  name: "Get Site Content Types",
27
27
  description: "Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.",
28
28
  input: SharePointGetContentTypesInput,
29
- output: z.object({ content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).describe("Response model containing a list of content types.")
29
+ output: z.object({ content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe("List of content types for the SharePoint site.") }).passthrough().describe("Response model containing a list of content types.")
30
30
  });
31
31
  //#endregion
32
32
  export { sharePointGetContentTypes };
@@ -1 +1 @@
1
- {"version":3,"file":"get-content-types.mjs","names":[],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput: z.ZodTypeAny = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema: z.ZodTypeAny = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\"),\n}).describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema: z.ZodTypeAny = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\"),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput: z.ZodTypeAny = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+C,EAAE,OAAO;CACnE,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gDAA8D,EAAE,OAAO,EAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,EACnG,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,8CAA4D,EAAE,OAAO;CACzE,IAAI,8CAA8C,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,SAAS,+CAA+C;AAK3D,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT2D,EAAE,OAAO,EACpE,eAAe,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-content-types.mjs","names":[],"sources":["../../src/actions/get-content-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContentTypesInput = z.object({\n top: z.number().int().describe(\"OData $top to limit the number of results.\").optional(),\n expand: z.string().describe(\"OData $expand to include related entities.\").optional(),\n filter: z.string().describe(\"OData $filter to narrow results, e.g., 'Hidden eq false'.\").optional(),\n select: z.string().describe(\"OData $select to specify which content type fields to return, e.g., 'Name,Id,Description'.\").optional(),\n orderby: z.string().describe(\"OData $orderby to sort results, e.g., 'Name asc'.\").optional(),\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., 'composio-test'). If omitted, the root site is used. When provided, the API base URL becomes https://{tenant}.sharepoint.com/sites/{site}.\").optional(),\n skiptoken: z.string().describe(\"OData $skiptoken for paging through results.\").optional(),\n}).describe(\"Optional OData query parameters for retrieving all SharePoint site content types.\");\nconst SharePointGetContentTypes_ContentTypeIdSchema = z.object({\n StringValue: z.string().describe(\"String representation of the content type ID (Id.StringValue).\").nullable(),\n}).passthrough().describe(\"Model for the content type ID object.\");\nconst SharePointGetContentTypes_ContentTypeSchema = z.object({\n Id: SharePointGetContentTypes_ContentTypeIdSchema.nullable(),\n Name: z.string().describe(\"Name of the content type, e.g., 'Item', 'Folder', 'Task'.\").nullable(),\n Group: z.string().describe(\"Content type group, e.g., 'List Content Types', 'Folder Content Types'.\").nullable().optional(),\n Hidden: z.boolean().describe(\"Whether the content type is hidden from the user interface.\").nullable().optional(),\n Sealed: z.boolean().describe(\"Whether the content type is sealed and cannot be customized.\").nullable().optional(),\n ReadOnly: z.boolean().describe(\"Whether the content type is read-only and cannot be modified.\").nullable().optional(),\n StringId: z.string().describe(\"String representation of the content type ID (convenience field, same as Id.StringValue).\").nullable().optional(),\n Description: z.string().describe(\"Description of the content type, e.g., 'Create a new list item.'.\").nullable().optional(),\n}).passthrough().describe(\"Model representing a SharePoint content type.\");\nexport const SharePointGetContentTypesOutput = z.object({\n content_types: z.array(SharePointGetContentTypes_ContentTypeSchema).describe(\"List of content types for the SharePoint site.\"),\n}).passthrough().describe(\"Response model containing a list of content types.\");\n\nexport const sharePointGetContentTypes = action(\"SHARE_POINT_GET_CONTENT_TYPES\", {\n slug: \"share_point-get-content-types\",\n name: \"Get Site Content Types\",\n description: \"Retrieves all content types from the current SharePoint site. Use this action to discover available content types on a SharePoint site. Returns metadata for each content type including Id, Name, Description, Group, and other properties. Supports OData query parameters for filtering, selecting specific fields, sorting, and pagination.\",\n input: SharePointGetContentTypesInput,\n output: SharePointGetContentTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACnI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4LAA4L,CAAC,CAAC,SAAS;CACtO,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,gDAAgD,EAAE,OAAO,EAC7D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,8CAA8C,EAAE,OAAO;CAC3D,IAAI,8CAA8C,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CAChG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAKzE,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT6C,EAAE,OAAO,EACtD,eAAe,EAAE,MAAM,2CAA2C,CAAC,CAAC,SAAS,gDAAgD,EAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
@@ -6,11 +6,11 @@ const SharePointGetContextInfo_GetContextWebInformationSchema = zod.z.object({
6
6
  WebFullUrl: zod.z.string().describe("Full URL of the current web.").nullable().optional(),
7
7
  SiteFullUrl: zod.z.string().describe("Full URL of the SharePoint site.").nullable().optional(),
8
8
  LibraryVersion: zod.z.string().describe("Version of the SharePoint library.").nullable().optional(),
9
- FormDigestValue: zod.z.string().describe("Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header."),
9
+ FormDigestValue: zod.z.string().describe("Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.").nullable(),
10
10
  SupportedSchemaVersions: zod.z.array(zod.z.string()).describe("List of supported schema versions.").nullable().optional(),
11
- FormDigestTimeoutSeconds: zod.z.number().int().describe("Number of seconds until the form digest value expires and a new one must be requested.")
12
- }).describe("Context information returned by SharePoint.");
13
- const SharePointGetContextInfoOutput = zod.z.object({ GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable() }).describe("Response containing context information.");
11
+ FormDigestTimeoutSeconds: zod.z.number().int().describe("Number of seconds until the form digest value expires and a new one must be requested.").nullable()
12
+ }).passthrough().describe("Context information returned by SharePoint.");
13
+ const SharePointGetContextInfoOutput = zod.z.object({ GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable() }).passthrough().describe("Response containing context information.");
14
14
  const sharePointGetContextInfo = require_action.action("SHARE_POINT_GET_CONTEXT_INFO", {
15
15
  slug: "share_point-get-context-info",
16
16
  name: "Get SharePoint Context Info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-info.cjs","names":["z","action"],"sources":["../../src/actions/get-context-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContextInfoInput: z.ZodTypeAny = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving context info.\");\nconst SharePointGetContextInfo_GetContextWebInformationSchema: z.ZodTypeAny = z.object({\n WebFullUrl: z.string().describe(\"Full URL of the current web.\").nullable().optional(),\n SiteFullUrl: z.string().describe(\"Full URL of the SharePoint site.\").nullable().optional(),\n LibraryVersion: z.string().describe(\"Version of the SharePoint library.\").nullable().optional(),\n FormDigestValue: z.string().describe(\"Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.\"),\n SupportedSchemaVersions: z.array(z.string()).describe(\"List of supported schema versions.\").nullable().optional(),\n FormDigestTimeoutSeconds: z.number().int().describe(\"Number of seconds until the form digest value expires and a new one must be requested.\"),\n}).describe(\"Context information returned by SharePoint.\");\nexport const SharePointGetContextInfoOutput: z.ZodTypeAny = z.object({\n GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable(),\n}).describe(\"Response containing context information.\");\n\nexport const sharePointGetContextInfo = action(\"SHARE_POINT_GET_CONTEXT_INFO\", {\n slug: \"share_point-get-context-info\",\n name: \"Get SharePoint Context Info\",\n description: \"Tool to retrieve SharePoint context information including the form digest value. Use when you need a form digest token for write operations (POST, PUT, DELETE).\",\n input: SharePointGetContextInfoInput,\n output: SharePointGetContextInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,0DAAwEA,IAAAA,EAAE,OAAO;CACrF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CACvJ,yBAAyBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF;AAC9I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AACzD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,0BAA0B,wDAAwD,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-context-info.cjs","names":["z","action"],"sources":["../../src/actions/get-context-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContextInfoInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving context info.\");\nconst SharePointGetContextInfo_GetContextWebInformationSchema = z.object({\n WebFullUrl: z.string().describe(\"Full URL of the current web.\").nullable().optional(),\n SiteFullUrl: z.string().describe(\"Full URL of the SharePoint site.\").nullable().optional(),\n LibraryVersion: z.string().describe(\"Version of the SharePoint library.\").nullable().optional(),\n FormDigestValue: z.string().describe(\"Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.\").nullable(),\n SupportedSchemaVersions: z.array(z.string()).describe(\"List of supported schema versions.\").nullable().optional(),\n FormDigestTimeoutSeconds: z.number().int().describe(\"Number of seconds until the form digest value expires and a new one must be requested.\").nullable(),\n}).passthrough().describe(\"Context information returned by SharePoint.\");\nexport const SharePointGetContextInfoOutput = z.object({\n GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable(),\n}).passthrough().describe(\"Response containing context information.\");\n\nexport const sharePointGetContextInfo = action(\"SHARE_POINT_GET_CONTEXT_INFO\", {\n slug: \"share_point-get-context-info\",\n name: \"Get SharePoint Context Info\",\n description: \"Tool to retrieve SharePoint context information including the form digest value. Use when you need a form digest token for write operations (POST, PUT, DELETE).\",\n input: SharePointGetContextInfoInput,\n output: SharePointGetContextInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAClK,yBAAyBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,0BAA0BA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,0BAA0B,wDAAwD,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-context-info.d.ts
4
- declare const SharePointGetContextInfoInput: z.ZodTypeAny;
5
- declare const SharePointGetContextInfoOutput: z.ZodTypeAny;
6
- declare const sharePointGetContextInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SharePointGetContextInfoInput: z.ZodObject<{
5
+ site_name: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const SharePointGetContextInfoOutput: z.ZodObject<{
8
+ GetContextWebInformation: z.ZodNullable<z.ZodObject<{
9
+ WebFullUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ SiteFullUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ LibraryVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ FormDigestValue: z.ZodNullable<z.ZodString>;
13
+ SupportedSchemaVersions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ FormDigestTimeoutSeconds: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const sharePointGetContextInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ site_name?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sharePointGetContextInfo };
9
22
  //# sourceMappingURL=get-context-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-info.d.cts","names":[],"sources":["../../src/actions/get-context-info.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEW;AAAA,cAS5C,8BAAA,EAAgC,CAAA,CAAE,UAEQ;AAAA,cAE1C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-context-info.d.cts","names":[],"sources":["../../src/actions/get-context-info.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,22 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-context-info.d.ts
4
- declare const SharePointGetContextInfoInput: z.ZodTypeAny;
5
- declare const SharePointGetContextInfoOutput: z.ZodTypeAny;
6
- declare const sharePointGetContextInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SharePointGetContextInfoInput: z.ZodObject<{
5
+ site_name: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const SharePointGetContextInfoOutput: z.ZodObject<{
8
+ GetContextWebInformation: z.ZodNullable<z.ZodObject<{
9
+ WebFullUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10
+ SiteFullUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ LibraryVersion: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ FormDigestValue: z.ZodNullable<z.ZodString>;
13
+ SupportedSchemaVersions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
+ FormDigestTimeoutSeconds: z.ZodNullable<z.ZodNumber>;
15
+ }, z.core.$loose>>;
16
+ }, z.core.$loose>;
17
+ declare const sharePointGetContextInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
18
+ site_name?: string | undefined;
19
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
20
  //#endregion
8
21
  export { sharePointGetContextInfo };
9
22
  //# sourceMappingURL=get-context-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-info.d.mts","names":[],"sources":["../../src/actions/get-context-info.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEW;AAAA,cAS5C,8BAAA,EAAgC,CAAA,CAAE,UAEQ;AAAA,cAE1C,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-context-info.d.mts","names":[],"sources":["../../src/actions/get-context-info.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;cAI9B,wBAAA,gCAAwB,wBAAA"}
@@ -6,16 +6,16 @@ const SharePointGetContextInfo_GetContextWebInformationSchema = z.object({
6
6
  WebFullUrl: z.string().describe("Full URL of the current web.").nullable().optional(),
7
7
  SiteFullUrl: z.string().describe("Full URL of the SharePoint site.").nullable().optional(),
8
8
  LibraryVersion: z.string().describe("Version of the SharePoint library.").nullable().optional(),
9
- FormDigestValue: z.string().describe("Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header."),
9
+ FormDigestValue: z.string().describe("Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.").nullable(),
10
10
  SupportedSchemaVersions: z.array(z.string()).describe("List of supported schema versions.").nullable().optional(),
11
- FormDigestTimeoutSeconds: z.number().int().describe("Number of seconds until the form digest value expires and a new one must be requested.")
12
- }).describe("Context information returned by SharePoint.");
11
+ FormDigestTimeoutSeconds: z.number().int().describe("Number of seconds until the form digest value expires and a new one must be requested.").nullable()
12
+ }).passthrough().describe("Context information returned by SharePoint.");
13
13
  const sharePointGetContextInfo = action("SHARE_POINT_GET_CONTEXT_INFO", {
14
14
  slug: "share_point-get-context-info",
15
15
  name: "Get SharePoint Context Info",
16
16
  description: "Tool to retrieve SharePoint context information including the form digest value. Use when you need a form digest token for write operations (POST, PUT, DELETE).",
17
17
  input: SharePointGetContextInfoInput,
18
- output: z.object({ GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable() }).describe("Response containing context information.")
18
+ output: z.object({ GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable() }).passthrough().describe("Response containing context information.")
19
19
  });
20
20
  //#endregion
21
21
  export { sharePointGetContextInfo };
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-info.mjs","names":[],"sources":["../../src/actions/get-context-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContextInfoInput: z.ZodTypeAny = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving context info.\");\nconst SharePointGetContextInfo_GetContextWebInformationSchema: z.ZodTypeAny = z.object({\n WebFullUrl: z.string().describe(\"Full URL of the current web.\").nullable().optional(),\n SiteFullUrl: z.string().describe(\"Full URL of the SharePoint site.\").nullable().optional(),\n LibraryVersion: z.string().describe(\"Version of the SharePoint library.\").nullable().optional(),\n FormDigestValue: z.string().describe(\"Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.\"),\n SupportedSchemaVersions: z.array(z.string()).describe(\"List of supported schema versions.\").nullable().optional(),\n FormDigestTimeoutSeconds: z.number().int().describe(\"Number of seconds until the form digest value expires and a new one must be requested.\"),\n}).describe(\"Context information returned by SharePoint.\");\nexport const SharePointGetContextInfoOutput: z.ZodTypeAny = z.object({\n GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable(),\n}).describe(\"Response containing context information.\");\n\nexport const sharePointGetContextInfo = action(\"SHARE_POINT_GET_CONTEXT_INFO\", {\n slug: \"share_point-get-context-info\",\n name: \"Get SharePoint Context Info\",\n description: \"Tool to retrieve SharePoint context information including the form digest value. Use when you need a form digest token for write operations (POST, PUT, DELETE).\",\n input: SharePointGetContextInfoInput,\n output: SharePointGetContextInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8C,EAAE,OAAO,EAClE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,0DAAwE,EAAE,OAAO;CACrF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH;CACvJ,yBAAyB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF;AAC9I,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAKzD,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT0D,EAAE,OAAO,EACnE,0BAA0B,wDAAwD,SAAS,EAC7F,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-context-info.mjs","names":[],"sources":["../../src/actions/get-context-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetContextInfoInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving context info.\");\nconst SharePointGetContextInfo_GetContextWebInformationSchema = z.object({\n WebFullUrl: z.string().describe(\"Full URL of the current web.\").nullable().optional(),\n SiteFullUrl: z.string().describe(\"Full URL of the SharePoint site.\").nullable().optional(),\n LibraryVersion: z.string().describe(\"Version of the SharePoint library.\").nullable().optional(),\n FormDigestValue: z.string().describe(\"Form digest value required for write operations (POST, PUT, DELETE). Include this in the X-RequestDigest header.\").nullable(),\n SupportedSchemaVersions: z.array(z.string()).describe(\"List of supported schema versions.\").nullable().optional(),\n FormDigestTimeoutSeconds: z.number().int().describe(\"Number of seconds until the form digest value expires and a new one must be requested.\").nullable(),\n}).passthrough().describe(\"Context information returned by SharePoint.\");\nexport const SharePointGetContextInfoOutput = z.object({\n GetContextWebInformation: SharePointGetContextInfo_GetContextWebInformationSchema.nullable(),\n}).passthrough().describe(\"Response containing context information.\");\n\nexport const sharePointGetContextInfo = action(\"SHARE_POINT_GET_CONTEXT_INFO\", {\n slug: \"share_point-get-context-info\",\n name: \"Get SharePoint Context Info\",\n description: \"Tool to retrieve SharePoint context information including the form digest value. Use when you need a form digest token for write operations (POST, PUT, DELETE).\",\n input: SharePointGetContextInfoInput,\n output: SharePointGetContextInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO,EACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,0DAA0D,EAAE,OAAO;CACvE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;CAClK,yBAAyB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,0BAA0B,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAKvE,MAAa,2BAA2B,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAT4C,EAAE,OAAO,EACrD,0BAA0B,wDAAwD,SAAS,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -2,28 +2,28 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-current-user.ts
4
4
  const SharePointGetCurrentUserInput = zod.z.object({ 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() }).describe("Request model for retrieving current user.");
5
- const SharePointGetCurrentUser_DeferredURISchema = zod.z.object({ uri: zod.z.string().describe("URI for deferred navigation property") });
6
- const SharePointGetCurrentUser_DeferredSchema = zod.z.object({ __deferred: SharePointGetCurrentUser_DeferredURISchema.nullable() });
5
+ const SharePointGetCurrentUser_DeferredURISchema = zod.z.object({ uri: zod.z.string().describe("URI for deferred navigation property").nullable() }).passthrough();
6
+ const SharePointGetCurrentUser_DeferredSchema = zod.z.object({ __deferred: SharePointGetCurrentUser_DeferredURISchema.nullable() }).passthrough();
7
7
  const SharePointGetCurrentUser_UserIdInfoSchema = zod.z.object({
8
- NameId: zod.z.string().describe("Identifier for the user in the issuer system"),
9
- NameIdIssuer: zod.z.string().describe("Issuer of the NameId identifier")
10
- });
8
+ NameId: zod.z.string().describe("Identifier for the user in the issuer system").nullable(),
9
+ NameIdIssuer: zod.z.string().describe("Issuer of the NameId identifier").nullable()
10
+ }).passthrough();
11
11
  const SharePointGetCurrentUserOutput = zod.z.object({
12
- Id: zod.z.number().int().describe("Member identifier for the user"),
13
- Email: zod.z.string().describe("User's email address"),
14
- Title: zod.z.string().describe("Display name of the user"),
12
+ Id: zod.z.number().int().describe("Member identifier for the user").nullable(),
13
+ Email: zod.z.string().describe("User's email address").nullable(),
14
+ Title: zod.z.string().describe("Display name of the user").nullable(),
15
15
  Alerts: SharePointGetCurrentUser_DeferredSchema.nullable().optional(),
16
16
  Groups: SharePointGetCurrentUser_DeferredSchema.nullable(),
17
17
  UserId: SharePointGetCurrentUser_UserIdInfoSchema.nullable(),
18
- LoginName: zod.z.string().describe("Login name of the user"),
18
+ LoginName: zod.z.string().describe("Login name of the user").nullable(),
19
19
  Expiration: zod.z.string().describe("Expiration date for the user account, if applicable").nullable().optional(),
20
- IsSiteAdmin: zod.z.boolean().describe("Whether the user is a site collection administrator"),
21
- IsHiddenInUI: zod.z.boolean().describe("Whether this user should be hidden in the UI"),
22
- PrincipalType: zod.z.number().int().describe("Bitwise SP.PrincipalType value"),
20
+ IsSiteAdmin: zod.z.boolean().describe("Whether the user is a site collection administrator").nullable(),
21
+ IsHiddenInUI: zod.z.boolean().describe("Whether this user should be hidden in the UI").nullable(),
22
+ PrincipalType: zod.z.number().int().describe("Bitwise SP.PrincipalType value").nullable(),
23
23
  UserPrincipalName: zod.z.string().describe("User Principal Name (UPN) in Azure AD/Microsoft 365").nullable().optional(),
24
24
  IsShareByEmailGuestUser: zod.z.boolean().describe("Whether the user is a guest user invited by email sharing").nullable().optional(),
25
25
  IsEmailAuthenticationGuestUser: zod.z.boolean().describe("Whether the user is a guest user authenticated via email").nullable().optional()
26
- });
26
+ }).passthrough();
27
27
  const sharePointGetCurrentUser = require_action.action("SHARE_POINT_GET_CURRENT_USER", {
28
28
  slug: "share_point-get-current-user",
29
29
  name: "Get Current SharePoint User",
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetCurrentUserInput: z.ZodTypeAny = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving current user.\");\nconst SharePointGetCurrentUser_DeferredURISchema: z.ZodTypeAny = z.object({\n uri: z.string().describe(\"URI for deferred navigation property\"),\n});\nconst SharePointGetCurrentUser_DeferredSchema: z.ZodTypeAny = z.object({\n __deferred: SharePointGetCurrentUser_DeferredURISchema.nullable(),\n});\nconst SharePointGetCurrentUser_UserIdInfoSchema: z.ZodTypeAny = z.object({\n NameId: z.string().describe(\"Identifier for the user in the issuer system\"),\n NameIdIssuer: z.string().describe(\"Issuer of the NameId identifier\"),\n});\nexport const SharePointGetCurrentUserOutput: z.ZodTypeAny = z.object({\n Id: z.number().int().describe(\"Member identifier for the user\"),\n Email: z.string().describe(\"User's email address\"),\n Title: z.string().describe(\"Display name of the user\"),\n Alerts: SharePointGetCurrentUser_DeferredSchema.nullable().optional(),\n Groups: SharePointGetCurrentUser_DeferredSchema.nullable(),\n UserId: SharePointGetCurrentUser_UserIdInfoSchema.nullable(),\n LoginName: z.string().describe(\"Login name of the user\"),\n Expiration: z.string().describe(\"Expiration date for the user account, if applicable\").nullable().optional(),\n IsSiteAdmin: z.boolean().describe(\"Whether the user is a site collection administrator\"),\n IsHiddenInUI: z.boolean().describe(\"Whether this user should be hidden in the UI\"),\n PrincipalType: z.number().int().describe(\"Bitwise SP.PrincipalType value\"),\n UserPrincipalName: z.string().describe(\"User Principal Name (UPN) in Azure AD/Microsoft 365\").nullable().optional(),\n IsShareByEmailGuestUser: z.boolean().describe(\"Whether the user is a guest user invited by email sharing\").nullable().optional(),\n IsEmailAuthenticationGuestUser: z.boolean().describe(\"Whether the user is a guest user authenticated via email\").nullable().optional(),\n});\n\nexport const sharePointGetCurrentUser = action(\"SHARE_POINT_GET_CURRENT_USER\", {\n slug: \"share_point-get-current-user\",\n name: \"Get Current SharePoint User\",\n description: \"Tool to retrieve the current user for the site. Use after authenticating to get the current SharePoint user. A successful response confirms authentication only; access to specific sites, lists, or libraries depends on separate scopes and item-level permissions.\",\n input: SharePointGetCurrentUserInput,\n output: SharePointGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAA8CA,IAAAA,EAAE,OAAO,EAClE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO,EACxE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACjE,CAAC;AACD,MAAM,0CAAwDA,IAAAA,EAAE,OAAO,EACrE,YAAY,2CAA2C,SAAS,EAClE,CAAC;AACD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;AACrE,CAAC;AACD,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CACjD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACrD,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,wCAAwC,SAAS;CACzD,QAAQ,0CAA0C,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD;CACvF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C;CACjF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC;CACzE,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gCAAgCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-current-user.cjs","names":["z","action"],"sources":["../../src/actions/get-current-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const SharePointGetCurrentUserInput = z.object({\n site_name: z.string().describe(\"The subsite name to scope the request to (e.g., `composio-test`). If omitted, the root site is used. When provided, the API base URL becomes `https://{tenant}.sharepoint.com/sites/{site}`.\").optional(),\n}).describe(\"Request model for retrieving current user.\");\nconst SharePointGetCurrentUser_DeferredURISchema = z.object({\n uri: z.string().describe(\"URI for deferred navigation property\").nullable(),\n}).passthrough();\nconst SharePointGetCurrentUser_DeferredSchema = z.object({\n __deferred: SharePointGetCurrentUser_DeferredURISchema.nullable(),\n}).passthrough();\nconst SharePointGetCurrentUser_UserIdInfoSchema = z.object({\n NameId: z.string().describe(\"Identifier for the user in the issuer system\").nullable(),\n NameIdIssuer: z.string().describe(\"Issuer of the NameId identifier\").nullable(),\n}).passthrough();\nexport const SharePointGetCurrentUserOutput = z.object({\n Id: z.number().int().describe(\"Member identifier for the user\").nullable(),\n Email: z.string().describe(\"User's email address\").nullable(),\n Title: z.string().describe(\"Display name of the user\").nullable(),\n Alerts: SharePointGetCurrentUser_DeferredSchema.nullable().optional(),\n Groups: SharePointGetCurrentUser_DeferredSchema.nullable(),\n UserId: SharePointGetCurrentUser_UserIdInfoSchema.nullable(),\n LoginName: z.string().describe(\"Login name of the user\").nullable(),\n Expiration: z.string().describe(\"Expiration date for the user account, if applicable\").nullable().optional(),\n IsSiteAdmin: z.boolean().describe(\"Whether the user is a site collection administrator\").nullable(),\n IsHiddenInUI: z.boolean().describe(\"Whether this user should be hidden in the UI\").nullable(),\n PrincipalType: z.number().int().describe(\"Bitwise SP.PrincipalType value\").nullable(),\n UserPrincipalName: z.string().describe(\"User Principal Name (UPN) in Azure AD/Microsoft 365\").nullable().optional(),\n IsShareByEmailGuestUser: z.boolean().describe(\"Whether the user is a guest user invited by email sharing\").nullable().optional(),\n IsEmailAuthenticationGuestUser: z.boolean().describe(\"Whether the user is a guest user authenticated via email\").nullable().optional(),\n}).passthrough();\n\nexport const sharePointGetCurrentUser = action(\"SHARE_POINT_GET_CURRENT_USER\", {\n slug: \"share_point-get-current-user\",\n name: \"Get Current SharePoint User\",\n description: \"Tool to retrieve the current user for the site. Use after authenticating to get the current SharePoint user. A successful response confirms authentication only; access to specific sites, lists, or libraries depends on separate scopes and item-level permissions.\",\n input: SharePointGetCurrentUserInput,\n output: SharePointGetCurrentUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,EACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8LAA8L,CAAC,CAAC,SAAS,EAC1O,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,0CAA0CA,IAAAA,EAAE,OAAO,EACvD,YAAY,2CAA2C,SAAS,EAClE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACrF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAChE,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,wCAAwC,SAAS;CACzD,QAAQ,0CAA0C,SAAS;CAC3D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAClE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,aAAaA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAClG,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CAC5F,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACpF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,yBAAyBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,gCAAgCA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvI,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-current-user.d.ts
4
- declare const SharePointGetCurrentUserInput: z.ZodTypeAny;
5
- declare const SharePointGetCurrentUserOutput: z.ZodTypeAny;
6
- declare const sharePointGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SharePointGetCurrentUserInput: z.ZodObject<{
5
+ site_name: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const SharePointGetCurrentUserOutput: z.ZodObject<{
8
+ Id: z.ZodNullable<z.ZodNumber>;
9
+ Email: z.ZodNullable<z.ZodString>;
10
+ Title: z.ZodNullable<z.ZodString>;
11
+ Alerts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ __deferred: z.ZodNullable<z.ZodObject<{
13
+ uri: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>>>;
16
+ Groups: z.ZodNullable<z.ZodObject<{
17
+ __deferred: z.ZodNullable<z.ZodObject<{
18
+ uri: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>>;
21
+ UserId: z.ZodNullable<z.ZodObject<{
22
+ NameId: z.ZodNullable<z.ZodString>;
23
+ NameIdIssuer: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$loose>>;
25
+ LoginName: z.ZodNullable<z.ZodString>;
26
+ Expiration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ IsSiteAdmin: z.ZodNullable<z.ZodBoolean>;
28
+ IsHiddenInUI: z.ZodNullable<z.ZodBoolean>;
29
+ PrincipalType: z.ZodNullable<z.ZodNumber>;
30
+ UserPrincipalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ IsShareByEmailGuestUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ IsEmailAuthenticationGuestUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ }, z.core.$loose>;
34
+ declare const sharePointGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ site_name?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { sharePointGetCurrentUser };
9
39
  //# sourceMappingURL=get-current-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEW;AAAA,cAW5C,8BAAA,EAAgC,CAAA,CAAE,UAe7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.cts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiB9B,wBAAA,gCAAwB,wBAAA"}
@@ -1,9 +1,39 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/get-current-user.d.ts
4
- declare const SharePointGetCurrentUserInput: z.ZodTypeAny;
5
- declare const SharePointGetCurrentUserOutput: z.ZodTypeAny;
6
- declare const sharePointGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const SharePointGetCurrentUserInput: z.ZodObject<{
5
+ site_name: z.ZodOptional<z.ZodString>;
6
+ }, z.core.$strip>;
7
+ declare const SharePointGetCurrentUserOutput: z.ZodObject<{
8
+ Id: z.ZodNullable<z.ZodNumber>;
9
+ Email: z.ZodNullable<z.ZodString>;
10
+ Title: z.ZodNullable<z.ZodString>;
11
+ Alerts: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ __deferred: z.ZodNullable<z.ZodObject<{
13
+ uri: z.ZodNullable<z.ZodString>;
14
+ }, z.core.$loose>>;
15
+ }, z.core.$loose>>>;
16
+ Groups: z.ZodNullable<z.ZodObject<{
17
+ __deferred: z.ZodNullable<z.ZodObject<{
18
+ uri: z.ZodNullable<z.ZodString>;
19
+ }, z.core.$loose>>;
20
+ }, z.core.$loose>>;
21
+ UserId: z.ZodNullable<z.ZodObject<{
22
+ NameId: z.ZodNullable<z.ZodString>;
23
+ NameIdIssuer: z.ZodNullable<z.ZodString>;
24
+ }, z.core.$loose>>;
25
+ LoginName: z.ZodNullable<z.ZodString>;
26
+ Expiration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
+ IsSiteAdmin: z.ZodNullable<z.ZodBoolean>;
28
+ IsHiddenInUI: z.ZodNullable<z.ZodBoolean>;
29
+ PrincipalType: z.ZodNullable<z.ZodNumber>;
30
+ UserPrincipalName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
+ IsShareByEmailGuestUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
32
+ IsEmailAuthenticationGuestUser: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
33
+ }, z.core.$loose>;
34
+ declare const sharePointGetCurrentUser: import("@keystrokehq/action").WorkflowActionDefinition<{
35
+ site_name?: string | undefined;
36
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
37
  //#endregion
8
38
  export { sharePointGetCurrentUser };
9
39
  //# sourceMappingURL=get-current-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAEW;AAAA,cAW5C,8BAAA,EAAgC,CAAA,CAAE,UAe7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-current-user.d.mts","names":[],"sources":["../../src/actions/get-current-user.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;cAa7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiB9B,wBAAA,gCAAwB,wBAAA"}
@@ -2,33 +2,33 @@ import { action } from "../action.mjs";
2
2
  import { z } from "zod";
3
3
  //#region src/actions/get-current-user.ts
4
4
  const SharePointGetCurrentUserInput = z.object({ 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() }).describe("Request model for retrieving current user.");
5
- const SharePointGetCurrentUser_DeferredURISchema = z.object({ uri: z.string().describe("URI for deferred navigation property") });
6
- const SharePointGetCurrentUser_DeferredSchema = z.object({ __deferred: SharePointGetCurrentUser_DeferredURISchema.nullable() });
5
+ const SharePointGetCurrentUser_DeferredURISchema = z.object({ uri: z.string().describe("URI for deferred navigation property").nullable() }).passthrough();
6
+ const SharePointGetCurrentUser_DeferredSchema = z.object({ __deferred: SharePointGetCurrentUser_DeferredURISchema.nullable() }).passthrough();
7
7
  const SharePointGetCurrentUser_UserIdInfoSchema = z.object({
8
- NameId: z.string().describe("Identifier for the user in the issuer system"),
9
- NameIdIssuer: z.string().describe("Issuer of the NameId identifier")
10
- });
8
+ NameId: z.string().describe("Identifier for the user in the issuer system").nullable(),
9
+ NameIdIssuer: z.string().describe("Issuer of the NameId identifier").nullable()
10
+ }).passthrough();
11
11
  const sharePointGetCurrentUser = action("SHARE_POINT_GET_CURRENT_USER", {
12
12
  slug: "share_point-get-current-user",
13
13
  name: "Get Current SharePoint User",
14
14
  description: "Tool to retrieve the current user for the site. Use after authenticating to get the current SharePoint user. A successful response confirms authentication only; access to specific sites, lists, or libraries depends on separate scopes and item-level permissions.",
15
15
  input: SharePointGetCurrentUserInput,
16
16
  output: z.object({
17
- Id: z.number().int().describe("Member identifier for the user"),
18
- Email: z.string().describe("User's email address"),
19
- Title: z.string().describe("Display name of the user"),
17
+ Id: z.number().int().describe("Member identifier for the user").nullable(),
18
+ Email: z.string().describe("User's email address").nullable(),
19
+ Title: z.string().describe("Display name of the user").nullable(),
20
20
  Alerts: SharePointGetCurrentUser_DeferredSchema.nullable().optional(),
21
21
  Groups: SharePointGetCurrentUser_DeferredSchema.nullable(),
22
22
  UserId: SharePointGetCurrentUser_UserIdInfoSchema.nullable(),
23
- LoginName: z.string().describe("Login name of the user"),
23
+ LoginName: z.string().describe("Login name of the user").nullable(),
24
24
  Expiration: z.string().describe("Expiration date for the user account, if applicable").nullable().optional(),
25
- IsSiteAdmin: z.boolean().describe("Whether the user is a site collection administrator"),
26
- IsHiddenInUI: z.boolean().describe("Whether this user should be hidden in the UI"),
27
- PrincipalType: z.number().int().describe("Bitwise SP.PrincipalType value"),
25
+ IsSiteAdmin: z.boolean().describe("Whether the user is a site collection administrator").nullable(),
26
+ IsHiddenInUI: z.boolean().describe("Whether this user should be hidden in the UI").nullable(),
27
+ PrincipalType: z.number().int().describe("Bitwise SP.PrincipalType value").nullable(),
28
28
  UserPrincipalName: z.string().describe("User Principal Name (UPN) in Azure AD/Microsoft 365").nullable().optional(),
29
29
  IsShareByEmailGuestUser: z.boolean().describe("Whether the user is a guest user invited by email sharing").nullable().optional(),
30
30
  IsEmailAuthenticationGuestUser: z.boolean().describe("Whether the user is a guest user authenticated via email").nullable().optional()
31
- })
31
+ }).passthrough()
32
32
  });
33
33
  //#endregion
34
34
  export { sharePointGetCurrentUser };