@keystrokehq/roam 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/add-group-members.cjs +1 -1
- package/dist/actions/add-group-members.cjs.map +1 -1
- package/dist/actions/add-group-members.d.cts +14 -2
- package/dist/actions/add-group-members.d.mts +14 -2
- package/dist/actions/add-group-members.mjs +1 -1
- package/dist/actions/add-group-members.mjs.map +1 -1
- package/dist/actions/add-reaction.cjs +1 -1
- package/dist/actions/add-reaction.cjs.map +1 -1
- package/dist/actions/add-reaction.d.cts +14 -2
- package/dist/actions/add-reaction.d.mts +14 -2
- package/dist/actions/add-reaction.mjs +1 -1
- package/dist/actions/add-reaction.mjs.map +1 -1
- package/dist/actions/create-group.cjs +1 -1
- package/dist/actions/create-group.cjs.map +1 -1
- package/dist/actions/create-group.d.cts +14 -2
- package/dist/actions/create-group.d.mts +14 -2
- package/dist/actions/create-group.mjs +1 -1
- 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 +16 -4
- package/dist/actions/create-roam-scim-group.d.cts.map +1 -1
- package/dist/actions/create-roam-scim-group.d.mts +16 -4
- 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 +5 -5
- package/dist/actions/create-user.cjs.map +1 -1
- package/dist/actions/create-user.d.cts +19 -6
- package/dist/actions/create-user.d.mts +19 -6
- package/dist/actions/create-user.mjs +5 -5
- package/dist/actions/create-user.mjs.map +1 -1
- package/dist/actions/delete-group.cjs +1 -1
- package/dist/actions/delete-group.cjs.map +1 -1
- package/dist/actions/delete-group.d.cts +14 -2
- package/dist/actions/delete-group.d.mts +14 -2
- package/dist/actions/delete-group.mjs +1 -1
- package/dist/actions/delete-group.mjs.map +1 -1
- package/dist/actions/delete-user.cjs +1 -1
- package/dist/actions/delete-user.cjs.map +1 -1
- package/dist/actions/delete-user.d.cts +14 -2
- package/dist/actions/delete-user.d.mts +14 -2
- package/dist/actions/delete-user.mjs +1 -1
- package/dist/actions/delete-user.mjs.map +1 -1
- package/dist/actions/get-address-info.cjs +1 -1
- package/dist/actions/get-address-info.cjs.map +1 -1
- package/dist/actions/get-address-info.d.cts +14 -2
- package/dist/actions/get-address-info.d.mts +14 -2
- package/dist/actions/get-address-info.mjs +1 -1
- package/dist/actions/get-address-info.mjs.map +1 -1
- package/dist/actions/get-chat-history.cjs +2 -2
- package/dist/actions/get-chat-history.cjs.map +1 -1
- package/dist/actions/get-chat-history.d.cts +15 -3
- package/dist/actions/get-chat-history.d.mts +15 -3
- package/dist/actions/get-chat-history.mjs +2 -2
- package/dist/actions/get-chat-history.mjs.map +1 -1
- package/dist/actions/get-meeting-link.cjs +1 -1
- package/dist/actions/get-meeting-link.cjs.map +1 -1
- package/dist/actions/get-meeting-link.d.cts +14 -2
- package/dist/actions/get-meeting-link.d.mts +14 -2
- package/dist/actions/get-meeting-link.mjs +1 -1
- package/dist/actions/get-meeting-link.mjs.map +1 -1
- package/dist/actions/get-resource-types.cjs +2 -2
- package/dist/actions/get-resource-types.cjs.map +1 -1
- package/dist/actions/get-resource-types.d.cts +15 -3
- package/dist/actions/get-resource-types.d.cts.map +1 -1
- package/dist/actions/get-resource-types.d.mts +15 -3
- package/dist/actions/get-resource-types.d.mts.map +1 -1
- package/dist/actions/get-resource-types.mjs +2 -2
- package/dist/actions/get-resource-types.mjs.map +1 -1
- package/dist/actions/get-roam-scim-config.cjs +9 -9
- package/dist/actions/get-roam-scim-config.cjs.map +1 -1
- package/dist/actions/get-roam-scim-config.d.cts +22 -10
- package/dist/actions/get-roam-scim-config.d.cts.map +1 -1
- package/dist/actions/get-roam-scim-config.d.mts +22 -10
- package/dist/actions/get-roam-scim-config.d.mts.map +1 -1
- package/dist/actions/get-roam-scim-config.mjs +9 -9
- package/dist/actions/get-roam-scim-config.mjs.map +1 -1
- package/dist/actions/get-scim-schema.cjs +1 -1
- package/dist/actions/get-scim-schema.cjs.map +1 -1
- package/dist/actions/get-scim-schema.d.cts +14 -2
- package/dist/actions/get-scim-schema.d.mts +14 -2
- package/dist/actions/get-scim-schema.mjs +1 -1
- package/dist/actions/get-scim-schema.mjs.map +1 -1
- package/dist/actions/get-scim-user.cjs +5 -5
- package/dist/actions/get-scim-user.cjs.map +1 -1
- package/dist/actions/get-scim-user.d.cts +18 -6
- package/dist/actions/get-scim-user.d.mts +18 -6
- package/dist/actions/get-scim-user.mjs +5 -5
- package/dist/actions/get-scim-user.mjs.map +1 -1
- package/dist/actions/get-test.cjs +1 -1
- package/dist/actions/get-test.cjs.map +1 -1
- package/dist/actions/get-test.d.cts +14 -2
- package/dist/actions/get-test.d.cts.map +1 -1
- package/dist/actions/get-test.d.mts +14 -2
- package/dist/actions/get-test.d.mts.map +1 -1
- package/dist/actions/get-test.mjs +1 -1
- package/dist/actions/get-test.mjs.map +1 -1
- package/dist/actions/get-token-info.cjs +2 -2
- package/dist/actions/get-token-info.cjs.map +1 -1
- package/dist/actions/get-token-info.d.cts +15 -3
- package/dist/actions/get-token-info.d.cts.map +1 -1
- package/dist/actions/get-token-info.d.mts +15 -3
- package/dist/actions/get-token-info.d.mts.map +1 -1
- package/dist/actions/get-token-info.mjs +2 -2
- package/dist/actions/get-token-info.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -1
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +14 -2
- package/dist/actions/get-user-info.d.mts +14 -2
- package/dist/actions/get-user-info.mjs +1 -1
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/list-chats.cjs +2 -2
- package/dist/actions/list-chats.cjs.map +1 -1
- package/dist/actions/list-chats.d.cts +15 -3
- package/dist/actions/list-chats.d.mts +15 -3
- package/dist/actions/list-chats.mjs +2 -2
- 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 +15 -3
- package/dist/actions/list-group-members.d.mts +15 -3
- 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 +4 -4
- package/dist/actions/list-groups.cjs.map +1 -1
- package/dist/actions/list-groups.d.cts +17 -5
- package/dist/actions/list-groups.d.mts +17 -5
- package/dist/actions/list-groups.mjs +4 -4
- package/dist/actions/list-groups.mjs.map +1 -1
- package/dist/actions/list-lobbies.cjs +2 -2
- package/dist/actions/list-lobbies.cjs.map +1 -1
- package/dist/actions/list-lobbies.d.cts +15 -3
- package/dist/actions/list-lobbies.d.mts +15 -3
- package/dist/actions/list-lobbies.mjs +2 -2
- 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 +16 -4
- package/dist/actions/list-meetings.d.mts +16 -4
- package/dist/actions/list-meetings.mjs +3 -3
- package/dist/actions/list-meetings.mjs.map +1 -1
- package/dist/actions/list-recordings.cjs +2 -2
- package/dist/actions/list-recordings.cjs.map +1 -1
- package/dist/actions/list-recordings.d.cts +15 -3
- package/dist/actions/list-recordings.d.mts +15 -3
- package/dist/actions/list-recordings.mjs +2 -2
- package/dist/actions/list-recordings.mjs.map +1 -1
- package/dist/actions/list-roam-scim-users.cjs +6 -6
- package/dist/actions/list-roam-scim-users.cjs.map +1 -1
- package/dist/actions/list-roam-scim-users.d.cts +19 -7
- package/dist/actions/list-roam-scim-users.d.mts +19 -7
- package/dist/actions/list-roam-scim-users.mjs +6 -6
- package/dist/actions/list-roam-scim-users.mjs.map +1 -1
- package/dist/actions/list-schemas.cjs +2 -2
- package/dist/actions/list-schemas.cjs.map +1 -1
- package/dist/actions/list-schemas.d.cts +15 -3
- package/dist/actions/list-schemas.d.cts.map +1 -1
- package/dist/actions/list-schemas.d.mts +15 -3
- package/dist/actions/list-schemas.d.mts.map +1 -1
- package/dist/actions/list-schemas.mjs +2 -2
- package/dist/actions/list-schemas.mjs.map +1 -1
- package/dist/actions/list-transcripts.cjs +3 -3
- package/dist/actions/list-transcripts.cjs.map +1 -1
- package/dist/actions/list-transcripts.d.cts +16 -4
- package/dist/actions/list-transcripts.d.mts +16 -4
- package/dist/actions/list-transcripts.mjs +3 -3
- package/dist/actions/list-transcripts.mjs.map +1 -1
- package/dist/actions/list-user-audit-log.cjs +2 -2
- package/dist/actions/list-user-audit-log.cjs.map +1 -1
- package/dist/actions/list-user-audit-log.d.cts +15 -3
- package/dist/actions/list-user-audit-log.d.mts +15 -3
- package/dist/actions/list-user-audit-log.mjs +2 -2
- package/dist/actions/list-user-audit-log.mjs.map +1 -1
- package/dist/actions/list-users.cjs +2 -2
- package/dist/actions/list-users.cjs.map +1 -1
- package/dist/actions/list-users.d.cts +15 -3
- package/dist/actions/list-users.d.mts +15 -3
- package/dist/actions/list-users.mjs +2 -2
- package/dist/actions/list-users.mjs.map +1 -1
- package/dist/actions/lookup-user.cjs +1 -1
- package/dist/actions/lookup-user.cjs.map +1 -1
- package/dist/actions/lookup-user.d.cts +14 -2
- package/dist/actions/lookup-user.d.mts +14 -2
- package/dist/actions/lookup-user.mjs +1 -1
- package/dist/actions/lookup-user.mjs.map +1 -1
- package/dist/actions/patch-group.cjs +4 -4
- package/dist/actions/patch-group.cjs.map +1 -1
- package/dist/actions/patch-group.d.cts +19 -5
- package/dist/actions/patch-group.d.cts.map +1 -1
- package/dist/actions/patch-group.d.mts +19 -5
- package/dist/actions/patch-group.d.mts.map +1 -1
- package/dist/actions/patch-group.mjs +4 -4
- package/dist/actions/patch-group.mjs.map +1 -1
- package/dist/actions/patch-user.cjs +7 -7
- package/dist/actions/patch-user.cjs.map +1 -1
- package/dist/actions/patch-user.d.cts +22 -8
- package/dist/actions/patch-user.d.cts.map +1 -1
- package/dist/actions/patch-user.d.mts +22 -8
- package/dist/actions/patch-user.d.mts.map +1 -1
- package/dist/actions/patch-user.mjs +7 -7
- package/dist/actions/patch-user.mjs.map +1 -1
- package/dist/actions/post-chat.cjs +1 -1
- package/dist/actions/post-chat.cjs.map +1 -1
- package/dist/actions/post-chat.d.cts +14 -2
- package/dist/actions/post-chat.d.cts.map +1 -1
- package/dist/actions/post-chat.d.mts +14 -2
- package/dist/actions/post-chat.d.mts.map +1 -1
- package/dist/actions/post-chat.mjs +1 -1
- package/dist/actions/post-chat.mjs.map +1 -1
- package/dist/actions/remove-group-members.cjs +1 -1
- package/dist/actions/remove-group-members.cjs.map +1 -1
- package/dist/actions/remove-group-members.d.cts +14 -2
- package/dist/actions/remove-group-members.d.mts +14 -2
- package/dist/actions/remove-group-members.mjs +1 -1
- package/dist/actions/remove-group-members.mjs.map +1 -1
- package/dist/actions/replace-group.cjs +4 -4
- package/dist/actions/replace-group.cjs.map +1 -1
- package/dist/actions/replace-group.d.cts +18 -6
- package/dist/actions/replace-group.d.cts.map +1 -1
- package/dist/actions/replace-group.d.mts +18 -6
- package/dist/actions/replace-group.d.mts.map +1 -1
- package/dist/actions/replace-group.mjs +4 -4
- package/dist/actions/replace-group.mjs.map +1 -1
- package/dist/actions/replace-user.cjs +5 -5
- package/dist/actions/replace-user.cjs.map +1 -1
- package/dist/actions/replace-user.d.cts +19 -6
- package/dist/actions/replace-user.d.mts +19 -6
- package/dist/actions/replace-user.mjs +5 -5
- package/dist/actions/replace-user.mjs.map +1 -1
- package/dist/actions/send-message.cjs +1 -1
- package/dist/actions/send-message.cjs.map +1 -1
- package/dist/actions/send-message.d.cts +14 -2
- package/dist/actions/send-message.d.mts +14 -2
- package/dist/actions/send-message.mjs +1 -1
- package/dist/actions/send-message.mjs.map +1 -1
- package/dist/actions/send-typing.cjs +1 -1
- package/dist/actions/send-typing.cjs.map +1 -1
- package/dist/actions/send-typing.d.cts +14 -2
- package/dist/actions/send-typing.d.mts +14 -2
- package/dist/actions/send-typing.mjs +1 -1
- package/dist/actions/send-typing.mjs.map +1 -1
- package/dist/actions/update-meeting-link.cjs +1 -1
- package/dist/actions/update-meeting-link.cjs.map +1 -1
- package/dist/actions/update-meeting-link.d.cts +14 -2
- package/dist/actions/update-meeting-link.d.cts.map +1 -1
- package/dist/actions/update-meeting-link.d.mts +14 -2
- package/dist/actions/update-meeting-link.d.mts.map +1 -1
- package/dist/actions/update-meeting-link.mjs +1 -1
- package/dist/actions/update-meeting-link.mjs.map +1 -1
- package/dist/actions/upload-item.cjs +1 -1
- package/dist/actions/upload-item.cjs.map +1 -1
- package/dist/actions/upload-item.d.cts +14 -2
- package/dist/actions/upload-item.d.mts +14 -2
- package/dist/actions/upload-item.mjs +1 -1
- 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 +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replace-user.cjs","names":["z","action"],"sources":["../../src/actions/replace-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamReplaceUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to replace. This is the SCIM user ID.\"),\n name: z.object({\n givenName: z.string().describe(\"First name of the user\"),\n familyName: z.string().describe(\"Last name of the user\"),\n}).describe(\"Name object containing the user's given name and family name.\"),\n role: z.enum([\"User\", \"Admin\"]).default(\"User\").describe(\"User role in Roam organization.\").optional(),\n active: z.boolean().default(true).describe(\"Whether the user account is active. Set to false to archive/deprovision the user. Defaults to true.\").optional(),\n emails: z.array(z.object({\n type: z.string().default(\"work\").describe(\"Type of email address\").optional(),\n value: z.string().describe(\"Email address of the user\"),\n primary: z.boolean().describe(\"Whether this is the primary email address\"),\n}).describe(\"Email object for SCIM user.\")).describe(\"List of email addresses for the user. The primary email must match userName.\"),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:User\"]).describe(\"SCIM schemas to include in the request. Defaults to standard User schema.\").optional(),\n userName: z.string().describe(\"Username for the user. Must be the user's email address and must exactly match the primary email value.\"),\n externalId: z.string().describe(\"External identifier for correlation with IdP records.\").optional(),\n displayName: z.string().describe(\"Full name of the user. Note: Roam auto-generates this from givenName + familyName, so this value may be ignored.\").optional(),\n}).describe(\"Request model for fully replacing (updating) a user via SCIM 2.0.\\nThis performs a full replace operation - all attributes must be provided.\");\nconst RoamReplaceUser_UserNameSchemaSchema = z.object({\n givenName: z.string().describe(\"First name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"Last name of the user.\").nullable().optional(),\n}).describe(\"Name response object from SCIM user.\");\nconst RoamReplaceUser_EmailResponseSchema = z.object({\n type: z.string().describe(\"Type of email address.\").nullable().optional(),\n value: z.string().describe(\"Email address.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email.\").nullable().optional(),\n}).describe(\"Email response object from SCIM user.\");\nconst RoamReplaceUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).describe(\"Roam-specific SCIM extension response.\");\nexport const RoamReplaceUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the replaced user.\").nullable(),\n name: RoamReplaceUser_UserNameSchemaSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active.\").nullable().optional(),\n emails: z.array(RoamReplaceUser_EmailResponseSchema).describe(\"List of email addresses for the replaced user.\").nullable().optional(),\n userName: z.string().describe(\"Username (email) of the replaced user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier if provided during replacement.\").nullable().optional(),\n displayName: z.string().describe(\"Display name of the replaced user (auto-generated from givenName + familyName).\").nullable().optional(),\n roam_extension: RoamReplaceUser_RoamExtensionResponseSchema.nullable().optional(),\n}).describe(\"Response model after replacing a user via SCIM 2.0.\");\n\nexport const roamReplaceUser = action(\"ROAM_REPLACE_USER\", {\n slug: \"roam-replace-user\",\n name: \"Replace Roam User\",\n description: \"Fully replaces (updates) a user's attributes in Roam via SCIM 2.0 protocol. Use when you need to update all user attributes at once. This is a full replacement operation - all required fields must be provided. Note: This is a PUT operation that completely replaces the user. For partial updates, use the patch user operation. Password attributes are not supported and will be ignored.\",\n input: RoamReplaceUserInput,\n output: RoamReplaceUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,MAAMA,IAAAA,EAAE,OAAO;EACf,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACzD,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,MAAMA,IAAAA,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC3J,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACzB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACtD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,8EAA8E;
|
|
1
|
+
{"version":3,"file":"replace-user.cjs","names":["z","action"],"sources":["../../src/actions/replace-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamReplaceUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to replace. This is the SCIM user ID.\"),\n name: z.object({\n givenName: z.string().describe(\"First name of the user\"),\n familyName: z.string().describe(\"Last name of the user\"),\n}).describe(\"Name object containing the user's given name and family name.\"),\n role: z.enum([\"User\", \"Admin\"]).default(\"User\").describe(\"User role in Roam organization.\").optional(),\n active: z.boolean().default(true).describe(\"Whether the user account is active. Set to false to archive/deprovision the user. Defaults to true.\").optional(),\n emails: z.array(z.object({\n type: z.string().default(\"work\").describe(\"Type of email address\").optional(),\n value: z.string().describe(\"Email address of the user\"),\n primary: z.boolean().describe(\"Whether this is the primary email address\"),\n}).passthrough().describe(\"Email object for SCIM user.\")).describe(\"List of email addresses for the user. The primary email must match userName.\"),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:User\"]).describe(\"SCIM schemas to include in the request. Defaults to standard User schema.\").optional(),\n userName: z.string().describe(\"Username for the user. Must be the user's email address and must exactly match the primary email value.\"),\n externalId: z.string().describe(\"External identifier for correlation with IdP records.\").optional(),\n displayName: z.string().describe(\"Full name of the user. Note: Roam auto-generates this from givenName + familyName, so this value may be ignored.\").optional(),\n}).describe(\"Request model for fully replacing (updating) a user via SCIM 2.0.\\nThis performs a full replace operation - all attributes must be provided.\");\nconst RoamReplaceUser_UserNameSchemaSchema = z.object({\n givenName: z.string().describe(\"First name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"Last name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Name response object from SCIM user.\");\nconst RoamReplaceUser_EmailResponseSchema = z.object({\n type: z.string().describe(\"Type of email address.\").nullable().optional(),\n value: z.string().describe(\"Email address.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email.\").nullable().optional(),\n}).passthrough().describe(\"Email response object from SCIM user.\");\nconst RoamReplaceUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension response.\");\nexport const RoamReplaceUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the replaced user.\").nullable(),\n name: RoamReplaceUser_UserNameSchemaSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active.\").nullable().optional(),\n emails: z.array(RoamReplaceUser_EmailResponseSchema).describe(\"List of email addresses for the replaced user.\").nullable().optional(),\n userName: z.string().describe(\"Username (email) of the replaced user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier if provided during replacement.\").nullable().optional(),\n displayName: z.string().describe(\"Display name of the replaced user (auto-generated from givenName + familyName).\").nullable().optional(),\n roam_extension: RoamReplaceUser_RoamExtensionResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model after replacing a user via SCIM 2.0.\");\n\nexport const roamReplaceUser = action(\"ROAM_REPLACE_USER\", {\n slug: \"roam-replace-user\",\n name: \"Replace Roam User\",\n description: \"Fully replaces (updates) a user's attributes in Roam via SCIM 2.0 protocol. Use when you need to update all user attributes at once. This is a full replacement operation - all required fields must be provided. Note: This is a PUT operation that completely replaces the user. For partial updates, use the patch user operation. Password attributes are not supported and will be ignored.\",\n input: RoamReplaceUserInput,\n output: RoamReplaceUserOutput,\n});\n"],"mappings":"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"}
|
|
@@ -16,7 +16,7 @@ declare const RoamReplaceUserInput: z.ZodObject<{
|
|
|
16
16
|
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
17
17
|
value: z.ZodString;
|
|
18
18
|
primary: z.ZodBoolean;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
schemas: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
21
21
|
userName: z.ZodString;
|
|
22
22
|
externalId: z.ZodOptional<z.ZodString>;
|
|
@@ -27,20 +27,20 @@ declare const RoamReplaceUserOutput: z.ZodObject<{
|
|
|
27
27
|
name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
givenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
familyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
32
|
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
33
33
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
roam_extension: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const roamReplaceUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
id: string;
|
|
46
46
|
name: {
|
|
@@ -48,6 +48,7 @@ declare const roamReplaceUser: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
48
48
|
familyName: string;
|
|
49
49
|
};
|
|
50
50
|
emails: {
|
|
51
|
+
[x: string]: unknown;
|
|
51
52
|
value: string;
|
|
52
53
|
primary: boolean;
|
|
53
54
|
type?: string | undefined;
|
|
@@ -58,7 +59,19 @@ declare const roamReplaceUser: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
58
59
|
schemas?: string[] | undefined;
|
|
59
60
|
externalId?: string | undefined;
|
|
60
61
|
displayName?: string | undefined;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
62
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
63
|
+
connectionId: z.ZodString;
|
|
64
|
+
entityId: z.ZodString;
|
|
65
|
+
instanceId: z.ZodString;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
accessToken: z.ZodString;
|
|
68
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
69
|
+
connectionId: z.ZodString;
|
|
70
|
+
entityId: z.ZodString;
|
|
71
|
+
instanceId: z.ZodString;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
accessToken: z.ZodString;
|
|
74
|
+
}, z.core.$strip>>]>;
|
|
62
75
|
//#endregion
|
|
63
76
|
export { roamReplaceUser };
|
|
64
77
|
//# sourceMappingURL=replace-user.d.cts.map
|
|
@@ -16,7 +16,7 @@ declare const RoamReplaceUserInput: z.ZodObject<{
|
|
|
16
16
|
type: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
17
17
|
value: z.ZodString;
|
|
18
18
|
primary: z.ZodBoolean;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
20
|
schemas: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
21
21
|
userName: z.ZodString;
|
|
22
22
|
externalId: z.ZodOptional<z.ZodString>;
|
|
@@ -27,20 +27,20 @@ declare const RoamReplaceUserOutput: z.ZodObject<{
|
|
|
27
27
|
name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
28
28
|
givenName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
29
|
familyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>;
|
|
31
31
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
32
32
|
emails: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
33
33
|
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
primary: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
36
|
-
}, z.core.$
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
userName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
externalId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
displayName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
40
40
|
roam_extension: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
41
41
|
role: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
43
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>>>;
|
|
43
|
+
}, z.core.$loose>;
|
|
44
44
|
declare const roamReplaceUser: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
45
45
|
id: string;
|
|
46
46
|
name: {
|
|
@@ -48,6 +48,7 @@ declare const roamReplaceUser: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
48
48
|
familyName: string;
|
|
49
49
|
};
|
|
50
50
|
emails: {
|
|
51
|
+
[x: string]: unknown;
|
|
51
52
|
value: string;
|
|
52
53
|
primary: boolean;
|
|
53
54
|
type?: string | undefined;
|
|
@@ -58,7 +59,19 @@ declare const roamReplaceUser: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
58
59
|
schemas?: string[] | undefined;
|
|
59
60
|
externalId?: string | undefined;
|
|
60
61
|
displayName?: string | undefined;
|
|
61
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
62
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
63
|
+
connectionId: z.ZodString;
|
|
64
|
+
entityId: z.ZodString;
|
|
65
|
+
instanceId: z.ZodString;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
accessToken: z.ZodString;
|
|
68
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
69
|
+
connectionId: z.ZodString;
|
|
70
|
+
entityId: z.ZodString;
|
|
71
|
+
instanceId: z.ZodString;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
accessToken: z.ZodString;
|
|
74
|
+
}, z.core.$strip>>]>;
|
|
62
75
|
//#endregion
|
|
63
76
|
export { roamReplaceUser };
|
|
64
77
|
//# sourceMappingURL=replace-user.d.mts.map
|
|
@@ -13,7 +13,7 @@ const RoamReplaceUserInput = z.object({
|
|
|
13
13
|
type: z.string().default("work").describe("Type of email address").optional(),
|
|
14
14
|
value: z.string().describe("Email address of the user"),
|
|
15
15
|
primary: z.boolean().describe("Whether this is the primary email address")
|
|
16
|
-
}).describe("Email object for SCIM user.")).describe("List of email addresses for the user. The primary email must match userName."),
|
|
16
|
+
}).passthrough().describe("Email object for SCIM user.")).describe("List of email addresses for the user. The primary email must match userName."),
|
|
17
17
|
schemas: z.array(z.string()).default(["urn:ietf:params:scim:schemas:core:2.0:User"]).describe("SCIM schemas to include in the request. Defaults to standard User schema.").optional(),
|
|
18
18
|
userName: z.string().describe("Username for the user. Must be the user's email address and must exactly match the primary email value."),
|
|
19
19
|
externalId: z.string().describe("External identifier for correlation with IdP records.").optional(),
|
|
@@ -22,13 +22,13 @@ const RoamReplaceUserInput = z.object({
|
|
|
22
22
|
const RoamReplaceUser_UserNameSchemaSchema = z.object({
|
|
23
23
|
givenName: z.string().describe("First name of the user.").nullable().optional(),
|
|
24
24
|
familyName: z.string().describe("Last name of the user.").nullable().optional()
|
|
25
|
-
}).describe("Name response object from SCIM user.");
|
|
25
|
+
}).passthrough().describe("Name response object from SCIM user.");
|
|
26
26
|
const RoamReplaceUser_EmailResponseSchema = z.object({
|
|
27
27
|
type: z.string().describe("Type of email address.").nullable().optional(),
|
|
28
28
|
value: z.string().describe("Email address.").nullable().optional(),
|
|
29
29
|
primary: z.boolean().describe("Whether this is the primary email.").nullable().optional()
|
|
30
|
-
}).describe("Email response object from SCIM user.");
|
|
31
|
-
const RoamReplaceUser_RoamExtensionResponseSchema = z.object({ role: z.string().describe("Role of the user in the organization.").nullable().optional() }).describe("Roam-specific SCIM extension response.");
|
|
30
|
+
}).passthrough().describe("Email response object from SCIM user.");
|
|
31
|
+
const RoamReplaceUser_RoamExtensionResponseSchema = z.object({ role: z.string().describe("Role of the user in the organization.").nullable().optional() }).passthrough().describe("Roam-specific SCIM extension response.");
|
|
32
32
|
const roamReplaceUser = action("ROAM_REPLACE_USER", {
|
|
33
33
|
slug: "roam-replace-user",
|
|
34
34
|
name: "Replace Roam User",
|
|
@@ -43,7 +43,7 @@ const roamReplaceUser = action("ROAM_REPLACE_USER", {
|
|
|
43
43
|
externalId: z.string().describe("External identifier if provided during replacement.").nullable().optional(),
|
|
44
44
|
displayName: z.string().describe("Display name of the replaced user (auto-generated from givenName + familyName).").nullable().optional(),
|
|
45
45
|
roam_extension: RoamReplaceUser_RoamExtensionResponseSchema.nullable().optional()
|
|
46
|
-
}).describe("Response model after replacing a user via SCIM 2.0.")
|
|
46
|
+
}).passthrough().describe("Response model after replacing a user via SCIM 2.0.")
|
|
47
47
|
});
|
|
48
48
|
//#endregion
|
|
49
49
|
export { roamReplaceUser };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"replace-user.mjs","names":[],"sources":["../../src/actions/replace-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamReplaceUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to replace. This is the SCIM user ID.\"),\n name: z.object({\n givenName: z.string().describe(\"First name of the user\"),\n familyName: z.string().describe(\"Last name of the user\"),\n}).describe(\"Name object containing the user's given name and family name.\"),\n role: z.enum([\"User\", \"Admin\"]).default(\"User\").describe(\"User role in Roam organization.\").optional(),\n active: z.boolean().default(true).describe(\"Whether the user account is active. Set to false to archive/deprovision the user. Defaults to true.\").optional(),\n emails: z.array(z.object({\n type: z.string().default(\"work\").describe(\"Type of email address\").optional(),\n value: z.string().describe(\"Email address of the user\"),\n primary: z.boolean().describe(\"Whether this is the primary email address\"),\n}).describe(\"Email object for SCIM user.\")).describe(\"List of email addresses for the user. The primary email must match userName.\"),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:User\"]).describe(\"SCIM schemas to include in the request. Defaults to standard User schema.\").optional(),\n userName: z.string().describe(\"Username for the user. Must be the user's email address and must exactly match the primary email value.\"),\n externalId: z.string().describe(\"External identifier for correlation with IdP records.\").optional(),\n displayName: z.string().describe(\"Full name of the user. Note: Roam auto-generates this from givenName + familyName, so this value may be ignored.\").optional(),\n}).describe(\"Request model for fully replacing (updating) a user via SCIM 2.0.\\nThis performs a full replace operation - all attributes must be provided.\");\nconst RoamReplaceUser_UserNameSchemaSchema = z.object({\n givenName: z.string().describe(\"First name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"Last name of the user.\").nullable().optional(),\n}).describe(\"Name response object from SCIM user.\");\nconst RoamReplaceUser_EmailResponseSchema = z.object({\n type: z.string().describe(\"Type of email address.\").nullable().optional(),\n value: z.string().describe(\"Email address.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email.\").nullable().optional(),\n}).describe(\"Email response object from SCIM user.\");\nconst RoamReplaceUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).describe(\"Roam-specific SCIM extension response.\");\nexport const RoamReplaceUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the replaced user.\").nullable(),\n name: RoamReplaceUser_UserNameSchemaSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active.\").nullable().optional(),\n emails: z.array(RoamReplaceUser_EmailResponseSchema).describe(\"List of email addresses for the replaced user.\").nullable().optional(),\n userName: z.string().describe(\"Username (email) of the replaced user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier if provided during replacement.\").nullable().optional(),\n displayName: z.string().describe(\"Display name of the replaced user (auto-generated from givenName + familyName).\").nullable().optional(),\n roam_extension: RoamReplaceUser_RoamExtensionResponseSchema.nullable().optional(),\n}).describe(\"Response model after replacing a user via SCIM 2.0.\");\n\nexport const roamReplaceUser = action(\"ROAM_REPLACE_USER\", {\n slug: \"roam-replace-user\",\n name: \"Replace Roam User\",\n description: \"Fully replaces (updates) a user's attributes in Roam via SCIM 2.0 protocol. Use when you need to update all user attributes at once. This is a full replacement operation - all required fields must be provided. Note: This is a PUT operation that completely replaces the user. For partial updates, use the patch user operation. Password attributes are not supported and will be ignored.\",\n input: RoamReplaceUserInput,\n output: RoamReplaceUserOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO;CAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE;CACjG,MAAM,EAAE,OAAO;EACf,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB;CACzD,CAAC,CAAC,CAAC,SAAS,+DAA+D;CACzE,MAAM,EAAE,KAAK,CAAC,QAAQ,OAAO,CAAC,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;CAC3J,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,MAAM,EAAE,OAAO,CAAC,CAAC,QAAQ,MAAM,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C;CAC3E,CAAC,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,CAAC,SAAS,8EAA8E;
|
|
1
|
+
{"version":3,"file":"replace-user.mjs","names":[],"sources":["../../src/actions/replace-user.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamReplaceUserInput = z.object({\n id: z.string().describe(\"The unique identifier of the user to replace. This is the SCIM user ID.\"),\n name: z.object({\n givenName: z.string().describe(\"First name of the user\"),\n familyName: z.string().describe(\"Last name of the user\"),\n}).describe(\"Name object containing the user's given name and family name.\"),\n role: z.enum([\"User\", \"Admin\"]).default(\"User\").describe(\"User role in Roam organization.\").optional(),\n active: z.boolean().default(true).describe(\"Whether the user account is active. Set to false to archive/deprovision the user. Defaults to true.\").optional(),\n emails: z.array(z.object({\n type: z.string().default(\"work\").describe(\"Type of email address\").optional(),\n value: z.string().describe(\"Email address of the user\"),\n primary: z.boolean().describe(\"Whether this is the primary email address\"),\n}).passthrough().describe(\"Email object for SCIM user.\")).describe(\"List of email addresses for the user. The primary email must match userName.\"),\n schemas: z.array(z.string()).default([\"urn:ietf:params:scim:schemas:core:2.0:User\"]).describe(\"SCIM schemas to include in the request. Defaults to standard User schema.\").optional(),\n userName: z.string().describe(\"Username for the user. Must be the user's email address and must exactly match the primary email value.\"),\n externalId: z.string().describe(\"External identifier for correlation with IdP records.\").optional(),\n displayName: z.string().describe(\"Full name of the user. Note: Roam auto-generates this from givenName + familyName, so this value may be ignored.\").optional(),\n}).describe(\"Request model for fully replacing (updating) a user via SCIM 2.0.\\nThis performs a full replace operation - all attributes must be provided.\");\nconst RoamReplaceUser_UserNameSchemaSchema = z.object({\n givenName: z.string().describe(\"First name of the user.\").nullable().optional(),\n familyName: z.string().describe(\"Last name of the user.\").nullable().optional(),\n}).passthrough().describe(\"Name response object from SCIM user.\");\nconst RoamReplaceUser_EmailResponseSchema = z.object({\n type: z.string().describe(\"Type of email address.\").nullable().optional(),\n value: z.string().describe(\"Email address.\").nullable().optional(),\n primary: z.boolean().describe(\"Whether this is the primary email.\").nullable().optional(),\n}).passthrough().describe(\"Email response object from SCIM user.\");\nconst RoamReplaceUser_RoamExtensionResponseSchema = z.object({\n role: z.string().describe(\"Role of the user in the organization.\").nullable().optional(),\n}).passthrough().describe(\"Roam-specific SCIM extension response.\");\nexport const RoamReplaceUserOutput = z.object({\n id: z.string().describe(\"Roam's unique Person ID for the replaced user.\").nullable(),\n name: RoamReplaceUser_UserNameSchemaSchema.nullable().optional(),\n active: z.boolean().describe(\"Whether the user account is active.\").nullable().optional(),\n emails: z.array(RoamReplaceUser_EmailResponseSchema).describe(\"List of email addresses for the replaced user.\").nullable().optional(),\n userName: z.string().describe(\"Username (email) of the replaced user.\").nullable().optional(),\n externalId: z.string().describe(\"External identifier if provided during replacement.\").nullable().optional(),\n displayName: z.string().describe(\"Display name of the replaced user (auto-generated from givenName + familyName).\").nullable().optional(),\n roam_extension: RoamReplaceUser_RoamExtensionResponseSchema.nullable().optional(),\n}).passthrough().describe(\"Response model after replacing a user via SCIM 2.0.\");\n\nexport const roamReplaceUser = action(\"ROAM_REPLACE_USER\", {\n slug: \"roam-replace-user\",\n name: \"Replace Roam User\",\n description: \"Fully replaces (updates) a user's attributes in Roam via SCIM 2.0 protocol. Use when you need to update all user attributes at once. This is a full replacement operation - all required fields must be provided. Note: This is a PUT operation that completely replaces the user. For partial updates, use the patch user operation. Password attributes are not supported and will be ignored.\",\n input: RoamReplaceUserInput,\n output: RoamReplaceUserOutput,\n});\n"],"mappings":"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"}
|
|
@@ -14,7 +14,7 @@ const RoamSendMessageInput = zod.z.object({
|
|
|
14
14
|
const RoamSendMessageOutput = zod.z.object({
|
|
15
15
|
status: zod.z.string().describe("Status of the message sending operation").nullable().optional(),
|
|
16
16
|
chat_id: zod.z.string().describe("ID of the chat the message was sent to").nullable().optional()
|
|
17
|
-
});
|
|
17
|
+
}).passthrough();
|
|
18
18
|
const roamSendMessage = require_action.action("ROAM_SEND_MESSAGE", {
|
|
19
19
|
slug: "roam-send-message",
|
|
20
20
|
name: "Send message to group",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.cjs","names":["z","action"],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendMessageInput = z.object({\n text: z.string().describe(\"The message text to send\"),\n sender: z.object({\n id: z.string().describe(\"Sender ID\"),\n name: z.string().describe(\"Sender name\"),\n image_url: z.string().describe(\"Sender image URL\").optional(),\n}).describe(\"Sender info with id, name, and imageUrl fields\").optional(),\n markdown: z.boolean().default(true).describe(\"Text is markdown by default. Set to false to disable markdown interpretation\").optional(),\n recipients: z.array(z.string()).describe(\"Array of recipient UUIDs (currently supports single group). You can obtain the group ID on the Group Settings page.\"),\n});\nexport const RoamSendMessageOutput = z.object({\n status: z.string().describe(\"Status of the message sending operation\").nullable().optional(),\n chat_id: z.string().describe(\"ID of the chat the message was sent to\").nullable().optional(),\n});\n\nexport const roamSendMessage = action(\"ROAM_SEND_MESSAGE\", {\n slug: \"roam-send-message\",\n name: \"Send message to group\",\n description: \"Sends the given message to the specified recipients. At this time, we only support sending to a single group recipient. You can obtain the group ID on the Group Settings page.\",\n input: RoamSendMessageInput,\n output: RoamSendMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQA,IAAAA,EAAE,OAAO;EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACnC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;EACvC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACtI,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH;AAChK,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC;
|
|
1
|
+
{"version":3,"file":"send-message.cjs","names":["z","action"],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendMessageInput = z.object({\n text: z.string().describe(\"The message text to send\"),\n sender: z.object({\n id: z.string().describe(\"Sender ID\"),\n name: z.string().describe(\"Sender name\"),\n image_url: z.string().describe(\"Sender image URL\").optional(),\n}).describe(\"Sender info with id, name, and imageUrl fields\").optional(),\n markdown: z.boolean().default(true).describe(\"Text is markdown by default. Set to false to disable markdown interpretation\").optional(),\n recipients: z.array(z.string()).describe(\"Array of recipient UUIDs (currently supports single group). You can obtain the group ID on the Group Settings page.\"),\n});\nexport const RoamSendMessageOutput = z.object({\n status: z.string().describe(\"Status of the message sending operation\").nullable().optional(),\n chat_id: z.string().describe(\"ID of the chat the message was sent to\").nullable().optional(),\n}).passthrough();\n\nexport const roamSendMessage = action(\"ROAM_SEND_MESSAGE\", {\n slug: \"roam-send-message\",\n name: \"Send message to group\",\n description: \"Sends the given message to the specified recipients. At this time, we only support sending to a single group recipient. You can obtain the group ID on the Group Settings page.\",\n input: RoamSendMessageInput,\n output: RoamSendMessageOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;CACpD,QAAQA,IAAAA,EAAE,OAAO;EACjB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;EACnC,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;EACvC,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC9D,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;CACrE,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;CACtI,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH;AAChK,CAAC;AACD,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY;AAEf,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ declare const RoamSendMessageInput: z.ZodObject<{
|
|
|
14
14
|
declare const RoamSendMessageOutput: z.ZodObject<{
|
|
15
15
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
chat_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const roamSendMessage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
text: string;
|
|
20
20
|
recipients: string[];
|
|
@@ -24,7 +24,19 @@ declare const roamSendMessage: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
24
24
|
image_url?: string | undefined;
|
|
25
25
|
} | undefined;
|
|
26
26
|
markdown?: boolean | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
34
|
+
connectionId: z.ZodString;
|
|
35
|
+
entityId: z.ZodString;
|
|
36
|
+
instanceId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
accessToken: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>;
|
|
28
40
|
//#endregion
|
|
29
41
|
export { roamSendMessage };
|
|
30
42
|
//# sourceMappingURL=send-message.d.cts.map
|
|
@@ -14,7 +14,7 @@ declare const RoamSendMessageInput: z.ZodObject<{
|
|
|
14
14
|
declare const RoamSendMessageOutput: z.ZodObject<{
|
|
15
15
|
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
chat_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const roamSendMessage: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
text: string;
|
|
20
20
|
recipients: string[];
|
|
@@ -24,7 +24,19 @@ declare const roamSendMessage: import("@keystrokehq/action").WorkflowActionDefin
|
|
|
24
24
|
image_url?: string | undefined;
|
|
25
25
|
} | undefined;
|
|
26
26
|
markdown?: boolean | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
27
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
28
|
+
connectionId: z.ZodString;
|
|
29
|
+
entityId: z.ZodString;
|
|
30
|
+
instanceId: z.ZodString;
|
|
31
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
+
accessToken: z.ZodString;
|
|
33
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
34
|
+
connectionId: z.ZodString;
|
|
35
|
+
entityId: z.ZodString;
|
|
36
|
+
instanceId: z.ZodString;
|
|
37
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
+
accessToken: z.ZodString;
|
|
39
|
+
}, z.core.$strip>>]>;
|
|
28
40
|
//#endregion
|
|
29
41
|
export { roamSendMessage };
|
|
30
42
|
//# sourceMappingURL=send-message.d.mts.map
|
|
@@ -17,7 +17,7 @@ const roamSendMessage = action("ROAM_SEND_MESSAGE", {
|
|
|
17
17
|
output: z.object({
|
|
18
18
|
status: z.string().describe("Status of the message sending operation").nullable().optional(),
|
|
19
19
|
chat_id: z.string().describe("ID of the chat the message was sent to").nullable().optional()
|
|
20
|
-
})
|
|
20
|
+
}).passthrough()
|
|
21
21
|
});
|
|
22
22
|
//#endregion
|
|
23
23
|
export { roamSendMessage };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-message.mjs","names":[],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendMessageInput = z.object({\n text: z.string().describe(\"The message text to send\"),\n sender: z.object({\n id: z.string().describe(\"Sender ID\"),\n name: z.string().describe(\"Sender name\"),\n image_url: z.string().describe(\"Sender image URL\").optional(),\n}).describe(\"Sender info with id, name, and imageUrl fields\").optional(),\n markdown: z.boolean().default(true).describe(\"Text is markdown by default. Set to false to disable markdown interpretation\").optional(),\n recipients: z.array(z.string()).describe(\"Array of recipient UUIDs (currently supports single group). You can obtain the group ID on the Group Settings page.\"),\n});\nexport const RoamSendMessageOutput = z.object({\n status: z.string().describe(\"Status of the message sending operation\").nullable().optional(),\n chat_id: z.string().describe(\"ID of the chat the message was sent to\").nullable().optional(),\n});\n\nexport const roamSendMessage = action(\"ROAM_SEND_MESSAGE\", {\n slug: \"roam-send-message\",\n name: \"Send message to group\",\n description: \"Sends the given message to the specified recipients. At this time, we only support sending to a single group recipient. You can obtain the group ID on the Group Settings page.\",\n input: RoamSendMessageInput,\n output: RoamSendMessageOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,QAAQ,EAAE,OAAO;GACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;GACnC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;GACvC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC9D,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH;CAChK,CAUS;CACP,QAVmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,
|
|
1
|
+
{"version":3,"file":"send-message.mjs","names":[],"sources":["../../src/actions/send-message.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendMessageInput = z.object({\n text: z.string().describe(\"The message text to send\"),\n sender: z.object({\n id: z.string().describe(\"Sender ID\"),\n name: z.string().describe(\"Sender name\"),\n image_url: z.string().describe(\"Sender image URL\").optional(),\n}).describe(\"Sender info with id, name, and imageUrl fields\").optional(),\n markdown: z.boolean().default(true).describe(\"Text is markdown by default. Set to false to disable markdown interpretation\").optional(),\n recipients: z.array(z.string()).describe(\"Array of recipient UUIDs (currently supports single group). You can obtain the group ID on the Group Settings page.\"),\n});\nexport const RoamSendMessageOutput = z.object({\n status: z.string().describe(\"Status of the message sending operation\").nullable().optional(),\n chat_id: z.string().describe(\"ID of the chat the message was sent to\").nullable().optional(),\n}).passthrough();\n\nexport const roamSendMessage = action(\"ROAM_SEND_MESSAGE\", {\n slug: \"roam-send-message\",\n name: \"Send message to group\",\n description: \"Sends the given message to the specified recipients. At this time, we only support sending to a single group recipient. You can obtain the group ID on the Group Settings page.\",\n input: RoamSendMessageInput,\n output: RoamSendMessageOutput,\n});\n"],"mappings":";;AAmBA,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAnBkC,EAAE,OAAO;EAC3C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B;EACpD,QAAQ,EAAE,OAAO;GACjB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,WAAW;GACnC,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa;GACvC,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC9D,CAAC,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS;EACrE,UAAU,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS;EACtI,YAAY,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,qHAAqH;CAChK,CAUS;CACP,QAVmC,EAAE,OAAO;EAC5C,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3F,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAOO;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const RoamSendTypingInput = zod.z.object({ user_ids: zod.z.array(zod.z.string())
|
|
|
5
5
|
const RoamSendTypingOutput = zod.z.object({
|
|
6
6
|
success: zod.z.boolean().describe("Whether the typing indicator was sent successfully.").nullable(),
|
|
7
7
|
status_code: zod.z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
8
|
-
}).describe("Response schema for the typing indicator endpoint.");
|
|
8
|
+
}).passthrough().describe("Response schema for the typing indicator endpoint.");
|
|
9
9
|
const roamSendTyping = require_action.action("ROAM_SEND_TYPING", {
|
|
10
10
|
slug: "roam-send-typing",
|
|
11
11
|
name: "Send Typing Indicator",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-typing.cjs","names":["z","action"],"sources":["../../src/actions/send-typing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendTypingInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to notify that you are typing. These are the recipients of the typing indicator.\"),\n}).describe(\"Request parameters for sending a typing indicator to chat participants.\");\nexport const RoamSendTypingOutput = z.object({\n success: z.boolean().describe(\"Whether the typing indicator was sent successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Response schema for the typing indicator endpoint.\");\n\nexport const roamSendTyping = action(\"ROAM_SEND_TYPING\", {\n slug: \"roam-send-typing\",\n name: \"Send Typing Indicator\",\n description: \"Tool to notify other chat participants that you are typing. Use when you want to show a typing indicator to one or more users in a chat conversation. This is typically used before sending a message to let recipients know you're composing a response.\",\n input: RoamSendTypingInput,\n output: RoamSendTypingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,EAC5I,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"send-typing.cjs","names":["z","action"],"sources":["../../src/actions/send-typing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendTypingInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to notify that you are typing. These are the recipients of the typing indicator.\"),\n}).describe(\"Request parameters for sending a typing indicator to chat participants.\");\nexport const RoamSendTypingOutput = z.object({\n success: z.boolean().describe(\"Whether the typing indicator was sent successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response schema for the typing indicator endpoint.\");\n\nexport const roamSendTyping = action(\"ROAM_SEND_TYPING\", {\n slug: \"roam-send-typing\",\n name: \"Send Typing Indicator\",\n description: \"Tool to notify other chat participants that you are typing. Use when you want to show a typing indicator to one or more users in a chat conversation. This is typically used before sending a message to let recipients know you're composing a response.\",\n input: RoamSendTypingInput,\n output: RoamSendTypingOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO,EAC1C,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,EAC5I,CAAC,CAAC,CAAC,SAAS,yEAAyE;AACrF,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,10 +7,22 @@ declare const RoamSendTypingInput: z.ZodObject<{
|
|
|
7
7
|
declare const RoamSendTypingOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
9
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const roamSendTyping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
user_ids: string[];
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
14
|
+
connectionId: z.ZodString;
|
|
15
|
+
entityId: z.ZodString;
|
|
16
|
+
instanceId: z.ZodString;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
accessToken: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
accessToken: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>]>;
|
|
14
26
|
//#endregion
|
|
15
27
|
export { roamSendTyping };
|
|
16
28
|
//# sourceMappingURL=send-typing.d.cts.map
|
|
@@ -7,10 +7,22 @@ declare const RoamSendTypingInput: z.ZodObject<{
|
|
|
7
7
|
declare const RoamSendTypingOutput: z.ZodObject<{
|
|
8
8
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
9
9
|
status_code: z.ZodNullable<z.ZodNumber>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const roamSendTyping: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
user_ids: string[];
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
14
|
+
connectionId: z.ZodString;
|
|
15
|
+
entityId: z.ZodString;
|
|
16
|
+
instanceId: z.ZodString;
|
|
17
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
18
|
+
accessToken: z.ZodString;
|
|
19
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
20
|
+
connectionId: z.ZodString;
|
|
21
|
+
entityId: z.ZodString;
|
|
22
|
+
instanceId: z.ZodString;
|
|
23
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
+
accessToken: z.ZodString;
|
|
25
|
+
}, z.core.$strip>>]>;
|
|
14
26
|
//#endregion
|
|
15
27
|
export { roamSendTyping };
|
|
16
28
|
//# sourceMappingURL=send-typing.d.mts.map
|
|
@@ -8,7 +8,7 @@ const roamSendTyping = action("ROAM_SEND_TYPING", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
success: z.boolean().describe("Whether the typing indicator was sent successfully.").nullable(),
|
|
10
10
|
status_code: z.number().int().describe("HTTP status code returned by the API.").nullable()
|
|
11
|
-
}).describe("Response schema for the typing indicator endpoint.")
|
|
11
|
+
}).passthrough().describe("Response schema for the typing indicator endpoint.")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { roamSendTyping };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"send-typing.mjs","names":[],"sources":["../../src/actions/send-typing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendTypingInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to notify that you are typing. These are the recipients of the typing indicator.\"),\n}).describe(\"Request parameters for sending a typing indicator to chat participants.\");\nexport const RoamSendTypingOutput = z.object({\n success: z.boolean().describe(\"Whether the typing indicator was sent successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).describe(\"Response schema for the typing indicator endpoint.\");\n\nexport const roamSendTyping = action(\"ROAM_SEND_TYPING\", {\n slug: \"roam-send-typing\",\n name: \"Send Typing Indicator\",\n description: \"Tool to notify other chat participants that you are typing. Use when you want to show a typing indicator to one or more users in a chat conversation. This is typically used before sending a message to let recipients know you're composing a response.\",\n input: RoamSendTypingInput,\n output: RoamSendTypingOutput,\n});\n"],"mappings":";;AAYA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiC,EAAE,OAAO,EAC1C,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,EAC5I,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAVkC,EAAE,OAAO;EAC3C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"send-typing.mjs","names":[],"sources":["../../src/actions/send-typing.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamSendTypingInput = z.object({\n user_ids: z.array(z.string()).describe(\"List of user IDs to notify that you are typing. These are the recipients of the typing indicator.\"),\n}).describe(\"Request parameters for sending a typing indicator to chat participants.\");\nexport const RoamSendTypingOutput = z.object({\n success: z.boolean().describe(\"Whether the typing indicator was sent successfully.\").nullable(),\n status_code: z.number().int().describe(\"HTTP status code returned by the API.\").nullable(),\n}).passthrough().describe(\"Response schema for the typing indicator endpoint.\");\n\nexport const roamSendTyping = action(\"ROAM_SEND_TYPING\", {\n slug: \"roam-send-typing\",\n name: \"Send Typing Indicator\",\n description: \"Tool to notify other chat participants that you are typing. Use when you want to show a typing indicator to one or more users in a chat conversation. This is typically used before sending a message to let recipients know you're composing a response.\",\n input: RoamSendTypingInput,\n output: RoamSendTypingOutput,\n});\n"],"mappings":";;AAYA,MAAa,iBAAiB,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZiC,EAAE,OAAO,EAC1C,UAAU,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mGAAmG,EAC5I,CAAC,CAAC,CAAC,SAAS,yEAUH;CACP,QAVkC,EAAE,OAAO;EAC3C,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;EAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const RoamUpdateMeetingLinkInput = zod.z.object({
|
|
|
8
8
|
name: zod.z.string().describe("The new name for the meeting"),
|
|
9
9
|
start: zod.z.string().describe("Meeting start time in RFC3339 format (e.g., 2024-01-15T10:00:00Z)").optional()
|
|
10
10
|
});
|
|
11
|
-
const RoamUpdateMeetingLinkOutput = zod.z.
|
|
11
|
+
const RoamUpdateMeetingLinkOutput = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Response model for updating a meeting link. Returns empty on success (204 No Content).");
|
|
12
12
|
const roamUpdateMeetingLink = require_action.action("ROAM_UPDATE_MEETING_LINK", {
|
|
13
13
|
slug: "roam-update-meeting-link",
|
|
14
14
|
name: "Update a meeting link",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-meeting-link.cjs","names":["z","action"],"sources":["../../src/actions/update-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamUpdateMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier of the meeting link to update (UUID)\"),\n end: z.string().describe(\"Meeting end time in RFC3339 format (e.g., 2024-01-15T11:00:00Z)\").optional(),\n host: z.string().describe(\"The email address of the meeting host. Cannot be updated; must match existing value if provided.\").optional(),\n name: z.string().describe(\"The new name for the meeting\"),\n start: z.string().describe(\"Meeting start time in RFC3339 format (e.g., 2024-01-15T10:00:00Z)\").optional(),\n});\nexport const RoamUpdateMeetingLinkOutput = z.
|
|
1
|
+
{"version":3,"file":"update-meeting-link.cjs","names":["z","action"],"sources":["../../src/actions/update-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamUpdateMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier of the meeting link to update (UUID)\"),\n end: z.string().describe(\"Meeting end time in RFC3339 format (e.g., 2024-01-15T11:00:00Z)\").optional(),\n host: z.string().describe(\"The email address of the meeting host. Cannot be updated; must match existing value if provided.\").optional(),\n name: z.string().describe(\"The new name for the meeting\"),\n start: z.string().describe(\"Meeting start time in RFC3339 format (e.g., 2024-01-15T10:00:00Z)\").optional(),\n});\nexport const RoamUpdateMeetingLinkOutput = z.record(z.string(), z.unknown()).describe(\"Response model for updating a meeting link. Returns empty on success (204 No Content).\");\n\nexport const roamUpdateMeetingLink = action(\"ROAM_UPDATE_MEETING_LINK\", {\n slug: \"roam-update-meeting-link\",\n name: \"Update a meeting link\",\n description: \"Update settings for an existing meeting link in Roam. Use this action when you need to modify the name, start time, or end time of an existing meeting link. The meeting link ID is required to identify which meeting to update. Note: The host field cannot be updated; if provided, it must match the existing value. Returns 204 No Content on success.\",\n input: RoamUpdateMeetingLinkInput,\n output: RoamUpdateMeetingLinkOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;CACpF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;CACrG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;CACxD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;AAC3G,CAAC;AACD,MAAa,8BAA8BA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAAwF;AAE9K,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,14 +8,26 @@ declare const RoamUpdateMeetingLinkInput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
start: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
-
declare const RoamUpdateMeetingLinkOutput: z.
|
|
11
|
+
declare const RoamUpdateMeetingLinkOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
12
|
declare const roamUpdateMeetingLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
15
15
|
end?: string | undefined;
|
|
16
16
|
host?: string | undefined;
|
|
17
17
|
start?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>;
|
|
19
31
|
//#endregion
|
|
20
32
|
export { roamUpdateMeetingLink };
|
|
21
33
|
//# sourceMappingURL=update-meeting-link.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-meeting-link.d.cts","names":[],"sources":["../../src/actions/update-meeting-link.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"update-meeting-link.d.cts","names":[],"sources":["../../src/actions/update-meeting-link.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -8,14 +8,26 @@ declare const RoamUpdateMeetingLinkInput: z.ZodObject<{
|
|
|
8
8
|
name: z.ZodString;
|
|
9
9
|
start: z.ZodOptional<z.ZodString>;
|
|
10
10
|
}, z.core.$strip>;
|
|
11
|
-
declare const RoamUpdateMeetingLinkOutput: z.
|
|
11
|
+
declare const RoamUpdateMeetingLinkOutput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
12
12
|
declare const roamUpdateMeetingLink: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
id: string;
|
|
14
14
|
name: string;
|
|
15
15
|
end?: string | undefined;
|
|
16
16
|
host?: string | undefined;
|
|
17
17
|
start?: string | undefined;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
18
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
19
|
+
connectionId: z.ZodString;
|
|
20
|
+
entityId: z.ZodString;
|
|
21
|
+
instanceId: z.ZodString;
|
|
22
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
+
accessToken: z.ZodString;
|
|
24
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"roam", z.ZodObject<{
|
|
25
|
+
connectionId: z.ZodString;
|
|
26
|
+
entityId: z.ZodString;
|
|
27
|
+
instanceId: z.ZodString;
|
|
28
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
+
accessToken: z.ZodString;
|
|
30
|
+
}, z.core.$strip>>]>;
|
|
19
31
|
//#endregion
|
|
20
32
|
export { roamUpdateMeetingLink };
|
|
21
33
|
//# sourceMappingURL=update-meeting-link.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-meeting-link.d.mts","names":[],"sources":["../../src/actions/update-meeting-link.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,
|
|
1
|
+
{"version":3,"file":"update-meeting-link.d.mts","names":[],"sources":["../../src/actions/update-meeting-link.ts"],"mappings":";;;cAIa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;cAO1B,2BAAA,EAA2B,CAAA,CAAA,SAAA,CAAA,CAAA,CAAA,SAAA,EAAA,CAAA,CAAA,UAAA;AAAA,cAE3B,qBAAA,gCAAqB,wBAAA"}
|
|
@@ -11,7 +11,7 @@ const roamUpdateMeetingLink = action("ROAM_UPDATE_MEETING_LINK", {
|
|
|
11
11
|
name: z.string().describe("The new name for the meeting"),
|
|
12
12
|
start: z.string().describe("Meeting start time in RFC3339 format (e.g., 2024-01-15T10:00:00Z)").optional()
|
|
13
13
|
}),
|
|
14
|
-
output: z.
|
|
14
|
+
output: z.record(z.string(), z.unknown()).describe("Response model for updating a meeting link. Returns empty on success (204 No Content).")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { roamUpdateMeetingLink };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-meeting-link.mjs","names":[],"sources":["../../src/actions/update-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamUpdateMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier of the meeting link to update (UUID)\"),\n end: z.string().describe(\"Meeting end time in RFC3339 format (e.g., 2024-01-15T11:00:00Z)\").optional(),\n host: z.string().describe(\"The email address of the meeting host. Cannot be updated; must match existing value if provided.\").optional(),\n name: z.string().describe(\"The new name for the meeting\"),\n start: z.string().describe(\"Meeting start time in RFC3339 format (e.g., 2024-01-15T10:00:00Z)\").optional(),\n});\nexport const RoamUpdateMeetingLinkOutput = z.
|
|
1
|
+
{"version":3,"file":"update-meeting-link.mjs","names":[],"sources":["../../src/actions/update-meeting-link.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamUpdateMeetingLinkInput = z.object({\n id: z.string().describe(\"The unique identifier of the meeting link to update (UUID)\"),\n end: z.string().describe(\"Meeting end time in RFC3339 format (e.g., 2024-01-15T11:00:00Z)\").optional(),\n host: z.string().describe(\"The email address of the meeting host. Cannot be updated; must match existing value if provided.\").optional(),\n name: z.string().describe(\"The new name for the meeting\"),\n start: z.string().describe(\"Meeting start time in RFC3339 format (e.g., 2024-01-15T10:00:00Z)\").optional(),\n});\nexport const RoamUpdateMeetingLinkOutput = z.record(z.string(), z.unknown()).describe(\"Response model for updating a meeting link. Returns empty on success (204 No Content).\");\n\nexport const roamUpdateMeetingLink = action(\"ROAM_UPDATE_MEETING_LINK\", {\n slug: \"roam-update-meeting-link\",\n name: \"Update a meeting link\",\n description: \"Update settings for an existing meeting link in Roam. Use this action when you need to modify the name, start time, or end time of an existing meeting link. The meeting link ID is required to identify which meeting to update. Note: The host field cannot be updated; if provided, it must match the existing value. Returns 204 No Content on success.\",\n input: RoamUpdateMeetingLinkInput,\n output: RoamUpdateMeetingLinkOutput,\n});\n"],"mappings":";;AAaA,MAAa,wBAAwB,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbwC,EAAE,OAAO;EACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4DAA4D;EACpF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS;EACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B;EACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS;CAC3G,CAOS;CACP,QAPyC,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,wFAO5E;AACV,CAAC"}
|
|
@@ -19,7 +19,7 @@ const RoamUploadItemOutput = zod.z.object({
|
|
|
19
19
|
height: zod.z.number().int().describe("Image height in pixels (only for image files).").nullable().optional(),
|
|
20
20
|
created: zod.z.string().describe("Timestamp of when the item was uploaded.").nullable().optional(),
|
|
21
21
|
thumbnail: zod.z.string().describe("Thumbnail URL for image preview (only for image files).").nullable().optional()
|
|
22
|
-
}).describe("Response schema for item upload.");
|
|
22
|
+
}).passthrough().describe("Response schema for item upload.");
|
|
23
23
|
const roamUploadItem = require_action.action("ROAM_UPLOAD_ITEM", {
|
|
24
24
|
slug: "roam-upload-item",
|
|
25
25
|
name: "Upload File to Roam",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upload-item.cjs","names":["z","action"],"sources":["../../src/actions/upload-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamUploadItemInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to upload to Roam. The file name should match the filename to use (for example, 'document.pdf' or 'image.jpg').\"),\n filename: z.string().describe(\"Custom filename for the uploaded file. If not provided, the original filename from the FileUploadable object will be used.\").optional(),\n}).describe(\"Request parameters for uploading an item to Roam.\");\nexport const RoamUploadItemOutput = z.object({\n id: z.string().describe(\"The unique item identifier (UUID) for the uploaded file. Use this ID when sending the file as a chat attachment.\").nullable().optional(),\n url: z.string().describe(\"The URL to access the uploaded file.\").nullable().optional(),\n name: z.string().describe(\"The filename of the uploaded file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n type: z.string().describe(\"The item type (e.g., 'photo', 'file').\").nullable().optional(),\n width: z.number().int().describe(\"Image width in pixels (only for image files).\").nullable().optional(),\n height: z.number().int().describe(\"Image height in pixels (only for image files).\").nullable().optional(),\n created: z.string().describe(\"Timestamp of when the item was uploaded.\").nullable().optional(),\n thumbnail: z.string().describe(\"Thumbnail URL for image preview (only for image files).\").nullable().optional(),\n}).describe(\"Response schema for item upload.\");\n\nexport const roamUploadItem = action(\"ROAM_UPLOAD_ITEM\", {\n slug: \"roam-upload-item\",\n name: \"Upload File to Roam\",\n description: \"Upload a file to Roam so it can be sent as a chat attachment. Use when you need to upload a file, image, or document to Roam before sending it in a chat message. Returns an item ID that can be used with the chat.post endpoint. Supported file types: - Images (image/png, image/jpeg, image/gif, image/webp): Displayed inline with preview thumbnail - Other files (application/octet-stream): Download link only Maximum file size: 10 MB\",\n input: RoamUploadItemInput,\n output: RoamUploadItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,0HAA0H;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,SAAS,kCAAkC;
|
|
1
|
+
{"version":3,"file":"upload-item.cjs","names":["z","action"],"sources":["../../src/actions/upload-item.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const RoamUploadItemInput = z.object({\n file: z.object({\n name: z.string().describe(\"The filename that will be used when uploading the file to the destination service\"),\n s3key: z.string().describe(\"The S3 key of a publicly accessible file, typically returned from a previous download action that stored the file in S3. This key references an existing file that can be uploaded to another service.\"),\n mimetype: z.string().describe(\"The MIME type of the file\"),\n}).describe(\"The file to upload to Roam. The file name should match the filename to use (for example, 'document.pdf' or 'image.jpg').\"),\n filename: z.string().describe(\"Custom filename for the uploaded file. If not provided, the original filename from the FileUploadable object will be used.\").optional(),\n}).describe(\"Request parameters for uploading an item to Roam.\");\nexport const RoamUploadItemOutput = z.object({\n id: z.string().describe(\"The unique item identifier (UUID) for the uploaded file. Use this ID when sending the file as a chat attachment.\").nullable().optional(),\n url: z.string().describe(\"The URL to access the uploaded file.\").nullable().optional(),\n name: z.string().describe(\"The filename of the uploaded file.\").nullable().optional(),\n size: z.number().int().describe(\"File size in bytes.\").nullable().optional(),\n type: z.string().describe(\"The item type (e.g., 'photo', 'file').\").nullable().optional(),\n width: z.number().int().describe(\"Image width in pixels (only for image files).\").nullable().optional(),\n height: z.number().int().describe(\"Image height in pixels (only for image files).\").nullable().optional(),\n created: z.string().describe(\"Timestamp of when the item was uploaded.\").nullable().optional(),\n thumbnail: z.string().describe(\"Thumbnail URL for image preview (only for image files).\").nullable().optional(),\n}).passthrough().describe(\"Response schema for item upload.\");\n\nexport const roamUploadItem = action(\"ROAM_UPLOAD_ITEM\", {\n slug: \"roam-upload-item\",\n name: \"Upload File to Roam\",\n description: \"Upload a file to Roam so it can be sent as a chat attachment. Use when you need to upload a file, image, or document to Roam before sending it in a chat message. Returns an item ID that can be used with the chat.post endpoint. Supported file types: - Images (image/png, image/jpeg, image/gif, image/webp): Displayed inline with preview thumbnail - Other files (application/octet-stream): Download link only Maximum file size: 10 MB\",\n input: RoamUploadItemInput,\n output: RoamUploadItemOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO;EACf,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mFAAmF;EAC7G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wMAAwM;EACnO,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B;CAC3D,CAAC,CAAC,CAAC,SAAS,0HAA0H;CACpI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kHAAkH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChK,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kCAAkC;AAE5D,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|