@keystrokehq/outline 0.1.4 → 0.1.6

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 (821) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/activate-user.cjs +1 -0
  4. package/dist/actions/activate-user.cjs.map +1 -1
  5. package/dist/actions/activate-user.d.cts +3 -3
  6. package/dist/actions/activate-user.d.cts.map +1 -1
  7. package/dist/actions/activate-user.d.mts +3 -3
  8. package/dist/actions/activate-user.d.mts.map +1 -1
  9. package/dist/actions/activate-user.mjs +1 -0
  10. package/dist/actions/activate-user.mjs.map +1 -1
  11. package/dist/actions/add-collection-group.cjs +1 -0
  12. package/dist/actions/add-collection-group.cjs.map +1 -1
  13. package/dist/actions/add-collection-group.d.cts +3 -5
  14. package/dist/actions/add-collection-group.d.cts.map +1 -1
  15. package/dist/actions/add-collection-group.d.mts +3 -5
  16. package/dist/actions/add-collection-group.d.mts.map +1 -1
  17. package/dist/actions/add-collection-group.mjs +1 -0
  18. package/dist/actions/add-collection-group.mjs.map +1 -1
  19. package/dist/actions/add-document-user.cjs +1 -0
  20. package/dist/actions/add-document-user.cjs.map +1 -1
  21. package/dist/actions/add-document-user.d.cts +3 -5
  22. package/dist/actions/add-document-user.d.cts.map +1 -1
  23. package/dist/actions/add-document-user.d.mts +3 -5
  24. package/dist/actions/add-document-user.d.mts.map +1 -1
  25. package/dist/actions/add-document-user.mjs +1 -0
  26. package/dist/actions/add-document-user.mjs.map +1 -1
  27. package/dist/actions/add-group-to-document.cjs +1 -0
  28. package/dist/actions/add-group-to-document.cjs.map +1 -1
  29. package/dist/actions/add-group-to-document.d.cts +3 -5
  30. package/dist/actions/add-group-to-document.d.cts.map +1 -1
  31. package/dist/actions/add-group-to-document.d.mts +3 -5
  32. package/dist/actions/add-group-to-document.d.mts.map +1 -1
  33. package/dist/actions/add-group-to-document.mjs +1 -0
  34. package/dist/actions/add-group-to-document.mjs.map +1 -1
  35. package/dist/actions/add-group-user.cjs +1 -0
  36. package/dist/actions/add-group-user.cjs.map +1 -1
  37. package/dist/actions/add-group-user.d.cts +3 -4
  38. package/dist/actions/add-group-user.d.cts.map +1 -1
  39. package/dist/actions/add-group-user.d.mts +3 -4
  40. package/dist/actions/add-group-user.d.mts.map +1 -1
  41. package/dist/actions/add-group-user.mjs +1 -0
  42. package/dist/actions/add-group-user.mjs.map +1 -1
  43. package/dist/actions/add-user-to-collection.cjs +1 -0
  44. package/dist/actions/add-user-to-collection.cjs.map +1 -1
  45. package/dist/actions/add-user-to-collection.d.cts +3 -5
  46. package/dist/actions/add-user-to-collection.d.cts.map +1 -1
  47. package/dist/actions/add-user-to-collection.d.mts +3 -5
  48. package/dist/actions/add-user-to-collection.d.mts.map +1 -1
  49. package/dist/actions/add-user-to-collection.mjs +1 -0
  50. package/dist/actions/add-user-to-collection.mjs.map +1 -1
  51. package/dist/actions/archive-document.cjs +1 -0
  52. package/dist/actions/archive-document.cjs.map +1 -1
  53. package/dist/actions/archive-document.d.cts +3 -3
  54. package/dist/actions/archive-document.d.cts.map +1 -1
  55. package/dist/actions/archive-document.d.mts +3 -3
  56. package/dist/actions/archive-document.d.mts.map +1 -1
  57. package/dist/actions/archive-document.mjs +1 -0
  58. package/dist/actions/archive-document.mjs.map +1 -1
  59. package/dist/actions/create-attachment.cjs +1 -0
  60. package/dist/actions/create-attachment.cjs.map +1 -1
  61. package/dist/actions/create-attachment.d.cts +3 -6
  62. package/dist/actions/create-attachment.d.cts.map +1 -1
  63. package/dist/actions/create-attachment.d.mts +3 -6
  64. package/dist/actions/create-attachment.d.mts.map +1 -1
  65. package/dist/actions/create-attachment.mjs +1 -0
  66. package/dist/actions/create-attachment.mjs.map +1 -1
  67. package/dist/actions/create-collection.cjs +1 -0
  68. package/dist/actions/create-collection.cjs.map +1 -1
  69. package/dist/actions/create-collection.d.cts +3 -8
  70. package/dist/actions/create-collection.d.cts.map +1 -1
  71. package/dist/actions/create-collection.d.mts +3 -8
  72. package/dist/actions/create-collection.d.mts.map +1 -1
  73. package/dist/actions/create-collection.mjs +1 -0
  74. package/dist/actions/create-collection.mjs.map +1 -1
  75. package/dist/actions/create-comment.cjs +1 -0
  76. package/dist/actions/create-comment.cjs.map +1 -1
  77. package/dist/actions/create-comment.d.cts +3 -7
  78. package/dist/actions/create-comment.d.cts.map +1 -1
  79. package/dist/actions/create-comment.d.mts +3 -7
  80. package/dist/actions/create-comment.d.mts.map +1 -1
  81. package/dist/actions/create-comment.mjs +1 -0
  82. package/dist/actions/create-comment.mjs.map +1 -1
  83. package/dist/actions/create-document.cjs +1 -0
  84. package/dist/actions/create-document.cjs.map +1 -1
  85. package/dist/actions/create-document.d.cts +3 -18
  86. package/dist/actions/create-document.d.cts.map +1 -1
  87. package/dist/actions/create-document.d.mts +3 -18
  88. package/dist/actions/create-document.d.mts.map +1 -1
  89. package/dist/actions/create-document.mjs +1 -0
  90. package/dist/actions/create-document.mjs.map +1 -1
  91. package/dist/actions/create-group.cjs +1 -0
  92. package/dist/actions/create-group.cjs.map +1 -1
  93. package/dist/actions/create-group.d.cts +3 -3
  94. package/dist/actions/create-group.d.cts.map +1 -1
  95. package/dist/actions/create-group.d.mts +3 -3
  96. package/dist/actions/create-group.d.mts.map +1 -1
  97. package/dist/actions/create-group.mjs +1 -0
  98. package/dist/actions/create-group.mjs.map +1 -1
  99. package/dist/actions/create-o-auth-client.cjs +1 -0
  100. package/dist/actions/create-o-auth-client.cjs.map +1 -1
  101. package/dist/actions/create-o-auth-client.d.cts +3 -9
  102. package/dist/actions/create-o-auth-client.d.cts.map +1 -1
  103. package/dist/actions/create-o-auth-client.d.mts +3 -9
  104. package/dist/actions/create-o-auth-client.d.mts.map +1 -1
  105. package/dist/actions/create-o-auth-client.mjs +1 -0
  106. package/dist/actions/create-o-auth-client.mjs.map +1 -1
  107. package/dist/actions/create-share.cjs +1 -0
  108. package/dist/actions/create-share.cjs.map +1 -1
  109. package/dist/actions/create-share.d.cts +3 -6
  110. package/dist/actions/create-share.d.cts.map +1 -1
  111. package/dist/actions/create-share.d.mts +3 -6
  112. package/dist/actions/create-share.d.mts.map +1 -1
  113. package/dist/actions/create-share.mjs +1 -0
  114. package/dist/actions/create-share.mjs.map +1 -1
  115. package/dist/actions/create-star.cjs +1 -0
  116. package/dist/actions/create-star.cjs.map +1 -1
  117. package/dist/actions/create-star.d.cts +3 -5
  118. package/dist/actions/create-star.d.cts.map +1 -1
  119. package/dist/actions/create-star.d.mts +3 -5
  120. package/dist/actions/create-star.d.mts.map +1 -1
  121. package/dist/actions/create-star.mjs +1 -0
  122. package/dist/actions/create-star.mjs.map +1 -1
  123. package/dist/actions/create-template.cjs +1 -0
  124. package/dist/actions/create-template.cjs.map +1 -1
  125. package/dist/actions/create-template.d.cts +3 -8
  126. package/dist/actions/create-template.d.cts.map +1 -1
  127. package/dist/actions/create-template.d.mts +3 -8
  128. package/dist/actions/create-template.d.mts.map +1 -1
  129. package/dist/actions/create-template.mjs +1 -0
  130. package/dist/actions/create-template.mjs.map +1 -1
  131. package/dist/actions/create-view.cjs +1 -0
  132. package/dist/actions/create-view.cjs.map +1 -1
  133. package/dist/actions/create-view.d.cts +3 -3
  134. package/dist/actions/create-view.d.cts.map +1 -1
  135. package/dist/actions/create-view.d.mts +3 -3
  136. package/dist/actions/create-view.d.mts.map +1 -1
  137. package/dist/actions/create-view.mjs +1 -0
  138. package/dist/actions/create-view.mjs.map +1 -1
  139. package/dist/actions/delete-attachment.cjs +1 -0
  140. package/dist/actions/delete-attachment.cjs.map +1 -1
  141. package/dist/actions/delete-attachment.d.cts +3 -3
  142. package/dist/actions/delete-attachment.d.cts.map +1 -1
  143. package/dist/actions/delete-attachment.d.mts +3 -3
  144. package/dist/actions/delete-attachment.d.mts.map +1 -1
  145. package/dist/actions/delete-attachment.mjs +1 -0
  146. package/dist/actions/delete-attachment.mjs.map +1 -1
  147. package/dist/actions/delete-collection.cjs +1 -0
  148. package/dist/actions/delete-collection.cjs.map +1 -1
  149. package/dist/actions/delete-collection.d.cts +3 -3
  150. package/dist/actions/delete-collection.d.cts.map +1 -1
  151. package/dist/actions/delete-collection.d.mts +3 -3
  152. package/dist/actions/delete-collection.d.mts.map +1 -1
  153. package/dist/actions/delete-collection.mjs +1 -0
  154. package/dist/actions/delete-collection.mjs.map +1 -1
  155. package/dist/actions/delete-comment.cjs +1 -0
  156. package/dist/actions/delete-comment.cjs.map +1 -1
  157. package/dist/actions/delete-comment.d.cts +3 -3
  158. package/dist/actions/delete-comment.d.cts.map +1 -1
  159. package/dist/actions/delete-comment.d.mts +3 -3
  160. package/dist/actions/delete-comment.d.mts.map +1 -1
  161. package/dist/actions/delete-comment.mjs +1 -0
  162. package/dist/actions/delete-comment.mjs.map +1 -1
  163. package/dist/actions/delete-document.cjs +1 -0
  164. package/dist/actions/delete-document.cjs.map +1 -1
  165. package/dist/actions/delete-document.d.cts +3 -4
  166. package/dist/actions/delete-document.d.cts.map +1 -1
  167. package/dist/actions/delete-document.d.mts +3 -4
  168. package/dist/actions/delete-document.d.mts.map +1 -1
  169. package/dist/actions/delete-document.mjs +1 -0
  170. package/dist/actions/delete-document.mjs.map +1 -1
  171. package/dist/actions/delete-file-operation.cjs +1 -0
  172. package/dist/actions/delete-file-operation.cjs.map +1 -1
  173. package/dist/actions/delete-file-operation.d.cts +3 -3
  174. package/dist/actions/delete-file-operation.d.cts.map +1 -1
  175. package/dist/actions/delete-file-operation.d.mts +3 -3
  176. package/dist/actions/delete-file-operation.d.mts.map +1 -1
  177. package/dist/actions/delete-file-operation.mjs +1 -0
  178. package/dist/actions/delete-file-operation.mjs.map +1 -1
  179. package/dist/actions/delete-group.cjs +1 -0
  180. package/dist/actions/delete-group.cjs.map +1 -1
  181. package/dist/actions/delete-group.d.cts +3 -3
  182. package/dist/actions/delete-group.d.cts.map +1 -1
  183. package/dist/actions/delete-group.d.mts +3 -3
  184. package/dist/actions/delete-group.d.mts.map +1 -1
  185. package/dist/actions/delete-group.mjs +1 -0
  186. package/dist/actions/delete-group.mjs.map +1 -1
  187. package/dist/actions/delete-oauth-authentication.cjs +1 -0
  188. package/dist/actions/delete-oauth-authentication.cjs.map +1 -1
  189. package/dist/actions/delete-oauth-authentication.d.cts +3 -4
  190. package/dist/actions/delete-oauth-authentication.d.cts.map +1 -1
  191. package/dist/actions/delete-oauth-authentication.d.mts +3 -4
  192. package/dist/actions/delete-oauth-authentication.d.mts.map +1 -1
  193. package/dist/actions/delete-oauth-authentication.mjs +1 -0
  194. package/dist/actions/delete-oauth-authentication.mjs.map +1 -1
  195. package/dist/actions/delete-oauth-client.cjs +1 -0
  196. package/dist/actions/delete-oauth-client.cjs.map +1 -1
  197. package/dist/actions/delete-oauth-client.d.cts +3 -3
  198. package/dist/actions/delete-oauth-client.d.cts.map +1 -1
  199. package/dist/actions/delete-oauth-client.d.mts +3 -3
  200. package/dist/actions/delete-oauth-client.d.mts.map +1 -1
  201. package/dist/actions/delete-oauth-client.mjs +1 -0
  202. package/dist/actions/delete-oauth-client.mjs.map +1 -1
  203. package/dist/actions/delete-star.cjs +1 -0
  204. package/dist/actions/delete-star.cjs.map +1 -1
  205. package/dist/actions/delete-star.d.cts +3 -3
  206. package/dist/actions/delete-star.d.cts.map +1 -1
  207. package/dist/actions/delete-star.d.mts +3 -3
  208. package/dist/actions/delete-star.d.mts.map +1 -1
  209. package/dist/actions/delete-star.mjs +1 -0
  210. package/dist/actions/delete-star.mjs.map +1 -1
  211. package/dist/actions/delete-template.cjs +1 -0
  212. package/dist/actions/delete-template.cjs.map +1 -1
  213. package/dist/actions/delete-template.d.cts +3 -3
  214. package/dist/actions/delete-template.d.cts.map +1 -1
  215. package/dist/actions/delete-template.d.mts +3 -3
  216. package/dist/actions/delete-template.d.mts.map +1 -1
  217. package/dist/actions/delete-template.mjs +1 -0
  218. package/dist/actions/delete-template.mjs.map +1 -1
  219. package/dist/actions/delete-user.cjs +1 -0
  220. package/dist/actions/delete-user.cjs.map +1 -1
  221. package/dist/actions/delete-user.d.cts +3 -3
  222. package/dist/actions/delete-user.d.cts.map +1 -1
  223. package/dist/actions/delete-user.d.mts +3 -3
  224. package/dist/actions/delete-user.d.mts.map +1 -1
  225. package/dist/actions/delete-user.mjs +1 -0
  226. package/dist/actions/delete-user.mjs.map +1 -1
  227. package/dist/actions/duplicate-document.cjs +1 -0
  228. package/dist/actions/duplicate-document.cjs.map +1 -1
  229. package/dist/actions/duplicate-document.d.cts +3 -8
  230. package/dist/actions/duplicate-document.d.cts.map +1 -1
  231. package/dist/actions/duplicate-document.d.mts +3 -8
  232. package/dist/actions/duplicate-document.d.mts.map +1 -1
  233. package/dist/actions/duplicate-document.mjs +1 -0
  234. package/dist/actions/duplicate-document.mjs.map +1 -1
  235. package/dist/actions/duplicate-template.cjs +1 -0
  236. package/dist/actions/duplicate-template.cjs.map +1 -1
  237. package/dist/actions/duplicate-template.d.cts +3 -5
  238. package/dist/actions/duplicate-template.d.cts.map +1 -1
  239. package/dist/actions/duplicate-template.d.mts +3 -5
  240. package/dist/actions/duplicate-template.d.mts.map +1 -1
  241. package/dist/actions/duplicate-template.mjs +1 -0
  242. package/dist/actions/duplicate-template.mjs.map +1 -1
  243. package/dist/actions/empty-documents-trash.cjs +1 -0
  244. package/dist/actions/empty-documents-trash.cjs.map +1 -1
  245. package/dist/actions/empty-documents-trash.d.cts +3 -1
  246. package/dist/actions/empty-documents-trash.d.cts.map +1 -1
  247. package/dist/actions/empty-documents-trash.d.mts +3 -1
  248. package/dist/actions/empty-documents-trash.d.mts.map +1 -1
  249. package/dist/actions/empty-documents-trash.mjs +1 -0
  250. package/dist/actions/empty-documents-trash.mjs.map +1 -1
  251. package/dist/actions/export-all-collections.cjs +1 -0
  252. package/dist/actions/export-all-collections.cjs.map +1 -1
  253. package/dist/actions/export-all-collections.d.cts +3 -5
  254. package/dist/actions/export-all-collections.d.cts.map +1 -1
  255. package/dist/actions/export-all-collections.d.mts +3 -5
  256. package/dist/actions/export-all-collections.d.mts.map +1 -1
  257. package/dist/actions/export-all-collections.mjs +1 -0
  258. package/dist/actions/export-all-collections.mjs.map +1 -1
  259. package/dist/actions/export-collection.cjs +1 -0
  260. package/dist/actions/export-collection.cjs.map +1 -1
  261. package/dist/actions/export-collection.d.cts +3 -4
  262. package/dist/actions/export-collection.d.cts.map +1 -1
  263. package/dist/actions/export-collection.d.mts +3 -4
  264. package/dist/actions/export-collection.d.mts.map +1 -1
  265. package/dist/actions/export-collection.mjs +1 -0
  266. package/dist/actions/export-collection.mjs.map +1 -1
  267. package/dist/actions/export-document.cjs +1 -0
  268. package/dist/actions/export-document.cjs.map +1 -1
  269. package/dist/actions/export-document.d.cts +3 -6
  270. package/dist/actions/export-document.d.cts.map +1 -1
  271. package/dist/actions/export-document.d.mts +3 -6
  272. package/dist/actions/export-document.d.mts.map +1 -1
  273. package/dist/actions/export-document.mjs +1 -0
  274. package/dist/actions/export-document.mjs.map +1 -1
  275. package/dist/actions/get-attachment-redirect.cjs +1 -0
  276. package/dist/actions/get-attachment-redirect.cjs.map +1 -1
  277. package/dist/actions/get-attachment-redirect.d.cts +3 -3
  278. package/dist/actions/get-attachment-redirect.d.cts.map +1 -1
  279. package/dist/actions/get-attachment-redirect.d.mts +3 -3
  280. package/dist/actions/get-attachment-redirect.d.mts.map +1 -1
  281. package/dist/actions/get-attachment-redirect.mjs +1 -0
  282. package/dist/actions/get-attachment-redirect.mjs.map +1 -1
  283. package/dist/actions/get-auth-config.cjs +1 -0
  284. package/dist/actions/get-auth-config.cjs.map +1 -1
  285. package/dist/actions/get-auth-config.d.cts +3 -1
  286. package/dist/actions/get-auth-config.d.cts.map +1 -1
  287. package/dist/actions/get-auth-config.d.mts +3 -1
  288. package/dist/actions/get-auth-config.d.mts.map +1 -1
  289. package/dist/actions/get-auth-config.mjs +1 -0
  290. package/dist/actions/get-auth-config.mjs.map +1 -1
  291. package/dist/actions/get-collection-documents.cjs +1 -0
  292. package/dist/actions/get-collection-documents.cjs.map +1 -1
  293. package/dist/actions/get-collection-documents.d.cts +3 -3
  294. package/dist/actions/get-collection-documents.d.cts.map +1 -1
  295. package/dist/actions/get-collection-documents.d.mts +3 -3
  296. package/dist/actions/get-collection-documents.d.mts.map +1 -1
  297. package/dist/actions/get-collection-documents.mjs +1 -0
  298. package/dist/actions/get-collection-documents.mjs.map +1 -1
  299. package/dist/actions/get-collection.cjs +1 -0
  300. package/dist/actions/get-collection.cjs.map +1 -1
  301. package/dist/actions/get-collection.d.cts +3 -3
  302. package/dist/actions/get-collection.d.cts.map +1 -1
  303. package/dist/actions/get-collection.d.mts +3 -3
  304. package/dist/actions/get-collection.d.mts.map +1 -1
  305. package/dist/actions/get-collection.mjs +1 -0
  306. package/dist/actions/get-collection.mjs.map +1 -1
  307. package/dist/actions/get-comment.cjs +1 -0
  308. package/dist/actions/get-comment.cjs.map +1 -1
  309. package/dist/actions/get-comment.d.cts +3 -4
  310. package/dist/actions/get-comment.d.cts.map +1 -1
  311. package/dist/actions/get-comment.d.mts +3 -4
  312. package/dist/actions/get-comment.d.mts.map +1 -1
  313. package/dist/actions/get-comment.mjs +1 -0
  314. package/dist/actions/get-comment.mjs.map +1 -1
  315. package/dist/actions/get-document-info.cjs +1 -0
  316. package/dist/actions/get-document-info.cjs.map +1 -1
  317. package/dist/actions/get-document-info.d.cts +3 -4
  318. package/dist/actions/get-document-info.d.cts.map +1 -1
  319. package/dist/actions/get-document-info.d.mts +3 -4
  320. package/dist/actions/get-document-info.d.mts.map +1 -1
  321. package/dist/actions/get-document-info.mjs +1 -0
  322. package/dist/actions/get-document-info.mjs.map +1 -1
  323. package/dist/actions/get-documents-documents.cjs +1 -0
  324. package/dist/actions/get-documents-documents.cjs.map +1 -1
  325. package/dist/actions/get-documents-documents.d.cts +3 -3
  326. package/dist/actions/get-documents-documents.d.cts.map +1 -1
  327. package/dist/actions/get-documents-documents.d.mts +3 -3
  328. package/dist/actions/get-documents-documents.d.mts.map +1 -1
  329. package/dist/actions/get-documents-documents.mjs +1 -0
  330. package/dist/actions/get-documents-documents.mjs.map +1 -1
  331. package/dist/actions/get-file-operation-info.cjs +1 -0
  332. package/dist/actions/get-file-operation-info.cjs.map +1 -1
  333. package/dist/actions/get-file-operation-info.d.cts +3 -3
  334. package/dist/actions/get-file-operation-info.d.cts.map +1 -1
  335. package/dist/actions/get-file-operation-info.d.mts +3 -3
  336. package/dist/actions/get-file-operation-info.d.mts.map +1 -1
  337. package/dist/actions/get-file-operation-info.mjs +1 -0
  338. package/dist/actions/get-file-operation-info.mjs.map +1 -1
  339. package/dist/actions/get-group-info.cjs +1 -0
  340. package/dist/actions/get-group-info.cjs.map +1 -1
  341. package/dist/actions/get-group-info.d.cts +3 -3
  342. package/dist/actions/get-group-info.d.cts.map +1 -1
  343. package/dist/actions/get-group-info.d.mts +3 -3
  344. package/dist/actions/get-group-info.d.mts.map +1 -1
  345. package/dist/actions/get-group-info.mjs +1 -0
  346. package/dist/actions/get-group-info.mjs.map +1 -1
  347. package/dist/actions/get-oauth-client-info.cjs +1 -0
  348. package/dist/actions/get-oauth-client-info.cjs.map +1 -1
  349. package/dist/actions/get-oauth-client-info.d.cts +3 -4
  350. package/dist/actions/get-oauth-client-info.d.cts.map +1 -1
  351. package/dist/actions/get-oauth-client-info.d.mts +3 -4
  352. package/dist/actions/get-oauth-client-info.d.mts.map +1 -1
  353. package/dist/actions/get-oauth-client-info.mjs +1 -0
  354. package/dist/actions/get-oauth-client-info.mjs.map +1 -1
  355. package/dist/actions/get-revision-info.cjs +1 -0
  356. package/dist/actions/get-revision-info.cjs.map +1 -1
  357. package/dist/actions/get-revision-info.d.cts +3 -3
  358. package/dist/actions/get-revision-info.d.cts.map +1 -1
  359. package/dist/actions/get-revision-info.d.mts +3 -3
  360. package/dist/actions/get-revision-info.d.mts.map +1 -1
  361. package/dist/actions/get-revision-info.mjs +1 -0
  362. package/dist/actions/get-revision-info.mjs.map +1 -1
  363. package/dist/actions/get-share-info.cjs +1 -0
  364. package/dist/actions/get-share-info.cjs.map +1 -1
  365. package/dist/actions/get-share-info.d.cts +3 -4
  366. package/dist/actions/get-share-info.d.cts.map +1 -1
  367. package/dist/actions/get-share-info.d.mts +3 -4
  368. package/dist/actions/get-share-info.d.mts.map +1 -1
  369. package/dist/actions/get-share-info.mjs +1 -0
  370. package/dist/actions/get-share-info.mjs.map +1 -1
  371. package/dist/actions/get-template-info.cjs +1 -0
  372. package/dist/actions/get-template-info.cjs.map +1 -1
  373. package/dist/actions/get-template-info.d.cts +3 -3
  374. package/dist/actions/get-template-info.d.cts.map +1 -1
  375. package/dist/actions/get-template-info.d.mts +3 -3
  376. package/dist/actions/get-template-info.d.mts.map +1 -1
  377. package/dist/actions/get-template-info.mjs +1 -0
  378. package/dist/actions/get-template-info.mjs.map +1 -1
  379. package/dist/actions/get-user-info.cjs +1 -0
  380. package/dist/actions/get-user-info.cjs.map +1 -1
  381. package/dist/actions/get-user-info.d.cts +3 -3
  382. package/dist/actions/get-user-info.d.cts.map +1 -1
  383. package/dist/actions/get-user-info.d.mts +3 -3
  384. package/dist/actions/get-user-info.d.mts.map +1 -1
  385. package/dist/actions/get-user-info.mjs +1 -0
  386. package/dist/actions/get-user-info.mjs.map +1 -1
  387. package/dist/actions/invite-users.cjs +1 -0
  388. package/dist/actions/invite-users.cjs.map +1 -1
  389. package/dist/actions/invite-users.d.cts +3 -8
  390. package/dist/actions/invite-users.d.cts.map +1 -1
  391. package/dist/actions/invite-users.d.mts +3 -8
  392. package/dist/actions/invite-users.d.mts.map +1 -1
  393. package/dist/actions/invite-users.mjs +1 -0
  394. package/dist/actions/invite-users.mjs.map +1 -1
  395. package/dist/actions/list-archived-documents.cjs +1 -0
  396. package/dist/actions/list-archived-documents.cjs.map +1 -1
  397. package/dist/actions/list-archived-documents.d.cts +3 -4
  398. package/dist/actions/list-archived-documents.d.cts.map +1 -1
  399. package/dist/actions/list-archived-documents.d.mts +3 -4
  400. package/dist/actions/list-archived-documents.d.mts.map +1 -1
  401. package/dist/actions/list-archived-documents.mjs +1 -0
  402. package/dist/actions/list-archived-documents.mjs.map +1 -1
  403. package/dist/actions/list-collection-group-memberships.cjs +1 -0
  404. package/dist/actions/list-collection-group-memberships.cjs.map +1 -1
  405. package/dist/actions/list-collection-group-memberships.d.cts +3 -7
  406. package/dist/actions/list-collection-group-memberships.d.cts.map +1 -1
  407. package/dist/actions/list-collection-group-memberships.d.mts +3 -7
  408. package/dist/actions/list-collection-group-memberships.d.mts.map +1 -1
  409. package/dist/actions/list-collection-group-memberships.mjs +1 -0
  410. package/dist/actions/list-collection-group-memberships.mjs.map +1 -1
  411. package/dist/actions/list-collection-memberships.cjs +1 -0
  412. package/dist/actions/list-collection-memberships.cjs.map +1 -1
  413. package/dist/actions/list-collection-memberships.d.cts +3 -7
  414. package/dist/actions/list-collection-memberships.d.cts.map +1 -1
  415. package/dist/actions/list-collection-memberships.d.mts +3 -7
  416. package/dist/actions/list-collection-memberships.d.mts.map +1 -1
  417. package/dist/actions/list-collection-memberships.mjs +1 -0
  418. package/dist/actions/list-collection-memberships.mjs.map +1 -1
  419. package/dist/actions/list-collections.cjs +1 -0
  420. package/dist/actions/list-collections.cjs.map +1 -1
  421. package/dist/actions/list-collections.d.cts +3 -8
  422. package/dist/actions/list-collections.d.cts.map +1 -1
  423. package/dist/actions/list-collections.d.mts +3 -8
  424. package/dist/actions/list-collections.d.mts.map +1 -1
  425. package/dist/actions/list-collections.mjs +1 -0
  426. package/dist/actions/list-collections.mjs.map +1 -1
  427. package/dist/actions/list-comments.cjs +1 -0
  428. package/dist/actions/list-comments.cjs.map +1 -1
  429. package/dist/actions/list-comments.d.cts +3 -9
  430. package/dist/actions/list-comments.d.cts.map +1 -1
  431. package/dist/actions/list-comments.d.mts +3 -9
  432. package/dist/actions/list-comments.d.mts.map +1 -1
  433. package/dist/actions/list-comments.mjs +1 -0
  434. package/dist/actions/list-comments.mjs.map +1 -1
  435. package/dist/actions/list-data-attributes.cjs +1 -0
  436. package/dist/actions/list-data-attributes.cjs.map +1 -1
  437. package/dist/actions/list-data-attributes.d.cts +3 -6
  438. package/dist/actions/list-data-attributes.d.cts.map +1 -1
  439. package/dist/actions/list-data-attributes.d.mts +3 -6
  440. package/dist/actions/list-data-attributes.d.mts.map +1 -1
  441. package/dist/actions/list-data-attributes.mjs +1 -0
  442. package/dist/actions/list-data-attributes.mjs.map +1 -1
  443. package/dist/actions/list-deleted-documents.cjs +1 -0
  444. package/dist/actions/list-deleted-documents.cjs.map +1 -1
  445. package/dist/actions/list-deleted-documents.d.cts +3 -6
  446. package/dist/actions/list-deleted-documents.d.cts.map +1 -1
  447. package/dist/actions/list-deleted-documents.d.mts +3 -6
  448. package/dist/actions/list-deleted-documents.d.mts.map +1 -1
  449. package/dist/actions/list-deleted-documents.mjs +1 -0
  450. package/dist/actions/list-deleted-documents.mjs.map +1 -1
  451. package/dist/actions/list-document-group-memberships.cjs +1 -0
  452. package/dist/actions/list-document-group-memberships.cjs.map +1 -1
  453. package/dist/actions/list-document-group-memberships.d.cts +3 -7
  454. package/dist/actions/list-document-group-memberships.d.cts.map +1 -1
  455. package/dist/actions/list-document-group-memberships.d.mts +3 -7
  456. package/dist/actions/list-document-group-memberships.d.mts.map +1 -1
  457. package/dist/actions/list-document-group-memberships.mjs +1 -0
  458. package/dist/actions/list-document-group-memberships.mjs.map +1 -1
  459. package/dist/actions/list-document-memberships.cjs +1 -0
  460. package/dist/actions/list-document-memberships.cjs.map +1 -1
  461. package/dist/actions/list-document-memberships.d.cts +3 -7
  462. package/dist/actions/list-document-memberships.d.cts.map +1 -1
  463. package/dist/actions/list-document-memberships.d.mts +3 -7
  464. package/dist/actions/list-document-memberships.d.mts.map +1 -1
  465. package/dist/actions/list-document-memberships.mjs +1 -0
  466. package/dist/actions/list-document-memberships.mjs.map +1 -1
  467. package/dist/actions/list-document-users.cjs +1 -0
  468. package/dist/actions/list-document-users.cjs.map +1 -1
  469. package/dist/actions/list-document-users.d.cts +3 -7
  470. package/dist/actions/list-document-users.d.cts.map +1 -1
  471. package/dist/actions/list-document-users.d.mts +3 -7
  472. package/dist/actions/list-document-users.d.mts.map +1 -1
  473. package/dist/actions/list-document-users.mjs +1 -0
  474. package/dist/actions/list-document-users.mjs.map +1 -1
  475. package/dist/actions/list-documents.cjs +1 -0
  476. package/dist/actions/list-documents.cjs.map +1 -1
  477. package/dist/actions/list-documents.d.cts +3 -11
  478. package/dist/actions/list-documents.d.cts.map +1 -1
  479. package/dist/actions/list-documents.d.mts +3 -11
  480. package/dist/actions/list-documents.d.mts.map +1 -1
  481. package/dist/actions/list-documents.mjs +1 -0
  482. package/dist/actions/list-documents.mjs.map +1 -1
  483. package/dist/actions/list-draft-documents.cjs +1 -0
  484. package/dist/actions/list-draft-documents.cjs.map +1 -1
  485. package/dist/actions/list-draft-documents.d.cts +3 -8
  486. package/dist/actions/list-draft-documents.d.cts.map +1 -1
  487. package/dist/actions/list-draft-documents.d.mts +3 -8
  488. package/dist/actions/list-draft-documents.d.mts.map +1 -1
  489. package/dist/actions/list-draft-documents.mjs +1 -0
  490. package/dist/actions/list-draft-documents.mjs.map +1 -1
  491. package/dist/actions/list-events.cjs +1 -0
  492. package/dist/actions/list-events.cjs.map +1 -1
  493. package/dist/actions/list-events.d.cts +3 -11
  494. package/dist/actions/list-events.d.cts.map +1 -1
  495. package/dist/actions/list-events.d.mts +3 -11
  496. package/dist/actions/list-events.d.mts.map +1 -1
  497. package/dist/actions/list-events.mjs +1 -0
  498. package/dist/actions/list-events.mjs.map +1 -1
  499. package/dist/actions/list-file-operations.cjs +1 -0
  500. package/dist/actions/list-file-operations.cjs.map +1 -1
  501. package/dist/actions/list-file-operations.d.cts +3 -5
  502. package/dist/actions/list-file-operations.d.cts.map +1 -1
  503. package/dist/actions/list-file-operations.d.mts +3 -5
  504. package/dist/actions/list-file-operations.d.mts.map +1 -1
  505. package/dist/actions/list-file-operations.mjs +1 -0
  506. package/dist/actions/list-file-operations.mjs.map +1 -1
  507. package/dist/actions/list-group-memberships.cjs +1 -0
  508. package/dist/actions/list-group-memberships.cjs.map +1 -1
  509. package/dist/actions/list-group-memberships.d.cts +3 -6
  510. package/dist/actions/list-group-memberships.d.cts.map +1 -1
  511. package/dist/actions/list-group-memberships.d.mts +3 -6
  512. package/dist/actions/list-group-memberships.d.mts.map +1 -1
  513. package/dist/actions/list-group-memberships.mjs +1 -0
  514. package/dist/actions/list-group-memberships.mjs.map +1 -1
  515. package/dist/actions/list-groups.cjs +1 -0
  516. package/dist/actions/list-groups.cjs.map +1 -1
  517. package/dist/actions/list-groups.d.cts +3 -7
  518. package/dist/actions/list-groups.d.cts.map +1 -1
  519. package/dist/actions/list-groups.d.mts +3 -7
  520. package/dist/actions/list-groups.d.mts.map +1 -1
  521. package/dist/actions/list-groups.mjs +1 -0
  522. package/dist/actions/list-groups.mjs.map +1 -1
  523. package/dist/actions/list-o-auth-authentications.cjs +1 -0
  524. package/dist/actions/list-o-auth-authentications.cjs.map +1 -1
  525. package/dist/actions/list-o-auth-authentications.d.cts +3 -4
  526. package/dist/actions/list-o-auth-authentications.d.cts.map +1 -1
  527. package/dist/actions/list-o-auth-authentications.d.mts +3 -4
  528. package/dist/actions/list-o-auth-authentications.d.mts.map +1 -1
  529. package/dist/actions/list-o-auth-authentications.mjs +1 -0
  530. package/dist/actions/list-o-auth-authentications.mjs.map +1 -1
  531. package/dist/actions/list-oauth-clients.cjs +1 -0
  532. package/dist/actions/list-oauth-clients.cjs.map +1 -1
  533. package/dist/actions/list-oauth-clients.d.cts +3 -4
  534. package/dist/actions/list-oauth-clients.d.cts.map +1 -1
  535. package/dist/actions/list-oauth-clients.d.mts +3 -4
  536. package/dist/actions/list-oauth-clients.d.mts.map +1 -1
  537. package/dist/actions/list-oauth-clients.mjs +1 -0
  538. package/dist/actions/list-oauth-clients.mjs.map +1 -1
  539. package/dist/actions/list-recently-viewed-documents.cjs +1 -0
  540. package/dist/actions/list-recently-viewed-documents.cjs.map +1 -1
  541. package/dist/actions/list-recently-viewed-documents.d.cts +3 -6
  542. package/dist/actions/list-recently-viewed-documents.d.cts.map +1 -1
  543. package/dist/actions/list-recently-viewed-documents.d.mts +3 -6
  544. package/dist/actions/list-recently-viewed-documents.d.mts.map +1 -1
  545. package/dist/actions/list-recently-viewed-documents.mjs +1 -0
  546. package/dist/actions/list-recently-viewed-documents.mjs.map +1 -1
  547. package/dist/actions/list-revisions.cjs +1 -0
  548. package/dist/actions/list-revisions.cjs.map +1 -1
  549. package/dist/actions/list-revisions.d.cts +3 -7
  550. package/dist/actions/list-revisions.d.cts.map +1 -1
  551. package/dist/actions/list-revisions.d.mts +3 -7
  552. package/dist/actions/list-revisions.d.mts.map +1 -1
  553. package/dist/actions/list-revisions.mjs +1 -0
  554. package/dist/actions/list-revisions.mjs.map +1 -1
  555. package/dist/actions/list-shares.cjs +1 -0
  556. package/dist/actions/list-shares.cjs.map +1 -1
  557. package/dist/actions/list-shares.d.cts +3 -7
  558. package/dist/actions/list-shares.d.cts.map +1 -1
  559. package/dist/actions/list-shares.d.mts +3 -7
  560. package/dist/actions/list-shares.d.mts.map +1 -1
  561. package/dist/actions/list-shares.mjs +1 -0
  562. package/dist/actions/list-shares.mjs.map +1 -1
  563. package/dist/actions/list-stars.cjs +1 -0
  564. package/dist/actions/list-stars.cjs.map +1 -1
  565. package/dist/actions/list-stars.d.cts +3 -7
  566. package/dist/actions/list-stars.d.cts.map +1 -1
  567. package/dist/actions/list-stars.d.mts +3 -7
  568. package/dist/actions/list-stars.d.mts.map +1 -1
  569. package/dist/actions/list-stars.mjs +1 -0
  570. package/dist/actions/list-stars.mjs.map +1 -1
  571. package/dist/actions/list-templates.cjs +1 -0
  572. package/dist/actions/list-templates.cjs.map +1 -1
  573. package/dist/actions/list-templates.d.cts +3 -8
  574. package/dist/actions/list-templates.d.cts.map +1 -1
  575. package/dist/actions/list-templates.d.mts +3 -8
  576. package/dist/actions/list-templates.d.mts.map +1 -1
  577. package/dist/actions/list-templates.mjs +1 -0
  578. package/dist/actions/list-templates.mjs.map +1 -1
  579. package/dist/actions/list-users.cjs +1 -0
  580. package/dist/actions/list-users.cjs.map +1 -1
  581. package/dist/actions/list-users.d.cts +3 -8
  582. package/dist/actions/list-users.d.cts.map +1 -1
  583. package/dist/actions/list-users.d.mts +3 -8
  584. package/dist/actions/list-users.d.mts.map +1 -1
  585. package/dist/actions/list-users.mjs +1 -0
  586. package/dist/actions/list-users.mjs.map +1 -1
  587. package/dist/actions/list-views.cjs +1 -0
  588. package/dist/actions/list-views.cjs.map +1 -1
  589. package/dist/actions/list-views.d.cts +3 -6
  590. package/dist/actions/list-views.d.cts.map +1 -1
  591. package/dist/actions/list-views.d.mts +3 -6
  592. package/dist/actions/list-views.d.mts.map +1 -1
  593. package/dist/actions/list-views.mjs +1 -0
  594. package/dist/actions/list-views.mjs.map +1 -1
  595. package/dist/actions/move-document.cjs +1 -0
  596. package/dist/actions/move-document.cjs.map +1 -1
  597. package/dist/actions/move-document.d.cts +3 -6
  598. package/dist/actions/move-document.d.cts.map +1 -1
  599. package/dist/actions/move-document.d.mts +3 -6
  600. package/dist/actions/move-document.d.mts.map +1 -1
  601. package/dist/actions/move-document.mjs +1 -0
  602. package/dist/actions/move-document.mjs.map +1 -1
  603. package/dist/actions/redirect-file-operation.cjs +1 -0
  604. package/dist/actions/redirect-file-operation.cjs.map +1 -1
  605. package/dist/actions/redirect-file-operation.d.cts +3 -3
  606. package/dist/actions/redirect-file-operation.d.cts.map +1 -1
  607. package/dist/actions/redirect-file-operation.d.mts +3 -3
  608. package/dist/actions/redirect-file-operation.d.mts.map +1 -1
  609. package/dist/actions/redirect-file-operation.mjs +1 -0
  610. package/dist/actions/redirect-file-operation.mjs.map +1 -1
  611. package/dist/actions/remove-collection-group.cjs +1 -0
  612. package/dist/actions/remove-collection-group.cjs.map +1 -1
  613. package/dist/actions/remove-collection-group.d.cts +3 -4
  614. package/dist/actions/remove-collection-group.d.cts.map +1 -1
  615. package/dist/actions/remove-collection-group.d.mts +3 -4
  616. package/dist/actions/remove-collection-group.d.mts.map +1 -1
  617. package/dist/actions/remove-collection-group.mjs +1 -0
  618. package/dist/actions/remove-collection-group.mjs.map +1 -1
  619. package/dist/actions/remove-collection-user.cjs +1 -0
  620. package/dist/actions/remove-collection-user.cjs.map +1 -1
  621. package/dist/actions/remove-collection-user.d.cts +3 -4
  622. package/dist/actions/remove-collection-user.d.cts.map +1 -1
  623. package/dist/actions/remove-collection-user.d.mts +3 -4
  624. package/dist/actions/remove-collection-user.d.mts.map +1 -1
  625. package/dist/actions/remove-collection-user.mjs +1 -0
  626. package/dist/actions/remove-collection-user.mjs.map +1 -1
  627. package/dist/actions/remove-document-user.cjs +1 -0
  628. package/dist/actions/remove-document-user.cjs.map +1 -1
  629. package/dist/actions/remove-document-user.d.cts +3 -4
  630. package/dist/actions/remove-document-user.d.cts.map +1 -1
  631. package/dist/actions/remove-document-user.d.mts +3 -4
  632. package/dist/actions/remove-document-user.d.mts.map +1 -1
  633. package/dist/actions/remove-document-user.mjs +1 -0
  634. package/dist/actions/remove-document-user.mjs.map +1 -1
  635. package/dist/actions/remove-group-from-document.cjs +1 -0
  636. package/dist/actions/remove-group-from-document.cjs.map +1 -1
  637. package/dist/actions/remove-group-from-document.d.cts +3 -4
  638. package/dist/actions/remove-group-from-document.d.cts.map +1 -1
  639. package/dist/actions/remove-group-from-document.d.mts +3 -4
  640. package/dist/actions/remove-group-from-document.d.mts.map +1 -1
  641. package/dist/actions/remove-group-from-document.mjs +1 -0
  642. package/dist/actions/remove-group-from-document.mjs.map +1 -1
  643. package/dist/actions/remove-group-user.cjs +1 -0
  644. package/dist/actions/remove-group-user.cjs.map +1 -1
  645. package/dist/actions/remove-group-user.d.cts +3 -4
  646. package/dist/actions/remove-group-user.d.cts.map +1 -1
  647. package/dist/actions/remove-group-user.d.mts +3 -4
  648. package/dist/actions/remove-group-user.d.mts.map +1 -1
  649. package/dist/actions/remove-group-user.mjs +1 -0
  650. package/dist/actions/remove-group-user.mjs.map +1 -1
  651. package/dist/actions/restore-document.cjs +1 -0
  652. package/dist/actions/restore-document.cjs.map +1 -1
  653. package/dist/actions/restore-document.d.cts +3 -5
  654. package/dist/actions/restore-document.d.cts.map +1 -1
  655. package/dist/actions/restore-document.d.mts +3 -5
  656. package/dist/actions/restore-document.d.mts.map +1 -1
  657. package/dist/actions/restore-document.mjs +1 -0
  658. package/dist/actions/restore-document.mjs.map +1 -1
  659. package/dist/actions/restore-template.cjs +1 -0
  660. package/dist/actions/restore-template.cjs.map +1 -1
  661. package/dist/actions/restore-template.d.cts +3 -3
  662. package/dist/actions/restore-template.d.cts.map +1 -1
  663. package/dist/actions/restore-template.d.mts +3 -3
  664. package/dist/actions/restore-template.d.mts.map +1 -1
  665. package/dist/actions/restore-template.mjs +1 -0
  666. package/dist/actions/restore-template.mjs.map +1 -1
  667. package/dist/actions/retrieve-auth-info.cjs +1 -0
  668. package/dist/actions/retrieve-auth-info.cjs.map +1 -1
  669. package/dist/actions/retrieve-auth-info.d.cts +3 -1
  670. package/dist/actions/retrieve-auth-info.d.cts.map +1 -1
  671. package/dist/actions/retrieve-auth-info.d.mts +3 -1
  672. package/dist/actions/retrieve-auth-info.d.mts.map +1 -1
  673. package/dist/actions/retrieve-auth-info.mjs +1 -0
  674. package/dist/actions/retrieve-auth-info.mjs.map +1 -1
  675. package/dist/actions/revoke-share.cjs +1 -0
  676. package/dist/actions/revoke-share.cjs.map +1 -1
  677. package/dist/actions/revoke-share.d.cts +3 -3
  678. package/dist/actions/revoke-share.d.cts.map +1 -1
  679. package/dist/actions/revoke-share.d.mts +3 -3
  680. package/dist/actions/revoke-share.d.mts.map +1 -1
  681. package/dist/actions/revoke-share.mjs +1 -0
  682. package/dist/actions/revoke-share.mjs.map +1 -1
  683. package/dist/actions/rotate-oauth-client-secret.cjs +1 -0
  684. package/dist/actions/rotate-oauth-client-secret.cjs.map +1 -1
  685. package/dist/actions/rotate-oauth-client-secret.d.cts +3 -3
  686. package/dist/actions/rotate-oauth-client-secret.d.cts.map +1 -1
  687. package/dist/actions/rotate-oauth-client-secret.d.mts +3 -3
  688. package/dist/actions/rotate-oauth-client-secret.d.mts.map +1 -1
  689. package/dist/actions/rotate-oauth-client-secret.mjs +1 -0
  690. package/dist/actions/rotate-oauth-client-secret.mjs.map +1 -1
  691. package/dist/actions/search-document-titles.cjs +1 -0
  692. package/dist/actions/search-document-titles.cjs.map +1 -1
  693. package/dist/actions/search-document-titles.d.cts +4 -14
  694. package/dist/actions/search-document-titles.d.cts.map +1 -1
  695. package/dist/actions/search-document-titles.d.mts +4 -14
  696. package/dist/actions/search-document-titles.d.mts.map +1 -1
  697. package/dist/actions/search-document-titles.mjs +1 -0
  698. package/dist/actions/search-document-titles.mjs.map +1 -1
  699. package/dist/actions/search-documents.cjs +1 -0
  700. package/dist/actions/search-documents.cjs.map +1 -1
  701. package/dist/actions/search-documents.d.cts +3 -13
  702. package/dist/actions/search-documents.d.cts.map +1 -1
  703. package/dist/actions/search-documents.d.mts +3 -13
  704. package/dist/actions/search-documents.d.mts.map +1 -1
  705. package/dist/actions/search-documents.mjs +1 -0
  706. package/dist/actions/search-documents.mjs.map +1 -1
  707. package/dist/actions/suspend-user.cjs +1 -0
  708. package/dist/actions/suspend-user.cjs.map +1 -1
  709. package/dist/actions/suspend-user.d.cts +3 -3
  710. package/dist/actions/suspend-user.d.cts.map +1 -1
  711. package/dist/actions/suspend-user.d.mts +3 -3
  712. package/dist/actions/suspend-user.d.mts.map +1 -1
  713. package/dist/actions/suspend-user.mjs +1 -0
  714. package/dist/actions/suspend-user.mjs.map +1 -1
  715. package/dist/actions/templatize-document.cjs +1 -0
  716. package/dist/actions/templatize-document.cjs.map +1 -1
  717. package/dist/actions/templatize-document.d.cts +3 -5
  718. package/dist/actions/templatize-document.d.cts.map +1 -1
  719. package/dist/actions/templatize-document.d.mts +3 -5
  720. package/dist/actions/templatize-document.d.mts.map +1 -1
  721. package/dist/actions/templatize-document.mjs +1 -0
  722. package/dist/actions/templatize-document.mjs.map +1 -1
  723. package/dist/actions/unpublish-document.cjs +1 -0
  724. package/dist/actions/unpublish-document.cjs.map +1 -1
  725. package/dist/actions/unpublish-document.d.cts +3 -4
  726. package/dist/actions/unpublish-document.d.cts.map +1 -1
  727. package/dist/actions/unpublish-document.d.mts +3 -4
  728. package/dist/actions/unpublish-document.d.mts.map +1 -1
  729. package/dist/actions/unpublish-document.mjs +1 -0
  730. package/dist/actions/unpublish-document.mjs.map +1 -1
  731. package/dist/actions/update-collection.cjs +1 -0
  732. package/dist/actions/update-collection.cjs.map +1 -1
  733. package/dist/actions/update-collection.d.cts +3 -9
  734. package/dist/actions/update-collection.d.cts.map +1 -1
  735. package/dist/actions/update-collection.d.mts +3 -9
  736. package/dist/actions/update-collection.d.mts.map +1 -1
  737. package/dist/actions/update-collection.mjs +1 -0
  738. package/dist/actions/update-collection.mjs.map +1 -1
  739. package/dist/actions/update-comment.cjs +1 -0
  740. package/dist/actions/update-comment.cjs.map +1 -1
  741. package/dist/actions/update-comment.d.cts +3 -4
  742. package/dist/actions/update-comment.d.cts.map +1 -1
  743. package/dist/actions/update-comment.d.mts +3 -4
  744. package/dist/actions/update-comment.d.mts.map +1 -1
  745. package/dist/actions/update-comment.mjs +1 -0
  746. package/dist/actions/update-comment.mjs.map +1 -1
  747. package/dist/actions/update-document.cjs +1 -0
  748. package/dist/actions/update-document.cjs.map +1 -1
  749. package/dist/actions/update-document.d.cts +3 -18
  750. package/dist/actions/update-document.d.cts.map +1 -1
  751. package/dist/actions/update-document.d.mts +3 -18
  752. package/dist/actions/update-document.d.mts.map +1 -1
  753. package/dist/actions/update-document.mjs +1 -0
  754. package/dist/actions/update-document.mjs.map +1 -1
  755. package/dist/actions/update-group.cjs +1 -0
  756. package/dist/actions/update-group.cjs.map +1 -1
  757. package/dist/actions/update-group.d.cts +3 -4
  758. package/dist/actions/update-group.d.cts.map +1 -1
  759. package/dist/actions/update-group.d.mts +3 -4
  760. package/dist/actions/update-group.d.mts.map +1 -1
  761. package/dist/actions/update-group.mjs +1 -0
  762. package/dist/actions/update-group.mjs.map +1 -1
  763. package/dist/actions/update-o-auth-client.cjs +1 -0
  764. package/dist/actions/update-o-auth-client.cjs.map +1 -1
  765. package/dist/actions/update-o-auth-client.d.cts +3 -10
  766. package/dist/actions/update-o-auth-client.d.cts.map +1 -1
  767. package/dist/actions/update-o-auth-client.d.mts +3 -10
  768. package/dist/actions/update-o-auth-client.d.mts.map +1 -1
  769. package/dist/actions/update-o-auth-client.mjs +1 -0
  770. package/dist/actions/update-o-auth-client.mjs.map +1 -1
  771. package/dist/actions/update-share.cjs +1 -0
  772. package/dist/actions/update-share.cjs.map +1 -1
  773. package/dist/actions/update-share.d.cts +3 -4
  774. package/dist/actions/update-share.d.cts.map +1 -1
  775. package/dist/actions/update-share.d.mts +3 -4
  776. package/dist/actions/update-share.d.mts.map +1 -1
  777. package/dist/actions/update-share.mjs +1 -0
  778. package/dist/actions/update-share.mjs.map +1 -1
  779. package/dist/actions/update-star.cjs +1 -0
  780. package/dist/actions/update-star.cjs.map +1 -1
  781. package/dist/actions/update-star.d.cts +3 -4
  782. package/dist/actions/update-star.d.cts.map +1 -1
  783. package/dist/actions/update-star.d.mts +3 -4
  784. package/dist/actions/update-star.d.mts.map +1 -1
  785. package/dist/actions/update-star.mjs +1 -0
  786. package/dist/actions/update-star.mjs.map +1 -1
  787. package/dist/actions/update-template.cjs +1 -0
  788. package/dist/actions/update-template.cjs.map +1 -1
  789. package/dist/actions/update-template.d.cts +3 -9
  790. package/dist/actions/update-template.d.cts.map +1 -1
  791. package/dist/actions/update-template.d.mts +3 -9
  792. package/dist/actions/update-template.d.mts.map +1 -1
  793. package/dist/actions/update-template.mjs +1 -0
  794. package/dist/actions/update-template.mjs.map +1 -1
  795. package/dist/actions/update-user-role.cjs +1 -0
  796. package/dist/actions/update-user-role.cjs.map +1 -1
  797. package/dist/actions/update-user-role.d.cts +3 -4
  798. package/dist/actions/update-user-role.d.cts.map +1 -1
  799. package/dist/actions/update-user-role.d.mts +3 -4
  800. package/dist/actions/update-user-role.d.mts.map +1 -1
  801. package/dist/actions/update-user-role.mjs +1 -0
  802. package/dist/actions/update-user-role.mjs.map +1 -1
  803. package/dist/actions/update-user.cjs +1 -0
  804. package/dist/actions/update-user.cjs.map +1 -1
  805. package/dist/actions/update-user.d.cts +3 -6
  806. package/dist/actions/update-user.d.cts.map +1 -1
  807. package/dist/actions/update-user.d.mts +3 -6
  808. package/dist/actions/update-user.d.mts.map +1 -1
  809. package/dist/actions/update-user.mjs +1 -0
  810. package/dist/actions/update-user.mjs.map +1 -1
  811. package/dist/app.cjs +9 -2
  812. package/dist/app.cjs.map +1 -1
  813. package/dist/app.d.cts +8 -1
  814. package/dist/app.d.cts.map +1 -1
  815. package/dist/app.d.mts +8 -1
  816. package/dist/app.d.mts.map +1 -1
  817. package/dist/app.mjs +6 -2
  818. package/dist/app.mjs.map +1 -1
  819. package/dist/index.d.cts +1 -1
  820. package/dist/index.d.mts +1 -1
  821. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"create-comment.mjs","names":[],"sources":["../../src/actions/create-comment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateCommentInput = z.object({\n id: z.string().describe(\"Optional comment identifier. If not provided, one will be generated automatically.\").optional(),\n data: z.record(z.string(), z.unknown()).describe(\"The body of the comment as structured data. Either text or data is required.\").optional(),\n text: z.string().describe(\"The body of the comment in markdown format. Either text or data is required.\").optional(),\n documentId: z.string().describe(\"The unique identifier of the document to comment on\"),\n parentCommentId: z.string().describe(\"Parent comment ID for replies. Specify this to create a threaded reply to an existing comment.\").optional(),\n});\nconst OutlineCreateComment_UserInfoSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n avatarUrl: z.string().describe(\"User avatar URL\").nullable().optional(),\n}).passthrough();\nconst OutlineCreateComment_CommentDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the comment\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"The comment body as structured data\").nullable().optional(),\n text: z.string().describe(\"The comment text in markdown format\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the comment was created\").nullable().optional(),\n createdBy: OutlineCreateComment_UserInfoSchema.nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the comment was last updated\").nullable().optional(),\n documentId: z.string().describe(\"Identifier of the document the comment belongs to\").nullable().optional(),\n parentCommentId: z.string().describe(\"Identifier of the parent comment if this is a reply\").nullable().optional(),\n}).passthrough();\nexport const OutlineCreateCommentOutput = z.object({\n data: OutlineCreateComment_CommentDataSchema.nullable(),\n}).passthrough();\n\nexport const outlineCreateComment = action(\"OUTLINE_CREATE_COMMENT\", {\n slug: \"outline-create-comment\",\n name: \"Create Comment\",\n description: \"Tool to create a comment on an Outline document. Use when you need to add a comment or reply to a document. Either text or data field is required for the comment body.\",\n input: OutlineCreateCommentInput,\n output: OutlineCreateCommentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CAC1I,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CACrF,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS;AAClJ,CAAC;AACD,MAAM,sCAAsC,EAAE,OAAO;CACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxE,CAAC,CAAC,CAAC,YAAY;AACf,MAAM,yCAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAW,oCAAoC,SAAS,CAAC,CAAC,SAAS;CACnE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATwC,EAAE,OAAO,EACjD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"create-comment.mjs","names":[],"sources":["../../src/actions/create-comment.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateCommentInput = z.object({\n id: z.string().describe(\"Optional comment identifier. If not provided, one will be generated automatically.\").optional(),\n data: z.record(z.string(), z.unknown()).describe(\"The body of the comment as structured data. Either text or data is required.\").optional(),\n text: z.string().describe(\"The body of the comment in markdown format. Either text or data is required.\").optional(),\n documentId: z.string().describe(\"The unique identifier of the document to comment on\"),\n parentCommentId: z.string().describe(\"Parent comment ID for replies. Specify this to create a threaded reply to an existing comment.\").optional(),\n});\nconst OutlineCreateComment_UserInfoSchema = z.object({\n id: z.string().describe(\"User identifier\").nullable().optional(),\n name: z.string().describe(\"User name\").nullable().optional(),\n avatarUrl: z.string().describe(\"User avatar URL\").nullable().optional(),\n}).passthrough();\nconst OutlineCreateComment_CommentDataSchema = z.object({\n id: z.string().describe(\"Unique identifier of the comment\").nullable().optional(),\n data: z.record(z.string(), z.unknown()).describe(\"The comment body as structured data\").nullable().optional(),\n text: z.string().describe(\"The comment text in markdown format\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the comment was created\").nullable().optional(),\n createdBy: OutlineCreateComment_UserInfoSchema.nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the comment was last updated\").nullable().optional(),\n documentId: z.string().describe(\"Identifier of the document the comment belongs to\").nullable().optional(),\n parentCommentId: z.string().describe(\"Identifier of the parent comment if this is a reply\").nullable().optional(),\n}).passthrough();\nexport const OutlineCreateCommentOutput = z.object({\n data: OutlineCreateComment_CommentDataSchema.nullable(),\n}).passthrough();\n\nexport const outlineCreateComment: AppAction<\n typeof OutlineCreateCommentInput,\n typeof OutlineCreateCommentOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_COMMENT\", {\n slug: \"outline-create-comment\",\n name: \"Create Comment\",\n description: \"Tool to create a comment on an Outline document. Use when you need to add a comment or reply to a document. Either text or data field is required for the comment body.\",\n input: OutlineCreateCommentInput,\n output: OutlineCreateCommentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CACvH,MA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C,SAAS,CAAC,CAAC,SAAS;CACzG,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClH,CAAC,CAAC,CAAC,YAAY;AAKf,MAAa,uBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO,EACjD,MAAM,uCAAuC,SAAS,EACxD,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-document.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-document.cjs","names":["z","action"],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateDocumentInput = z.object({\n id: z.string().describe(\"Optional identifier for the document (UUID format)\").optional(),\n icon: z.string().describe(\"Icon displayed alongside the document title (emoji or icon name)\").optional(),\n text: z.string().describe(\"The body of the document in markdown format\").optional(),\n color: z.string().describe(\"Color for the document icon in hex format (e.g., #FF0000)\").optional(),\n title: z.string().describe(\"Document title. If not provided, a default title will be generated\").optional(),\n publish: z.boolean().describe(\"Whether this document should be immediately published and made visible to other workspace members. Requires collectionId or parentDocumentId\").optional(),\n createdAt: z.string().describe(\"Optionally set the created date in the past (ISO 8601 date-time format)\").optional(),\n fullWidth: z.boolean().describe(\"Whether the document should be displayed in full width mode\").optional(),\n templateId: z.string().describe(\"Template ID (UUID format) to use for creating the document\").optional(),\n collectionId: z.string().describe(\"Identifier for the collection (UUID format). Required to publish unless parentDocumentId is provided\").optional(),\n dataAttributes: z.array(z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\"),\n}).passthrough().describe(\"Data attribute for a document.\")).describe(\"Custom data attributes to be included on the document\").optional(),\n parentDocumentId: z.string().describe(\"Identifier for the parent document (UUID format). Required to publish unless collectionId is provided. Used to nest documents\").optional(),\n}).describe(\"Request model for creating a new document in Outline.\");\nconst OutlineCreateDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable(),\n name: z.string().describe(\"Display name of the user\").nullable(),\n role: z.string().describe(\"User's role in the workspace\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user is a viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"User account creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedAt: z.string().describe(\"User account last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp of user's last activity (ISO 8601 date-time)\").nullable().optional(),\n}).passthrough().describe(\"User object representing a document creator or editor.\");\nconst OutlineCreateDocument_DataAttributeSchema = z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\").nullable(),\n}).passthrough().describe(\"Data attribute for a document.\");\nconst OutlineCreateDocument_DocumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the document (UUID)\").nullable(),\n icon: z.string().describe(\"Icon displayed with the document title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the document icon\").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 teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the document\").nullable().optional(),\n template: z.boolean().describe(\"Whether document is a template\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp (ISO 8601 date-time)\").nullable(),\n createdBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when document was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether document is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Document last update timestamp (ISO 8601 date-time)\").nullable(),\n updatedBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when document was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier used to create document (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when document was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n dataAttributes: z.array(OutlineCreateDocument_DataAttributeSchema).describe(\"Custom metadata fields attached to the document\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).passthrough().describe(\"Document object representing an Outline document.\");\nconst OutlineCreateDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineCreateDocumentOutput = z.object({\n data: OutlineCreateDocument_DocumentSchema.nullable(),\n policies: z.array(OutlineCreateDocument_PolicySchema).describe(\"Array of policy objects describing authorized actions for the document\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a document in Outline.\");\n\nexport const outlineCreateDocument = action(\"OUTLINE_CREATE_DOCUMENT\", {\n slug: \"outline-create-document\",\n name: \"Create Document\",\n description: \"Tool to create a new document in Outline. Use when you need to create a new document with specified title, content, and metadata. Documents can be created as drafts or immediately published to a collection. At least one of collectionId or parentDocumentId is required if publish is true.\",\n input: OutlineCreateDocumentInput,\n output: OutlineCreateDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACvL,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACvG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG,CAAC,CAAC,SAAS;CACnJ,gBAAgBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACjC,OAAOA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,QAAQ;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;EAAC,CAAC;EACtE,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,C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CAAC,SAAS;CACnJ,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAM,qCAAqC,SAAS;CACpD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,wBAAwBC,eAAAA,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-document.cjs","names":["z","action"],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateDocumentInput = z.object({\n id: z.string().describe(\"Optional identifier for the document (UUID format)\").optional(),\n icon: z.string().describe(\"Icon displayed alongside the document title (emoji or icon name)\").optional(),\n text: z.string().describe(\"The body of the document in markdown format\").optional(),\n color: z.string().describe(\"Color for the document icon in hex format (e.g., #FF0000)\").optional(),\n title: z.string().describe(\"Document title. If not provided, a default title will be generated\").optional(),\n publish: z.boolean().describe(\"Whether this document should be immediately published and made visible to other workspace members. Requires collectionId or parentDocumentId\").optional(),\n createdAt: z.string().describe(\"Optionally set the created date in the past (ISO 8601 date-time format)\").optional(),\n fullWidth: z.boolean().describe(\"Whether the document should be displayed in full width mode\").optional(),\n templateId: z.string().describe(\"Template ID (UUID format) to use for creating the document\").optional(),\n collectionId: z.string().describe(\"Identifier for the collection (UUID format). Required to publish unless parentDocumentId is provided\").optional(),\n dataAttributes: z.array(z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\"),\n}).passthrough().describe(\"Data attribute for a document.\")).describe(\"Custom data attributes to be included on the document\").optional(),\n parentDocumentId: z.string().describe(\"Identifier for the parent document (UUID format). Required to publish unless collectionId is provided. Used to nest documents\").optional(),\n}).describe(\"Request model for creating a new document in Outline.\");\nconst OutlineCreateDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable(),\n name: z.string().describe(\"Display name of the user\").nullable(),\n role: z.string().describe(\"User's role in the workspace\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user is a viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"User account creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedAt: z.string().describe(\"User account last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp of user's last activity (ISO 8601 date-time)\").nullable().optional(),\n}).passthrough().describe(\"User object representing a document creator or editor.\");\nconst OutlineCreateDocument_DataAttributeSchema = z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\").nullable(),\n}).passthrough().describe(\"Data attribute for a document.\");\nconst OutlineCreateDocument_DocumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the document (UUID)\").nullable(),\n icon: z.string().describe(\"Icon displayed with the document title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the document icon\").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 teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the document\").nullable().optional(),\n template: z.boolean().describe(\"Whether document is a template\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp (ISO 8601 date-time)\").nullable(),\n createdBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when document was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether document is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Document last update timestamp (ISO 8601 date-time)\").nullable(),\n updatedBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when document was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier used to create document (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when document was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n dataAttributes: z.array(OutlineCreateDocument_DataAttributeSchema).describe(\"Custom metadata fields attached to the document\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).passthrough().describe(\"Document object representing an Outline document.\");\nconst OutlineCreateDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineCreateDocumentOutput = z.object({\n data: OutlineCreateDocument_DocumentSchema.nullable(),\n policies: z.array(OutlineCreateDocument_PolicySchema).describe(\"Array of policy objects describing authorized actions for the document\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a document in Outline.\");\n\nexport const outlineCreateDocument: AppAction<\n typeof OutlineCreateDocumentInput,\n typeof OutlineCreateDocumentOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_DOCUMENT\", {\n slug: \"outline-create-document\",\n name: \"Create Document\",\n description: \"Tool to create a new document in Outline. Use when you need to create a new document with specified title, content, and metadata. Documents can be created as drafts or immediately published to a collection. At least one of collectionId or parentDocumentId is required if publish is true.\",\n input: OutlineCreateDocumentInput,\n output: OutlineCreateDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,SAASA,IAAAA,EAAE,Q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BAA8BA,IAAAA,EAAE,OAAO;CAClD,MAAM,qCAAqC,SAAS;CACpD,UAAUA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,wBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { outline } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-document.d.ts
@@ -77,24 +79,7 @@ declare const OutlineCreateDocumentOutput: z.ZodObject<{
77
79
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
78
80
  }, z.core.$loose>>>>;
79
81
  }, z.core.$loose>;
80
- declare const outlineCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
81
- id?: string | undefined;
82
- icon?: string | undefined;
83
- text?: string | undefined;
84
- color?: string | undefined;
85
- title?: string | undefined;
86
- publish?: boolean | undefined;
87
- createdAt?: string | undefined;
88
- fullWidth?: boolean | undefined;
89
- templateId?: string | undefined;
90
- collectionId?: string | undefined;
91
- dataAttributes?: {
92
- [x: string]: unknown;
93
- value: string | number | boolean;
94
- dataAttributeId: string;
95
- }[] | undefined;
96
- parentDocumentId?: string | undefined;
97
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
82
+ declare const outlineCreateDocument: AppAction<typeof OutlineCreateDocumentInput, typeof OutlineCreateDocumentOutput, typeof outline.credential>;
98
83
  //#endregion
99
84
  export { outlineCreateDocument };
100
85
  //# sourceMappingURL=create-document.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-document.d.cts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAgE1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-document.d.cts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAgE1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { outline } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-document.d.ts
@@ -77,24 +79,7 @@ declare const OutlineCreateDocumentOutput: z.ZodObject<{
77
79
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
78
80
  }, z.core.$loose>>>>;
79
81
  }, z.core.$loose>;
80
- declare const outlineCreateDocument: import("@keystrokehq/action").WorkflowActionDefinition<{
81
- id?: string | undefined;
82
- icon?: string | undefined;
83
- text?: string | undefined;
84
- color?: string | undefined;
85
- title?: string | undefined;
86
- publish?: boolean | undefined;
87
- createdAt?: string | undefined;
88
- fullWidth?: boolean | undefined;
89
- templateId?: string | undefined;
90
- collectionId?: string | undefined;
91
- dataAttributes?: {
92
- [x: string]: unknown;
93
- value: string | number | boolean;
94
- dataAttributeId: string;
95
- }[] | undefined;
96
- parentDocumentId?: string | undefined;
97
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
82
+ declare const outlineCreateDocument: AppAction<typeof OutlineCreateDocumentInput, typeof OutlineCreateDocumentOutput, typeof outline.credential>;
98
83
  //#endregion
99
84
  export { outlineCreateDocument };
100
85
  //# sourceMappingURL=create-document.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAgE1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,gCAAqB,wBAAA"}
1
+ {"version":3,"file":"create-document.d.mts","names":[],"sources":["../../src/actions/create-document.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAgE1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-document.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-document.mjs","names":[],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateDocumentInput = z.object({\n id: z.string().describe(\"Optional identifier for the document (UUID format)\").optional(),\n icon: z.string().describe(\"Icon displayed alongside the document title (emoji or icon name)\").optional(),\n text: z.string().describe(\"The body of the document in markdown format\").optional(),\n color: z.string().describe(\"Color for the document icon in hex format (e.g., #FF0000)\").optional(),\n title: z.string().describe(\"Document title. If not provided, a default title will be generated\").optional(),\n publish: z.boolean().describe(\"Whether this document should be immediately published and made visible to other workspace members. Requires collectionId or parentDocumentId\").optional(),\n createdAt: z.string().describe(\"Optionally set the created date in the past (ISO 8601 date-time format)\").optional(),\n fullWidth: z.boolean().describe(\"Whether the document should be displayed in full width mode\").optional(),\n templateId: z.string().describe(\"Template ID (UUID format) to use for creating the document\").optional(),\n collectionId: z.string().describe(\"Identifier for the collection (UUID format). Required to publish unless parentDocumentId is provided\").optional(),\n dataAttributes: z.array(z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\"),\n}).passthrough().describe(\"Data attribute for a document.\")).describe(\"Custom data attributes to be included on the document\").optional(),\n parentDocumentId: z.string().describe(\"Identifier for the parent document (UUID format). Required to publish unless collectionId is provided. Used to nest documents\").optional(),\n}).describe(\"Request model for creating a new document in Outline.\");\nconst OutlineCreateDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable(),\n name: z.string().describe(\"Display name of the user\").nullable(),\n role: z.string().describe(\"User's role in the workspace\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user is a viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"User account creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedAt: z.string().describe(\"User account last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp of user's last activity (ISO 8601 date-time)\").nullable().optional(),\n}).passthrough().describe(\"User object representing a document creator or editor.\");\nconst OutlineCreateDocument_DataAttributeSchema = z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\").nullable(),\n}).passthrough().describe(\"Data attribute for a document.\");\nconst OutlineCreateDocument_DocumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the document (UUID)\").nullable(),\n icon: z.string().describe(\"Icon displayed with the document title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the document icon\").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 teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the document\").nullable().optional(),\n template: z.boolean().describe(\"Whether document is a template\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp (ISO 8601 date-time)\").nullable(),\n createdBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when document was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether document is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Document last update timestamp (ISO 8601 date-time)\").nullable(),\n updatedBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when document was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier used to create document (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when document was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n dataAttributes: z.array(OutlineCreateDocument_DataAttributeSchema).describe(\"Custom metadata fields attached to the document\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).passthrough().describe(\"Document object representing an Outline document.\");\nconst OutlineCreateDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineCreateDocumentOutput = z.object({\n data: OutlineCreateDocument_DocumentSchema.nullable(),\n policies: z.array(OutlineCreateDocument_PolicySchema).describe(\"Array of policy objects describing authorized actions for the document\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a document in Outline.\");\n\nexport const outlineCreateDocument = action(\"OUTLINE_CREATE_DOCUMENT\", {\n slug: \"outline-create-document\",\n name: \"Create Document\",\n description: \"Tool to create a new document in Outline. Use when you need to create a new document with specified title, content, and metadata. Documents can be created as drafts or immediately published to a collection. At least one of collectionId or parentDocumentId is required if publish is true.\",\n input: OutlineCreateDocumentInput,\n output: OutlineCreateDocumentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACvL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,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iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,wBAAwB,OAAO,2BAA2B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVyC,EAAE,OAAO;EAClD,MAAM,qCAAqC,SAAS;EACpD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-document.mjs","names":[],"sources":["../../src/actions/create-document.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateDocumentInput = z.object({\n id: z.string().describe(\"Optional identifier for the document (UUID format)\").optional(),\n icon: z.string().describe(\"Icon displayed alongside the document title (emoji or icon name)\").optional(),\n text: z.string().describe(\"The body of the document in markdown format\").optional(),\n color: z.string().describe(\"Color for the document icon in hex format (e.g., #FF0000)\").optional(),\n title: z.string().describe(\"Document title. If not provided, a default title will be generated\").optional(),\n publish: z.boolean().describe(\"Whether this document should be immediately published and made visible to other workspace members. Requires collectionId or parentDocumentId\").optional(),\n createdAt: z.string().describe(\"Optionally set the created date in the past (ISO 8601 date-time format)\").optional(),\n fullWidth: z.boolean().describe(\"Whether the document should be displayed in full width mode\").optional(),\n templateId: z.string().describe(\"Template ID (UUID format) to use for creating the document\").optional(),\n collectionId: z.string().describe(\"Identifier for the collection (UUID format). Required to publish unless parentDocumentId is provided\").optional(),\n dataAttributes: z.array(z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\"),\n}).passthrough().describe(\"Data attribute for a document.\")).describe(\"Custom data attributes to be included on the document\").optional(),\n parentDocumentId: z.string().describe(\"Identifier for the parent document (UUID format). Required to publish unless collectionId is provided. Used to nest documents\").optional(),\n}).describe(\"Request model for creating a new document in Outline.\");\nconst OutlineCreateDocument_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable(),\n name: z.string().describe(\"Display name of the user\").nullable(),\n role: z.string().describe(\"User's role in the workspace\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n isGuest: z.boolean().describe(\"Whether the user is a guest\").nullable().optional(),\n isViewer: z.boolean().describe(\"Whether the user is a viewer\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n createdAt: z.string().describe(\"User account creation timestamp (ISO 8601 date-time)\").nullable().optional(),\n updatedAt: z.string().describe(\"User account last update timestamp (ISO 8601 date-time)\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp of user's last activity (ISO 8601 date-time)\").nullable().optional(),\n}).passthrough().describe(\"User object representing a document creator or editor.\");\nconst OutlineCreateDocument_DataAttributeSchema = z.object({\n value: z.union([z.string(), z.boolean(), z.number().int(), z.number()]),\n dataAttributeId: z.string().describe(\"Unique identifier for the data attribute (UUID)\").nullable(),\n}).passthrough().describe(\"Data attribute for a document.\");\nconst OutlineCreateDocument_DocumentSchema = z.object({\n id: z.string().describe(\"Unique identifier for the document (UUID)\").nullable(),\n icon: z.string().describe(\"Icon displayed with the document title\").nullable().optional(),\n text: z.string().describe(\"Body content in markdown format\").nullable().optional(),\n color: z.string().describe(\"Hex color code for the document icon\").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 teamId: z.string().describe(\"Associated workspace identifier (UUID)\").nullable().optional(),\n revision: z.number().int().describe(\"Version number of the document\").nullable().optional(),\n template: z.boolean().describe(\"Whether document is a template\").nullable().optional(),\n createdAt: z.string().describe(\"Document creation timestamp (ISO 8601 date-time)\").nullable(),\n createdBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when document was deleted (ISO 8601 date-time)\").nullable().optional(),\n fullWidth: z.boolean().describe(\"Whether document is displayed in full width\").nullable().optional(),\n published: z.boolean().describe(\"Whether the document is published\").nullable().optional(),\n updatedAt: z.string().describe(\"Document last update timestamp (ISO 8601 date-time)\").nullable(),\n updatedBy: OutlineCreateDocument_UserSchema.nullable().optional(),\n archivedAt: z.string().describe(\"Timestamp when document was archived (ISO 8601 date-time)\").nullable().optional(),\n templateId: z.string().describe(\"Template identifier used to create document (UUID)\").nullable().optional(),\n publishedAt: z.string().describe(\"Timestamp when document was published (ISO 8601 date-time)\").nullable().optional(),\n collectionId: z.string().describe(\"Parent collection identifier (UUID)\").nullable().optional(),\n dataAttributes: z.array(OutlineCreateDocument_DataAttributeSchema).describe(\"Custom metadata fields attached to the document\").nullable().optional(),\n insightsEnabled: z.boolean().describe(\"Whether analytics visibility is enabled\").nullable().optional(),\n parentDocumentId: z.string().describe(\"Parent document identifier if nested (UUID)\").nullable().optional(),\n}).passthrough().describe(\"Document object representing an Outline document.\");\nconst OutlineCreateDocument_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineCreateDocumentOutput = z.object({\n data: OutlineCreateDocument_DocumentSchema.nullable(),\n policies: z.array(OutlineCreateDocument_PolicySchema).describe(\"Array of policy objects describing authorized actions for the document\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a document in Outline.\");\n\nexport const outlineCreateDocument: AppAction<\n typeof OutlineCreateDocumentInput,\n typeof OutlineCreateDocumentOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_DOCUMENT\", {\n slug: \"outline-create-document\",\n name: \"Create Document\",\n description: \"Tool to create a new document in Outline. Use when you need to create a new document with specified title, content, and metadata. Documents can be created as drafts or immediately published to a collection. At least one of collectionId or parentDocumentId is required if publish is true.\",\n input: OutlineCreateDocumentInput,\n output: OutlineCreateDocumentOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACvG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAClF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjG,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAC1G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8IAA8I,CAAC,CAAC,SAAS;CACvL,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAA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,CAAC,SAAS;CACnJ,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AAMvF,MAAa,wBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdyC,EAAE,OAAO;EAClD,MAAM,qCAAqC,SAAS;EACpD,UAAU,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create. Groups are used to organize users and assign collection permissions to multiple users at once.\"),\n}).describe(\"Request schema for creating a new group in Outline.\");\nconst OutlineCreateGroup_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group (UUID).\").nullable().optional(),\n name: z.string().describe(\"The name of the group.\").nullable().optional(),\n createdAt: z.string().describe(\"The date and time that the group was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The date and time that the group was last updated (ISO 8601 format).\").nullable().optional(),\n memberCount: z.number().int().describe(\"The number of users that are members of the group.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a group object.\");\nconst OutlineCreateGroup_PolicySchema = z.object({\n id: z.string().describe(\"Unique identifier for the object this policy references (UUID).\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"The abilities that are allowed by this policy. Values can be boolean or arrays of membership IDs that grant the ability.\").nullable().optional(),\n}).passthrough().describe(\"Schema for authorization policy.\");\nexport const OutlineCreateGroupOutput = z.object({\n data: OutlineCreateGroup_GroupSchema.nullable(),\n policies: z.array(OutlineCreateGroup_PolicySchema).describe(\"List of authorization policies for the group.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a group.\");\n\nexport const outlineCreateGroup = action(\"OUTLINE_CREATE_GROUP\", {\n slug: \"outline-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Outline. Use when you need to organize users into logical groups for easier permission management across collections.\",\n input: OutlineCreateGroupInput,\n output: OutlineCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,+BAA+B,SAAS;CAC9C,UAAUA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAEjE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.cjs","names":["z","action"],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create. Groups are used to organize users and assign collection permissions to multiple users at once.\"),\n}).describe(\"Request schema for creating a new group in Outline.\");\nconst OutlineCreateGroup_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group (UUID).\").nullable().optional(),\n name: z.string().describe(\"The name of the group.\").nullable().optional(),\n createdAt: z.string().describe(\"The date and time that the group was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The date and time that the group was last updated (ISO 8601 format).\").nullable().optional(),\n memberCount: z.number().int().describe(\"The number of users that are members of the group.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a group object.\");\nconst OutlineCreateGroup_PolicySchema = z.object({\n id: z.string().describe(\"Unique identifier for the object this policy references (UUID).\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"The abilities that are allowed by this policy. Values can be boolean or arrays of membership IDs that grant the ability.\").nullable().optional(),\n}).passthrough().describe(\"Schema for authorization policy.\");\nexport const OutlineCreateGroupOutput = z.object({\n data: OutlineCreateGroup_GroupSchema.nullable(),\n policies: z.array(OutlineCreateGroup_PolicySchema).describe(\"List of authorization policies for the group.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a group.\");\n\nexport const outlineCreateGroup: AppAction<\n typeof OutlineCreateGroupInput,\n typeof OutlineCreateGroupOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_GROUP\", {\n slug: \"outline-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Outline. Use when you need to organize users into logical groups for easier permission management across collections.\",\n input: OutlineCreateGroupInput,\n output: OutlineCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM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 
3
5
  //#region src/actions/create-group.d.ts
@@ -17,9 +19,7 @@ declare const OutlineCreateGroupOutput: z.ZodObject<{
17
19
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
20
  }, z.core.$loose>>>>;
19
21
  }, z.core.$loose>;
20
- declare const outlineCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- name: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const outlineCreateGroup: AppAction<typeof OutlineCreateGroupInput, typeof OutlineCreateGroupOutput, typeof outline.credential>;
23
23
  //#endregion
24
24
  export { outlineCreateGroup };
25
25
  //# sourceMappingURL=create-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { outline } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-group.d.ts
@@ -17,9 +19,7 @@ declare const OutlineCreateGroupOutput: z.ZodObject<{
17
19
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
18
20
  }, z.core.$loose>>>>;
19
21
  }, z.core.$loose>;
20
- declare const outlineCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
21
- name: string;
22
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
22
+ declare const outlineCreateGroup: AppAction<typeof OutlineCreateGroupInput, typeof OutlineCreateGroupOutput, typeof outline.credential>;
23
23
  //#endregion
24
24
  export { outlineCreateGroup };
25
25
  //# sourceMappingURL=create-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create. Groups are used to organize users and assign collection permissions to multiple users at once.\"),\n}).describe(\"Request schema for creating a new group in Outline.\");\nconst OutlineCreateGroup_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group (UUID).\").nullable().optional(),\n name: z.string().describe(\"The name of the group.\").nullable().optional(),\n createdAt: z.string().describe(\"The date and time that the group was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The date and time that the group was last updated (ISO 8601 format).\").nullable().optional(),\n memberCount: z.number().int().describe(\"The number of users that are members of the group.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a group object.\");\nconst OutlineCreateGroup_PolicySchema = z.object({\n id: z.string().describe(\"Unique identifier for the object this policy references (UUID).\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"The abilities that are allowed by this policy. Values can be boolean or arrays of membership IDs that grant the ability.\").nullable().optional(),\n}).passthrough().describe(\"Schema for authorization policy.\");\nexport const OutlineCreateGroupOutput = z.object({\n data: OutlineCreateGroup_GroupSchema.nullable(),\n policies: z.array(OutlineCreateGroup_PolicySchema).describe(\"List of authorization policies for the group.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a group.\");\n\nexport const outlineCreateGroup = action(\"OUTLINE_CREATE_GROUP\", {\n slug: \"outline-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Outline. Use when you need to organize users into logical groups for easier permission management across collections.\",\n input: OutlineCreateGroupInput,\n output: OutlineCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAM5D,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,+BAA+B,SAAS;EAC9C,UAAU,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-group.mjs","names":[],"sources":["../../src/actions/create-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group to create. Groups are used to organize users and assign collection permissions to multiple users at once.\"),\n}).describe(\"Request schema for creating a new group in Outline.\");\nconst OutlineCreateGroup_GroupSchema = z.object({\n id: z.string().describe(\"Unique identifier for the group (UUID).\").nullable().optional(),\n name: z.string().describe(\"The name of the group.\").nullable().optional(),\n createdAt: z.string().describe(\"The date and time that the group was created (ISO 8601 format).\").nullable().optional(),\n updatedAt: z.string().describe(\"The date and time that the group was last updated (ISO 8601 format).\").nullable().optional(),\n memberCount: z.number().int().describe(\"The number of users that are members of the group.\").nullable().optional(),\n}).passthrough().describe(\"Schema for a group object.\");\nconst OutlineCreateGroup_PolicySchema = z.object({\n id: z.string().describe(\"Unique identifier for the object this policy references (UUID).\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"The abilities that are allowed by this policy. Values can be boolean or arrays of membership IDs that grant the ability.\").nullable().optional(),\n}).passthrough().describe(\"Schema for authorization policy.\");\nexport const OutlineCreateGroupOutput = z.object({\n data: OutlineCreateGroup_GroupSchema.nullable(),\n policies: z.array(OutlineCreateGroup_PolicySchema).describe(\"List of authorization policies for the group.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for creating a group.\");\n\nexport const outlineCreateGroup: AppAction<\n typeof OutlineCreateGroupInput,\n typeof OutlineCreateGroupOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_GROUP\", {\n slug: \"outline-create-group\",\n name: \"Create Group\",\n description: \"Tool to create a new group in Outline. Use when you need to organize users into logical groups for easier permission management across collections.\",\n input: OutlineCreateGroupInput,\n output: OutlineCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,EAC7J,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3H,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4BAA4B;AACtD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,0HAA0H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxM,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAM5D,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,MAAM,+BAA+B,SAAS;EAC9C,UAAU,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-o-auth-client.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-o-auth-client.cjs","names":["z","action"],"sources":["../../src/actions/create-o-auth-client.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateOAuthClientInput = z.object({\n name: z.string().describe(\"Name of the OAuth client\"),\n avatarUrl: z.string().describe(\"A URL pointing to an image representing the OAuth client\").optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").optional(),\n description: z.string().describe(\"A short description of this OAuth client\").optional(),\n developerUrl: z.string().describe(\"The URL of the developer who created this OAuth client\").optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client. These URIs are used for OAuth callbacks after authentication\"),\n developerName: z.string().describe(\"The name of the developer who created this OAuth client\").optional(),\n}).describe(\"Request model for creating a new OAuth client in Outline.\");\nconst OutlineCreateOAuthClient_OAuthClientSchema = z.object({\n id: z.string().describe(\"Unique identifier for the OAuth client\").nullable().optional(),\n name: z.string().describe(\"Name of the OAuth client\").nullable().optional(),\n clientId: z.string().describe(\"Client ID for the OAuth client\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL pointing to an image representing the OAuth client\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the OAuth client was created\").nullable().optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the OAuth client was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the OAuth client\").nullable().optional(),\n clientSecret: z.string().describe(\"Client secret for the OAuth client\").nullable().optional(),\n developerUrl: z.string().describe(\"URL of the developer who created this OAuth client\").nullable().optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client\").nullable().optional(),\n developerName: z.string().describe(\"Name of the developer who created this OAuth client\").nullable().optional(),\n}).passthrough().describe(\"OAuth client object representing the created OAuth client.\");\nconst OutlineCreateOAuthClient_PolicySchema = z.object({\n id: z.string().describe(\"Policy identifier\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of abilities and their allowed status\").nullable().optional(),\n}).passthrough().describe(\"Authorization policy for the OAuth client.\");\nexport const OutlineCreateOAuthClientOutput = z.object({\n data: OutlineCreateOAuthClient_OAuthClientSchema.nullable().optional(),\n policies: z.array(OutlineCreateOAuthClient_PolicySchema).describe(\"List of authorization policies for the OAuth client\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OAuth client and policies.\");\n\nexport const outlineCreateOAuthClient = action(\"OUTLINE_CREATE_O_AUTH_CLIENT\", {\n slug: \"outline-create-o-auth-client\",\n name: \"Create OAuth Client\",\n description: \"Tool to create a new OAuth client in Outline. Use when you need to create an OAuth client application that can be used to authenticate users and access the API on their behalf.\",\n input: OutlineCreateOAuthClientInput,\n output: OutlineCreateOAuthClientOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACrJ,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC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EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2BAA2BC,eAAAA,OAAO,gCAAgC;CAC7E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-o-auth-client.cjs","names":["z","action"],"sources":["../../src/actions/create-o-auth-client.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateOAuthClientInput = z.object({\n name: z.string().describe(\"Name of the OAuth client\"),\n avatarUrl: z.string().describe(\"A URL pointing to an image representing the OAuth client\").optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").optional(),\n description: z.string().describe(\"A short description of this OAuth client\").optional(),\n developerUrl: z.string().describe(\"The URL of the developer who created this OAuth client\").optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client. These URIs are used for OAuth callbacks after authentication\"),\n developerName: z.string().describe(\"The name of the developer who created this OAuth client\").optional(),\n}).describe(\"Request model for creating a new OAuth client in Outline.\");\nconst OutlineCreateOAuthClient_OAuthClientSchema = z.object({\n id: z.string().describe(\"Unique identifier for the OAuth client\").nullable().optional(),\n name: z.string().describe(\"Name of the OAuth client\").nullable().optional(),\n clientId: z.string().describe(\"Client ID for the OAuth client\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL pointing to an image representing the OAuth client\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the OAuth client was created\").nullable().optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the OAuth client was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the OAuth client\").nullable().optional(),\n clientSecret: z.string().describe(\"Client secret for the OAuth client\").nullable().optional(),\n developerUrl: z.string().describe(\"URL of the developer who created this OAuth client\").nullable().optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client\").nullable().optional(),\n developerName: z.string().describe(\"Name of the developer who created this OAuth client\").nullable().optional(),\n}).passthrough().describe(\"OAuth client object representing the created OAuth client.\");\nconst OutlineCreateOAuthClient_PolicySchema = z.object({\n id: z.string().describe(\"Policy identifier\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of abilities and their allowed status\").nullable().optional(),\n}).passthrough().describe(\"Authorization policy for the OAuth client.\");\nexport const OutlineCreateOAuthClientOutput = z.object({\n data: OutlineCreateOAuthClient_OAuthClientSchema.nullable().optional(),\n policies: z.array(OutlineCreateOAuthClient_PolicySchema).describe(\"List of authorization policies for the OAuth client\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OAuth client and policies.\");\n\nexport const outlineCreateOAuthClient: AppAction<\n typeof OutlineCreateOAuthClientInput,\n typeof OutlineCreateOAuthClientOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_O_AUTH_CLIENT\", {\n slug: \"outline-create-o-auth-client\",\n name: \"Create OAuth Client\",\n description: \"Tool to create a new OAuth client in Outline. Use when you need to create an OAuth client application that can be used to authenticate users and access the API on their behalf.\",\n input: OutlineCreateOAuthClientInput,\n output: OutlineCreateOAuthClientOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAA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AAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AACtE,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,2BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { outline } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-o-auth-client.d.ts
@@ -30,15 +32,7 @@ declare const OutlineCreateOAuthClientOutput: z.ZodObject<{
30
32
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31
33
  }, z.core.$loose>>>>;
32
34
  }, z.core.$loose>;
33
- declare const outlineCreateOAuthClient: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- name: string;
35
- redirectUris: string[];
36
- avatarUrl?: string | undefined;
37
- published?: boolean | undefined;
38
- description?: string | undefined;
39
- developerUrl?: string | undefined;
40
- developerName?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const outlineCreateOAuthClient: AppAction<typeof OutlineCreateOAuthClientInput, typeof OutlineCreateOAuthClientOutput, typeof outline.credential>;
42
36
  //#endregion
43
37
  export { outlineCreateOAuthClient };
44
38
  //# sourceMappingURL=create-o-auth-client.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-o-auth-client.d.cts","names":[],"sources":["../../src/actions/create-o-auth-client.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cA2B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-o-auth-client.d.cts","names":[],"sources":["../../src/actions/create-o-auth-client.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cA2B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { outline } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-o-auth-client.d.ts
@@ -30,15 +32,7 @@ declare const OutlineCreateOAuthClientOutput: z.ZodObject<{
30
32
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
31
33
  }, z.core.$loose>>>>;
32
34
  }, z.core.$loose>;
33
- declare const outlineCreateOAuthClient: import("@keystrokehq/action").WorkflowActionDefinition<{
34
- name: string;
35
- redirectUris: string[];
36
- avatarUrl?: string | undefined;
37
- published?: boolean | undefined;
38
- description?: string | undefined;
39
- developerUrl?: string | undefined;
40
- developerName?: string | undefined;
41
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ declare const outlineCreateOAuthClient: AppAction<typeof OutlineCreateOAuthClientInput, typeof OutlineCreateOAuthClientOutput, typeof outline.credential>;
42
36
  //#endregion
43
37
  export { outlineCreateOAuthClient };
44
38
  //# sourceMappingURL=create-o-auth-client.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-o-auth-client.d.mts","names":[],"sources":["../../src/actions/create-o-auth-client.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cA2B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
1
+ {"version":3,"file":"create-o-auth-client.d.mts","names":[],"sources":["../../src/actions/create-o-auth-client.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;;;cA2B7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cAK9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-o-auth-client.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-o-auth-client.mjs","names":[],"sources":["../../src/actions/create-o-auth-client.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateOAuthClientInput = z.object({\n name: z.string().describe(\"Name of the OAuth client\"),\n avatarUrl: z.string().describe(\"A URL pointing to an image representing the OAuth client\").optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").optional(),\n description: z.string().describe(\"A short description of this OAuth client\").optional(),\n developerUrl: z.string().describe(\"The URL of the developer who created this OAuth client\").optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client. These URIs are used for OAuth callbacks after authentication\"),\n developerName: z.string().describe(\"The name of the developer who created this OAuth client\").optional(),\n}).describe(\"Request model for creating a new OAuth client in Outline.\");\nconst OutlineCreateOAuthClient_OAuthClientSchema = z.object({\n id: z.string().describe(\"Unique identifier for the OAuth client\").nullable().optional(),\n name: z.string().describe(\"Name of the OAuth client\").nullable().optional(),\n clientId: z.string().describe(\"Client ID for the OAuth client\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL pointing to an image representing the OAuth client\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the OAuth client was created\").nullable().optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the OAuth client was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the OAuth client\").nullable().optional(),\n clientSecret: z.string().describe(\"Client secret for the OAuth client\").nullable().optional(),\n developerUrl: z.string().describe(\"URL of the developer who created this OAuth client\").nullable().optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client\").nullable().optional(),\n developerName: z.string().describe(\"Name of the developer who created this OAuth client\").nullable().optional(),\n}).passthrough().describe(\"OAuth client object representing the created OAuth client.\");\nconst OutlineCreateOAuthClient_PolicySchema = z.object({\n id: z.string().describe(\"Policy identifier\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of abilities and their allowed status\").nullable().optional(),\n}).passthrough().describe(\"Authorization policy for the OAuth client.\");\nexport const OutlineCreateOAuthClientOutput = z.object({\n data: OutlineCreateOAuthClient_OAuthClientSchema.nullable().optional(),\n policies: z.array(OutlineCreateOAuthClient_PolicySchema).describe(\"List of authorization policies for the OAuth client\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OAuth client and policies.\");\n\nexport const outlineCreateOAuthClient = action(\"OUTLINE_CREATE_O_AUTH_CLIENT\", {\n slug: \"outline-create-o-auth-client\",\n name: \"Create OAuth Client\",\n description: \"Tool to create a new OAuth client in Outline. Use when you need to create an OAuth client application that can be used to authenticate users and access the API on their behalf.\",\n input: OutlineCreateOAuthClientInput,\n output: OutlineCreateOAuthClientOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0GAA0G;CACrJ,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACzG,CAAC,CAAC,CAAC,SAAS,2DAA2D;AACvE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CA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AAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-o-auth-client.mjs","names":[],"sources":["../../src/actions/create-o-auth-client.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateOAuthClientInput = z.object({\n name: z.string().describe(\"Name of the OAuth client\"),\n avatarUrl: z.string().describe(\"A URL pointing to an image representing the OAuth client\").optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").optional(),\n description: z.string().describe(\"A short description of this OAuth client\").optional(),\n developerUrl: z.string().describe(\"The URL of the developer who created this OAuth client\").optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client. These URIs are used for OAuth callbacks after authentication\"),\n developerName: z.string().describe(\"The name of the developer who created this OAuth client\").optional(),\n}).describe(\"Request model for creating a new OAuth client in Outline.\");\nconst OutlineCreateOAuthClient_OAuthClientSchema = z.object({\n id: z.string().describe(\"Unique identifier for the OAuth client\").nullable().optional(),\n name: z.string().describe(\"Name of the OAuth client\").nullable().optional(),\n clientId: z.string().describe(\"Client ID for the OAuth client\").nullable().optional(),\n avatarUrl: z.string().describe(\"URL pointing to an image representing the OAuth client\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the OAuth client was created\").nullable().optional(),\n published: z.boolean().describe(\"Whether the OAuth client is available to other workspaces\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the OAuth client was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the OAuth client\").nullable().optional(),\n clientSecret: z.string().describe(\"Client secret for the OAuth client\").nullable().optional(),\n developerUrl: z.string().describe(\"URL of the developer who created this OAuth client\").nullable().optional(),\n redirectUris: z.array(z.string()).describe(\"List of redirect URIs for the OAuth client\").nullable().optional(),\n developerName: z.string().describe(\"Name of the developer who created this OAuth client\").nullable().optional(),\n}).passthrough().describe(\"OAuth client object representing the created OAuth client.\");\nconst OutlineCreateOAuthClient_PolicySchema = z.object({\n id: z.string().describe(\"Policy identifier\").nullable().optional(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Map of abilities and their allowed status\").nullable().optional(),\n}).passthrough().describe(\"Authorization policy for the OAuth client.\");\nexport const OutlineCreateOAuthClientOutput = z.object({\n data: OutlineCreateOAuthClient_OAuthClientSchema.nullable().optional(),\n policies: z.array(OutlineCreateOAuthClient_PolicySchema).describe(\"List of authorization policies for the OAuth client\").nullable().optional(),\n}).passthrough().describe(\"Response containing the created OAuth client and policies.\");\n\nexport const outlineCreateOAuthClient: AppAction<\n typeof OutlineCreateOAuthClientInput,\n typeof OutlineCreateOAuthClientOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_O_AUTH_CLIENT\", {\n slug: \"outline-create-o-auth-client\",\n name: \"Create OAuth Client\",\n description: \"Tool to create a new OAuth client in Outline. Use when you need to create an OAuth client application that can be used to authenticate users and access the API on their behalf.\",\n input: OutlineCreateOAuthClientInput,\n output: OutlineCreateOAuthClientOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS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E,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAM,wCAAwC,EAAE,OAAO;CACrD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAMtE,MAAa,2BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd4C,EAAE,OAAO;EACrD,MAAM,2CAA2C,SAAS,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
@@ -1,3 +1,4 @@
1
+ require("../app.cjs");
1
2
  const require_action = require("../action.cjs");
2
3
  let zod = require("zod");
3
4
  //#region src/actions/create-share.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-share.cjs","names":["z","action"],"sources":["../../src/actions/create-share.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const OutlineCreateShareInput = z.object({\n password: z.string().describe(\"Optional password protection for the share. Users must enter this password to access the shared document\").optional(),\n expiresAt: z.string().describe(\"Expiration timestamp for the share link (ISO 8601 date-time format). If not provided, the share link will not expire\").optional(),\n documentId: z.string().describe(\"The unique identifier of the document to share (UUID format)\"),\n includeChildDocuments: z.boolean().describe(\"Whether child documents should be included in the share. If true, shared access includes nested documents\").optional(),\n}).describe(\"Request model for creating a share link in Outline.\");\nconst OutlineCreateShare_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable(),\n name: z.string().describe(\"Name of the user\").nullable(),\n role: z.string().describe(\"Role of the user\").nullable().optional(),\n color: z.string().describe(\"Color associated with the user\").nullable().optional(),\n timezone: z.string().describe(\"Timezone of the user\").nullable().optional(),\n avatarUrl: z.string().describe(\"Avatar URL of the user\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when the user was deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was updated\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether the user is suspended\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp when the user was last active\").nullable().optional(),\n}).passthrough().describe(\"User object representing the creator of the share.\");\nconst OutlineCreateShare_ShareDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the share (UUID)\").nullable(),\n url: z.string().describe(\"Public URL for accessing the shared document\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the share was created (ISO 8601 date-time)\").nullable(),\n createdBy: z.union([z.string(), OutlineCreateShare_UserSchema]),\n expiresAt: z.string().describe(\"Expiration timestamp for the share (ISO 8601 date-time)\").nullable().optional(),\n published: z.boolean().describe(\"Whether the share is published\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the share was last updated (ISO 8601 date-time)\").nullable(),\n documentId: z.string().describe(\"Identifier of the document being shared (UUID)\").nullable(),\n documentUrl: z.string().describe(\"URL of the original document\").nullable().optional(),\n documentTitle: z.string().describe(\"Title of the shared document\").nullable().optional(),\n lastAccessedAt: z.string().describe(\"Timestamp when the share was last viewed\").nullable().optional(),\n includeChildDocuments: z.boolean().describe(\"Whether child documents are included in the share\").nullable(),\n}).passthrough().describe(\"Share object representing a public share link.\");\nconst OutlineCreateShare_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineCreateShareOutput = z.object({\n data: OutlineCreateShare_ShareDataSchema.nullable(),\n policies: z.array(OutlineCreateShare_PolicySchema).describe(\"Array of policy objects describing authorized actions for the share\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a share link in Outline.\");\n\nexport const outlineCreateShare = action(\"OUTLINE_CREATE_SHARE\", {\n slug: \"outline-create-share\",\n name: \"Create Share\",\n description: \"Tool to create a public share link for an Outline document. Use when you need to generate a shareable URL that allows access without workspace membership. If you request multiple shares for the same document with the same API key, the same share object will be returned.\",\n input: OutlineCreateShareInput,\n output: OutlineCreateShareOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CAChK,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D;CAC9F,uBAAuBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SA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AC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-share.cjs","names":["z","action"],"sources":["../../src/actions/create-share.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { outline } from \"../app\";\n\nexport const OutlineCreateShareInput = z.object({\n password: z.string().describe(\"Optional password protection for the share. Users must enter this password to access the shared document\").optional(),\n expiresAt: z.string().describe(\"Expiration timestamp for the share link (ISO 8601 date-time format). If not provided, the share link will not expire\").optional(),\n documentId: z.string().describe(\"The unique identifier of the document to share (UUID format)\"),\n includeChildDocuments: z.boolean().describe(\"Whether child documents should be included in the share. If true, shared access includes nested documents\").optional(),\n}).describe(\"Request model for creating a share link in Outline.\");\nconst OutlineCreateShare_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user (UUID)\").nullable(),\n name: z.string().describe(\"Name of the user\").nullable(),\n role: z.string().describe(\"Role of the user\").nullable().optional(),\n color: z.string().describe(\"Color associated with the user\").nullable().optional(),\n timezone: z.string().describe(\"Timezone of the user\").nullable().optional(),\n avatarUrl: z.string().describe(\"Avatar URL of the user\").nullable().optional(),\n createdAt: z.string().describe(\"Timestamp when the user was created\").nullable().optional(),\n deletedAt: z.string().describe(\"Timestamp when the user was deleted\").nullable().optional(),\n updatedAt: z.string().describe(\"Timestamp when the user was updated\").nullable().optional(),\n isSuspended: z.boolean().describe(\"Whether the user is suspended\").nullable().optional(),\n lastActiveAt: z.string().describe(\"Timestamp when the user was last active\").nullable().optional(),\n}).passthrough().describe(\"User object representing the creator of the share.\");\nconst OutlineCreateShare_ShareDataSchema = z.object({\n id: z.string().describe(\"Unique identifier for the share (UUID)\").nullable(),\n url: z.string().describe(\"Public URL for accessing the shared document\").nullable(),\n createdAt: z.string().describe(\"Timestamp when the share was created (ISO 8601 date-time)\").nullable(),\n createdBy: z.union([z.string(), OutlineCreateShare_UserSchema]),\n expiresAt: z.string().describe(\"Expiration timestamp for the share (ISO 8601 date-time)\").nullable().optional(),\n published: z.boolean().describe(\"Whether the share is published\").nullable(),\n updatedAt: z.string().describe(\"Timestamp when the share was last updated (ISO 8601 date-time)\").nullable(),\n documentId: z.string().describe(\"Identifier of the document being shared (UUID)\").nullable(),\n documentUrl: z.string().describe(\"URL of the original document\").nullable().optional(),\n documentTitle: z.string().describe(\"Title of the shared document\").nullable().optional(),\n lastAccessedAt: z.string().describe(\"Timestamp when the share was last viewed\").nullable().optional(),\n includeChildDocuments: z.boolean().describe(\"Whether child documents are included in the share\").nullable(),\n}).passthrough().describe(\"Share object representing a public share link.\");\nconst OutlineCreateShare_PolicySchema = z.object({\n id: z.string().describe(\"Identifier matching the resource this policy governs\").nullable(),\n abilities: z.record(z.string(), z.unknown()).describe(\"Dictionary of action names to boolean values indicating whether the action is allowed\").nullable().optional(),\n}).passthrough().describe(\"Policy object describing authorized actions for a resource.\");\nexport const OutlineCreateShareOutput = z.object({\n data: OutlineCreateShare_ShareDataSchema.nullable(),\n policies: z.array(OutlineCreateShare_PolicySchema).describe(\"Array of policy objects describing authorized actions for the share\").nullable().optional(),\n}).passthrough().describe(\"Response model for creating a share link in Outline.\");\n\nexport const outlineCreateShare: AppAction<\n typeof OutlineCreateShareInput,\n typeof OutlineCreateShareOutput,\n typeof outline.credential\n> = action(\"OUTLINE_CREATE_SHARE\", {\n slug: \"outline-create-share\",\n name: \"Create Share\",\n description: \"Tool to create a public share link for an Outline document. Use when you need to generate a shareable URL that allows access without workspace membership. If you request multiple shares for the same document with the same API key, the same share object will be returned.\",\n input: OutlineCreateShareInput,\n output: OutlineCreateShareOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CACnJ,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAs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OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAM,mCAAmC,SAAS;CAClD,UAAUA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { outline } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-share.d.ts
@@ -39,12 +41,7 @@ declare const OutlineCreateShareOutput: z.ZodObject<{
39
41
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
40
42
  }, z.core.$loose>>>>;
41
43
  }, z.core.$loose>;
42
- declare const outlineCreateShare: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- documentId: string;
44
- password?: string | undefined;
45
- expiresAt?: string | undefined;
46
- includeChildDocuments?: boolean | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const outlineCreateShare: AppAction<typeof OutlineCreateShareInput, typeof OutlineCreateShareOutput, typeof outline.credential>;
48
45
  //#endregion
49
46
  export { outlineCreateShare };
50
47
  //# sourceMappingURL=create-share.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-share.d.cts","names":[],"sources":["../../src/actions/create-share.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAqCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"create-share.d.cts","names":[],"sources":["../../src/actions/create-share.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAqCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { outline } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-share.d.ts
@@ -39,12 +41,7 @@ declare const OutlineCreateShareOutput: z.ZodObject<{
39
41
  abilities: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
40
42
  }, z.core.$loose>>>>;
41
43
  }, z.core.$loose>;
42
- declare const outlineCreateShare: import("@keystrokehq/action").WorkflowActionDefinition<{
43
- documentId: string;
44
- password?: string | undefined;
45
- expiresAt?: string | undefined;
46
- includeChildDocuments?: boolean | undefined;
47
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
44
+ declare const outlineCreateShare: AppAction<typeof OutlineCreateShareInput, typeof OutlineCreateShareOutput, typeof outline.credential>;
48
45
  //#endregion
49
46
  export { outlineCreateShare };
50
47
  //# sourceMappingURL=create-share.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-share.d.mts","names":[],"sources":["../../src/actions/create-share.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAqCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"create-share.d.mts","names":[],"sources":["../../src/actions/create-share.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAqCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,OAAA,CAAQ,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  //#region src/actions/create-share.ts