@keystrokehq/roam 0.1.0

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 (346) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/add-group-members.cjs +20 -0
  7. package/dist/actions/add-group-members.cjs.map +1 -0
  8. package/dist/actions/add-group-members.d.cts +9 -0
  9. package/dist/actions/add-group-members.d.cts.map +1 -0
  10. package/dist/actions/add-group-members.d.mts +9 -0
  11. package/dist/actions/add-group-members.d.mts.map +1 -0
  12. package/dist/actions/add-group-members.mjs +17 -0
  13. package/dist/actions/add-group-members.mjs.map +1 -0
  14. package/dist/actions/add-reaction.cjs +28 -0
  15. package/dist/actions/add-reaction.cjs.map +1 -0
  16. package/dist/actions/add-reaction.d.cts +9 -0
  17. package/dist/actions/add-reaction.d.cts.map +1 -0
  18. package/dist/actions/add-reaction.d.mts +9 -0
  19. package/dist/actions/add-reaction.d.mts.map +1 -0
  20. package/dist/actions/add-reaction.mjs +25 -0
  21. package/dist/actions/add-reaction.mjs.map +1 -0
  22. package/dist/actions/create-group.cjs +28 -0
  23. package/dist/actions/create-group.cjs.map +1 -0
  24. package/dist/actions/create-group.d.cts +9 -0
  25. package/dist/actions/create-group.d.cts.map +1 -0
  26. package/dist/actions/create-group.d.mts +9 -0
  27. package/dist/actions/create-group.d.mts.map +1 -0
  28. package/dist/actions/create-group.mjs +25 -0
  29. package/dist/actions/create-group.mjs.map +1 -0
  30. package/dist/actions/create-roam-scim-group.cjs +26 -0
  31. package/dist/actions/create-roam-scim-group.cjs.map +1 -0
  32. package/dist/actions/create-roam-scim-group.d.cts +9 -0
  33. package/dist/actions/create-roam-scim-group.d.cts.map +1 -0
  34. package/dist/actions/create-roam-scim-group.d.mts +9 -0
  35. package/dist/actions/create-roam-scim-group.d.mts.map +1 -0
  36. package/dist/actions/create-roam-scim-group.mjs +23 -0
  37. package/dist/actions/create-roam-scim-group.mjs.map +1 -0
  38. package/dist/actions/create-user.cjs +51 -0
  39. package/dist/actions/create-user.cjs.map +1 -0
  40. package/dist/actions/create-user.d.cts +9 -0
  41. package/dist/actions/create-user.d.cts.map +1 -0
  42. package/dist/actions/create-user.d.mts +9 -0
  43. package/dist/actions/create-user.d.mts.map +1 -0
  44. package/dist/actions/create-user.mjs +50 -0
  45. package/dist/actions/create-user.mjs.map +1 -0
  46. package/dist/actions/delete-group.cjs +19 -0
  47. package/dist/actions/delete-group.cjs.map +1 -0
  48. package/dist/actions/delete-group.d.cts +9 -0
  49. package/dist/actions/delete-group.d.cts.map +1 -0
  50. package/dist/actions/delete-group.d.mts +9 -0
  51. package/dist/actions/delete-group.d.mts.map +1 -0
  52. package/dist/actions/delete-group.mjs +16 -0
  53. package/dist/actions/delete-group.mjs.map +1 -0
  54. package/dist/actions/delete-user.cjs +19 -0
  55. package/dist/actions/delete-user.cjs.map +1 -0
  56. package/dist/actions/delete-user.d.cts +9 -0
  57. package/dist/actions/delete-user.d.cts.map +1 -0
  58. package/dist/actions/delete-user.d.mts +9 -0
  59. package/dist/actions/delete-user.d.mts.map +1 -0
  60. package/dist/actions/delete-user.mjs +16 -0
  61. package/dist/actions/delete-user.mjs.map +1 -0
  62. package/dist/actions/get-address-info.cjs +25 -0
  63. package/dist/actions/get-address-info.cjs.map +1 -0
  64. package/dist/actions/get-address-info.d.cts +9 -0
  65. package/dist/actions/get-address-info.d.cts.map +1 -0
  66. package/dist/actions/get-address-info.d.mts +9 -0
  67. package/dist/actions/get-address-info.d.mts.map +1 -0
  68. package/dist/actions/get-address-info.mjs +24 -0
  69. package/dist/actions/get-address-info.mjs.map +1 -0
  70. package/dist/actions/get-chat-history.cjs +35 -0
  71. package/dist/actions/get-chat-history.cjs.map +1 -0
  72. package/dist/actions/get-chat-history.d.cts +9 -0
  73. package/dist/actions/get-chat-history.d.cts.map +1 -0
  74. package/dist/actions/get-chat-history.d.mts +9 -0
  75. package/dist/actions/get-chat-history.d.mts.map +1 -0
  76. package/dist/actions/get-chat-history.mjs +34 -0
  77. package/dist/actions/get-chat-history.mjs.map +1 -0
  78. package/dist/actions/get-meeting-link.cjs +23 -0
  79. package/dist/actions/get-meeting-link.cjs.map +1 -0
  80. package/dist/actions/get-meeting-link.d.cts +9 -0
  81. package/dist/actions/get-meeting-link.d.cts.map +1 -0
  82. package/dist/actions/get-meeting-link.d.mts +9 -0
  83. package/dist/actions/get-meeting-link.d.mts.map +1 -0
  84. package/dist/actions/get-meeting-link.mjs +20 -0
  85. package/dist/actions/get-meeting-link.mjs.map +1 -0
  86. package/dist/actions/get-resource-types.cjs +27 -0
  87. package/dist/actions/get-resource-types.cjs.map +1 -0
  88. package/dist/actions/get-resource-types.d.cts +9 -0
  89. package/dist/actions/get-resource-types.d.cts.map +1 -0
  90. package/dist/actions/get-resource-types.d.mts +9 -0
  91. package/dist/actions/get-resource-types.d.mts.map +1 -0
  92. package/dist/actions/get-resource-types.mjs +26 -0
  93. package/dist/actions/get-resource-types.mjs.map +1 -0
  94. package/dist/actions/get-roam-scim-config.cjs +49 -0
  95. package/dist/actions/get-roam-scim-config.cjs.map +1 -0
  96. package/dist/actions/get-roam-scim-config.d.cts +9 -0
  97. package/dist/actions/get-roam-scim-config.d.cts.map +1 -0
  98. package/dist/actions/get-roam-scim-config.d.mts +9 -0
  99. package/dist/actions/get-roam-scim-config.d.mts.map +1 -0
  100. package/dist/actions/get-roam-scim-config.mjs +48 -0
  101. package/dist/actions/get-roam-scim-config.mjs.map +1 -0
  102. package/dist/actions/get-scim-schema.cjs +23 -0
  103. package/dist/actions/get-scim-schema.cjs.map +1 -0
  104. package/dist/actions/get-scim-schema.d.cts +9 -0
  105. package/dist/actions/get-scim-schema.d.cts.map +1 -0
  106. package/dist/actions/get-scim-schema.d.mts +9 -0
  107. package/dist/actions/get-scim-schema.d.mts.map +1 -0
  108. package/dist/actions/get-scim-schema.mjs +20 -0
  109. package/dist/actions/get-scim-schema.mjs.map +1 -0
  110. package/dist/actions/get-scim-user.cjs +43 -0
  111. package/dist/actions/get-scim-user.cjs.map +1 -0
  112. package/dist/actions/get-scim-user.d.cts +9 -0
  113. package/dist/actions/get-scim-user.d.cts.map +1 -0
  114. package/dist/actions/get-scim-user.d.mts +9 -0
  115. package/dist/actions/get-scim-user.d.mts.map +1 -0
  116. package/dist/actions/get-scim-user.mjs +42 -0
  117. package/dist/actions/get-scim-user.mjs.map +1 -0
  118. package/dist/actions/get-test.cjs +16 -0
  119. package/dist/actions/get-test.cjs.map +1 -0
  120. package/dist/actions/get-test.d.cts +9 -0
  121. package/dist/actions/get-test.d.cts.map +1 -0
  122. package/dist/actions/get-test.d.mts +9 -0
  123. package/dist/actions/get-test.d.mts.map +1 -0
  124. package/dist/actions/get-test.mjs +13 -0
  125. package/dist/actions/get-test.mjs.map +1 -0
  126. package/dist/actions/get-token-info.cjs +26 -0
  127. package/dist/actions/get-token-info.cjs.map +1 -0
  128. package/dist/actions/get-token-info.d.cts +9 -0
  129. package/dist/actions/get-token-info.d.cts.map +1 -0
  130. package/dist/actions/get-token-info.d.mts +9 -0
  131. package/dist/actions/get-token-info.d.mts.map +1 -0
  132. package/dist/actions/get-token-info.mjs +25 -0
  133. package/dist/actions/get-token-info.mjs.map +1 -0
  134. package/dist/actions/get-user-info.cjs +27 -0
  135. package/dist/actions/get-user-info.cjs.map +1 -0
  136. package/dist/actions/get-user-info.d.cts +9 -0
  137. package/dist/actions/get-user-info.d.cts.map +1 -0
  138. package/dist/actions/get-user-info.d.mts +9 -0
  139. package/dist/actions/get-user-info.d.mts.map +1 -0
  140. package/dist/actions/get-user-info.mjs +24 -0
  141. package/dist/actions/get-user-info.mjs.map +1 -0
  142. package/dist/actions/index.cjs +79 -0
  143. package/dist/actions/index.d.cts +40 -0
  144. package/dist/actions/index.d.mts +40 -0
  145. package/dist/actions/index.mjs +40 -0
  146. package/dist/actions/list-chats.cjs +28 -0
  147. package/dist/actions/list-chats.cjs.map +1 -0
  148. package/dist/actions/list-chats.d.cts +9 -0
  149. package/dist/actions/list-chats.d.cts.map +1 -0
  150. package/dist/actions/list-chats.d.mts +9 -0
  151. package/dist/actions/list-chats.d.mts.map +1 -0
  152. package/dist/actions/list-chats.mjs +27 -0
  153. package/dist/actions/list-chats.mjs.map +1 -0
  154. package/dist/actions/list-group-members.cjs +27 -0
  155. package/dist/actions/list-group-members.cjs.map +1 -0
  156. package/dist/actions/list-group-members.d.cts +9 -0
  157. package/dist/actions/list-group-members.d.cts.map +1 -0
  158. package/dist/actions/list-group-members.d.mts +9 -0
  159. package/dist/actions/list-group-members.d.mts.map +1 -0
  160. package/dist/actions/list-group-members.mjs +26 -0
  161. package/dist/actions/list-group-members.mjs.map +1 -0
  162. package/dist/actions/list-groups.cjs +38 -0
  163. package/dist/actions/list-groups.cjs.map +1 -0
  164. package/dist/actions/list-groups.d.cts +9 -0
  165. package/dist/actions/list-groups.d.cts.map +1 -0
  166. package/dist/actions/list-groups.d.mts +9 -0
  167. package/dist/actions/list-groups.d.mts.map +1 -0
  168. package/dist/actions/list-groups.mjs +37 -0
  169. package/dist/actions/list-groups.mjs.map +1 -0
  170. package/dist/actions/list-lobbies.cjs +24 -0
  171. package/dist/actions/list-lobbies.cjs.map +1 -0
  172. package/dist/actions/list-lobbies.d.cts +9 -0
  173. package/dist/actions/list-lobbies.d.cts.map +1 -0
  174. package/dist/actions/list-lobbies.d.mts +9 -0
  175. package/dist/actions/list-lobbies.d.mts.map +1 -0
  176. package/dist/actions/list-lobbies.mjs +23 -0
  177. package/dist/actions/list-lobbies.mjs.map +1 -0
  178. package/dist/actions/list-meetings.cjs +38 -0
  179. package/dist/actions/list-meetings.cjs.map +1 -0
  180. package/dist/actions/list-meetings.d.cts +9 -0
  181. package/dist/actions/list-meetings.d.cts.map +1 -0
  182. package/dist/actions/list-meetings.d.mts +9 -0
  183. package/dist/actions/list-meetings.d.mts.map +1 -0
  184. package/dist/actions/list-meetings.mjs +37 -0
  185. package/dist/actions/list-meetings.mjs.map +1 -0
  186. package/dist/actions/list-recordings.cjs +31 -0
  187. package/dist/actions/list-recordings.cjs.map +1 -0
  188. package/dist/actions/list-recordings.d.cts +9 -0
  189. package/dist/actions/list-recordings.d.cts.map +1 -0
  190. package/dist/actions/list-recordings.d.mts +9 -0
  191. package/dist/actions/list-recordings.d.mts.map +1 -0
  192. package/dist/actions/list-recordings.mjs +30 -0
  193. package/dist/actions/list-recordings.mjs.map +1 -0
  194. package/dist/actions/list-roam-scim-users.cjs +54 -0
  195. package/dist/actions/list-roam-scim-users.cjs.map +1 -0
  196. package/dist/actions/list-roam-scim-users.d.cts +9 -0
  197. package/dist/actions/list-roam-scim-users.d.cts.map +1 -0
  198. package/dist/actions/list-roam-scim-users.d.mts +9 -0
  199. package/dist/actions/list-roam-scim-users.d.mts.map +1 -0
  200. package/dist/actions/list-roam-scim-users.mjs +53 -0
  201. package/dist/actions/list-roam-scim-users.mjs.map +1 -0
  202. package/dist/actions/list-schemas.cjs +27 -0
  203. package/dist/actions/list-schemas.cjs.map +1 -0
  204. package/dist/actions/list-schemas.d.cts +9 -0
  205. package/dist/actions/list-schemas.d.cts.map +1 -0
  206. package/dist/actions/list-schemas.d.mts +9 -0
  207. package/dist/actions/list-schemas.d.mts.map +1 -0
  208. package/dist/actions/list-schemas.mjs +26 -0
  209. package/dist/actions/list-schemas.mjs.map +1 -0
  210. package/dist/actions/list-transcripts.cjs +36 -0
  211. package/dist/actions/list-transcripts.cjs.map +1 -0
  212. package/dist/actions/list-transcripts.d.cts +9 -0
  213. package/dist/actions/list-transcripts.d.cts.map +1 -0
  214. package/dist/actions/list-transcripts.d.mts +9 -0
  215. package/dist/actions/list-transcripts.d.mts.map +1 -0
  216. package/dist/actions/list-transcripts.mjs +35 -0
  217. package/dist/actions/list-transcripts.mjs.map +1 -0
  218. package/dist/actions/list-user-audit-log.cjs +35 -0
  219. package/dist/actions/list-user-audit-log.cjs.map +1 -0
  220. package/dist/actions/list-user-audit-log.d.cts +9 -0
  221. package/dist/actions/list-user-audit-log.d.cts.map +1 -0
  222. package/dist/actions/list-user-audit-log.d.mts +9 -0
  223. package/dist/actions/list-user-audit-log.d.mts.map +1 -0
  224. package/dist/actions/list-user-audit-log.mjs +34 -0
  225. package/dist/actions/list-user-audit-log.mjs.map +1 -0
  226. package/dist/actions/list-users.cjs +31 -0
  227. package/dist/actions/list-users.cjs.map +1 -0
  228. package/dist/actions/list-users.d.cts +9 -0
  229. package/dist/actions/list-users.d.cts.map +1 -0
  230. package/dist/actions/list-users.d.mts +9 -0
  231. package/dist/actions/list-users.d.mts.map +1 -0
  232. package/dist/actions/list-users.mjs +30 -0
  233. package/dist/actions/list-users.mjs.map +1 -0
  234. package/dist/actions/lookup-user.cjs +24 -0
  235. package/dist/actions/lookup-user.cjs.map +1 -0
  236. package/dist/actions/lookup-user.d.cts +9 -0
  237. package/dist/actions/lookup-user.d.cts.map +1 -0
  238. package/dist/actions/lookup-user.d.mts +9 -0
  239. package/dist/actions/lookup-user.d.mts.map +1 -0
  240. package/dist/actions/lookup-user.mjs +21 -0
  241. package/dist/actions/lookup-user.mjs.map +1 -0
  242. package/dist/actions/patch-group.cjs +44 -0
  243. package/dist/actions/patch-group.cjs.map +1 -0
  244. package/dist/actions/patch-group.d.cts +9 -0
  245. package/dist/actions/patch-group.d.cts.map +1 -0
  246. package/dist/actions/patch-group.d.mts +9 -0
  247. package/dist/actions/patch-group.d.mts.map +1 -0
  248. package/dist/actions/patch-group.mjs +43 -0
  249. package/dist/actions/patch-group.mjs.map +1 -0
  250. package/dist/actions/patch-user.cjs +64 -0
  251. package/dist/actions/patch-user.cjs.map +1 -0
  252. package/dist/actions/patch-user.d.cts +9 -0
  253. package/dist/actions/patch-user.d.cts.map +1 -0
  254. package/dist/actions/patch-user.d.mts +9 -0
  255. package/dist/actions/patch-user.d.mts.map +1 -0
  256. package/dist/actions/patch-user.mjs +63 -0
  257. package/dist/actions/patch-user.mjs.map +1 -0
  258. package/dist/actions/post-chat.cjs +30 -0
  259. package/dist/actions/post-chat.cjs.map +1 -0
  260. package/dist/actions/post-chat.d.cts +9 -0
  261. package/dist/actions/post-chat.d.cts.map +1 -0
  262. package/dist/actions/post-chat.d.mts +9 -0
  263. package/dist/actions/post-chat.d.mts.map +1 -0
  264. package/dist/actions/post-chat.mjs +27 -0
  265. package/dist/actions/post-chat.mjs.map +1 -0
  266. package/dist/actions/remove-group-members.cjs +19 -0
  267. package/dist/actions/remove-group-members.cjs.map +1 -0
  268. package/dist/actions/remove-group-members.d.cts +9 -0
  269. package/dist/actions/remove-group-members.d.cts.map +1 -0
  270. package/dist/actions/remove-group-members.d.mts +9 -0
  271. package/dist/actions/remove-group-members.d.mts.map +1 -0
  272. package/dist/actions/remove-group-members.mjs +16 -0
  273. package/dist/actions/remove-group-members.mjs.map +1 -0
  274. package/dist/actions/replace-group.cjs +36 -0
  275. package/dist/actions/replace-group.cjs.map +1 -0
  276. package/dist/actions/replace-group.d.cts +9 -0
  277. package/dist/actions/replace-group.d.cts.map +1 -0
  278. package/dist/actions/replace-group.d.mts +9 -0
  279. package/dist/actions/replace-group.d.mts.map +1 -0
  280. package/dist/actions/replace-group.mjs +35 -0
  281. package/dist/actions/replace-group.mjs.map +1 -0
  282. package/dist/actions/replace-user.cjs +52 -0
  283. package/dist/actions/replace-user.cjs.map +1 -0
  284. package/dist/actions/replace-user.d.cts +9 -0
  285. package/dist/actions/replace-user.d.cts.map +1 -0
  286. package/dist/actions/replace-user.d.mts +9 -0
  287. package/dist/actions/replace-user.d.mts.map +1 -0
  288. package/dist/actions/replace-user.mjs +51 -0
  289. package/dist/actions/replace-user.mjs.map +1 -0
  290. package/dist/actions/send-message.cjs +28 -0
  291. package/dist/actions/send-message.cjs.map +1 -0
  292. package/dist/actions/send-message.d.cts +9 -0
  293. package/dist/actions/send-message.d.cts.map +1 -0
  294. package/dist/actions/send-message.d.mts +9 -0
  295. package/dist/actions/send-message.d.mts.map +1 -0
  296. package/dist/actions/send-message.mjs +25 -0
  297. package/dist/actions/send-message.mjs.map +1 -0
  298. package/dist/actions/send-typing.cjs +19 -0
  299. package/dist/actions/send-typing.cjs.map +1 -0
  300. package/dist/actions/send-typing.d.cts +9 -0
  301. package/dist/actions/send-typing.d.cts.map +1 -0
  302. package/dist/actions/send-typing.d.mts +9 -0
  303. package/dist/actions/send-typing.d.mts.map +1 -0
  304. package/dist/actions/send-typing.mjs +16 -0
  305. package/dist/actions/send-typing.mjs.map +1 -0
  306. package/dist/actions/update-meeting-link.cjs +22 -0
  307. package/dist/actions/update-meeting-link.cjs.map +1 -0
  308. package/dist/actions/update-meeting-link.d.cts +9 -0
  309. package/dist/actions/update-meeting-link.d.cts.map +1 -0
  310. package/dist/actions/update-meeting-link.d.mts +9 -0
  311. package/dist/actions/update-meeting-link.d.mts.map +1 -0
  312. package/dist/actions/update-meeting-link.mjs +19 -0
  313. package/dist/actions/update-meeting-link.mjs.map +1 -0
  314. package/dist/actions/upload-item.cjs +33 -0
  315. package/dist/actions/upload-item.cjs.map +1 -0
  316. package/dist/actions/upload-item.d.cts +9 -0
  317. package/dist/actions/upload-item.d.cts.map +1 -0
  318. package/dist/actions/upload-item.d.mts +9 -0
  319. package/dist/actions/upload-item.d.mts.map +1 -0
  320. package/dist/actions/upload-item.mjs +30 -0
  321. package/dist/actions/upload-item.mjs.map +1 -0
  322. package/dist/app.cjs +9 -0
  323. package/dist/app.cjs.map +1 -0
  324. package/dist/app.d.cts +5 -0
  325. package/dist/app.d.cts.map +1 -0
  326. package/dist/app.d.mts +5 -0
  327. package/dist/app.d.mts.map +1 -0
  328. package/dist/app.mjs +10 -0
  329. package/dist/app.mjs.map +1 -0
  330. package/dist/catalog.cjs +15 -0
  331. package/dist/catalog.cjs.map +1 -0
  332. package/dist/catalog.d.cts +14 -0
  333. package/dist/catalog.d.cts.map +1 -0
  334. package/dist/catalog.d.mts +14 -0
  335. package/dist/catalog.d.mts.map +1 -0
  336. package/dist/catalog.mjs +15 -0
  337. package/dist/catalog.mjs.map +1 -0
  338. package/dist/execute.cjs +18 -0
  339. package/dist/execute.cjs.map +1 -0
  340. package/dist/execute.mjs +18 -0
  341. package/dist/execute.mjs.map +1 -0
  342. package/dist/index.cjs +84 -0
  343. package/dist/index.d.cts +42 -0
  344. package/dist/index.d.mts +42 -0
  345. package/dist/index.mjs +43 -0
  346. package/package.json +49 -0
@@ -0,0 +1,50 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/create-user.ts
4
+ const RoamCreateUserInput = z.object({
5
+ name: z.object({
6
+ givenName: z.string().describe("First name of the user"),
7
+ familyName: z.string().describe("Last name of the user")
8
+ }).describe("Name object containing the user's given name and family name."),
9
+ role: z.enum(["User", "Admin"]).default("User").describe("User role in Roam organization.").optional(),
10
+ active: z.boolean().default(true).describe("Whether the user account is active. Set to false to archive/deprovision the user. Defaults to true.").optional(),
11
+ emails: z.array(z.object({
12
+ type: z.string().default("work").describe("Type of email address").optional(),
13
+ value: z.string().describe("Email address of the user"),
14
+ primary: z.boolean().describe("Whether this is the primary email address")
15
+ }).describe("Email object for SCIM user.")).describe("List of email addresses for the user. The primary email must match userName."),
16
+ schemas: z.array(z.string()).default(["urn:ietf:params:scim:schemas:core:2.0:User"]).describe("SCIM schemas to include in the request. Defaults to standard User schema.").optional(),
17
+ userName: z.string().describe("Username for the user. Must be the user's email address and must exactly match the primary email value."),
18
+ externalId: z.string().describe("External identifier for correlation with IdP records.").optional(),
19
+ displayName: z.string().describe("Full name of the user. Note: Roam auto-generates this from givenName + familyName, so this value may be ignored.").optional()
20
+ }).describe("Request model for creating a new user via SCIM 2.0.");
21
+ const RoamCreateUser_UserNameSchemaSchema = z.object({
22
+ givenName: z.string().describe("First name of the user.").nullable().optional(),
23
+ familyName: z.string().describe("Last name of the user.").nullable().optional()
24
+ }).describe("Name response object from SCIM user.");
25
+ const RoamCreateUser_EmailResponseSchema = z.object({
26
+ type: z.string().describe("Type of email address.").nullable().optional(),
27
+ value: z.string().describe("Email address.").nullable().optional(),
28
+ primary: z.boolean().describe("Whether this is the primary email.").nullable().optional()
29
+ }).describe("Email response object from SCIM user.");
30
+ const RoamCreateUser_RoamExtensionResponseSchema = z.object({ role: z.string().describe("Role of the user in the organization.").nullable().optional() }).describe("Roam-specific SCIM extension response.");
31
+ const roamCreateUser = action("ROAM_CREATE_USER", {
32
+ slug: "roam-create-user",
33
+ name: "Create Roam User",
34
+ description: "Create a new user in Roam via SCIM 2.0 protocol for automated user provisioning. Use when you need to add a new user to your Roam organization. The userName must match the primary email address exactly. The role defaults to 'User' but can be set to 'Admin' for administrative access. Note: Password attributes are not supported and will be ignored.",
35
+ input: RoamCreateUserInput,
36
+ output: z.object({
37
+ id: z.string().describe("Roam's unique Person ID for the created user."),
38
+ name: RoamCreateUser_UserNameSchemaSchema.nullable().optional(),
39
+ active: z.boolean().describe("Whether the user account is active.").nullable().optional(),
40
+ emails: z.array(RoamCreateUser_EmailResponseSchema).describe("List of email addresses for the created user.").nullable().optional(),
41
+ userName: z.string().describe("Username (email) of the created user.").nullable().optional(),
42
+ externalId: z.string().describe("External identifier if provided during creation.").nullable().optional(),
43
+ displayName: z.string().describe("Display name of the created user (auto-generated from givenName + familyName).").nullable().optional(),
44
+ roam_extension: RoamCreateUser_RoamExtensionResponseSchema.nullable().optional()
45
+ }).describe("Response model after creating a user via SCIM 2.0.")
46
+ });
47
+ //#endregion
48
+ export { roamCreateUser };
49
+
50
+ //# sourceMappingURL=create-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamCreateUserInput: z.ZodTypeAny = z.object({\n name: z.object({\n givenName: z.string().describe(\"First name of the user\"),\n familyName: z.string().describe(\"Last name of the user\"),\n}).describe(\"Name object containing the user's given name and family name.\"),\n role: z.enum([\"User\", \"Admin\"]).default(\"User\").describe(\"User role in Roam organization.\").optional(),\n active: z.boolean().default(true).describe(\"Whether the user account is active. Set to false to archive/deprovision the user. Defaults to true.\").optional(),\n emails: z.array(z.object({\n type: z.string().default(\"work\").describe(\"Type of email address\").optional(),\n value: z.string().describe(\"Email address of the user\"),\n primary: z.boolean().describe(\"Whether this is the primary email address\"),\n}).describe(\"Email object for SCIM user.\")).describe(\"List of email addresses for the user. The primary email must match userName.\"),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:User\"]).describe(\"SCIM schemas to include in the request. Defaults to standard User schema.\").optional(),\n userName: z.string().describe(\"Username for the user. Must be the user's email address and must exactly match the primary email value.\"),\n externalId: z.string().describe(\"External identifier for correlation with IdP records.\").optional(),\n displayName: z.string().describe(\"Full name of the user. Note: Roam auto-generates this from givenName + familyName, so this value may be ignored.\").optional(),\n}).describe(\"Request model for creating a new user via SCIM 2.0.\");\nconst RoamCreateUser_UserNameSchemaSchema: z.ZodTypeAny = z.object({\n givenName: z.string().describe(\"First name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"Last name of the user.\").nullable().optional(),\n}).describe(\"Name response object from SCIM user.\");\nconst RoamCreateUser_EmailResponseSchema: z.ZodTypeAny = z.object({\n type: z.string().describe(\"Type of email address.\").nullable().optional(),\n value: z.string().describe(\"Email address.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email.\").nullable().optional(),\n}).describe(\"Email response object from SCIM user.\");\nconst RoamCreateUser_RoamExtensionResponseSchema: z.ZodTypeAny = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).describe(\"Roam-specific SCIM extension response.\");\nexport const RoamCreateUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the created user.\"),\n name: RoamCreateUser_UserNameSchemaSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active.\").nullable().optional(),\n emails: z.array(RoamCreateUser_EmailResponseSchema).describe(\"List of email addresses for the created user.\").nullable().optional(),\n userName: z.string().describe(\"Username (email) of the created user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier if provided during creation.\").nullable().optional(),\n displayName: z.string().describe(\"Display name of the created user (auto-generated from givenName + familyName).\").nullable().optional(),\n roam_extension: RoamCreateUser_RoamExtensionResponseSchema.nullable().optional(),\n}).describe(\"Response model after creating a user via SCIM 2.0.\");\n\nexport const roamCreateUser = action(\"ROAM_CREATE_USER\", {\n slug: \"roam-create-user\",\n name: \"Create Roam User\",\n description: \"Create a new user in Roam via SCIM 2.0 protocol for automated user provisioning. Use when you need to add a new user to your Roam organization. The userName must match the primary email address exactly. The role defaults to 'User' but can be set to 'Admin' for administrative access. Note: Password attributes are not supported and will be ignored.\",\n input: RoamCreateUserInput,\n output: RoamCreateUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoC,EAAE,OAAO;CACxD,MAAM,EAAE,OAAO;EACf,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACzD,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,MAAM,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC3J,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,8EAA8E;CACjI,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,4CAA4C,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpL,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CACvI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAoD,EAAE,OAAO;CACjE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,6CAA2D,EAAE,OAAO,EACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AAYpD,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C;EACvE,MAAM,oCAAoC,SAAS,CAAC,CAAC,SAAS;EAC9D,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,QAAQ,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACjF,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-group.ts
4
+ const RoamDeleteGroupInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the group to archive. This is the SCIM group ID.") }).describe("Request model for deleting (archiving) a group via SCIM 2.0.");
5
+ const RoamDeleteGroupOutput = zod.z.object({
6
+ success: zod.z.boolean().describe("Indicates whether the group was archived successfully. True means the group has been soft-deleted."),
7
+ status_code: zod.z.number().int().describe("HTTP status code returned by the API. 204 indicates successful deletion.")
8
+ }).describe("Response model after archiving a group via SCIM 2.0.");
9
+ const roamDeleteGroup = require_action.action("ROAM_DELETE_GROUP", {
10
+ slug: "roam-delete-group",
11
+ name: "Delete Roam Group",
12
+ description: "Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.",
13
+ input: RoamDeleteGroupInput,
14
+ output: RoamDeleteGroupOutput
15
+ });
16
+ //#endregion
17
+ exports.roamDeleteGroup = roamDeleteGroup;
18
+
19
+ //# sourceMappingURL=delete-group.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteGroupInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\"),\n}).describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG;CAClI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;AACnH,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-group.d.ts
4
+ declare const RoamDeleteGroupInput: z.ZodTypeAny;
5
+ declare const RoamDeleteGroupOutput: z.ZodTypeAny;
6
+ declare const roamDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamDeleteGroup };
9
+ //# sourceMappingURL=delete-group.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEsC;AAAA,cAC9D,qBAAA,EAAuB,CAAA,CAAE,UAG6B;AAAA,cAEtD,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-group.d.ts
4
+ declare const RoamDeleteGroupInput: z.ZodTypeAny;
5
+ declare const RoamDeleteGroupOutput: z.ZodTypeAny;
6
+ declare const roamDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamDeleteGroup };
9
+ //# sourceMappingURL=delete-group.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAEsC;AAAA,cAC9D,qBAAA,EAAuB,CAAA,CAAE,UAG6B;AAAA,cAEtD,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const roamDeleteGroup = action("ROAM_DELETE_GROUP", {
4
+ slug: "roam-delete-group",
5
+ name: "Delete Roam Group",
6
+ description: "Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.",
7
+ input: z.object({ id: z.string().describe("The unique identifier of the group to archive. This is the SCIM group ID.") }).describe("Request model for deleting (archiving) a group via SCIM 2.0."),
8
+ output: z.object({
9
+ success: z.boolean().describe("Indicates whether the group was archived successfully. True means the group has been soft-deleted."),
10
+ status_code: z.number().int().describe("HTTP status code returned by the API. 204 indicates successful deletion.")
11
+ }).describe("Response model after archiving a group via SCIM 2.0.")
12
+ });
13
+ //#endregion
14
+ export { roamDeleteGroup };
15
+
16
+ //# sourceMappingURL=delete-group.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteGroupInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\"),\n}).describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;AAYA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZgD,EAAE,OAAO,EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAViD,EAAE,OAAO;EAC1D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG;EAClI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CACnH,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/delete-user.ts
4
+ const RoamDeleteUserInput = zod.z.object({ id: zod.z.string().describe("The unique identifier of the user to archive. This is the SCIM user ID.") }).describe("Request model for deleting (archiving) a user via SCIM 2.0.");
5
+ const RoamDeleteUserOutput = zod.z.object({
6
+ success: zod.z.boolean().describe("Indicates whether the user was archived successfully. True means the user has been soft-deleted."),
7
+ status_code: zod.z.number().int().describe("HTTP status code returned by the API. 204 indicates successful deletion.")
8
+ }).describe("Response model after archiving a user via SCIM 2.0.");
9
+ const roamDeleteUser = require_action.action("ROAM_DELETE_USER", {
10
+ slug: "roam-delete-user",
11
+ name: "Delete Roam User",
12
+ description: "Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.",
13
+ input: RoamDeleteUserInput,
14
+ output: RoamDeleteUserOutput
15
+ });
16
+ //#endregion
17
+ exports.roamDeleteUser = roamDeleteUser;
18
+
19
+ //# sourceMappingURL=delete-user.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\"),\n}).describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG;CAChI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;AACnH,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user.d.ts
4
+ declare const RoamDeleteUserInput: z.ZodTypeAny;
5
+ declare const RoamDeleteUserOutput: z.ZodTypeAny;
6
+ declare const roamDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamDeleteUser };
9
+ //# sourceMappingURL=delete-user.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEsC;AAAA,cAC7D,oBAAA,EAAsB,CAAA,CAAE,UAG6B;AAAA,cAErD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/delete-user.d.ts
4
+ declare const RoamDeleteUserInput: z.ZodTypeAny;
5
+ declare const RoamDeleteUserOutput: z.ZodTypeAny;
6
+ declare const roamDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamDeleteUser };
9
+ //# sourceMappingURL=delete-user.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAEsC;AAAA,cAC7D,oBAAA,EAAsB,CAAA,CAAE,UAG6B;AAAA,cAErD,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const roamDeleteUser = action("ROAM_DELETE_USER", {
4
+ slug: "roam-delete-user",
5
+ name: "Delete Roam User",
6
+ description: "Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.",
7
+ input: z.object({ id: z.string().describe("The unique identifier of the user to archive. This is the SCIM user ID.") }).describe("Request model for deleting (archiving) a user via SCIM 2.0."),
8
+ output: z.object({
9
+ success: z.boolean().describe("Indicates whether the user was archived successfully. True means the user has been soft-deleted."),
10
+ status_code: z.number().int().describe("HTTP status code returned by the API. 204 indicates successful deletion.")
11
+ }).describe("Response model after archiving a user via SCIM 2.0.")
12
+ });
13
+ //#endregion
14
+ export { roamDeleteUser };
15
+
16
+ //# sourceMappingURL=delete-user.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteUserInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput: z.ZodTypeAny = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\"),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\"),\n}).describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ+C,EAAE,OAAO,EACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAVgD,EAAE,OAAO;EACzD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG;EAChI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E;CACnH,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,25 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-address-info.ts
4
+ const RoamGetAddressInfoInput = zod.z.object({ addr: zod.z.string().describe("The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") }).describe("Request parameters for retrieving information about a chat address.");
5
+ const RoamGetAddressInfo_AddressTypeSchema = zod.z.enum(["user", "bot"]).describe("Type of chat address.");
6
+ const RoamGetAddressInfoOutput = zod.z.object({
7
+ id: zod.z.string().describe("Unique identifier of the address (TaggedUUID format)").nullable().optional(),
8
+ type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),
9
+ email: zod.z.string().describe("Email address (for user type addresses)").nullable().optional(),
10
+ display_name: zod.z.string().describe("Display name of the address").nullable().optional(),
11
+ display_detail: zod.z.string().describe("Additional detail (for bot type addresses)").nullable().optional(),
12
+ integration_id: zod.z.string().describe("Integration ID (for bot type addresses)").nullable().optional(),
13
+ display_image_url: zod.z.string().describe("URL of the profile image").nullable().optional()
14
+ }).describe("Response containing information about a chat address.");
15
+ const roamGetAddressInfo = require_action.action("ROAM_GET_ADDRESS_INFO", {
16
+ slug: "roam-get-address-info",
17
+ name: "Get Address Info",
18
+ description: "Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read",
19
+ input: RoamGetAddressInfoInput,
20
+ output: RoamGetAddressInfoOutput
21
+ });
22
+ //#endregion
23
+ exports.roamGetAddressInfo = roamGetAddressInfo;
24
+
25
+ //# sourceMappingURL=get-address-info.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-address-info.cjs","names":["z","action"],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetAddressInfoInput: z.ZodTypeAny = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema: z.ZodTypeAny = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAqDA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACnH,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,SAAS,uDAAuD;AAEnE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-address-info.d.ts
4
+ declare const RoamGetAddressInfoInput: z.ZodTypeAny;
5
+ declare const RoamGetAddressInfoOutput: z.ZodTypeAny;
6
+ declare const roamGetAddressInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamGetAddressInfo };
9
+ //# sourceMappingURL=get-address-info.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-address-info.d.cts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE0C;AAAA,cAErE,wBAAA,EAA0B,CAAA,CAAE,UAQ2B;AAAA,cAEvD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-address-info.d.ts
4
+ declare const RoamGetAddressInfoInput: z.ZodTypeAny;
5
+ declare const RoamGetAddressInfoOutput: z.ZodTypeAny;
6
+ declare const roamGetAddressInfo: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamGetAddressInfo };
9
+ //# sourceMappingURL=get-address-info.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-address-info.d.mts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE0C;AAAA,cAErE,wBAAA,EAA0B,CAAA,CAAE,UAQ2B;AAAA,cAEvD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,24 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-address-info.ts
4
+ const RoamGetAddressInfoInput = z.object({ addr: z.string().describe("The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx") }).describe("Request parameters for retrieving information about a chat address.");
5
+ const RoamGetAddressInfo_AddressTypeSchema = z.enum(["user", "bot"]).describe("Type of chat address.");
6
+ const roamGetAddressInfo = action("ROAM_GET_ADDRESS_INFO", {
7
+ slug: "roam-get-address-info",
8
+ name: "Get Address Info",
9
+ description: "Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read",
10
+ input: RoamGetAddressInfoInput,
11
+ output: z.object({
12
+ id: z.string().describe("Unique identifier of the address (TaggedUUID format)").nullable().optional(),
13
+ type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),
14
+ email: z.string().describe("Email address (for user type addresses)").nullable().optional(),
15
+ display_name: z.string().describe("Display name of the address").nullable().optional(),
16
+ display_detail: z.string().describe("Additional detail (for bot type addresses)").nullable().optional(),
17
+ integration_id: z.string().describe("Integration ID (for bot type addresses)").nullable().optional(),
18
+ display_image_url: z.string().describe("URL of the profile image").nullable().optional()
19
+ }).describe("Response containing information about a chat address.")
20
+ });
21
+ //#endregion
22
+ export { roamGetAddressInfo };
23
+
24
+ //# sourceMappingURL=get-address-info.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-address-info.mjs","names":[],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetAddressInfoInput: z.ZodTypeAny = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema: z.ZodTypeAny = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO,EAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAqD,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAWnH,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,SAAS,uDAOF;AACV,CAAC"}
@@ -0,0 +1,35 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-chat-history.ts
4
+ const RoamGetChatHistoryInput = zod.z.object({
5
+ chat: zod.z.string().describe("The chat address (UUID) to fetch messages from."),
6
+ after: zod.z.string().describe("The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.").optional(),
7
+ limit: zod.z.number().int().describe("Number of messages to return. Default is 10, maximum is 200.").optional(),
8
+ before: zod.z.string().describe("The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.").optional(),
9
+ cursor: zod.z.string().describe("Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.").optional(),
10
+ thread_timestamp: zod.z.number().int().describe("Read replies of the message with this timestamp. Use to fetch replies to a specific message.").optional()
11
+ }).describe("Request model for retrieving chat history from a Roam chat.");
12
+ const RoamGetChatHistory_ChatMessageSchema = zod.z.object({
13
+ text: zod.z.string().describe("The message content/text body"),
14
+ type: zod.z.string().describe("Message type (e.g., 'message')"),
15
+ chatId: zod.z.string().describe("The chat ID where the message was posted"),
16
+ userId: zod.z.string().describe("The user ID who sent the message"),
17
+ timestamp: zod.z.number().int().describe("Unique identifying timestamp of the message"),
18
+ contentType: zod.z.string().describe("Content type (e.g., 'text')")
19
+ }).describe("A single message in a chat.");
20
+ const RoamGetChatHistoryOutput = zod.z.object({
21
+ chatId: zod.z.string().describe("The chat address"),
22
+ messages: zod.z.array(RoamGetChatHistory_ChatMessageSchema).describe("List of messages in the chat").nullable().optional(),
23
+ nextCursor: zod.z.string().describe("Cursor for fetching the next page of results").nullable().optional()
24
+ }).describe("Response model containing chat messages.");
25
+ const roamGetChatHistory = require_action.action("ROAM_GET_CHAT_HISTORY", {
26
+ slug: "roam-get-chat-history",
27
+ name: "Get chat history",
28
+ description: "Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.",
29
+ input: RoamGetChatHistoryInput,
30
+ output: RoamGetChatHistoryOutput
31
+ });
32
+ //#endregion
33
+ exports.roamGetChatHistory = roamGetChatHistory;
34
+
35
+ //# sourceMappingURL=get-chat-history.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat-history.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetChatHistoryInput: z.ZodTypeAny = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"The message content/text body\"),\n type: z.string().describe(\"Message type (e.g., 'message')\"),\n chatId: z.string().describe(\"The chat ID where the message was posted\"),\n userId: z.string().describe(\"The user ID who sent the message\"),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\"),\n contentType: z.string().describe(\"Content type (e.g., 'text')\"),\n}).describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput: z.ZodTypeAny = z.object({\n chatId: z.string().describe(\"The chat address\"),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO;CAC5D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAChE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AACzC,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;CAC9C,UAAUA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AAEtD,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-chat-history.d.ts
4
+ declare const RoamGetChatHistoryInput: z.ZodTypeAny;
5
+ declare const RoamGetChatHistoryOutput: z.ZodTypeAny;
6
+ declare const roamGetChatHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamGetChatHistory };
9
+ //# sourceMappingURL=get-chat-history.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat-history.d.cts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAOkC;AAAA,cAS7D,wBAAA,EAA0B,CAAA,CAAE,UAIc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-chat-history.d.ts
4
+ declare const RoamGetChatHistoryInput: z.ZodTypeAny;
5
+ declare const RoamGetChatHistoryOutput: z.ZodTypeAny;
6
+ declare const roamGetChatHistory: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamGetChatHistory };
9
+ //# sourceMappingURL=get-chat-history.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat-history.d.mts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAOkC;AAAA,cAS7D,wBAAA,EAA0B,CAAA,CAAE,UAIc;AAAA,cAE1C,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,34 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ //#region src/actions/get-chat-history.ts
4
+ const RoamGetChatHistoryInput = z.object({
5
+ chat: z.string().describe("The chat address (UUID) to fetch messages from."),
6
+ after: z.string().describe("The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.").optional(),
7
+ limit: z.number().int().describe("Number of messages to return. Default is 10, maximum is 200.").optional(),
8
+ before: z.string().describe("The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.").optional(),
9
+ cursor: z.string().describe("Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.").optional(),
10
+ thread_timestamp: z.number().int().describe("Read replies of the message with this timestamp. Use to fetch replies to a specific message.").optional()
11
+ }).describe("Request model for retrieving chat history from a Roam chat.");
12
+ const RoamGetChatHistory_ChatMessageSchema = z.object({
13
+ text: z.string().describe("The message content/text body"),
14
+ type: z.string().describe("Message type (e.g., 'message')"),
15
+ chatId: z.string().describe("The chat ID where the message was posted"),
16
+ userId: z.string().describe("The user ID who sent the message"),
17
+ timestamp: z.number().int().describe("Unique identifying timestamp of the message"),
18
+ contentType: z.string().describe("Content type (e.g., 'text')")
19
+ }).describe("A single message in a chat.");
20
+ const roamGetChatHistory = action("ROAM_GET_CHAT_HISTORY", {
21
+ slug: "roam-get-chat-history",
22
+ name: "Get chat history",
23
+ description: "Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.",
24
+ input: RoamGetChatHistoryInput,
25
+ output: z.object({
26
+ chatId: z.string().describe("The chat address"),
27
+ messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe("List of messages in the chat").nullable().optional(),
28
+ nextCursor: z.string().describe("Cursor for fetching the next page of results").nullable().optional()
29
+ }).describe("Response model containing chat messages.")
30
+ });
31
+ //#endregion
32
+ export { roamGetChatHistory };
33
+
34
+ //# sourceMappingURL=get-chat-history.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-chat-history.mjs","names":[],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetChatHistoryInput: z.ZodTypeAny = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema: z.ZodTypeAny = z.object({\n text: z.string().describe(\"The message content/text body\"),\n type: z.string().describe(\"Message type (e.g., 'message')\"),\n chatId: z.string().describe(\"The chat ID where the message was posted\"),\n userId: z.string().describe(\"The user ID who sent the message\"),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\"),\n contentType: z.string().describe(\"Content type (e.g., 'text')\"),\n}).describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput: z.ZodTypeAny = z.object({\n chatId: z.string().describe(\"The chat address\"),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwC,EAAE,OAAO;CAC5D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAqD,EAAE,OAAO;CAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC;CAC1D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;CACtE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C;CAClF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;AAChE,CAAC,CAAC,CAAC,SAAS,6BAA6B;AAOzC,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoD,EAAE,OAAO;EAC7D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB;EAC9C,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-meeting-link.ts
4
+ const RoamGetMeetingLinkInput = zod.z.object({ id: zod.z.string().describe("The unique identifier (UUID) of the meeting link to retrieve.") }).describe("Request model for retrieving meeting link information.");
5
+ const RoamGetMeetingLinkOutput = zod.z.object({
6
+ id: zod.z.string().describe("The unique identifier (UUID) of the meeting link."),
7
+ end: zod.z.string().describe("The meeting end time in RFC3339 format.").nullable().optional(),
8
+ url: zod.z.string().describe("The meeting link URL."),
9
+ host: zod.z.string().describe("The email address of the meeting host."),
10
+ name: zod.z.string().describe("The name of the meeting."),
11
+ start: zod.z.string().describe("The meeting start time in RFC3339 format.").nullable().optional()
12
+ }).describe("Response model containing meeting link information.");
13
+ const roamGetMeetingLink = require_action.action("ROAM_GET_MEETING_LINK", {
14
+ slug: "roam-get-meeting-link",
15
+ name: "Get meeting link",
16
+ description: "Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.",
17
+ input: RoamGetMeetingLinkInput,
18
+ output: RoamGetMeetingLinkOutput
19
+ });
20
+ //#endregion
21
+ exports.roamGetMeetingLink = roamGetMeetingLink;
22
+
23
+ //# sourceMappingURL=get-meeting-link.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-meeting-link.cjs","names":["z","action"],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetMeetingLinkInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\"),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\"),\n host: z.string().describe(\"The email address of the meeting host.\"),\n name: z.string().describe(\"The name of the meeting.\"),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3E,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-meeting-link.d.ts
4
+ declare const RoamGetMeetingLinkInput: z.ZodTypeAny;
5
+ declare const RoamGetMeetingLinkOutput: z.ZodTypeAny;
6
+ declare const roamGetMeetingLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamGetMeetingLink };
9
+ //# sourceMappingURL=get-meeting-link.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-meeting-link.d.cts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE6B;AAAA,cACxD,wBAAA,EAA0B,CAAA,CAAE,UAOyB;AAAA,cAErD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/get-meeting-link.d.ts
4
+ declare const RoamGetMeetingLinkInput: z.ZodTypeAny;
5
+ declare const RoamGetMeetingLinkOutput: z.ZodTypeAny;
6
+ declare const roamGetMeetingLink: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { roamGetMeetingLink };
9
+ //# sourceMappingURL=get-meeting-link.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-meeting-link.d.mts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAE6B;AAAA,cACxD,wBAAA,EAA0B,CAAA,CAAE,UAOyB;AAAA,cAErD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const roamGetMeetingLink = action("ROAM_GET_MEETING_LINK", {
4
+ slug: "roam-get-meeting-link",
5
+ name: "Get meeting link",
6
+ description: "Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.",
7
+ input: z.object({ id: z.string().describe("The unique identifier (UUID) of the meeting link to retrieve.") }).describe("Request model for retrieving meeting link information."),
8
+ output: z.object({
9
+ id: z.string().describe("The unique identifier (UUID) of the meeting link."),
10
+ end: z.string().describe("The meeting end time in RFC3339 format.").nullable().optional(),
11
+ url: z.string().describe("The meeting link URL."),
12
+ host: z.string().describe("The email address of the meeting host."),
13
+ name: z.string().describe("The name of the meeting."),
14
+ start: z.string().describe("The meeting start time in RFC3339 format.").nullable().optional()
15
+ }).describe("Response model containing meeting link information.")
16
+ });
17
+ //#endregion
18
+ export { roamGetMeetingLink };
19
+
20
+ //# sourceMappingURL=get-meeting-link.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-meeting-link.mjs","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetMeetingLinkInput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\"),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\"),\n host: z.string().describe(\"The email address of the meeting host.\"),\n name: z.string().describe(\"The name of the meeting.\"),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBmD,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAcH;CACP,QAdoD,EAAE,OAAO;EAC7D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC3E,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
@@ -0,0 +1,27 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/get-resource-types.ts
4
+ const RoamGetResourceTypesInput = zod.z.object({}).describe("No request parameters required for this endpoint.");
5
+ const RoamGetResourceTypes_ResourceTypeSchema = zod.z.object({
6
+ id: zod.z.string().describe("The resource type identifier (e.g., 'User', 'Group')"),
7
+ name: zod.z.string().describe("The human-readable name of the resource type"),
8
+ description: zod.z.string().describe("Description of the resource type")
9
+ }).describe("Represents a SCIM resource type.");
10
+ const RoamGetResourceTypesOutput = zod.z.object({
11
+ schemas: zod.z.array(zod.z.string()).describe("SCIM schema identifiers").nullable().optional(),
12
+ Resources: zod.z.array(RoamGetResourceTypes_ResourceTypeSchema).describe("Array of ResourceType objects representing supported resource types (e.g., User, Group)").nullable().optional(),
13
+ startIndex: zod.z.number().int().describe("1-based index for pagination"),
14
+ itemsPerPage: zod.z.number().int().describe("Number of items returned per page"),
15
+ totalResults: zod.z.number().int().describe("Total number of resource types available")
16
+ }).describe("Response model for the GetResourceTypes endpoint.");
17
+ const roamGetResourceTypes = require_action.action("ROAM_GET_RESOURCE_TYPES", {
18
+ slug: "roam-get-resource-types",
19
+ name: "Get Roam SCIM Resource Types",
20
+ description: "Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.",
21
+ input: RoamGetResourceTypesInput,
22
+ output: RoamGetResourceTypesOutput
23
+ });
24
+ //#endregion
25
+ exports.roamGetResourceTypes = roamGetResourceTypes;
26
+
27
+ //# sourceMappingURL=get-resource-types.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"get-resource-types.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetResourceTypesInput: z.ZodTypeAny = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\"),\n name: z.string().describe(\"The human-readable name of the resource type\"),\n description: z.string().describe(\"Description of the resource type\"),\n}).describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput: z.ZodTypeAny = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\"),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\"),\n totalResults: z.number().int().describe(\"Total number of resource types available\"),\n}).describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAChI,MAAM,0CAAwDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C;CACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;AACrE,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B;CACpE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CAC3E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C;AACpF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}