@keystrokehq/roam 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-group-members.cjs +1 -0
- package/dist/actions/add-group-members.cjs.map +1 -1
- package/dist/actions/add-group-members.d.cts +3 -17
- package/dist/actions/add-group-members.d.cts.map +1 -1
- package/dist/actions/add-group-members.d.mts +3 -17
- package/dist/actions/add-group-members.d.mts.map +1 -1
- package/dist/actions/add-group-members.mjs +1 -0
- package/dist/actions/add-group-members.mjs.map +1 -1
- package/dist/actions/add-reaction.cjs +1 -0
- package/dist/actions/add-reaction.cjs.map +1 -1
- package/dist/actions/add-reaction.d.cts +3 -18
- package/dist/actions/add-reaction.d.cts.map +1 -1
- package/dist/actions/add-reaction.d.mts +3 -18
- package/dist/actions/add-reaction.d.mts.map +1 -1
- package/dist/actions/add-reaction.mjs +1 -0
- package/dist/actions/add-reaction.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -20
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -20
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-roam-scim-group.cjs +1 -0
- package/dist/actions/create-roam-scim-group.cjs.map +1 -1
- package/dist/actions/create-roam-scim-group.d.cts +3 -17
- package/dist/actions/create-roam-scim-group.d.cts.map +1 -1
- package/dist/actions/create-roam-scim-group.d.mts +3 -17
- package/dist/actions/create-roam-scim-group.d.mts.map +1 -1
- package/dist/actions/create-roam-scim-group.mjs +1 -0
- package/dist/actions/create-roam-scim-group.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -30
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -30
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -15
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -15
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -15
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -15
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-address-info.cjs +1 -0
- package/dist/actions/get-address-info.cjs.map +1 -1
- package/dist/actions/get-address-info.d.cts +3 -15
- package/dist/actions/get-address-info.d.cts.map +1 -1
- package/dist/actions/get-address-info.d.mts +3 -15
- package/dist/actions/get-address-info.d.mts.map +1 -1
- package/dist/actions/get-address-info.mjs +1 -0
- package/dist/actions/get-address-info.mjs.map +1 -1
- package/dist/actions/get-chat-history.cjs +1 -0
- package/dist/actions/get-chat-history.cjs.map +1 -1
- package/dist/actions/get-chat-history.d.cts +3 -20
- package/dist/actions/get-chat-history.d.cts.map +1 -1
- package/dist/actions/get-chat-history.d.mts +3 -20
- package/dist/actions/get-chat-history.d.mts.map +1 -1
- package/dist/actions/get-chat-history.mjs +1 -0
- package/dist/actions/get-chat-history.mjs.map +1 -1
- package/dist/actions/get-meeting-link.cjs +1 -0
- package/dist/actions/get-meeting-link.cjs.map +1 -1
- package/dist/actions/get-meeting-link.d.cts +3 -15
- package/dist/actions/get-meeting-link.d.cts.map +1 -1
- package/dist/actions/get-meeting-link.d.mts +3 -15
- package/dist/actions/get-meeting-link.d.mts.map +1 -1
- package/dist/actions/get-meeting-link.mjs +1 -0
- package/dist/actions/get-meeting-link.mjs.map +1 -1
- package/dist/actions/get-resource-types.cjs +1 -0
- package/dist/actions/get-resource-types.cjs.map +1 -1
- package/dist/actions/get-resource-types.d.cts +3 -13
- package/dist/actions/get-resource-types.d.cts.map +1 -1
- package/dist/actions/get-resource-types.d.mts +3 -13
- package/dist/actions/get-resource-types.d.mts.map +1 -1
- package/dist/actions/get-resource-types.mjs +1 -0
- package/dist/actions/get-resource-types.mjs.map +1 -1
- package/dist/actions/get-roam-scim-config.cjs +1 -0
- package/dist/actions/get-roam-scim-config.cjs.map +1 -1
- package/dist/actions/get-roam-scim-config.d.cts +3 -13
- package/dist/actions/get-roam-scim-config.d.cts.map +1 -1
- package/dist/actions/get-roam-scim-config.d.mts +3 -13
- package/dist/actions/get-roam-scim-config.d.mts.map +1 -1
- package/dist/actions/get-roam-scim-config.mjs +1 -0
- package/dist/actions/get-roam-scim-config.mjs.map +1 -1
- package/dist/actions/get-scim-schema.cjs +1 -0
- package/dist/actions/get-scim-schema.cjs.map +1 -1
- package/dist/actions/get-scim-schema.d.cts +3 -15
- package/dist/actions/get-scim-schema.d.cts.map +1 -1
- package/dist/actions/get-scim-schema.d.mts +3 -15
- package/dist/actions/get-scim-schema.d.mts.map +1 -1
- package/dist/actions/get-scim-schema.mjs +1 -0
- package/dist/actions/get-scim-schema.mjs.map +1 -1
- package/dist/actions/get-scim-user.cjs +1 -0
- package/dist/actions/get-scim-user.cjs.map +1 -1
- package/dist/actions/get-scim-user.d.cts +3 -15
- package/dist/actions/get-scim-user.d.cts.map +1 -1
- package/dist/actions/get-scim-user.d.mts +3 -15
- package/dist/actions/get-scim-user.d.mts.map +1 -1
- package/dist/actions/get-scim-user.mjs +1 -0
- package/dist/actions/get-scim-user.mjs.map +1 -1
- package/dist/actions/get-test.cjs +1 -0
- package/dist/actions/get-test.cjs.map +1 -1
- package/dist/actions/get-test.d.cts +3 -13
- package/dist/actions/get-test.d.cts.map +1 -1
- package/dist/actions/get-test.d.mts +3 -13
- package/dist/actions/get-test.d.mts.map +1 -1
- package/dist/actions/get-test.mjs +1 -0
- package/dist/actions/get-test.mjs.map +1 -1
- package/dist/actions/get-token-info.cjs +1 -0
- package/dist/actions/get-token-info.cjs.map +1 -1
- package/dist/actions/get-token-info.d.cts +3 -13
- package/dist/actions/get-token-info.d.cts.map +1 -1
- package/dist/actions/get-token-info.d.mts +3 -13
- package/dist/actions/get-token-info.d.mts.map +1 -1
- package/dist/actions/get-token-info.mjs +1 -0
- package/dist/actions/get-token-info.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -16
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -16
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +1 -0
- package/dist/actions/list-chats.cjs.map +1 -1
- package/dist/actions/list-chats.d.cts +3 -16
- package/dist/actions/list-chats.d.cts.map +1 -1
- package/dist/actions/list-chats.d.mts +3 -16
- package/dist/actions/list-chats.d.mts.map +1 -1
- package/dist/actions/list-chats.mjs +1 -0
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-group-members.cjs +1 -0
- package/dist/actions/list-group-members.cjs.map +1 -1
- package/dist/actions/list-group-members.d.cts +3 -17
- package/dist/actions/list-group-members.d.cts.map +1 -1
- package/dist/actions/list-group-members.d.mts +3 -17
- package/dist/actions/list-group-members.d.mts.map +1 -1
- package/dist/actions/list-group-members.mjs +1 -0
- package/dist/actions/list-group-members.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -17
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -17
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-lobbies.cjs +1 -0
- package/dist/actions/list-lobbies.cjs.map +1 -1
- package/dist/actions/list-lobbies.d.cts +3 -15
- package/dist/actions/list-lobbies.d.cts.map +1 -1
- package/dist/actions/list-lobbies.d.mts +3 -15
- package/dist/actions/list-lobbies.d.mts.map +1 -1
- package/dist/actions/list-lobbies.mjs +1 -0
- package/dist/actions/list-lobbies.mjs.map +1 -1
- package/dist/actions/list-meetings.cjs +1 -0
- package/dist/actions/list-meetings.cjs.map +1 -1
- package/dist/actions/list-meetings.d.cts +3 -18
- package/dist/actions/list-meetings.d.cts.map +1 -1
- package/dist/actions/list-meetings.d.mts +3 -18
- package/dist/actions/list-meetings.d.mts.map +1 -1
- package/dist/actions/list-meetings.mjs +1 -0
- package/dist/actions/list-meetings.mjs.map +1 -1
- package/dist/actions/list-recordings.cjs +1 -0
- package/dist/actions/list-recordings.cjs.map +1 -1
- package/dist/actions/list-recordings.d.cts +3 -18
- package/dist/actions/list-recordings.d.cts.map +1 -1
- package/dist/actions/list-recordings.d.mts +3 -18
- package/dist/actions/list-recordings.d.mts.map +1 -1
- package/dist/actions/list-recordings.mjs +1 -0
- package/dist/actions/list-recordings.mjs.map +1 -1
- package/dist/actions/list-roam-scim-users.cjs +1 -0
- package/dist/actions/list-roam-scim-users.cjs.map +1 -1
- package/dist/actions/list-roam-scim-users.d.cts +3 -17
- package/dist/actions/list-roam-scim-users.d.cts.map +1 -1
- package/dist/actions/list-roam-scim-users.d.mts +3 -17
- package/dist/actions/list-roam-scim-users.d.mts.map +1 -1
- package/dist/actions/list-roam-scim-users.mjs +1 -0
- package/dist/actions/list-roam-scim-users.mjs.map +1 -1
- package/dist/actions/list-schemas.cjs +1 -0
- package/dist/actions/list-schemas.cjs.map +1 -1
- package/dist/actions/list-schemas.d.cts +3 -13
- package/dist/actions/list-schemas.d.cts.map +1 -1
- package/dist/actions/list-schemas.d.mts +3 -13
- package/dist/actions/list-schemas.d.mts.map +1 -1
- package/dist/actions/list-schemas.mjs +1 -0
- package/dist/actions/list-schemas.mjs.map +1 -1
- package/dist/actions/list-transcripts.cjs +1 -0
- package/dist/actions/list-transcripts.cjs.map +1 -1
- package/dist/actions/list-transcripts.d.cts +3 -18
- package/dist/actions/list-transcripts.d.cts.map +1 -1
- package/dist/actions/list-transcripts.d.mts +3 -18
- package/dist/actions/list-transcripts.d.mts.map +1 -1
- package/dist/actions/list-transcripts.mjs +1 -0
- package/dist/actions/list-transcripts.mjs.map +1 -1
- package/dist/actions/list-user-audit-log.cjs +1 -0
- package/dist/actions/list-user-audit-log.cjs.map +1 -1
- package/dist/actions/list-user-audit-log.d.cts +3 -17
- package/dist/actions/list-user-audit-log.d.cts.map +1 -1
- package/dist/actions/list-user-audit-log.d.mts +3 -17
- package/dist/actions/list-user-audit-log.d.mts.map +1 -1
- package/dist/actions/list-user-audit-log.mjs +1 -0
- package/dist/actions/list-user-audit-log.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -17
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -17
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/lookup-user.cjs +1 -0
- package/dist/actions/lookup-user.cjs.map +1 -1
- package/dist/actions/lookup-user.d.cts +3 -15
- package/dist/actions/lookup-user.d.cts.map +1 -1
- package/dist/actions/lookup-user.d.mts +3 -15
- package/dist/actions/lookup-user.d.mts.map +1 -1
- package/dist/actions/lookup-user.mjs +1 -0
- package/dist/actions/lookup-user.mjs.map +1 -1
- package/dist/actions/patch-group.cjs +1 -0
- package/dist/actions/patch-group.cjs.map +1 -1
- package/dist/actions/patch-group.d.cts +3 -25
- package/dist/actions/patch-group.d.cts.map +1 -1
- package/dist/actions/patch-group.d.mts +3 -25
- package/dist/actions/patch-group.d.mts.map +1 -1
- package/dist/actions/patch-group.mjs +1 -0
- package/dist/actions/patch-group.mjs.map +1 -1
- package/dist/actions/patch-user.cjs +1 -0
- package/dist/actions/patch-user.cjs.map +1 -1
- package/dist/actions/patch-user.d.cts +3 -24
- package/dist/actions/patch-user.d.cts.map +1 -1
- package/dist/actions/patch-user.d.mts +3 -24
- package/dist/actions/patch-user.d.mts.map +1 -1
- package/dist/actions/patch-user.mjs +1 -0
- package/dist/actions/patch-user.mjs.map +1 -1
- package/dist/actions/post-chat.cjs +1 -0
- package/dist/actions/post-chat.cjs.map +1 -1
- package/dist/actions/post-chat.d.cts +3 -23
- package/dist/actions/post-chat.d.cts.map +1 -1
- package/dist/actions/post-chat.d.mts +3 -23
- package/dist/actions/post-chat.d.mts.map +1 -1
- package/dist/actions/post-chat.mjs +1 -0
- package/dist/actions/post-chat.mjs.map +1 -1
- package/dist/actions/remove-group-members.cjs +1 -0
- package/dist/actions/remove-group-members.cjs.map +1 -1
- package/dist/actions/remove-group-members.d.cts +3 -16
- package/dist/actions/remove-group-members.d.cts.map +1 -1
- package/dist/actions/remove-group-members.d.mts +3 -16
- package/dist/actions/remove-group-members.d.mts.map +1 -1
- package/dist/actions/remove-group-members.mjs +1 -0
- package/dist/actions/remove-group-members.mjs.map +1 -1
- package/dist/actions/replace-group.cjs +1 -0
- package/dist/actions/replace-group.cjs.map +1 -1
- package/dist/actions/replace-group.d.cts +3 -18
- package/dist/actions/replace-group.d.cts.map +1 -1
- package/dist/actions/replace-group.d.mts +3 -18
- package/dist/actions/replace-group.d.mts.map +1 -1
- package/dist/actions/replace-group.mjs +1 -0
- package/dist/actions/replace-group.mjs.map +1 -1
- package/dist/actions/replace-user.cjs +1 -0
- package/dist/actions/replace-user.cjs.map +1 -1
- package/dist/actions/replace-user.d.cts +3 -31
- package/dist/actions/replace-user.d.cts.map +1 -1
- package/dist/actions/replace-user.d.mts +3 -31
- package/dist/actions/replace-user.d.mts.map +1 -1
- package/dist/actions/replace-user.mjs +1 -0
- package/dist/actions/replace-user.mjs.map +1 -1
- package/dist/actions/send-message.cjs +1 -0
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +3 -22
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +3 -22
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +1 -0
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/send-typing.cjs +1 -0
- package/dist/actions/send-typing.cjs.map +1 -1
- package/dist/actions/send-typing.d.cts +3 -15
- package/dist/actions/send-typing.d.cts.map +1 -1
- package/dist/actions/send-typing.d.mts +3 -15
- package/dist/actions/send-typing.d.mts.map +1 -1
- package/dist/actions/send-typing.mjs +1 -0
- package/dist/actions/send-typing.mjs.map +1 -1
- package/dist/actions/update-meeting-link.cjs +1 -0
- package/dist/actions/update-meeting-link.cjs.map +1 -1
- package/dist/actions/update-meeting-link.d.cts +3 -19
- package/dist/actions/update-meeting-link.d.cts.map +1 -1
- package/dist/actions/update-meeting-link.d.mts +3 -19
- package/dist/actions/update-meeting-link.d.mts.map +1 -1
- package/dist/actions/update-meeting-link.mjs +1 -0
- package/dist/actions/update-meeting-link.mjs.map +1 -1
- package/dist/actions/upload-item.cjs +1 -0
- package/dist/actions/upload-item.cjs.map +1 -1
- package/dist/actions/upload-item.d.cts +3 -20
- package/dist/actions/upload-item.d.cts.map +1 -1
- package/dist/actions/upload-item.d.mts +3 -20
- package/dist/actions/upload-item.d.mts.map +1 -1
- package/dist/actions/upload-item.mjs +1 -0
- package/dist/actions/upload-item.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-scim-user.mjs","names":[],"sources":["../../src/actions/get-scim-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const 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: AppAction<\n typeof RoamGetScimUserInput,\n typeof RoamGetScimUserOutput,\n typeof roam.credential\n> = 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":";;;;AAMA,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,kBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAtBmC,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,kDAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-test.cjs","names":["z","action"],"sources":["../../src/actions/get-test.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const 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: AppAction<\n typeof RoamGetTestInput,\n typeof RoamGetTestOutput,\n typeof roam.credential\n> = 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":";;;;AAMA,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,cAITC,eAAAA,OAAO,iBAAiB;CAC1B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-test.d.ts
|
|
@@ -5,19 +7,7 @@ declare const RoamGetTestInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const RoamGetTestOutput: z.ZodObject<{
|
|
6
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const roamGetTest:
|
|
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>>]>;
|
|
10
|
+
declare const roamGetTest: AppAction<typeof RoamGetTestInput, typeof RoamGetTestOutput, typeof roam.credential>;
|
|
21
11
|
//#endregion
|
|
22
12
|
export { roamGetTest };
|
|
23
13
|
//# sourceMappingURL=get-test.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-test.d.cts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-test.d.cts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":";;;;;cAMa,gBAAA,EAAgB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAIjB,WAAA,EAAa,SAAA,QACjB,gBAAA,SACA,iBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-test.d.ts
|
|
@@ -5,19 +7,7 @@ declare const RoamGetTestInput: z.ZodObject<{}, z.core.$strip>;
|
|
|
5
7
|
declare const RoamGetTestOutput: z.ZodObject<{
|
|
6
8
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const roamGetTest:
|
|
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>>]>;
|
|
10
|
+
declare const roamGetTest: AppAction<typeof RoamGetTestInput, typeof RoamGetTestOutput, typeof roam.credential>;
|
|
21
11
|
//#endregion
|
|
22
12
|
export { roamGetTest };
|
|
23
13
|
//# sourceMappingURL=get-test.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-test.d.mts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-test.d.mts","names":[],"sources":["../../src/actions/get-test.ts"],"mappings":";;;;;cAMa,gBAAA,EAAgB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAChB,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAIjB,WAAA,EAAa,SAAA,QACjB,gBAAA,SACA,iBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-test.mjs","names":[],"sources":["../../src/actions/get-test.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const 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: AppAction<\n typeof RoamGetTestInput,\n typeof RoamGetTestOutput,\n typeof roam.credential\n> = 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":";;;AAWA,MAAa,cAIT,OAAO,iBAAiB;CAC1B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAb8B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,wDAa7C;CACP,QAb+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,+BAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-token-info.cjs","names":["z","action"],"sources":["../../src/actions/get-token-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const 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: AppAction<\n typeof RoamGetTokenInfoInput,\n typeof RoamGetTokenInfoOutput,\n typeof roam.credential\n> = 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":";;;;AAMA,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,mBAITC,eAAAA,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-token-info.d.ts
|
|
@@ -12,19 +14,7 @@ declare const RoamGetTokenInfoOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>>;
|
|
13
15
|
scopes: z.ZodArray<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const roamGetTokenInfo:
|
|
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>>]>;
|
|
17
|
+
declare const roamGetTokenInfo: AppAction<typeof RoamGetTokenInfoInput, typeof RoamGetTokenInfoOutput, typeof roam.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { roamGetTokenInfo };
|
|
30
20
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-token-info.d.cts","names":[],"sources":["../../src/actions/get-token-info.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-token-info.d.ts
|
|
@@ -12,19 +14,7 @@ declare const RoamGetTokenInfoOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>>;
|
|
13
15
|
scopes: z.ZodArray<z.ZodString>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const roamGetTokenInfo:
|
|
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>>]>;
|
|
17
|
+
declare const roamGetTokenInfo: AppAction<typeof RoamGetTokenInfoInput, typeof RoamGetTokenInfoOutput, typeof roam.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { roamGetTokenInfo };
|
|
30
20
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"get-token-info.d.mts","names":[],"sources":["../../src/actions/get-token-info.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAOrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAMtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-token-info.mjs","names":[],"sources":["../../src/actions/get-token-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const 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: AppAction<\n typeof RoamGetTokenInfoInput,\n typeof RoamGetTokenInfoOutput,\n typeof roam.credential\n> = 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":";;;;AAMA,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,mBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfoC,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,oEAWhB;AACV,CAAC"}
|
|
@@ -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}).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":"
|
|
1
|
+
{"version":3,"file":"get-user-info.cjs","names":["z","action"],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const 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: AppAction<\n typeof RoamGetUserInfoInput,\n typeof RoamGetUserInfoOutput,\n typeof roam.credential\n> = 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":";;;;AAMA,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,kBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-info.d.ts
|
|
@@ -14,22 +16,7 @@ declare const RoamGetUserInfoOutput: z.ZodObject<{
|
|
|
14
16
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
15
17
|
available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const roamGetUserInfo:
|
|
18
|
-
id: string;
|
|
19
|
-
expand?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const roamGetUserInfo: AppAction<typeof RoamGetUserInfoInput, typeof RoamGetUserInfoOutput, typeof roam.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { roamGetUserInfo };
|
|
35
22
|
//# sourceMappingURL=get-user-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;cAUrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-user-info.d.ts
|
|
@@ -14,22 +16,7 @@ declare const RoamGetUserInfoOutput: z.ZodObject<{
|
|
|
14
16
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
15
17
|
available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const roamGetUserInfo:
|
|
18
|
-
id: string;
|
|
19
|
-
expand?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const roamGetUserInfo: AppAction<typeof RoamGetUserInfoInput, typeof RoamGetUserInfoOutput, typeof roam.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { roamGetUserInfo };
|
|
35
22
|
//# sourceMappingURL=get-user-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;cAUrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-user-info.mjs","names":[],"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":"
|
|
1
|
+
{"version":3,"file":"get-user-info.mjs","names":[],"sources":["../../src/actions/get-user-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const 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: AppAction<\n typeof RoamGetUserInfoInput,\n typeof RoamGetUserInfoOutput,\n typeof roam.credential\n> = 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":";;;AAoBA,MAAa,kBAIT,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC3L,CAmBS;CACP,QAnBmC,EAAE,OAAO;EAC5C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,SAAS,CAAC,CAAC,SAAS;EAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EAC1D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;EACtE,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,CAAC,CAAC,CAAC,YAWO;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListChatsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of chats to return (1-100, default: 10)\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request parameters for listing chats.\");\nconst RoamListChats_ChatSchema = z.object({\n id: z.string().describe(\"The unique chat ID (e.g., 'C-295155ae-7df5-4ed5-9ebc-89a170559c81' for channels or 'D-53b8a72b-b442-4da2-94ea-41b6116c14ea' for DMs)\").nullable(),\n name: z.string().describe(\"Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs\").nullable(),\n group: z.string().describe(\"Group ID present only for channel/multi-DM chats (absent for 1:1 DMs)\").nullable().optional(),\n started: z.string().describe(\"ISO 8601 timestamp when the chat began\").nullable(),\n}).passthrough().describe(\"Represents a chat (DM, MultiDM, or Channel).\");\nexport const RoamListChatsOutput = z.object({\n chats: z.array(RoamListChats_ChatSchema).describe(\"List of chats accessible to the authenticated user, returned in reverse chronological order by start timestamp\").nullable().optional(),\n nextCursor: z.string().describe(\"Opaque pagination token for fetching subsequent pages\").nullable().optional(),\n}).passthrough().describe(\"Response from the List Chats API.\");\n\nexport const roamListChats = action(\"ROAM_LIST_CHATS\", {\n slug: \"roam-list-chats\",\n name: \"List Roam Chats\",\n description: \"Lists all accessible chats, which consist of all DMs, MultiDMs, and Channels that your bot has been added to, in addition to all public channels. Supports pagination via cursor and limiting the number of results. Use this action to discover available chats before performing operations on them.\",\n input: RoamListChatsInput,\n output: RoamListChatsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-chats.cjs","names":["z","action"],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamListChatsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of chats to return (1-100, default: 10)\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request parameters for listing chats.\");\nconst RoamListChats_ChatSchema = z.object({\n id: z.string().describe(\"The unique chat ID (e.g., 'C-295155ae-7df5-4ed5-9ebc-89a170559c81' for channels or 'D-53b8a72b-b442-4da2-94ea-41b6116c14ea' for DMs)\").nullable(),\n name: z.string().describe(\"Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs\").nullable(),\n group: z.string().describe(\"Group ID present only for channel/multi-DM chats (absent for 1:1 DMs)\").nullable().optional(),\n started: z.string().describe(\"ISO 8601 timestamp when the chat began\").nullable(),\n}).passthrough().describe(\"Represents a chat (DM, MultiDM, or Channel).\");\nexport const RoamListChatsOutput = z.object({\n chats: z.array(RoamListChats_ChatSchema).describe(\"List of chats accessible to the authenticated user, returned in reverse chronological order by start timestamp\").nullable().optional(),\n nextCursor: z.string().describe(\"Opaque pagination token for fetching subsequent pages\").nullable().optional(),\n}).passthrough().describe(\"Response from the List Chats API.\");\n\nexport const roamListChats: AppAction<\n typeof RoamListChatsInput,\n typeof RoamListChatsOutput,\n typeof roam.credential\n> = action(\"ROAM_LIST_CHATS\", {\n slug: \"roam-list-chats\",\n name: \"List Roam Chats\",\n description: \"Lists all accessible chats, which consist of all DMs, MultiDMs, and Channels that your bot has been added to, in addition to all public channels. Supports pagination via cursor and limiting the number of results. Use this action to discover available chats before performing operations on them.\",\n input: RoamListChatsInput,\n output: RoamListChatsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACxG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,2BAA2BA,IAAAA,EAAE,OAAO;CACxC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACzK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC/I,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAE7D,MAAa,gBAITC,eAAAA,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-chats.d.ts
|
|
@@ -14,22 +16,7 @@ declare const RoamListChatsOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const roamListChats:
|
|
18
|
-
limit?: number | undefined;
|
|
19
|
-
cursor?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const roamListChats: AppAction<typeof RoamListChatsInput, typeof RoamListChatsOutput, typeof roam.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { roamListChats };
|
|
35
22
|
//# sourceMappingURL=list-chats.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAUlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAKnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-chats.d.ts
|
|
@@ -14,22 +16,7 @@ declare const RoamListChatsOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const roamListChats:
|
|
18
|
-
limit?: number | undefined;
|
|
19
|
-
cursor?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const roamListChats: AppAction<typeof RoamListChatsInput, typeof RoamListChatsOutput, typeof roam.credential>;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { roamListChats };
|
|
35
22
|
//# sourceMappingURL=list-chats.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;;;cAMa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAUlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAKnB,aAAA,EAAe,SAAA,QACnB,kBAAA,SACA,mBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-chats.mjs","names":[],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListChatsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of chats to return (1-100, default: 10)\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request parameters for listing chats.\");\nconst RoamListChats_ChatSchema = z.object({\n id: z.string().describe(\"The unique chat ID (e.g., 'C-295155ae-7df5-4ed5-9ebc-89a170559c81' for channels or 'D-53b8a72b-b442-4da2-94ea-41b6116c14ea' for DMs)\").nullable(),\n name: z.string().describe(\"Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs\").nullable(),\n group: z.string().describe(\"Group ID present only for channel/multi-DM chats (absent for 1:1 DMs)\").nullable().optional(),\n started: z.string().describe(\"ISO 8601 timestamp when the chat began\").nullable(),\n}).passthrough().describe(\"Represents a chat (DM, MultiDM, or Channel).\");\nexport const RoamListChatsOutput = z.object({\n chats: z.array(RoamListChats_ChatSchema).describe(\"List of chats accessible to the authenticated user, returned in reverse chronological order by start timestamp\").nullable().optional(),\n nextCursor: z.string().describe(\"Opaque pagination token for fetching subsequent pages\").nullable().optional(),\n}).passthrough().describe(\"Response from the List Chats API.\");\n\nexport const roamListChats = action(\"ROAM_LIST_CHATS\", {\n slug: \"roam-list-chats\",\n name: \"List Roam Chats\",\n description: \"Lists all accessible chats, which consist of all DMs, MultiDMs, and Channels that your bot has been added to, in addition to all public channels. Supports pagination via cursor and limiting the number of results. Use this action to discover available chats before performing operations on them.\",\n input: RoamListChatsInput,\n output: RoamListChatsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-chats.mjs","names":[],"sources":["../../src/actions/list-chats.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamListChatsInput = z.object({\n limit: z.number().int().default(10).describe(\"Number of chats to return (1-100, default: 10)\").optional(),\n cursor: z.string().describe(\"Pagination cursor from previous response to fetch the next page of results.\").optional(),\n}).describe(\"Request parameters for listing chats.\");\nconst RoamListChats_ChatSchema = z.object({\n id: z.string().describe(\"The unique chat ID (e.g., 'C-295155ae-7df5-4ed5-9ebc-89a170559c81' for channels or 'D-53b8a72b-b442-4da2-94ea-41b6116c14ea' for DMs)\").nullable(),\n name: z.string().describe(\"Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs\").nullable(),\n group: z.string().describe(\"Group ID present only for channel/multi-DM chats (absent for 1:1 DMs)\").nullable().optional(),\n started: z.string().describe(\"ISO 8601 timestamp when the chat began\").nullable(),\n}).passthrough().describe(\"Represents a chat (DM, MultiDM, or Channel).\");\nexport const RoamListChatsOutput = z.object({\n chats: z.array(RoamListChats_ChatSchema).describe(\"List of chats accessible to the authenticated user, returned in reverse chronological order by start timestamp\").nullable().optional(),\n nextCursor: z.string().describe(\"Opaque pagination token for fetching subsequent pages\").nullable().optional(),\n}).passthrough().describe(\"Response from the List Chats API.\");\n\nexport const roamListChats: AppAction<\n typeof RoamListChatsInput,\n typeof RoamListChatsOutput,\n typeof roam.credential\n> = action(\"ROAM_LIST_CHATS\", {\n slug: \"roam-list-chats\",\n name: \"List Roam Chats\",\n description: \"Lists all accessible chats, which consist of all DMs, MultiDMs, and Channels that your bot has been added to, in addition to all public channels. Supports pagination via cursor and limiting the number of results. Use this action to discover available chats before performing operations on them.\",\n input: RoamListChatsInput,\n output: RoamListChatsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,qBAAqB,EAAE,OAAO;CACzC,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACxG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,6EAA6E,CAAC,CAAC,SAAS;AACtH,CAAC,CAAC,CAAC,SAAS,uCAAuC;AACnD,MAAM,2BAA2B,EAAE,OAAO;CACxC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CACzK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAC/I,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AAClF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAMxE,MAAa,gBAIT,OAAO,mBAAmB;CAC5B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdiC,EAAE,OAAO;EAC1C,OAAO,EAAE,MAAM,wBAAwB,CAAC,CAAC,SAAS,gHAAgH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxL,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-members.cjs","names":["z","action"],"sources":["../../src/actions/list-group-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListGroupMembersInput = z.object({\n group: z.string().describe(\"The unique identifier of the group whose members to list\"),\n limit: z.number().int().describe(\"Number of members to return. Minimum: 1, Maximum: 100, Default: 10\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to get the next page of results\").optional(),\n}).describe(\"Request model for listing members in a Roam group.\");\nconst RoamListGroupMembers_GroupMemberSchema = z.object({\n role: z.string().describe(\"The role of the user in the group (e.g., 'member', 'admin')\").nullable(),\n userId: z.string().describe(\"The unique ID of the user\").nullable(),\n}).passthrough().describe(\"Represents a member of a group.\");\nexport const RoamListGroupMembersOutput = z.object({\n members: z.array(RoamListGroupMembers_GroupMemberSchema).describe(\"List of members in the group\"),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Empty if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing group members.\");\n\nexport const roamListGroupMembers = action(\"ROAM_LIST_GROUP_MEMBERS\", {\n slug: \"roam-list-group-members\",\n name: \"List group members\",\n description: \"List members in a group in your Roam workspace. Use this tool when: - You need to see all members of a specific group - You want to check who has access to a group - You need to paginate through large groups Access conditions: - The group must be public in the user's Roam, OR - The app must be a member of the group Required scope: groups:read Returns a list of user IDs with pagination support via nextCursor.\",\n input: RoamListGroupMembersInput,\n output: RoamListGroupMembersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-group-members.cjs","names":["z","action"],"sources":["../../src/actions/list-group-members.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamListGroupMembersInput = z.object({\n group: z.string().describe(\"The unique identifier of the group whose members to list\"),\n limit: z.number().int().describe(\"Number of members to return. Minimum: 1, Maximum: 100, Default: 10\").optional(),\n cursor: z.string().describe(\"Pagination cursor from a previous response to get the next page of results\").optional(),\n}).describe(\"Request model for listing members in a Roam group.\");\nconst RoamListGroupMembers_GroupMemberSchema = z.object({\n role: z.string().describe(\"The role of the user in the group (e.g., 'member', 'admin')\").nullable(),\n userId: z.string().describe(\"The unique ID of the user\").nullable(),\n}).passthrough().describe(\"Represents a member of a group.\");\nexport const RoamListGroupMembersOutput = z.object({\n members: z.array(RoamListGroupMembers_GroupMemberSchema).describe(\"List of members in the group\"),\n nextCursor: z.string().describe(\"Cursor to use for fetching the next page of results. Empty if no more pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing group members.\");\n\nexport const roamListGroupMembers: AppAction<\n typeof RoamListGroupMembersInput,\n typeof RoamListGroupMembersOutput,\n typeof roam.credential\n> = action(\"ROAM_LIST_GROUP_MEMBERS\", {\n slug: \"roam-list-group-members\",\n name: \"List group members\",\n description: \"List members in a group in your Roam workspace. Use this tool when: - You need to see all members of a specific group - You want to check who has access to a group - You need to paginate through large groups Access conditions: - The group must be public in the user's Roam, OR - The app must be a member of the group Required scope: groups:read Returns a list of user IDs with pagination support via nextCursor.\",\n input: RoamListGroupMembersInput,\n output: RoamListGroupMembersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACrF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B;CAChG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AAErE,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-group-members.d.ts
|
|
@@ -13,23 +15,7 @@ declare const RoamListGroupMembersOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const roamListGroupMembers:
|
|
17
|
-
group: string;
|
|
18
|
-
limit?: number | undefined;
|
|
19
|
-
cursor?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const roamListGroupMembers: AppAction<typeof RoamListGroupMembersInput, typeof RoamListGroupMembersOutput, typeof roam.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { roamListGroupMembers };
|
|
35
21
|
//# sourceMappingURL=list-group-members.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-members.d.cts","names":[],"sources":["../../src/actions/list-group-members.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-group-members.d.cts","names":[],"sources":["../../src/actions/list-group-members.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-group-members.d.ts
|
|
@@ -13,23 +15,7 @@ declare const RoamListGroupMembersOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const roamListGroupMembers:
|
|
17
|
-
group: string;
|
|
18
|
-
limit?: number | undefined;
|
|
19
|
-
cursor?: string | undefined;
|
|
20
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
21
|
-
connectionId: z.ZodString;
|
|
22
|
-
entityId: z.ZodString;
|
|
23
|
-
instanceId: z.ZodString;
|
|
24
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25
|
-
accessToken: z.ZodString;
|
|
26
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const roamListGroupMembers: AppAction<typeof RoamListGroupMembersInput, typeof RoamListGroupMembersOutput, typeof roam.credential>;
|
|
33
19
|
//#endregion
|
|
34
20
|
export { roamListGroupMembers };
|
|
35
21
|
//# sourceMappingURL=list-group-members.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-members.d.mts","names":[],"sources":["../../src/actions/list-group-members.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-group-members.d.mts","names":[],"sources":["../../src/actions/list-group-members.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAK1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
|