@keystrokehq/roam 0.1.0 → 0.1.3
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/README.md +1 -1
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-group-members.cjs +1 -1
- package/dist/actions/add-group-members.cjs.map +1 -1
- package/dist/actions/add-group-members.d.cts +13 -3
- package/dist/actions/add-group-members.d.cts.map +1 -1
- package/dist/actions/add-group-members.d.mts +13 -3
- package/dist/actions/add-group-members.d.mts.map +1 -1
- package/dist/actions/add-group-members.mjs +1 -1
- package/dist/actions/add-group-members.mjs.map +1 -1
- package/dist/actions/add-reaction.cjs +1 -1
- package/dist/actions/add-reaction.cjs.map +1 -1
- package/dist/actions/add-reaction.d.cts +20 -3
- package/dist/actions/add-reaction.d.cts.map +1 -1
- package/dist/actions/add-reaction.d.mts +20 -3
- package/dist/actions/add-reaction.d.mts.map +1 -1
- package/dist/actions/add-reaction.mjs +1 -1
- package/dist/actions/add-reaction.mjs.map +1 -1
- package/dist/actions/create-group.cjs +5 -5
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +22 -3
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +22 -3
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +5 -5
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-roam-scim-group.cjs +4 -4
- package/dist/actions/create-roam-scim-group.cjs.map +1 -1
- package/dist/actions/create-roam-scim-group.d.cts +17 -3
- package/dist/actions/create-roam-scim-group.d.cts.map +1 -1
- package/dist/actions/create-roam-scim-group.d.mts +17 -3
- package/dist/actions/create-roam-scim-group.d.mts.map +1 -1
- package/dist/actions/create-roam-scim-group.mjs +4 -4
- package/dist/actions/create-roam-scim-group.mjs.map +1 -1
- package/dist/actions/create-user.cjs +6 -6
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +57 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +57 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +6 -6
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +3 -3
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +10 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +10 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +3 -3
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +3 -3
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +10 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +10 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +3 -3
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-address-info.cjs +1 -1
- package/dist/actions/get-address-info.cjs.map +1 -1
- package/dist/actions/get-address-info.d.cts +18 -3
- package/dist/actions/get-address-info.d.cts.map +1 -1
- package/dist/actions/get-address-info.d.mts +18 -3
- package/dist/actions/get-address-info.d.mts.map +1 -1
- package/dist/actions/get-address-info.mjs +1 -1
- package/dist/actions/get-address-info.mjs.map +1 -1
- package/dist/actions/get-chat-history.cjs +9 -9
- package/dist/actions/get-chat-history.cjs.map +1 -1
- package/dist/actions/get-chat-history.d.cts +28 -3
- package/dist/actions/get-chat-history.d.cts.map +1 -1
- package/dist/actions/get-chat-history.d.mts +28 -3
- package/dist/actions/get-chat-history.d.mts.map +1 -1
- package/dist/actions/get-chat-history.mjs +9 -9
- package/dist/actions/get-chat-history.mjs.map +1 -1
- package/dist/actions/get-meeting-link.cjs +5 -5
- package/dist/actions/get-meeting-link.cjs.map +1 -1
- package/dist/actions/get-meeting-link.d.cts +14 -3
- package/dist/actions/get-meeting-link.d.cts.map +1 -1
- package/dist/actions/get-meeting-link.d.mts +14 -3
- package/dist/actions/get-meeting-link.d.mts.map +1 -1
- package/dist/actions/get-meeting-link.mjs +5 -5
- package/dist/actions/get-meeting-link.mjs.map +1 -1
- package/dist/actions/get-resource-types.cjs +8 -8
- package/dist/actions/get-resource-types.cjs.map +1 -1
- package/dist/actions/get-resource-types.d.cts +13 -3
- package/dist/actions/get-resource-types.d.cts.map +1 -1
- package/dist/actions/get-resource-types.d.mts +13 -3
- package/dist/actions/get-resource-types.d.mts.map +1 -1
- package/dist/actions/get-resource-types.mjs +8 -8
- package/dist/actions/get-resource-types.mjs.map +1 -1
- package/dist/actions/get-roam-scim-config.cjs +9 -9
- package/dist/actions/get-roam-scim-config.cjs.map +1 -1
- package/dist/actions/get-roam-scim-config.d.cts +38 -3
- package/dist/actions/get-roam-scim-config.d.cts.map +1 -1
- package/dist/actions/get-roam-scim-config.d.mts +38 -3
- package/dist/actions/get-roam-scim-config.d.mts.map +1 -1
- package/dist/actions/get-roam-scim-config.mjs +9 -9
- package/dist/actions/get-roam-scim-config.mjs.map +1 -1
- package/dist/actions/get-scim-schema.cjs +1 -1
- package/dist/actions/get-scim-schema.cjs.map +1 -1
- package/dist/actions/get-scim-schema.d.cts +14 -3
- package/dist/actions/get-scim-schema.d.cts.map +1 -1
- package/dist/actions/get-scim-schema.d.mts +14 -3
- package/dist/actions/get-scim-schema.d.mts.map +1 -1
- package/dist/actions/get-scim-schema.mjs +1 -1
- package/dist/actions/get-scim-schema.mjs.map +1 -1
- package/dist/actions/get-scim-user.cjs +5 -5
- package/dist/actions/get-scim-user.cjs.map +1 -1
- package/dist/actions/get-scim-user.d.cts +32 -3
- package/dist/actions/get-scim-user.d.cts.map +1 -1
- package/dist/actions/get-scim-user.d.mts +32 -3
- package/dist/actions/get-scim-user.d.mts.map +1 -1
- package/dist/actions/get-scim-user.mjs +5 -5
- package/dist/actions/get-scim-user.mjs.map +1 -1
- package/dist/actions/get-test.cjs +1 -1
- package/dist/actions/get-test.cjs.map +1 -1
- package/dist/actions/get-test.d.cts +5 -3
- package/dist/actions/get-test.d.cts.map +1 -1
- package/dist/actions/get-test.d.mts +5 -3
- package/dist/actions/get-test.d.mts.map +1 -1
- package/dist/actions/get-test.mjs +1 -1
- package/dist/actions/get-test.mjs.map +1 -1
- package/dist/actions/get-token-info.cjs +5 -5
- package/dist/actions/get-token-info.cjs.map +1 -1
- package/dist/actions/get-token-info.d.cts +12 -3
- package/dist/actions/get-token-info.d.cts.map +1 -1
- package/dist/actions/get-token-info.d.mts +12 -3
- package/dist/actions/get-token-info.d.mts.map +1 -1
- package/dist/actions/get-token-info.mjs +5 -5
- package/dist/actions/get-token-info.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +4 -4
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +17 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +17 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +4 -4
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +5 -5
- package/dist/actions/list-chats.cjs.map +1 -1
- package/dist/actions/list-chats.d.cts +17 -3
- package/dist/actions/list-chats.d.cts.map +1 -1
- package/dist/actions/list-chats.d.mts +17 -3
- package/dist/actions/list-chats.d.mts.map +1 -1
- package/dist/actions/list-chats.mjs +5 -5
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-group-members.cjs +4 -4
- package/dist/actions/list-group-members.cjs.map +1 -1
- package/dist/actions/list-group-members.d.cts +17 -3
- package/dist/actions/list-group-members.d.cts.map +1 -1
- package/dist/actions/list-group-members.d.mts +17 -3
- package/dist/actions/list-group-members.d.mts.map +1 -1
- package/dist/actions/list-group-members.mjs +4 -4
- package/dist/actions/list-group-members.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +11 -11
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +28 -3
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +28 -3
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +11 -11
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-lobbies.cjs +7 -7
- package/dist/actions/list-lobbies.cjs.map +1 -1
- package/dist/actions/list-lobbies.d.cts +16 -3
- package/dist/actions/list-lobbies.d.cts.map +1 -1
- package/dist/actions/list-lobbies.d.mts +16 -3
- package/dist/actions/list-lobbies.d.mts.map +1 -1
- package/dist/actions/list-lobbies.mjs +7 -7
- package/dist/actions/list-lobbies.mjs.map +1 -1
- package/dist/actions/list-meetings.cjs +6 -6
- package/dist/actions/list-meetings.cjs.map +1 -1
- package/dist/actions/list-meetings.d.cts +28 -3
- package/dist/actions/list-meetings.d.cts.map +1 -1
- package/dist/actions/list-meetings.d.mts +28 -3
- package/dist/actions/list-meetings.d.mts.map +1 -1
- package/dist/actions/list-meetings.mjs +6 -6
- package/dist/actions/list-meetings.mjs.map +1 -1
- package/dist/actions/list-recordings.cjs +2 -2
- package/dist/actions/list-recordings.cjs.map +1 -1
- package/dist/actions/list-recordings.d.cts +22 -3
- package/dist/actions/list-recordings.d.cts.map +1 -1
- package/dist/actions/list-recordings.d.mts +22 -3
- package/dist/actions/list-recordings.d.mts.map +1 -1
- package/dist/actions/list-recordings.mjs +2 -2
- package/dist/actions/list-recordings.mjs.map +1 -1
- package/dist/actions/list-roam-scim-users.cjs +6 -6
- package/dist/actions/list-roam-scim-users.cjs.map +1 -1
- package/dist/actions/list-roam-scim-users.d.cts +42 -3
- package/dist/actions/list-roam-scim-users.d.cts.map +1 -1
- package/dist/actions/list-roam-scim-users.d.mts +42 -3
- package/dist/actions/list-roam-scim-users.d.mts.map +1 -1
- package/dist/actions/list-roam-scim-users.mjs +6 -6
- package/dist/actions/list-roam-scim-users.mjs.map +1 -1
- package/dist/actions/list-schemas.cjs +8 -8
- package/dist/actions/list-schemas.cjs.map +1 -1
- package/dist/actions/list-schemas.d.cts +13 -3
- package/dist/actions/list-schemas.d.cts.map +1 -1
- package/dist/actions/list-schemas.d.mts +13 -3
- package/dist/actions/list-schemas.d.mts.map +1 -1
- package/dist/actions/list-schemas.mjs +8 -8
- package/dist/actions/list-schemas.mjs.map +1 -1
- package/dist/actions/list-transcripts.cjs +7 -7
- package/dist/actions/list-transcripts.cjs.map +1 -1
- package/dist/actions/list-transcripts.d.cts +26 -3
- package/dist/actions/list-transcripts.d.cts.map +1 -1
- package/dist/actions/list-transcripts.d.mts +26 -3
- package/dist/actions/list-transcripts.d.mts.map +1 -1
- package/dist/actions/list-transcripts.mjs +7 -7
- package/dist/actions/list-transcripts.mjs.map +1 -1
- package/dist/actions/list-user-audit-log.cjs +2 -2
- package/dist/actions/list-user-audit-log.cjs.map +1 -1
- package/dist/actions/list-user-audit-log.d.cts +25 -3
- package/dist/actions/list-user-audit-log.d.cts.map +1 -1
- package/dist/actions/list-user-audit-log.d.mts +25 -3
- package/dist/actions/list-user-audit-log.d.mts.map +1 -1
- package/dist/actions/list-user-audit-log.mjs +2 -2
- package/dist/actions/list-user-audit-log.mjs.map +1 -1
- package/dist/actions/list-users.cjs +2 -2
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +21 -3
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +21 -3
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +2 -2
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/lookup-user.cjs +3 -3
- package/dist/actions/lookup-user.cjs.map +1 -1
- package/dist/actions/lookup-user.d.cts +15 -3
- package/dist/actions/lookup-user.d.cts.map +1 -1
- package/dist/actions/lookup-user.d.mts +15 -3
- package/dist/actions/lookup-user.d.mts.map +1 -1
- package/dist/actions/lookup-user.mjs +3 -3
- package/dist/actions/lookup-user.mjs.map +1 -1
- package/dist/actions/patch-group.cjs +5 -5
- package/dist/actions/patch-group.cjs.map +1 -1
- package/dist/actions/patch-group.d.cts +38 -3
- package/dist/actions/patch-group.d.cts.map +1 -1
- package/dist/actions/patch-group.d.mts +38 -3
- package/dist/actions/patch-group.d.mts.map +1 -1
- package/dist/actions/patch-group.mjs +5 -5
- package/dist/actions/patch-group.mjs.map +1 -1
- package/dist/actions/patch-user.cjs +7 -7
- package/dist/actions/patch-user.cjs.map +1 -1
- package/dist/actions/patch-user.d.cts +52 -3
- package/dist/actions/patch-user.d.cts.map +1 -1
- package/dist/actions/patch-user.d.mts +52 -3
- package/dist/actions/patch-user.d.mts.map +1 -1
- package/dist/actions/patch-user.mjs +7 -7
- package/dist/actions/patch-user.mjs.map +1 -1
- package/dist/actions/post-chat.cjs +1 -1
- package/dist/actions/post-chat.cjs.map +1 -1
- package/dist/actions/post-chat.d.cts +27 -3
- package/dist/actions/post-chat.d.cts.map +1 -1
- package/dist/actions/post-chat.d.mts +27 -3
- package/dist/actions/post-chat.d.mts.map +1 -1
- package/dist/actions/post-chat.mjs +1 -1
- package/dist/actions/post-chat.mjs.map +1 -1
- package/dist/actions/remove-group-members.cjs +1 -1
- package/dist/actions/remove-group-members.cjs.map +1 -1
- package/dist/actions/remove-group-members.d.cts +11 -3
- package/dist/actions/remove-group-members.d.cts.map +1 -1
- package/dist/actions/remove-group-members.d.mts +11 -3
- package/dist/actions/remove-group-members.d.mts.map +1 -1
- package/dist/actions/remove-group-members.mjs +1 -1
- package/dist/actions/remove-group-members.mjs.map +1 -1
- package/dist/actions/replace-group.cjs +6 -6
- package/dist/actions/replace-group.cjs.map +1 -1
- package/dist/actions/replace-group.d.cts +26 -3
- package/dist/actions/replace-group.d.cts.map +1 -1
- package/dist/actions/replace-group.d.mts +26 -3
- package/dist/actions/replace-group.d.mts.map +1 -1
- package/dist/actions/replace-group.mjs +6 -6
- package/dist/actions/replace-group.mjs.map +1 -1
- package/dist/actions/replace-user.cjs +6 -6
- package/dist/actions/replace-user.cjs.map +1 -1
- package/dist/actions/replace-user.d.cts +59 -3
- package/dist/actions/replace-user.d.cts.map +1 -1
- package/dist/actions/replace-user.d.mts +59 -3
- package/dist/actions/replace-user.d.mts.map +1 -1
- package/dist/actions/replace-user.mjs +6 -6
- package/dist/actions/replace-user.mjs.map +1 -1
- package/dist/actions/send-message.cjs +1 -1
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +24 -3
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +24 -3
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +1 -1
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/send-typing.cjs +3 -3
- package/dist/actions/send-typing.cjs.map +1 -1
- package/dist/actions/send-typing.d.cts +10 -3
- package/dist/actions/send-typing.d.cts.map +1 -1
- package/dist/actions/send-typing.d.mts +10 -3
- package/dist/actions/send-typing.d.mts.map +1 -1
- package/dist/actions/send-typing.mjs +3 -3
- package/dist/actions/send-typing.mjs.map +1 -1
- package/dist/actions/update-meeting-link.cjs +1 -1
- package/dist/actions/update-meeting-link.cjs.map +1 -1
- package/dist/actions/update-meeting-link.d.cts +15 -3
- package/dist/actions/update-meeting-link.d.cts.map +1 -1
- package/dist/actions/update-meeting-link.d.mts +15 -3
- package/dist/actions/update-meeting-link.d.mts.map +1 -1
- package/dist/actions/update-meeting-link.mjs +1 -1
- package/dist/actions/update-meeting-link.mjs.map +1 -1
- package/dist/actions/upload-item.cjs +2 -2
- package/dist/actions/upload-item.cjs.map +1 -1
- package/dist/actions/upload-item.d.cts +27 -3
- package/dist/actions/upload-item.d.cts.map +1 -1
- package/dist/actions/upload-item.d.mts +27 -3
- package/dist/actions/upload-item.d.mts.map +1 -1
- package/dist/actions/upload-item.mjs +2 -2
- package/dist/actions/upload-item.mjs.map +1 -1
- package/dist/execute.cjs +1 -1
- package/dist/execute.cjs.map +1 -1
- package/dist/execute.mjs +1 -1
- package/dist/execute.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -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
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-test.d.ts
|
|
4
|
-
declare const RoamGetTestInput: z.
|
|
5
|
-
declare const RoamGetTestOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RoamGetTestInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RoamGetTestOutput: z.ZodObject<{
|
|
6
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { roamGetTest };
|
|
9
11
|
//# 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,
|
|
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,9 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-test.d.ts
|
|
4
|
-
declare const RoamGetTestInput: z.
|
|
5
|
-
declare const RoamGetTestOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RoamGetTestInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RoamGetTestOutput: z.ZodObject<{
|
|
6
|
+
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
9
|
//#endregion
|
|
8
10
|
export { roamGetTest };
|
|
9
11
|
//# 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,
|
|
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"}
|
|
@@ -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
|
|
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"}
|
|
@@ -3,16 +3,16 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-token-info.ts
|
|
4
4
|
const RoamGetTokenInfoInput = zod.z.object({}).describe("Request model for retrieving Roam token information.\nThis endpoint requires no parameters and returns information about the current access token.");
|
|
5
5
|
const RoamGetTokenInfo_RoamInfoSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("The Roam's external ID"),
|
|
7
|
-
name: zod.z.string().describe("The Roam's display name"),
|
|
6
|
+
id: zod.z.string().describe("The Roam's external ID").nullable(),
|
|
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
|
-
addr: zod.z.string().describe("The bot's chat address (UUID tagged with B- prefix)"),
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-token-info.d.ts
|
|
4
|
-
declare const RoamGetTokenInfoInput: z.
|
|
5
|
-
declare const RoamGetTokenInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RoamGetTokenInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RoamGetTokenInfoOutput: z.ZodObject<{
|
|
6
|
+
addr: z.ZodNullable<z.ZodString>;
|
|
7
|
+
roam: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { roamGetTokenInfo };
|
|
9
18
|
//# 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,
|
|
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,9 +1,18 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-token-info.d.ts
|
|
4
|
-
declare const RoamGetTokenInfoInput: z.
|
|
5
|
-
declare const RoamGetTokenInfoOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const RoamGetTokenInfoInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const RoamGetTokenInfoOutput: z.ZodObject<{
|
|
6
|
+
addr: z.ZodNullable<z.ZodString>;
|
|
7
|
+
roam: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
icon_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
|
+
scopes: z.ZodArray<z.ZodString>;
|
|
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]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
16
|
//#endregion
|
|
8
17
|
export { roamGetTokenInfo };
|
|
9
18
|
//# 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,
|
|
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"}
|
|
@@ -3,21 +3,21 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/get-token-info.ts
|
|
4
4
|
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.");
|
|
5
5
|
const RoamGetTokenInfo_RoamInfoSchema = z.object({
|
|
6
|
-
id: z.string().describe("The Roam's external ID"),
|
|
7
|
-
name: z.string().describe("The Roam's display name"),
|
|
6
|
+
id: z.string().describe("The Roam's external ID").nullable(),
|
|
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",
|
|
14
14
|
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.",
|
|
15
15
|
input: RoamGetTokenInfoInput,
|
|
16
16
|
output: z.object({
|
|
17
|
-
addr: z.string().describe("The bot's chat address (UUID tagged with B- prefix)"),
|
|
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
|
|
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"}
|
|
@@ -6,14 +6,14 @@ const RoamGetUserInfoInput = zod.z.object({
|
|
|
6
6
|
expand: zod.z.string().describe("Comma-separated list of additional fields to include. Supported values: 'status', 'available'. Requires corresponding scopes (user:read.status).").optional()
|
|
7
7
|
});
|
|
8
8
|
const RoamGetUserInfoOutput = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("User ID"),
|
|
10
|
-
name: zod.z.string().describe("User's display name"),
|
|
9
|
+
id: zod.z.string().describe("User ID").nullable(),
|
|
10
|
+
name: zod.z.string().describe("User's display name").nullable(),
|
|
11
11
|
email: zod.z.string().describe("User's email address. Requires user:read.email scope.").nullable().optional(),
|
|
12
12
|
status: zod.z.string().describe("User presence status (e.g., 'checkedIn', 'checkedOut'). Requires user:read.status scope.").nullable().optional(),
|
|
13
13
|
isAdmin: zod.z.boolean().describe("Whether the user is an admin").nullable().optional(),
|
|
14
|
-
imageUrl: zod.z.string().describe("URL to user's profile image"),
|
|
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
|
|
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"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-info.d.ts
|
|
4
|
-
declare const RoamGetUserInfoInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamGetUserInfoInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
expand: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RoamGetUserInfoOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
isAdmin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
15
|
+
available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const roamGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
id: string;
|
|
19
|
+
expand?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { roamGetUserInfo };
|
|
9
23
|
//# 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":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-user-info.d.cts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;cAUrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-user-info.d.ts
|
|
4
|
-
declare const RoamGetUserInfoInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamGetUserInfoInput: z.ZodObject<{
|
|
5
|
+
id: z.ZodString;
|
|
6
|
+
expand: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RoamGetUserInfoOutput: z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
isAdmin: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
15
|
+
available: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const roamGetUserInfo: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
id: string;
|
|
19
|
+
expand?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { roamGetUserInfo };
|
|
9
23
|
//# 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":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"get-user-info.d.mts","names":[],"sources":["../../src/actions/get-user-info.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAIpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;cAUrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -9,14 +9,14 @@ const roamGetUserInfo = action("ROAM_GET_USER_INFO", {
|
|
|
9
9
|
expand: z.string().describe("Comma-separated list of additional fields to include. Supported values: 'status', 'available'. Requires corresponding scopes (user:read.status).").optional()
|
|
10
10
|
}),
|
|
11
11
|
output: z.object({
|
|
12
|
-
id: z.string().describe("User ID"),
|
|
13
|
-
name: z.string().describe("User's display name"),
|
|
12
|
+
id: z.string().describe("User ID").nullable(),
|
|
13
|
+
name: z.string().describe("User's display name").nullable(),
|
|
14
14
|
email: z.string().describe("User's email address. Requires user:read.email scope.").nullable().optional(),
|
|
15
15
|
status: z.string().describe("User presence status (e.g., 'checkedIn', 'checkedOut'). Requires user:read.status scope.").nullable().optional(),
|
|
16
16
|
isAdmin: z.boolean().describe("Whether the user is an admin").nullable().optional(),
|
|
17
|
-
imageUrl: z.string().describe("URL to user's profile image"),
|
|
17
|
+
imageUrl: z.string().describe("URL to user's profile image").nullable(),
|
|
18
18
|
available: z.boolean().describe("User availability. Requires user:read.status scope.").nullable().optional()
|
|
19
|
-
})
|
|
19
|
+
}).passthrough()
|
|
20
20
|
});
|
|
21
21
|
//#endregion
|
|
22
22
|
export { roamGetUserInfo };
|
|
@@ -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
|
|
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":";;AAkBA,MAAa,kBAAkB,OAAO,sBAAsB;CAC1D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlBkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE;EAChG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kJAAkJ,CAAC,CAAC,SAAS;CAC3L,CAeS;CACP,QAfmC,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,YAOO;AACV,CAAC"}
|
|
@@ -6,15 +6,15 @@ const RoamListChatsInput = zod.z.object({
|
|
|
6
6
|
cursor: zod.z.string().describe("Pagination cursor from previous response to fetch the next page of results.").optional()
|
|
7
7
|
}).describe("Request parameters for listing chats.");
|
|
8
8
|
const RoamListChats_ChatSchema = zod.z.object({
|
|
9
|
-
id: zod.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)"),
|
|
10
|
-
name: zod.z.string().describe("Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs"),
|
|
9
|
+
id: zod.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(),
|
|
10
|
+
name: zod.z.string().describe("Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs").nullable(),
|
|
11
11
|
group: zod.z.string().describe("Group ID present only for channel/multi-DM chats (absent for 1:1 DMs)").nullable().optional(),
|
|
12
|
-
started: zod.z.string().describe("ISO 8601 timestamp when the chat began")
|
|
13
|
-
}).describe("Represents a chat (DM, MultiDM, or Channel).");
|
|
12
|
+
started: zod.z.string().describe("ISO 8601 timestamp when the chat began").nullable()
|
|
13
|
+
}).passthrough().describe("Represents a chat (DM, MultiDM, or Channel).");
|
|
14
14
|
const RoamListChatsOutput = zod.z.object({
|
|
15
15
|
chats: zod.z.array(RoamListChats_ChatSchema).describe("List of chats accessible to the authenticated user, returned in reverse chronological order by start timestamp").nullable().optional(),
|
|
16
16
|
nextCursor: zod.z.string().describe("Opaque pagination token for fetching subsequent pages").nullable().optional()
|
|
17
|
-
}).describe("Response from the List Chats API.");
|
|
17
|
+
}).passthrough().describe("Response from the List Chats API.");
|
|
18
18
|
const roamListChats = require_action.action("ROAM_LIST_CHATS", {
|
|
19
19
|
slug: "roam-list-chats",
|
|
20
20
|
name: "List Roam Chats",
|
|
@@ -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
|
|
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":";;;AAIA,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,gBAAgBC,eAAAA,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-chats.d.ts
|
|
4
|
-
declare const RoamListChatsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListChatsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RoamListChatsOutput: z.ZodObject<{
|
|
9
|
+
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
started: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const roamListChats: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
limit?: number | undefined;
|
|
19
|
+
cursor?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { roamListChats };
|
|
9
23
|
//# sourceMappingURL=list-chats.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"list-chats.d.cts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAUlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAKnB,aAAA,gCAAa,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-chats.d.ts
|
|
4
|
-
declare const RoamListChatsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListChatsInput: z.ZodObject<{
|
|
5
|
+
limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
|
|
6
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const RoamListChatsOutput: z.ZodObject<{
|
|
9
|
+
chats: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
10
|
+
id: z.ZodNullable<z.ZodString>;
|
|
11
|
+
name: z.ZodNullable<z.ZodString>;
|
|
12
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
+
started: z.ZodNullable<z.ZodString>;
|
|
14
|
+
}, z.core.$loose>>>>;
|
|
15
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$loose>;
|
|
17
|
+
declare const roamListChats: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
limit?: number | undefined;
|
|
19
|
+
cursor?: string | undefined;
|
|
20
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
21
|
//#endregion
|
|
8
22
|
export { roamListChats };
|
|
9
23
|
//# sourceMappingURL=list-chats.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,kBAAA,
|
|
1
|
+
{"version":3,"file":"list-chats.d.mts","names":[],"sources":["../../src/actions/list-chats.ts"],"mappings":";;;cAIa,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;cAUlB,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;;;;;cAKnB,aAAA,gCAAa,wBAAA"}
|
|
@@ -6,11 +6,11 @@ const RoamListChatsInput = z.object({
|
|
|
6
6
|
cursor: z.string().describe("Pagination cursor from previous response to fetch the next page of results.").optional()
|
|
7
7
|
}).describe("Request parameters for listing chats.");
|
|
8
8
|
const RoamListChats_ChatSchema = z.object({
|
|
9
|
-
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)"),
|
|
10
|
-
name: z.string().describe("Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs"),
|
|
9
|
+
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(),
|
|
10
|
+
name: z.string().describe("Display name: group name for channels, other party's name for DMs, or comma-separated list for Multi-DMs").nullable(),
|
|
11
11
|
group: z.string().describe("Group ID present only for channel/multi-DM chats (absent for 1:1 DMs)").nullable().optional(),
|
|
12
|
-
started: z.string().describe("ISO 8601 timestamp when the chat began")
|
|
13
|
-
}).describe("Represents a chat (DM, MultiDM, or Channel).");
|
|
12
|
+
started: z.string().describe("ISO 8601 timestamp when the chat began").nullable()
|
|
13
|
+
}).passthrough().describe("Represents a chat (DM, MultiDM, or Channel).");
|
|
14
14
|
const roamListChats = action("ROAM_LIST_CHATS", {
|
|
15
15
|
slug: "roam-list-chats",
|
|
16
16
|
name: "List Roam Chats",
|
|
@@ -19,7 +19,7 @@ const roamListChats = action("ROAM_LIST_CHATS", {
|
|
|
19
19
|
output: z.object({
|
|
20
20
|
chats: z.array(RoamListChats_ChatSchema).describe("List of chats accessible to the authenticated user, returned in reverse chronological order by start timestamp").nullable().optional(),
|
|
21
21
|
nextCursor: z.string().describe("Opaque pagination token for fetching subsequent pages").nullable().optional()
|
|
22
|
-
}).describe("Response from the List Chats API.")
|
|
22
|
+
}).passthrough().describe("Response from the List Chats API.")
|
|
23
23
|
});
|
|
24
24
|
//#endregion
|
|
25
25
|
export { roamListChats };
|
|
@@ -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
|
|
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":";;;AAIA,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,gBAAgB,OAAO,mBAAmB;CACrD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViC,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,mCAOhB;AACV,CAAC"}
|