@keystrokehq/roam 0.1.3 → 0.1.5

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 (325) hide show
  1. package/dist/action.cjs.map +1 -1
  2. package/dist/action.mjs.map +1 -1
  3. package/dist/actions/add-group-members.cjs +1 -0
  4. package/dist/actions/add-group-members.cjs.map +1 -1
  5. package/dist/actions/add-group-members.d.cts +3 -5
  6. package/dist/actions/add-group-members.d.cts.map +1 -1
  7. package/dist/actions/add-group-members.d.mts +3 -5
  8. package/dist/actions/add-group-members.d.mts.map +1 -1
  9. package/dist/actions/add-group-members.mjs +1 -0
  10. package/dist/actions/add-group-members.mjs.map +1 -1
  11. package/dist/actions/add-reaction.cjs +1 -0
  12. package/dist/actions/add-reaction.cjs.map +1 -1
  13. package/dist/actions/add-reaction.d.cts +3 -6
  14. package/dist/actions/add-reaction.d.cts.map +1 -1
  15. package/dist/actions/add-reaction.d.mts +3 -6
  16. package/dist/actions/add-reaction.d.mts.map +1 -1
  17. package/dist/actions/add-reaction.mjs +1 -0
  18. package/dist/actions/add-reaction.mjs.map +1 -1
  19. package/dist/actions/create-group.cjs +1 -0
  20. package/dist/actions/create-group.cjs.map +1 -1
  21. package/dist/actions/create-group.d.cts +3 -8
  22. package/dist/actions/create-group.d.cts.map +1 -1
  23. package/dist/actions/create-group.d.mts +3 -8
  24. package/dist/actions/create-group.d.mts.map +1 -1
  25. package/dist/actions/create-group.mjs +1 -0
  26. package/dist/actions/create-group.mjs.map +1 -1
  27. package/dist/actions/create-roam-scim-group.cjs +1 -0
  28. package/dist/actions/create-roam-scim-group.cjs.map +1 -1
  29. package/dist/actions/create-roam-scim-group.d.cts +3 -5
  30. package/dist/actions/create-roam-scim-group.d.cts.map +1 -1
  31. package/dist/actions/create-roam-scim-group.d.mts +3 -5
  32. package/dist/actions/create-roam-scim-group.d.mts.map +1 -1
  33. package/dist/actions/create-roam-scim-group.mjs +1 -0
  34. package/dist/actions/create-roam-scim-group.mjs.map +1 -1
  35. package/dist/actions/create-user.cjs +1 -0
  36. package/dist/actions/create-user.cjs.map +1 -1
  37. package/dist/actions/create-user.d.cts +3 -18
  38. package/dist/actions/create-user.d.cts.map +1 -1
  39. package/dist/actions/create-user.d.mts +3 -18
  40. package/dist/actions/create-user.d.mts.map +1 -1
  41. package/dist/actions/create-user.mjs +1 -0
  42. package/dist/actions/create-user.mjs.map +1 -1
  43. package/dist/actions/delete-group.cjs +1 -0
  44. package/dist/actions/delete-group.cjs.map +1 -1
  45. package/dist/actions/delete-group.d.cts +3 -3
  46. package/dist/actions/delete-group.d.cts.map +1 -1
  47. package/dist/actions/delete-group.d.mts +3 -3
  48. package/dist/actions/delete-group.d.mts.map +1 -1
  49. package/dist/actions/delete-group.mjs +1 -0
  50. package/dist/actions/delete-group.mjs.map +1 -1
  51. package/dist/actions/delete-user.cjs +1 -0
  52. package/dist/actions/delete-user.cjs.map +1 -1
  53. package/dist/actions/delete-user.d.cts +3 -3
  54. package/dist/actions/delete-user.d.cts.map +1 -1
  55. package/dist/actions/delete-user.d.mts +3 -3
  56. package/dist/actions/delete-user.d.mts.map +1 -1
  57. package/dist/actions/delete-user.mjs +1 -0
  58. package/dist/actions/delete-user.mjs.map +1 -1
  59. package/dist/actions/get-address-info.cjs +1 -0
  60. package/dist/actions/get-address-info.cjs.map +1 -1
  61. package/dist/actions/get-address-info.d.cts +3 -3
  62. package/dist/actions/get-address-info.d.cts.map +1 -1
  63. package/dist/actions/get-address-info.d.mts +3 -3
  64. package/dist/actions/get-address-info.d.mts.map +1 -1
  65. package/dist/actions/get-address-info.mjs +1 -0
  66. package/dist/actions/get-address-info.mjs.map +1 -1
  67. package/dist/actions/get-chat-history.cjs +1 -0
  68. package/dist/actions/get-chat-history.cjs.map +1 -1
  69. package/dist/actions/get-chat-history.d.cts +3 -8
  70. package/dist/actions/get-chat-history.d.cts.map +1 -1
  71. package/dist/actions/get-chat-history.d.mts +3 -8
  72. package/dist/actions/get-chat-history.d.mts.map +1 -1
  73. package/dist/actions/get-chat-history.mjs +1 -0
  74. package/dist/actions/get-chat-history.mjs.map +1 -1
  75. package/dist/actions/get-meeting-link.cjs +1 -0
  76. package/dist/actions/get-meeting-link.cjs.map +1 -1
  77. package/dist/actions/get-meeting-link.d.cts +3 -3
  78. package/dist/actions/get-meeting-link.d.cts.map +1 -1
  79. package/dist/actions/get-meeting-link.d.mts +3 -3
  80. package/dist/actions/get-meeting-link.d.mts.map +1 -1
  81. package/dist/actions/get-meeting-link.mjs +1 -0
  82. package/dist/actions/get-meeting-link.mjs.map +1 -1
  83. package/dist/actions/get-resource-types.cjs +1 -0
  84. package/dist/actions/get-resource-types.cjs.map +1 -1
  85. package/dist/actions/get-resource-types.d.cts +3 -1
  86. package/dist/actions/get-resource-types.d.cts.map +1 -1
  87. package/dist/actions/get-resource-types.d.mts +3 -1
  88. package/dist/actions/get-resource-types.d.mts.map +1 -1
  89. package/dist/actions/get-resource-types.mjs +1 -0
  90. package/dist/actions/get-resource-types.mjs.map +1 -1
  91. package/dist/actions/get-roam-scim-config.cjs +1 -0
  92. package/dist/actions/get-roam-scim-config.cjs.map +1 -1
  93. package/dist/actions/get-roam-scim-config.d.cts +3 -1
  94. package/dist/actions/get-roam-scim-config.d.cts.map +1 -1
  95. package/dist/actions/get-roam-scim-config.d.mts +3 -1
  96. package/dist/actions/get-roam-scim-config.d.mts.map +1 -1
  97. package/dist/actions/get-roam-scim-config.mjs +1 -0
  98. package/dist/actions/get-roam-scim-config.mjs.map +1 -1
  99. package/dist/actions/get-scim-schema.cjs +1 -0
  100. package/dist/actions/get-scim-schema.cjs.map +1 -1
  101. package/dist/actions/get-scim-schema.d.cts +3 -3
  102. package/dist/actions/get-scim-schema.d.cts.map +1 -1
  103. package/dist/actions/get-scim-schema.d.mts +3 -3
  104. package/dist/actions/get-scim-schema.d.mts.map +1 -1
  105. package/dist/actions/get-scim-schema.mjs +1 -0
  106. package/dist/actions/get-scim-schema.mjs.map +1 -1
  107. package/dist/actions/get-scim-user.cjs +1 -0
  108. package/dist/actions/get-scim-user.cjs.map +1 -1
  109. package/dist/actions/get-scim-user.d.cts +3 -3
  110. package/dist/actions/get-scim-user.d.cts.map +1 -1
  111. package/dist/actions/get-scim-user.d.mts +3 -3
  112. package/dist/actions/get-scim-user.d.mts.map +1 -1
  113. package/dist/actions/get-scim-user.mjs +1 -0
  114. package/dist/actions/get-scim-user.mjs.map +1 -1
  115. package/dist/actions/get-test.cjs +1 -0
  116. package/dist/actions/get-test.cjs.map +1 -1
  117. package/dist/actions/get-test.d.cts +3 -1
  118. package/dist/actions/get-test.d.cts.map +1 -1
  119. package/dist/actions/get-test.d.mts +3 -1
  120. package/dist/actions/get-test.d.mts.map +1 -1
  121. package/dist/actions/get-test.mjs +1 -0
  122. package/dist/actions/get-test.mjs.map +1 -1
  123. package/dist/actions/get-token-info.cjs +1 -0
  124. package/dist/actions/get-token-info.cjs.map +1 -1
  125. package/dist/actions/get-token-info.d.cts +3 -1
  126. package/dist/actions/get-token-info.d.cts.map +1 -1
  127. package/dist/actions/get-token-info.d.mts +3 -1
  128. package/dist/actions/get-token-info.d.mts.map +1 -1
  129. package/dist/actions/get-token-info.mjs +1 -0
  130. package/dist/actions/get-token-info.mjs.map +1 -1
  131. package/dist/actions/get-user-info.cjs +1 -0
  132. package/dist/actions/get-user-info.cjs.map +1 -1
  133. package/dist/actions/get-user-info.d.cts +3 -4
  134. package/dist/actions/get-user-info.d.cts.map +1 -1
  135. package/dist/actions/get-user-info.d.mts +3 -4
  136. package/dist/actions/get-user-info.d.mts.map +1 -1
  137. package/dist/actions/get-user-info.mjs +1 -0
  138. package/dist/actions/get-user-info.mjs.map +1 -1
  139. package/dist/actions/list-chats.cjs +1 -0
  140. package/dist/actions/list-chats.cjs.map +1 -1
  141. package/dist/actions/list-chats.d.cts +3 -4
  142. package/dist/actions/list-chats.d.cts.map +1 -1
  143. package/dist/actions/list-chats.d.mts +3 -4
  144. package/dist/actions/list-chats.d.mts.map +1 -1
  145. package/dist/actions/list-chats.mjs +1 -0
  146. package/dist/actions/list-chats.mjs.map +1 -1
  147. package/dist/actions/list-group-members.cjs +1 -0
  148. package/dist/actions/list-group-members.cjs.map +1 -1
  149. package/dist/actions/list-group-members.d.cts +3 -5
  150. package/dist/actions/list-group-members.d.cts.map +1 -1
  151. package/dist/actions/list-group-members.d.mts +3 -5
  152. package/dist/actions/list-group-members.d.mts.map +1 -1
  153. package/dist/actions/list-group-members.mjs +1 -0
  154. package/dist/actions/list-group-members.mjs.map +1 -1
  155. package/dist/actions/list-groups.cjs +1 -0
  156. package/dist/actions/list-groups.cjs.map +1 -1
  157. package/dist/actions/list-groups.d.cts +3 -5
  158. package/dist/actions/list-groups.d.cts.map +1 -1
  159. package/dist/actions/list-groups.d.mts +3 -5
  160. package/dist/actions/list-groups.d.mts.map +1 -1
  161. package/dist/actions/list-groups.mjs +1 -0
  162. package/dist/actions/list-groups.mjs.map +1 -1
  163. package/dist/actions/list-lobbies.cjs +1 -0
  164. package/dist/actions/list-lobbies.cjs.map +1 -1
  165. package/dist/actions/list-lobbies.d.cts +3 -3
  166. package/dist/actions/list-lobbies.d.cts.map +1 -1
  167. package/dist/actions/list-lobbies.d.mts +3 -3
  168. package/dist/actions/list-lobbies.d.mts.map +1 -1
  169. package/dist/actions/list-lobbies.mjs +1 -0
  170. package/dist/actions/list-lobbies.mjs.map +1 -1
  171. package/dist/actions/list-meetings.cjs +1 -0
  172. package/dist/actions/list-meetings.cjs.map +1 -1
  173. package/dist/actions/list-meetings.d.cts +3 -6
  174. package/dist/actions/list-meetings.d.cts.map +1 -1
  175. package/dist/actions/list-meetings.d.mts +3 -6
  176. package/dist/actions/list-meetings.d.mts.map +1 -1
  177. package/dist/actions/list-meetings.mjs +1 -0
  178. package/dist/actions/list-meetings.mjs.map +1 -1
  179. package/dist/actions/list-recordings.cjs +1 -0
  180. package/dist/actions/list-recordings.cjs.map +1 -1
  181. package/dist/actions/list-recordings.d.cts +3 -6
  182. package/dist/actions/list-recordings.d.cts.map +1 -1
  183. package/dist/actions/list-recordings.d.mts +3 -6
  184. package/dist/actions/list-recordings.d.mts.map +1 -1
  185. package/dist/actions/list-recordings.mjs +1 -0
  186. package/dist/actions/list-recordings.mjs.map +1 -1
  187. package/dist/actions/list-roam-scim-users.cjs +1 -0
  188. package/dist/actions/list-roam-scim-users.cjs.map +1 -1
  189. package/dist/actions/list-roam-scim-users.d.cts +3 -5
  190. package/dist/actions/list-roam-scim-users.d.cts.map +1 -1
  191. package/dist/actions/list-roam-scim-users.d.mts +3 -5
  192. package/dist/actions/list-roam-scim-users.d.mts.map +1 -1
  193. package/dist/actions/list-roam-scim-users.mjs +1 -0
  194. package/dist/actions/list-roam-scim-users.mjs.map +1 -1
  195. package/dist/actions/list-schemas.cjs +1 -0
  196. package/dist/actions/list-schemas.cjs.map +1 -1
  197. package/dist/actions/list-schemas.d.cts +3 -1
  198. package/dist/actions/list-schemas.d.cts.map +1 -1
  199. package/dist/actions/list-schemas.d.mts +3 -1
  200. package/dist/actions/list-schemas.d.mts.map +1 -1
  201. package/dist/actions/list-schemas.mjs +1 -0
  202. package/dist/actions/list-schemas.mjs.map +1 -1
  203. package/dist/actions/list-transcripts.cjs +1 -0
  204. package/dist/actions/list-transcripts.cjs.map +1 -1
  205. package/dist/actions/list-transcripts.d.cts +3 -6
  206. package/dist/actions/list-transcripts.d.cts.map +1 -1
  207. package/dist/actions/list-transcripts.d.mts +3 -6
  208. package/dist/actions/list-transcripts.d.mts.map +1 -1
  209. package/dist/actions/list-transcripts.mjs +1 -0
  210. package/dist/actions/list-transcripts.mjs.map +1 -1
  211. package/dist/actions/list-user-audit-log.cjs +1 -0
  212. package/dist/actions/list-user-audit-log.cjs.map +1 -1
  213. package/dist/actions/list-user-audit-log.d.cts +3 -5
  214. package/dist/actions/list-user-audit-log.d.cts.map +1 -1
  215. package/dist/actions/list-user-audit-log.d.mts +3 -5
  216. package/dist/actions/list-user-audit-log.d.mts.map +1 -1
  217. package/dist/actions/list-user-audit-log.mjs +1 -0
  218. package/dist/actions/list-user-audit-log.mjs.map +1 -1
  219. package/dist/actions/list-users.cjs +1 -0
  220. package/dist/actions/list-users.cjs.map +1 -1
  221. package/dist/actions/list-users.d.cts +3 -5
  222. package/dist/actions/list-users.d.cts.map +1 -1
  223. package/dist/actions/list-users.d.mts +3 -5
  224. package/dist/actions/list-users.d.mts.map +1 -1
  225. package/dist/actions/list-users.mjs +1 -0
  226. package/dist/actions/list-users.mjs.map +1 -1
  227. package/dist/actions/lookup-user.cjs +1 -0
  228. package/dist/actions/lookup-user.cjs.map +1 -1
  229. package/dist/actions/lookup-user.d.cts +3 -3
  230. package/dist/actions/lookup-user.d.cts.map +1 -1
  231. package/dist/actions/lookup-user.d.mts +3 -3
  232. package/dist/actions/lookup-user.d.mts.map +1 -1
  233. package/dist/actions/lookup-user.mjs +1 -0
  234. package/dist/actions/lookup-user.mjs.map +1 -1
  235. package/dist/actions/patch-group.cjs +1 -0
  236. package/dist/actions/patch-group.cjs.map +1 -1
  237. package/dist/actions/patch-group.d.cts +3 -13
  238. package/dist/actions/patch-group.d.cts.map +1 -1
  239. package/dist/actions/patch-group.d.mts +3 -13
  240. package/dist/actions/patch-group.d.mts.map +1 -1
  241. package/dist/actions/patch-group.mjs +1 -0
  242. package/dist/actions/patch-group.mjs.map +1 -1
  243. package/dist/actions/patch-user.cjs +1 -0
  244. package/dist/actions/patch-user.cjs.map +1 -1
  245. package/dist/actions/patch-user.d.cts +3 -12
  246. package/dist/actions/patch-user.d.cts.map +1 -1
  247. package/dist/actions/patch-user.d.mts +3 -12
  248. package/dist/actions/patch-user.d.mts.map +1 -1
  249. package/dist/actions/patch-user.mjs +1 -0
  250. package/dist/actions/patch-user.mjs.map +1 -1
  251. package/dist/actions/post-chat.cjs +1 -0
  252. package/dist/actions/post-chat.cjs.map +1 -1
  253. package/dist/actions/post-chat.d.cts +3 -11
  254. package/dist/actions/post-chat.d.cts.map +1 -1
  255. package/dist/actions/post-chat.d.mts +3 -11
  256. package/dist/actions/post-chat.d.mts.map +1 -1
  257. package/dist/actions/post-chat.mjs +1 -0
  258. package/dist/actions/post-chat.mjs.map +1 -1
  259. package/dist/actions/remove-group-members.cjs +1 -0
  260. package/dist/actions/remove-group-members.cjs.map +1 -1
  261. package/dist/actions/remove-group-members.d.cts +3 -4
  262. package/dist/actions/remove-group-members.d.cts.map +1 -1
  263. package/dist/actions/remove-group-members.d.mts +3 -4
  264. package/dist/actions/remove-group-members.d.mts.map +1 -1
  265. package/dist/actions/remove-group-members.mjs +1 -0
  266. package/dist/actions/remove-group-members.mjs.map +1 -1
  267. package/dist/actions/replace-group.cjs +1 -0
  268. package/dist/actions/replace-group.cjs.map +1 -1
  269. package/dist/actions/replace-group.d.cts +3 -6
  270. package/dist/actions/replace-group.d.cts.map +1 -1
  271. package/dist/actions/replace-group.d.mts +3 -6
  272. package/dist/actions/replace-group.d.mts.map +1 -1
  273. package/dist/actions/replace-group.mjs +1 -0
  274. package/dist/actions/replace-group.mjs.map +1 -1
  275. package/dist/actions/replace-user.cjs +1 -0
  276. package/dist/actions/replace-user.cjs.map +1 -1
  277. package/dist/actions/replace-user.d.cts +3 -19
  278. package/dist/actions/replace-user.d.cts.map +1 -1
  279. package/dist/actions/replace-user.d.mts +3 -19
  280. package/dist/actions/replace-user.d.mts.map +1 -1
  281. package/dist/actions/replace-user.mjs +1 -0
  282. package/dist/actions/replace-user.mjs.map +1 -1
  283. package/dist/actions/send-message.cjs +1 -0
  284. package/dist/actions/send-message.cjs.map +1 -1
  285. package/dist/actions/send-message.d.cts +3 -10
  286. package/dist/actions/send-message.d.cts.map +1 -1
  287. package/dist/actions/send-message.d.mts +3 -10
  288. package/dist/actions/send-message.d.mts.map +1 -1
  289. package/dist/actions/send-message.mjs +1 -0
  290. package/dist/actions/send-message.mjs.map +1 -1
  291. package/dist/actions/send-typing.cjs +1 -0
  292. package/dist/actions/send-typing.cjs.map +1 -1
  293. package/dist/actions/send-typing.d.cts +3 -3
  294. package/dist/actions/send-typing.d.cts.map +1 -1
  295. package/dist/actions/send-typing.d.mts +3 -3
  296. package/dist/actions/send-typing.d.mts.map +1 -1
  297. package/dist/actions/send-typing.mjs +1 -0
  298. package/dist/actions/send-typing.mjs.map +1 -1
  299. package/dist/actions/update-meeting-link.cjs +1 -0
  300. package/dist/actions/update-meeting-link.cjs.map +1 -1
  301. package/dist/actions/update-meeting-link.d.cts +3 -7
  302. package/dist/actions/update-meeting-link.d.cts.map +1 -1
  303. package/dist/actions/update-meeting-link.d.mts +3 -7
  304. package/dist/actions/update-meeting-link.d.mts.map +1 -1
  305. package/dist/actions/update-meeting-link.mjs +1 -0
  306. package/dist/actions/update-meeting-link.mjs.map +1 -1
  307. package/dist/actions/upload-item.cjs +1 -0
  308. package/dist/actions/upload-item.cjs.map +1 -1
  309. package/dist/actions/upload-item.d.cts +3 -8
  310. package/dist/actions/upload-item.d.cts.map +1 -1
  311. package/dist/actions/upload-item.d.mts +3 -8
  312. package/dist/actions/upload-item.d.mts.map +1 -1
  313. package/dist/actions/upload-item.mjs +1 -0
  314. package/dist/actions/upload-item.mjs.map +1 -1
  315. package/dist/app.cjs +5 -2
  316. package/dist/app.cjs.map +1 -1
  317. package/dist/app.d.cts +7 -1
  318. package/dist/app.d.cts.map +1 -1
  319. package/dist/app.d.mts +7 -1
  320. package/dist/app.d.mts.map +1 -1
  321. package/dist/app.mjs +3 -2
  322. package/dist/app.mjs.map +1 -1
  323. package/dist/index.d.cts +1 -1
  324. package/dist/index.d.mts +1 -1
  325. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"action.cjs","names":["roam","executeRoamTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { roam } from \"./app\";\nimport { executeRoamTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return roam.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRoamTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.cjs","names":["roam","executeRoamTool"],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { roam } from \"./app\";\nimport { executeRoamTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof roam.credential> {\n return roam.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRoamTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOoD;CACpD,OAAOA,YAAAA,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { roam } from \"./app\";\nimport { executeRoamTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return roam.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executeRoamTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
1
+ {"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { roam } from \"./app\";\nimport { executeRoamTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType, TOutput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: TOutput;\n },\n): AppAction<TInput, TOutput, typeof roam.credential> {\n return roam.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output,\n async run(input) {\n return def.output.parse(await executeRoamTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAOA,SAAgB,OACd,MACA,KAOoD;CACpD,OAAO,KAAK,OAAO;EACjB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,gBAAgB,MAAM,KAAgC,CAAC;EACvF;CACF,CAAC;AACH"}
@@ -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/add-group-members.ts
@@ -1 +1 @@
1
- {"version":3,"file":"add-group-members.cjs","names":["z","action"],"sources":["../../src/actions/add-group-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamAddGroupMembersInput = z.object({\n group: z.string().describe(\"The unique identifier of the group to add members to\"),\n admins: z.array(z.string()).describe(\"List of user IDs to add as admins to the group\").optional(),\n members: z.array(z.string()).describe(\"List of user IDs to add as members to the group\").optional(),\n}).describe(\"Request model for adding members to a Roam group.\\n\\nAdd one or more group members and/or admins to an existing group.\\nThe app must have permission to add members (public group or member of the group).\\nAdding admins requires the app to be an admin of the group.\");\nexport const RoamAddGroupMembersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the members were successfully added\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding group members.\\nReturns empty body on success (204 No Content).\");\n\nexport const roamAddGroupMembers = action(\"ROAM_ADD_GROUP_MEMBERS\", {\n slug: \"roam-add-group-members\",\n name: \"Add group members\",\n description: \"Add one or more group members and/or admins to an existing Roam group. Use this tool when: - You need to add new members to an existing group - You need to promote existing members to admin status - You want to bulk add multiple users to a group Access conditions: - For adding members: The group must be public in the user's Roam, or the app must be a member - For adding admins: The app must be an admin of the group Returns empty response on success (HTTP 204).\",\n input: RoamAddGroupMembersInput,\n output: RoamAddGroupMembersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,yQAAyQ;AACrR,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-group-members.cjs","names":["z","action"],"sources":["../../src/actions/add-group-members.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamAddGroupMembersInput = z.object({\n group: z.string().describe(\"The unique identifier of the group to add members to\"),\n admins: z.array(z.string()).describe(\"List of user IDs to add as admins to the group\").optional(),\n members: z.array(z.string()).describe(\"List of user IDs to add as members to the group\").optional(),\n}).describe(\"Request model for adding members to a Roam group.\\n\\nAdd one or more group members and/or admins to an existing group.\\nThe app must have permission to add members (public group or member of the group).\\nAdding admins requires the app to be an admin of the group.\");\nexport const RoamAddGroupMembersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the members were successfully added\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding group members.\\nReturns empty body on success (204 No Content).\");\n\nexport const roamAddGroupMembers: AppAction<\n typeof RoamAddGroupMembersInput,\n typeof RoamAddGroupMembersOutput,\n typeof roam.credential\n> = action(\"ROAM_ADD_GROUP_MEMBERS\", {\n slug: \"roam-add-group-members\",\n name: \"Add group members\",\n description: \"Add one or more group members and/or admins to an existing Roam group. Use this tool when: - You need to add new members to an existing group - You need to promote existing members to admin status - You want to bulk add multiple users to a group Access conditions: - For adding members: The group must be public in the user's Roam, or the app must be a member - For adding admins: The app must be an admin of the group Returns empty response on success (HTTP 204).\",\n input: RoamAddGroupMembersInput,\n output: RoamAddGroupMembersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACjF,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,yQAAyQ;AACrR,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAA2F;AAErH,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-group-members.d.ts
@@ -9,11 +11,7 @@ declare const RoamAddGroupMembersInput: z.ZodObject<{
9
11
  declare const RoamAddGroupMembersOutput: z.ZodObject<{
10
12
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
13
  }, z.core.$loose>;
12
- declare const roamAddGroupMembers: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- group: string;
14
- admins?: string[] | undefined;
15
- members?: string[] | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const roamAddGroupMembers: AppAction<typeof RoamAddGroupMembersInput, typeof RoamAddGroupMembersOutput, typeof roam.credential>;
17
15
  //#endregion
18
16
  export { roamAddGroupMembers };
19
17
  //# sourceMappingURL=add-group-members.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-group-members.d.cts","names":[],"sources":["../../src/actions/add-group-members.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"add-group-members.d.cts","names":[],"sources":["../../src/actions/add-group-members.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-group-members.d.ts
@@ -9,11 +11,7 @@ declare const RoamAddGroupMembersInput: z.ZodObject<{
9
11
  declare const RoamAddGroupMembersOutput: z.ZodObject<{
10
12
  success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
11
13
  }, z.core.$loose>;
12
- declare const roamAddGroupMembers: import("@keystrokehq/action").WorkflowActionDefinition<{
13
- group: string;
14
- admins?: string[] | undefined;
15
- members?: string[] | undefined;
16
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ declare const roamAddGroupMembers: AppAction<typeof RoamAddGroupMembersInput, typeof RoamAddGroupMembersOutput, typeof roam.credential>;
17
15
  //#endregion
18
16
  export { roamAddGroupMembers };
19
17
  //# sourceMappingURL=add-group-members.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-group-members.d.mts","names":[],"sources":["../../src/actions/add-group-members.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,gCAAmB,wBAAA"}
1
+ {"version":3,"file":"add-group-members.d.mts","names":[],"sources":["../../src/actions/add-group-members.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;cAKxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;cAIzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const roamAddGroupMembers = action("ROAM_ADD_GROUP_MEMBERS", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-group-members.mjs","names":[],"sources":["../../src/actions/add-group-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamAddGroupMembersInput = z.object({\n group: z.string().describe(\"The unique identifier of the group to add members to\"),\n admins: z.array(z.string()).describe(\"List of user IDs to add as admins to the group\").optional(),\n members: z.array(z.string()).describe(\"List of user IDs to add as members to the group\").optional(),\n}).describe(\"Request model for adding members to a Roam group.\\n\\nAdd one or more group members and/or admins to an existing group.\\nThe app must have permission to add members (public group or member of the group).\\nAdding admins requires the app to be an admin of the group.\");\nexport const RoamAddGroupMembersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the members were successfully added\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding group members.\\nReturns empty body on success (204 No Content).\");\n\nexport const roamAddGroupMembers = action(\"ROAM_ADD_GROUP_MEMBERS\", {\n slug: \"roam-add-group-members\",\n name: \"Add group members\",\n description: \"Add one or more group members and/or admins to an existing Roam group. Use this tool when: - You need to add new members to an existing group - You need to promote existing members to admin status - You want to bulk add multiple users to a group Access conditions: - For adding members: The group must be public in the user's Roam, or the app must be a member - For adding admins: The app must be an admin of the group Returns empty response on success (HTTP 204).\",\n input: RoamAddGroupMembersInput,\n output: RoamAddGroupMembersOutput,\n});\n"],"mappings":";;AAaA,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACjF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,yQASH;CACP,QATuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"add-group-members.mjs","names":[],"sources":["../../src/actions/add-group-members.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamAddGroupMembersInput = z.object({\n group: z.string().describe(\"The unique identifier of the group to add members to\"),\n admins: z.array(z.string()).describe(\"List of user IDs to add as admins to the group\").optional(),\n members: z.array(z.string()).describe(\"List of user IDs to add as members to the group\").optional(),\n}).describe(\"Request model for adding members to a Roam group.\\n\\nAdd one or more group members and/or admins to an existing group.\\nThe app must have permission to add members (public group or member of the group).\\nAdding admins requires the app to be an admin of the group.\");\nexport const RoamAddGroupMembersOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the members were successfully added\").nullable().optional(),\n}).passthrough().describe(\"Response model for adding group members.\\nReturns empty body on success (204 No Content).\");\n\nexport const roamAddGroupMembers: AppAction<\n typeof RoamAddGroupMembersInput,\n typeof RoamAddGroupMembersOutput,\n typeof roam.credential\n> = action(\"ROAM_ADD_GROUP_MEMBERS\", {\n slug: \"roam-add-group-members\",\n name: \"Add group members\",\n description: \"Add one or more group members and/or admins to an existing Roam group. Use this tool when: - You need to add new members to an existing group - You need to promote existing members to admin status - You want to bulk add multiple users to a group Access conditions: - For adding members: The group must be public in the user's Roam, or the app must be a member - For adding admins: The app must be an admin of the group Returns empty response on success (HTTP 204).\",\n input: RoamAddGroupMembersInput,\n output: RoamAddGroupMembersOutput,\n});\n"],"mappings":";;;AAeA,MAAa,sBAIT,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;EACjF,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,yQAaH;CACP,QAbuC,EAAE,OAAO,EAChD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2FAWhB;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/add-reaction.ts
@@ -1 +1 @@
1
- {"version":3,"file":"add-reaction.cjs","names":["z","action"],"sources":["../../src/actions/add-reaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamAddReactionInput = z.object({\n chat: z.string().describe(\"The unique ID of the chat containing the message. This is the chat identifier starting with C-.\"),\n name: z.string().describe(\"The name of the reaction/emoji to add. Common values include 'smile', 'thumbsup', 'heart', etc.\"),\n timestamp: z.number().int().describe(\"Unix timestamp (in seconds) when the reaction was added.\"),\n message_id: z.string().describe(\"The unique ID of the message to add the reaction to. This is the UUID of the message.\"),\n});\nexport const RoamAddReactionOutput = z.object({\n chat: z.string().describe(\"The chat ID where the reaction was added\").nullable().optional(),\n name: z.string().describe(\"The name of the reaction that was added\").nullable().optional(),\n error: z.string().describe(\"Error message if the reaction addition failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the reaction was successfully added\").nullable().optional(),\n message_id: z.string().describe(\"The ID of the message that received the reaction\").nullable().optional(),\n reaction_id: z.string().describe(\"The unique ID of the added reaction\").nullable().optional(),\n}).passthrough();\n\nexport const roamAddReaction = action(\"ROAM_ADD_REACTION\", {\n slug: \"roam-add-reaction\",\n name: \"Add Reaction to Message\",\n description: \"Add an emoji reaction to a message in a chat. Use this action when you want to react to a message with an emoji in a Roam chat. The action requires the message ID, chat ID, reaction name, and timestamp. Required scope: chat:send_message or chat:write Response codes: 200=success, 400=bad request, 401=invalid credentials, 405=unsupported method, 500=internal error\",\n input: RoamAddReactionInput,\n output: RoamAddReactionOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;AACzH,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"add-reaction.cjs","names":["z","action"],"sources":["../../src/actions/add-reaction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamAddReactionInput = z.object({\n chat: z.string().describe(\"The unique ID of the chat containing the message. This is the chat identifier starting with C-.\"),\n name: z.string().describe(\"The name of the reaction/emoji to add. Common values include 'smile', 'thumbsup', 'heart', etc.\"),\n timestamp: z.number().int().describe(\"Unix timestamp (in seconds) when the reaction was added.\"),\n message_id: z.string().describe(\"The unique ID of the message to add the reaction to. This is the UUID of the message.\"),\n});\nexport const RoamAddReactionOutput = z.object({\n chat: z.string().describe(\"The chat ID where the reaction was added\").nullable().optional(),\n name: z.string().describe(\"The name of the reaction that was added\").nullable().optional(),\n error: z.string().describe(\"Error message if the reaction addition failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the reaction was successfully added\").nullable().optional(),\n message_id: z.string().describe(\"The ID of the message that received the reaction\").nullable().optional(),\n reaction_id: z.string().describe(\"The unique ID of the added reaction\").nullable().optional(),\n}).passthrough();\n\nexport const roamAddReaction: AppAction<\n typeof RoamAddReactionInput,\n typeof RoamAddReactionOutput,\n typeof roam.credential\n> = action(\"ROAM_ADD_REACTION\", {\n slug: \"roam-add-reaction\",\n name: \"Add Reaction to Message\",\n description: \"Add an emoji reaction to a message in a chat. Use this action when you want to react to a message with an emoji in a Roam chat. The action requires the message ID, chat ID, reaction name, and timestamp. Required scope: chat:send_message or chat:write Response codes: 200=success, 400=bad request, 401=invalid credentials, 405=unsupported method, 500=internal error\",\n input: RoamAddReactionInput,\n output: RoamAddReactionOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;CAC3H,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;AACzH,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-reaction.d.ts
@@ -15,12 +17,7 @@ declare const RoamAddReactionOutput: z.ZodObject<{
15
17
  message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  reaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const roamAddReaction: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- chat: string;
20
- name: string;
21
- timestamp: number;
22
- message_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const roamAddReaction: AppAction<typeof RoamAddReactionInput, typeof RoamAddReactionOutput, typeof roam.credential>;
24
21
  //#endregion
25
22
  export { roamAddReaction };
26
23
  //# sourceMappingURL=add-reaction.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-reaction.d.cts","names":[],"sources":["../../src/actions/add-reaction.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"add-reaction.d.cts","names":[],"sources":["../../src/actions/add-reaction.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/add-reaction.d.ts
@@ -15,12 +17,7 @@ declare const RoamAddReactionOutput: z.ZodObject<{
15
17
  message_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
18
  reaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  }, z.core.$loose>;
18
- declare const roamAddReaction: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- chat: string;
20
- name: string;
21
- timestamp: number;
22
- message_id: string;
23
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const roamAddReaction: AppAction<typeof RoamAddReactionInput, typeof RoamAddReactionOutput, typeof roam.credential>;
24
21
  //#endregion
25
22
  export { roamAddReaction };
26
23
  //# sourceMappingURL=add-reaction.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"add-reaction.d.mts","names":[],"sources":["../../src/actions/add-reaction.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"add-reaction.d.mts","names":[],"sources":["../../src/actions/add-reaction.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;cAMpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;cASrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const roamAddReaction = action("ROAM_ADD_REACTION", {
@@ -1 +1 @@
1
- {"version":3,"file":"add-reaction.mjs","names":[],"sources":["../../src/actions/add-reaction.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamAddReactionInput = z.object({\n chat: z.string().describe(\"The unique ID of the chat containing the message. This is the chat identifier starting with C-.\"),\n name: z.string().describe(\"The name of the reaction/emoji to add. Common values include 'smile', 'thumbsup', 'heart', etc.\"),\n timestamp: z.number().int().describe(\"Unix timestamp (in seconds) when the reaction was added.\"),\n message_id: z.string().describe(\"The unique ID of the message to add the reaction to. This is the UUID of the message.\"),\n});\nexport const RoamAddReactionOutput = z.object({\n chat: z.string().describe(\"The chat ID where the reaction was added\").nullable().optional(),\n name: z.string().describe(\"The name of the reaction that was added\").nullable().optional(),\n error: z.string().describe(\"Error message if the reaction addition failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the reaction was successfully added\").nullable().optional(),\n message_id: z.string().describe(\"The ID of the message that received the reaction\").nullable().optional(),\n reaction_id: z.string().describe(\"The unique ID of the added reaction\").nullable().optional(),\n}).passthrough();\n\nexport const roamAddReaction = action(\"ROAM_ADD_REACTION\", {\n slug: \"roam-add-reaction\",\n name: \"Add Reaction to Message\",\n description: \"Add an emoji reaction to a message in a chat. Use this action when you want to react to a message with an emoji in a Roam chat. The action requires the message ID, chat ID, reaction name, and timestamp. Required scope: chat:send_message or chat:write Response codes: 200=success, 400=bad request, 401=invalid credentials, 405=unsupported method, 500=internal error\",\n input: RoamAddReactionInput,\n output: RoamAddReactionOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACzH,CAcS;CACP,QAdmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
1
+ {"version":3,"file":"add-reaction.mjs","names":[],"sources":["../../src/actions/add-reaction.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamAddReactionInput = z.object({\n chat: z.string().describe(\"The unique ID of the chat containing the message. This is the chat identifier starting with C-.\"),\n name: z.string().describe(\"The name of the reaction/emoji to add. Common values include 'smile', 'thumbsup', 'heart', etc.\"),\n timestamp: z.number().int().describe(\"Unix timestamp (in seconds) when the reaction was added.\"),\n message_id: z.string().describe(\"The unique ID of the message to add the reaction to. This is the UUID of the message.\"),\n});\nexport const RoamAddReactionOutput = z.object({\n chat: z.string().describe(\"The chat ID where the reaction was added\").nullable().optional(),\n name: z.string().describe(\"The name of the reaction that was added\").nullable().optional(),\n error: z.string().describe(\"Error message if the reaction addition failed\").nullable().optional(),\n success: z.boolean().describe(\"Whether the reaction was successfully added\").nullable().optional(),\n message_id: z.string().describe(\"The ID of the message that received the reaction\").nullable().optional(),\n reaction_id: z.string().describe(\"The unique ID of the added reaction\").nullable().optional(),\n}).passthrough();\n\nexport const roamAddReaction: AppAction<\n typeof RoamAddReactionInput,\n typeof RoamAddReactionOutput,\n typeof roam.credential\n> = action(\"ROAM_ADD_REACTION\", {\n slug: \"roam-add-reaction\",\n name: \"Add Reaction to Message\",\n description: \"Add an emoji reaction to a message in a chat. Use this action when you want to react to a message with an emoji in a Roam chat. The action requires the message ID, chat ID, reaction name, and timestamp. Required scope: chat:send_message or chat:write Response codes: 200=success, 400=bad request, 401=invalid credentials, 405=unsupported method, 500=internal error\",\n input: RoamAddReactionInput,\n output: RoamAddReactionOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG;EAC3H,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACzH,CAkBS;CACP,QAlBmC,EAAE,OAAO;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,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-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 RoamCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group (max 64 characters).\"),\n admins: z.array(z.string()).describe(\"List of admin email addresses or IDs. Groups with admins operate in 'Admin only' management mode.\").optional(),\n members: z.array(z.string()).describe(\"List of member email addresses or IDs to add to the group.\").optional(),\n private: z.boolean().describe(\"Whether the group is private. Defaults to false.\").optional(),\n description: z.string().describe(\"The description of the group (max 1024 characters).\").optional(),\n enforce_threads: z.boolean().describe(\"Whether threads are enforced in the group.\").optional(),\n});\nexport const RoamCreateGroupOutput = z.object({\n id: z.string().describe(\"The unique ID of the newly created group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n private: z.boolean().describe(\"Whether the group is private.\").nullable(),\n date_created: z.string().describe(\"Timestamp when the group was created (ISO 8601 format).\").nullable(),\n}).passthrough();\n\nexport const roamCreateGroup = action(\"ROAM_CREATE_GROUP\", {\n slug: \"roam-create-group\",\n name: \"Create Group\",\n description: \"Create a group address that can be used for chat. Groups which specify an admin will operate in an \\\"Admin only\\\" management mode, where only admins may change settings. Otherwise, all members have that capability. Groups require at least one member or admin.\",\n input: RoamCreateGroupInput,\n output: RoamCreateGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,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 { roam } from \"../app\";\n\nexport const RoamCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group (max 64 characters).\"),\n admins: z.array(z.string()).describe(\"List of admin email addresses or IDs. Groups with admins operate in 'Admin only' management mode.\").optional(),\n members: z.array(z.string()).describe(\"List of member email addresses or IDs to add to the group.\").optional(),\n private: z.boolean().describe(\"Whether the group is private. Defaults to false.\").optional(),\n description: z.string().describe(\"The description of the group (max 1024 characters).\").optional(),\n enforce_threads: z.boolean().describe(\"Whether threads are enforced in the group.\").optional(),\n});\nexport const RoamCreateGroupOutput = z.object({\n id: z.string().describe(\"The unique ID of the newly created group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n private: z.boolean().describe(\"Whether the group is private.\").nullable(),\n date_created: z.string().describe(\"Timestamp when the group was created (ISO 8601 format).\").nullable(),\n}).passthrough();\n\nexport const roamCreateGroup: AppAction<\n typeof RoamCreateGroupInput,\n typeof RoamCreateGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_CREATE_GROUP\", {\n slug: \"roam-create-group\",\n name: \"Create Group\",\n description: \"Create a group address that can be used for chat. Groups which specify an admin will operate in an \\\"Admin only\\\" management mode, where only admins may change settings. Otherwise, all members have that capability. Groups require at least one member or admin.\",\n input: RoamCreateGroupInput,\n output: RoamCreateGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;CACtE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CACnJ,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CAC7G,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;CAC3F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACjG,iBAAiBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACxE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;AACxG,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-group.d.ts
@@ -15,14 +17,7 @@ declare const RoamCreateGroupOutput: z.ZodObject<{
15
17
  private: z.ZodNullable<z.ZodBoolean>;
16
18
  date_created: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>;
18
- declare const roamCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- name: string;
20
- admins?: string[] | undefined;
21
- members?: string[] | undefined;
22
- private?: boolean | undefined;
23
- description?: string | undefined;
24
- enforce_threads?: boolean | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const roamCreateGroup: AppAction<typeof RoamCreateGroupInput, typeof RoamCreateGroupOutput, typeof roam.credential>;
26
21
  //#endregion
27
22
  export { roamCreateGroup };
28
23
  //# 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,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAOrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"create-group.d.cts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAOrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { roam } 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
@@ -15,14 +17,7 @@ declare const RoamCreateGroupOutput: z.ZodObject<{
15
17
  private: z.ZodNullable<z.ZodBoolean>;
16
18
  date_created: z.ZodNullable<z.ZodString>;
17
19
  }, z.core.$loose>;
18
- declare const roamCreateGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
19
- name: string;
20
- admins?: string[] | undefined;
21
- members?: string[] | undefined;
22
- private?: boolean | undefined;
23
- description?: string | undefined;
24
- enforce_threads?: boolean | undefined;
25
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
20
+ declare const roamCreateGroup: AppAction<typeof RoamCreateGroupInput, typeof RoamCreateGroupOutput, typeof roam.credential>;
26
21
  //#endregion
27
22
  export { roamCreateGroup };
28
23
  //# 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,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAOrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"create-group.d.mts","names":[],"sources":["../../src/actions/create-group.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;cAQpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;cAOrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const roamCreateGroup = action("ROAM_CREATE_GROUP", {
@@ -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 RoamCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group (max 64 characters).\"),\n admins: z.array(z.string()).describe(\"List of admin email addresses or IDs. Groups with admins operate in 'Admin only' management mode.\").optional(),\n members: z.array(z.string()).describe(\"List of member email addresses or IDs to add to the group.\").optional(),\n private: z.boolean().describe(\"Whether the group is private. Defaults to false.\").optional(),\n description: z.string().describe(\"The description of the group (max 1024 characters).\").optional(),\n enforce_threads: z.boolean().describe(\"Whether threads are enforced in the group.\").optional(),\n});\nexport const RoamCreateGroupOutput = z.object({\n id: z.string().describe(\"The unique ID of the newly created group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n private: z.boolean().describe(\"Whether the group is private.\").nullable(),\n date_created: z.string().describe(\"Timestamp when the group was created (ISO 8601 format).\").nullable(),\n}).passthrough();\n\nexport const roamCreateGroup = action(\"ROAM_CREATE_GROUP\", {\n slug: \"roam-create-group\",\n name: \"Create Group\",\n description: \"Create a group address that can be used for chat. Groups which specify an admin will operate in an \\\"Admin only\\\" management mode, where only admins may change settings. Otherwise, all members have that capability. Groups require at least one member or admin.\",\n input: RoamCreateGroupInput,\n output: RoamCreateGroupOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/F,CAYS;CACP,QAZmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,YAOO;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 { roam } from \"../app\";\n\nexport const RoamCreateGroupInput = z.object({\n name: z.string().describe(\"The name of the group (max 64 characters).\"),\n admins: z.array(z.string()).describe(\"List of admin email addresses or IDs. Groups with admins operate in 'Admin only' management mode.\").optional(),\n members: z.array(z.string()).describe(\"List of member email addresses or IDs to add to the group.\").optional(),\n private: z.boolean().describe(\"Whether the group is private. Defaults to false.\").optional(),\n description: z.string().describe(\"The description of the group (max 1024 characters).\").optional(),\n enforce_threads: z.boolean().describe(\"Whether threads are enforced in the group.\").optional(),\n});\nexport const RoamCreateGroupOutput = z.object({\n id: z.string().describe(\"The unique ID of the newly created group.\").nullable(),\n name: z.string().describe(\"The name of the group.\").nullable(),\n private: z.boolean().describe(\"Whether the group is private.\").nullable(),\n date_created: z.string().describe(\"Timestamp when the group was created (ISO 8601 format).\").nullable(),\n}).passthrough();\n\nexport const roamCreateGroup: AppAction<\n typeof RoamCreateGroupInput,\n typeof RoamCreateGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_CREATE_GROUP\", {\n slug: \"roam-create-group\",\n name: \"Create Group\",\n description: \"Create a group address that can be used for chat. Groups which specify an admin will operate in an \\\"Admin only\\\" management mode, where only admins may change settings. Otherwise, all members have that capability. Groups require at least one member or admin.\",\n input: RoamCreateGroupInput,\n output: RoamCreateGroupOutput,\n});\n"],"mappings":";;;AAqBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAvBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C;EACtE,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;EACnJ,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EAC7G,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACjG,iBAAiB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAC/F,CAgBS;CACP,QAhBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EACxE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACxG,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-roam-scim-group.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-roam-scim-group.cjs","names":["z","action"],"sources":["../../src/actions/create-roam-scim-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamCreateRoamScimGroupInput = z.object({\n members: z.array(z.record(z.string(), z.unknown())).describe(\"Optional list of members to add to the group. Each member should be a dict with a 'value' field containing a Roam Person ID.\").optional(),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:Group\"]).describe(\"SCIM schema array. Defaults to ['urn:ietf:params:scim:schemas:core:2.0:Group']\").optional(),\n display_name: z.string().describe(\"The display name of the group. Maximum 64 characters.\"),\n}).describe(\"Request parameters to create a new group via SCIM 2.0.\");\nexport const RoamCreateRoamScimGroupOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created group (Roam AddressID)\").nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"SCIM metadata including location and resourceType\").nullable().optional(),\n members: z.array(z.record(z.string(), z.unknown())).describe(\"List of members in the group\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"SCIM schemas for the group resource\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the group\").nullable(),\n}).passthrough().describe(\"Response schema for a created SCIM group.\");\n\nexport const roamCreateRoamScimGroup = action(\"ROAM_CREATE_ROAM_SCIM_GROUP\", {\n slug: \"roam-create-roam-scim-group\",\n name: \"Create Roam SCIM Group\",\n description: \"Tool to create a new group in your Roam organization using SCIM 2.0. Use when you need to provision a new group for managing user access and permissions via the SCIM 2.0 protocol. The displayName is required and must be 64 characters or less.\",\n input: RoamCreateRoamScimGroupInput,\n output: RoamCreateRoamScimGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACtM,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC3F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAA0BC,eAAAA,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-roam-scim-group.cjs","names":["z","action"],"sources":["../../src/actions/create-roam-scim-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamCreateRoamScimGroupInput = z.object({\n members: z.array(z.record(z.string(), z.unknown())).describe(\"Optional list of members to add to the group. Each member should be a dict with a 'value' field containing a Roam Person ID.\").optional(),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:Group\"]).describe(\"SCIM schema array. Defaults to ['urn:ietf:params:scim:schemas:core:2.0:Group']\").optional(),\n display_name: z.string().describe(\"The display name of the group. Maximum 64 characters.\"),\n}).describe(\"Request parameters to create a new group via SCIM 2.0.\");\nexport const RoamCreateRoamScimGroupOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created group (Roam AddressID)\").nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"SCIM metadata including location and resourceType\").nullable().optional(),\n members: z.array(z.record(z.string(), z.unknown())).describe(\"List of members in the group\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"SCIM schemas for the group resource\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the group\").nullable(),\n}).passthrough().describe(\"Response schema for a created SCIM group.\");\n\nexport const roamCreateRoamScimGroup: AppAction<\n typeof RoamCreateRoamScimGroupInput,\n typeof RoamCreateRoamScimGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_CREATE_ROAM_SCIM_GROUP\", {\n slug: \"roam-create-roam-scim-group\",\n name: \"Create Roam SCIM Group\",\n description: \"Tool to create a new group in your Roam organization using SCIM 2.0. Use when you need to provision a new group for managing user access and permissions via the SCIM 2.0 protocol. The displayName is required and must be 64 characters or less.\",\n input: RoamCreateRoamScimGroupInput,\n output: RoamCreateRoamScimGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;CACtM,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;CAC1L,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC3F,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAChG,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;AAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,0BAITC,eAAAA,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-roam-scim-group.d.ts
@@ -13,11 +15,7 @@ declare const RoamCreateRoamScimGroupOutput: z.ZodObject<{
13
15
  schemas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
16
  displayName: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const roamCreateRoamScimGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- display_name: string;
18
- members?: Record<string, unknown>[] | undefined;
19
- schemas?: string[] | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const roamCreateRoamScimGroup: AppAction<typeof RoamCreateRoamScimGroupInput, typeof RoamCreateRoamScimGroupOutput, typeof roam.credential>;
21
19
  //#endregion
22
20
  export { roamCreateRoamScimGroup };
23
21
  //# sourceMappingURL=create-roam-scim-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-roam-scim-group.d.cts","names":[],"sources":["../../src/actions/create-roam-scim-group.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA;;YAMlC,MAAA"}
1
+ {"version":3,"file":"create-roam-scim-group.d.cts","names":[],"sources":["../../src/actions/create-roam-scim-group.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-roam-scim-group.d.ts
@@ -13,11 +15,7 @@ declare const RoamCreateRoamScimGroupOutput: z.ZodObject<{
13
15
  schemas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
14
16
  displayName: z.ZodNullable<z.ZodString>;
15
17
  }, z.core.$loose>;
16
- declare const roamCreateRoamScimGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
17
- display_name: string;
18
- members?: Record<string, unknown>[] | undefined;
19
- schemas?: string[] | undefined;
20
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const roamCreateRoamScimGroup: AppAction<typeof RoamCreateRoamScimGroupInput, typeof RoamCreateRoamScimGroupOutput, typeof roam.credential>;
21
19
  //#endregion
22
20
  export { roamCreateRoamScimGroup };
23
21
  //# sourceMappingURL=create-roam-scim-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-roam-scim-group.d.mts","names":[],"sources":["../../src/actions/create-roam-scim-group.ts"],"mappings":";;;cAIa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,gCAAuB,wBAAA;;YAMlC,MAAA"}
1
+ {"version":3,"file":"create-roam-scim-group.d.mts","names":[],"sources":["../../src/actions/create-roam-scim-group.ts"],"mappings":";;;;;cAMa,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;cAK5B,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;;cAQ7B,uBAAA,EAAyB,SAAA,QAC7B,4BAAA,SACA,6BAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,4 @@
1
+ import "../app.mjs";
1
2
  import { action } from "../action.mjs";
2
3
  import { z } from "zod";
3
4
  const roamCreateRoamScimGroup = action("ROAM_CREATE_ROAM_SCIM_GROUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"create-roam-scim-group.mjs","names":[],"sources":["../../src/actions/create-roam-scim-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamCreateRoamScimGroupInput = z.object({\n members: z.array(z.record(z.string(), z.unknown())).describe(\"Optional list of members to add to the group. Each member should be a dict with a 'value' field containing a Roam Person ID.\").optional(),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:Group\"]).describe(\"SCIM schema array. Defaults to ['urn:ietf:params:scim:schemas:core:2.0:Group']\").optional(),\n display_name: z.string().describe(\"The display name of the group. Maximum 64 characters.\"),\n}).describe(\"Request parameters to create a new group via SCIM 2.0.\");\nexport const RoamCreateRoamScimGroupOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created group (Roam AddressID)\").nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"SCIM metadata including location and resourceType\").nullable().optional(),\n members: z.array(z.record(z.string(), z.unknown())).describe(\"List of members in the group\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"SCIM schemas for the group resource\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the group\").nullable(),\n}).passthrough().describe(\"Response schema for a created SCIM group.\");\n\nexport const roamCreateRoamScimGroup = action(\"ROAM_CREATE_ROAM_SCIM_GROUP\", {\n slug: \"roam-create-roam-scim-group\",\n name: \"Create Roam SCIM Group\",\n description: \"Tool to create a new group in your Roam organization using SCIM 2.0. Use when you need to provision a new group for managing user access and permissions via the SCIM 2.0 protocol. The displayName is required and must be 64 characters or less.\",\n input: RoamCreateRoamScimGroupInput,\n output: RoamCreateRoamScimGroupOutput,\n});\n"],"mappings":";;AAiBA,MAAa,0BAA0B,OAAO,+BAA+B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB0C,EAAE,OAAO;EACnD,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EACtM,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC3F,CAAC,CAAC,CAAC,SAAS,wDAaH;CACP,QAb2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"create-roam-scim-group.mjs","names":[],"sources":["../../src/actions/create-roam-scim-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamCreateRoamScimGroupInput = z.object({\n members: z.array(z.record(z.string(), z.unknown())).describe(\"Optional list of members to add to the group. Each member should be a dict with a 'value' field containing a Roam Person ID.\").optional(),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:Group\"]).describe(\"SCIM schema array. Defaults to ['urn:ietf:params:scim:schemas:core:2.0:Group']\").optional(),\n display_name: z.string().describe(\"The display name of the group. Maximum 64 characters.\"),\n}).describe(\"Request parameters to create a new group via SCIM 2.0.\");\nexport const RoamCreateRoamScimGroupOutput = z.object({\n id: z.string().describe(\"The unique identifier of the created group (Roam AddressID)\").nullable(),\n meta: z.record(z.string(), z.unknown()).describe(\"SCIM metadata including location and resourceType\").nullable().optional(),\n members: z.array(z.record(z.string(), z.unknown())).describe(\"List of members in the group\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"SCIM schemas for the group resource\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the group\").nullable(),\n}).passthrough().describe(\"Response schema for a created SCIM group.\");\n\nexport const roamCreateRoamScimGroup: AppAction<\n typeof RoamCreateRoamScimGroupInput,\n typeof RoamCreateRoamScimGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_CREATE_ROAM_SCIM_GROUP\", {\n slug: \"roam-create-roam-scim-group\",\n name: \"Create Roam SCIM Group\",\n description: \"Tool to create a new group in your Roam organization using SCIM 2.0. Use when you need to provision a new group for managing user access and permissions via the SCIM 2.0 protocol. The displayName is required and must be 64 characters or less.\",\n input: RoamCreateRoamScimGroupInput,\n output: RoamCreateRoamScimGroupOutput,\n});\n"],"mappings":";;;AAmBA,MAAa,0BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OArB0C,EAAE,OAAO;EACnD,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8HAA8H,CAAC,CAAC,SAAS;EACtM,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,6CAA6C,CAAC,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS;EAC1L,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;CAC3F,CAAC,CAAC,CAAC,SAAS,wDAiBH;CACP,QAjB2C,EAAE,OAAO;EACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAChG,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC7E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAWhB;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-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamCreateUserInput = 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}).passthrough().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.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}).passthrough().describe(\"Name response object from SCIM user.\");\nconst RoamCreateUser_EmailResponseSchema = 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}).passthrough().describe(\"Email response object from SCIM user.\");\nconst RoamCreateUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension response.\");\nexport const RoamCreateUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the created user.\").nullable(),\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}).passthrough().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,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO;EACf,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACzD,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC3J,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,8EAA8E;CAC/I,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,4CAA4C,CAAC,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACpL,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CAClG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,sCAAsCA,IAAAA,EAAE,OAAO;CACnD,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gBAAgB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjE,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO,EAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS;CAClF,MAAM,oCAAoC,SAAS,CAAC,CAAC,SAAS;CAC9D,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gFAAgF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,gBAAgB,2CAA2C,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"create-user.cjs","names":["z","action"],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamCreateUserInput = 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}).passthrough().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.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}).passthrough().describe(\"Name response object from SCIM user.\");\nconst RoamCreateUser_EmailResponseSchema = 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}).passthrough().describe(\"Email response object from SCIM user.\");\nconst RoamCreateUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension response.\");\nexport const RoamCreateUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the created user.\").nullable(),\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}).passthrough().describe(\"Response model after creating a user via SCIM 2.0.\");\n\nexport const roamCreateUser: AppAction<\n typeof RoamCreateUserInput,\n typeof RoamCreateUserOutput,\n typeof roam.credential\n> = 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":"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"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.cjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user.d.ts
@@ -40,24 +42,7 @@ declare const RoamCreateUserOutput: z.ZodObject<{
40
42
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
43
  }, z.core.$loose>>>;
42
44
  }, z.core.$loose>;
43
- declare const roamCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- name: {
45
- givenName: string;
46
- familyName: string;
47
- };
48
- emails: {
49
- [x: string]: unknown;
50
- value: string;
51
- primary: boolean;
52
- type?: string | undefined;
53
- }[];
54
- userName: string;
55
- role?: "User" | "Admin" | undefined;
56
- active?: boolean | undefined;
57
- schemas?: string[] | undefined;
58
- externalId?: string | undefined;
59
- displayName?: string | undefined;
60
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const roamCreateUser: AppAction<typeof RoamCreateUserInput, typeof RoamCreateUserOutput, typeof roam.credential>;
61
46
  //#endregion
62
47
  export { roamCreateUser };
63
48
  //# sourceMappingURL=create-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA6BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAWpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"create-user.d.cts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA6BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAWpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
@@ -1,3 +1,5 @@
1
+ import { roam } from "../app.mjs";
2
+ import { AppAction } from "@keystrokehq/keystroke/app";
1
3
  import { z } from "zod";
2
4
 
3
5
  //#region src/actions/create-user.d.ts
@@ -40,24 +42,7 @@ declare const RoamCreateUserOutput: z.ZodObject<{
40
42
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
41
43
  }, z.core.$loose>>>;
42
44
  }, z.core.$loose>;
43
- declare const roamCreateUser: import("@keystrokehq/action").WorkflowActionDefinition<{
44
- name: {
45
- givenName: string;
46
- familyName: string;
47
- };
48
- emails: {
49
- [x: string]: unknown;
50
- value: string;
51
- primary: boolean;
52
- type?: string | undefined;
53
- }[];
54
- userName: string;
55
- role?: "User" | "Admin" | undefined;
56
- active?: boolean | undefined;
57
- schemas?: string[] | undefined;
58
- externalId?: string | undefined;
59
- displayName?: string | undefined;
60
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
45
+ declare const roamCreateUser: AppAction<typeof RoamCreateUserInput, typeof RoamCreateUserOutput, typeof roam.credential>;
61
46
  //#endregion
62
47
  export { roamCreateUser };
63
48
  //# sourceMappingURL=create-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA6BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAWpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"create-user.d.mts","names":[],"sources":["../../src/actions/create-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cA6BnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;cAWpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,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-user.ts
@@ -1 +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.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}).passthrough().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.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}).passthrough().describe(\"Name response object from SCIM user.\");\nconst RoamCreateUser_EmailResponseSchema = 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}).passthrough().describe(\"Email response object from SCIM user.\");\nconst RoamCreateUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension response.\");\nexport const RoamCreateUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the created user.\").nullable(),\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}).passthrough().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":"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"}
1
+ {"version":3,"file":"create-user.mjs","names":[],"sources":["../../src/actions/create-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamCreateUserInput = 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}).passthrough().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.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}).passthrough().describe(\"Name response object from SCIM user.\");\nconst RoamCreateUser_EmailResponseSchema = 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}).passthrough().describe(\"Email response object from SCIM user.\");\nconst RoamCreateUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension response.\");\nexport const RoamCreateUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the created user.\").nullable(),\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}).passthrough().describe(\"Response model after creating a user via SCIM 2.0.\");\n\nexport const roamCreateUser: AppAction<\n typeof RoamCreateUserInput,\n typeof RoamCreateUserOutput,\n typeof roam.credential\n> = 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":"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"}
@@ -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/delete-group.ts