@keystrokehq/roam 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/add-group-members.cjs +1 -0
- package/dist/actions/add-group-members.cjs.map +1 -1
- package/dist/actions/add-group-members.d.cts +3 -5
- package/dist/actions/add-group-members.d.cts.map +1 -1
- package/dist/actions/add-group-members.d.mts +3 -5
- package/dist/actions/add-group-members.d.mts.map +1 -1
- package/dist/actions/add-group-members.mjs +1 -0
- package/dist/actions/add-group-members.mjs.map +1 -1
- package/dist/actions/add-reaction.cjs +1 -0
- package/dist/actions/add-reaction.cjs.map +1 -1
- package/dist/actions/add-reaction.d.cts +3 -6
- package/dist/actions/add-reaction.d.cts.map +1 -1
- package/dist/actions/add-reaction.d.mts +3 -6
- package/dist/actions/add-reaction.d.mts.map +1 -1
- package/dist/actions/add-reaction.mjs +1 -0
- package/dist/actions/add-reaction.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -0
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +3 -8
- package/dist/actions/create-group.d.cts.map +1 -1
- package/dist/actions/create-group.d.mts +3 -8
- package/dist/actions/create-group.d.mts.map +1 -1
- package/dist/actions/create-group.mjs +1 -0
- package/dist/actions/create-group.mjs.map +1 -1
- package/dist/actions/create-roam-scim-group.cjs +1 -0
- package/dist/actions/create-roam-scim-group.cjs.map +1 -1
- package/dist/actions/create-roam-scim-group.d.cts +3 -5
- package/dist/actions/create-roam-scim-group.d.cts.map +1 -1
- package/dist/actions/create-roam-scim-group.d.mts +3 -5
- package/dist/actions/create-roam-scim-group.d.mts.map +1 -1
- package/dist/actions/create-roam-scim-group.mjs +1 -0
- package/dist/actions/create-roam-scim-group.mjs.map +1 -1
- package/dist/actions/create-user.cjs +1 -0
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +3 -18
- package/dist/actions/create-user.d.cts.map +1 -1
- package/dist/actions/create-user.d.mts +3 -18
- package/dist/actions/create-user.d.mts.map +1 -1
- package/dist/actions/create-user.mjs +1 -0
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -0
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +3 -3
- package/dist/actions/delete-group.d.cts.map +1 -1
- package/dist/actions/delete-group.d.mts +3 -3
- package/dist/actions/delete-group.d.mts.map +1 -1
- package/dist/actions/delete-group.mjs +1 -0
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -0
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +3 -3
- package/dist/actions/delete-user.d.cts.map +1 -1
- package/dist/actions/delete-user.d.mts +3 -3
- package/dist/actions/delete-user.d.mts.map +1 -1
- package/dist/actions/delete-user.mjs +1 -0
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-address-info.cjs +1 -0
- package/dist/actions/get-address-info.cjs.map +1 -1
- package/dist/actions/get-address-info.d.cts +3 -3
- package/dist/actions/get-address-info.d.cts.map +1 -1
- package/dist/actions/get-address-info.d.mts +3 -3
- package/dist/actions/get-address-info.d.mts.map +1 -1
- package/dist/actions/get-address-info.mjs +1 -0
- package/dist/actions/get-address-info.mjs.map +1 -1
- package/dist/actions/get-chat-history.cjs +1 -0
- package/dist/actions/get-chat-history.cjs.map +1 -1
- package/dist/actions/get-chat-history.d.cts +3 -8
- package/dist/actions/get-chat-history.d.cts.map +1 -1
- package/dist/actions/get-chat-history.d.mts +3 -8
- package/dist/actions/get-chat-history.d.mts.map +1 -1
- package/dist/actions/get-chat-history.mjs +1 -0
- package/dist/actions/get-chat-history.mjs.map +1 -1
- package/dist/actions/get-meeting-link.cjs +1 -0
- package/dist/actions/get-meeting-link.cjs.map +1 -1
- package/dist/actions/get-meeting-link.d.cts +3 -3
- package/dist/actions/get-meeting-link.d.cts.map +1 -1
- package/dist/actions/get-meeting-link.d.mts +3 -3
- package/dist/actions/get-meeting-link.d.mts.map +1 -1
- package/dist/actions/get-meeting-link.mjs +1 -0
- package/dist/actions/get-meeting-link.mjs.map +1 -1
- package/dist/actions/get-resource-types.cjs +1 -0
- package/dist/actions/get-resource-types.cjs.map +1 -1
- package/dist/actions/get-resource-types.d.cts +3 -1
- package/dist/actions/get-resource-types.d.cts.map +1 -1
- package/dist/actions/get-resource-types.d.mts +3 -1
- package/dist/actions/get-resource-types.d.mts.map +1 -1
- package/dist/actions/get-resource-types.mjs +1 -0
- package/dist/actions/get-resource-types.mjs.map +1 -1
- package/dist/actions/get-roam-scim-config.cjs +1 -0
- package/dist/actions/get-roam-scim-config.cjs.map +1 -1
- package/dist/actions/get-roam-scim-config.d.cts +3 -1
- package/dist/actions/get-roam-scim-config.d.cts.map +1 -1
- package/dist/actions/get-roam-scim-config.d.mts +3 -1
- package/dist/actions/get-roam-scim-config.d.mts.map +1 -1
- package/dist/actions/get-roam-scim-config.mjs +1 -0
- package/dist/actions/get-roam-scim-config.mjs.map +1 -1
- package/dist/actions/get-scim-schema.cjs +1 -0
- package/dist/actions/get-scim-schema.cjs.map +1 -1
- package/dist/actions/get-scim-schema.d.cts +3 -3
- package/dist/actions/get-scim-schema.d.cts.map +1 -1
- package/dist/actions/get-scim-schema.d.mts +3 -3
- package/dist/actions/get-scim-schema.d.mts.map +1 -1
- package/dist/actions/get-scim-schema.mjs +1 -0
- package/dist/actions/get-scim-schema.mjs.map +1 -1
- package/dist/actions/get-scim-user.cjs +1 -0
- package/dist/actions/get-scim-user.cjs.map +1 -1
- package/dist/actions/get-scim-user.d.cts +3 -3
- package/dist/actions/get-scim-user.d.cts.map +1 -1
- package/dist/actions/get-scim-user.d.mts +3 -3
- package/dist/actions/get-scim-user.d.mts.map +1 -1
- package/dist/actions/get-scim-user.mjs +1 -0
- package/dist/actions/get-scim-user.mjs.map +1 -1
- package/dist/actions/get-test.cjs +1 -0
- package/dist/actions/get-test.cjs.map +1 -1
- package/dist/actions/get-test.d.cts +3 -1
- package/dist/actions/get-test.d.cts.map +1 -1
- package/dist/actions/get-test.d.mts +3 -1
- package/dist/actions/get-test.d.mts.map +1 -1
- package/dist/actions/get-test.mjs +1 -0
- package/dist/actions/get-test.mjs.map +1 -1
- package/dist/actions/get-token-info.cjs +1 -0
- package/dist/actions/get-token-info.cjs.map +1 -1
- package/dist/actions/get-token-info.d.cts +3 -1
- package/dist/actions/get-token-info.d.cts.map +1 -1
- package/dist/actions/get-token-info.d.mts +3 -1
- package/dist/actions/get-token-info.d.mts.map +1 -1
- package/dist/actions/get-token-info.mjs +1 -0
- package/dist/actions/get-token-info.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -4
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -4
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +1 -0
- package/dist/actions/list-chats.cjs.map +1 -1
- package/dist/actions/list-chats.d.cts +3 -4
- package/dist/actions/list-chats.d.cts.map +1 -1
- package/dist/actions/list-chats.d.mts +3 -4
- package/dist/actions/list-chats.d.mts.map +1 -1
- package/dist/actions/list-chats.mjs +1 -0
- package/dist/actions/list-chats.mjs.map +1 -1
- package/dist/actions/list-group-members.cjs +1 -0
- package/dist/actions/list-group-members.cjs.map +1 -1
- package/dist/actions/list-group-members.d.cts +3 -5
- package/dist/actions/list-group-members.d.cts.map +1 -1
- package/dist/actions/list-group-members.d.mts +3 -5
- package/dist/actions/list-group-members.d.mts.map +1 -1
- package/dist/actions/list-group-members.mjs +1 -0
- package/dist/actions/list-group-members.mjs.map +1 -1
- package/dist/actions/list-groups.cjs +1 -0
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +3 -5
- package/dist/actions/list-groups.d.cts.map +1 -1
- package/dist/actions/list-groups.d.mts +3 -5
- package/dist/actions/list-groups.d.mts.map +1 -1
- package/dist/actions/list-groups.mjs +1 -0
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-lobbies.cjs +1 -0
- package/dist/actions/list-lobbies.cjs.map +1 -1
- package/dist/actions/list-lobbies.d.cts +3 -3
- package/dist/actions/list-lobbies.d.cts.map +1 -1
- package/dist/actions/list-lobbies.d.mts +3 -3
- package/dist/actions/list-lobbies.d.mts.map +1 -1
- package/dist/actions/list-lobbies.mjs +1 -0
- package/dist/actions/list-lobbies.mjs.map +1 -1
- package/dist/actions/list-meetings.cjs +1 -0
- package/dist/actions/list-meetings.cjs.map +1 -1
- package/dist/actions/list-meetings.d.cts +3 -6
- package/dist/actions/list-meetings.d.cts.map +1 -1
- package/dist/actions/list-meetings.d.mts +3 -6
- package/dist/actions/list-meetings.d.mts.map +1 -1
- package/dist/actions/list-meetings.mjs +1 -0
- package/dist/actions/list-meetings.mjs.map +1 -1
- package/dist/actions/list-recordings.cjs +1 -0
- package/dist/actions/list-recordings.cjs.map +1 -1
- package/dist/actions/list-recordings.d.cts +3 -6
- package/dist/actions/list-recordings.d.cts.map +1 -1
- package/dist/actions/list-recordings.d.mts +3 -6
- package/dist/actions/list-recordings.d.mts.map +1 -1
- package/dist/actions/list-recordings.mjs +1 -0
- package/dist/actions/list-recordings.mjs.map +1 -1
- package/dist/actions/list-roam-scim-users.cjs +1 -0
- package/dist/actions/list-roam-scim-users.cjs.map +1 -1
- package/dist/actions/list-roam-scim-users.d.cts +3 -5
- package/dist/actions/list-roam-scim-users.d.cts.map +1 -1
- package/dist/actions/list-roam-scim-users.d.mts +3 -5
- package/dist/actions/list-roam-scim-users.d.mts.map +1 -1
- package/dist/actions/list-roam-scim-users.mjs +1 -0
- package/dist/actions/list-roam-scim-users.mjs.map +1 -1
- package/dist/actions/list-schemas.cjs +1 -0
- package/dist/actions/list-schemas.cjs.map +1 -1
- package/dist/actions/list-schemas.d.cts +3 -1
- package/dist/actions/list-schemas.d.cts.map +1 -1
- package/dist/actions/list-schemas.d.mts +3 -1
- package/dist/actions/list-schemas.d.mts.map +1 -1
- package/dist/actions/list-schemas.mjs +1 -0
- package/dist/actions/list-schemas.mjs.map +1 -1
- package/dist/actions/list-transcripts.cjs +1 -0
- package/dist/actions/list-transcripts.cjs.map +1 -1
- package/dist/actions/list-transcripts.d.cts +3 -6
- package/dist/actions/list-transcripts.d.cts.map +1 -1
- package/dist/actions/list-transcripts.d.mts +3 -6
- package/dist/actions/list-transcripts.d.mts.map +1 -1
- package/dist/actions/list-transcripts.mjs +1 -0
- package/dist/actions/list-transcripts.mjs.map +1 -1
- package/dist/actions/list-user-audit-log.cjs +1 -0
- package/dist/actions/list-user-audit-log.cjs.map +1 -1
- package/dist/actions/list-user-audit-log.d.cts +3 -5
- package/dist/actions/list-user-audit-log.d.cts.map +1 -1
- package/dist/actions/list-user-audit-log.d.mts +3 -5
- package/dist/actions/list-user-audit-log.d.mts.map +1 -1
- package/dist/actions/list-user-audit-log.mjs +1 -0
- package/dist/actions/list-user-audit-log.mjs.map +1 -1
- package/dist/actions/list-users.cjs +1 -0
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +3 -5
- package/dist/actions/list-users.d.cts.map +1 -1
- package/dist/actions/list-users.d.mts +3 -5
- package/dist/actions/list-users.d.mts.map +1 -1
- package/dist/actions/list-users.mjs +1 -0
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/lookup-user.cjs +1 -0
- package/dist/actions/lookup-user.cjs.map +1 -1
- package/dist/actions/lookup-user.d.cts +3 -3
- package/dist/actions/lookup-user.d.cts.map +1 -1
- package/dist/actions/lookup-user.d.mts +3 -3
- package/dist/actions/lookup-user.d.mts.map +1 -1
- package/dist/actions/lookup-user.mjs +1 -0
- package/dist/actions/lookup-user.mjs.map +1 -1
- package/dist/actions/patch-group.cjs +1 -0
- package/dist/actions/patch-group.cjs.map +1 -1
- package/dist/actions/patch-group.d.cts +3 -13
- package/dist/actions/patch-group.d.cts.map +1 -1
- package/dist/actions/patch-group.d.mts +3 -13
- package/dist/actions/patch-group.d.mts.map +1 -1
- package/dist/actions/patch-group.mjs +1 -0
- package/dist/actions/patch-group.mjs.map +1 -1
- package/dist/actions/patch-user.cjs +1 -0
- package/dist/actions/patch-user.cjs.map +1 -1
- package/dist/actions/patch-user.d.cts +3 -12
- package/dist/actions/patch-user.d.cts.map +1 -1
- package/dist/actions/patch-user.d.mts +3 -12
- package/dist/actions/patch-user.d.mts.map +1 -1
- package/dist/actions/patch-user.mjs +1 -0
- package/dist/actions/patch-user.mjs.map +1 -1
- package/dist/actions/post-chat.cjs +1 -0
- package/dist/actions/post-chat.cjs.map +1 -1
- package/dist/actions/post-chat.d.cts +3 -11
- package/dist/actions/post-chat.d.cts.map +1 -1
- package/dist/actions/post-chat.d.mts +3 -11
- package/dist/actions/post-chat.d.mts.map +1 -1
- package/dist/actions/post-chat.mjs +1 -0
- package/dist/actions/post-chat.mjs.map +1 -1
- package/dist/actions/remove-group-members.cjs +1 -0
- package/dist/actions/remove-group-members.cjs.map +1 -1
- package/dist/actions/remove-group-members.d.cts +3 -4
- package/dist/actions/remove-group-members.d.cts.map +1 -1
- package/dist/actions/remove-group-members.d.mts +3 -4
- package/dist/actions/remove-group-members.d.mts.map +1 -1
- package/dist/actions/remove-group-members.mjs +1 -0
- package/dist/actions/remove-group-members.mjs.map +1 -1
- package/dist/actions/replace-group.cjs +1 -0
- package/dist/actions/replace-group.cjs.map +1 -1
- package/dist/actions/replace-group.d.cts +3 -6
- package/dist/actions/replace-group.d.cts.map +1 -1
- package/dist/actions/replace-group.d.mts +3 -6
- package/dist/actions/replace-group.d.mts.map +1 -1
- package/dist/actions/replace-group.mjs +1 -0
- package/dist/actions/replace-group.mjs.map +1 -1
- package/dist/actions/replace-user.cjs +1 -0
- package/dist/actions/replace-user.cjs.map +1 -1
- package/dist/actions/replace-user.d.cts +3 -19
- package/dist/actions/replace-user.d.cts.map +1 -1
- package/dist/actions/replace-user.d.mts +3 -19
- package/dist/actions/replace-user.d.mts.map +1 -1
- package/dist/actions/replace-user.mjs +1 -0
- package/dist/actions/replace-user.mjs.map +1 -1
- package/dist/actions/send-message.cjs +1 -0
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +3 -10
- package/dist/actions/send-message.d.cts.map +1 -1
- package/dist/actions/send-message.d.mts +3 -10
- package/dist/actions/send-message.d.mts.map +1 -1
- package/dist/actions/send-message.mjs +1 -0
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/send-typing.cjs +1 -0
- package/dist/actions/send-typing.cjs.map +1 -1
- package/dist/actions/send-typing.d.cts +3 -3
- package/dist/actions/send-typing.d.cts.map +1 -1
- package/dist/actions/send-typing.d.mts +3 -3
- package/dist/actions/send-typing.d.mts.map +1 -1
- package/dist/actions/send-typing.mjs +1 -0
- package/dist/actions/send-typing.mjs.map +1 -1
- package/dist/actions/update-meeting-link.cjs +1 -0
- package/dist/actions/update-meeting-link.cjs.map +1 -1
- package/dist/actions/update-meeting-link.d.cts +3 -7
- package/dist/actions/update-meeting-link.d.cts.map +1 -1
- package/dist/actions/update-meeting-link.d.mts +3 -7
- package/dist/actions/update-meeting-link.d.mts.map +1 -1
- package/dist/actions/update-meeting-link.mjs +1 -0
- package/dist/actions/update-meeting-link.mjs.map +1 -1
- package/dist/actions/upload-item.cjs +1 -0
- package/dist/actions/upload-item.cjs.map +1 -1
- package/dist/actions/upload-item.d.cts +3 -8
- package/dist/actions/upload-item.d.cts.map +1 -1
- package/dist/actions/upload-item.d.mts +3 -8
- package/dist/actions/upload-item.d.mts.map +1 -1
- package/dist/actions/upload-item.mjs +1 -0
- package/dist/actions/upload-item.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.cjs","names":["z","action"],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup: AppAction<\n typeof RoamDeleteGroupInput,\n typeof RoamDeleteGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC7I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-group.d.ts
|
|
@@ -8,9 +10,7 @@ declare const RoamDeleteGroupOutput: z.ZodObject<{
|
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const roamDeleteGroup:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const roamDeleteGroup: AppAction<typeof RoamDeleteGroupInput, typeof RoamDeleteGroupOutput, typeof roam.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { roamDeleteGroup };
|
|
16
16
|
//# sourceMappingURL=delete-group.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.d.cts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-group.d.ts
|
|
@@ -8,9 +10,7 @@ declare const RoamDeleteGroupOutput: z.ZodObject<{
|
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const roamDeleteGroup:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const roamDeleteGroup: AppAction<typeof RoamDeleteGroupInput, typeof RoamDeleteGroupOutput, typeof roam.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { roamDeleteGroup };
|
|
16
16
|
//# sourceMappingURL=delete-group.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.d.mts","names":[],"sources":["../../src/actions/delete-group.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;cAGpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-group.mjs","names":[],"sources":["../../src/actions/delete-group.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamDeleteGroupInput = z.object({\n id: z.string().describe(\"The unique identifier of the group to archive. This is the SCIM group ID.\"),\n}).describe(\"Request model for deleting (archiving) a group via SCIM 2.0.\");\nexport const RoamDeleteGroupOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the group was archived successfully. True means the group has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a group via SCIM 2.0.\");\n\nexport const roamDeleteGroup: AppAction<\n typeof RoamDeleteGroupInput,\n typeof RoamDeleteGroupOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_GROUP\", {\n slug: \"roam-delete-group\",\n name: \"Delete Roam Group\",\n description: \"Archive a group in Roam using SCIM 2.0 protocol. This is a soft delete operation that archives the group. Use when you need to archive a group that is no longer needed while preserving data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteGroupInput,\n output: RoamDeleteGroupOutput,\n});\n"],"mappings":";;;AAcA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBkC,EAAE,OAAO,EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,EACrG,CAAC,CAAC,CAAC,SAAS,8DAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;EAC7I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.cjs","names":["z","action"],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser: AppAction<\n typeof RoamDeleteUserInput,\n typeof RoamDeleteUserOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,iBAITC,eAAAA,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-user.d.ts
|
|
@@ -8,9 +10,7 @@ declare const RoamDeleteUserOutput: z.ZodObject<{
|
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const roamDeleteUser:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const roamDeleteUser: AppAction<typeof RoamDeleteUserInput, typeof RoamDeleteUserOutput, typeof roam.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { roamDeleteUser };
|
|
16
16
|
//# sourceMappingURL=delete-user.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.cts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/delete-user.d.ts
|
|
@@ -8,9 +10,7 @@ declare const RoamDeleteUserOutput: z.ZodObject<{
|
|
|
8
10
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
11
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const roamDeleteUser:
|
|
12
|
-
id: string;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const roamDeleteUser: AppAction<typeof RoamDeleteUserInput, typeof RoamDeleteUserOutput, typeof roam.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { roamDeleteUser };
|
|
16
16
|
//# sourceMappingURL=delete-user.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.d.mts","names":[],"sources":["../../src/actions/delete-user.ts"],"mappings":";;;;;cAMa,mBAAA,EAAmB,CAAA,CAAA,SAAA;;;cAGnB,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;cAKpB,cAAA,EAAgB,SAAA,QACpB,mBAAA,SACA,oBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"delete-user.mjs","names":[],"sources":["../../src/actions/delete-user.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamDeleteUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to archive. This is the SCIM user ID.\"),\n}).describe(\"Request model for deleting (archiving) a user via SCIM 2.0.\");\nexport const RoamDeleteUserOutput = z.object({\n success: z.boolean().describe(\"Indicates whether the user was archived successfully. True means the user has been soft-deleted.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API. 204 indicates successful deletion.\").nullable(),\n}).passthrough().describe(\"Response model after archiving a user via SCIM 2.0.\");\n\nexport const roamDeleteUser: AppAction<\n typeof RoamDeleteUserInput,\n typeof RoamDeleteUserOutput,\n typeof roam.credential\n> = action(\"ROAM_DELETE_USER\", {\n slug: \"roam-delete-user\",\n name: \"Delete Roam User\",\n description: \"Archive a user in Roam using SCIM 2.0 protocol. This is a soft delete operation that deprovisions the user. Use when you need to remove a user from the organization while preserving their data for audit purposes. Returns 204 No Content on successful deletion.\",\n input: RoamDeleteUserInput,\n output: RoamDeleteUserOutput,\n});\n"],"mappings":";;;AAcA,MAAa,iBAIT,OAAO,oBAAoB;CAC7B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBiC,EAAE,OAAO,EAC1C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,EACnG,CAAC,CAAC,CAAC,SAAS,6DAcH;CACP,QAdkC,EAAE,OAAO;EAC3C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-address-info.cjs","names":["z","action"],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-address-info.cjs","names":["z","action"],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo: AppAction<\n typeof RoamGetAddressInfoInput,\n typeof RoamGetAddressInfoOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAuCA,IAAAA,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AACrG,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAEjF,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-address-info.d.ts
|
|
@@ -16,9 +18,7 @@ declare const RoamGetAddressInfoOutput: z.ZodObject<{
|
|
|
16
18
|
integration_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
display_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const roamGetAddressInfo:
|
|
20
|
-
addr: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const roamGetAddressInfo: AppAction<typeof RoamGetAddressInfoInput, typeof RoamGetAddressInfoOutput, typeof roam.credential>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { roamGetAddressInfo };
|
|
24
24
|
//# sourceMappingURL=get-address-info.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-address-info.d.cts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-address-info.d.cts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-address-info.d.ts
|
|
@@ -16,9 +18,7 @@ declare const RoamGetAddressInfoOutput: z.ZodObject<{
|
|
|
16
18
|
integration_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
19
|
display_image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
20
|
}, z.core.$loose>;
|
|
19
|
-
declare const roamGetAddressInfo:
|
|
20
|
-
addr: string;
|
|
21
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
21
|
+
declare const roamGetAddressInfo: AppAction<typeof RoamGetAddressInfoInput, typeof RoamGetAddressInfoOutput, typeof roam.credential>;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { roamGetAddressInfo };
|
|
24
24
|
//# sourceMappingURL=get-address-info.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-address-info.d.mts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-address-info.d.mts","names":[],"sources":["../../src/actions/get-address-info.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAIvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAUxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-address-info.mjs","names":[],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-address-info.mjs","names":[],"sources":["../../src/actions/get-address-info.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetAddressInfoInput = z.object({\n addr: z.string().describe(\"The chat address to fetch information for. This is a unique identifier for entities that may participate in a chat, such as users, visitors, or bots. Format: U-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\"),\n}).describe(\"Request parameters for retrieving information about a chat address.\");\nconst RoamGetAddressInfo_AddressTypeSchema = z.enum([\"user\", \"bot\"]).describe(\"Type of chat address.\");\nexport const RoamGetAddressInfoOutput = z.object({\n id: z.string().describe(\"Unique identifier of the address (TaggedUUID format)\").nullable().optional(),\n type: RoamGetAddressInfo_AddressTypeSchema.nullable().optional(),\n email: z.string().describe(\"Email address (for user type addresses)\").nullable().optional(),\n display_name: z.string().describe(\"Display name of the address\").nullable().optional(),\n display_detail: z.string().describe(\"Additional detail (for bot type addresses)\").nullable().optional(),\n integration_id: z.string().describe(\"Integration ID (for bot type addresses)\").nullable().optional(),\n display_image_url: z.string().describe(\"URL of the profile image\").nullable().optional(),\n}).passthrough().describe(\"Response containing information about a chat address.\");\n\nexport const roamGetAddressInfo: AppAction<\n typeof RoamGetAddressInfoInput,\n typeof RoamGetAddressInfoOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_ADDRESS_INFO\", {\n slug: \"roam-get-address-info\",\n name: \"Get Address Info\",\n description: \"Get information about a chat address, which is the name for any entity that may participate in a chat, such as a user, visitor, or bot. Use this action to retrieve details like display name, email, profile image, and other information about a specific chat address. Required scope: chat:read\",\n input: RoamGetAddressInfoInput,\n output: RoamGetAddressInfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sMAAsM,EAClO,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAuC,EAAE,KAAK,CAAC,QAAQ,KAAK,CAAC,CAAC,CAAC,SAAS,uBAAuB;AAWrG,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAnBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,MAAM,qCAAqC,SAAS,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-history.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-chat-history.cjs","names":["z","action"],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory: AppAction<\n typeof RoamGetChatHistoryInput,\n typeof RoamGetChatHistoryOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACzD,UAAUA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-chat-history.d.ts
|
|
@@ -21,14 +23,7 @@ declare const RoamGetChatHistoryOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const roamGetChatHistory:
|
|
25
|
-
chat: string;
|
|
26
|
-
after?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
before?: string | undefined;
|
|
29
|
-
cursor?: string | undefined;
|
|
30
|
-
thread_timestamp?: number | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const roamGetChatHistory: AppAction<typeof RoamGetChatHistoryInput, typeof RoamGetChatHistoryOutput, typeof roam.credential>;
|
|
32
27
|
//#endregion
|
|
33
28
|
export { roamGetChatHistory };
|
|
34
29
|
//# sourceMappingURL=get-chat-history.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-history.d.cts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-chat-history.d.cts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-chat-history.d.ts
|
|
@@ -21,14 +23,7 @@ declare const RoamGetChatHistoryOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const roamGetChatHistory:
|
|
25
|
-
chat: string;
|
|
26
|
-
after?: string | undefined;
|
|
27
|
-
limit?: number | undefined;
|
|
28
|
-
before?: string | undefined;
|
|
29
|
-
cursor?: string | undefined;
|
|
30
|
-
thread_timestamp?: number | undefined;
|
|
31
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const roamGetChatHistory: AppAction<typeof RoamGetChatHistoryInput, typeof RoamGetChatHistoryOutput, typeof roam.credential>;
|
|
32
27
|
//#endregion
|
|
33
28
|
export { roamGetChatHistory };
|
|
34
29
|
//# sourceMappingURL=get-chat-history.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-history.d.mts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-chat-history.d.mts","names":[],"sources":["../../src/actions/get-chat-history.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;cAgBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAMxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-chat-history.mjs","names":[],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-chat-history.mjs","names":[],"sources":["../../src/actions/get-chat-history.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetChatHistoryInput = z.object({\n chat: z.string().describe(\"The chat address (UUID) to fetch messages from.\"),\n after: z.string().describe(\"The datetime to begin listing messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. If specified, results are sorted in forward chronological order.\").optional(),\n limit: z.number().int().describe(\"Number of messages to return. Default is 10, maximum is 200.\").optional(),\n before: z.string().describe(\"The datetime until which to list messages (UTC). Format: YYYY-MM-DD or RFC-3339 datetime. Defaults to 'now' if not specified.\").optional(),\n cursor: z.string().describe(\"Opaque pagination cursor from a previous response's nextCursor. Do not construct cursors manually.\").optional(),\n thread_timestamp: z.number().int().describe(\"Read replies of the message with this timestamp. Use to fetch replies to a specific message.\").optional(),\n}).describe(\"Request model for retrieving chat history from a Roam chat.\");\nconst RoamGetChatHistory_ChatMessageSchema = z.object({\n text: z.string().describe(\"The message content/text body\").nullable(),\n type: z.string().describe(\"Message type (e.g., 'message')\").nullable(),\n chatId: z.string().describe(\"The chat ID where the message was posted\").nullable(),\n userId: z.string().describe(\"The user ID who sent the message\").nullable(),\n timestamp: z.number().int().describe(\"Unique identifying timestamp of the message\").nullable(),\n contentType: z.string().describe(\"Content type (e.g., 'text')\").nullable(),\n}).passthrough().describe(\"A single message in a chat.\");\nexport const RoamGetChatHistoryOutput = z.object({\n chatId: z.string().describe(\"The chat address\").nullable(),\n messages: z.array(RoamGetChatHistory_ChatMessageSchema).describe(\"List of messages in the chat\").nullable().optional(),\n nextCursor: z.string().describe(\"Cursor for fetching the next page of results\").nullable().optional(),\n}).passthrough().describe(\"Response model containing chat messages.\");\n\nexport const roamGetChatHistory: AppAction<\n typeof RoamGetChatHistoryInput,\n typeof RoamGetChatHistoryOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_CHAT_HISTORY\", {\n slug: \"roam-get-chat-history\",\n name: \"Get chat history\",\n description: \"Lists messages in a chat, filtered by date range (after/before). The ordering of results depends on the filter specified: - If no parameters provided: returns most recent messages, sorted in reverse chronological order. - If 'after' is specified: results sorted in forward chronological order. In Personal mode, only chats where the authenticated user is a participant are accessible. Use this action to retrieve message history from a specific chat.\",\n input: RoamGetChatHistoryInput,\n output: RoamGetChatHistoryOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CAC3E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,yJAAyJ,CAAC,CAAC,SAAS;CAC/L,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;CAC1G,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+HAA+H,CAAC,CAAC,SAAS;CACtK,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC3I,kBAAkB,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8FAA8F,CAAC,CAAC,SAAS;AACvJ,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,uCAAuC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACjF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACzE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC7F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAOvD,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsC,EAAE,OAAO;EAC/C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACzD,UAAU,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting-link.cjs","names":["z","action"],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-meeting-link.cjs","names":["z","action"],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink: AppAction<\n typeof RoamGetMeetingLinkInput,\n typeof RoamGetMeetingLinkOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAAwD;AACpE,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;CAC7E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;CAC/D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,qBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-meeting-link.d.ts
|
|
@@ -12,9 +14,7 @@ declare const RoamGetMeetingLinkOutput: z.ZodObject<{
|
|
|
12
14
|
name: z.ZodNullable<z.ZodString>;
|
|
13
15
|
start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const roamGetMeetingLink:
|
|
16
|
-
id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const roamGetMeetingLink: AppAction<typeof RoamGetMeetingLinkInput, typeof RoamGetMeetingLinkOutput, typeof roam.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { roamGetMeetingLink };
|
|
20
20
|
//# sourceMappingURL=get-meeting-link.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting-link.d.cts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-meeting-link.d.cts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-meeting-link.d.ts
|
|
@@ -12,9 +14,7 @@ declare const RoamGetMeetingLinkOutput: z.ZodObject<{
|
|
|
12
14
|
name: z.ZodNullable<z.ZodString>;
|
|
13
15
|
start: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const roamGetMeetingLink:
|
|
16
|
-
id: string;
|
|
17
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
17
|
+
declare const roamGetMeetingLink: AppAction<typeof RoamGetMeetingLinkInput, typeof RoamGetMeetingLinkOutput, typeof roam.credential>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { roamGetMeetingLink };
|
|
20
20
|
//# sourceMappingURL=get-meeting-link.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting-link.d.mts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-meeting-link.d.mts","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cASxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-meeting-link.mjs","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-meeting-link.mjs","names":[],"sources":["../../src/actions/get-meeting-link.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link to retrieve.\"),\n}).describe(\"Request model for retrieving meeting link information.\");\nexport const RoamGetMeetingLinkOutput = z.object({\n id: z.string().describe(\"The unique identifier (UUID) of the meeting link.\").nullable(),\n end: z.string().describe(\"The meeting end time in RFC3339 format.\").nullable().optional(),\n url: z.string().describe(\"The meeting link URL.\").nullable(),\n host: z.string().describe(\"The email address of the meeting host.\").nullable(),\n name: z.string().describe(\"The name of the meeting.\").nullable(),\n start: z.string().describe(\"The meeting start time in RFC3339 format.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing meeting link information.\");\n\nexport const roamGetMeetingLink: AppAction<\n typeof RoamGetMeetingLinkInput,\n typeof RoamGetMeetingLinkOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_MEETING_LINK\", {\n slug: \"roam-get-meeting-link\",\n name: \"Get meeting link\",\n description: \"Tool to get a meeting link. Use when you need to retrieve information about a specific meeting link by its ID. Requires the 'meetinglink:read' scope.\",\n input: RoamGetMeetingLinkInput,\n output: RoamGetMeetingLinkOutput,\n});\n"],"mappings":";;;AAkBA,MAAa,qBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApBqC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+DAA+D,EACzF,CAAC,CAAC,CAAC,SAAS,wDAkBH;CACP,QAlBsC,EAAE,OAAO;EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS;EACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC3D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EAC7E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;EAC/D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resource-types.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-resource-types.cjs","names":["z","action"],"sources":["../../src/actions/get-resource-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes: AppAction<\n typeof RoamGetResourceTypesInput,\n typeof RoamGetResourceTypesOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAC5D,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,WAAWA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpL,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;CAC/E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAE7E,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-resource-types.d.ts
|
|
@@ -13,7 +15,7 @@ declare const RoamGetResourceTypesOutput: z.ZodObject<{
|
|
|
13
15
|
itemsPerPage: z.ZodNullable<z.ZodNumber>;
|
|
14
16
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const roamGetResourceTypes:
|
|
18
|
+
declare const roamGetResourceTypes: AppAction<typeof RoamGetResourceTypesInput, typeof RoamGetResourceTypesOutput, typeof roam.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { roamGetResourceTypes };
|
|
19
21
|
//# sourceMappingURL=get-resource-types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resource-types.d.cts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-resource-types.d.cts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { roam } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-resource-types.d.ts
|
|
@@ -13,7 +15,7 @@ declare const RoamGetResourceTypesOutput: z.ZodObject<{
|
|
|
13
15
|
itemsPerPage: z.ZodNullable<z.ZodNumber>;
|
|
14
16
|
totalResults: z.ZodNullable<z.ZodNumber>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const roamGetResourceTypes:
|
|
18
|
+
declare const roamGetResourceTypes: AppAction<typeof RoamGetResourceTypesInput, typeof RoamGetResourceTypesOutput, typeof roam.credential>;
|
|
17
19
|
//#endregion
|
|
18
20
|
export { roamGetResourceTypes };
|
|
19
21
|
//# sourceMappingURL=get-resource-types.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resource-types.d.mts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-resource-types.d.mts","names":[],"sources":["../../src/actions/get-resource-types.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAMzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,IAAA,CAAK,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-resource-types.mjs","names":[],"sources":["../../src/actions/get-resource-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-resource-types.mjs","names":[],"sources":["../../src/actions/get-resource-types.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { roam } from \"../app\";\n\nexport const RoamGetResourceTypesInput = z.object({}).describe(\"No request parameters required for this endpoint.\");\nconst RoamGetResourceTypes_ResourceTypeSchema = z.object({\n id: z.string().describe(\"The resource type identifier (e.g., 'User', 'Group')\").nullable(),\n name: z.string().describe(\"The human-readable name of the resource type\").nullable(),\n description: z.string().describe(\"Description of the resource type\").nullable(),\n}).passthrough().describe(\"Represents a SCIM resource type.\");\nexport const RoamGetResourceTypesOutput = z.object({\n schemas: z.array(z.string()).describe(\"SCIM schema identifiers\").nullable().optional(),\n Resources: z.array(RoamGetResourceTypes_ResourceTypeSchema).describe(\"Array of ResourceType objects representing supported resource types (e.g., User, Group)\").nullable().optional(),\n startIndex: z.number().int().describe(\"1-based index for pagination\").nullable(),\n itemsPerPage: z.number().int().describe(\"Number of items returned per page\").nullable(),\n totalResults: z.number().int().describe(\"Total number of resource types available\").nullable(),\n}).passthrough().describe(\"Response model for the GetResourceTypes endpoint.\");\n\nexport const roamGetResourceTypes: AppAction<\n typeof RoamGetResourceTypesInput,\n typeof RoamGetResourceTypesOutput,\n typeof roam.credential\n> = action(\"ROAM_GET_RESOURCE_TYPES\", {\n slug: \"roam-get-resource-types\",\n name: \"Get Roam SCIM Resource Types\",\n description: \"Returns the list of SCIM 2.0 resource types supported by Roam. Use this action to discover what resource types are available in the Roam SCIM API. Currently returns User and Group resource types. This endpoint requires no parameters.\",\n input: RoamGetResourceTypesInput,\n output: RoamGetResourceTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4B,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAClH,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS;CACnF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAS5D,MAAa,uBAIT,OAAO,2BAA2B;CACpC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBwC,EAAE,OAAO;EACjD,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrF,WAAW,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,yFAAyF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpL,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;EAC/E,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAWhB;AACV,CAAC"}
|