@keystrokehq/outline 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (607) hide show
  1. package/dist/actions/activate-user.cjs +4 -4
  2. package/dist/actions/activate-user.cjs.map +1 -1
  3. package/dist/actions/activate-user.d.cts +4 -4
  4. package/dist/actions/activate-user.d.mts +4 -4
  5. package/dist/actions/activate-user.mjs +4 -4
  6. package/dist/actions/activate-user.mjs.map +1 -1
  7. package/dist/actions/add-collection-group.cjs +3 -3
  8. package/dist/actions/add-collection-group.cjs.map +1 -1
  9. package/dist/actions/add-collection-group.d.cts +3 -3
  10. package/dist/actions/add-collection-group.d.mts +3 -3
  11. package/dist/actions/add-collection-group.mjs +3 -3
  12. package/dist/actions/add-collection-group.mjs.map +1 -1
  13. package/dist/actions/add-document-user.cjs +4 -4
  14. package/dist/actions/add-document-user.cjs.map +1 -1
  15. package/dist/actions/add-document-user.d.cts +4 -4
  16. package/dist/actions/add-document-user.d.mts +4 -4
  17. package/dist/actions/add-document-user.mjs +4 -4
  18. package/dist/actions/add-document-user.mjs.map +1 -1
  19. package/dist/actions/add-group-to-document.cjs +3 -3
  20. package/dist/actions/add-group-to-document.cjs.map +1 -1
  21. package/dist/actions/add-group-to-document.d.cts +3 -3
  22. package/dist/actions/add-group-to-document.d.mts +3 -3
  23. package/dist/actions/add-group-to-document.mjs +3 -3
  24. package/dist/actions/add-group-to-document.mjs.map +1 -1
  25. package/dist/actions/add-group-user.cjs +4 -4
  26. package/dist/actions/add-group-user.cjs.map +1 -1
  27. package/dist/actions/add-group-user.d.cts +4 -4
  28. package/dist/actions/add-group-user.d.mts +4 -4
  29. package/dist/actions/add-group-user.mjs +4 -4
  30. package/dist/actions/add-group-user.mjs.map +1 -1
  31. package/dist/actions/add-user-to-collection.cjs +4 -4
  32. package/dist/actions/add-user-to-collection.cjs.map +1 -1
  33. package/dist/actions/add-user-to-collection.d.cts +4 -4
  34. package/dist/actions/add-user-to-collection.d.mts +4 -4
  35. package/dist/actions/add-user-to-collection.mjs +4 -4
  36. package/dist/actions/add-user-to-collection.mjs.map +1 -1
  37. package/dist/actions/archive-document.cjs +6 -6
  38. package/dist/actions/archive-document.cjs.map +1 -1
  39. package/dist/actions/archive-document.d.cts +7 -7
  40. package/dist/actions/archive-document.d.mts +7 -7
  41. package/dist/actions/archive-document.mjs +6 -6
  42. package/dist/actions/archive-document.mjs.map +1 -1
  43. package/dist/actions/create-attachment.cjs +4 -4
  44. package/dist/actions/create-attachment.cjs.map +1 -1
  45. package/dist/actions/create-attachment.d.cts +4 -4
  46. package/dist/actions/create-attachment.d.mts +4 -4
  47. package/dist/actions/create-attachment.mjs +4 -4
  48. package/dist/actions/create-attachment.mjs.map +1 -1
  49. package/dist/actions/create-collection.cjs +4 -4
  50. package/dist/actions/create-collection.cjs.map +1 -1
  51. package/dist/actions/create-collection.d.cts +4 -4
  52. package/dist/actions/create-collection.d.mts +4 -4
  53. package/dist/actions/create-collection.mjs +4 -4
  54. package/dist/actions/create-collection.mjs.map +1 -1
  55. package/dist/actions/create-comment.cjs +3 -3
  56. package/dist/actions/create-comment.cjs.map +1 -1
  57. package/dist/actions/create-comment.d.cts +3 -3
  58. package/dist/actions/create-comment.d.mts +3 -3
  59. package/dist/actions/create-comment.mjs +3 -3
  60. package/dist/actions/create-comment.mjs.map +1 -1
  61. package/dist/actions/create-document.cjs +7 -7
  62. package/dist/actions/create-document.cjs.map +1 -1
  63. package/dist/actions/create-document.d.cts +9 -8
  64. package/dist/actions/create-document.d.mts +9 -8
  65. package/dist/actions/create-document.mjs +7 -7
  66. package/dist/actions/create-document.mjs.map +1 -1
  67. package/dist/actions/create-group.cjs +4 -4
  68. package/dist/actions/create-group.cjs.map +1 -1
  69. package/dist/actions/create-group.d.cts +4 -4
  70. package/dist/actions/create-group.d.mts +4 -4
  71. package/dist/actions/create-group.mjs +4 -4
  72. package/dist/actions/create-group.mjs.map +1 -1
  73. package/dist/actions/create-o-auth-client.cjs +4 -4
  74. package/dist/actions/create-o-auth-client.cjs.map +1 -1
  75. package/dist/actions/create-o-auth-client.d.cts +4 -4
  76. package/dist/actions/create-o-auth-client.d.mts +4 -4
  77. package/dist/actions/create-o-auth-client.mjs +4 -4
  78. package/dist/actions/create-o-auth-client.mjs.map +1 -1
  79. package/dist/actions/create-share.cjs +5 -5
  80. package/dist/actions/create-share.cjs.map +1 -1
  81. package/dist/actions/create-share.d.cts +5 -5
  82. package/dist/actions/create-share.d.mts +5 -5
  83. package/dist/actions/create-share.mjs +5 -5
  84. package/dist/actions/create-share.mjs.map +1 -1
  85. package/dist/actions/create-star.cjs +2 -2
  86. package/dist/actions/create-star.cjs.map +1 -1
  87. package/dist/actions/create-star.d.cts +2 -2
  88. package/dist/actions/create-star.d.mts +2 -2
  89. package/dist/actions/create-star.mjs +2 -2
  90. package/dist/actions/create-star.mjs.map +1 -1
  91. package/dist/actions/create-template.cjs +6 -6
  92. package/dist/actions/create-template.cjs.map +1 -1
  93. package/dist/actions/create-template.d.cts +8 -8
  94. package/dist/actions/create-template.d.mts +8 -8
  95. package/dist/actions/create-template.mjs +6 -6
  96. package/dist/actions/create-template.mjs.map +1 -1
  97. package/dist/actions/create-view.cjs +2 -2
  98. package/dist/actions/create-view.cjs.map +1 -1
  99. package/dist/actions/create-view.d.cts +2 -2
  100. package/dist/actions/create-view.d.mts +2 -2
  101. package/dist/actions/create-view.mjs +2 -2
  102. package/dist/actions/create-view.mjs.map +1 -1
  103. package/dist/actions/delete-attachment.cjs +1 -1
  104. package/dist/actions/delete-attachment.cjs.map +1 -1
  105. package/dist/actions/delete-attachment.d.cts +1 -1
  106. package/dist/actions/delete-attachment.d.mts +1 -1
  107. package/dist/actions/delete-attachment.mjs +1 -1
  108. package/dist/actions/delete-attachment.mjs.map +1 -1
  109. package/dist/actions/delete-collection.cjs +1 -1
  110. package/dist/actions/delete-collection.cjs.map +1 -1
  111. package/dist/actions/delete-collection.d.cts +1 -1
  112. package/dist/actions/delete-collection.d.mts +1 -1
  113. package/dist/actions/delete-collection.mjs +1 -1
  114. package/dist/actions/delete-collection.mjs.map +1 -1
  115. package/dist/actions/delete-comment.cjs +1 -1
  116. package/dist/actions/delete-comment.cjs.map +1 -1
  117. package/dist/actions/delete-comment.d.cts +1 -1
  118. package/dist/actions/delete-comment.d.mts +1 -1
  119. package/dist/actions/delete-comment.mjs +1 -1
  120. package/dist/actions/delete-comment.mjs.map +1 -1
  121. package/dist/actions/delete-document.cjs +1 -1
  122. package/dist/actions/delete-document.cjs.map +1 -1
  123. package/dist/actions/delete-document.d.cts +1 -1
  124. package/dist/actions/delete-document.d.mts +1 -1
  125. package/dist/actions/delete-document.mjs +1 -1
  126. package/dist/actions/delete-document.mjs.map +1 -1
  127. package/dist/actions/delete-file-operation.cjs +1 -1
  128. package/dist/actions/delete-file-operation.cjs.map +1 -1
  129. package/dist/actions/delete-file-operation.d.cts +1 -1
  130. package/dist/actions/delete-file-operation.d.mts +1 -1
  131. package/dist/actions/delete-file-operation.mjs +1 -1
  132. package/dist/actions/delete-file-operation.mjs.map +1 -1
  133. package/dist/actions/delete-group.cjs +1 -1
  134. package/dist/actions/delete-group.cjs.map +1 -1
  135. package/dist/actions/delete-group.d.cts +1 -1
  136. package/dist/actions/delete-group.d.mts +1 -1
  137. package/dist/actions/delete-group.mjs +1 -1
  138. package/dist/actions/delete-group.mjs.map +1 -1
  139. package/dist/actions/delete-oauth-authentication.cjs +1 -1
  140. package/dist/actions/delete-oauth-authentication.cjs.map +1 -1
  141. package/dist/actions/delete-oauth-authentication.d.cts +1 -1
  142. package/dist/actions/delete-oauth-authentication.d.mts +1 -1
  143. package/dist/actions/delete-oauth-authentication.mjs +1 -1
  144. package/dist/actions/delete-oauth-authentication.mjs.map +1 -1
  145. package/dist/actions/delete-oauth-client.cjs +1 -1
  146. package/dist/actions/delete-oauth-client.cjs.map +1 -1
  147. package/dist/actions/delete-oauth-client.d.cts +1 -1
  148. package/dist/actions/delete-oauth-client.d.mts +1 -1
  149. package/dist/actions/delete-oauth-client.mjs +1 -1
  150. package/dist/actions/delete-oauth-client.mjs.map +1 -1
  151. package/dist/actions/delete-star.cjs +1 -1
  152. package/dist/actions/delete-star.cjs.map +1 -1
  153. package/dist/actions/delete-star.d.cts +1 -1
  154. package/dist/actions/delete-star.d.mts +1 -1
  155. package/dist/actions/delete-star.mjs +1 -1
  156. package/dist/actions/delete-star.mjs.map +1 -1
  157. package/dist/actions/delete-template.cjs +1 -1
  158. package/dist/actions/delete-template.cjs.map +1 -1
  159. package/dist/actions/delete-template.d.cts +1 -1
  160. package/dist/actions/delete-template.d.mts +1 -1
  161. package/dist/actions/delete-template.mjs +1 -1
  162. package/dist/actions/delete-template.mjs.map +1 -1
  163. package/dist/actions/delete-user.cjs +1 -1
  164. package/dist/actions/delete-user.cjs.map +1 -1
  165. package/dist/actions/delete-user.d.cts +1 -1
  166. package/dist/actions/delete-user.d.mts +1 -1
  167. package/dist/actions/delete-user.mjs +1 -1
  168. package/dist/actions/delete-user.mjs.map +1 -1
  169. package/dist/actions/duplicate-document.cjs +2 -2
  170. package/dist/actions/duplicate-document.cjs.map +1 -1
  171. package/dist/actions/duplicate-document.d.cts +4 -4
  172. package/dist/actions/duplicate-document.d.mts +4 -4
  173. package/dist/actions/duplicate-document.mjs +2 -2
  174. package/dist/actions/duplicate-document.mjs.map +1 -1
  175. package/dist/actions/duplicate-template.cjs +5 -5
  176. package/dist/actions/duplicate-template.cjs.map +1 -1
  177. package/dist/actions/duplicate-template.d.cts +6 -6
  178. package/dist/actions/duplicate-template.d.mts +6 -6
  179. package/dist/actions/duplicate-template.mjs +5 -5
  180. package/dist/actions/duplicate-template.mjs.map +1 -1
  181. package/dist/actions/empty-documents-trash.cjs +1 -1
  182. package/dist/actions/empty-documents-trash.cjs.map +1 -1
  183. package/dist/actions/empty-documents-trash.d.cts +1 -1
  184. package/dist/actions/empty-documents-trash.d.mts +1 -1
  185. package/dist/actions/empty-documents-trash.mjs +1 -1
  186. package/dist/actions/empty-documents-trash.mjs.map +1 -1
  187. package/dist/actions/export-all-collections.cjs +1 -1
  188. package/dist/actions/export-all-collections.cjs.map +1 -1
  189. package/dist/actions/export-all-collections.d.cts +1 -1
  190. package/dist/actions/export-all-collections.d.mts +1 -1
  191. package/dist/actions/export-all-collections.mjs +1 -1
  192. package/dist/actions/export-all-collections.mjs.map +1 -1
  193. package/dist/actions/export-collection.cjs +1 -1
  194. package/dist/actions/export-collection.cjs.map +1 -1
  195. package/dist/actions/export-collection.d.cts +1 -1
  196. package/dist/actions/export-collection.d.mts +1 -1
  197. package/dist/actions/export-collection.mjs +1 -1
  198. package/dist/actions/export-collection.mjs.map +1 -1
  199. package/dist/actions/export-document.cjs +2 -2
  200. package/dist/actions/export-document.cjs.map +1 -1
  201. package/dist/actions/export-document.d.cts +2 -2
  202. package/dist/actions/export-document.d.mts +2 -2
  203. package/dist/actions/export-document.mjs +2 -2
  204. package/dist/actions/export-document.mjs.map +1 -1
  205. package/dist/actions/get-attachment-redirect.cjs +1 -1
  206. package/dist/actions/get-attachment-redirect.cjs.map +1 -1
  207. package/dist/actions/get-attachment-redirect.d.cts +1 -1
  208. package/dist/actions/get-attachment-redirect.d.mts +1 -1
  209. package/dist/actions/get-attachment-redirect.mjs +1 -1
  210. package/dist/actions/get-attachment-redirect.mjs.map +1 -1
  211. package/dist/actions/get-auth-config.cjs +3 -3
  212. package/dist/actions/get-auth-config.cjs.map +1 -1
  213. package/dist/actions/get-auth-config.d.cts +3 -3
  214. package/dist/actions/get-auth-config.d.mts +3 -3
  215. package/dist/actions/get-auth-config.mjs +3 -3
  216. package/dist/actions/get-auth-config.mjs.map +1 -1
  217. package/dist/actions/get-collection-documents.cjs +6 -6
  218. package/dist/actions/get-collection-documents.cjs.map +1 -1
  219. package/dist/actions/get-collection-documents.d.cts +6 -6
  220. package/dist/actions/get-collection-documents.d.mts +6 -6
  221. package/dist/actions/get-collection-documents.mjs +6 -6
  222. package/dist/actions/get-collection-documents.mjs.map +1 -1
  223. package/dist/actions/get-collection.cjs +5 -5
  224. package/dist/actions/get-collection.cjs.map +1 -1
  225. package/dist/actions/get-collection.d.cts +5 -5
  226. package/dist/actions/get-collection.d.mts +5 -5
  227. package/dist/actions/get-collection.mjs +5 -5
  228. package/dist/actions/get-collection.mjs.map +1 -1
  229. package/dist/actions/get-comment.cjs +9 -9
  230. package/dist/actions/get-comment.cjs.map +1 -1
  231. package/dist/actions/get-comment.d.cts +10 -10
  232. package/dist/actions/get-comment.d.mts +10 -10
  233. package/dist/actions/get-comment.mjs +9 -9
  234. package/dist/actions/get-comment.mjs.map +1 -1
  235. package/dist/actions/get-document-info.cjs +6 -6
  236. package/dist/actions/get-document-info.cjs.map +1 -1
  237. package/dist/actions/get-document-info.d.cts +7 -7
  238. package/dist/actions/get-document-info.d.mts +7 -7
  239. package/dist/actions/get-document-info.mjs +6 -6
  240. package/dist/actions/get-document-info.mjs.map +1 -1
  241. package/dist/actions/get-documents-documents.cjs +1 -1
  242. package/dist/actions/get-documents-documents.cjs.map +1 -1
  243. package/dist/actions/get-documents-documents.d.cts +2 -2
  244. package/dist/actions/get-documents-documents.d.mts +2 -2
  245. package/dist/actions/get-documents-documents.mjs +1 -1
  246. package/dist/actions/get-documents-documents.mjs.map +1 -1
  247. package/dist/actions/get-file-operation-info.cjs +3 -3
  248. package/dist/actions/get-file-operation-info.cjs.map +1 -1
  249. package/dist/actions/get-file-operation-info.d.cts +3 -3
  250. package/dist/actions/get-file-operation-info.d.mts +3 -3
  251. package/dist/actions/get-file-operation-info.mjs +3 -3
  252. package/dist/actions/get-file-operation-info.mjs.map +1 -1
  253. package/dist/actions/get-group-info.cjs +4 -4
  254. package/dist/actions/get-group-info.cjs.map +1 -1
  255. package/dist/actions/get-group-info.d.cts +4 -4
  256. package/dist/actions/get-group-info.d.mts +4 -4
  257. package/dist/actions/get-group-info.mjs +4 -4
  258. package/dist/actions/get-group-info.mjs.map +1 -1
  259. package/dist/actions/get-oauth-client-info.cjs +4 -4
  260. package/dist/actions/get-oauth-client-info.cjs.map +1 -1
  261. package/dist/actions/get-oauth-client-info.d.cts +4 -4
  262. package/dist/actions/get-oauth-client-info.d.mts +4 -4
  263. package/dist/actions/get-oauth-client-info.mjs +4 -4
  264. package/dist/actions/get-oauth-client-info.mjs.map +1 -1
  265. package/dist/actions/get-revision-info.cjs +5 -5
  266. package/dist/actions/get-revision-info.cjs.map +1 -1
  267. package/dist/actions/get-revision-info.d.cts +5 -5
  268. package/dist/actions/get-revision-info.d.mts +5 -5
  269. package/dist/actions/get-revision-info.mjs +5 -5
  270. package/dist/actions/get-revision-info.mjs.map +1 -1
  271. package/dist/actions/get-share-info.cjs +5 -5
  272. package/dist/actions/get-share-info.cjs.map +1 -1
  273. package/dist/actions/get-share-info.d.cts +5 -5
  274. package/dist/actions/get-share-info.d.mts +5 -5
  275. package/dist/actions/get-share-info.mjs +5 -5
  276. package/dist/actions/get-share-info.mjs.map +1 -1
  277. package/dist/actions/get-template-info.cjs +5 -5
  278. package/dist/actions/get-template-info.cjs.map +1 -1
  279. package/dist/actions/get-template-info.d.cts +6 -6
  280. package/dist/actions/get-template-info.d.mts +6 -6
  281. package/dist/actions/get-template-info.mjs +5 -5
  282. package/dist/actions/get-template-info.mjs.map +1 -1
  283. package/dist/actions/get-user-info.cjs +4 -4
  284. package/dist/actions/get-user-info.cjs.map +1 -1
  285. package/dist/actions/get-user-info.d.cts +4 -4
  286. package/dist/actions/get-user-info.d.mts +4 -4
  287. package/dist/actions/get-user-info.mjs +4 -4
  288. package/dist/actions/get-user-info.mjs.map +1 -1
  289. package/dist/actions/invite-users.cjs +5 -5
  290. package/dist/actions/invite-users.cjs.map +1 -1
  291. package/dist/actions/invite-users.d.cts +7 -6
  292. package/dist/actions/invite-users.d.mts +7 -6
  293. package/dist/actions/invite-users.mjs +5 -5
  294. package/dist/actions/invite-users.mjs.map +1 -1
  295. package/dist/actions/list-archived-documents.cjs +6 -6
  296. package/dist/actions/list-archived-documents.cjs.map +1 -1
  297. package/dist/actions/list-archived-documents.d.cts +7 -7
  298. package/dist/actions/list-archived-documents.d.mts +7 -7
  299. package/dist/actions/list-archived-documents.mjs +6 -6
  300. package/dist/actions/list-archived-documents.mjs.map +1 -1
  301. package/dist/actions/list-collection-group-memberships.cjs +5 -5
  302. package/dist/actions/list-collection-group-memberships.cjs.map +1 -1
  303. package/dist/actions/list-collection-group-memberships.d.cts +5 -5
  304. package/dist/actions/list-collection-group-memberships.d.mts +5 -5
  305. package/dist/actions/list-collection-group-memberships.mjs +5 -5
  306. package/dist/actions/list-collection-group-memberships.mjs.map +1 -1
  307. package/dist/actions/list-collection-memberships.cjs +5 -5
  308. package/dist/actions/list-collection-memberships.cjs.map +1 -1
  309. package/dist/actions/list-collection-memberships.d.cts +5 -5
  310. package/dist/actions/list-collection-memberships.d.mts +5 -5
  311. package/dist/actions/list-collection-memberships.mjs +5 -5
  312. package/dist/actions/list-collection-memberships.mjs.map +1 -1
  313. package/dist/actions/list-collections.cjs +6 -6
  314. package/dist/actions/list-collections.cjs.map +1 -1
  315. package/dist/actions/list-collections.d.cts +6 -6
  316. package/dist/actions/list-collections.d.mts +6 -6
  317. package/dist/actions/list-collections.mjs +6 -6
  318. package/dist/actions/list-collections.mjs.map +1 -1
  319. package/dist/actions/list-comments.cjs +7 -7
  320. package/dist/actions/list-comments.cjs.map +1 -1
  321. package/dist/actions/list-comments.d.cts +8 -8
  322. package/dist/actions/list-comments.d.mts +8 -8
  323. package/dist/actions/list-comments.mjs +7 -7
  324. package/dist/actions/list-comments.mjs.map +1 -1
  325. package/dist/actions/list-data-attributes.cjs +5 -5
  326. package/dist/actions/list-data-attributes.cjs.map +1 -1
  327. package/dist/actions/list-data-attributes.d.cts +5 -5
  328. package/dist/actions/list-data-attributes.d.mts +5 -5
  329. package/dist/actions/list-data-attributes.mjs +5 -5
  330. package/dist/actions/list-data-attributes.mjs.map +1 -1
  331. package/dist/actions/list-deleted-documents.cjs +8 -8
  332. package/dist/actions/list-deleted-documents.cjs.map +1 -1
  333. package/dist/actions/list-deleted-documents.d.cts +9 -9
  334. package/dist/actions/list-deleted-documents.d.mts +9 -9
  335. package/dist/actions/list-deleted-documents.mjs +8 -8
  336. package/dist/actions/list-deleted-documents.mjs.map +1 -1
  337. package/dist/actions/list-document-group-memberships.cjs +5 -5
  338. package/dist/actions/list-document-group-memberships.cjs.map +1 -1
  339. package/dist/actions/list-document-group-memberships.d.cts +5 -5
  340. package/dist/actions/list-document-group-memberships.d.mts +5 -5
  341. package/dist/actions/list-document-group-memberships.mjs +5 -5
  342. package/dist/actions/list-document-group-memberships.mjs.map +1 -1
  343. package/dist/actions/list-document-memberships.cjs +5 -5
  344. package/dist/actions/list-document-memberships.cjs.map +1 -1
  345. package/dist/actions/list-document-memberships.d.cts +5 -5
  346. package/dist/actions/list-document-memberships.d.mts +5 -5
  347. package/dist/actions/list-document-memberships.mjs +5 -5
  348. package/dist/actions/list-document-memberships.mjs.map +1 -1
  349. package/dist/actions/list-document-users.cjs +5 -5
  350. package/dist/actions/list-document-users.cjs.map +1 -1
  351. package/dist/actions/list-document-users.d.cts +5 -5
  352. package/dist/actions/list-document-users.d.mts +5 -5
  353. package/dist/actions/list-document-users.mjs +5 -5
  354. package/dist/actions/list-document-users.mjs.map +1 -1
  355. package/dist/actions/list-documents.cjs +6 -6
  356. package/dist/actions/list-documents.cjs.map +1 -1
  357. package/dist/actions/list-documents.d.cts +7 -7
  358. package/dist/actions/list-documents.d.mts +7 -7
  359. package/dist/actions/list-documents.mjs +6 -6
  360. package/dist/actions/list-documents.mjs.map +1 -1
  361. package/dist/actions/list-draft-documents.cjs +7 -7
  362. package/dist/actions/list-draft-documents.cjs.map +1 -1
  363. package/dist/actions/list-draft-documents.d.cts +9 -9
  364. package/dist/actions/list-draft-documents.d.mts +9 -9
  365. package/dist/actions/list-draft-documents.mjs +7 -7
  366. package/dist/actions/list-draft-documents.mjs.map +1 -1
  367. package/dist/actions/list-events.cjs +4 -4
  368. package/dist/actions/list-events.cjs.map +1 -1
  369. package/dist/actions/list-events.d.cts +4 -4
  370. package/dist/actions/list-events.d.mts +4 -4
  371. package/dist/actions/list-events.mjs +4 -4
  372. package/dist/actions/list-events.mjs.map +1 -1
  373. package/dist/actions/list-file-operations.cjs +4 -4
  374. package/dist/actions/list-file-operations.cjs.map +1 -1
  375. package/dist/actions/list-file-operations.d.cts +4 -4
  376. package/dist/actions/list-file-operations.d.mts +4 -4
  377. package/dist/actions/list-file-operations.mjs +4 -4
  378. package/dist/actions/list-file-operations.mjs.map +1 -1
  379. package/dist/actions/list-group-memberships.cjs +7 -7
  380. package/dist/actions/list-group-memberships.cjs.map +1 -1
  381. package/dist/actions/list-group-memberships.d.cts +7 -7
  382. package/dist/actions/list-group-memberships.d.mts +7 -7
  383. package/dist/actions/list-group-memberships.mjs +7 -7
  384. package/dist/actions/list-group-memberships.mjs.map +1 -1
  385. package/dist/actions/list-groups.cjs +8 -8
  386. package/dist/actions/list-groups.cjs.map +1 -1
  387. package/dist/actions/list-groups.d.cts +8 -8
  388. package/dist/actions/list-groups.d.mts +8 -8
  389. package/dist/actions/list-groups.mjs +8 -8
  390. package/dist/actions/list-groups.mjs.map +1 -1
  391. package/dist/actions/list-o-auth-authentications.cjs +5 -5
  392. package/dist/actions/list-o-auth-authentications.cjs.map +1 -1
  393. package/dist/actions/list-o-auth-authentications.d.cts +5 -5
  394. package/dist/actions/list-o-auth-authentications.d.mts +5 -5
  395. package/dist/actions/list-o-auth-authentications.mjs +5 -5
  396. package/dist/actions/list-o-auth-authentications.mjs.map +1 -1
  397. package/dist/actions/list-oauth-clients.cjs +5 -5
  398. package/dist/actions/list-oauth-clients.cjs.map +1 -1
  399. package/dist/actions/list-oauth-clients.d.cts +5 -5
  400. package/dist/actions/list-oauth-clients.d.mts +5 -5
  401. package/dist/actions/list-oauth-clients.mjs +5 -5
  402. package/dist/actions/list-oauth-clients.mjs.map +1 -1
  403. package/dist/actions/list-recently-viewed-documents.cjs +6 -6
  404. package/dist/actions/list-recently-viewed-documents.cjs.map +1 -1
  405. package/dist/actions/list-recently-viewed-documents.d.cts +7 -7
  406. package/dist/actions/list-recently-viewed-documents.d.mts +7 -7
  407. package/dist/actions/list-recently-viewed-documents.mjs +6 -6
  408. package/dist/actions/list-recently-viewed-documents.mjs.map +1 -1
  409. package/dist/actions/list-revisions.cjs +4 -4
  410. package/dist/actions/list-revisions.cjs.map +1 -1
  411. package/dist/actions/list-revisions.d.cts +4 -4
  412. package/dist/actions/list-revisions.d.mts +4 -4
  413. package/dist/actions/list-revisions.mjs +4 -4
  414. package/dist/actions/list-revisions.mjs.map +1 -1
  415. package/dist/actions/list-shares.cjs +6 -6
  416. package/dist/actions/list-shares.cjs.map +1 -1
  417. package/dist/actions/list-shares.d.cts +6 -6
  418. package/dist/actions/list-shares.d.mts +6 -6
  419. package/dist/actions/list-shares.mjs +6 -6
  420. package/dist/actions/list-shares.mjs.map +1 -1
  421. package/dist/actions/list-stars.cjs +6 -6
  422. package/dist/actions/list-stars.cjs.map +1 -1
  423. package/dist/actions/list-stars.d.cts +6 -6
  424. package/dist/actions/list-stars.d.mts +6 -6
  425. package/dist/actions/list-stars.mjs +6 -6
  426. package/dist/actions/list-stars.mjs.map +1 -1
  427. package/dist/actions/list-templates.cjs +6 -6
  428. package/dist/actions/list-templates.cjs.map +1 -1
  429. package/dist/actions/list-templates.d.cts +7 -7
  430. package/dist/actions/list-templates.d.mts +7 -7
  431. package/dist/actions/list-templates.mjs +6 -6
  432. package/dist/actions/list-templates.mjs.map +1 -1
  433. package/dist/actions/list-users.cjs +5 -5
  434. package/dist/actions/list-users.cjs.map +1 -1
  435. package/dist/actions/list-users.d.cts +5 -5
  436. package/dist/actions/list-users.d.mts +5 -5
  437. package/dist/actions/list-users.mjs +5 -5
  438. package/dist/actions/list-users.mjs.map +1 -1
  439. package/dist/actions/list-views.cjs +6 -6
  440. package/dist/actions/list-views.cjs.map +1 -1
  441. package/dist/actions/list-views.d.cts +6 -6
  442. package/dist/actions/list-views.d.mts +6 -6
  443. package/dist/actions/list-views.mjs +6 -6
  444. package/dist/actions/list-views.mjs.map +1 -1
  445. package/dist/actions/move-document.cjs +2 -2
  446. package/dist/actions/move-document.cjs.map +1 -1
  447. package/dist/actions/move-document.d.cts +4 -4
  448. package/dist/actions/move-document.d.mts +4 -4
  449. package/dist/actions/move-document.mjs +2 -2
  450. package/dist/actions/move-document.mjs.map +1 -1
  451. package/dist/actions/redirect-file-operation.cjs +1 -1
  452. package/dist/actions/redirect-file-operation.cjs.map +1 -1
  453. package/dist/actions/redirect-file-operation.d.cts +1 -1
  454. package/dist/actions/redirect-file-operation.d.mts +1 -1
  455. package/dist/actions/redirect-file-operation.mjs +1 -1
  456. package/dist/actions/redirect-file-operation.mjs.map +1 -1
  457. package/dist/actions/remove-collection-group.cjs +1 -1
  458. package/dist/actions/remove-collection-group.cjs.map +1 -1
  459. package/dist/actions/remove-collection-group.d.cts +1 -1
  460. package/dist/actions/remove-collection-group.d.mts +1 -1
  461. package/dist/actions/remove-collection-group.mjs +1 -1
  462. package/dist/actions/remove-collection-group.mjs.map +1 -1
  463. package/dist/actions/remove-collection-user.cjs +1 -1
  464. package/dist/actions/remove-collection-user.cjs.map +1 -1
  465. package/dist/actions/remove-collection-user.d.cts +1 -1
  466. package/dist/actions/remove-collection-user.d.mts +1 -1
  467. package/dist/actions/remove-collection-user.mjs +1 -1
  468. package/dist/actions/remove-collection-user.mjs.map +1 -1
  469. package/dist/actions/remove-document-user.cjs +1 -1
  470. package/dist/actions/remove-document-user.cjs.map +1 -1
  471. package/dist/actions/remove-document-user.d.cts +1 -1
  472. package/dist/actions/remove-document-user.d.mts +1 -1
  473. package/dist/actions/remove-document-user.mjs +1 -1
  474. package/dist/actions/remove-document-user.mjs.map +1 -1
  475. package/dist/actions/remove-group-from-document.cjs +1 -1
  476. package/dist/actions/remove-group-from-document.cjs.map +1 -1
  477. package/dist/actions/remove-group-from-document.d.cts +1 -1
  478. package/dist/actions/remove-group-from-document.d.mts +1 -1
  479. package/dist/actions/remove-group-from-document.mjs +1 -1
  480. package/dist/actions/remove-group-from-document.mjs.map +1 -1
  481. package/dist/actions/remove-group-user.cjs +1 -1
  482. package/dist/actions/remove-group-user.cjs.map +1 -1
  483. package/dist/actions/remove-group-user.d.cts +1 -1
  484. package/dist/actions/remove-group-user.d.mts +1 -1
  485. package/dist/actions/remove-group-user.mjs +1 -1
  486. package/dist/actions/remove-group-user.mjs.map +1 -1
  487. package/dist/actions/restore-document.cjs +5 -5
  488. package/dist/actions/restore-document.cjs.map +1 -1
  489. package/dist/actions/restore-document.d.cts +6 -6
  490. package/dist/actions/restore-document.d.mts +6 -6
  491. package/dist/actions/restore-document.mjs +5 -5
  492. package/dist/actions/restore-document.mjs.map +1 -1
  493. package/dist/actions/restore-template.cjs +5 -5
  494. package/dist/actions/restore-template.cjs.map +1 -1
  495. package/dist/actions/restore-template.d.cts +6 -6
  496. package/dist/actions/restore-template.d.mts +6 -6
  497. package/dist/actions/restore-template.mjs +5 -5
  498. package/dist/actions/restore-template.mjs.map +1 -1
  499. package/dist/actions/retrieve-auth-info.cjs +4 -4
  500. package/dist/actions/retrieve-auth-info.cjs.map +1 -1
  501. package/dist/actions/retrieve-auth-info.d.cts +4 -4
  502. package/dist/actions/retrieve-auth-info.d.mts +4 -4
  503. package/dist/actions/retrieve-auth-info.mjs +4 -4
  504. package/dist/actions/retrieve-auth-info.mjs.map +1 -1
  505. package/dist/actions/revoke-share.cjs +1 -1
  506. package/dist/actions/revoke-share.cjs.map +1 -1
  507. package/dist/actions/revoke-share.d.cts +1 -1
  508. package/dist/actions/revoke-share.d.mts +1 -1
  509. package/dist/actions/revoke-share.mjs +1 -1
  510. package/dist/actions/revoke-share.mjs.map +1 -1
  511. package/dist/actions/rotate-oauth-client-secret.cjs +2 -2
  512. package/dist/actions/rotate-oauth-client-secret.cjs.map +1 -1
  513. package/dist/actions/rotate-oauth-client-secret.d.cts +2 -2
  514. package/dist/actions/rotate-oauth-client-secret.d.mts +2 -2
  515. package/dist/actions/rotate-oauth-client-secret.mjs +2 -2
  516. package/dist/actions/rotate-oauth-client-secret.mjs.map +1 -1
  517. package/dist/actions/search-document-titles.cjs +6 -6
  518. package/dist/actions/search-document-titles.cjs.map +1 -1
  519. package/dist/actions/search-document-titles.d.cts +7 -7
  520. package/dist/actions/search-document-titles.d.mts +7 -7
  521. package/dist/actions/search-document-titles.mjs +6 -6
  522. package/dist/actions/search-document-titles.mjs.map +1 -1
  523. package/dist/actions/search-documents.cjs +6 -6
  524. package/dist/actions/search-documents.cjs.map +1 -1
  525. package/dist/actions/search-documents.d.cts +7 -7
  526. package/dist/actions/search-documents.d.mts +7 -7
  527. package/dist/actions/search-documents.mjs +6 -6
  528. package/dist/actions/search-documents.mjs.map +1 -1
  529. package/dist/actions/suspend-user.cjs +4 -4
  530. package/dist/actions/suspend-user.cjs.map +1 -1
  531. package/dist/actions/suspend-user.d.cts +4 -4
  532. package/dist/actions/suspend-user.d.mts +4 -4
  533. package/dist/actions/suspend-user.mjs +4 -4
  534. package/dist/actions/suspend-user.mjs.map +1 -1
  535. package/dist/actions/templatize-document.cjs +5 -5
  536. package/dist/actions/templatize-document.cjs.map +1 -1
  537. package/dist/actions/templatize-document.d.cts +6 -6
  538. package/dist/actions/templatize-document.d.mts +6 -6
  539. package/dist/actions/templatize-document.mjs +5 -5
  540. package/dist/actions/templatize-document.mjs.map +1 -1
  541. package/dist/actions/unpublish-document.cjs +1 -1
  542. package/dist/actions/unpublish-document.cjs.map +1 -1
  543. package/dist/actions/unpublish-document.d.cts +1 -1
  544. package/dist/actions/unpublish-document.d.mts +1 -1
  545. package/dist/actions/unpublish-document.mjs +1 -1
  546. package/dist/actions/unpublish-document.mjs.map +1 -1
  547. package/dist/actions/update-collection.cjs +5 -5
  548. package/dist/actions/update-collection.cjs.map +1 -1
  549. package/dist/actions/update-collection.d.cts +5 -5
  550. package/dist/actions/update-collection.d.mts +5 -5
  551. package/dist/actions/update-collection.mjs +5 -5
  552. package/dist/actions/update-collection.mjs.map +1 -1
  553. package/dist/actions/update-comment.cjs +1 -1
  554. package/dist/actions/update-comment.cjs.map +1 -1
  555. package/dist/actions/update-comment.d.cts +1 -1
  556. package/dist/actions/update-comment.d.mts +1 -1
  557. package/dist/actions/update-comment.mjs +1 -1
  558. package/dist/actions/update-comment.mjs.map +1 -1
  559. package/dist/actions/update-document.cjs +7 -7
  560. package/dist/actions/update-document.cjs.map +1 -1
  561. package/dist/actions/update-document.d.cts +9 -8
  562. package/dist/actions/update-document.d.mts +9 -8
  563. package/dist/actions/update-document.mjs +7 -7
  564. package/dist/actions/update-document.mjs.map +1 -1
  565. package/dist/actions/update-group.cjs +4 -4
  566. package/dist/actions/update-group.cjs.map +1 -1
  567. package/dist/actions/update-group.d.cts +4 -4
  568. package/dist/actions/update-group.d.mts +4 -4
  569. package/dist/actions/update-group.mjs +4 -4
  570. package/dist/actions/update-group.mjs.map +1 -1
  571. package/dist/actions/update-o-auth-client.cjs +4 -4
  572. package/dist/actions/update-o-auth-client.cjs.map +1 -1
  573. package/dist/actions/update-o-auth-client.d.cts +4 -4
  574. package/dist/actions/update-o-auth-client.d.mts +4 -4
  575. package/dist/actions/update-o-auth-client.mjs +4 -4
  576. package/dist/actions/update-o-auth-client.mjs.map +1 -1
  577. package/dist/actions/update-share.cjs +5 -5
  578. package/dist/actions/update-share.cjs.map +1 -1
  579. package/dist/actions/update-share.d.cts +6 -6
  580. package/dist/actions/update-share.d.mts +6 -6
  581. package/dist/actions/update-share.mjs +5 -5
  582. package/dist/actions/update-share.mjs.map +1 -1
  583. package/dist/actions/update-star.cjs +4 -4
  584. package/dist/actions/update-star.cjs.map +1 -1
  585. package/dist/actions/update-star.d.cts +4 -4
  586. package/dist/actions/update-star.d.mts +4 -4
  587. package/dist/actions/update-star.mjs +4 -4
  588. package/dist/actions/update-star.mjs.map +1 -1
  589. package/dist/actions/update-template.cjs +6 -6
  590. package/dist/actions/update-template.cjs.map +1 -1
  591. package/dist/actions/update-template.d.cts +8 -8
  592. package/dist/actions/update-template.d.mts +8 -8
  593. package/dist/actions/update-template.mjs +6 -6
  594. package/dist/actions/update-template.mjs.map +1 -1
  595. package/dist/actions/update-user-role.cjs +2 -2
  596. package/dist/actions/update-user-role.cjs.map +1 -1
  597. package/dist/actions/update-user-role.d.cts +2 -2
  598. package/dist/actions/update-user-role.d.mts +2 -2
  599. package/dist/actions/update-user-role.mjs +2 -2
  600. package/dist/actions/update-user-role.mjs.map +1 -1
  601. package/dist/actions/update-user.cjs +4 -4
  602. package/dist/actions/update-user.cjs.map +1 -1
  603. package/dist/actions/update-user.d.cts +4 -4
  604. package/dist/actions/update-user.d.mts +4 -4
  605. package/dist/actions/update-user.mjs +4 -4
  606. package/dist/actions/update-user.mjs.map +1 -1
  607. package/package.json +1 -1
@@ -5,7 +5,7 @@ const OutlineGetCollectionInput = z.object({ id: z.string().describe("Unique ide
5
5
  const OutlineGetCollection_CollectionSortSchema = z.object({
6
6
  field: z.string().describe("Field to sort by (e.g., 'index', 'title')").nullable(),
7
7
  direction: z.string().describe("Sort direction ('asc' or 'desc')").nullable()
8
- }).describe("Sorting configuration for documents within a collection.");
8
+ }).passthrough().describe("Sorting configuration for documents within a collection.");
9
9
  const OutlineGetCollection_CollectionDataSchema = z.object({
10
10
  id: z.string().describe("Unique identifier for the collection").nullable(),
11
11
  url: z.string().describe("URL path to the collection").nullable(),
@@ -24,7 +24,7 @@ const OutlineGetCollection_CollectionDataSchema = z.object({
24
24
  commenting: z.boolean().describe("Whether commenting is enabled").nullable().optional(),
25
25
  permission: z.string().describe("Default permission level for the collection").nullable().optional(),
26
26
  description: z.string().describe("Description of the collection").nullable().optional()
27
- }).describe("Detailed information about a collection.");
27
+ }).passthrough().describe("Detailed information about a collection.");
28
28
  const OutlineGetCollection_PolicyAbilitiesSchema = z.object({
29
29
  move: z.boolean().describe("Permission to move the collection").nullable(),
30
30
  read: z.boolean().describe("Permission to read the collection").nullable(),
@@ -42,11 +42,11 @@ const OutlineGetCollection_PolicyAbilitiesSchema = z.object({
42
42
  createDocument: z.boolean().describe("Permission to create documents in the collection").nullable(),
43
43
  deleteDocument: z.boolean().describe("Permission to delete documents from the collection").nullable(),
44
44
  updateDocument: z.boolean().describe("Permission to update documents in the collection").nullable()
45
- }).describe("Abilities/permissions for a collection.");
45
+ }).passthrough().describe("Abilities/permissions for a collection.");
46
46
  const OutlineGetCollection_PolicySchema = z.object({
47
47
  id: z.string().describe("Identifier for the policy (matches collection ID)").nullable(),
48
48
  abilities: OutlineGetCollection_PolicyAbilitiesSchema.nullable()
49
- }).describe("Policy defining user permissions for a collection.");
49
+ }).passthrough().describe("Policy defining user permissions for a collection.");
50
50
  const outlineGetCollection = action("OUTLINE_GET_COLLECTION", {
51
51
  slug: "outline-get-collection",
52
52
  name: "Get Collection Info",
@@ -55,7 +55,7 @@ const outlineGetCollection = action("OUTLINE_GET_COLLECTION", {
55
55
  output: z.object({
56
56
  data: OutlineGetCollection_CollectionDataSchema.nullable(),
57
57
  policies: z.array(OutlineGetCollection_PolicySchema).describe("List of policies defining permissions for the collection")
58
- }).describe("Response model for retrieving a collection. Contains detailed collection information\nand associated permissions/policies.")
58
+ }).passthrough().describe("Response model for retrieving a collection. Contains detailed collection information\nand associated permissions/policies.")
59
59
  });
60
60
  //#endregion
61
61
  export { outlineGetCollection };
@@ -1 +1 @@
1
- {"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetCollectionInput = z.object({\n id: z.string().describe(\"Unique identifier for the collection (UUID format).\"),\n}).describe(\"Request model for retrieving a collection by its unique identifier.\");\nconst OutlineGetCollection_CollectionSortSchema = z.object({\n field: z.string().describe(\"Field to sort by (e.g., 'index', 'title')\").nullable(),\n direction: z.string().describe(\"Sort direction ('asc' or 'desc')\").nullable(),\n}).describe(\"Sorting configuration for documents within a collection.\");\nconst OutlineGetCollection_CollectionDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the collection\").nullable(),\n url: z.string().describe(\"URL path to the collection\").nullable(),\n icon: z.string().describe(\"Icon for the collection\").nullable().optional(),\n name: z.string().describe(\"Name of the collection\").nullable(),\n sort: OutlineGetCollection_CollectionSortSchema.nullable(),\n color: z.string().describe(\"Color for the collection\").nullable().optional(),\n index: z.string().describe(\"Index position of the collection\").nullable(),\n urlId: z.string().describe(\"Short URL identifier for the collection\").nullable(),\n sharing: z.boolean().describe(\"Whether sharing is enabled\").nullable(),\n createdAt: z.string().describe(\"Timestamp when collection was created\").nullable(),\n deletedAt: z.string().describe(\"Timestamp when collection was deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when collection was last updated\").nullable(),\n archivedAt: z.string().describe(\"Timestamp when collection was archived\").nullable().optional(),\n archivedBy: z.string().describe(\"User ID who archived the collection\").nullable().optional(),\n commenting: z.boolean().describe(\"Whether commenting is enabled\").nullable().optional(),\n permission: z.string().describe(\"Default permission level for the collection\").nullable().optional(),\n description: z.string().describe(\"Description of the collection\").nullable().optional(),\n}).describe(\"Detailed information about a collection.\");\nconst OutlineGetCollection_PolicyAbilitiesSchema = z.object({\n move: z.boolean().describe(\"Permission to move the collection\").nullable(),\n read: z.boolean().describe(\"Permission to read the collection\").nullable(),\n star: z.boolean().describe(\"Permission to star the collection\").nullable(),\n share: z.boolean().describe(\"Permission to share the collection\").nullable(),\n \"delete\": z.boolean().describe(\"Permission to delete the collection\").nullable(),\n \"export\": z.boolean().describe(\"Permission to export the collection\").nullable(),\n unstar: z.boolean().describe(\"Permission to unstar the collection\").nullable(),\n update: z.boolean().describe(\"Permission to update the collection\").nullable(),\n archive: z.boolean().describe(\"Permission to archive the collection\").nullable(),\n restore: z.boolean().describe(\"Permission to restore the collection\").nullable(),\n subscribe: z.boolean().describe(\"Permission to subscribe to the collection\").nullable(),\n unsubscribe: z.boolean().describe(\"Permission to unsubscribe from the collection\").nullable(),\n readDocument: z.boolean().describe(\"Permission to read documents in the collection\").nullable(),\n createDocument: z.boolean().describe(\"Permission to create documents in the collection\").nullable(),\n deleteDocument: z.boolean().describe(\"Permission to delete documents from the collection\").nullable(),\n updateDocument: z.boolean().describe(\"Permission to update documents in the collection\").nullable(),\n}).describe(\"Abilities/permissions for a collection.\");\nconst OutlineGetCollection_PolicySchema = z.object({\n id: z.string().describe(\"Identifier for the policy (matches collection ID)\").nullable(),\n abilities: OutlineGetCollection_PolicyAbilitiesSchema.nullable(),\n}).describe(\"Policy defining user permissions for a collection.\");\nexport const OutlineGetCollectionOutput = z.object({\n data: OutlineGetCollection_CollectionDataSchema.nullable(),\n policies: z.array(OutlineGetCollection_PolicySchema).describe(\"List of policies defining permissions for the collection\"),\n}).describe(\"Response model for retrieving a collection. Contains detailed collection information\\nand associated permissions/policies.\");\n\nexport const outlineGetCollection = action(\"OUTLINE_GET_COLLECTION\", {\n slug: \"outline-get-collection\",\n name: \"Get Collection Info\",\n description: \"Tool to retrieve a collection by its unique identifier. Use when you need to fetch detailed information about a specific collection including its name, description, settings, and permissions.\",\n input: OutlineGetCollectionInput,\n output: OutlineGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC/E,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAA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tF,WAAW,2CAA2C,SAAS;AACjE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAMhE,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,0CAA0C,SAAS;EACzD,UAAU,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,0DAA0D;CAC1H,CAAC,CAAC,CAAC,SAAS,4HAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-collection.mjs","names":[],"sources":["../../src/actions/get-collection.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetCollectionInput = z.object({\n id: z.string().describe(\"Unique identifier for the collection (UUID format).\"),\n}).describe(\"Request model for retrieving a collection by its unique identifier.\");\nconst OutlineGetCollection_CollectionSortSchema = z.object({\n field: z.string().describe(\"Field to sort by (e.g., 'index', 'title')\").nullable(),\n direction: z.string().describe(\"Sort direction ('asc' or 'desc')\").nullable(),\n}).passthrough().describe(\"Sorting configuration for documents within a collection.\");\nconst OutlineGetCollection_CollectionDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the collection\").nullable(),\n url: z.string().describe(\"URL path to the collection\").nullable(),\n icon: z.string().describe(\"Icon for the collection\").nullable().optional(),\n name: z.string().describe(\"Name of the collection\").nullable(),\n sort: OutlineGetCollection_CollectionSortSchema.nullable(),\n color: z.string().describe(\"Color for the collection\").nullable().optional(),\n index: z.string().describe(\"Index position of the collection\").nullable(),\n urlId: z.string().describe(\"Short URL identifier for the collection\").nullable(),\n sharing: z.boolean().describe(\"Whether sharing is enabled\").nullable(),\n createdAt: z.string().describe(\"Timestamp when collection was created\").nullable(),\n deletedAt: z.string().describe(\"Timestamp when collection was deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when collection was last updated\").nullable(),\n archivedAt: z.string().describe(\"Timestamp when collection was archived\").nullable().optional(),\n archivedBy: z.string().describe(\"User ID who archived the collection\").nullable().optional(),\n commenting: z.boolean().describe(\"Whether commenting is enabled\").nullable().optional(),\n permission: z.string().describe(\"Default permission level for the collection\").nullable().optional(),\n description: z.string().describe(\"Description of the collection\").nullable().optional(),\n}).passthrough().describe(\"Detailed information about a collection.\");\nconst OutlineGetCollection_PolicyAbilitiesSchema = z.object({\n move: z.boolean().describe(\"Permission to move the collection\").nullable(),\n read: z.boolean().describe(\"Permission to read the collection\").nullable(),\n star: z.boolean().describe(\"Permission to star the collection\").nullable(),\n share: z.boolean().describe(\"Permission to share the collection\").nullable(),\n \"delete\": z.boolean().describe(\"Permission to delete the collection\").nullable(),\n \"export\": z.boolean().describe(\"Permission to export the collection\").nullable(),\n unstar: z.boolean().describe(\"Permission to unstar the collection\").nullable(),\n update: z.boolean().describe(\"Permission to update the collection\").nullable(),\n archive: z.boolean().describe(\"Permission to archive the collection\").nullable(),\n restore: z.boolean().describe(\"Permission to restore the collection\").nullable(),\n subscribe: z.boolean().describe(\"Permission to subscribe to the collection\").nullable(),\n unsubscribe: z.boolean().describe(\"Permission to unsubscribe from the collection\").nullable(),\n readDocument: z.boolean().describe(\"Permission to read documents in the collection\").nullable(),\n createDocument: z.boolean().describe(\"Permission to create documents in the collection\").nullable(),\n deleteDocument: z.boolean().describe(\"Permission to delete documents from the collection\").nullable(),\n updateDocument: z.boolean().describe(\"Permission to update documents in the collection\").nullable(),\n}).passthrough().describe(\"Abilities/permissions for a collection.\");\nconst OutlineGetCollection_PolicySchema = z.object({\n id: z.string().describe(\"Identifier for the policy (matches collection ID)\").nullable(),\n abilities: OutlineGetCollection_PolicyAbilitiesSchema.nullable(),\n}).passthrough().describe(\"Policy defining user permissions for a collection.\");\nexport const OutlineGetCollectionOutput = z.object({\n data: OutlineGetCollection_CollectionDataSchema.nullable(),\n policies: z.array(OutlineGetCollection_PolicySchema).describe(\"List of policies defining permissions for the collection\"),\n}).passthrough().describe(\"Response model for retrieving a collection. Contains detailed collection information\\nand associated permissions/policies.\");\n\nexport const outlineGetCollection = action(\"OUTLINE_GET_COLLECTION\", {\n slug: \"outline-get-collection\",\n name: \"Get Collection Info\",\n description: \"Tool to retrieve a collection by its unique identifier. Use when you need to fetch detailed information about a specific collection including its name, description, settings, and permissions.\",\n input: OutlineGetCollectionInput,\n output: OutlineGetCollectionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,EAC/E,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,4CAA4C,EAAE,OAAO;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACjF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAC9E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,4CAA4C,EAAE,OAAO;CACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CACzE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,MAAM,0CAA0C,SAAS;CACzD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;CAC/E,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;CACrE,WAAW,EAAE,OAAO,CAAC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e("Text content of the node").nullable().optional(),
10
10
  type: zod.z.string().describe("Type of the content node").nullable().optional(),
11
- marks: zod.z.array(zod.z.object({})).describe("Formatting marks applied to the text").nullable().optional(),
12
- content: zod.z.array(zod.z.object({})).describe("Nested content nodes").nullable().optional()
13
- }).describe("A content node within the comment data.");
11
+ marks: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Formatting marks applied to the text").nullable().optional(),
12
+ content: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Nested content nodes").nullable().optional()
13
+ }).passthrough().describe("A content node within the comment data.");
14
14
  const OutlineGetComment_CommentDataSchema = zod.z.object({
15
15
  type: zod.z.string().describe("Type of content (e.g., 'doc')").nullable().optional(),
16
16
  content: zod.z.array(OutlineGetComment_ContentNodeSchema).describe("Content nodes of the comment").nullable().optional()
17
- }).describe("The content data of the comment.");
17
+ }).passthrough().describe("The content data of the comment.");
18
18
  const OutlineGetComment_CommentCreatedBySchema = zod.z.object({
19
19
  id: zod.z.string().describe("User ID").nullable().optional(),
20
20
  name: zod.z.string().describe("User's name").nullable().optional(),
@@ -23,7 +23,7 @@ const OutlineGetComment_CommentCreatedBySchema = zod.z.object({
23
23
  isViewer: zod.z.boolean().describe("Whether user is the viewer").nullable().optional(),
24
24
  avatarUrl: zod.z.string().describe("URL to user's avatar image").nullable().optional(),
25
25
  isSuspended: zod.z.boolean().describe("Whether user is suspended").nullable().optional()
26
- }).describe("Information about the user who created the comment.");
26
+ }).passthrough().describe("Information about the user who created the comment.");
27
27
  const OutlineGetComment_CommentSchema = zod.z.object({
28
28
  id: zod.z.string().describe("Unique identifier for the comment").nullable(),
29
29
  data: OutlineGetComment_CommentDataSchema.nullable(),
@@ -35,15 +35,15 @@ const OutlineGetComment_CommentSchema = zod.z.object({
35
35
  resolvedAt: zod.z.string().describe("ISO 8601 timestamp when comment was resolved").nullable().optional(),
36
36
  resolvedBy: OutlineGetComment_CommentCreatedBySchema.nullable().optional(),
37
37
  parentCommentId: zod.z.string().describe("ID of the parent comment if this is a reply").nullable().optional()
38
- }).describe("Representation of a comment object.");
38
+ }).passthrough().describe("Representation of a comment object.");
39
39
  const OutlineGetComment_PolicySchema = zod.z.object({
40
40
  id: zod.z.string().describe("Resource identifier").nullable(),
41
- abilities: zod.z.object({}).describe("Map of action names to boolean authorization status")
42
- }).describe("Policy object describing authorized actions on the comment.");
41
+ abilities: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Map of action names to boolean authorization status")
42
+ }).passthrough().describe("Policy object describing authorized actions on the comment.");
43
43
  const OutlineGetCommentOutput = zod.z.object({
44
44
  data: OutlineGetComment_CommentSchema.nullable(),
45
45
  policies: zod.z.array(OutlineGetComment_PolicySchema).describe("Array of policy objects describing authorized actions").nullable().optional()
46
- }).describe("Response model for retrieving a comment.");
46
+ }).passthrough().describe("Response model for retrieving a comment.");
47
47
  const outlineGetComment = require_action.action("OUTLINE_GET_COMMENT", {
48
48
  slug: "outline-get-comment",
49
49
  name: "Get Comment",
@@ -1 +1 @@
1
- {"version":3,"file":"get-comment.cjs","names":["z","action"],"sources":["../../src/actions/get-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetCommentInput = z.object({\n id: z.string().describe(\"Comment ID to retrieve\"),\n includeAnchorText: z.boolean().describe(\"Include the document text that the comment is anchored to, if any, in the response.\").optional(),\n}).describe(\"Request model for retrieving a comment by its ID.\");\nconst OutlineGetComment_ContentNodeSchema = z.object({\n text: z.string().describe(\"Text content of the node\").nullable().optional(),\n type: z.string().describe(\"Type of the content node\").nullable().optional(),\n marks: z.array(z.object({})).describe(\"Formatting marks applied to the text\").nullable().optional(),\n content: z.array(z.object({})).describe(\"Nested content nodes\").nullable().optional(),\n}).describe(\"A content node within the comment data.\");\nconst OutlineGetComment_CommentDataSchema = z.object({\n type: z.string().describe(\"Type of content (e.g., 'doc')\").nullable().optional(),\n content: z.array(OutlineGetComment_ContentNodeSchema).describe(\"Content nodes of the comment\").nullable().optional(),\n}).describe(\"The content data of the comment.\");\nconst OutlineGetComment_CommentCreatedBySchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n color: z.string().describe(\"User's color identifier\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether user is an admin\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether user is the viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether user is suspended\").nullable().optional(),\n}).describe(\"Information about the user who created the comment.\");\nconst OutlineGetComment_CommentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the comment\").nullable(),\n data: OutlineGetComment_CommentDataSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when comment was created\").nullable(),\n createdBy: OutlineGetComment_CommentCreatedBySchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when comment was last updated\").nullable(),\n anchorText: z.string().describe(\"Document text the comment is anchored to (if includeAnchorText=true)\").nullable().optional(),\n documentId: z.string().describe(\"ID of the document the comment belongs to\").nullable(),\n resolvedAt: z.string().describe(\"ISO 8601 timestamp when comment was resolved\").nullable().optional(),\n resolvedBy: OutlineGetComment_CommentCreatedBySchema.nullable().optional(),\n parentCommentId: z.string().describe(\"ID of the parent comment if this is a reply\").nullable().optional(),\n}).describe(\"Representation of a comment object.\");\nconst OutlineGetComment_PolicySchema = z.object({\n id: z.string().describe(\"Resource identifier\").nullable(),\n abilities: z.object({}).describe(\"Map of action names to boolean authorization status\"),\n}).describe(\"Policy object describing authorized actions on the comment.\");\nexport const OutlineGetCommentOutput = z.object({\n data: OutlineGetComment_CommentSchema.nullable(),\n policies: z.array(OutlineGetComment_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).describe(\"Response model for retrieving a comment.\");\n\nexport const outlineGetComment = action(\"OUTLINE_GET_COMMENT\", {\n slug: \"outline-get-comment\",\n name: \"Get Comment\",\n description: \"Tool to retrieve a comment by its ID from Outline. Use when you need to fetch detailed information about a specific comment including its content, author, timestamps, and resolution status.\",\n input: OutlineGetCommentInput,\n output: OutlineGetCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtF,CAAC,CAAC,CAAC,SAAS,yCAAyC;AACrD,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,SAASA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAA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AC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAY,yCAAyC,SAAS,CAAC,CAAC,SAAS;CACzE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CACxD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACxF,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAM,gCAAgC,SAAS;CAC/C,UAAUA,IAAAA,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-comment.cjs","names":["z","action"],"sources":["../../src/actions/get-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetCommentInput = z.object({\n id: z.string().describe(\"Comment ID to retrieve\"),\n includeAnchorText: z.boolean().describe(\"Include the document text that the comment is anchored to, if any, in the response.\").optional(),\n}).describe(\"Request model for retrieving a comment by its ID.\");\nconst OutlineGetComment_ContentNodeSchema = z.object({\n text: z.string().describe(\"Text content of the node\").nullable().optional(),\n type: z.string().describe(\"Type of the content node\").nullable().optional(),\n marks: z.array(z.record(z.string(), z.unknown())).describe(\"Formatting marks applied to the text\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"Nested content nodes\").nullable().optional(),\n}).passthrough().describe(\"A content node within the comment data.\");\nconst OutlineGetComment_CommentDataSchema = z.object({\n type: z.string().describe(\"Type of content (e.g., 'doc')\").nullable().optional(),\n content: z.array(OutlineGetComment_ContentNodeSchema).describe(\"Content nodes of the comment\").nullable().optional(),\n}).passthrough().describe(\"The content data of the comment.\");\nconst OutlineGetComment_CommentCreatedBySchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n color: z.string().describe(\"User's color identifier\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether user is an admin\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether user is the viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether user is suspended\").nullable().optional(),\n}).passthrough().describe(\"Information about the user who created the comment.\");\nconst OutlineGetComment_CommentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the comment\").nullable(),\n data: OutlineGetComment_CommentDataSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when comment was created\").nullable(),\n createdBy: OutlineGetComment_CommentCreatedBySchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when comment was last updated\").nullable(),\n anchorText: z.string().describe(\"Document text the comment is anchored to (if includeAnchorText=true)\").nullable().optional(),\n documentId: z.string().describe(\"ID of the document the comment belongs to\").nullable(),\n resolvedAt: z.string().describe(\"ISO 8601 timestamp when comment was resolved\").nullable().optional(),\n resolvedBy: OutlineGetComment_CommentCreatedBySchema.nullable().optional(),\n parentCommentId: z.string().describe(\"ID of the parent comment if this is a reply\").nullable().optional(),\n}).passthrough().describe(\"Representation of a comment object.\");\nconst OutlineGetComment_PolicySchema = z.object({\n id: z.string().describe(\"Resource identifier\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of action names to boolean authorization status\"),\n}).passthrough().describe(\"Policy object describing authorized actions on the comment.\");\nexport const OutlineGetCommentOutput = z.object({\n data: OutlineGetComment_CommentSchema.nullable(),\n policies: z.array(OutlineGetComment_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a comment.\");\n\nexport const outlineGetComment = action(\"OUTLINE_GET_COMMENT\", {\n slug: \"outline-get-comment\",\n name: \"Get Comment\",\n description: \"Tool to retrieve a comment by its ID from Outline. Use when you need to fetch detailed information about a specific comment including its content, author, timestamps, and resolution status.\",\n input: OutlineGetCommentInput,\n output: OutlineGetCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAA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M;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -13,10 +13,10 @@ declare const OutlineGetCommentOutput: z.ZodObject<{
13
13
  content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
14
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- marks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
17
- content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
18
- }, z.core.$strip>>>>;
19
- }, z.core.$strip>>;
16
+ marks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
17
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
18
+ }, z.core.$loose>>>>;
19
+ }, z.core.$loose>>;
20
20
  createdAt: z.ZodNullable<z.ZodString>;
21
21
  createdBy: z.ZodNullable<z.ZodObject<{
22
22
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,7 +26,7 @@ declare const OutlineGetCommentOutput: z.ZodObject<{
26
26
  isViewer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
27
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  isSuspended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  updatedAt: z.ZodNullable<z.ZodString>;
31
31
  anchorText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  documentId: z.ZodNullable<z.ZodString>;
@@ -39,14 +39,14 @@ declare const OutlineGetCommentOutput: z.ZodObject<{
39
39
  isViewer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
40
40
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  isSuspended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
43
  parentCommentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- }, z.core.$strip>>;
44
+ }, z.core.$loose>>;
45
45
  policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
46
  id: z.ZodNullable<z.ZodString>;
47
- abilities: z.ZodObject<{}, z.core.$strip>;
48
- }, z.core.$strip>>>>;
49
- }, z.core.$strip>;
47
+ abilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
48
+ }, z.core.$loose>>>>;
49
+ }, z.core.$loose>;
50
50
  declare const outlineGetComment: import("@keystrokehq/action").WorkflowActionDefinition<{
51
51
  id: string;
52
52
  includeAnchorText?: boolean | undefined;
@@ -13,10 +13,10 @@ declare const OutlineGetCommentOutput: z.ZodObject<{
13
13
  content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
14
14
  text: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
15
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
- marks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
17
- content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
18
- }, z.core.$strip>>>>;
19
- }, z.core.$strip>>;
16
+ marks: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
17
+ content: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
18
+ }, z.core.$loose>>>>;
19
+ }, z.core.$loose>>;
20
20
  createdAt: z.ZodNullable<z.ZodString>;
21
21
  createdBy: z.ZodNullable<z.ZodObject<{
22
22
  id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26,7 +26,7 @@ declare const OutlineGetCommentOutput: z.ZodObject<{
26
26
  isViewer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
27
27
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  isSuspended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
29
- }, z.core.$strip>>;
29
+ }, z.core.$loose>>;
30
30
  updatedAt: z.ZodNullable<z.ZodString>;
31
31
  anchorText: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  documentId: z.ZodNullable<z.ZodString>;
@@ -39,14 +39,14 @@ declare const OutlineGetCommentOutput: z.ZodObject<{
39
39
  isViewer: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
40
40
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
41
  isSuspended: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
42
- }, z.core.$strip>>>;
42
+ }, z.core.$loose>>>;
43
43
  parentCommentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
44
- }, z.core.$strip>>;
44
+ }, z.core.$loose>>;
45
45
  policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
46
46
  id: z.ZodNullable<z.ZodString>;
47
- abilities: z.ZodObject<{}, z.core.$strip>;
48
- }, z.core.$strip>>>>;
49
- }, z.core.$strip>;
47
+ abilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
48
+ }, z.core.$loose>>>>;
49
+ }, z.core.$loose>;
50
50
  declare const outlineGetComment: import("@keystrokehq/action").WorkflowActionDefinition<{
51
51
  id: string;
52
52
  includeAnchorText?: boolean | undefined;
@@ -8,13 +8,13 @@ const OutlineGetCommentInput = z.object({
8
8
  const OutlineGetComment_ContentNodeSchema = z.object({
9
9
  text: z.string().describe("Text content of the node").nullable().optional(),
10
10
  type: z.string().describe("Type of the content node").nullable().optional(),
11
- marks: z.array(z.object({})).describe("Formatting marks applied to the text").nullable().optional(),
12
- content: z.array(z.object({})).describe("Nested content nodes").nullable().optional()
13
- }).describe("A content node within the comment data.");
11
+ marks: z.array(z.record(z.string(), z.unknown())).describe("Formatting marks applied to the text").nullable().optional(),
12
+ content: z.array(z.record(z.string(), z.unknown())).describe("Nested content nodes").nullable().optional()
13
+ }).passthrough().describe("A content node within the comment data.");
14
14
  const OutlineGetComment_CommentDataSchema = z.object({
15
15
  type: z.string().describe("Type of content (e.g., 'doc')").nullable().optional(),
16
16
  content: z.array(OutlineGetComment_ContentNodeSchema).describe("Content nodes of the comment").nullable().optional()
17
- }).describe("The content data of the comment.");
17
+ }).passthrough().describe("The content data of the comment.");
18
18
  const OutlineGetComment_CommentCreatedBySchema = z.object({
19
19
  id: z.string().describe("User ID").nullable().optional(),
20
20
  name: z.string().describe("User's name").nullable().optional(),
@@ -23,7 +23,7 @@ const OutlineGetComment_CommentCreatedBySchema = z.object({
23
23
  isViewer: z.boolean().describe("Whether user is the viewer").nullable().optional(),
24
24
  avatarUrl: z.string().describe("URL to user's avatar image").nullable().optional(),
25
25
  isSuspended: z.boolean().describe("Whether user is suspended").nullable().optional()
26
- }).describe("Information about the user who created the comment.");
26
+ }).passthrough().describe("Information about the user who created the comment.");
27
27
  const OutlineGetComment_CommentSchema = z.object({
28
28
  id: z.string().describe("Unique identifier for the comment").nullable(),
29
29
  data: OutlineGetComment_CommentDataSchema.nullable(),
@@ -35,11 +35,11 @@ const OutlineGetComment_CommentSchema = z.object({
35
35
  resolvedAt: z.string().describe("ISO 8601 timestamp when comment was resolved").nullable().optional(),
36
36
  resolvedBy: OutlineGetComment_CommentCreatedBySchema.nullable().optional(),
37
37
  parentCommentId: z.string().describe("ID of the parent comment if this is a reply").nullable().optional()
38
- }).describe("Representation of a comment object.");
38
+ }).passthrough().describe("Representation of a comment object.");
39
39
  const OutlineGetComment_PolicySchema = z.object({
40
40
  id: z.string().describe("Resource identifier").nullable(),
41
- abilities: z.object({}).describe("Map of action names to boolean authorization status")
42
- }).describe("Policy object describing authorized actions on the comment.");
41
+ abilities: z.record(z.string(), z.unknown()).describe("Map of action names to boolean authorization status")
42
+ }).passthrough().describe("Policy object describing authorized actions on the comment.");
43
43
  const outlineGetComment = action("OUTLINE_GET_COMMENT", {
44
44
  slug: "outline-get-comment",
45
45
  name: "Get Comment",
@@ -48,7 +48,7 @@ const outlineGetComment = action("OUTLINE_GET_COMMENT", {
48
48
  output: z.object({
49
49
  data: OutlineGetComment_CommentSchema.nullable(),
50
50
  policies: z.array(OutlineGetComment_PolicySchema).describe("Array of policy objects describing authorized actions").nullable().optional()
51
- }).describe("Response model for retrieving a comment.")
51
+ }).passthrough().describe("Response model for retrieving a comment.")
52
52
  });
53
53
  //#endregion
54
54
  export { outlineGetComment };
@@ -1 +1 @@
1
- {"version":3,"file":"get-comment.mjs","names":[],"sources":["../../src/actions/get-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetCommentInput = z.object({\n id: z.string().describe(\"Comment ID to retrieve\"),\n includeAnchorText: z.boolean().describe(\"Include the document text that the comment is anchored to, if any, in the response.\").optional(),\n}).describe(\"Request model for retrieving a comment by its ID.\");\nconst OutlineGetComment_ContentNodeSchema = z.object({\n text: z.string().describe(\"Text content of the node\").nullable().optional(),\n type: z.string().describe(\"Type of the content node\").nullable().optional(),\n marks: z.array(z.object({})).describe(\"Formatting marks applied to the text\").nullable().optional(),\n content: z.array(z.object({})).describe(\"Nested content nodes\").nullable().optional(),\n}).describe(\"A content node within the comment data.\");\nconst OutlineGetComment_CommentDataSchema = z.object({\n type: z.string().describe(\"Type of content (e.g., 'doc')\").nullable().optional(),\n content: z.array(OutlineGetComment_ContentNodeSchema).describe(\"Content nodes of the comment\").nullable().optional(),\n}).describe(\"The content data of the comment.\");\nconst OutlineGetComment_CommentCreatedBySchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n color: z.string().describe(\"User's color identifier\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether user is an admin\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether user is the viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether user is suspended\").nullable().optional(),\n}).describe(\"Information about the user who created the comment.\");\nconst OutlineGetComment_CommentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the comment\").nullable(),\n data: OutlineGetComment_CommentDataSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when comment was created\").nullable(),\n createdBy: OutlineGetComment_CommentCreatedBySchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when comment was last updated\").nullable(),\n anchorText: z.string().describe(\"Document text the comment is anchored to (if includeAnchorText=true)\").nullable().optional(),\n documentId: z.string().describe(\"ID of the document the comment belongs to\").nullable(),\n resolvedAt: z.string().describe(\"ISO 8601 timestamp when comment was resolved\").nullable().optional(),\n resolvedBy: OutlineGetComment_CommentCreatedBySchema.nullable().optional(),\n parentCommentId: z.string().describe(\"ID of the parent comment if this is a reply\").nullable().optional(),\n}).describe(\"Representation of a comment object.\");\nconst OutlineGetComment_PolicySchema = z.object({\n id: z.string().describe(\"Resource identifier\").nullable(),\n abilities: z.object({}).describe(\"Map of action names to boolean authorization status\"),\n}).describe(\"Policy object describing authorized actions on the comment.\");\nexport const OutlineGetCommentOutput = z.object({\n data: OutlineGetComment_CommentSchema.nullable(),\n policies: z.array(OutlineGetComment_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).describe(\"Response model for retrieving a comment.\");\n\nexport const outlineGetComment = action(\"OUTLINE_GET_COMMENT\", {\n slug: \"outline-get-comment\",\n name: \"Get Comment\",\n description: \"Tool to retrieve a comment by its ID from Outline. Use when you need to fetch detailed information about a specific comment including its content, author, timestamps, and resolution status.\",\n input: OutlineGetCommentInput,\n output: OutlineGetCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,mBAAmB,EAAE,QAAQ,C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ACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,gCAAgC,SAAS;EAC/C,UAAU,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-comment.mjs","names":[],"sources":["../../src/actions/get-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetCommentInput = z.object({\n id: z.string().describe(\"Comment ID to retrieve\"),\n includeAnchorText: z.boolean().describe(\"Include the document text that the comment is anchored to, if any, in the response.\").optional(),\n}).describe(\"Request model for retrieving a comment by its ID.\");\nconst OutlineGetComment_ContentNodeSchema = z.object({\n text: z.string().describe(\"Text content of the node\").nullable().optional(),\n type: z.string().describe(\"Type of the content node\").nullable().optional(),\n marks: z.array(z.record(z.string(), z.unknown())).describe(\"Formatting marks applied to the text\").nullable().optional(),\n content: z.array(z.record(z.string(), z.unknown())).describe(\"Nested content nodes\").nullable().optional(),\n}).passthrough().describe(\"A content node within the comment data.\");\nconst OutlineGetComment_CommentDataSchema = z.object({\n type: z.string().describe(\"Type of content (e.g., 'doc')\").nullable().optional(),\n content: z.array(OutlineGetComment_ContentNodeSchema).describe(\"Content nodes of the comment\").nullable().optional(),\n}).passthrough().describe(\"The content data of the comment.\");\nconst OutlineGetComment_CommentCreatedBySchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User's name\").nullable().optional(),\n color: z.string().describe(\"User's color identifier\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether user is an admin\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether user is the viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to user's avatar image\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether user is suspended\").nullable().optional(),\n}).passthrough().describe(\"Information about the user who created the comment.\");\nconst OutlineGetComment_CommentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the comment\").nullable(),\n data: OutlineGetComment_CommentDataSchema.nullable(),\n createdAt: z.string().describe(\"ISO 8601 timestamp when comment was created\").nullable(),\n createdBy: OutlineGetComment_CommentCreatedBySchema.nullable(),\n updatedAt: z.string().describe(\"ISO 8601 timestamp when comment was last updated\").nullable(),\n anchorText: z.string().describe(\"Document text the comment is anchored to (if includeAnchorText=true)\").nullable().optional(),\n documentId: z.string().describe(\"ID of the document the comment belongs to\").nullable(),\n resolvedAt: z.string().describe(\"ISO 8601 timestamp when comment was resolved\").nullable().optional(),\n resolvedBy: OutlineGetComment_CommentCreatedBySchema.nullable().optional(),\n parentCommentId: z.string().describe(\"ID of the parent comment if this is a reply\").nullable().optional(),\n}).passthrough().describe(\"Representation of a comment object.\");\nconst OutlineGetComment_PolicySchema = z.object({\n id: z.string().describe(\"Resource identifier\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of action names to boolean authorization status\"),\n}).passthrough().describe(\"Policy object describing authorized actions on the comment.\");\nexport const OutlineGetCommentOutput = z.object({\n data: OutlineGetComment_CommentSchema.nullable(),\n policies: z.array(OutlineGetComment_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving a comment.\");\n\nexport const outlineGetComment = action(\"OUTLINE_GET_COMMENT\", {\n slug: \"outline-get-comment\",\n name: \"Get Comment\",\n description: \"Tool to retrieve a comment by its ID from Outline. Use when you need to fetch detailed information about a specific comment including its content, author, timestamps, and resolution status.\",\n input: OutlineGetCommentInput,\n output: OutlineGetCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyB,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAChD,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,SAAS,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,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqC,EAAE,OAAO;EAC9C,MAAM,gCAAgC,SAAS;EAC/C,UAAU,EAAE,MAAM,8BAA8B,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
@@ -10,7 +10,7 @@ const OutlineGetDocumentInfo_UserSchema = zod.z.object({
10
10
  name: zod.z.string().describe("User name").nullable().optional(),
11
11
  email: zod.z.string().describe("User email").nullable().optional(),
12
12
  avatarUrl: zod.z.string().describe("User avatar URL").nullable().optional()
13
- }).describe("User object reference for createdBy and updatedBy fields.");
13
+ }).passthrough().describe("User object reference for createdBy and updatedBy fields.");
14
14
  const OutlineGetDocumentInfo_DocumentSchema = zod.z.object({
15
15
  id: zod.z.string().describe("Unique document identifier (UUID)").nullable(),
16
16
  icon: zod.z.string().describe("Document icon emoji").nullable().optional(),
@@ -29,18 +29,18 @@ const OutlineGetDocumentInfo_DocumentSchema = zod.z.object({
29
29
  updatedBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),
30
30
  viewCount: zod.z.number().int().describe("Number of times the document has been viewed").nullable().optional(),
31
31
  collectionId: zod.z.string().describe("Parent collection UUID").nullable().optional(),
32
- dataAttributes: zod.z.array(zod.z.object({})).describe("Additional data attributes").nullable().optional(),
32
+ dataAttributes: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Additional data attributes").nullable().optional(),
33
33
  insightsEnabled: zod.z.boolean().describe("Whether insights are enabled for the document").nullable().optional(),
34
34
  parentDocumentId: zod.z.string().describe("Parent document UUID for nested documents").nullable().optional()
35
- }).describe("Complete document object with all metadata and content.");
35
+ }).passthrough().describe("Complete document object with all metadata and content.");
36
36
  const OutlineGetDocumentInfo_PolicySchema = zod.z.object({
37
37
  id: zod.z.string().describe("Identifier identical to the related resource").nullable(),
38
- abilities: zod.z.object({}).describe("Object describing authorized actions the user can perform")
39
- }).describe("Policy object describing authorized actions for the document.");
38
+ abilities: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Object describing authorized actions the user can perform")
39
+ }).passthrough().describe("Policy object describing authorized actions for the document.");
40
40
  const OutlineGetDocumentInfoOutput = zod.z.object({
41
41
  data: OutlineGetDocumentInfo_DocumentSchema.nullable(),
42
42
  policies: zod.z.array(OutlineGetDocumentInfo_PolicySchema).describe("Array of policy objects describing authorized actions").nullable().optional()
43
- }).describe("Response model for retrieving document information.\nContains the complete document data and access policies.");
43
+ }).passthrough().describe("Response model for retrieving document information.\nContains the complete document data and access policies.");
44
44
  const outlineGetDocumentInfo = require_action.action("OUTLINE_GET_DOCUMENT_INFO", {
45
45
  slug: "outline-get-document-info",
46
46
  name: "Get Document Info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-info.cjs","names":["z","action"],"sources":["../../src/actions/get-document-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetDocumentInfoInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable. At least one of id or shareId must be provided.\").optional(),\n shareId: z.string().describe(\"Unique identifier for a document share. A shareId may be used in place of a document UUID. At least one of id or shareId must be provided.\").optional(),\n}).describe(\"Request model for retrieving a document from Outline.\\nAt least one of id or shareId must be provided.\");\nconst OutlineGetDocumentInfo_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email\").nullable().optional(),\n avatarUrl: z.string().describe(\"User avatar URL\").nullable().optional(),\n}).describe(\"User object reference for createdBy and updatedBy fields.\");\nconst OutlineGetDocumentInfo_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID)\").nullable(),\n icon: z.string().describe(\"Document icon emoji\").nullable().optional(),\n text: z.string().describe(\"Document content in markdown format\").nullable(),\n color: z.string().describe(\"Document color\").nullable().optional(),\n title: z.string().describe(\"Document title\").nullable(),\n urlId: z.string().describe(\"URL-friendly identifier for the document\").nullable().optional(),\n status: z.string().describe(\"Document status: draft, archived, or published\").nullable().optional(),\n publish: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n shareId: z.string().describe(\"Share identifier if document is shared\").nullable().optional(),\n editMode: z.string().describe(\"Document edit mode\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp\").nullable(),\n createdBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether the document uses full width layout\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n updatedBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n viewCount: z.number().int().describe(\"Number of times the document has been viewed\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection UUID\").nullable().optional(),\n dataAttributes: z.array(z.object({})).describe(\"Additional data attributes\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether insights are enabled for the document\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document UUID for nested documents\").nullable().optional(),\n}).describe(\"Complete document object with all metadata and content.\");\nconst OutlineGetDocumentInfo_PolicySchema = z.object({\n id: z.string().describe(\"Identifier identical to the related resource\").nullable(),\n abilities: z.object({}).describe(\"Object describing authorized actions the user can perform\"),\n}).describe(\"Policy object describing authorized actions for the document.\");\nexport const OutlineGetDocumentInfoOutput = z.object({\n data: OutlineGetDocumentInfo_DocumentSchema.nullable(),\n policies: z.array(OutlineGetDocumentInfo_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).describe(\"Response model for retrieving document information.\\nContains the complete document data and access policies.\");\n\nexport const outlineGetDocumentInfo = action(\"OUTLINE_GET_DOCUMENT_INFO\", {\n slug: \"outline-get-document-info\",\n name: \"Get Document Info\",\n description: \"Tool to retrieve a document from Outline by its UUID, urlId, or shareId. Returns complete document information including title, content, metadata, timestamps, and access policies. Use when you need to fetch document details or content.\",\n input: OutlineGetDocumentInfoInput,\n output: OutlineGetDocumentInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE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CACjG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACjF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,2DAA2D;AAC9F,CAAC,CAAC,CAAC,SAAS,+DAA+D;AAC3E,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,MAAM,sCAAsC,SAAS;CACrD,UAAUA,IAAAA,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,+GAA+G;AAE3H,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-info.cjs","names":["z","action"],"sources":["../../src/actions/get-document-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetDocumentInfoInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable. At least one of id or shareId must be provided.\").optional(),\n shareId: z.string().describe(\"Unique identifier for a document share. A shareId may be used in place of a document UUID. At least one of id or shareId must be provided.\").optional(),\n}).describe(\"Request model for retrieving a document from Outline.\\nAt least one of id or shareId must be provided.\");\nconst OutlineGetDocumentInfo_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email\").nullable().optional(),\n avatarUrl: z.string().describe(\"User avatar URL\").nullable().optional(),\n}).passthrough().describe(\"User object reference for createdBy and updatedBy fields.\");\nconst OutlineGetDocumentInfo_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID)\").nullable(),\n icon: z.string().describe(\"Document icon emoji\").nullable().optional(),\n text: z.string().describe(\"Document content in markdown format\").nullable(),\n color: z.string().describe(\"Document color\").nullable().optional(),\n title: z.string().describe(\"Document title\").nullable(),\n urlId: z.string().describe(\"URL-friendly identifier for the document\").nullable().optional(),\n status: z.string().describe(\"Document status: draft, archived, or published\").nullable().optional(),\n publish: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n shareId: z.string().describe(\"Share identifier if document is shared\").nullable().optional(),\n editMode: z.string().describe(\"Document edit mode\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp\").nullable(),\n createdBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether the document uses full width layout\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n updatedBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n viewCount: z.number().int().describe(\"Number of times the document has been viewed\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection UUID\").nullable().optional(),\n dataAttributes: z.array(z.record(z.string(), z.unknown())).describe(\"Additional data attributes\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether insights are enabled for the document\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document UUID for nested documents\").nullable().optional(),\n}).passthrough().describe(\"Complete document object with all metadata and content.\");\nconst OutlineGetDocumentInfo_PolicySchema = z.object({\n id: z.string().describe(\"Identifier identical to the related resource\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Object describing authorized actions the user can perform\"),\n}).passthrough().describe(\"Policy object describing authorized actions for the document.\");\nexport const OutlineGetDocumentInfoOutput = z.object({\n data: OutlineGetDocumentInfo_DocumentSchema.nullable(),\n policies: z.array(OutlineGetDocumentInfo_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving document information.\\nContains the complete document data and access policies.\");\n\nexport const outlineGetDocumentInfo = action(\"OUTLINE_GET_DOCUMENT_INFO\", {\n slug: \"outline-get-document-info\",\n name: \"Get Document Info\",\n description: \"Tool to retrieve a document from Outline by its UUID, urlId, or shareId. Returns complete document information including title, content, metadata, timestamps, and access policies. Use when you need to fetch document details or content.\",\n input: OutlineGetDocumentInfoInput,\n output: OutlineGetDocumentInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACpK,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS;AACtL,CAAC,CAAC,CAAC,SAAS,wGAAwG;AACpH,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AACrF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAA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
23
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>>;
26
+ }, z.core.$loose>>>;
27
27
  fullWidth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
28
  updatedAt: z.ZodNullable<z.ZodString>;
29
29
  updatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -31,18 +31,18 @@ declare const OutlineGetDocumentInfoOutput: z.ZodObject<{
31
31
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  viewCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  collectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- dataAttributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
37
+ dataAttributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
38
38
  insightsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
39
  parentDocumentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
42
  id: z.ZodNullable<z.ZodString>;
43
- abilities: z.ZodObject<{}, z.core.$strip>;
44
- }, z.core.$strip>>>>;
45
- }, z.core.$strip>;
43
+ abilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
+ }, z.core.$loose>>>>;
45
+ }, z.core.$loose>;
46
46
  declare const outlineGetDocumentInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  id?: string | undefined;
48
48
  shareId?: string | undefined;
@@ -23,7 +23,7 @@ declare const OutlineGetDocumentInfoOutput: z.ZodObject<{
23
23
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24
24
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25
25
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
- }, z.core.$strip>>>;
26
+ }, z.core.$loose>>>;
27
27
  fullWidth: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
28
28
  updatedAt: z.ZodNullable<z.ZodString>;
29
29
  updatedBy: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -31,18 +31,18 @@ declare const OutlineGetDocumentInfoOutput: z.ZodObject<{
31
31
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32
32
  email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
33
33
  avatarUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
34
- }, z.core.$strip>>>;
34
+ }, z.core.$loose>>>;
35
35
  viewCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
36
36
  collectionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
37
- dataAttributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{}, z.core.$strip>>>>;
37
+ dataAttributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
38
38
  insightsEnabled: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
39
39
  parentDocumentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
40
- }, z.core.$strip>>;
40
+ }, z.core.$loose>>;
41
41
  policies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
42
42
  id: z.ZodNullable<z.ZodString>;
43
- abilities: z.ZodObject<{}, z.core.$strip>;
44
- }, z.core.$strip>>>>;
45
- }, z.core.$strip>;
43
+ abilities: z.ZodRecord<z.ZodString, z.ZodUnknown>;
44
+ }, z.core.$loose>>>>;
45
+ }, z.core.$loose>;
46
46
  declare const outlineGetDocumentInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
47
47
  id?: string | undefined;
48
48
  shareId?: string | undefined;
@@ -10,7 +10,7 @@ const OutlineGetDocumentInfo_UserSchema = z.object({
10
10
  name: z.string().describe("User name").nullable().optional(),
11
11
  email: z.string().describe("User email").nullable().optional(),
12
12
  avatarUrl: z.string().describe("User avatar URL").nullable().optional()
13
- }).describe("User object reference for createdBy and updatedBy fields.");
13
+ }).passthrough().describe("User object reference for createdBy and updatedBy fields.");
14
14
  const OutlineGetDocumentInfo_DocumentSchema = z.object({
15
15
  id: z.string().describe("Unique document identifier (UUID)").nullable(),
16
16
  icon: z.string().describe("Document icon emoji").nullable().optional(),
@@ -29,14 +29,14 @@ const OutlineGetDocumentInfo_DocumentSchema = z.object({
29
29
  updatedBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),
30
30
  viewCount: z.number().int().describe("Number of times the document has been viewed").nullable().optional(),
31
31
  collectionId: z.string().describe("Parent collection UUID").nullable().optional(),
32
- dataAttributes: z.array(z.object({})).describe("Additional data attributes").nullable().optional(),
32
+ dataAttributes: z.array(z.record(z.string(), z.unknown())).describe("Additional data attributes").nullable().optional(),
33
33
  insightsEnabled: z.boolean().describe("Whether insights are enabled for the document").nullable().optional(),
34
34
  parentDocumentId: z.string().describe("Parent document UUID for nested documents").nullable().optional()
35
- }).describe("Complete document object with all metadata and content.");
35
+ }).passthrough().describe("Complete document object with all metadata and content.");
36
36
  const OutlineGetDocumentInfo_PolicySchema = z.object({
37
37
  id: z.string().describe("Identifier identical to the related resource").nullable(),
38
- abilities: z.object({}).describe("Object describing authorized actions the user can perform")
39
- }).describe("Policy object describing authorized actions for the document.");
38
+ abilities: z.record(z.string(), z.unknown()).describe("Object describing authorized actions the user can perform")
39
+ }).passthrough().describe("Policy object describing authorized actions for the document.");
40
40
  const outlineGetDocumentInfo = action("OUTLINE_GET_DOCUMENT_INFO", {
41
41
  slug: "outline-get-document-info",
42
42
  name: "Get Document Info",
@@ -45,7 +45,7 @@ const outlineGetDocumentInfo = action("OUTLINE_GET_DOCUMENT_INFO", {
45
45
  output: z.object({
46
46
  data: OutlineGetDocumentInfo_DocumentSchema.nullable(),
47
47
  policies: z.array(OutlineGetDocumentInfo_PolicySchema).describe("Array of policy objects describing authorized actions").nullable().optional()
48
- }).describe("Response model for retrieving document information.\nContains the complete document data and access policies.")
48
+ }).passthrough().describe("Response model for retrieving document information.\nContains the complete document data and access policies.")
49
49
  });
50
50
  //#endregion
51
51
  export { outlineGetDocumentInfo };
@@ -1 +1 @@
1
- {"version":3,"file":"get-document-info.mjs","names":[],"sources":["../../src/actions/get-document-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetDocumentInfoInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable. At least one of id or shareId must be provided.\").optional(),\n shareId: z.string().describe(\"Unique identifier for a document share. A shareId may be used in place of a document UUID. At least one of id or shareId must be provided.\").optional(),\n}).describe(\"Request model for retrieving a document from Outline.\\nAt least one of id or shareId must be provided.\");\nconst OutlineGetDocumentInfo_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email\").nullable().optional(),\n avatarUrl: z.string().describe(\"User avatar URL\").nullable().optional(),\n}).describe(\"User object reference for createdBy and updatedBy fields.\");\nconst OutlineGetDocumentInfo_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID)\").nullable(),\n icon: z.string().describe(\"Document icon emoji\").nullable().optional(),\n text: z.string().describe(\"Document content in markdown format\").nullable(),\n color: z.string().describe(\"Document color\").nullable().optional(),\n title: z.string().describe(\"Document title\").nullable(),\n urlId: z.string().describe(\"URL-friendly identifier for the document\").nullable().optional(),\n status: z.string().describe(\"Document status: draft, archived, or published\").nullable().optional(),\n publish: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n shareId: z.string().describe(\"Share identifier if document is shared\").nullable().optional(),\n editMode: z.string().describe(\"Document edit mode\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp\").nullable(),\n createdBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether the document uses full width layout\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n updatedBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n viewCount: z.number().int().describe(\"Number of times the document has been viewed\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection UUID\").nullable().optional(),\n dataAttributes: z.array(z.object({})).describe(\"Additional data attributes\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether insights are enabled for the document\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document UUID for nested documents\").nullable().optional(),\n}).describe(\"Complete document object with all metadata and content.\");\nconst OutlineGetDocumentInfo_PolicySchema = z.object({\n id: z.string().describe(\"Identifier identical to the related resource\").nullable(),\n abilities: z.object({}).describe(\"Object describing authorized actions the user can perform\"),\n}).describe(\"Policy object describing authorized actions for the document.\");\nexport const OutlineGetDocumentInfoOutput = z.object({\n data: OutlineGetDocumentInfo_DocumentSchema.nullable(),\n policies: z.array(OutlineGetDocumentInfo_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).describe(\"Response model for retrieving document information.\\nContains the complete document data and access policies.\");\n\nexport const outlineGetDocumentInfo = action(\"OUTLINE_GET_DOCUMENT_INFO\", {\n slug: \"outline-get-document-info\",\n name: \"Get Document Info\",\n description: \"Tool to retrieve a document from Outline by its UUID, urlId, or shareId. Returns complete document information including title, content, metadata, timestamps, and access policies. Use when you need to fetch document details or content.\",\n input: OutlineGetDocumentInfoInput,\n output: OutlineGetDocumentInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,C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AA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,sCAAsC,SAAS;EACrD,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,SAAS,+GAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-document-info.mjs","names":[],"sources":["../../src/actions/get-document-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetDocumentInfoInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable. At least one of id or shareId must be provided.\").optional(),\n shareId: z.string().describe(\"Unique identifier for a document share. A shareId may be used in place of a document UUID. At least one of id or shareId must be provided.\").optional(),\n}).describe(\"Request model for retrieving a document from Outline.\\nAt least one of id or shareId must be provided.\");\nconst OutlineGetDocumentInfo_UserSchema = z.object({\n id: z.string().describe(\"User ID\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n email: z.string().describe(\"User email\").nullable().optional(),\n avatarUrl: z.string().describe(\"User avatar URL\").nullable().optional(),\n}).passthrough().describe(\"User object reference for createdBy and updatedBy fields.\");\nconst OutlineGetDocumentInfo_DocumentSchema = z.object({\n id: z.string().describe(\"Unique document identifier (UUID)\").nullable(),\n icon: z.string().describe(\"Document icon emoji\").nullable().optional(),\n text: z.string().describe(\"Document content in markdown format\").nullable(),\n color: z.string().describe(\"Document color\").nullable().optional(),\n title: z.string().describe(\"Document title\").nullable(),\n urlId: z.string().describe(\"URL-friendly identifier for the document\").nullable().optional(),\n status: z.string().describe(\"Document status: draft, archived, or published\").nullable().optional(),\n publish: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n shareId: z.string().describe(\"Share identifier if document is shared\").nullable().optional(),\n editMode: z.string().describe(\"Document edit mode\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp\").nullable(),\n createdBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether the document uses full width layout\").nullable().optional(),\n updatedAt: z.string().describe(\"Last update timestamp\").nullable(),\n updatedBy: OutlineGetDocumentInfo_UserSchema.nullable().optional(),\n viewCount: z.number().int().describe(\"Number of times the document has been viewed\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection UUID\").nullable().optional(),\n dataAttributes: z.array(z.record(z.string(), z.unknown())).describe(\"Additional data attributes\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether insights are enabled for the document\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document UUID for nested documents\").nullable().optional(),\n}).passthrough().describe(\"Complete document object with all metadata and content.\");\nconst OutlineGetDocumentInfo_PolicySchema = z.object({\n id: z.string().describe(\"Identifier identical to the related resource\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Object describing authorized actions the user can perform\"),\n}).passthrough().describe(\"Policy object describing authorized actions for the document.\");\nexport const OutlineGetDocumentInfoOutput = z.object({\n data: OutlineGetDocumentInfo_DocumentSchema.nullable(),\n policies: z.array(OutlineGetDocumentInfo_PolicySchema).describe(\"Array of policy objects describing authorized actions\").nullable().optional(),\n}).passthrough().describe(\"Response model for retrieving document information.\\nContains the complete document data and access policies.\");\n\nexport const outlineGetDocumentInfo = action(\"OUTLINE_GET_DOCUMENT_INFO\", {\n slug: \"outline-get-document-info\",\n name: \"Get Document Info\",\n description: \"Tool to retrieve a document from Outline by its UUID, urlId, or shareId. Returns complete document information including title, content, metadata, timestamps, and access policies. Use when you need to fetch document details or content.\",\n input: OutlineGetDocumentInfoInput,\n output: OutlineGetDocumentInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACpK,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC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F,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV0C,EAAE,OAAO;EACnD,MAAM,sCAAsC,SAAS;EACrD,UAAU,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+GAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-documents-documents.ts
4
4
  const OutlineGetDocumentsDocumentsInput = zod.z.object({ id: zod.z.string().describe("Unique identifier for the document. Either the UUID or the urlId is acceptable.") }).describe("Request model for retrieving a document's child structure.");
5
- const OutlineGetDocumentsDocumentsOutput = zod.z.object({ data: zod.z.union([zod.z.array(zod.z.object({})), zod.z.object({})]).nullable().optional() }).describe("Response model containing the nested document structure.\nThe data field contains the raw JSON tree structure with nested children.");
5
+ const OutlineGetDocumentsDocumentsOutput = zod.z.object({ data: zod.z.union([zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())), zod.z.record(zod.z.string(), zod.z.unknown())]).nullable().optional() }).passthrough().describe("Response model containing the nested document structure.\nThe data field contains the raw JSON tree structure with nested children.");
6
6
  const outlineGetDocumentsDocuments = require_action.action("OUTLINE_GET_DOCUMENTS_DOCUMENTS", {
7
7
  slug: "outline-get-documents-documents",
8
8
  name: "Get Document Children Structure",
@@ -1 +1 @@
1
- {"version":3,"file":"get-documents-documents.cjs","names":["z","action"],"sources":["../../src/actions/get-documents-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetDocumentsDocumentsInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable.\"),\n}).describe(\"Request model for retrieving a document's child structure.\");\nexport const OutlineGetDocumentsDocumentsOutput = z.object({\n data: z.union([z.array(z.object({})), z.object({})]).nullable().optional(),\n}).describe(\"Response model containing the nested document structure.\\nThe data field contains the raw JSON tree structure with nested children.\");\n\nexport const outlineGetDocumentsDocuments = action(\"OUTLINE_GET_DOCUMENTS_DOCUMENTS\", {\n slug: \"outline-get-documents-documents\",\n name: \"Get Document Children Structure\",\n description: \"Tool to retrieve a document's child structure. Returns the nested document tree (hierarchy) for the children of the specified document. Use when you need to explore document organization or navigate the document hierarchy.\",\n input: OutlineGetDocumentsDocumentsInput,\n output: OutlineGetDocumentsDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC3G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC3E,CAAC,CAAC,CAAC,SAAS,qIAAqI;AAEjJ,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-documents-documents.cjs","names":["z","action"],"sources":["../../src/actions/get-documents-documents.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineGetDocumentsDocumentsInput = z.object({\n id: z.string().describe(\"Unique identifier for the document. Either the UUID or the urlId is acceptable.\"),\n}).describe(\"Request model for retrieving a document's child structure.\");\nexport const OutlineGetDocumentsDocumentsOutput = z.object({\n data: z.union([z.array(z.record(z.string(), z.unknown())), z.record(z.string(), z.unknown())]).nullable().optional(),\n}).passthrough().describe(\"Response model containing the nested document structure.\\nThe data field contains the raw JSON tree structure with nested children.\");\n\nexport const outlineGetDocumentsDocuments = action(\"OUTLINE_GET_DOCUMENTS_DOCUMENTS\", {\n slug: \"outline-get-documents-documents\",\n name: \"Get Document Children Structure\",\n description: \"Tool to retrieve a document's child structure. Returns the nested document tree (hierarchy) for the children of the specified document. Use when you need to explore document organization or navigate the document hierarchy.\",\n input: OutlineGetDocumentsDocumentsInput,\n output: OutlineGetDocumentsDocumentsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iFAAiF,EAC3G,CAAC,CAAC,CAAC,SAAS,4DAA4D;AACxE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qIAAqI;AAE/J,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -5,8 +5,8 @@ declare const OutlineGetDocumentsDocumentsInput: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  }, z.core.$strip>;
7
7
  declare const OutlineGetDocumentsDocumentsOutput: z.ZodObject<{
8
- data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodObject<{}, z.core.$strip>>, z.ZodObject<{}, z.core.$strip>]>>>;
9
- }, z.core.$strip>;
8
+ data: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>;
9
+ }, z.core.$loose>;
10
10
  declare const outlineGetDocumentsDocuments: import("@keystrokehq/action").WorkflowActionDefinition<{
11
11
  id: string;
12
12
  }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;