@keystrokehq/roam 0.1.0 → 0.1.2

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 (288) hide show
  1. package/README.md +1 -1
  2. package/dist/action.cjs.map +1 -1
  3. package/dist/action.mjs.map +1 -1
  4. package/dist/actions/add-group-members.cjs.map +1 -1
  5. package/dist/actions/add-group-members.d.cts +13 -3
  6. package/dist/actions/add-group-members.d.cts.map +1 -1
  7. package/dist/actions/add-group-members.d.mts +13 -3
  8. package/dist/actions/add-group-members.d.mts.map +1 -1
  9. package/dist/actions/add-group-members.mjs.map +1 -1
  10. package/dist/actions/add-reaction.cjs.map +1 -1
  11. package/dist/actions/add-reaction.d.cts +20 -3
  12. package/dist/actions/add-reaction.d.cts.map +1 -1
  13. package/dist/actions/add-reaction.d.mts +20 -3
  14. package/dist/actions/add-reaction.d.mts.map +1 -1
  15. package/dist/actions/add-reaction.mjs.map +1 -1
  16. package/dist/actions/create-group.cjs +4 -4
  17. package/dist/actions/create-group.cjs.map +1 -1
  18. package/dist/actions/create-group.d.cts +22 -3
  19. package/dist/actions/create-group.d.cts.map +1 -1
  20. package/dist/actions/create-group.d.mts +22 -3
  21. package/dist/actions/create-group.d.mts.map +1 -1
  22. package/dist/actions/create-group.mjs +4 -4
  23. package/dist/actions/create-group.mjs.map +1 -1
  24. package/dist/actions/create-roam-scim-group.cjs +2 -2
  25. package/dist/actions/create-roam-scim-group.cjs.map +1 -1
  26. package/dist/actions/create-roam-scim-group.d.cts +17 -3
  27. package/dist/actions/create-roam-scim-group.d.cts.map +1 -1
  28. package/dist/actions/create-roam-scim-group.d.mts +17 -3
  29. package/dist/actions/create-roam-scim-group.d.mts.map +1 -1
  30. package/dist/actions/create-roam-scim-group.mjs +2 -2
  31. package/dist/actions/create-roam-scim-group.mjs.map +1 -1
  32. package/dist/actions/create-user.cjs +1 -1
  33. package/dist/actions/create-user.cjs.map +1 -1
  34. package/dist/actions/create-user.d.cts +56 -3
  35. package/dist/actions/create-user.d.cts.map +1 -1
  36. package/dist/actions/create-user.d.mts +56 -3
  37. package/dist/actions/create-user.d.mts.map +1 -1
  38. package/dist/actions/create-user.mjs +1 -1
  39. package/dist/actions/create-user.mjs.map +1 -1
  40. package/dist/actions/delete-group.cjs +2 -2
  41. package/dist/actions/delete-group.cjs.map +1 -1
  42. package/dist/actions/delete-group.d.cts +10 -3
  43. package/dist/actions/delete-group.d.cts.map +1 -1
  44. package/dist/actions/delete-group.d.mts +10 -3
  45. package/dist/actions/delete-group.d.mts.map +1 -1
  46. package/dist/actions/delete-group.mjs +2 -2
  47. package/dist/actions/delete-group.mjs.map +1 -1
  48. package/dist/actions/delete-user.cjs +2 -2
  49. package/dist/actions/delete-user.cjs.map +1 -1
  50. package/dist/actions/delete-user.d.cts +10 -3
  51. package/dist/actions/delete-user.d.cts.map +1 -1
  52. package/dist/actions/delete-user.d.mts +10 -3
  53. package/dist/actions/delete-user.d.mts.map +1 -1
  54. package/dist/actions/delete-user.mjs +2 -2
  55. package/dist/actions/delete-user.mjs.map +1 -1
  56. package/dist/actions/get-address-info.cjs.map +1 -1
  57. package/dist/actions/get-address-info.d.cts +18 -3
  58. package/dist/actions/get-address-info.d.cts.map +1 -1
  59. package/dist/actions/get-address-info.d.mts +18 -3
  60. package/dist/actions/get-address-info.d.mts.map +1 -1
  61. package/dist/actions/get-address-info.mjs.map +1 -1
  62. package/dist/actions/get-chat-history.cjs +7 -7
  63. package/dist/actions/get-chat-history.cjs.map +1 -1
  64. package/dist/actions/get-chat-history.d.cts +28 -3
  65. package/dist/actions/get-chat-history.d.cts.map +1 -1
  66. package/dist/actions/get-chat-history.d.mts +28 -3
  67. package/dist/actions/get-chat-history.d.mts.map +1 -1
  68. package/dist/actions/get-chat-history.mjs +7 -7
  69. package/dist/actions/get-chat-history.mjs.map +1 -1
  70. package/dist/actions/get-meeting-link.cjs +4 -4
  71. package/dist/actions/get-meeting-link.cjs.map +1 -1
  72. package/dist/actions/get-meeting-link.d.cts +14 -3
  73. package/dist/actions/get-meeting-link.d.cts.map +1 -1
  74. package/dist/actions/get-meeting-link.d.mts +14 -3
  75. package/dist/actions/get-meeting-link.d.mts.map +1 -1
  76. package/dist/actions/get-meeting-link.mjs +4 -4
  77. package/dist/actions/get-meeting-link.mjs.map +1 -1
  78. package/dist/actions/get-resource-types.cjs +6 -6
  79. package/dist/actions/get-resource-types.cjs.map +1 -1
  80. package/dist/actions/get-resource-types.d.cts +13 -3
  81. package/dist/actions/get-resource-types.d.cts.map +1 -1
  82. package/dist/actions/get-resource-types.d.mts +13 -3
  83. package/dist/actions/get-resource-types.d.mts.map +1 -1
  84. package/dist/actions/get-resource-types.mjs +6 -6
  85. package/dist/actions/get-resource-types.mjs.map +1 -1
  86. package/dist/actions/get-roam-scim-config.cjs.map +1 -1
  87. package/dist/actions/get-roam-scim-config.d.cts +38 -3
  88. package/dist/actions/get-roam-scim-config.d.cts.map +1 -1
  89. package/dist/actions/get-roam-scim-config.d.mts +38 -3
  90. package/dist/actions/get-roam-scim-config.d.mts.map +1 -1
  91. package/dist/actions/get-roam-scim-config.mjs.map +1 -1
  92. package/dist/actions/get-scim-schema.cjs.map +1 -1
  93. package/dist/actions/get-scim-schema.d.cts +14 -3
  94. package/dist/actions/get-scim-schema.d.cts.map +1 -1
  95. package/dist/actions/get-scim-schema.d.mts +14 -3
  96. package/dist/actions/get-scim-schema.d.mts.map +1 -1
  97. package/dist/actions/get-scim-schema.mjs.map +1 -1
  98. package/dist/actions/get-scim-user.cjs.map +1 -1
  99. package/dist/actions/get-scim-user.d.cts +32 -3
  100. package/dist/actions/get-scim-user.d.cts.map +1 -1
  101. package/dist/actions/get-scim-user.d.mts +32 -3
  102. package/dist/actions/get-scim-user.d.mts.map +1 -1
  103. package/dist/actions/get-scim-user.mjs.map +1 -1
  104. package/dist/actions/get-test.cjs.map +1 -1
  105. package/dist/actions/get-test.d.cts +5 -3
  106. package/dist/actions/get-test.d.cts.map +1 -1
  107. package/dist/actions/get-test.d.mts +5 -3
  108. package/dist/actions/get-test.d.mts.map +1 -1
  109. package/dist/actions/get-test.mjs.map +1 -1
  110. package/dist/actions/get-token-info.cjs +3 -3
  111. package/dist/actions/get-token-info.cjs.map +1 -1
  112. package/dist/actions/get-token-info.d.cts +12 -3
  113. package/dist/actions/get-token-info.d.cts.map +1 -1
  114. package/dist/actions/get-token-info.d.mts +12 -3
  115. package/dist/actions/get-token-info.d.mts.map +1 -1
  116. package/dist/actions/get-token-info.mjs +3 -3
  117. package/dist/actions/get-token-info.mjs.map +1 -1
  118. package/dist/actions/get-user-info.cjs +3 -3
  119. package/dist/actions/get-user-info.cjs.map +1 -1
  120. package/dist/actions/get-user-info.d.cts +17 -3
  121. package/dist/actions/get-user-info.d.cts.map +1 -1
  122. package/dist/actions/get-user-info.d.mts +17 -3
  123. package/dist/actions/get-user-info.d.mts.map +1 -1
  124. package/dist/actions/get-user-info.mjs +3 -3
  125. package/dist/actions/get-user-info.mjs.map +1 -1
  126. package/dist/actions/list-chats.cjs +3 -3
  127. package/dist/actions/list-chats.cjs.map +1 -1
  128. package/dist/actions/list-chats.d.cts +17 -3
  129. package/dist/actions/list-chats.d.cts.map +1 -1
  130. package/dist/actions/list-chats.d.mts +17 -3
  131. package/dist/actions/list-chats.d.mts.map +1 -1
  132. package/dist/actions/list-chats.mjs +3 -3
  133. package/dist/actions/list-chats.mjs.map +1 -1
  134. package/dist/actions/list-group-members.cjs +2 -2
  135. package/dist/actions/list-group-members.cjs.map +1 -1
  136. package/dist/actions/list-group-members.d.cts +17 -3
  137. package/dist/actions/list-group-members.d.cts.map +1 -1
  138. package/dist/actions/list-group-members.d.mts +17 -3
  139. package/dist/actions/list-group-members.d.mts.map +1 -1
  140. package/dist/actions/list-group-members.mjs +2 -2
  141. package/dist/actions/list-group-members.mjs.map +1 -1
  142. package/dist/actions/list-groups.cjs +8 -8
  143. package/dist/actions/list-groups.cjs.map +1 -1
  144. package/dist/actions/list-groups.d.cts +28 -3
  145. package/dist/actions/list-groups.d.cts.map +1 -1
  146. package/dist/actions/list-groups.d.mts +28 -3
  147. package/dist/actions/list-groups.d.mts.map +1 -1
  148. package/dist/actions/list-groups.mjs +8 -8
  149. package/dist/actions/list-groups.mjs.map +1 -1
  150. package/dist/actions/list-lobbies.cjs +5 -5
  151. package/dist/actions/list-lobbies.cjs.map +1 -1
  152. package/dist/actions/list-lobbies.d.cts +16 -3
  153. package/dist/actions/list-lobbies.d.cts.map +1 -1
  154. package/dist/actions/list-lobbies.d.mts +16 -3
  155. package/dist/actions/list-lobbies.d.mts.map +1 -1
  156. package/dist/actions/list-lobbies.mjs +5 -5
  157. package/dist/actions/list-lobbies.mjs.map +1 -1
  158. package/dist/actions/list-meetings.cjs +3 -3
  159. package/dist/actions/list-meetings.cjs.map +1 -1
  160. package/dist/actions/list-meetings.d.cts +28 -3
  161. package/dist/actions/list-meetings.d.cts.map +1 -1
  162. package/dist/actions/list-meetings.d.mts +28 -3
  163. package/dist/actions/list-meetings.d.mts.map +1 -1
  164. package/dist/actions/list-meetings.mjs +3 -3
  165. package/dist/actions/list-meetings.mjs.map +1 -1
  166. package/dist/actions/list-recordings.cjs.map +1 -1
  167. package/dist/actions/list-recordings.d.cts +22 -3
  168. package/dist/actions/list-recordings.d.cts.map +1 -1
  169. package/dist/actions/list-recordings.d.mts +22 -3
  170. package/dist/actions/list-recordings.d.mts.map +1 -1
  171. package/dist/actions/list-recordings.mjs.map +1 -1
  172. package/dist/actions/list-roam-scim-users.cjs.map +1 -1
  173. package/dist/actions/list-roam-scim-users.d.cts +42 -3
  174. package/dist/actions/list-roam-scim-users.d.cts.map +1 -1
  175. package/dist/actions/list-roam-scim-users.d.mts +42 -3
  176. package/dist/actions/list-roam-scim-users.d.mts.map +1 -1
  177. package/dist/actions/list-roam-scim-users.mjs.map +1 -1
  178. package/dist/actions/list-schemas.cjs +6 -6
  179. package/dist/actions/list-schemas.cjs.map +1 -1
  180. package/dist/actions/list-schemas.d.cts +13 -3
  181. package/dist/actions/list-schemas.d.cts.map +1 -1
  182. package/dist/actions/list-schemas.d.mts +13 -3
  183. package/dist/actions/list-schemas.d.mts.map +1 -1
  184. package/dist/actions/list-schemas.mjs +6 -6
  185. package/dist/actions/list-schemas.mjs.map +1 -1
  186. package/dist/actions/list-transcripts.cjs +4 -4
  187. package/dist/actions/list-transcripts.cjs.map +1 -1
  188. package/dist/actions/list-transcripts.d.cts +26 -3
  189. package/dist/actions/list-transcripts.d.cts.map +1 -1
  190. package/dist/actions/list-transcripts.d.mts +26 -3
  191. package/dist/actions/list-transcripts.d.mts.map +1 -1
  192. package/dist/actions/list-transcripts.mjs +4 -4
  193. package/dist/actions/list-transcripts.mjs.map +1 -1
  194. package/dist/actions/list-user-audit-log.cjs.map +1 -1
  195. package/dist/actions/list-user-audit-log.d.cts +25 -3
  196. package/dist/actions/list-user-audit-log.d.cts.map +1 -1
  197. package/dist/actions/list-user-audit-log.d.mts +25 -3
  198. package/dist/actions/list-user-audit-log.d.mts.map +1 -1
  199. package/dist/actions/list-user-audit-log.mjs.map +1 -1
  200. package/dist/actions/list-users.cjs.map +1 -1
  201. package/dist/actions/list-users.d.cts +21 -3
  202. package/dist/actions/list-users.d.cts.map +1 -1
  203. package/dist/actions/list-users.d.mts +21 -3
  204. package/dist/actions/list-users.d.mts.map +1 -1
  205. package/dist/actions/list-users.mjs.map +1 -1
  206. package/dist/actions/lookup-user.cjs +2 -2
  207. package/dist/actions/lookup-user.cjs.map +1 -1
  208. package/dist/actions/lookup-user.d.cts +15 -3
  209. package/dist/actions/lookup-user.d.cts.map +1 -1
  210. package/dist/actions/lookup-user.d.mts +15 -3
  211. package/dist/actions/lookup-user.d.mts.map +1 -1
  212. package/dist/actions/lookup-user.mjs +2 -2
  213. package/dist/actions/lookup-user.mjs.map +1 -1
  214. package/dist/actions/patch-group.cjs +1 -1
  215. package/dist/actions/patch-group.cjs.map +1 -1
  216. package/dist/actions/patch-group.d.cts +36 -3
  217. package/dist/actions/patch-group.d.cts.map +1 -1
  218. package/dist/actions/patch-group.d.mts +36 -3
  219. package/dist/actions/patch-group.d.mts.map +1 -1
  220. package/dist/actions/patch-group.mjs +1 -1
  221. package/dist/actions/patch-group.mjs.map +1 -1
  222. package/dist/actions/patch-user.cjs.map +1 -1
  223. package/dist/actions/patch-user.d.cts +50 -3
  224. package/dist/actions/patch-user.d.cts.map +1 -1
  225. package/dist/actions/patch-user.d.mts +50 -3
  226. package/dist/actions/patch-user.d.mts.map +1 -1
  227. package/dist/actions/patch-user.mjs.map +1 -1
  228. package/dist/actions/post-chat.cjs.map +1 -1
  229. package/dist/actions/post-chat.d.cts +27 -3
  230. package/dist/actions/post-chat.d.cts.map +1 -1
  231. package/dist/actions/post-chat.d.mts +27 -3
  232. package/dist/actions/post-chat.d.mts.map +1 -1
  233. package/dist/actions/post-chat.mjs.map +1 -1
  234. package/dist/actions/remove-group-members.cjs.map +1 -1
  235. package/dist/actions/remove-group-members.d.cts +11 -3
  236. package/dist/actions/remove-group-members.d.cts.map +1 -1
  237. package/dist/actions/remove-group-members.d.mts +11 -3
  238. package/dist/actions/remove-group-members.d.mts.map +1 -1
  239. package/dist/actions/remove-group-members.mjs.map +1 -1
  240. package/dist/actions/replace-group.cjs +2 -2
  241. package/dist/actions/replace-group.cjs.map +1 -1
  242. package/dist/actions/replace-group.d.cts +26 -3
  243. package/dist/actions/replace-group.d.cts.map +1 -1
  244. package/dist/actions/replace-group.d.mts +26 -3
  245. package/dist/actions/replace-group.d.mts.map +1 -1
  246. package/dist/actions/replace-group.mjs +2 -2
  247. package/dist/actions/replace-group.mjs.map +1 -1
  248. package/dist/actions/replace-user.cjs +1 -1
  249. package/dist/actions/replace-user.cjs.map +1 -1
  250. package/dist/actions/replace-user.d.cts +58 -3
  251. package/dist/actions/replace-user.d.cts.map +1 -1
  252. package/dist/actions/replace-user.d.mts +58 -3
  253. package/dist/actions/replace-user.d.mts.map +1 -1
  254. package/dist/actions/replace-user.mjs +1 -1
  255. package/dist/actions/replace-user.mjs.map +1 -1
  256. package/dist/actions/send-message.cjs.map +1 -1
  257. package/dist/actions/send-message.d.cts +24 -3
  258. package/dist/actions/send-message.d.cts.map +1 -1
  259. package/dist/actions/send-message.d.mts +24 -3
  260. package/dist/actions/send-message.d.mts.map +1 -1
  261. package/dist/actions/send-message.mjs.map +1 -1
  262. package/dist/actions/send-typing.cjs +2 -2
  263. package/dist/actions/send-typing.cjs.map +1 -1
  264. package/dist/actions/send-typing.d.cts +10 -3
  265. package/dist/actions/send-typing.d.cts.map +1 -1
  266. package/dist/actions/send-typing.d.mts +10 -3
  267. package/dist/actions/send-typing.d.mts.map +1 -1
  268. package/dist/actions/send-typing.mjs +2 -2
  269. package/dist/actions/send-typing.mjs.map +1 -1
  270. package/dist/actions/update-meeting-link.cjs.map +1 -1
  271. package/dist/actions/update-meeting-link.d.cts +15 -3
  272. package/dist/actions/update-meeting-link.d.cts.map +1 -1
  273. package/dist/actions/update-meeting-link.d.mts +15 -3
  274. package/dist/actions/update-meeting-link.d.mts.map +1 -1
  275. package/dist/actions/update-meeting-link.mjs.map +1 -1
  276. package/dist/actions/upload-item.cjs +1 -1
  277. package/dist/actions/upload-item.cjs.map +1 -1
  278. package/dist/actions/upload-item.d.cts +27 -3
  279. package/dist/actions/upload-item.d.cts.map +1 -1
  280. package/dist/actions/upload-item.d.mts +27 -3
  281. package/dist/actions/upload-item.d.mts.map +1 -1
  282. package/dist/actions/upload-item.mjs +1 -1
  283. package/dist/actions/upload-item.mjs.map +1 -1
  284. package/dist/execute.cjs +1 -1
  285. package/dist/execute.cjs.map +1 -1
  286. package/dist/execute.mjs +1 -1
  287. package/dist/execute.mjs.map +1 -1
  288. package/package.json +2 -2
@@ -3,9 +3,9 @@ import { z } from "zod";
3
3
  //#region src/actions/list-schemas.ts
4
4
  const RoamListSchemasInput = z.object({}).describe("Request model for listing SCIM schemas.\nNo parameters required - this is a discovery endpoint.");
5
5
  const RoamListSchemas_SchemaResourceSchema = z.object({
6
- id: z.string().describe("The schema URN identifier (e.g., urn:ietf:params:scim:schemas:core:2.0:User)"),
7
- name: z.string().describe("Schema name (e.g., User)"),
8
- description: z.string().describe("Description of what this schema defines")
6
+ id: z.string().describe("The schema URN identifier (e.g., urn:ietf:params:scim:schemas:core:2.0:User)").nullable(),
7
+ name: z.string().describe("Schema name (e.g., User)").nullable(),
8
+ description: z.string().describe("Description of what this schema defines").nullable()
9
9
  }).describe("Individual schema resource in the list response.");
10
10
  const roamListSchemas = action("ROAM_LIST_SCHEMAS", {
11
11
  slug: "roam-list-schemas",
@@ -15,9 +15,9 @@ const roamListSchemas = action("ROAM_LIST_SCHEMAS", {
15
15
  output: z.object({
16
16
  schemas: z.array(z.string()).describe("List of SCIM schema URNs"),
17
17
  Resources: z.array(RoamListSchemas_SchemaResourceSchema).describe("Array of schema definitions"),
18
- startIndex: z.number().int().describe("Starting index (1-based)"),
19
- itemsPerPage: z.number().int().describe("Number of items per page"),
20
- totalResults: z.number().int().describe("Total number of schemas available")
18
+ startIndex: z.number().int().describe("Starting index (1-based)").nullable(),
19
+ itemsPerPage: z.number().int().describe("Number of items per page").nullable(),
20
+ totalResults: z.number().int().describe("Total number of schemas available").nullable()
21
21
  }).describe("Response model for listing SCIM schemas.")
22
22
  });
23
23
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"list-schemas.mjs","names":[],"sources":["../../src/actions/list-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListSchemasInput: z.ZodTypeAny = z.object({}).describe(\"Request model for listing SCIM schemas.\\nNo parameters required - this is a discovery endpoint.\");\nconst RoamListSchemas_SchemaResourceSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The schema URN identifier (e.g., urn:ietf:params:scim:schemas:core:2.0:User)\"),\n name: z.string().describe(\"Schema name (e.g., User)\"),\n description: z.string().describe(\"Description of what this schema defines\"),\n}).describe(\"Individual schema resource in the list response.\");\nexport const RoamListSchemasOutput: z.ZodTypeAny = z.object({\n schemas: z.array(z.string()).describe(\"List of SCIM schema URNs\"),\n Resources: z.array(RoamListSchemas_SchemaResourceSchema).describe(\"Array of schema definitions\"),\n startIndex: z.number().int().describe(\"Starting index (1-based)\"),\n itemsPerPage: z.number().int().describe(\"Number of items per page\"),\n totalResults: z.number().int().describe(\"Total number of schemas available\"),\n}).describe(\"Response model for listing SCIM schemas.\");\n\nexport const roamListSchemas = action(\"ROAM_LIST_SCHEMAS\", {\n slug: \"roam-list-schemas\",\n name: \"List SCIM Schemas\",\n description: \"Tool to list all SCIM 2.0 schemas supported by Roam. Use when you need to discover available SCIM resource schemas. Returns the core User and Group schemas plus Roam's custom role extension schemas.\",\n input: RoamListSchemasInput,\n output: RoamListSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;AACzK,MAAM,uCAAqD,EAAE,OAAO;CAClE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E;CACtG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;AAC5E,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAS9D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbiD,EAAE,OAAO;EAC1D,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;EAChE,WAAW,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EAChE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B;EAClE,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC;CAC7E,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-schemas.mjs","names":[],"sources":["../../src/actions/list-schemas.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListSchemasInput = z.object({}).describe(\"Request model for listing SCIM schemas.\\nNo parameters required - this is a discovery endpoint.\");\nconst RoamListSchemas_SchemaResourceSchema = z.object({\n id: z.string().describe(\"The schema URN identifier (e.g., urn:ietf:params:scim:schemas:core:2.0:User)\").nullable(),\n name: z.string().describe(\"Schema name (e.g., User)\").nullable(),\n description: z.string().describe(\"Description of what this schema defines\").nullable(),\n}).describe(\"Individual schema resource in the list response.\");\nexport const RoamListSchemasOutput = z.object({\n schemas: z.array(z.string()).describe(\"List of SCIM schema URNs\"),\n Resources: z.array(RoamListSchemas_SchemaResourceSchema).describe(\"Array of schema definitions\"),\n startIndex: z.number().int().describe(\"Starting index (1-based)\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of schemas available\").nullable(),\n}).describe(\"Response model for listing SCIM schemas.\");\n\nexport const roamListSchemas = action(\"ROAM_LIST_SCHEMAS\", {\n slug: \"roam-list-schemas\",\n name: \"List SCIM Schemas\",\n description: \"Tool to list all SCIM 2.0 schemas supported by Roam. Use when you need to discover available SCIM resource schemas. Returns the core User and Group schemas plus Roam's custom role extension schemas.\",\n input: RoamListSchemasInput,\n output: RoamListSchemasOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,iGAAiG;AAC3J,MAAM,uCAAuC,EAAE,OAAO;CACpD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACjH,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAS9D,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbmC,EAAE,OAAO;EAC5C,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,0BAA0B;EAChE,WAAW,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,6BAA6B;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC3E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC7E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACxF,CAAC,CAAC,CAAC,SAAS,0CAOF;AACV,CAAC"}
@@ -13,10 +13,10 @@ const RoamListTranscripts_TranscriptParticipantSchema = zod.z.object({
13
13
  email: zod.z.string().describe("Participant's email address").nullable().optional()
14
14
  });
15
15
  const RoamListTranscripts_TranscriptMetadataSchema = zod.z.object({
16
- id: zod.z.string().describe("Unique transcript ID (UUID)"),
17
- end: zod.z.string().describe("Transcript end datetime (ISO-8601)"),
18
- start: zod.z.string().describe("Transcript start datetime (ISO-8601)"),
19
- meeting_id: zod.z.string().describe("Meeting ID (UUID)"),
16
+ id: zod.z.string().describe("Unique transcript ID (UUID)").nullable(),
17
+ end: zod.z.string().describe("Transcript end datetime (ISO-8601)").nullable(),
18
+ start: zod.z.string().describe("Transcript start datetime (ISO-8601)").nullable(),
19
+ meeting_id: zod.z.string().describe("Meeting ID (UUID)").nullable(),
20
20
  participants: zod.z.array(RoamListTranscripts_TranscriptParticipantSchema).describe("List of participants in the transcript").nullable().optional()
21
21
  });
22
22
  const RoamListTranscriptsOutput = zod.z.object({
@@ -1 +1 @@
1
- {"version":3,"file":"list-transcripts.cjs","names":["z","action"],"sources":["../../src/actions/list-transcripts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListTranscriptsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Filter for transcripts that started after this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n limit: z.number().int().describe(\"Number of transcripts to return.\").optional(),\n before: z.string().describe(\"Filter for transcripts that started before this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n cursor: z.string().describe(\"Opaque cursor from a previous response to fetch the next page of results.\").optional(),\n});\nconst RoamListTranscripts_TranscriptParticipantSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Participant's display name\").nullable().optional(),\n user: z.string().describe(\"User ID if available\").nullable().optional(),\n email: z.string().describe(\"Participant's email address\").nullable().optional(),\n});\nconst RoamListTranscripts_TranscriptMetadataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique transcript ID (UUID)\"),\n end: z.string().describe(\"Transcript end datetime (ISO-8601)\"),\n start: z.string().describe(\"Transcript start datetime (ISO-8601)\"),\n meeting_id: z.string().describe(\"Meeting ID (UUID)\"),\n participants: z.array(RoamListTranscripts_TranscriptParticipantSchema).describe(\"List of participants in the transcript\").nullable().optional(),\n});\nexport const RoamListTranscriptsOutput: z.ZodTypeAny = z.object({\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n transcripts: z.array(RoamListTranscripts_TranscriptMetadataSchema).describe(\"List of transcript metadata\").nullable().optional(),\n});\n\nexport const roamListTranscripts = action(\"ROAM_LIST_TRANSCRIPTS\", {\n slug: \"roam-list-transcripts\",\n name: \"List Roam Transcripts\",\n description: \"Lists all transcripts in your Roam workspace, filtered by date range. Supports pagination via cursor and limiting the number of results. Returns transcript metadata (id, meetingId, start, end, participants) without full content. Use this action to discover available transcripts before retrieving detailed content.\",\n input: RoamListTranscriptsInput,\n output: RoamListTranscriptsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACpH,CAAC;AACD,MAAM,kDAAgEA,IAAAA,EAAE,OAAO;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,+CAA6DA,IAAAA,EAAE,OAAO;CAC1E,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACnD,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC;AACD,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-transcripts.cjs","names":["z","action"],"sources":["../../src/actions/list-transcripts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListTranscriptsInput = z.object({\n after: z.string().describe(\"Filter for transcripts that started after this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n limit: z.number().int().describe(\"Number of transcripts to return.\").optional(),\n before: z.string().describe(\"Filter for transcripts that started before this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n cursor: z.string().describe(\"Opaque cursor from a previous response to fetch the next page of results.\").optional(),\n});\nconst RoamListTranscripts_TranscriptParticipantSchema = z.object({\n name: z.string().describe(\"Participant's display name\").nullable().optional(),\n user: z.string().describe(\"User ID if available\").nullable().optional(),\n email: z.string().describe(\"Participant's email address\").nullable().optional(),\n});\nconst RoamListTranscripts_TranscriptMetadataSchema = z.object({\n id: z.string().describe(\"Unique transcript ID (UUID)\").nullable(),\n end: z.string().describe(\"Transcript end datetime (ISO-8601)\").nullable(),\n start: z.string().describe(\"Transcript start datetime (ISO-8601)\").nullable(),\n meeting_id: z.string().describe(\"Meeting ID (UUID)\").nullable(),\n participants: z.array(RoamListTranscripts_TranscriptParticipantSchema).describe(\"List of participants in the transcript\").nullable().optional(),\n});\nexport const RoamListTranscriptsOutput = z.object({\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n transcripts: z.array(RoamListTranscripts_TranscriptMetadataSchema).describe(\"List of transcript metadata\").nullable().optional(),\n});\n\nexport const roamListTranscripts = action(\"ROAM_LIST_TRANSCRIPTS\", {\n slug: \"roam-list-transcripts\",\n name: \"List Roam Transcripts\",\n description: \"Lists all transcripts in your Roam workspace, filtered by date range. Supports pagination via cursor and limiting the number of results. Returns transcript metadata (id, meetingId, start, end, participants) without full content. Use this action to discover available transcripts before retrieving detailed content.\",\n input: RoamListTranscriptsInput,\n output: RoamListTranscriptsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACpH,CAAC;AACD,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,cAAcA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC;AACD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,aAAaA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjI,CAAC;AAED,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-transcripts.d.ts
4
- declare const RoamListTranscriptsInput: z.ZodTypeAny;
5
- declare const RoamListTranscriptsOutput: z.ZodTypeAny;
6
- declare const roamListTranscripts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamListTranscriptsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ cursor: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RoamListTranscriptsOutput: z.ZodObject<{
11
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ transcripts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ end: z.ZodNullable<z.ZodString>;
15
+ start: z.ZodNullable<z.ZodString>;
16
+ meeting_id: z.ZodNullable<z.ZodString>;
17
+ participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ }, z.core.$strip>>>>;
23
+ }, z.core.$strip>;
24
+ declare const roamListTranscripts: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ after?: string | undefined;
26
+ limit?: number | undefined;
27
+ before?: string | undefined;
28
+ cursor?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { roamListTranscripts };
9
32
  //# sourceMappingURL=list-transcripts.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-transcripts.d.cts","names":[],"sources":["../../src/actions/list-transcripts.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAKvC;AAAA,cAaW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-transcripts.d.cts","names":[],"sources":["../../src/actions/list-transcripts.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -1,9 +1,32 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-transcripts.d.ts
4
- declare const RoamListTranscriptsInput: z.ZodTypeAny;
5
- declare const RoamListTranscriptsOutput: z.ZodTypeAny;
6
- declare const roamListTranscripts: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamListTranscriptsInput: z.ZodObject<{
5
+ after: z.ZodOptional<z.ZodString>;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ before: z.ZodOptional<z.ZodString>;
8
+ cursor: z.ZodOptional<z.ZodString>;
9
+ }, z.core.$strip>;
10
+ declare const RoamListTranscriptsOutput: z.ZodObject<{
11
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ transcripts: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
13
+ id: z.ZodNullable<z.ZodString>;
14
+ end: z.ZodNullable<z.ZodString>;
15
+ start: z.ZodNullable<z.ZodString>;
16
+ meeting_id: z.ZodNullable<z.ZodString>;
17
+ participants: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
18
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ user: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ }, z.core.$strip>>>>;
23
+ }, z.core.$strip>;
24
+ declare const roamListTranscripts: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ after?: string | undefined;
26
+ limit?: number | undefined;
27
+ before?: string | undefined;
28
+ cursor?: string | undefined;
29
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
30
  //#endregion
8
31
  export { roamListTranscripts };
9
32
  //# sourceMappingURL=list-transcripts.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-transcripts.d.mts","names":[],"sources":["../../src/actions/list-transcripts.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAKvC;AAAA,cAaW,yBAAA,EAA2B,CAAA,CAAE,UAGxC;AAAA,cAEW,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-transcripts.d.mts","names":[],"sources":["../../src/actions/list-transcripts.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
@@ -13,10 +13,10 @@ const RoamListTranscripts_TranscriptParticipantSchema = z.object({
13
13
  email: z.string().describe("Participant's email address").nullable().optional()
14
14
  });
15
15
  const RoamListTranscripts_TranscriptMetadataSchema = z.object({
16
- id: z.string().describe("Unique transcript ID (UUID)"),
17
- end: z.string().describe("Transcript end datetime (ISO-8601)"),
18
- start: z.string().describe("Transcript start datetime (ISO-8601)"),
19
- meeting_id: z.string().describe("Meeting ID (UUID)"),
16
+ id: z.string().describe("Unique transcript ID (UUID)").nullable(),
17
+ end: z.string().describe("Transcript end datetime (ISO-8601)").nullable(),
18
+ start: z.string().describe("Transcript start datetime (ISO-8601)").nullable(),
19
+ meeting_id: z.string().describe("Meeting ID (UUID)").nullable(),
20
20
  participants: z.array(RoamListTranscripts_TranscriptParticipantSchema).describe("List of participants in the transcript").nullable().optional()
21
21
  });
22
22
  const roamListTranscripts = action("ROAM_LIST_TRANSCRIPTS", {
@@ -1 +1 @@
1
- {"version":3,"file":"list-transcripts.mjs","names":[],"sources":["../../src/actions/list-transcripts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListTranscriptsInput: z.ZodTypeAny = z.object({\n after: z.string().describe(\"Filter for transcripts that started after this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n limit: z.number().int().describe(\"Number of transcripts to return.\").optional(),\n before: z.string().describe(\"Filter for transcripts that started before this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n cursor: z.string().describe(\"Opaque cursor from a previous response to fetch the next page of results.\").optional(),\n});\nconst RoamListTranscripts_TranscriptParticipantSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Participant's display name\").nullable().optional(),\n user: z.string().describe(\"User ID if available\").nullable().optional(),\n email: z.string().describe(\"Participant's email address\").nullable().optional(),\n});\nconst RoamListTranscripts_TranscriptMetadataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique transcript ID (UUID)\"),\n end: z.string().describe(\"Transcript end datetime (ISO-8601)\"),\n start: z.string().describe(\"Transcript start datetime (ISO-8601)\"),\n meeting_id: z.string().describe(\"Meeting ID (UUID)\"),\n participants: z.array(RoamListTranscripts_TranscriptParticipantSchema).describe(\"List of participants in the transcript\").nullable().optional(),\n});\nexport const RoamListTranscriptsOutput: z.ZodTypeAny = z.object({\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n transcripts: z.array(RoamListTranscripts_TranscriptMetadataSchema).describe(\"List of transcript metadata\").nullable().optional(),\n});\n\nexport const roamListTranscripts = action(\"ROAM_LIST_TRANSCRIPTS\", {\n slug: \"roam-list-transcripts\",\n name: \"List Roam Transcripts\",\n description: \"Lists all transcripts in your Roam workspace, filtered by date range. Supports pagination via cursor and limiting the number of results. Returns transcript metadata (id, meetingId, start, end, participants) without full content. Use this action to discover available transcripts before retrieving detailed content.\",\n input: RoamListTranscriptsInput,\n output: RoamListTranscriptsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACpH,CAAC;AACD,MAAM,kDAAgE,EAAE,OAAO;CAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,+CAA6D,EAAE,OAAO;CAC1E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC;CACjE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB;CACnD,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC;AAMD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVqD,EAAE,OAAO;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAOU;AACV,CAAC"}
1
+ {"version":3,"file":"list-transcripts.mjs","names":[],"sources":["../../src/actions/list-transcripts.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListTranscriptsInput = z.object({\n after: z.string().describe(\"Filter for transcripts that started after this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n limit: z.number().int().describe(\"Number of transcripts to return.\").optional(),\n before: z.string().describe(\"Filter for transcripts that started before this date/time (UTC). Format: YYYY-MM-DD or RFC-3339 datetime.\").optional(),\n cursor: z.string().describe(\"Opaque cursor from a previous response to fetch the next page of results.\").optional(),\n});\nconst RoamListTranscripts_TranscriptParticipantSchema = z.object({\n name: z.string().describe(\"Participant's display name\").nullable().optional(),\n user: z.string().describe(\"User ID if available\").nullable().optional(),\n email: z.string().describe(\"Participant's email address\").nullable().optional(),\n});\nconst RoamListTranscripts_TranscriptMetadataSchema = z.object({\n id: z.string().describe(\"Unique transcript ID (UUID)\").nullable(),\n end: z.string().describe(\"Transcript end datetime (ISO-8601)\").nullable(),\n start: z.string().describe(\"Transcript start datetime (ISO-8601)\").nullable(),\n meeting_id: z.string().describe(\"Meeting ID (UUID)\").nullable(),\n participants: z.array(RoamListTranscripts_TranscriptParticipantSchema).describe(\"List of participants in the transcript\").nullable().optional(),\n});\nexport const RoamListTranscriptsOutput = z.object({\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n transcripts: z.array(RoamListTranscripts_TranscriptMetadataSchema).describe(\"List of transcript metadata\").nullable().optional(),\n});\n\nexport const roamListTranscripts = action(\"ROAM_LIST_TRANSCRIPTS\", {\n slug: \"roam-list-transcripts\",\n name: \"List Roam Transcripts\",\n description: \"Lists all transcripts in your Roam workspace, filtered by date range. Supports pagination via cursor and limiting the number of results. Returns transcript metadata (id, meetingId, start, end, participants) without full content. Use this action to discover available transcripts before retrieving detailed content.\",\n input: RoamListTranscriptsInput,\n output: RoamListTranscriptsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChJ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAC9E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;CAClJ,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;AACpH,CAAC;AACD,MAAM,kDAAkD,EAAE,OAAO;CAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChF,CAAC;AACD,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;CAC5E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS;CAC9D,cAAc,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChJ,CAAC;AAMD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,CAOU;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-audit-log.cjs","names":["z","action"],"sources":["../../src/actions/list-user-audit-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUserAuditLogInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date to retrieve audit logs for. Format: YYYY-MM-DD.\"),\n limit: z.number().int().describe(\"Number of audit log entries to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing user audit log entries.\");\nconst RoamListUserAuditLog_AuditLogEntrySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the audit log entry.\").nullable().optional(),\n action: z.string().describe(\"Action performed by the user.\").nullable().optional(),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details about the action.\").nullable().optional(),\n user_id: z.string().describe(\"User ID associated with this action.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp of when the action occurred (ISO-8601).\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the action was performed.\").nullable().optional(),\n user_agent: z.string().describe(\"User agent string of the client.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the user associated with this action.\").nullable().optional(),\n resource_id: z.string().describe(\"ID of the resource affected.\").nullable().optional(),\n resource_type: z.string().describe(\"Type of resource affected.\").nullable().optional(),\n}).describe(\"A single user audit log entry.\");\nexport const RoamListUserAuditLogOutput: z.ZodTypeAny = z.object({\n entries: z.array(RoamListUserAuditLog_AuditLogEntrySchema).describe(\"List of audit log entries.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response model for listing user audit log entries.\");\n\nexport const roamListUserAuditLog = action(\"ROAM_LIST_USER_AUDIT_LOG\", {\n slug: \"roam-list-user-audit-log\",\n name: \"List User Audit Log\",\n description: \"Tool to get a list of user audit log entries for the account. Use when you need to retrieve audit logs for compliance and security monitoring purposes. This action requires the 'userauditlog:read' scope and organization-level access. Required parameter: date (format: YYYY-MM-DD) Optional: limit for pagination, cursor for paginating through results.\",\n input: RoamListUserAuditLogInput,\n output: RoamListUserAuditLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0CA,IAAAA,EAAE,OAAO;CAC9D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,2CAAyDA,IAAAA,EAAE,OAAO;CACtE,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,6BAA2CA,IAAAA,EAAE,OAAO;CAC/D,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-user-audit-log.cjs","names":["z","action"],"sources":["../../src/actions/list-user-audit-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUserAuditLogInput = z.object({\n date: z.string().describe(\"Date to retrieve audit logs for. Format: YYYY-MM-DD.\"),\n limit: z.number().int().describe(\"Number of audit log entries to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing user audit log entries.\");\nconst RoamListUserAuditLog_AuditLogEntrySchema = z.object({\n id: z.string().describe(\"Unique identifier of the audit log entry.\").nullable().optional(),\n action: z.string().describe(\"Action performed by the user.\").nullable().optional(),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details about the action.\").nullable().optional(),\n user_id: z.string().describe(\"User ID associated with this action.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp of when the action occurred (ISO-8601).\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the action was performed.\").nullable().optional(),\n user_agent: z.string().describe(\"User agent string of the client.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the user associated with this action.\").nullable().optional(),\n resource_id: z.string().describe(\"ID of the resource affected.\").nullable().optional(),\n resource_type: z.string().describe(\"Type of resource affected.\").nullable().optional(),\n}).describe(\"A single user audit log entry.\");\nexport const RoamListUserAuditLogOutput = z.object({\n entries: z.array(RoamListUserAuditLog_AuditLogEntrySchema).describe(\"List of audit log entries.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response model for listing user audit log entries.\");\n\nexport const roamListUserAuditLog = action(\"ROAM_LIST_USER_AUDIT_LOG\", {\n slug: \"roam-list-user-audit-log\",\n name: \"List User Audit Log\",\n description: \"Tool to get a list of user audit log entries for the account. Use when you need to retrieve audit logs for compliance and security monitoring purposes. This action requires the 'userauditlog:read' scope and organization-level access. Required parameter: date (format: YYYY-MM-DD) Optional: limit for pagination, cursor for paginating through results.\",\n input: RoamListUserAuditLogInput,\n output: RoamListUserAuditLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAASA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAEhE,MAAa,uBAAuBC,eAAAA,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-user-audit-log.d.ts
4
- declare const RoamListUserAuditLogInput: z.ZodTypeAny;
5
- declare const RoamListUserAuditLogOutput: z.ZodTypeAny;
6
- declare const roamListUserAuditLog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamListUserAuditLogInput: z.ZodObject<{
5
+ date: z.ZodString;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ cursor: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RoamListUserAuditLogOutput: z.ZodObject<{
10
+ entries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ user_agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ user_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ resource_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>;
24
+ declare const roamListUserAuditLog: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ date: string;
26
+ limit?: number | undefined;
27
+ cursor?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { roamListUserAuditLog };
9
31
  //# sourceMappingURL=list-user-audit-log.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-audit-log.d.cts","names":[],"sources":["../../src/actions/list-user-audit-log.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIsB;AAAA,cAanD,0BAAA,EAA4B,CAAA,CAAE,UAGsB;AAAA,cAEpD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-user-audit-log.d.cts","names":[],"sources":["../../src/actions/list-user-audit-log.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAiBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1,9 +1,31 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-user-audit-log.d.ts
4
- declare const RoamListUserAuditLogInput: z.ZodTypeAny;
5
- declare const RoamListUserAuditLogOutput: z.ZodTypeAny;
6
- declare const roamListUserAuditLog: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamListUserAuditLogInput: z.ZodObject<{
5
+ date: z.ZodString;
6
+ limit: z.ZodOptional<z.ZodNumber>;
7
+ cursor: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RoamListUserAuditLogOutput: z.ZodObject<{
10
+ entries: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ action: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
14
+ user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ timestamp: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16
+ ip_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ user_agent: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
+ user_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ resource_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
+ resource_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
+ }, z.core.$strip>>>>;
22
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
+ }, z.core.$strip>;
24
+ declare const roamListUserAuditLog: import("@keystrokehq/action").WorkflowActionDefinition<{
25
+ date: string;
26
+ limit?: number | undefined;
27
+ cursor?: string | undefined;
28
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
29
  //#endregion
8
30
  export { roamListUserAuditLog };
9
31
  //# sourceMappingURL=list-user-audit-log.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-audit-log.d.mts","names":[],"sources":["../../src/actions/list-user-audit-log.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAIsB;AAAA,cAanD,0BAAA,EAA4B,CAAA,CAAE,UAGsB;AAAA,cAEpD,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-user-audit-log.d.mts","names":[],"sources":["../../src/actions/list-user-audit-log.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cAiBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-user-audit-log.mjs","names":[],"sources":["../../src/actions/list-user-audit-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUserAuditLogInput: z.ZodTypeAny = z.object({\n date: z.string().describe(\"Date to retrieve audit logs for. Format: YYYY-MM-DD.\"),\n limit: z.number().int().describe(\"Number of audit log entries to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing user audit log entries.\");\nconst RoamListUserAuditLog_AuditLogEntrySchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the audit log entry.\").nullable().optional(),\n action: z.string().describe(\"Action performed by the user.\").nullable().optional(),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details about the action.\").nullable().optional(),\n user_id: z.string().describe(\"User ID associated with this action.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp of when the action occurred (ISO-8601).\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the action was performed.\").nullable().optional(),\n user_agent: z.string().describe(\"User agent string of the client.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the user associated with this action.\").nullable().optional(),\n resource_id: z.string().describe(\"ID of the resource affected.\").nullable().optional(),\n resource_type: z.string().describe(\"Type of resource affected.\").nullable().optional(),\n}).describe(\"A single user audit log entry.\");\nexport const RoamListUserAuditLogOutput: z.ZodTypeAny = z.object({\n entries: z.array(RoamListUserAuditLog_AuditLogEntrySchema).describe(\"List of audit log entries.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response model for listing user audit log entries.\");\n\nexport const roamListUserAuditLog = action(\"ROAM_LIST_USER_AUDIT_LOG\", {\n slug: \"roam-list-user-audit-log\",\n name: \"List User Audit Log\",\n description: \"Tool to get a list of user audit log entries for the account. Use when you need to retrieve audit logs for compliance and security monitoring purposes. This action requires the 'userauditlog:read' scope and organization-level access. Required parameter: date (format: YYYY-MM-DD) Optional: limit for pagination, cursor for paginating through results.\",\n input: RoamListUserAuditLogInput,\n output: RoamListUserAuditLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA0C,EAAE,OAAO;CAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,2CAAyD,EAAE,OAAO;CACtE,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAM5C,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsD,EAAE,OAAO;EAC/D,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-user-audit-log.mjs","names":[],"sources":["../../src/actions/list-user-audit-log.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUserAuditLogInput = z.object({\n date: z.string().describe(\"Date to retrieve audit logs for. Format: YYYY-MM-DD.\"),\n limit: z.number().int().describe(\"Number of audit log entries to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request model for listing user audit log entries.\");\nconst RoamListUserAuditLog_AuditLogEntrySchema = z.object({\n id: z.string().describe(\"Unique identifier of the audit log entry.\").nullable().optional(),\n action: z.string().describe(\"Action performed by the user.\").nullable().optional(),\n details: z.record(z.string(), z.unknown()).describe(\"Additional details about the action.\").nullable().optional(),\n user_id: z.string().describe(\"User ID associated with this action.\").nullable().optional(),\n timestamp: z.string().describe(\"Timestamp of when the action occurred (ISO-8601).\").nullable().optional(),\n ip_address: z.string().describe(\"IP address from which the action was performed.\").nullable().optional(),\n user_agent: z.string().describe(\"User agent string of the client.\").nullable().optional(),\n user_email: z.string().describe(\"Email of the user associated with this action.\").nullable().optional(),\n resource_id: z.string().describe(\"ID of the resource affected.\").nullable().optional(),\n resource_type: z.string().describe(\"Type of resource affected.\").nullable().optional(),\n}).describe(\"A single user audit log entry.\");\nexport const RoamListUserAuditLogOutput = z.object({\n entries: z.array(RoamListUserAuditLog_AuditLogEntrySchema).describe(\"List of audit log entries.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response model for listing user audit log entries.\");\n\nexport const roamListUserAuditLog = action(\"ROAM_LIST_USER_AUDIT_LOG\", {\n slug: \"roam-list-user-audit-log\",\n name: \"List User Audit Log\",\n description: \"Tool to get a list of user audit log entries for the account. Use when you need to retrieve audit logs for compliance and security monitoring purposes. This action requires the 'userauditlog:read' scope and organization-level access. Required parameter: date (format: YYYY-MM-DD) Optional: limit for pagination, cursor for paginating through results.\",\n input: RoamListUserAuditLogInput,\n output: RoamListUserAuditLogOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CAChF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC/G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;AACxH,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,2CAA2C,EAAE,OAAO;CACxD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,SAAS,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAM5C,MAAa,uBAAuB,OAAO,4BAA4B;CACrE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,oDAOF;AACV,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUsersInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of users to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n expand: z.string().describe(\"Comma-separated list of additional fields to include. Supported: 'status' (requires user:read.status scope).\").optional(),\n}).describe(\"Request parameters for listing users.\\n\\nThis endpoint retrieves all users in the Roam workspace.\\nOptional parameters allow pagination and expanded field selection.\");\nconst RoamListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\").nullable().optional(),\n name: z.string().describe(\"Name of the user.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n status: z.string().describe(\"Presence status of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n imageUrl: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n}).describe(\"Schema for a Roam user object.\");\nexport const RoamListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(RoamListUsers_UserSchema).describe(\"List of users in the workspace.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response schema for listing users.\");\n\nexport const roamListUsers = action(\"ROAM_LIST_USERS\", {\n slug: \"roam-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Roam workspace. Use when you need to retrieve a list of users with optional pagination and expanded fields like status. Required scope: user:read (add user:read.email for emails, user:read.status for presence status).\",\n input: RoamListUsersInput,\n output: RoamListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmCA,IAAAA,EAAE,OAAO;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uKAAuK;AACnL,MAAM,2BAAyCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,sBAAoCA,IAAAA,EAAE,OAAO;CACxD,OAAOA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.cjs","names":["z","action"],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUsersInput = z.object({\n limit: z.number().int().describe(\"Number of users to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n expand: z.string().describe(\"Comma-separated list of additional fields to include. Supported: 'status' (requires user:read.status scope).\").optional(),\n}).describe(\"Request parameters for listing users.\\n\\nThis endpoint retrieves all users in the Roam workspace.\\nOptional parameters allow pagination and expanded field selection.\");\nconst RoamListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\").nullable().optional(),\n name: z.string().describe(\"Name of the user.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n status: z.string().describe(\"Presence status of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n imageUrl: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n}).describe(\"Schema for a Roam user object.\");\nexport const RoamListUsersOutput = z.object({\n users: z.array(RoamListUsers_UserSchema).describe(\"List of users in the workspace.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response schema for listing users.\");\n\nexport const roamListUsers = action(\"ROAM_LIST_USERS\", {\n slug: \"roam-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Roam workspace. Use when you need to retrieve a list of users with optional pagination and expanded fields like status. Required scope: user:read (add user:read.email for emails, user:read.status for presence status).\",\n input: RoamListUsersInput,\n output: RoamListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uKAAuK;AACnL,MAAM,2BAA2BA,IAAAA,EAAE,OAAO;CACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAEhD,MAAa,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-users.d.ts
4
- declare const RoamListUsersInput: z.ZodTypeAny;
5
- declare const RoamListUsersOutput: z.ZodTypeAny;
6
- declare const roamListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamListUsersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ cursor: z.ZodOptional<z.ZodString>;
7
+ expand: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RoamListUsersOutput: z.ZodObject<{
10
+ users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ isAdmin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>>;
18
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ declare const roamListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ limit?: number | undefined;
22
+ cursor?: string | undefined;
23
+ expand?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { roamListUsers };
9
27
  //# sourceMappingURL=list-users.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAIiJ;AAAA,cASvK,mBAAA,EAAqB,CAAA,CAAE,UAGa;AAAA,cAEpC,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-users.d.cts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;cAalB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKnB,aAAA,gCAAa,wBAAA"}
@@ -1,9 +1,27 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/list-users.d.ts
4
- declare const RoamListUsersInput: z.ZodTypeAny;
5
- declare const RoamListUsersOutput: z.ZodTypeAny;
6
- declare const roamListUsers: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamListUsersInput: z.ZodObject<{
5
+ limit: z.ZodOptional<z.ZodNumber>;
6
+ cursor: z.ZodOptional<z.ZodString>;
7
+ expand: z.ZodOptional<z.ZodString>;
8
+ }, z.core.$strip>;
9
+ declare const RoamListUsersOutput: z.ZodObject<{
10
+ users: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
11
+ id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ isAdmin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16
+ imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
+ }, z.core.$strip>>>>;
18
+ nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
+ }, z.core.$strip>;
20
+ declare const roamListUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
21
+ limit?: number | undefined;
22
+ cursor?: string | undefined;
23
+ expand?: string | undefined;
24
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
25
  //#endregion
8
26
  export { roamListUsers };
9
27
  //# sourceMappingURL=list-users.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,EAAoB,CAAA,CAAE,UAIiJ;AAAA,cASvK,mBAAA,EAAqB,CAAA,CAAE,UAGa;AAAA,cAEpC,aAAA,gCAAa,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"list-users.d.mts","names":[],"sources":["../../src/actions/list-users.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;cAalB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;;;cAKnB,aAAA,gCAAa,wBAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUsersInput: z.ZodTypeAny = z.object({\n limit: z.number().int().describe(\"Number of users to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n expand: z.string().describe(\"Comma-separated list of additional fields to include. Supported: 'status' (requires user:read.status scope).\").optional(),\n}).describe(\"Request parameters for listing users.\\n\\nThis endpoint retrieves all users in the Roam workspace.\\nOptional parameters allow pagination and expanded field selection.\");\nconst RoamListUsers_UserSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\").nullable().optional(),\n name: z.string().describe(\"Name of the user.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n status: z.string().describe(\"Presence status of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n imageUrl: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n}).describe(\"Schema for a Roam user object.\");\nexport const RoamListUsersOutput: z.ZodTypeAny = z.object({\n users: z.array(RoamListUsers_UserSchema).describe(\"List of users in the workspace.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response schema for listing users.\");\n\nexport const roamListUsers = action(\"ROAM_LIST_USERS\", {\n slug: \"roam-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Roam workspace. Use when you need to retrieve a list of users with optional pagination and expanded fields like status. Required scope: user:read (add user:read.email for emails, user:read.status for presence status).\",\n input: RoamListUsersInput,\n output: RoamListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAmC,EAAE,OAAO;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uKAAuK;AACnL,MAAM,2BAAyC,EAAE,OAAO;CACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAM5C,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV+C,EAAE,OAAO;EACxD,OAAO,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"list-users.mjs","names":[],"sources":["../../src/actions/list-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListUsersInput = z.object({\n limit: z.number().int().describe(\"Number of users to return. Must be between 1 and 100.\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to fetch the next page of results.\").optional(),\n expand: z.string().describe(\"Comma-separated list of additional fields to include. Supported: 'status' (requires user:read.status scope).\").optional(),\n}).describe(\"Request parameters for listing users.\\n\\nThis endpoint retrieves all users in the Roam workspace.\\nOptional parameters allow pagination and expanded field selection.\");\nconst RoamListUsers_UserSchema = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\").nullable().optional(),\n name: z.string().describe(\"Name of the user.\").nullable().optional(),\n email: z.string().describe(\"Email address of the user.\").nullable().optional(),\n status: z.string().describe(\"Presence status of the user.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n imageUrl: z.string().describe(\"URL of the user's profile image.\").nullable().optional(),\n}).describe(\"Schema for a Roam user object.\");\nexport const RoamListUsersOutput = z.object({\n users: z.array(RoamListUsers_UserSchema).describe(\"List of users in the workspace.\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results.\").nullable().optional(),\n}).describe(\"Response schema for listing users.\");\n\nexport const roamListUsers = action(\"ROAM_LIST_USERS\", {\n slug: \"roam-list-users\",\n name: \"List Users\",\n description: \"Tool to list all users in the Roam workspace. Use when you need to retrieve a list of users with optional pagination and expanded fields like status. Required scope: user:read (add user:read.email for emails, user:read.status for presence status).\",\n input: RoamListUsersInput,\n output: RoamListUsersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;CACnG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACtH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,uKAAuK;AACnL,MAAM,2BAA2B,EAAE,OAAO;CACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAM5C,MAAa,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,EAAE,OAAO;EAC1C,OAAO,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,oCAOF;AACV,CAAC"}
@@ -3,8 +3,8 @@ let zod = require("zod");
3
3
  //#region src/actions/lookup-user.ts
4
4
  const RoamLookupUserInput = zod.z.object({ email: zod.z.string().describe("The email address of the user to look up.") }).describe("Request parameters for looking up a user by email.");
5
5
  const RoamLookupUserOutput = zod.z.object({
6
- id: zod.z.string().describe("Unique identifier of the user (UUID)."),
7
- name: zod.z.string().describe("User's display name."),
6
+ id: zod.z.string().describe("Unique identifier of the user (UUID).").nullable(),
7
+ name: zod.z.string().describe("User's display name.").nullable(),
8
8
  email: zod.z.string().describe("User's email address. Requires user:read.email scope.").nullable().optional(),
9
9
  is_admin: zod.z.boolean().describe("Whether the user has admin privileges.").nullable().optional(),
10
10
  location: zod.z.string().describe("User's location.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-user.cjs","names":["z","action"],"sources":["../../src/actions/lookup-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamLookupUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the user to look up.\"),\n}).describe(\"Request parameters for looking up a user by email.\");\nexport const RoamLookupUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\"),\n name: z.string().describe(\"User's display name.\"),\n email: z.string().describe(\"User's email address. Requires user:read.email scope.\").nullable().optional(),\n is_admin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n location: z.string().describe(\"User's location.\").nullable().optional(),\n image_url: z.string().describe(\"URL to user's profile image.\").nullable().optional(),\n job_title: z.string().describe(\"User's job title.\").nullable().optional(),\n}).describe(\"Response schema for user lookup.\");\n\nexport const roamLookupUser = action(\"ROAM_LOOKUP_USER\", {\n slug: \"roam-lookup-user\",\n name: \"Lookup user by email\",\n description: \"Look up a user in your Roam workspace by their email address. Use when you need to find a user's details including their ID, name, and profile information. Required scopes: user:read and user:read.email.\",\n input: RoamLookupUserInput,\n output: RoamLookupUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAoCA,IAAAA,EAAE,OAAO,EACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACxE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,uBAAqCA,IAAAA,EAAE,OAAO;CACzD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;CAC/D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-user.cjs","names":["z","action"],"sources":["../../src/actions/lookup-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamLookupUserInput = z.object({\n email: z.string().describe(\"The email address of the user to look up.\"),\n}).describe(\"Request parameters for looking up a user by email.\");\nexport const RoamLookupUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\").nullable(),\n name: z.string().describe(\"User's display name.\").nullable(),\n email: z.string().describe(\"User's email address. Requires user:read.email scope.\").nullable().optional(),\n is_admin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n location: z.string().describe(\"User's location.\").nullable().optional(),\n image_url: z.string().describe(\"URL to user's profile image.\").nullable().optional(),\n job_title: z.string().describe(\"User's job title.\").nullable().optional(),\n}).describe(\"Response schema for user lookup.\");\n\nexport const roamLookupUser = action(\"ROAM_LOOKUP_USER\", {\n slug: \"roam-lookup-user\",\n name: \"Lookup user by email\",\n description: \"Look up a user in your Roam workspace by their email address. Use when you need to find a user's details including their ID, name, and profile information. Required scopes: user:read and user:read.email.\",\n input: RoamLookupUserInput,\n output: RoamLookupUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACxE,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;CAC3D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAE9C,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-user.d.ts
4
- declare const RoamLookupUserInput: z.ZodTypeAny;
5
- declare const RoamLookupUserOutput: z.ZodTypeAny;
6
- declare const roamLookupUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamLookupUserInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RoamLookupUserOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ is_admin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ declare const roamLookupUser: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ email: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { roamLookupUser };
9
21
  //# sourceMappingURL=lookup-user.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-user.d.cts","names":[],"sources":["../../src/actions/lookup-user.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAE6B;AAAA,cACpD,oBAAA,EAAsB,CAAA,CAAE,UAQU;AAAA,cAElC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"lookup-user.d.cts","names":[],"sources":["../../src/actions/lookup-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAUpB,cAAA,gCAAc,wBAAA"}
@@ -1,9 +1,21 @@
1
1
  import { z } from "zod";
2
2
 
3
3
  //#region src/actions/lookup-user.d.ts
4
- declare const RoamLookupUserInput: z.ZodTypeAny;
5
- declare const RoamLookupUserOutput: z.ZodTypeAny;
6
- declare const roamLookupUser: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
4
+ declare const RoamLookupUserInput: z.ZodObject<{
5
+ email: z.ZodString;
6
+ }, z.core.$strip>;
7
+ declare const RoamLookupUserOutput: z.ZodObject<{
8
+ id: z.ZodNullable<z.ZodString>;
9
+ name: z.ZodNullable<z.ZodString>;
10
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ is_admin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
+ location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
+ image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
+ job_title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15
+ }, z.core.$strip>;
16
+ declare const roamLookupUser: import("@keystrokehq/action").WorkflowActionDefinition<{
17
+ email: string;
18
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
19
  //#endregion
8
20
  export { roamLookupUser };
9
21
  //# sourceMappingURL=lookup-user.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-user.d.mts","names":[],"sources":["../../src/actions/lookup-user.ts"],"mappings":";;;cAIa,mBAAA,EAAqB,CAAA,CAAE,UAE6B;AAAA,cACpD,oBAAA,EAAsB,CAAA,CAAE,UAQU;AAAA,cAElC,cAAA,gCAAc,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"lookup-user.d.mts","names":[],"sources":["../../src/actions/lookup-user.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;cAUpB,cAAA,gCAAc,wBAAA"}
@@ -6,8 +6,8 @@ const roamLookupUser = action("ROAM_LOOKUP_USER", {
6
6
  description: "Look up a user in your Roam workspace by their email address. Use when you need to find a user's details including their ID, name, and profile information. Required scopes: user:read and user:read.email.",
7
7
  input: z.object({ email: z.string().describe("The email address of the user to look up.") }).describe("Request parameters for looking up a user by email."),
8
8
  output: z.object({
9
- id: z.string().describe("Unique identifier of the user (UUID)."),
10
- name: z.string().describe("User's display name."),
9
+ id: z.string().describe("Unique identifier of the user (UUID).").nullable(),
10
+ name: z.string().describe("User's display name.").nullable(),
11
11
  email: z.string().describe("User's email address. Requires user:read.email scope.").nullable().optional(),
12
12
  is_admin: z.boolean().describe("Whether the user has admin privileges.").nullable().optional(),
13
13
  location: z.string().describe("User's location.").nullable().optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"lookup-user.mjs","names":[],"sources":["../../src/actions/lookup-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamLookupUserInput: z.ZodTypeAny = z.object({\n email: z.string().describe(\"The email address of the user to look up.\"),\n}).describe(\"Request parameters for looking up a user by email.\");\nexport const RoamLookupUserOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\"),\n name: z.string().describe(\"User's display name.\"),\n email: z.string().describe(\"User's email address. Requires user:read.email scope.\").nullable().optional(),\n is_admin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n location: z.string().describe(\"User's location.\").nullable().optional(),\n image_url: z.string().describe(\"URL to user's profile image.\").nullable().optional(),\n job_title: z.string().describe(\"User's job title.\").nullable().optional(),\n}).describe(\"Response schema for user lookup.\");\n\nexport const roamLookupUser = action(\"ROAM_LOOKUP_USER\", {\n slug: \"roam-lookup-user\",\n name: \"Lookup user by email\",\n description: \"Look up a user in your Roam workspace by their email address. Use when you need to find a user's details including their ID, name, and profile information. Required scopes: user:read and user:read.email.\",\n input: RoamLookupUserInput,\n output: RoamLookupUserOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjB+C,EAAE,OAAO,EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACxE,CAAC,CAAC,CAAC,SAAS,oDAeH;CACP,QAfgD,EAAE,OAAO;EACzD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC;EAC/D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB;EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"lookup-user.mjs","names":[],"sources":["../../src/actions/lookup-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamLookupUserInput = z.object({\n email: z.string().describe(\"The email address of the user to look up.\"),\n}).describe(\"Request parameters for looking up a user by email.\");\nexport const RoamLookupUserOutput = z.object({\n id: z.string().describe(\"Unique identifier of the user (UUID).\").nullable(),\n name: z.string().describe(\"User's display name.\").nullable(),\n email: z.string().describe(\"User's email address. Requires user:read.email scope.\").nullable().optional(),\n is_admin: z.boolean().describe(\"Whether the user has admin privileges.\").nullable().optional(),\n location: z.string().describe(\"User's location.\").nullable().optional(),\n image_url: z.string().describe(\"URL to user's profile image.\").nullable().optional(),\n job_title: z.string().describe(\"User's job title.\").nullable().optional(),\n}).describe(\"Response schema for user lookup.\");\n\nexport const roamLookupUser = action(\"ROAM_LOOKUP_USER\", {\n slug: \"roam-lookup-user\",\n name: \"Lookup user by email\",\n description: \"Look up a user in your Roam workspace by their email address. Use when you need to find a user's details including their ID, name, and profile information. Required scopes: user:read and user:read.email.\",\n input: RoamLookupUserInput,\n output: RoamLookupUserOutput,\n});\n"],"mappings":";;AAiBA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBiC,EAAE,OAAO,EAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACxE,CAAC,CAAC,CAAC,SAAS,oDAeH;CACP,QAfkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;EAC1E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;EAC3D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,CAAC,CAAC,CAAC,SAAS,kCAOF;AACV,CAAC"}
@@ -26,7 +26,7 @@ const RoamPatchGroup_MemberSchema = zod.z.object({
26
26
  display: zod.z.string().describe("Display name of the member.").nullable().optional()
27
27
  }).describe("Group member object.");
28
28
  const RoamPatchGroupOutput = zod.z.object({
29
- id: zod.z.string().describe("Unique identifier of the group."),
29
+ id: zod.z.string().describe("Unique identifier of the group.").nullable(),
30
30
  members: zod.z.array(RoamPatchGroup_MemberSchema).describe("List of members in the group.").nullable().optional(),
31
31
  schemas: zod.z.array(zod.z.string()).describe("SCIM schemas used in the response.").nullable().optional(),
32
32
  displayName: zod.z.string().describe("Display name of the group.").nullable().optional()