@keystrokehq/roam 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.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.map +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.map +1 -1
- package/dist/actions/create-group.cjs +4 -4
- 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 +4 -4
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-roam-scim-group.cjs +2 -2
- 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 +2 -2
- package/dist/actions/create-roam-scim-group.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -1
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +56 -3
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +56 -3
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -1
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +2 -2
- 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 +2 -2
- package/dist/actions/delete-user.mjs.map +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.map +1 -1
- package/dist/actions/get-chat-history.cjs +7 -7
- 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 +7 -7
- package/dist/actions/get-chat-history.mjs.map +1 -1
- package/dist/actions/get-meeting-link.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-meeting-link.mjs.map +1 -1
- package/dist/actions/get-resource-types.cjs +6 -6
- 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 +6 -6
- package/dist/actions/get-resource-types.mjs.map +1 -1
- 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.map +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.map +1 -1
- 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.map +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.map +1 -1
- package/dist/actions/get-token-info.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-token-info.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-group-members.cjs +2 -2
- 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 +2 -2
- package/dist/actions/list-group-members.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +8 -8
- 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 +8 -8
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-lobbies.cjs +5 -5
- 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 +5 -5
- package/dist/actions/list-lobbies.mjs.map +1 -1
- package/dist/actions/list-meetings.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-meetings.mjs.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/actions/list-schemas.cjs +6 -6
- 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 +6 -6
- package/dist/actions/list-schemas.mjs.map +1 -1
- package/dist/actions/list-transcripts.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-transcripts.mjs.map +1 -1
- 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.map +1 -1
- 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.map +1 -1
- package/dist/actions/lookup-user.cjs +2 -2
- 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 +2 -2
- package/dist/actions/lookup-user.mjs.map +1 -1
- package/dist/actions/patch-group.cjs +1 -1
- package/dist/actions/patch-group.cjs.map +1 -1
- package/dist/actions/patch-group.d.cts +36 -3
- package/dist/actions/patch-group.d.cts.map +1 -1
- package/dist/actions/patch-group.d.mts +36 -3
- package/dist/actions/patch-group.d.mts.map +1 -1
- package/dist/actions/patch-group.mjs +1 -1
- package/dist/actions/patch-group.mjs.map +1 -1
- package/dist/actions/patch-user.cjs.map +1 -1
- package/dist/actions/patch-user.d.cts +50 -3
- package/dist/actions/patch-user.d.cts.map +1 -1
- package/dist/actions/patch-user.d.mts +50 -3
- package/dist/actions/patch-user.d.mts.map +1 -1
- package/dist/actions/patch-user.mjs.map +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.map +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.map +1 -1
- package/dist/actions/replace-group.cjs +2 -2
- 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 +2 -2
- package/dist/actions/replace-group.mjs.map +1 -1
- package/dist/actions/replace-user.cjs +1 -1
- package/dist/actions/replace-user.cjs.map +1 -1
- package/dist/actions/replace-user.d.cts +58 -3
- package/dist/actions/replace-user.d.cts.map +1 -1
- package/dist/actions/replace-user.d.mts +58 -3
- package/dist/actions/replace-user.d.mts.map +1 -1
- package/dist/actions/replace-user.mjs +1 -1
- package/dist/actions/replace-user.mjs.map +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.map +1 -1
- package/dist/actions/send-typing.cjs +2 -2
- 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 +2 -2
- package/dist/actions/send-typing.mjs.map +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.map +1 -1
- package/dist/actions/upload-item.cjs +1 -1
- 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 +1 -1
- 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
|
@@ -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}).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}).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,SAAS,8CAA8C;AAC1D,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,SAAS,mCAAmC;AAE/C,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.$strip>>>>;
|
|
15
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
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.$strip>>>>;
|
|
15
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
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,10 +6,10 @@ 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")
|
|
12
|
+
started: z.string().describe("ISO 8601 timestamp when the chat began").nullable()
|
|
13
13
|
}).describe("Represents a chat (DM, MultiDM, or Channel).");
|
|
14
14
|
const roamListChats = action("ROAM_LIST_CHATS", {
|
|
15
15
|
slug: "roam-list-chats",
|
|
@@ -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}).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}).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,SAAS,8CAA8C;AAM1D,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,SAAS,mCAOF;AACV,CAAC"}
|
|
@@ -7,8 +7,8 @@ const RoamListGroupMembersInput = zod.z.object({
|
|
|
7
7
|
cursor: zod.z.string().describe("Pagination cursor from a previous response to get the next page of results").optional()
|
|
8
8
|
}).describe("Request model for listing members in a Roam group.");
|
|
9
9
|
const RoamListGroupMembers_GroupMemberSchema = zod.z.object({
|
|
10
|
-
role: zod.z.string().describe("The role of the user in the group (e.g., 'member', 'admin')"),
|
|
11
|
-
userId: zod.z.string().describe("The unique ID of the user")
|
|
10
|
+
role: zod.z.string().describe("The role of the user in the group (e.g., 'member', 'admin')").nullable(),
|
|
11
|
+
userId: zod.z.string().describe("The unique ID of the user").nullable()
|
|
12
12
|
}).describe("Represents a member of a group.");
|
|
13
13
|
const RoamListGroupMembersOutput = zod.z.object({
|
|
14
14
|
members: zod.z.array(RoamListGroupMembers_GroupMemberSchema).describe("List of members in the group"),
|
|
@@ -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
|
|
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}).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}).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":";;;AAIA,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,SAAS,iCAAiC;AAC7C,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,SAAS,2CAA2C;AAEvD,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,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-group-members.d.ts
|
|
4
|
-
declare const RoamListGroupMembersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListGroupMembersInput: z.ZodObject<{
|
|
5
|
+
group: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RoamListGroupMembersOutput: z.ZodObject<{
|
|
10
|
+
members: z.ZodArray<z.ZodObject<{
|
|
11
|
+
role: z.ZodNullable<z.ZodString>;
|
|
12
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const roamListGroupMembers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
group: string;
|
|
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 { roamListGroupMembers };
|
|
9
23
|
//# 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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-group-members.d.cts","names":[],"sources":["../../src/actions/list-group-members.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -1,9 +1,23 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-group-members.d.ts
|
|
4
|
-
declare const RoamListGroupMembersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListGroupMembersInput: z.ZodObject<{
|
|
5
|
+
group: z.ZodString;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RoamListGroupMembersOutput: z.ZodObject<{
|
|
10
|
+
members: z.ZodArray<z.ZodObject<{
|
|
11
|
+
role: z.ZodNullable<z.ZodString>;
|
|
12
|
+
userId: z.ZodNullable<z.ZodString>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const roamListGroupMembers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
17
|
+
group: string;
|
|
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 { roamListGroupMembers };
|
|
9
23
|
//# 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":";;;cAIa,yBAAA,
|
|
1
|
+
{"version":3,"file":"list-group-members.d.mts","names":[],"sources":["../../src/actions/list-group-members.ts"],"mappings":";;;cAIa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;cASzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAK1B,oBAAA,gCAAoB,wBAAA"}
|
|
@@ -7,8 +7,8 @@ const RoamListGroupMembersInput = z.object({
|
|
|
7
7
|
cursor: z.string().describe("Pagination cursor from a previous response to get the next page of results").optional()
|
|
8
8
|
}).describe("Request model for listing members in a Roam group.");
|
|
9
9
|
const RoamListGroupMembers_GroupMemberSchema = z.object({
|
|
10
|
-
role: z.string().describe("The role of the user in the group (e.g., 'member', 'admin')"),
|
|
11
|
-
userId: z.string().describe("The unique ID of the user")
|
|
10
|
+
role: z.string().describe("The role of the user in the group (e.g., 'member', 'admin')").nullable(),
|
|
11
|
+
userId: z.string().describe("The unique ID of the user").nullable()
|
|
12
12
|
}).describe("Represents a member of a group.");
|
|
13
13
|
const roamListGroupMembers = action("ROAM_LIST_GROUP_MEMBERS", {
|
|
14
14
|
slug: "roam-list-group-members",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-group-members.mjs","names":[],"sources":["../../src/actions/list-group-members.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListGroupMembersInput
|
|
1
|
+
{"version":3,"file":"list-group-members.mjs","names":[],"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}).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}).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":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS;CAChH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,yCAAyC,EAAE,OAAO;CACtD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CAClG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,SAAS,iCAAiC;AAM7C,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,8BAA8B;EAChG,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -7,23 +7,23 @@ const RoamListGroupsInput = zod.z.object({
|
|
|
7
7
|
startIndex: zod.z.number().int().describe("The 1-based index of the first result in the current page of results. Default is 1.").optional()
|
|
8
8
|
}).describe("Request model for listing SCIM groups.\n\nSupports pagination via startIndex and count parameters.\nThe filter parameter is currently ignored for Groups.");
|
|
9
9
|
const RoamListGroups_GroupMetaSchema = zod.z.object({
|
|
10
|
-
location: zod.z.string().describe("The URI of the group resource."),
|
|
11
|
-
resourceType: zod.z.string().describe("The type of resource (always 'Group').")
|
|
10
|
+
location: zod.z.string().describe("The URI of the group resource.").nullable(),
|
|
11
|
+
resourceType: zod.z.string().describe("The type of resource (always 'Group').").nullable()
|
|
12
12
|
}).describe("Metadata for a SCIM group.");
|
|
13
|
-
const RoamListGroups_GroupMemberSchema = zod.z.object({ value: zod.z.string().describe("The value is the Roam Person ID of the member.") }).describe("A member of a SCIM group.");
|
|
13
|
+
const RoamListGroups_GroupMemberSchema = zod.z.object({ value: zod.z.string().describe("The value is the Roam Person ID of the member.").nullable() }).describe("A member of a SCIM group.");
|
|
14
14
|
const RoamListGroups_GroupResourceSchema = zod.z.object({
|
|
15
|
-
id: zod.z.string().describe("The unique Roam Address ID of the group."),
|
|
15
|
+
id: zod.z.string().describe("The unique Roam Address ID of the group.").nullable(),
|
|
16
16
|
meta: RoamListGroups_GroupMetaSchema.nullable().optional(),
|
|
17
17
|
members: zod.z.array(RoamListGroups_GroupMemberSchema).describe("List of members in the group. Each member has a 'value' field containing the Roam Person ID.").nullable().optional(),
|
|
18
18
|
schemas: zod.z.array(zod.z.string()).describe("SCIM schema URNs for this resource."),
|
|
19
|
-
displayName: zod.z.string().describe("The name of the group (max 64 characters).")
|
|
19
|
+
displayName: zod.z.string().describe("The name of the group (max 64 characters).").nullable()
|
|
20
20
|
}).describe("A SCIM group resource.");
|
|
21
21
|
const RoamListGroupsOutput = zod.z.object({
|
|
22
22
|
schemas: zod.z.array(zod.z.string()).describe("SCIM schema URNs for this response."),
|
|
23
23
|
Resources: zod.z.array(RoamListGroups_GroupResourceSchema).describe("List of SCIM group resources."),
|
|
24
|
-
startIndex: zod.z.number().int().describe("The 1-based index of the first result in this page."),
|
|
25
|
-
itemsPerPage: zod.z.number().int().describe("The number of resources returned in this page."),
|
|
26
|
-
totalResults: zod.z.number().int().describe("The total number of results matching the query.")
|
|
24
|
+
startIndex: zod.z.number().int().describe("The 1-based index of the first result in this page.").nullable(),
|
|
25
|
+
itemsPerPage: zod.z.number().int().describe("The number of resources returned in this page.").nullable(),
|
|
26
|
+
totalResults: zod.z.number().int().describe("The total number of results matching the query.").nullable()
|
|
27
27
|
}).describe("Response model for listing SCIM groups.");
|
|
28
28
|
const roamListGroups = require_action.action("ROAM_LIST_GROUPS", {
|
|
29
29
|
slug: "roam-list-groups",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListGroupsInput
|
|
1
|
+
{"version":3,"file":"list-groups.cjs","names":["z","action"],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListGroupsInput = z.object({\n count: z.number().int().describe(\"The number of resources to return in a single page. Default is 100.\").optional(),\n filter: z.string().describe(\"A SCIM filter expression. Currently ignored for Groups endpoint.\").optional(),\n startIndex: z.number().int().describe(\"The 1-based index of the first result in the current page of results. Default is 1.\").optional(),\n}).describe(\"Request model for listing SCIM groups.\\n\\nSupports pagination via startIndex and count parameters.\\nThe filter parameter is currently ignored for Groups.\");\nconst RoamListGroups_GroupMetaSchema = z.object({\n location: z.string().describe(\"The URI of the group resource.\").nullable(),\n resourceType: z.string().describe(\"The type of resource (always 'Group').\").nullable(),\n}).describe(\"Metadata for a SCIM group.\");\nconst RoamListGroups_GroupMemberSchema = z.object({\n value: z.string().describe(\"The value is the Roam Person ID of the member.\").nullable(),\n}).describe(\"A member of a SCIM group.\");\nconst RoamListGroups_GroupResourceSchema = z.object({\n id: z.string().describe(\"The unique Roam Address ID of the group.\").nullable(),\n meta: RoamListGroups_GroupMetaSchema.nullable().optional(),\n members: z.array(RoamListGroups_GroupMemberSchema).describe(\"List of members in the group. Each member has a 'value' field containing the Roam Person ID.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"SCIM schema URNs for this resource.\"),\n displayName: z.string().describe(\"The name of the group (max 64 characters).\").nullable(),\n}).describe(\"A SCIM group resource.\");\nexport const RoamListGroupsOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema URNs for this response.\"),\n Resources: z.array(RoamListGroups_GroupResourceSchema).describe(\"List of SCIM group resources.\"),\n startIndex: z.number().int().describe(\"The 1-based index of the first result in this page.\").nullable(),\n itemsPerPage: z.number().int().describe(\"The number of resources returned in this page.\").nullable(),\n totalResults: z.number().int().describe(\"The total number of results matching the query.\").nullable(),\n}).describe(\"Response model for listing SCIM groups.\");\n\nexport const roamListGroups = action(\"ROAM_LIST_GROUPS\", {\n slug: \"roam-list-groups\",\n name: \"List SCIM Groups\",\n description: \"Returns a paginated list of groups in your Roam organization via SCIM 2.0. Use when you need to retrieve all groups in your Roam organization using the SCIM protocol. Supports pagination using startIndex and count parameters. Note: The filter parameter is currently ignored for the Groups endpoint.\",\n input: RoamListGroupsInput,\n output: RoamListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,2JAA2J;AACvK,MAAM,iCAAiCA,IAAAA,EAAE,OAAO;CAC9C,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,mCAAmCA,IAAAA,EAAE,OAAO,EAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACzD,SAASA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC;CAC3E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wBAAwB;AACpC,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC;CAC3E,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+BAA+B;CAC/F,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACnG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,yCAAyC;AAErD,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-groups.d.ts
|
|
4
|
-
declare const RoamListGroupsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListGroupsInput: z.ZodObject<{
|
|
5
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
7
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RoamListGroupsOutput: z.ZodObject<{
|
|
10
|
+
schemas: z.ZodArray<z.ZodString>;
|
|
11
|
+
Resources: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
location: z.ZodNullable<z.ZodString>;
|
|
15
|
+
resourceType: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
value: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>>>;
|
|
20
|
+
schemas: z.ZodArray<z.ZodString>;
|
|
21
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
startIndex: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
itemsPerPage: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const roamListGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
count?: number | undefined;
|
|
29
|
+
filter?: string | undefined;
|
|
30
|
+
startIndex?: number | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { roamListGroups };
|
|
9
34
|
//# sourceMappingURL=list-groups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-groups.d.cts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -1,9 +1,34 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-groups.d.ts
|
|
4
|
-
declare const RoamListGroupsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListGroupsInput: z.ZodObject<{
|
|
5
|
+
count: z.ZodOptional<z.ZodNumber>;
|
|
6
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
7
|
+
startIndex: z.ZodOptional<z.ZodNumber>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const RoamListGroupsOutput: z.ZodObject<{
|
|
10
|
+
schemas: z.ZodArray<z.ZodString>;
|
|
11
|
+
Resources: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
14
|
+
location: z.ZodNullable<z.ZodString>;
|
|
15
|
+
resourceType: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
members: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
18
|
+
value: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>>>>;
|
|
20
|
+
schemas: z.ZodArray<z.ZodString>;
|
|
21
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
22
|
+
}, z.core.$strip>>;
|
|
23
|
+
startIndex: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
itemsPerPage: z.ZodNullable<z.ZodNumber>;
|
|
25
|
+
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
declare const roamListGroups: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
28
|
+
count?: number | undefined;
|
|
29
|
+
filter?: string | undefined;
|
|
30
|
+
startIndex?: number | undefined;
|
|
31
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
32
|
//#endregion
|
|
8
33
|
export { roamListGroups };
|
|
9
34
|
//# sourceMappingURL=list-groups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,mBAAA,
|
|
1
|
+
{"version":3,"file":"list-groups.d.mts","names":[],"sources":["../../src/actions/list-groups.ts"],"mappings":";;;cAIa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;;;cAmBnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;cAQpB,cAAA,gCAAc,wBAAA"}
|
|
@@ -7,16 +7,16 @@ const RoamListGroupsInput = z.object({
|
|
|
7
7
|
startIndex: z.number().int().describe("The 1-based index of the first result in the current page of results. Default is 1.").optional()
|
|
8
8
|
}).describe("Request model for listing SCIM groups.\n\nSupports pagination via startIndex and count parameters.\nThe filter parameter is currently ignored for Groups.");
|
|
9
9
|
const RoamListGroups_GroupMetaSchema = z.object({
|
|
10
|
-
location: z.string().describe("The URI of the group resource."),
|
|
11
|
-
resourceType: z.string().describe("The type of resource (always 'Group').")
|
|
10
|
+
location: z.string().describe("The URI of the group resource.").nullable(),
|
|
11
|
+
resourceType: z.string().describe("The type of resource (always 'Group').").nullable()
|
|
12
12
|
}).describe("Metadata for a SCIM group.");
|
|
13
|
-
const RoamListGroups_GroupMemberSchema = z.object({ value: z.string().describe("The value is the Roam Person ID of the member.") }).describe("A member of a SCIM group.");
|
|
13
|
+
const RoamListGroups_GroupMemberSchema = z.object({ value: z.string().describe("The value is the Roam Person ID of the member.").nullable() }).describe("A member of a SCIM group.");
|
|
14
14
|
const RoamListGroups_GroupResourceSchema = z.object({
|
|
15
|
-
id: z.string().describe("The unique Roam Address ID of the group."),
|
|
15
|
+
id: z.string().describe("The unique Roam Address ID of the group.").nullable(),
|
|
16
16
|
meta: RoamListGroups_GroupMetaSchema.nullable().optional(),
|
|
17
17
|
members: z.array(RoamListGroups_GroupMemberSchema).describe("List of members in the group. Each member has a 'value' field containing the Roam Person ID.").nullable().optional(),
|
|
18
18
|
schemas: z.array(z.string()).describe("SCIM schema URNs for this resource."),
|
|
19
|
-
displayName: z.string().describe("The name of the group (max 64 characters).")
|
|
19
|
+
displayName: z.string().describe("The name of the group (max 64 characters).").nullable()
|
|
20
20
|
}).describe("A SCIM group resource.");
|
|
21
21
|
const roamListGroups = action("ROAM_LIST_GROUPS", {
|
|
22
22
|
slug: "roam-list-groups",
|
|
@@ -26,9 +26,9 @@ const roamListGroups = action("ROAM_LIST_GROUPS", {
|
|
|
26
26
|
output: z.object({
|
|
27
27
|
schemas: z.array(z.string()).describe("SCIM schema URNs for this response."),
|
|
28
28
|
Resources: z.array(RoamListGroups_GroupResourceSchema).describe("List of SCIM group resources."),
|
|
29
|
-
startIndex: z.number().int().describe("The 1-based index of the first result in this page."),
|
|
30
|
-
itemsPerPage: z.number().int().describe("The number of resources returned in this page."),
|
|
31
|
-
totalResults: z.number().int().describe("The total number of results matching the query.")
|
|
29
|
+
startIndex: z.number().int().describe("The 1-based index of the first result in this page.").nullable(),
|
|
30
|
+
itemsPerPage: z.number().int().describe("The number of resources returned in this page.").nullable(),
|
|
31
|
+
totalResults: z.number().int().describe("The total number of results matching the query.").nullable()
|
|
32
32
|
}).describe("Response model for listing SCIM groups.")
|
|
33
33
|
});
|
|
34
34
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListGroupsInput
|
|
1
|
+
{"version":3,"file":"list-groups.mjs","names":[],"sources":["../../src/actions/list-groups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListGroupsInput = z.object({\n count: z.number().int().describe(\"The number of resources to return in a single page. Default is 100.\").optional(),\n filter: z.string().describe(\"A SCIM filter expression. Currently ignored for Groups endpoint.\").optional(),\n startIndex: z.number().int().describe(\"The 1-based index of the first result in the current page of results. Default is 1.\").optional(),\n}).describe(\"Request model for listing SCIM groups.\\n\\nSupports pagination via startIndex and count parameters.\\nThe filter parameter is currently ignored for Groups.\");\nconst RoamListGroups_GroupMetaSchema = z.object({\n location: z.string().describe(\"The URI of the group resource.\").nullable(),\n resourceType: z.string().describe(\"The type of resource (always 'Group').\").nullable(),\n}).describe(\"Metadata for a SCIM group.\");\nconst RoamListGroups_GroupMemberSchema = z.object({\n value: z.string().describe(\"The value is the Roam Person ID of the member.\").nullable(),\n}).describe(\"A member of a SCIM group.\");\nconst RoamListGroups_GroupResourceSchema = z.object({\n id: z.string().describe(\"The unique Roam Address ID of the group.\").nullable(),\n meta: RoamListGroups_GroupMetaSchema.nullable().optional(),\n members: z.array(RoamListGroups_GroupMemberSchema).describe(\"List of members in the group. Each member has a 'value' field containing the Roam Person ID.\").nullable().optional(),\n schemas: z.array(z.string()).describe(\"SCIM schema URNs for this resource.\"),\n displayName: z.string().describe(\"The name of the group (max 64 characters).\").nullable(),\n}).describe(\"A SCIM group resource.\");\nexport const RoamListGroupsOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema URNs for this response.\"),\n Resources: z.array(RoamListGroups_GroupResourceSchema).describe(\"List of SCIM group resources.\"),\n startIndex: z.number().int().describe(\"The 1-based index of the first result in this page.\").nullable(),\n itemsPerPage: z.number().int().describe(\"The number of resources returned in this page.\").nullable(),\n totalResults: z.number().int().describe(\"The total number of results matching the query.\").nullable(),\n}).describe(\"Response model for listing SCIM groups.\");\n\nexport const roamListGroups = action(\"ROAM_LIST_GROUPS\", {\n slug: \"roam-list-groups\",\n name: \"List SCIM Groups\",\n description: \"Returns a paginated list of groups in your Roam organization via SCIM 2.0. Use when you need to retrieve all groups in your Roam organization using the SCIM protocol. Supports pagination using startIndex and count parameters. Note: The filter parameter is currently ignored for the Groups endpoint.\",\n input: RoamListGroupsInput,\n output: RoamListGroupsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsB,EAAE,OAAO;CAC1C,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qEAAqE,CAAC,CAAC,SAAS;CACjH,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS;CACzG,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qFAAqF,CAAC,CAAC,SAAS;AACxI,CAAC,CAAC,CAAC,SAAS,2JAA2J;AACvK,MAAM,iCAAiC,EAAE,OAAO;CAC9C,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACzE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,4BAA4B;AACxC,MAAM,mCAAmC,EAAE,OAAO,EAChD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,EACxF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC7E,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS;CACzD,SAAS,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;AAC1F,CAAC,CAAC,CAAC,SAAS,wBAAwB;AASpC,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbkC,EAAE,OAAO;EAC3C,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qCAAqC;EAC3E,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,+BAA+B;EAC/F,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACnG,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,yCAOF;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/list-lobbies.ts
|
|
4
4
|
const RoamListLobbiesInput = zod.z.object({ handle: zod.z.string().describe("Filter for lobbies with a specific handle (first path segment of the URL).").optional() });
|
|
5
5
|
const RoamListLobbies_LobbyInfoSchema = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the lobby configuration (UUID)"),
|
|
7
|
-
url: zod.z.string().describe("Public URL of the lobby"),
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the lobby configuration (UUID)").nullable(),
|
|
7
|
+
url: zod.z.string().describe("Public URL of the lobby").nullable(),
|
|
8
8
|
slug: zod.z.string().describe("Optional second path segment for the lobby").nullable().optional(),
|
|
9
|
-
active: zod.z.boolean().describe("Whether the lobby configuration is active"),
|
|
10
|
-
handle: zod.z.string().describe("First path segment of the lobby URL"),
|
|
11
|
-
display_name: zod.z.string().describe("Human-readable name of the lobby configuration")
|
|
9
|
+
active: zod.z.boolean().describe("Whether the lobby configuration is active").nullable(),
|
|
10
|
+
handle: zod.z.string().describe("First path segment of the lobby URL").nullable(),
|
|
11
|
+
display_name: zod.z.string().describe("Human-readable name of the lobby configuration").nullable()
|
|
12
12
|
});
|
|
13
13
|
const RoamListLobbiesOutput = zod.z.object({ lobbies: zod.z.array(RoamListLobbies_LobbyInfoSchema).describe("List of active lobbies in the account").nullable().optional() });
|
|
14
14
|
const roamListLobbies = require_action.action("ROAM_LIST_LOBBIES", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lobbies.cjs","names":["z","action"],"sources":["../../src/actions/list-lobbies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListLobbiesInput
|
|
1
|
+
{"version":3,"file":"list-lobbies.cjs","names":["z","action"],"sources":["../../src/actions/list-lobbies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListLobbiesInput = z.object({\n handle: z.string().describe(\"Filter for lobbies with a specific handle (first path segment of the URL).\").optional(),\n});\nconst RoamListLobbies_LobbyInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lobby configuration (UUID)\").nullable(),\n url: z.string().describe(\"Public URL of the lobby\").nullable(),\n slug: z.string().describe(\"Optional second path segment for the lobby\").nullable().optional(),\n active: z.boolean().describe(\"Whether the lobby configuration is active\").nullable(),\n handle: z.string().describe(\"First path segment of the lobby URL\").nullable(),\n display_name: z.string().describe(\"Human-readable name of the lobby configuration\").nullable(),\n});\nexport const RoamListLobbiesOutput = z.object({\n lobbies: z.array(RoamListLobbies_LobbyInfoSchema).describe(\"List of active lobbies in the account\").nullable().optional(),\n});\n\nexport const roamListLobbies = action(\"ROAM_LIST_LOBBIES\", {\n slug: \"roam-list-lobbies\",\n name: \"List Roam Lobbies\",\n description: \"Lists active lobbies in your Roam account. Returns all lobby configurations with their IDs, display names, URLs, and active status. Use this action to discover available lobbies before performing operations on them.\",\n input: RoamListLobbiesInput,\n output: RoamListLobbiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACrH,CAAC;AACD,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC/F,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,SAASA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAAC;AAED,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lobbies.d.ts
|
|
4
|
-
declare const RoamListLobbiesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListLobbiesInput: z.ZodObject<{
|
|
5
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RoamListLobbiesOutput: z.ZodObject<{
|
|
8
|
+
lobbies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
url: z.ZodNullable<z.ZodString>;
|
|
11
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
handle: z.ZodNullable<z.ZodString>;
|
|
14
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const roamListLobbies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
handle?: string | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { roamListLobbies };
|
|
9
22
|
//# sourceMappingURL=list-lobbies.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lobbies.d.cts","names":[],"sources":["../../src/actions/list-lobbies.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-lobbies.d.cts","names":[],"sources":["../../src/actions/list-lobbies.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAWpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-lobbies.d.ts
|
|
4
|
-
declare const RoamListLobbiesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const RoamListLobbiesInput: z.ZodObject<{
|
|
5
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const RoamListLobbiesOutput: z.ZodObject<{
|
|
8
|
+
lobbies: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
9
|
+
id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
url: z.ZodNullable<z.ZodString>;
|
|
11
|
+
slug: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13
|
+
handle: z.ZodNullable<z.ZodString>;
|
|
14
|
+
display_name: z.ZodNullable<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>>>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
declare const roamListLobbies: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
18
|
+
handle?: string | undefined;
|
|
19
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
20
|
//#endregion
|
|
8
21
|
export { roamListLobbies };
|
|
9
22
|
//# sourceMappingURL=list-lobbies.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lobbies.d.mts","names":[],"sources":["../../src/actions/list-lobbies.ts"],"mappings":";;;cAIa,oBAAA,
|
|
1
|
+
{"version":3,"file":"list-lobbies.d.mts","names":[],"sources":["../../src/actions/list-lobbies.ts"],"mappings":";;;cAIa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAWpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;;;;;;cAIrB,eAAA,gCAAe,wBAAA"}
|
|
@@ -3,12 +3,12 @@ import { z } from "zod";
|
|
|
3
3
|
//#region src/actions/list-lobbies.ts
|
|
4
4
|
const RoamListLobbiesInput = z.object({ handle: z.string().describe("Filter for lobbies with a specific handle (first path segment of the URL).").optional() });
|
|
5
5
|
const RoamListLobbies_LobbyInfoSchema = z.object({
|
|
6
|
-
id: z.string().describe("Unique identifier of the lobby configuration (UUID)"),
|
|
7
|
-
url: z.string().describe("Public URL of the lobby"),
|
|
6
|
+
id: z.string().describe("Unique identifier of the lobby configuration (UUID)").nullable(),
|
|
7
|
+
url: z.string().describe("Public URL of the lobby").nullable(),
|
|
8
8
|
slug: z.string().describe("Optional second path segment for the lobby").nullable().optional(),
|
|
9
|
-
active: z.boolean().describe("Whether the lobby configuration is active"),
|
|
10
|
-
handle: z.string().describe("First path segment of the lobby URL"),
|
|
11
|
-
display_name: z.string().describe("Human-readable name of the lobby configuration")
|
|
9
|
+
active: z.boolean().describe("Whether the lobby configuration is active").nullable(),
|
|
10
|
+
handle: z.string().describe("First path segment of the lobby URL").nullable(),
|
|
11
|
+
display_name: z.string().describe("Human-readable name of the lobby configuration").nullable()
|
|
12
12
|
});
|
|
13
13
|
const roamListLobbies = action("ROAM_LIST_LOBBIES", {
|
|
14
14
|
slug: "roam-list-lobbies",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-lobbies.mjs","names":[],"sources":["../../src/actions/list-lobbies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListLobbiesInput
|
|
1
|
+
{"version":3,"file":"list-lobbies.mjs","names":[],"sources":["../../src/actions/list-lobbies.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamListLobbiesInput = z.object({\n handle: z.string().describe(\"Filter for lobbies with a specific handle (first path segment of the URL).\").optional(),\n});\nconst RoamListLobbies_LobbyInfoSchema = z.object({\n id: z.string().describe(\"Unique identifier of the lobby configuration (UUID)\").nullable(),\n url: z.string().describe(\"Public URL of the lobby\").nullable(),\n slug: z.string().describe(\"Optional second path segment for the lobby\").nullable().optional(),\n active: z.boolean().describe(\"Whether the lobby configuration is active\").nullable(),\n handle: z.string().describe(\"First path segment of the lobby URL\").nullable(),\n display_name: z.string().describe(\"Human-readable name of the lobby configuration\").nullable(),\n});\nexport const RoamListLobbiesOutput = z.object({\n lobbies: z.array(RoamListLobbies_LobbyInfoSchema).describe(\"List of active lobbies in the account\").nullable().optional(),\n});\n\nexport const roamListLobbies = action(\"ROAM_LIST_LOBBIES\", {\n slug: \"roam-list-lobbies\",\n name: \"List Roam Lobbies\",\n description: \"Lists active lobbies in your Roam account. Returns all lobby configurations with their IDs, display names, URLs, and active status. Use this action to discover available lobbies before performing operations on them.\",\n input: RoamListLobbiesInput,\n output: RoamListLobbiesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS,EACrH,CAAC;AACD,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,QAAQ,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CACnF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC5E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;AAC/F,CAAC;AAKD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATmC,EAAE,OAAO,EAC5C,SAAS,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC1H,CAOU;AACV,CAAC"}
|