@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":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup: AppAction<\n typeof RoamDeleteGroupInput,\n typeof RoamDeleteGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,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/delete-group.d.ts
@@ -8,9 +10,7 @@ declare const RoamDeleteGroupOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  status_code: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const roamDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const roamDeleteGroup: AppAction<typeof RoamDeleteGroupInput, typeof RoamDeleteGroupOutput, typeof roam.credential>;
14
14
  //#endregion
15
15
  export { roamDeleteGroup };
16
16
  //# sourceMappingURL=delete-group.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,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/delete-group.d.ts
@@ -8,9 +10,7 @@ declare const RoamDeleteGroupOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  status_code: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const roamDeleteGroup: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const roamDeleteGroup: AppAction<typeof RoamDeleteGroupInput, typeof RoamDeleteGroupOutput, typeof roam.credential>;
14
14
  //#endregion
15
15
  export { roamDeleteGroup };
16
16
  //# sourceMappingURL=delete-group.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,gCAAe,wBAAA"}
1
+ {"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,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 roamDeleteGroup = action("ROAM_DELETE_GROUP", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;AAYA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZkC,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAUH;CACP,QAVmC,EAAE,OAAO;EAC5C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-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 RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup: AppAction<\n typeof RoamDeleteGroupInput,\n typeof RoamDeleteGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;;AAcA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkC,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;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/delete-user.ts
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-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 RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser: AppAction<\n typeof RoamDeleteUserInput,\n typeof RoamDeleteUserOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,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/delete-user.d.ts
@@ -8,9 +10,7 @@ declare const RoamDeleteUserOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  status_code: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const roamDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const roamDeleteUser: AppAction<typeof RoamDeleteUserInput, typeof RoamDeleteUserOutput, typeof roam.credential>;
14
14
  //#endregion
15
15
  export { roamDeleteUser };
16
16
  //# sourceMappingURL=delete-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,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/delete-user.d.ts
@@ -8,9 +10,7 @@ declare const RoamDeleteUserOutput: z.ZodObject<{
8
10
  success: z.ZodNullable<z.ZodBoolean>;
9
11
  status_code: z.ZodNullable<z.ZodNumber>;
10
12
  }, z.core.$loose>;
11
- declare const roamDeleteUser: import("@keystrokehq/action").WorkflowActionDefinition<{
12
- id: string;
13
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
13
+ declare const roamDeleteUser: AppAction<typeof RoamDeleteUserInput, typeof RoamDeleteUserOutput, typeof roam.credential>;
14
14
  //#endregion
15
15
  export { roamDeleteUser };
16
16
  //# sourceMappingURL=delete-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,gCAAc,wBAAA"}
1
+ {"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,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
  const roamDeleteUser = action("ROAM_DELETE_USER", {
@@ -1 +1 @@
1
- {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;AAYA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiC,EAAE,OAAO,EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAUH;CACP,QAVkC,EAAE,OAAO;EAC3C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-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 RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser: AppAction<\n typeof RoamDeleteUserInput,\n typeof RoamDeleteUserOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;;AAcA,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO,EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAcH;CACP,QAdkC,EAAE,OAAO;EAC3C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;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/get-address-info.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-address-info.cjs","names":["z","action"],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAuCA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACrG,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-address-info.cjs","names":["z","action"],"sources":["../../src/actions/get-address-info.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 RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo: AppAction<\n typeof RoamGetAddressInfoInput,\n typeof RoamGetAddressInfoOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAuCA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACrG,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/get-address-info.d.ts
@@ -16,9 +18,7 @@ declare const RoamGetAddressInfoOutput: z.ZodObject<{
16
18
  integration_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  display_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const roamGetAddressInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- addr: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const roamGetAddressInfo: AppAction<typeof RoamGetAddressInfoInput, typeof RoamGetAddressInfoOutput, typeof roam.credential>;
22
22
  //#endregion
23
23
  export { roamGetAddressInfo };
24
24
  //# sourceMappingURL=get-address-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-address-info.d.cts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-address-info.d.cts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-address-info.d.ts
@@ -16,9 +18,7 @@ declare const RoamGetAddressInfoOutput: z.ZodObject<{
16
18
  integration_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
19
  display_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
20
  }, z.core.$loose>;
19
- declare const roamGetAddressInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
20
- addr: string;
21
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
21
+ declare const roamGetAddressInfo: AppAction<typeof RoamGetAddressInfoInput, typeof RoamGetAddressInfoOutput, typeof roam.credential>;
22
22
  //#endregion
23
23
  export { roamGetAddressInfo };
24
24
  //# sourceMappingURL=get-address-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-address-info.d.mts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-address-info.d.mts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-address-info.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-address-info.mjs","names":[],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAuC,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAWrG,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-address-info.mjs","names":[],"sources":["../../src/actions/get-address-info.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 RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo: AppAction<\n typeof RoamGetAddressInfoInput,\n typeof RoamGetAddressInfoOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAuC,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAWrG,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;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/get-chat-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-chat-history.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzD,UAAUA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-chat-history.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-history.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 RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory: AppAction<\n typeof RoamGetChatHistoryInput,\n typeof RoamGetChatHistoryOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzD,UAAUA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/get-chat-history.d.ts
@@ -21,14 +23,7 @@ declare const RoamGetChatHistoryOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>>>;
22
24
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const roamGetChatHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- chat: string;
26
- after?: string | undefined;
27
- limit?: number | undefined;
28
- before?: string | undefined;
29
- cursor?: string | undefined;
30
- thread_timestamp?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const roamGetChatHistory: AppAction<typeof RoamGetChatHistoryInput, typeof RoamGetChatHistoryOutput, typeof roam.credential>;
32
27
  //#endregion
33
28
  export { roamGetChatHistory };
34
29
  //# sourceMappingURL=get-chat-history.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-chat-history.d.cts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-chat-history.d.cts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-chat-history.d.ts
@@ -21,14 +23,7 @@ declare const RoamGetChatHistoryOutput: z.ZodObject<{
21
23
  }, z.core.$loose>>>>;
22
24
  nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
25
  }, z.core.$loose>;
24
- declare const roamGetChatHistory: import("@keystrokehq/action").WorkflowActionDefinition<{
25
- chat: string;
26
- after?: string | undefined;
27
- limit?: number | undefined;
28
- before?: string | undefined;
29
- cursor?: string | undefined;
30
- thread_timestamp?: number | undefined;
31
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
26
+ declare const roamGetChatHistory: AppAction<typeof RoamGetChatHistoryInput, typeof RoamGetChatHistoryOutput, typeof roam.credential>;
32
27
  //#endregion
33
28
  export { roamGetChatHistory };
34
29
  //# sourceMappingURL=get-chat-history.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-chat-history.d.mts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-chat-history.d.mts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-chat-history.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-chat-history.mjs","names":[],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-chat-history.mjs","names":[],"sources":["../../src/actions/get-chat-history.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 RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory: AppAction<\n typeof RoamGetChatHistoryInput,\n typeof RoamGetChatHistoryOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;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/get-meeting-link.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-meeting-link.cjs","names":["z","action"],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-meeting-link.cjs","names":["z","action"],"sources":["../../src/actions/get-meeting-link.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 RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink: AppAction<\n typeof RoamGetMeetingLinkInput,\n typeof RoamGetMeetingLinkOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/get-meeting-link.d.ts
@@ -12,9 +14,7 @@ declare const RoamGetMeetingLinkOutput: z.ZodObject<{
12
14
  name: z.ZodNullable<z.ZodString>;
13
15
  start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const roamGetMeetingLink: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const roamGetMeetingLink: AppAction<typeof RoamGetMeetingLinkInput, typeof RoamGetMeetingLinkOutput, typeof roam.credential>;
18
18
  //#endregion
19
19
  export { roamGetMeetingLink };
20
20
  //# sourceMappingURL=get-meeting-link.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-meeting-link.d.cts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-meeting-link.d.cts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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/get-meeting-link.d.ts
@@ -12,9 +14,7 @@ declare const RoamGetMeetingLinkOutput: z.ZodObject<{
12
14
  name: z.ZodNullable<z.ZodString>;
13
15
  start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
16
  }, z.core.$loose>;
15
- declare const roamGetMeetingLink: import("@keystrokehq/action").WorkflowActionDefinition<{
16
- id: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ declare const roamGetMeetingLink: AppAction<typeof RoamGetMeetingLinkInput, typeof RoamGetMeetingLinkOutput, typeof roam.credential>;
18
18
  //#endregion
19
19
  export { roamGetMeetingLink };
20
20
  //# sourceMappingURL=get-meeting-link.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-meeting-link.d.mts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,gCAAkB,wBAAA"}
1
+ {"version":3,"file":"get-meeting-link.d.mts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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 roamGetMeetingLink = action("ROAM_GET_MEETING_LINK", {
@@ -1 +1 @@
1
- {"version":3,"file":"get-meeting-link.mjs","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;AAgBA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAcH;CACP,QAdsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-meeting-link.mjs","names":[],"sources":["../../src/actions/get-meeting-link.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 RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink: AppAction<\n typeof RoamGetMeetingLinkInput,\n typeof RoamGetMeetingLinkOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;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/get-resource-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-resource-types.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-resource-types.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-types.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 RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes: AppAction<\n typeof RoamGetResourceTypesInput,\n typeof RoamGetResourceTypesOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/get-resource-types.d.ts
@@ -13,7 +15,7 @@ declare const RoamGetResourceTypesOutput: z.ZodObject<{
13
15
  itemsPerPage: z.ZodNullable<z.ZodNumber>;
14
16
  totalResults: z.ZodNullable<z.ZodNumber>;
15
17
  }, z.core.$loose>;
16
- declare const roamGetResourceTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const roamGetResourceTypes: AppAction<typeof RoamGetResourceTypesInput, typeof RoamGetResourceTypesOutput, typeof roam.credential>;
17
19
  //#endregion
18
20
  export { roamGetResourceTypes };
19
21
  //# sourceMappingURL=get-resource-types.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-resource-types.d.cts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-resource-types.d.cts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/get-resource-types.d.ts
@@ -13,7 +15,7 @@ declare const RoamGetResourceTypesOutput: z.ZodObject<{
13
15
  itemsPerPage: z.ZodNullable<z.ZodNumber>;
14
16
  totalResults: z.ZodNullable<z.ZodNumber>;
15
17
  }, z.core.$loose>;
16
- declare const roamGetResourceTypes: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
18
+ declare const roamGetResourceTypes: AppAction<typeof RoamGetResourceTypesInput, typeof RoamGetResourceTypesOutput, typeof roam.credential>;
17
19
  //#endregion
18
20
  export { roamGetResourceTypes };
19
21
  //# sourceMappingURL=get-resource-types.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-resource-types.d.mts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ1B,oBAAA,gCAAoB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-resource-types.d.mts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/get-resource-types.ts
@@ -1 +1 @@
1
- {"version":3,"file":"get-resource-types.mjs","names":[],"sources":["../../src/actions/get-resource-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAS5D,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAOhB;AACV,CAAC"}
1
+ {"version":3,"file":"get-resource-types.mjs","names":[],"sources":["../../src/actions/get-resource-types.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 RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes: AppAction<\n typeof RoamGetResourceTypesInput,\n typeof RoamGetResourceTypesOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAS5D,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;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/get-roam-scim-config.ts