@keystrokehq/roam 0.1.2 → 0.1.4

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 (265) hide show
  1. package/dist/actions/add-group-members.cjs +1 -1
  2. package/dist/actions/add-group-members.cjs.map +1 -1
  3. package/dist/actions/add-group-members.d.cts +14 -2
  4. package/dist/actions/add-group-members.d.mts +14 -2
  5. package/dist/actions/add-group-members.mjs +1 -1
  6. package/dist/actions/add-group-members.mjs.map +1 -1
  7. package/dist/actions/add-reaction.cjs +1 -1
  8. package/dist/actions/add-reaction.cjs.map +1 -1
  9. package/dist/actions/add-reaction.d.cts +14 -2
  10. package/dist/actions/add-reaction.d.mts +14 -2
  11. package/dist/actions/add-reaction.mjs +1 -1
  12. package/dist/actions/add-reaction.mjs.map +1 -1
  13. package/dist/actions/create-group.cjs +1 -1
  14. package/dist/actions/create-group.cjs.map +1 -1
  15. package/dist/actions/create-group.d.cts +14 -2
  16. package/dist/actions/create-group.d.mts +14 -2
  17. package/dist/actions/create-group.mjs +1 -1
  18. package/dist/actions/create-group.mjs.map +1 -1
  19. package/dist/actions/create-roam-scim-group.cjs +2 -2
  20. package/dist/actions/create-roam-scim-group.cjs.map +1 -1
  21. package/dist/actions/create-roam-scim-group.d.cts +16 -4
  22. package/dist/actions/create-roam-scim-group.d.cts.map +1 -1
  23. package/dist/actions/create-roam-scim-group.d.mts +16 -4
  24. package/dist/actions/create-roam-scim-group.d.mts.map +1 -1
  25. package/dist/actions/create-roam-scim-group.mjs +2 -2
  26. package/dist/actions/create-roam-scim-group.mjs.map +1 -1
  27. package/dist/actions/create-user.cjs +5 -5
  28. package/dist/actions/create-user.cjs.map +1 -1
  29. package/dist/actions/create-user.d.cts +19 -6
  30. package/dist/actions/create-user.d.mts +19 -6
  31. package/dist/actions/create-user.mjs +5 -5
  32. package/dist/actions/create-user.mjs.map +1 -1
  33. package/dist/actions/delete-group.cjs +1 -1
  34. package/dist/actions/delete-group.cjs.map +1 -1
  35. package/dist/actions/delete-group.d.cts +14 -2
  36. package/dist/actions/delete-group.d.mts +14 -2
  37. package/dist/actions/delete-group.mjs +1 -1
  38. package/dist/actions/delete-group.mjs.map +1 -1
  39. package/dist/actions/delete-user.cjs +1 -1
  40. package/dist/actions/delete-user.cjs.map +1 -1
  41. package/dist/actions/delete-user.d.cts +14 -2
  42. package/dist/actions/delete-user.d.mts +14 -2
  43. package/dist/actions/delete-user.mjs +1 -1
  44. package/dist/actions/delete-user.mjs.map +1 -1
  45. package/dist/actions/get-address-info.cjs +1 -1
  46. package/dist/actions/get-address-info.cjs.map +1 -1
  47. package/dist/actions/get-address-info.d.cts +14 -2
  48. package/dist/actions/get-address-info.d.mts +14 -2
  49. package/dist/actions/get-address-info.mjs +1 -1
  50. package/dist/actions/get-address-info.mjs.map +1 -1
  51. package/dist/actions/get-chat-history.cjs +2 -2
  52. package/dist/actions/get-chat-history.cjs.map +1 -1
  53. package/dist/actions/get-chat-history.d.cts +15 -3
  54. package/dist/actions/get-chat-history.d.mts +15 -3
  55. package/dist/actions/get-chat-history.mjs +2 -2
  56. package/dist/actions/get-chat-history.mjs.map +1 -1
  57. package/dist/actions/get-meeting-link.cjs +1 -1
  58. package/dist/actions/get-meeting-link.cjs.map +1 -1
  59. package/dist/actions/get-meeting-link.d.cts +14 -2
  60. package/dist/actions/get-meeting-link.d.mts +14 -2
  61. package/dist/actions/get-meeting-link.mjs +1 -1
  62. package/dist/actions/get-meeting-link.mjs.map +1 -1
  63. package/dist/actions/get-resource-types.cjs +2 -2
  64. package/dist/actions/get-resource-types.cjs.map +1 -1
  65. package/dist/actions/get-resource-types.d.cts +15 -3
  66. package/dist/actions/get-resource-types.d.cts.map +1 -1
  67. package/dist/actions/get-resource-types.d.mts +15 -3
  68. package/dist/actions/get-resource-types.d.mts.map +1 -1
  69. package/dist/actions/get-resource-types.mjs +2 -2
  70. package/dist/actions/get-resource-types.mjs.map +1 -1
  71. package/dist/actions/get-roam-scim-config.cjs +9 -9
  72. package/dist/actions/get-roam-scim-config.cjs.map +1 -1
  73. package/dist/actions/get-roam-scim-config.d.cts +22 -10
  74. package/dist/actions/get-roam-scim-config.d.cts.map +1 -1
  75. package/dist/actions/get-roam-scim-config.d.mts +22 -10
  76. package/dist/actions/get-roam-scim-config.d.mts.map +1 -1
  77. package/dist/actions/get-roam-scim-config.mjs +9 -9
  78. package/dist/actions/get-roam-scim-config.mjs.map +1 -1
  79. package/dist/actions/get-scim-schema.cjs +1 -1
  80. package/dist/actions/get-scim-schema.cjs.map +1 -1
  81. package/dist/actions/get-scim-schema.d.cts +14 -2
  82. package/dist/actions/get-scim-schema.d.mts +14 -2
  83. package/dist/actions/get-scim-schema.mjs +1 -1
  84. package/dist/actions/get-scim-schema.mjs.map +1 -1
  85. package/dist/actions/get-scim-user.cjs +5 -5
  86. package/dist/actions/get-scim-user.cjs.map +1 -1
  87. package/dist/actions/get-scim-user.d.cts +18 -6
  88. package/dist/actions/get-scim-user.d.mts +18 -6
  89. package/dist/actions/get-scim-user.mjs +5 -5
  90. package/dist/actions/get-scim-user.mjs.map +1 -1
  91. package/dist/actions/get-test.cjs +1 -1
  92. package/dist/actions/get-test.cjs.map +1 -1
  93. package/dist/actions/get-test.d.cts +14 -2
  94. package/dist/actions/get-test.d.cts.map +1 -1
  95. package/dist/actions/get-test.d.mts +14 -2
  96. package/dist/actions/get-test.d.mts.map +1 -1
  97. package/dist/actions/get-test.mjs +1 -1
  98. package/dist/actions/get-test.mjs.map +1 -1
  99. package/dist/actions/get-token-info.cjs +2 -2
  100. package/dist/actions/get-token-info.cjs.map +1 -1
  101. package/dist/actions/get-token-info.d.cts +15 -3
  102. package/dist/actions/get-token-info.d.cts.map +1 -1
  103. package/dist/actions/get-token-info.d.mts +15 -3
  104. package/dist/actions/get-token-info.d.mts.map +1 -1
  105. package/dist/actions/get-token-info.mjs +2 -2
  106. package/dist/actions/get-token-info.mjs.map +1 -1
  107. package/dist/actions/get-user-info.cjs +1 -1
  108. package/dist/actions/get-user-info.cjs.map +1 -1
  109. package/dist/actions/get-user-info.d.cts +14 -2
  110. package/dist/actions/get-user-info.d.mts +14 -2
  111. package/dist/actions/get-user-info.mjs +1 -1
  112. package/dist/actions/get-user-info.mjs.map +1 -1
  113. package/dist/actions/list-chats.cjs +2 -2
  114. package/dist/actions/list-chats.cjs.map +1 -1
  115. package/dist/actions/list-chats.d.cts +15 -3
  116. package/dist/actions/list-chats.d.mts +15 -3
  117. package/dist/actions/list-chats.mjs +2 -2
  118. package/dist/actions/list-chats.mjs.map +1 -1
  119. package/dist/actions/list-group-members.cjs +2 -2
  120. package/dist/actions/list-group-members.cjs.map +1 -1
  121. package/dist/actions/list-group-members.d.cts +15 -3
  122. package/dist/actions/list-group-members.d.mts +15 -3
  123. package/dist/actions/list-group-members.mjs +2 -2
  124. package/dist/actions/list-group-members.mjs.map +1 -1
  125. package/dist/actions/list-groups.cjs +4 -4
  126. package/dist/actions/list-groups.cjs.map +1 -1
  127. package/dist/actions/list-groups.d.cts +17 -5
  128. package/dist/actions/list-groups.d.mts +17 -5
  129. package/dist/actions/list-groups.mjs +4 -4
  130. package/dist/actions/list-groups.mjs.map +1 -1
  131. package/dist/actions/list-lobbies.cjs +2 -2
  132. package/dist/actions/list-lobbies.cjs.map +1 -1
  133. package/dist/actions/list-lobbies.d.cts +15 -3
  134. package/dist/actions/list-lobbies.d.mts +15 -3
  135. package/dist/actions/list-lobbies.mjs +2 -2
  136. package/dist/actions/list-lobbies.mjs.map +1 -1
  137. package/dist/actions/list-meetings.cjs +3 -3
  138. package/dist/actions/list-meetings.cjs.map +1 -1
  139. package/dist/actions/list-meetings.d.cts +16 -4
  140. package/dist/actions/list-meetings.d.mts +16 -4
  141. package/dist/actions/list-meetings.mjs +3 -3
  142. package/dist/actions/list-meetings.mjs.map +1 -1
  143. package/dist/actions/list-recordings.cjs +2 -2
  144. package/dist/actions/list-recordings.cjs.map +1 -1
  145. package/dist/actions/list-recordings.d.cts +15 -3
  146. package/dist/actions/list-recordings.d.mts +15 -3
  147. package/dist/actions/list-recordings.mjs +2 -2
  148. package/dist/actions/list-recordings.mjs.map +1 -1
  149. package/dist/actions/list-roam-scim-users.cjs +6 -6
  150. package/dist/actions/list-roam-scim-users.cjs.map +1 -1
  151. package/dist/actions/list-roam-scim-users.d.cts +19 -7
  152. package/dist/actions/list-roam-scim-users.d.mts +19 -7
  153. package/dist/actions/list-roam-scim-users.mjs +6 -6
  154. package/dist/actions/list-roam-scim-users.mjs.map +1 -1
  155. package/dist/actions/list-schemas.cjs +2 -2
  156. package/dist/actions/list-schemas.cjs.map +1 -1
  157. package/dist/actions/list-schemas.d.cts +15 -3
  158. package/dist/actions/list-schemas.d.cts.map +1 -1
  159. package/dist/actions/list-schemas.d.mts +15 -3
  160. package/dist/actions/list-schemas.d.mts.map +1 -1
  161. package/dist/actions/list-schemas.mjs +2 -2
  162. package/dist/actions/list-schemas.mjs.map +1 -1
  163. package/dist/actions/list-transcripts.cjs +3 -3
  164. package/dist/actions/list-transcripts.cjs.map +1 -1
  165. package/dist/actions/list-transcripts.d.cts +16 -4
  166. package/dist/actions/list-transcripts.d.mts +16 -4
  167. package/dist/actions/list-transcripts.mjs +3 -3
  168. package/dist/actions/list-transcripts.mjs.map +1 -1
  169. package/dist/actions/list-user-audit-log.cjs +2 -2
  170. package/dist/actions/list-user-audit-log.cjs.map +1 -1
  171. package/dist/actions/list-user-audit-log.d.cts +15 -3
  172. package/dist/actions/list-user-audit-log.d.mts +15 -3
  173. package/dist/actions/list-user-audit-log.mjs +2 -2
  174. package/dist/actions/list-user-audit-log.mjs.map +1 -1
  175. package/dist/actions/list-users.cjs +2 -2
  176. package/dist/actions/list-users.cjs.map +1 -1
  177. package/dist/actions/list-users.d.cts +15 -3
  178. package/dist/actions/list-users.d.mts +15 -3
  179. package/dist/actions/list-users.mjs +2 -2
  180. package/dist/actions/list-users.mjs.map +1 -1
  181. package/dist/actions/lookup-user.cjs +1 -1
  182. package/dist/actions/lookup-user.cjs.map +1 -1
  183. package/dist/actions/lookup-user.d.cts +14 -2
  184. package/dist/actions/lookup-user.d.mts +14 -2
  185. package/dist/actions/lookup-user.mjs +1 -1
  186. package/dist/actions/lookup-user.mjs.map +1 -1
  187. package/dist/actions/patch-group.cjs +4 -4
  188. package/dist/actions/patch-group.cjs.map +1 -1
  189. package/dist/actions/patch-group.d.cts +19 -5
  190. package/dist/actions/patch-group.d.cts.map +1 -1
  191. package/dist/actions/patch-group.d.mts +19 -5
  192. package/dist/actions/patch-group.d.mts.map +1 -1
  193. package/dist/actions/patch-group.mjs +4 -4
  194. package/dist/actions/patch-group.mjs.map +1 -1
  195. package/dist/actions/patch-user.cjs +7 -7
  196. package/dist/actions/patch-user.cjs.map +1 -1
  197. package/dist/actions/patch-user.d.cts +22 -8
  198. package/dist/actions/patch-user.d.cts.map +1 -1
  199. package/dist/actions/patch-user.d.mts +22 -8
  200. package/dist/actions/patch-user.d.mts.map +1 -1
  201. package/dist/actions/patch-user.mjs +7 -7
  202. package/dist/actions/patch-user.mjs.map +1 -1
  203. package/dist/actions/post-chat.cjs +1 -1
  204. package/dist/actions/post-chat.cjs.map +1 -1
  205. package/dist/actions/post-chat.d.cts +14 -2
  206. package/dist/actions/post-chat.d.cts.map +1 -1
  207. package/dist/actions/post-chat.d.mts +14 -2
  208. package/dist/actions/post-chat.d.mts.map +1 -1
  209. package/dist/actions/post-chat.mjs +1 -1
  210. package/dist/actions/post-chat.mjs.map +1 -1
  211. package/dist/actions/remove-group-members.cjs +1 -1
  212. package/dist/actions/remove-group-members.cjs.map +1 -1
  213. package/dist/actions/remove-group-members.d.cts +14 -2
  214. package/dist/actions/remove-group-members.d.mts +14 -2
  215. package/dist/actions/remove-group-members.mjs +1 -1
  216. package/dist/actions/remove-group-members.mjs.map +1 -1
  217. package/dist/actions/replace-group.cjs +4 -4
  218. package/dist/actions/replace-group.cjs.map +1 -1
  219. package/dist/actions/replace-group.d.cts +18 -6
  220. package/dist/actions/replace-group.d.cts.map +1 -1
  221. package/dist/actions/replace-group.d.mts +18 -6
  222. package/dist/actions/replace-group.d.mts.map +1 -1
  223. package/dist/actions/replace-group.mjs +4 -4
  224. package/dist/actions/replace-group.mjs.map +1 -1
  225. package/dist/actions/replace-user.cjs +5 -5
  226. package/dist/actions/replace-user.cjs.map +1 -1
  227. package/dist/actions/replace-user.d.cts +19 -6
  228. package/dist/actions/replace-user.d.mts +19 -6
  229. package/dist/actions/replace-user.mjs +5 -5
  230. package/dist/actions/replace-user.mjs.map +1 -1
  231. package/dist/actions/send-message.cjs +1 -1
  232. package/dist/actions/send-message.cjs.map +1 -1
  233. package/dist/actions/send-message.d.cts +14 -2
  234. package/dist/actions/send-message.d.mts +14 -2
  235. package/dist/actions/send-message.mjs +1 -1
  236. package/dist/actions/send-message.mjs.map +1 -1
  237. package/dist/actions/send-typing.cjs +1 -1
  238. package/dist/actions/send-typing.cjs.map +1 -1
  239. package/dist/actions/send-typing.d.cts +14 -2
  240. package/dist/actions/send-typing.d.mts +14 -2
  241. package/dist/actions/send-typing.mjs +1 -1
  242. package/dist/actions/send-typing.mjs.map +1 -1
  243. package/dist/actions/update-meeting-link.cjs +1 -1
  244. package/dist/actions/update-meeting-link.cjs.map +1 -1
  245. package/dist/actions/update-meeting-link.d.cts +14 -2
  246. package/dist/actions/update-meeting-link.d.cts.map +1 -1
  247. package/dist/actions/update-meeting-link.d.mts +14 -2
  248. package/dist/actions/update-meeting-link.d.mts.map +1 -1
  249. package/dist/actions/update-meeting-link.mjs +1 -1
  250. package/dist/actions/update-meeting-link.mjs.map +1 -1
  251. package/dist/actions/upload-item.cjs +1 -1
  252. package/dist/actions/upload-item.cjs.map +1 -1
  253. package/dist/actions/upload-item.d.cts +14 -2
  254. package/dist/actions/upload-item.d.mts +14 -2
  255. package/dist/actions/upload-item.mjs +1 -1
  256. package/dist/actions/upload-item.mjs.map +1 -1
  257. package/dist/app.cjs +5 -2
  258. package/dist/app.cjs.map +1 -1
  259. package/dist/app.d.cts +9 -1
  260. package/dist/app.d.cts.map +1 -1
  261. package/dist/app.d.mts +9 -1
  262. package/dist/app.d.mts.map +1 -1
  263. package/dist/app.mjs +3 -1
  264. package/dist/app.mjs.map +1 -1
  265. package/package.json +1 -1
@@ -9,7 +9,7 @@ const RoamGetScimSchemaOutput = zod.z.object({
9
9
  schemas: zod.z.array(zod.z.string()).describe("The list of schemas for this response.").nullable().optional(),
10
10
  attributes: zod.z.array(zod.z.unknown()).describe("List of attributes defined in this schema.").nullable().optional(),
11
11
  description: zod.z.string().describe("Human-readable description of the schema.").nullable().optional()
12
- }).describe("Response schema for `GetScimSchema`");
12
+ }).passthrough().describe("Response schema for `GetScimSchema`");
13
13
  const roamGetScimSchema = require_action.action("ROAM_GET_SCIM_SCHEMA", {
14
14
  slug: "roam-get-scim-schema",
15
15
  name: "Get SCIM schema",
@@ -1 +1 @@
1
- {"version":3,"file":"get-scim-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-scim-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimSchemaInput = z.object({\n schemaId: z.string().describe(\"The unique identifier of the SCIM schema to retrieve. Common values: 'urn:ietf:params:scim:schemas:core:2.0:User' for User schema, 'urn:ietf:params:scim:schemas:core:2.0:Group' for Group schema.\"),\n}).describe(\"Request schema for `GetScimSchema`\");\nexport const RoamGetScimSchemaOutput = z.object({\n id: z.string().describe(\"The schema ID (URN).\").nullable().optional(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the schema including resourceType and location.\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the schema.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"The list of schemas for this response.\").nullable().optional(),\n attributes: z.array(z.unknown()).describe(\"List of attributes defined in this schema.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the schema.\").nullable().optional(),\n}).describe(\"Response schema for `GetScimSchema`\");\n\nexport const roamGetScimSchema = action(\"ROAM_GET_SCIM_SCHEMA\", {\n slug: \"roam-get-scim-schema\",\n name: \"Get SCIM schema\",\n description: \"Retrieves the definition of a specific SCIM 2.0 schema by its unique identifier (URN). This endpoint returns the complete schema definition including all attributes, their types, mutability, and other properties. Common schemas include: - urn:ietf:params:scim:schemas:core:2.0:User (User resource schema) - urn:ietf:params:scim:schemas:core:2.0:Group (Group resource schema) - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User (Enterprise User extension) Use this to understand the structure of SCIM resources and what attributes are available.\",\n input: RoamGetScimSchemaInput,\n output: RoamGetScimSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,EACpO,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,SAAS,qCAAqC;AAEjD,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-scim-schema.cjs","names":["z","action"],"sources":["../../src/actions/get-scim-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimSchemaInput = z.object({\n schemaId: z.string().describe(\"The unique identifier of the SCIM schema to retrieve. Common values: 'urn:ietf:params:scim:schemas:core:2.0:User' for User schema, 'urn:ietf:params:scim:schemas:core:2.0:Group' for Group schema.\"),\n}).describe(\"Request schema for `GetScimSchema`\");\nexport const RoamGetScimSchemaOutput = z.object({\n id: z.string().describe(\"The schema ID (URN).\").nullable().optional(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the schema including resourceType and location.\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the schema.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"The list of schemas for this response.\").nullable().optional(),\n attributes: z.array(z.unknown()).describe(\"List of attributes defined in this schema.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the schema.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetScimSchema`\");\n\nexport const roamGetScimSchema = action(\"ROAM_GET_SCIM_SCHEMA\", {\n slug: \"roam-get-scim-schema\",\n name: \"Get SCIM schema\",\n description: \"Retrieves the definition of a specific SCIM 2.0 schema by its unique identifier (URN). This endpoint returns the complete schema definition including all attributes, their types, mutability, and other properties. Common schemas include: - urn:ietf:params:scim:schemas:core:2.0:User (User resource schema) - urn:ietf:params:scim:schemas:core:2.0:Group (Group resource schema) - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User (Enterprise User extension) Use this to understand the structure of SCIM resources and what attributes are available.\",\n input: RoamGetScimSchemaInput,\n output: RoamGetScimSchemaOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,EACpO,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAE/D,MAAa,oBAAoBC,eAAAA,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -11,10 +11,22 @@ declare const RoamGetScimSchemaOutput: z.ZodObject<{
11
11
  schemas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
12
  attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
13
13
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const roamGetScimSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  schemaId: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ accessToken: z.ZodString;
23
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ accessToken: z.ZodString;
29
+ }, z.core.$strip>>]>;
18
30
  //#endregion
19
31
  export { roamGetScimSchema };
20
32
  //# sourceMappingURL=get-scim-schema.d.cts.map
@@ -11,10 +11,22 @@ declare const RoamGetScimSchemaOutput: z.ZodObject<{
11
11
  schemas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
12
12
  attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnknown>>>;
13
13
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>;
14
+ }, z.core.$loose>;
15
15
  declare const roamGetScimSchema: import("@keystrokehq/action").WorkflowActionDefinition<{
16
16
  schemaId: string;
17
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
17
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
18
+ connectionId: z.ZodString;
19
+ entityId: z.ZodString;
20
+ instanceId: z.ZodString;
21
+ }, z.core.$strip>, z.ZodObject<{
22
+ accessToken: z.ZodString;
23
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
24
+ connectionId: z.ZodString;
25
+ entityId: z.ZodString;
26
+ instanceId: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ accessToken: z.ZodString;
29
+ }, z.core.$strip>>]>;
18
30
  //#endregion
19
31
  export { roamGetScimSchema };
20
32
  //# sourceMappingURL=get-scim-schema.d.mts.map
@@ -12,7 +12,7 @@ const roamGetScimSchema = action("ROAM_GET_SCIM_SCHEMA", {
12
12
  schemas: z.array(z.string()).describe("The list of schemas for this response.").nullable().optional(),
13
13
  attributes: z.array(z.unknown()).describe("List of attributes defined in this schema.").nullable().optional(),
14
14
  description: z.string().describe("Human-readable description of the schema.").nullable().optional()
15
- }).describe("Response schema for `GetScimSchema`")
15
+ }).passthrough().describe("Response schema for `GetScimSchema`")
16
16
  });
17
17
  //#endregion
18
18
  export { roamGetScimSchema };
@@ -1 +1 @@
1
- {"version":3,"file":"get-scim-schema.mjs","names":[],"sources":["../../src/actions/get-scim-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimSchemaInput = z.object({\n schemaId: z.string().describe(\"The unique identifier of the SCIM schema to retrieve. Common values: 'urn:ietf:params:scim:schemas:core:2.0:User' for User schema, 'urn:ietf:params:scim:schemas:core:2.0:Group' for Group schema.\"),\n}).describe(\"Request schema for `GetScimSchema`\");\nexport const RoamGetScimSchemaOutput = z.object({\n id: z.string().describe(\"The schema ID (URN).\").nullable().optional(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the schema including resourceType and location.\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the schema.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"The list of schemas for this response.\").nullable().optional(),\n attributes: z.array(z.unknown()).describe(\"List of attributes defined in this schema.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the schema.\").nullable().optional(),\n}).describe(\"Response schema for `GetScimSchema`\");\n\nexport const roamGetScimSchema = action(\"ROAM_GET_SCIM_SCHEMA\", {\n slug: \"roam-get-scim-schema\",\n name: \"Get SCIM schema\",\n description: \"Retrieves the definition of a specific SCIM 2.0 schema by its unique identifier (URN). This endpoint returns the complete schema definition including all attributes, their types, mutability, and other properties. Common schemas include: - urn:ietf:params:scim:schemas:core:2.0:User (User resource schema) - urn:ietf:params:scim:schemas:core:2.0:Group (Group resource schema) - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User (Enterprise User extension) Use this to understand the structure of SCIM resources and what attributes are available.\",\n input: RoamGetScimSchemaInput,\n output: RoamGetScimSchemaOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO,EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,EACpO,CAAC,CAAC,CAAC,SAAS,oCAcH;CACP,QAdqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,SAAS,qCAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-scim-schema.mjs","names":[],"sources":["../../src/actions/get-scim-schema.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimSchemaInput = z.object({\n schemaId: z.string().describe(\"The unique identifier of the SCIM schema to retrieve. Common values: 'urn:ietf:params:scim:schemas:core:2.0:User' for User schema, 'urn:ietf:params:scim:schemas:core:2.0:Group' for Group schema.\"),\n}).describe(\"Request schema for `GetScimSchema`\");\nexport const RoamGetScimSchemaOutput = z.object({\n id: z.string().describe(\"The schema ID (URN).\").nullable().optional(),\n meta: z.record(z.string(), z.unknown()).describe(\"Metadata about the schema including resourceType and location.\").nullable().optional(),\n name: z.string().describe(\"Human-readable name of the schema.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"The list of schemas for this response.\").nullable().optional(),\n attributes: z.array(z.unknown()).describe(\"List of attributes defined in this schema.\").nullable().optional(),\n description: z.string().describe(\"Human-readable description of the schema.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetScimSchema`\");\n\nexport const roamGetScimSchema = action(\"ROAM_GET_SCIM_SCHEMA\", {\n slug: \"roam-get-scim-schema\",\n name: \"Get SCIM schema\",\n description: \"Retrieves the definition of a specific SCIM 2.0 schema by its unique identifier (URN). This endpoint returns the complete schema definition including all attributes, their types, mutability, and other properties. Common schemas include: - urn:ietf:params:scim:schemas:core:2.0:User (User resource schema) - urn:ietf:params:scim:schemas:core:2.0:Group (Group resource schema) - urn:ietf:params:scim:schemas:extension:enterprise:2.0:User (Enterprise User extension) Use this to understand the structure of SCIM resources and what attributes are available.\",\n input: RoamGetScimSchemaInput,\n output: RoamGetScimSchemaOutput,\n});\n"],"mappings":";;AAgBA,MAAa,oBAAoB,OAAO,wBAAwB;CAC9D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoC,EAAE,OAAO,EAC7C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,oMAAoM,EACpO,CAAC,CAAC,CAAC,SAAS,oCAcH;CACP,QAdqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,YAAY,EAAE,MAAM,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAOhB;AACV,CAAC"}
@@ -7,17 +7,17 @@ const RoamGetScimUser_UserMetaSchema = zod.z.object({
7
7
  location: zod.z.string().describe("The URI of the user resource.").nullable().optional(),
8
8
  lastModified: zod.z.string().describe("The date and time the user was last modified (ISO 8601 format).").nullable().optional(),
9
9
  resourceType: zod.z.string().describe("The type of resource (User).").nullable().optional()
10
- }).describe("Metadata about the SCIM user resource.");
10
+ }).passthrough().describe("Metadata about the SCIM user resource.");
11
11
  const RoamGetScimUser_UserNameSchema = zod.z.object({
12
12
  givenName: zod.z.string().describe("The first name of the user.").nullable().optional(),
13
13
  familyName: zod.z.string().describe("The last name of the user.").nullable().optional()
14
- }).describe("Name component of a SCIM user.");
14
+ }).passthrough().describe("Name component of a SCIM user.");
15
15
  const RoamGetScimUser_EmailValueSchema = zod.z.object({
16
16
  type: zod.z.string().describe("Type of email address (e.g., 'work').").nullable().optional(),
17
17
  value: zod.z.string().describe("Email address value.").nullable().optional(),
18
18
  primary: zod.z.boolean().describe("Whether this is the primary email address.").nullable().optional()
19
- }).describe("Email address in the SCIM user resource.");
20
- const RoamGetScimUser_RoamUserExtensionSchema = zod.z.object({ role: zod.z.string().describe("The user's role in Roam (e.g., 'User' or 'Admin').").nullable().optional() }).describe("Roam-specific SCIM extension for user resources.");
19
+ }).passthrough().describe("Email address in the SCIM user resource.");
20
+ const RoamGetScimUser_RoamUserExtensionSchema = zod.z.object({ role: zod.z.string().describe("The user's role in Roam (e.g., 'User' or 'Admin').").nullable().optional() }).passthrough().describe("Roam-specific SCIM extension for user resources.");
21
21
  const RoamGetScimUserOutput = zod.z.object({
22
22
  id: zod.z.string().describe("The unique identifier for the user in Roam (SCIM ID / Person ID).").nullable().optional(),
23
23
  meta: RoamGetScimUser_UserMetaSchema.nullable().optional(),
@@ -29,7 +29,7 @@ const RoamGetScimUserOutput = zod.z.object({
29
29
  externalId: zod.z.string().describe("External identifier from the identity provider (if synced via SCIM).").nullable().optional(),
30
30
  displayName: zod.z.string().describe("The display name of the user (typically firstName lastName).").nullable().optional(),
31
31
  "urn:ro.am:params:scim:schemas:extension:roam:2.0:User": RoamGetScimUser_RoamUserExtensionSchema.nullable().optional()
32
- }).describe("Response schema for a single SCIM user resource.");
32
+ }).passthrough().describe("Response schema for a single SCIM user resource.");
33
33
  const roamGetScimUser = require_action.action("ROAM_GET_SCIM_USER", {
34
34
  slug: "roam-get-scim-user",
35
35
  name: "Get user by ID (SCIM)",
@@ -1 +1 @@
1
- {"version":3,"file":"get-scim-user.cjs","names":["z","action"],"sources":["../../src/actions/get-scim-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (Roam Person ID). This is the SCIM user ID returned by the API.\"),\n}).describe(\"Request schema for retrieving a single user by their Roam Person ID via SCIM 2.0.\");\nconst RoamGetScimUser_UserMetaSchema = z.object({\n created: z.string().describe(\"The date and time the user was created (ISO 8601 format).\").nullable().optional(),\n location: z.string().describe(\"The URI of the user resource.\").nullable().optional(),\n lastModified: z.string().describe(\"The date and time the user was last modified (ISO 8601 format).\").nullable().optional(),\n resourceType: z.string().describe(\"The type of resource (User).\").nullable().optional(),\n}).describe(\"Metadata about the SCIM user resource.\");\nconst RoamGetScimUser_UserNameSchema = z.object({\n givenName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n}).describe(\"Name component of a SCIM user.\");\nconst RoamGetScimUser_EmailValueSchema = z.object({\n type: z.string().describe(\"Type of email address (e.g., 'work').\").nullable().optional(),\n value: z.string().describe(\"Email address value.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email address.\").nullable().optional(),\n}).describe(\"Email address in the SCIM user resource.\");\nconst RoamGetScimUser_RoamUserExtensionSchema = z.object({\n role: z.string().describe(\"The user's role in Roam (e.g., 'User' or 'Admin').\").nullable().optional(),\n}).describe(\"Roam-specific SCIM extension for user resources.\");\nexport const RoamGetScimUserOutput = z.object({\n id: z.string().describe(\"The unique identifier for the user in Roam (SCIM ID / Person ID).\").nullable().optional(),\n meta: RoamGetScimUser_UserMetaSchema.nullable().optional(),\n name: RoamGetScimUser_UserNameSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active. True = active, False = archived.\").nullable().optional(),\n emails: z.array(RoamGetScimUser_EmailValueSchema).describe(\"List of email addresses for the user.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"List of SCIM schema URIs that describe the user resource.\").nullable().optional(),\n userName: z.string().describe(\"The username, typically the primary email address of the user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier from the identity provider (if synced via SCIM).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user (typically firstName lastName).\").nullable().optional(),\n \"urn:ro.am:params:scim:schemas:extension:roam:2.0:User\": RoamGetScimUser_RoamUserExtensionSchema.nullable().optional(),\n}).describe(\"Response schema for a single SCIM user resource.\");\n\nexport const roamGetScimUser = action(\"ROAM_GET_SCIM_USER\", {\n slug: \"roam-get-scim-user\",\n name: \"Get user by ID (SCIM)\",\n description: \"Tool to retrieve a single user by their Roam Person ID using SCIM 2.0 protocol. Use when you need to get detailed information about a specific user including their name, email, active status, and role in Roam. The user ID is the SCIM user ID (Person ID) that can be obtained from user list or user creation operations. Endpoint: GET /scim/v2/Users/{id}\",\n input: RoamGetScimUserInput,\n output: RoamGetScimUserOutput,\n});\n"],"mappings":"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"}
1
+ {"version":3,"file":"get-scim-user.cjs","names":["z","action"],"sources":["../../src/actions/get-scim-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (Roam Person ID). This is the SCIM user ID returned by the API.\"),\n}).describe(\"Request schema for retrieving a single user by their Roam Person ID via SCIM 2.0.\");\nconst RoamGetScimUser_UserMetaSchema = z.object({\n created: z.string().describe(\"The date and time the user was created (ISO 8601 format).\").nullable().optional(),\n location: z.string().describe(\"The URI of the user resource.\").nullable().optional(),\n lastModified: z.string().describe(\"The date and time the user was last modified (ISO 8601 format).\").nullable().optional(),\n resourceType: z.string().describe(\"The type of resource (User).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SCIM user resource.\");\nconst RoamGetScimUser_UserNameSchema = z.object({\n givenName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Name component of a SCIM user.\");\nconst RoamGetScimUser_EmailValueSchema = z.object({\n type: z.string().describe(\"Type of email address (e.g., 'work').\").nullable().optional(),\n value: z.string().describe(\"Email address value.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email address.\").nullable().optional(),\n}).passthrough().describe(\"Email address in the SCIM user resource.\");\nconst RoamGetScimUser_RoamUserExtensionSchema = z.object({\n role: z.string().describe(\"The user's role in Roam (e.g., 'User' or 'Admin').\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension for user resources.\");\nexport const RoamGetScimUserOutput = z.object({\n id: z.string().describe(\"The unique identifier for the user in Roam (SCIM ID / Person ID).\").nullable().optional(),\n meta: RoamGetScimUser_UserMetaSchema.nullable().optional(),\n name: RoamGetScimUser_UserNameSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active. True = active, False = archived.\").nullable().optional(),\n emails: z.array(RoamGetScimUser_EmailValueSchema).describe(\"List of email addresses for the user.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"List of SCIM schema URIs that describe the user resource.\").nullable().optional(),\n userName: z.string().describe(\"The username, typically the primary email address of the user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier from the identity provider (if synced via SCIM).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user (typically firstName lastName).\").nullable().optional(),\n \"urn:ro.am:params:scim:schemas:extension:roam:2.0:User\": RoamGetScimUser_RoamUserExtensionSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for a single SCIM user resource.\");\n\nexport const roamGetScimUser = action(\"ROAM_GET_SCIM_USER\", {\n slug: \"roam-get-scim-user\",\n name: \"Get user by ID (SCIM)\",\n description: \"Tool to retrieve a single user by their Roam Person ID using SCIM 2.0 protocol. Use when you need to get detailed information about a specific user including their name, email, active status, and role in Roam. The user ID is the SCIM user ID (Person ID) that can be obtained from user list or user creation operations. Endpoint: GET /scim/v2/Users/{id}\",\n input: RoamGetScimUserInput,\n output: RoamGetScimUserOutput,\n});\n"],"mappings":"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"}
@@ -11,28 +11,40 @@ declare const RoamGetScimUserOutput: z.ZodObject<{
11
11
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  resourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>;
14
+ }, z.core.$loose>>>;
15
15
  name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  givenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  familyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
20
  emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
21
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
- }, z.core.$strip>>>>;
24
+ }, z.core.$loose>>>>;
25
25
  schemas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
26
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  "urn:ro.am:params:scim:schemas:extension:roam:2.0:User": z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>;
32
- }, z.core.$strip>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>;
33
33
  declare const roamGetScimUser: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: string;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { roamGetScimUser };
38
50
  //# sourceMappingURL=get-scim-user.d.cts.map
@@ -11,28 +11,40 @@ declare const RoamGetScimUserOutput: z.ZodObject<{
11
11
  location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
12
  lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  resourceType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14
- }, z.core.$strip>>>;
14
+ }, z.core.$loose>>>;
15
15
  name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
16
16
  givenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17
17
  familyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18
- }, z.core.$strip>>>;
18
+ }, z.core.$loose>>>;
19
19
  active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
20
20
  emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
21
21
  type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
22
22
  value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23
23
  primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24
- }, z.core.$strip>>>>;
24
+ }, z.core.$loose>>>>;
25
25
  schemas: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
26
26
  userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27
27
  externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28
28
  displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29
29
  "urn:ro.am:params:scim:schemas:extension:roam:2.0:User": z.ZodOptional<z.ZodNullable<z.ZodObject<{
30
30
  role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
- }, z.core.$strip>>>;
32
- }, z.core.$strip>;
31
+ }, z.core.$loose>>>;
32
+ }, z.core.$loose>;
33
33
  declare const roamGetScimUser: import("@keystrokehq/action").WorkflowActionDefinition<{
34
34
  id: string;
35
- }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
35
+ }, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
36
+ connectionId: z.ZodString;
37
+ entityId: z.ZodString;
38
+ instanceId: z.ZodString;
39
+ }, z.core.$strip>, z.ZodObject<{
40
+ accessToken: z.ZodString;
41
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
42
+ connectionId: z.ZodString;
43
+ entityId: z.ZodString;
44
+ instanceId: z.ZodString;
45
+ }, z.core.$strip>, z.ZodObject<{
46
+ accessToken: z.ZodString;
47
+ }, z.core.$strip>>]>;
36
48
  //#endregion
37
49
  export { roamGetScimUser };
38
50
  //# sourceMappingURL=get-scim-user.d.mts.map
@@ -7,17 +7,17 @@ const RoamGetScimUser_UserMetaSchema = z.object({
7
7
  location: z.string().describe("The URI of the user resource.").nullable().optional(),
8
8
  lastModified: z.string().describe("The date and time the user was last modified (ISO 8601 format).").nullable().optional(),
9
9
  resourceType: z.string().describe("The type of resource (User).").nullable().optional()
10
- }).describe("Metadata about the SCIM user resource.");
10
+ }).passthrough().describe("Metadata about the SCIM user resource.");
11
11
  const RoamGetScimUser_UserNameSchema = z.object({
12
12
  givenName: z.string().describe("The first name of the user.").nullable().optional(),
13
13
  familyName: z.string().describe("The last name of the user.").nullable().optional()
14
- }).describe("Name component of a SCIM user.");
14
+ }).passthrough().describe("Name component of a SCIM user.");
15
15
  const RoamGetScimUser_EmailValueSchema = z.object({
16
16
  type: z.string().describe("Type of email address (e.g., 'work').").nullable().optional(),
17
17
  value: z.string().describe("Email address value.").nullable().optional(),
18
18
  primary: z.boolean().describe("Whether this is the primary email address.").nullable().optional()
19
- }).describe("Email address in the SCIM user resource.");
20
- const RoamGetScimUser_RoamUserExtensionSchema = z.object({ role: z.string().describe("The user's role in Roam (e.g., 'User' or 'Admin').").nullable().optional() }).describe("Roam-specific SCIM extension for user resources.");
19
+ }).passthrough().describe("Email address in the SCIM user resource.");
20
+ const RoamGetScimUser_RoamUserExtensionSchema = z.object({ role: z.string().describe("The user's role in Roam (e.g., 'User' or 'Admin').").nullable().optional() }).passthrough().describe("Roam-specific SCIM extension for user resources.");
21
21
  const roamGetScimUser = action("ROAM_GET_SCIM_USER", {
22
22
  slug: "roam-get-scim-user",
23
23
  name: "Get user by ID (SCIM)",
@@ -34,7 +34,7 @@ const roamGetScimUser = action("ROAM_GET_SCIM_USER", {
34
34
  externalId: z.string().describe("External identifier from the identity provider (if synced via SCIM).").nullable().optional(),
35
35
  displayName: z.string().describe("The display name of the user (typically firstName lastName).").nullable().optional(),
36
36
  "urn:ro.am:params:scim:schemas:extension:roam:2.0:User": RoamGetScimUser_RoamUserExtensionSchema.nullable().optional()
37
- }).describe("Response schema for a single SCIM user resource.")
37
+ }).passthrough().describe("Response schema for a single SCIM user resource.")
38
38
  });
39
39
  //#endregion
40
40
  export { roamGetScimUser };
@@ -1 +1 @@
1
- {"version":3,"file":"get-scim-user.mjs","names":[],"sources":["../../src/actions/get-scim-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (Roam Person ID). This is the SCIM user ID returned by the API.\"),\n}).describe(\"Request schema for retrieving a single user by their Roam Person ID via SCIM 2.0.\");\nconst RoamGetScimUser_UserMetaSchema = z.object({\n created: z.string().describe(\"The date and time the user was created (ISO 8601 format).\").nullable().optional(),\n location: z.string().describe(\"The URI of the user resource.\").nullable().optional(),\n lastModified: z.string().describe(\"The date and time the user was last modified (ISO 8601 format).\").nullable().optional(),\n resourceType: z.string().describe(\"The type of resource (User).\").nullable().optional(),\n}).describe(\"Metadata about the SCIM user resource.\");\nconst RoamGetScimUser_UserNameSchema = z.object({\n givenName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n}).describe(\"Name component of a SCIM user.\");\nconst RoamGetScimUser_EmailValueSchema = z.object({\n type: z.string().describe(\"Type of email address (e.g., 'work').\").nullable().optional(),\n value: z.string().describe(\"Email address value.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email address.\").nullable().optional(),\n}).describe(\"Email address in the SCIM user resource.\");\nconst RoamGetScimUser_RoamUserExtensionSchema = z.object({\n role: z.string().describe(\"The user's role in Roam (e.g., 'User' or 'Admin').\").nullable().optional(),\n}).describe(\"Roam-specific SCIM extension for user resources.\");\nexport const RoamGetScimUserOutput = z.object({\n id: z.string().describe(\"The unique identifier for the user in Roam (SCIM ID / Person ID).\").nullable().optional(),\n meta: RoamGetScimUser_UserMetaSchema.nullable().optional(),\n name: RoamGetScimUser_UserNameSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active. True = active, False = archived.\").nullable().optional(),\n emails: z.array(RoamGetScimUser_EmailValueSchema).describe(\"List of email addresses for the user.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"List of SCIM schema URIs that describe the user resource.\").nullable().optional(),\n userName: z.string().describe(\"The username, typically the primary email address of the user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier from the identity provider (if synced via SCIM).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user (typically firstName lastName).\").nullable().optional(),\n \"urn:ro.am:params:scim:schemas:extension:roam:2.0:User\": RoamGetScimUser_RoamUserExtensionSchema.nullable().optional(),\n}).describe(\"Response schema for a single SCIM user resource.\");\n\nexport const roamGetScimUser = action(\"ROAM_GET_SCIM_USER\", {\n slug: \"roam-get-scim-user\",\n name: \"Get user by ID (SCIM)\",\n description: \"Tool to retrieve a single user by their Roam Person ID using SCIM 2.0 protocol. Use when you need to get detailed information about a specific user including their name, email, active status, and role in Roam. The user ID is the SCIM user ID (Person ID) that can be obtained from user list or user creation operations. Endpoint: GET /scim/v2/Users/{id}\",\n input: RoamGetScimUserInput,\n output: RoamGetScimUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EAC7H,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,iCAAiC,EAAE,OAAO;CAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAM,iCAAiC,EAAE,OAAO;CAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,SAAS,gCAAgC;AAC5C,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,0CAA0C,EAAE,OAAO,EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAc9D,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,yDAAyD,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,SAAS,kDAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-scim-user.mjs","names":[],"sources":["../../src/actions/get-scim-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetScimUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user (Roam Person ID). This is the SCIM user ID returned by the API.\"),\n}).describe(\"Request schema for retrieving a single user by their Roam Person ID via SCIM 2.0.\");\nconst RoamGetScimUser_UserMetaSchema = z.object({\n created: z.string().describe(\"The date and time the user was created (ISO 8601 format).\").nullable().optional(),\n location: z.string().describe(\"The URI of the user resource.\").nullable().optional(),\n lastModified: z.string().describe(\"The date and time the user was last modified (ISO 8601 format).\").nullable().optional(),\n resourceType: z.string().describe(\"The type of resource (User).\").nullable().optional(),\n}).passthrough().describe(\"Metadata about the SCIM user resource.\");\nconst RoamGetScimUser_UserNameSchema = z.object({\n givenName: z.string().describe(\"The first name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"The last name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Name component of a SCIM user.\");\nconst RoamGetScimUser_EmailValueSchema = z.object({\n type: z.string().describe(\"Type of email address (e.g., 'work').\").nullable().optional(),\n value: z.string().describe(\"Email address value.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email address.\").nullable().optional(),\n}).passthrough().describe(\"Email address in the SCIM user resource.\");\nconst RoamGetScimUser_RoamUserExtensionSchema = z.object({\n role: z.string().describe(\"The user's role in Roam (e.g., 'User' or 'Admin').\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension for user resources.\");\nexport const RoamGetScimUserOutput = z.object({\n id: z.string().describe(\"The unique identifier for the user in Roam (SCIM ID / Person ID).\").nullable().optional(),\n meta: RoamGetScimUser_UserMetaSchema.nullable().optional(),\n name: RoamGetScimUser_UserNameSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active. True = active, False = archived.\").nullable().optional(),\n emails: z.array(RoamGetScimUser_EmailValueSchema).describe(\"List of email addresses for the user.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"List of SCIM schema URIs that describe the user resource.\").nullable().optional(),\n userName: z.string().describe(\"The username, typically the primary email address of the user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier from the identity provider (if synced via SCIM).\").nullable().optional(),\n displayName: z.string().describe(\"The display name of the user (typically firstName lastName).\").nullable().optional(),\n \"urn:ro.am:params:scim:schemas:extension:roam:2.0:User\": RoamGetScimUser_RoamUserExtensionSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for a single SCIM user resource.\");\n\nexport const roamGetScimUser = action(\"ROAM_GET_SCIM_USER\", {\n slug: \"roam-get-scim-user\",\n name: \"Get user by ID (SCIM)\",\n description: \"Tool to retrieve a single user by their Roam Person ID using SCIM 2.0 protocol. Use when you need to get detailed information about a specific user including their name, email, active status, and role in Roam. The user ID is the SCIM user ID (Person ID) that can be obtained from user list or user creation operations. Endpoint: GET /scim/v2/Users/{id}\",\n input: RoamGetScimUserInput,\n output: RoamGetScimUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,EAC7H,CAAC,CAAC,CAAC,SAAS,mFAAmF;AAC/F,MAAM,iCAAiC,EAAE,OAAO;CAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAM,iCAAiC,EAAE,OAAO;CAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,mCAAmC,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AACpE,MAAM,0CAA0C,EAAE,OAAO,EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAc5E,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAlBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjH,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;EACzD,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzH,QAAQ,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,yDAAyD,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
2
2
  let zod = require("zod");
3
3
  //#region src/actions/get-test.ts
4
4
  const RoamGetTestInput = zod.z.object({}).describe("Request schema for `GetTest` - no parameters required.");
5
- const RoamGetTestOutput = zod.z.object({ message: zod.z.string().describe("Response message from the test endpoint").nullable().optional() }).describe("Response schema for `GetTest`");
5
+ const RoamGetTestOutput = zod.z.object({ message: zod.z.string().describe("Response message from the test endpoint").nullable().optional() }).passthrough().describe("Response schema for `GetTest`");
6
6
  const roamGetTest = require_action.action("ROAM_GET_TEST", {
7
7
  slug: "roam-get-test",
8
8
  name: "Test API Connectivity",
@@ -1 +1 @@
1
- {"version":3,"file":"get-test.cjs","names":["z","action"],"sources":["../../src/actions/get-test.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTestInput = z.object({}).describe(\"Request schema for `GetTest` - no parameters required.\");\nexport const RoamGetTestOutput = z.object({\n message: z.string().describe(\"Response message from the test endpoint\").nullable().optional(),\n}).describe(\"Response schema for `GetTest`\");\n\nexport const roamGetTest = action(\"ROAM_GET_TEST\", {\n slug: \"roam-get-test\",\n name: \"Test API Connectivity\",\n description: \"Test endpoint for API connectivity. Use this endpoint to verify that the Roam API is accessible and authentication is working correctly. Returns a confirmation message on successful connection.\",\n input: RoamGetTestInput,\n output: RoamGetTestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAC9G,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,SAAS,+BAA+B;AAE3C,MAAa,cAAcC,eAAAA,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-test.cjs","names":["z","action"],"sources":["../../src/actions/get-test.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTestInput = z.object({}).describe(\"Request schema for `GetTest` - no parameters required.\");\nexport const RoamGetTestOutput = z.object({\n message: z.string().describe(\"Response message from the test endpoint\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetTest`\");\n\nexport const roamGetTest = action(\"ROAM_GET_TEST\", {\n slug: \"roam-get-test\",\n name: \"Test API Connectivity\",\n description: \"Test endpoint for API connectivity. Use this endpoint to verify that the Roam API is accessible and authentication is working correctly. Returns a confirmation message on successful connection.\",\n input: RoamGetTestInput,\n output: RoamGetTestOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAAwD;AAC9G,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAEzD,MAAa,cAAcC,eAAAA,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -4,8 +4,20 @@ import { z } from "zod";
4
4
  declare const RoamGetTestInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const RoamGetTestOutput: z.ZodObject<{
6
6
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- }, z.core.$strip>;
8
- declare const roamGetTest: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ }, z.core.$loose>;
8
+ declare const roamGetTest: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
9
+ connectionId: z.ZodString;
10
+ entityId: z.ZodString;
11
+ instanceId: z.ZodString;
12
+ }, z.core.$strip>, z.ZodObject<{
13
+ accessToken: z.ZodString;
14
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>;
9
21
  //#endregion
10
22
  export { roamGetTest };
11
23
  //# sourceMappingURL=get-test.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-test.d.cts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":";;;cAIa,gBAAA,EAAgB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAIjB,WAAA,gCAAW,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-test.d.cts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":";;;cAIa,gBAAA,EAAgB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAIjB,WAAA,gCAAW,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,SAAA,CAAA,CAAA,SAAA"}
@@ -4,8 +4,20 @@ import { z } from "zod";
4
4
  declare const RoamGetTestInput: z.ZodObject<{}, z.core.$strip>;
5
5
  declare const RoamGetTestOutput: z.ZodObject<{
6
6
  message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7
- }, z.core.$strip>;
8
- declare const roamGetTest: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ }, z.core.$loose>;
8
+ declare const roamGetTest: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
9
+ connectionId: z.ZodString;
10
+ entityId: z.ZodString;
11
+ instanceId: z.ZodString;
12
+ }, z.core.$strip>, z.ZodObject<{
13
+ accessToken: z.ZodString;
14
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
15
+ connectionId: z.ZodString;
16
+ entityId: z.ZodString;
17
+ instanceId: z.ZodString;
18
+ }, z.core.$strip>, z.ZodObject<{
19
+ accessToken: z.ZodString;
20
+ }, z.core.$strip>>]>;
9
21
  //#endregion
10
22
  export { roamGetTest };
11
23
  //# sourceMappingURL=get-test.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-test.d.mts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":";;;cAIa,gBAAA,EAAgB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAIjB,WAAA,gCAAW,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-test.d.mts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":";;;cAIa,gBAAA,EAAgB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAIjB,WAAA,gCAAW,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,SAAA,CAAA,CAAA,SAAA"}
@@ -5,7 +5,7 @@ const roamGetTest = action("ROAM_GET_TEST", {
5
5
  name: "Test API Connectivity",
6
6
  description: "Test endpoint for API connectivity. Use this endpoint to verify that the Roam API is accessible and authentication is working correctly. Returns a confirmation message on successful connection.",
7
7
  input: z.object({}).describe("Request schema for `GetTest` - no parameters required."),
8
- output: z.object({ message: z.string().describe("Response message from the test endpoint").nullable().optional() }).describe("Response schema for `GetTest`")
8
+ output: z.object({ message: z.string().describe("Response message from the test endpoint").nullable().optional() }).passthrough().describe("Response schema for `GetTest`")
9
9
  });
10
10
  //#endregion
11
11
  export { roamGetTest };
@@ -1 +1 @@
1
- {"version":3,"file":"get-test.mjs","names":[],"sources":["../../src/actions/get-test.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTestInput = z.object({}).describe(\"Request schema for `GetTest` - no parameters required.\");\nexport const RoamGetTestOutput = z.object({\n message: z.string().describe(\"Response message from the test endpoint\").nullable().optional(),\n}).describe(\"Response schema for `GetTest`\");\n\nexport const roamGetTest = action(\"ROAM_GET_TEST\", {\n slug: \"roam-get-test\",\n name: \"Test API Connectivity\",\n description: \"Test endpoint for API connectivity. Use this endpoint to verify that the Roam API is accessible and authentication is working correctly. Returns a confirmation message on successful connection.\",\n input: RoamGetTestInput,\n output: RoamGetTestOutput,\n});\n"],"mappings":";;AASA,MAAa,cAAc,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAS7C;CACP,QAT+B,EAAE,OAAO,EACxC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,SAAS,+BAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-test.mjs","names":[],"sources":["../../src/actions/get-test.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTestInput = z.object({}).describe(\"Request schema for `GetTest` - no parameters required.\");\nexport const RoamGetTestOutput = z.object({\n message: z.string().describe(\"Response message from the test endpoint\").nullable().optional(),\n}).passthrough().describe(\"Response schema for `GetTest`\");\n\nexport const roamGetTest = action(\"ROAM_GET_TEST\", {\n slug: \"roam-get-test\",\n name: \"Test API Connectivity\",\n description: \"Test endpoint for API connectivity. Use this endpoint to verify that the Roam API is accessible and authentication is working correctly. Returns a confirmation message on successful connection.\",\n input: RoamGetTestInput,\n output: RoamGetTestOutput,\n});\n"],"mappings":";;AASA,MAAa,cAAc,OAAO,iBAAiB;CACjD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAT8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAS7C;CACP,QAT+B,EAAE,OAAO,EACxC,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAOhB;AACV,CAAC"}
@@ -7,12 +7,12 @@ const RoamGetTokenInfo_RoamInfoSchema = zod.z.object({
7
7
  name: zod.z.string().describe("The Roam's display name").nullable(),
8
8
  icon_url: zod.z.string().describe("URL of the Roam's icon").nullable().optional(),
9
9
  image_url: zod.z.string().describe("URL of the Roam's profile image").nullable().optional()
10
- }).describe("Information about the Roam workspace.");
10
+ }).passthrough().describe("Information about the Roam workspace.");
11
11
  const RoamGetTokenInfoOutput = zod.z.object({
12
12
  addr: zod.z.string().describe("The bot's chat address (UUID tagged with B- prefix)").nullable(),
13
13
  roam: RoamGetTokenInfo_RoamInfoSchema.nullable().optional(),
14
14
  scopes: zod.z.array(zod.z.string()).describe("List of OAuth scopes granted to this token")
15
- }).describe("Response model containing information about the Roam access token.");
15
+ }).passthrough().describe("Response model containing information about the Roam access token.");
16
16
  const roamGetTokenInfo = require_action.action("ROAM_GET_TOKEN_INFO", {
17
17
  slug: "roam-get-token-info",
18
18
  name: "Get token info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-token-info.cjs","names":["z","action"],"sources":["../../src/actions/get-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTokenInfoInput = z.object({}).describe(\"Request model for retrieving Roam token information.\\nThis endpoint requires no parameters and returns information about the current access token.\");\nconst RoamGetTokenInfo_RoamInfoSchema = z.object({\n id: z.string().describe(\"The Roam's external ID\").nullable(),\n name: z.string().describe(\"The Roam's display name\").nullable(),\n icon_url: z.string().describe(\"URL of the Roam's icon\").nullable().optional(),\n image_url: z.string().describe(\"URL of the Roam's profile image\").nullable().optional(),\n}).describe(\"Information about the Roam workspace.\");\nexport const RoamGetTokenInfoOutput = z.object({\n addr: z.string().describe(\"The bot's chat address (UUID tagged with B- prefix)\").nullable(),\n roam: RoamGetTokenInfo_RoamInfoSchema.nullable().optional(),\n scopes: z.array(z.string()).describe(\"List of OAuth scopes granted to this token\"),\n}).describe(\"Response model containing information about the Roam access token.\");\n\nexport const roamGetTokenInfo = action(\"ROAM_GET_TOKEN_INFO\", {\n slug: \"roam-get-token-info\",\n name: \"Get token info\",\n description: \"Retrieves information about the current Roam access token. Use this tool to: - Get the bot's chat address - Check the OAuth scopes granted to the current token - Retrieve information about the associated Roam workspace Returns the chat address, granted scopes, and Roam workspace information.\",\n input: RoamGetTokenInfoInput,\n output: RoamGetTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAC/M,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-token-info.cjs","names":["z","action"],"sources":["../../src/actions/get-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTokenInfoInput = z.object({}).describe(\"Request model for retrieving Roam token information.\\nThis endpoint requires no parameters and returns information about the current access token.\");\nconst RoamGetTokenInfo_RoamInfoSchema = z.object({\n id: z.string().describe(\"The Roam's external ID\").nullable(),\n name: z.string().describe(\"The Roam's display name\").nullable(),\n icon_url: z.string().describe(\"URL of the Roam's icon\").nullable().optional(),\n image_url: z.string().describe(\"URL of the Roam's profile image\").nullable().optional(),\n}).passthrough().describe(\"Information about the Roam workspace.\");\nexport const RoamGetTokenInfoOutput = z.object({\n addr: z.string().describe(\"The bot's chat address (UUID tagged with B- prefix)\").nullable(),\n roam: RoamGetTokenInfo_RoamInfoSchema.nullable().optional(),\n scopes: z.array(z.string()).describe(\"List of OAuth scopes granted to this token\"),\n}).passthrough().describe(\"Response model containing information about the Roam access token.\");\n\nexport const roamGetTokenInfo = action(\"ROAM_GET_TOKEN_INFO\", {\n slug: \"roam-get-token-info\",\n name: \"Get token info\",\n description: \"Retrieves information about the current Roam access token. Use this tool to: - Get the bot's chat address - Check the OAuth scopes granted to the current token - Retrieve information about the associated Roam workspace Returns the chat address, granted scopes, and Roam workspace information.\",\n input: RoamGetTokenInfoInput,\n output: RoamGetTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAC/M,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC1F,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAC1D,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,mBAAmBC,eAAAA,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -9,10 +9,22 @@ declare const RoamGetTokenInfoOutput: z.ZodObject<{
9
9
  name: z.ZodNullable<z.ZodString>;
10
10
  icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>>;
12
+ }, z.core.$loose>>>;
13
13
  scopes: z.ZodArray<z.ZodString>;
14
- }, z.core.$strip>;
15
- declare const roamGetTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, z.core.$loose>;
15
+ declare const roamGetTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ accessToken: z.ZodString;
27
+ }, z.core.$strip>>]>;
16
28
  //#endregion
17
29
  export { roamGetTokenInfo };
18
30
  //# sourceMappingURL=get-token-info.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-token-info.d.cts","names":[],"sources":["../../src/actions/get-token-info.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-token-info.d.cts","names":[],"sources":["../../src/actions/get-token-info.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,SAAA,CAAA,CAAA,SAAA"}
@@ -9,10 +9,22 @@ declare const RoamGetTokenInfoOutput: z.ZodObject<{
9
9
  name: z.ZodNullable<z.ZodString>;
10
10
  icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
11
  image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12
- }, z.core.$strip>>>;
12
+ }, z.core.$loose>>>;
13
13
  scopes: z.ZodArray<z.ZodString>;
14
- }, z.core.$strip>;
15
- declare const roamGetTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
14
+ }, z.core.$loose>;
15
+ declare const roamGetTokenInfo: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
16
+ connectionId: z.ZodString;
17
+ entityId: z.ZodString;
18
+ instanceId: z.ZodString;
19
+ }, z.core.$strip>, z.ZodObject<{
20
+ accessToken: z.ZodString;
21
+ }, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
22
+ connectionId: z.ZodString;
23
+ entityId: z.ZodString;
24
+ instanceId: z.ZodString;
25
+ }, z.core.$strip>, z.ZodObject<{
26
+ accessToken: z.ZodString;
27
+ }, z.core.$strip>>]>;
16
28
  //#endregion
17
29
  export { roamGetTokenInfo };
18
30
  //# sourceMappingURL=get-token-info.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-token-info.d.mts","names":[],"sources":["../../src/actions/get-token-info.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
1
+ {"version":3,"file":"get-token-info.d.mts","names":[],"sources":["../../src/actions/get-token-info.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,gBAAA,gCAAgB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,SAAA,CAAA,CAAA,SAAA"}
@@ -7,7 +7,7 @@ const RoamGetTokenInfo_RoamInfoSchema = z.object({
7
7
  name: z.string().describe("The Roam's display name").nullable(),
8
8
  icon_url: z.string().describe("URL of the Roam's icon").nullable().optional(),
9
9
  image_url: z.string().describe("URL of the Roam's profile image").nullable().optional()
10
- }).describe("Information about the Roam workspace.");
10
+ }).passthrough().describe("Information about the Roam workspace.");
11
11
  const roamGetTokenInfo = action("ROAM_GET_TOKEN_INFO", {
12
12
  slug: "roam-get-token-info",
13
13
  name: "Get token info",
@@ -17,7 +17,7 @@ const roamGetTokenInfo = action("ROAM_GET_TOKEN_INFO", {
17
17
  addr: z.string().describe("The bot's chat address (UUID tagged with B- prefix)").nullable(),
18
18
  roam: RoamGetTokenInfo_RoamInfoSchema.nullable().optional(),
19
19
  scopes: z.array(z.string()).describe("List of OAuth scopes granted to this token")
20
- }).describe("Response model containing information about the Roam access token.")
20
+ }).passthrough().describe("Response model containing information about the Roam access token.")
21
21
  });
22
22
  //#endregion
23
23
  export { roamGetTokenInfo };
@@ -1 +1 @@
1
- {"version":3,"file":"get-token-info.mjs","names":[],"sources":["../../src/actions/get-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTokenInfoInput = z.object({}).describe(\"Request model for retrieving Roam token information.\\nThis endpoint requires no parameters and returns information about the current access token.\");\nconst RoamGetTokenInfo_RoamInfoSchema = z.object({\n id: z.string().describe(\"The Roam's external ID\").nullable(),\n name: z.string().describe(\"The Roam's display name\").nullable(),\n icon_url: z.string().describe(\"URL of the Roam's icon\").nullable().optional(),\n image_url: z.string().describe(\"URL of the Roam's profile image\").nullable().optional(),\n}).describe(\"Information about the Roam workspace.\");\nexport const RoamGetTokenInfoOutput = z.object({\n addr: z.string().describe(\"The bot's chat address (UUID tagged with B- prefix)\").nullable(),\n roam: RoamGetTokenInfo_RoamInfoSchema.nullable().optional(),\n scopes: z.array(z.string()).describe(\"List of OAuth scopes granted to this token\"),\n}).describe(\"Response model containing information about the Roam access token.\");\n\nexport const roamGetTokenInfo = action(\"ROAM_GET_TOKEN_INFO\", {\n slug: \"roam-get-token-info\",\n name: \"Get token info\",\n description: \"Retrieves information about the current Roam access token. Use this tool to: - Get the bot's chat address - Check the OAuth scopes granted to the current token - Retrieve information about the associated Roam workspace Returns the chat address, granted scopes, and Roam workspace information.\",\n input: RoamGetTokenInfoInput,\n output: RoamGetTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAC/M,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,SAAS,uCAAuC;AAOnD,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC1F,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACnF,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
1
+ {"version":3,"file":"get-token-info.mjs","names":[],"sources":["../../src/actions/get-token-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetTokenInfoInput = z.object({}).describe(\"Request model for retrieving Roam token information.\\nThis endpoint requires no parameters and returns information about the current access token.\");\nconst RoamGetTokenInfo_RoamInfoSchema = z.object({\n id: z.string().describe(\"The Roam's external ID\").nullable(),\n name: z.string().describe(\"The Roam's display name\").nullable(),\n icon_url: z.string().describe(\"URL of the Roam's icon\").nullable().optional(),\n image_url: z.string().describe(\"URL of the Roam's profile image\").nullable().optional(),\n}).passthrough().describe(\"Information about the Roam workspace.\");\nexport const RoamGetTokenInfoOutput = z.object({\n addr: z.string().describe(\"The bot's chat address (UUID tagged with B- prefix)\").nullable(),\n roam: RoamGetTokenInfo_RoamInfoSchema.nullable().optional(),\n scopes: z.array(z.string()).describe(\"List of OAuth scopes granted to this token\"),\n}).passthrough().describe(\"Response model containing information about the Roam access token.\");\n\nexport const roamGetTokenInfo = action(\"ROAM_GET_TOKEN_INFO\", {\n slug: \"roam-get-token-info\",\n name: \"Get token info\",\n description: \"Retrieves information about the current Roam access token. Use this tool to: - Get the bot's chat address - Check the OAuth scopes granted to the current token - Retrieve information about the associated Roam workspace Returns the chat address, granted scopes, and Roam workspace information.\",\n input: RoamGetTokenInfoInput,\n output: RoamGetTokenInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oJAAoJ;AAC/M,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AAOjE,MAAa,mBAAmB,OAAO,uBAAuB;CAC5D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAXoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC1F,MAAM,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC1D,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,4CAA4C;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
@@ -13,7 +13,7 @@ const RoamGetUserInfoOutput = zod.z.object({
13
13
  isAdmin: zod.z.boolean().describe("Whether the user is an admin").nullable().optional(),
14
14
  imageUrl: zod.z.string().describe("URL to user's profile image").nullable(),
15
15
  available: zod.z.boolean().describe("User availability. Requires user:read.status scope.").nullable().optional()
16
- });
16
+ }).passthrough();
17
17
  const roamGetUserInfo = require_action.action("ROAM_GET_USER_INFO", {
18
18
  slug: "roam-get-user-info",
19
19
  name: "Get user info",
@@ -1 +1 @@
1
- {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetUserInfoInput = z.object({\n id: z.string().describe(\"The User ID to look up. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n expand: z.string().describe(\"Comma-separated list of additional fields to include. Supported values: 'status', 'available'. Requires corresponding scopes (user:read.status).\").optional(),\n});\nexport const RoamGetUserInfoOutput = z.object({\n id: z.string().describe(\"User ID\").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 status: z.string().describe(\"User presence status (e.g., 'checkedIn', 'checkedOut'). Requires user:read.status scope.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n imageUrl: z.string().describe(\"URL to user's profile image\").nullable(),\n available: z.boolean().describe(\"User availability. Requires user:read.status scope.\").nullable().optional(),\n});\n\nexport const roamGetUserInfo = action(\"ROAM_GET_USER_INFO\", {\n slug: \"roam-get-user-info\",\n name: \"Get user info\",\n description: \"Get detailed information about a single user in your Roam workspace. Requires user:read scope. Additional scopes (user:read.email, user:read.status) needed for expanded fields.\",\n input: RoamGetUserInfoInput,\n output: RoamGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AAC3L,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
1
+ {"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetUserInfoInput = z.object({\n id: z.string().describe(\"The User ID to look up. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n expand: z.string().describe(\"Comma-separated list of additional fields to include. Supported values: 'status', 'available'. Requires corresponding scopes (user:read.status).\").optional(),\n});\nexport const RoamGetUserInfoOutput = z.object({\n id: z.string().describe(\"User ID\").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 status: z.string().describe(\"User presence status (e.g., 'checkedIn', 'checkedOut'). Requires user:read.status scope.\").nullable().optional(),\n isAdmin: z.boolean().describe(\"Whether the user is an admin\").nullable().optional(),\n imageUrl: z.string().describe(\"URL to user's profile image\").nullable(),\n available: z.boolean().describe(\"User availability. Requires user:read.status scope.\").nullable().optional(),\n}).passthrough();\n\nexport const roamGetUserInfo = action(\"ROAM_GET_USER_INFO\", {\n slug: \"roam-get-user-info\",\n name: \"Get user info\",\n description: \"Get detailed information about a single user in your Roam workspace. Requires user:read scope. Additional scopes (user:read.email, user:read.status) needed for expanded fields.\",\n input: RoamGetUserInfoInput,\n output: RoamGetUserInfoOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;CAChG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;AAC3L,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;CAC1D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACtE,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}