@keystrokehq/mural 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/authorization-request.cjs +1 -1
- package/dist/actions/authorization-request.cjs.map +1 -1
- package/dist/actions/authorization-request.d.cts +17 -3
- package/dist/actions/authorization-request.d.cts.map +1 -1
- package/dist/actions/authorization-request.d.mts +17 -3
- package/dist/actions/authorization-request.d.mts.map +1 -1
- package/dist/actions/authorization-request.mjs +1 -1
- package/dist/actions/authorization-request.mjs.map +1 -1
- package/dist/actions/create-sticky-note.cjs +10 -10
- package/dist/actions/create-sticky-note.cjs.map +1 -1
- package/dist/actions/create-sticky-note.d.cts +93 -3
- package/dist/actions/create-sticky-note.d.cts.map +1 -1
- package/dist/actions/create-sticky-note.d.mts +93 -3
- package/dist/actions/create-sticky-note.d.mts.map +1 -1
- package/dist/actions/create-sticky-note.mjs +10 -10
- package/dist/actions/create-sticky-note.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +8 -8
- package/dist/actions/get-current-user.cjs.map +1 -1
- package/dist/actions/get-current-user.d.cts +12 -3
- package/dist/actions/get-current-user.d.cts.map +1 -1
- package/dist/actions/get-current-user.d.mts +12 -3
- package/dist/actions/get-current-user.d.mts.map +1 -1
- package/dist/actions/get-current-user.mjs +8 -8
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-files-for-mural.cjs +17 -17
- package/dist/actions/get-files-for-mural.cjs.map +1 -1
- package/dist/actions/get-files-for-mural.d.cts +53 -3
- package/dist/actions/get-files-for-mural.d.cts.map +1 -1
- package/dist/actions/get-files-for-mural.d.mts +53 -3
- package/dist/actions/get-files-for-mural.d.mts.map +1 -1
- package/dist/actions/get-files-for-mural.mjs +17 -17
- package/dist/actions/get-files-for-mural.mjs.map +1 -1
- package/dist/actions/get-mural-widgets.cjs +6 -6
- package/dist/actions/get-mural-widgets.cjs.map +1 -1
- package/dist/actions/get-mural-widgets.d.cts +51 -3
- package/dist/actions/get-mural-widgets.d.cts.map +1 -1
- package/dist/actions/get-mural-widgets.d.mts +51 -3
- package/dist/actions/get-mural-widgets.d.mts.map +1 -1
- package/dist/actions/get-mural-widgets.mjs +6 -6
- package/dist/actions/get-mural-widgets.mjs.map +1 -1
- package/dist/actions/get-room.cjs +4 -4
- package/dist/actions/get-room.cjs.map +1 -1
- package/dist/actions/get-room.d.cts +18 -3
- package/dist/actions/get-room.d.cts.map +1 -1
- package/dist/actions/get-room.d.mts +18 -3
- package/dist/actions/get-room.d.mts.map +1 -1
- package/dist/actions/get-room.mjs +4 -4
- package/dist/actions/get-room.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +2 -2
- package/dist/actions/get-workspace.cjs.map +1 -1
- package/dist/actions/get-workspace.d.cts +13 -3
- package/dist/actions/get-workspace.d.cts.map +1 -1
- package/dist/actions/get-workspace.d.mts +13 -3
- package/dist/actions/get-workspace.d.mts.map +1 -1
- package/dist/actions/get-workspace.mjs +2 -2
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/get-workspaces.cjs +2 -2
- package/dist/actions/get-workspaces.cjs.map +1 -1
- package/dist/actions/get-workspaces.d.cts +18 -3
- package/dist/actions/get-workspaces.d.cts.map +1 -1
- package/dist/actions/get-workspaces.d.mts +18 -3
- package/dist/actions/get-workspaces.d.mts.map +1 -1
- package/dist/actions/get-workspaces.mjs +2 -2
- package/dist/actions/get-workspaces.mjs.map +1 -1
- package/dist/actions/list-folders.cjs +3 -3
- package/dist/actions/list-folders.cjs.map +1 -1
- package/dist/actions/list-folders.d.cts +20 -3
- package/dist/actions/list-folders.d.cts.map +1 -1
- package/dist/actions/list-folders.d.mts +20 -3
- package/dist/actions/list-folders.d.mts.map +1 -1
- package/dist/actions/list-folders.mjs +3 -3
- package/dist/actions/list-folders.mjs.map +1 -1
- package/dist/actions/list-open-rooms.cjs +4 -4
- package/dist/actions/list-open-rooms.cjs.map +1 -1
- package/dist/actions/list-open-rooms.d.cts +25 -3
- package/dist/actions/list-open-rooms.d.cts.map +1 -1
- package/dist/actions/list-open-rooms.d.mts +25 -3
- package/dist/actions/list-open-rooms.d.mts.map +1 -1
- package/dist/actions/list-open-rooms.mjs +4 -4
- package/dist/actions/list-open-rooms.mjs.map +1 -1
- package/dist/actions/list-recent-murals.cjs +1 -1
- package/dist/actions/list-recent-murals.cjs.map +1 -1
- package/dist/actions/list-recent-murals.d.cts +26 -3
- package/dist/actions/list-recent-murals.d.cts.map +1 -1
- package/dist/actions/list-recent-murals.d.mts +26 -3
- package/dist/actions/list-recent-murals.d.mts.map +1 -1
- package/dist/actions/list-recent-murals.mjs +1 -1
- package/dist/actions/list-recent-murals.mjs.map +1 -1
- package/dist/actions/list-recent-templates.cjs.map +1 -1
- package/dist/actions/list-recent-templates.d.cts +25 -3
- package/dist/actions/list-recent-templates.d.cts.map +1 -1
- package/dist/actions/list-recent-templates.d.mts +25 -3
- package/dist/actions/list-recent-templates.d.mts.map +1 -1
- package/dist/actions/list-recent-templates.mjs.map +1 -1
- package/dist/actions/list-room-murals.cjs +1 -1
- package/dist/actions/list-room-murals.cjs.map +1 -1
- package/dist/actions/list-room-murals.d.cts +37 -3
- package/dist/actions/list-room-murals.d.cts.map +1 -1
- package/dist/actions/list-room-murals.d.mts +37 -3
- package/dist/actions/list-room-murals.d.mts.map +1 -1
- package/dist/actions/list-room-murals.mjs +1 -1
- package/dist/actions/list-room-murals.mjs.map +1 -1
- package/dist/actions/list-room-users.cjs +4 -4
- package/dist/actions/list-room-users.cjs.map +1 -1
- package/dist/actions/list-room-users.d.cts +22 -3
- package/dist/actions/list-room-users.d.cts.map +1 -1
- package/dist/actions/list-room-users.d.mts +22 -3
- package/dist/actions/list-room-users.d.mts.map +1 -1
- package/dist/actions/list-room-users.mjs +4 -4
- package/dist/actions/list-room-users.mjs.map +1 -1
- package/dist/actions/list-rooms.cjs +4 -4
- package/dist/actions/list-rooms.cjs.map +1 -1
- package/dist/actions/list-rooms.d.cts +25 -3
- package/dist/actions/list-rooms.d.cts.map +1 -1
- package/dist/actions/list-rooms.d.mts +25 -3
- package/dist/actions/list-rooms.d.mts.map +1 -1
- package/dist/actions/list-rooms.mjs +4 -4
- package/dist/actions/list-rooms.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +2 -2
- package/dist/actions/list-tags.cjs.map +1 -1
- package/dist/actions/list-tags.d.cts +15 -3
- package/dist/actions/list-tags.d.cts.map +1 -1
- package/dist/actions/list-tags.d.mts +15 -3
- package/dist/actions/list-tags.d.mts.map +1 -1
- package/dist/actions/list-tags.mjs +2 -2
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +2 -2
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +18 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +18 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +2 -2
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-workspace-murals.cjs +1 -1
- package/dist/actions/list-workspace-murals.cjs.map +1 -1
- package/dist/actions/list-workspace-murals.d.cts +34 -3
- package/dist/actions/list-workspace-murals.d.cts.map +1 -1
- package/dist/actions/list-workspace-murals.d.mts +34 -3
- package/dist/actions/list-workspace-murals.d.mts.map +1 -1
- package/dist/actions/list-workspace-murals.mjs +1 -1
- package/dist/actions/list-workspace-murals.mjs.map +1 -1
- package/dist/actions/list-workspace-templates.cjs +1 -1
- package/dist/actions/list-workspace-templates.cjs.map +1 -1
- package/dist/actions/list-workspace-templates.d.cts +26 -3
- package/dist/actions/list-workspace-templates.d.cts.map +1 -1
- package/dist/actions/list-workspace-templates.d.mts +26 -3
- package/dist/actions/list-workspace-templates.d.mts.map +1 -1
- package/dist/actions/list-workspace-templates.mjs +1 -1
- package/dist/actions/list-workspace-templates.mjs.map +1 -1
- package/dist/actions/search-murals.cjs +1 -1
- package/dist/actions/search-murals.cjs.map +1 -1
- package/dist/actions/search-murals.d.cts +27 -3
- package/dist/actions/search-murals.d.cts.map +1 -1
- package/dist/actions/search-murals.d.mts +27 -3
- package/dist/actions/search-murals.d.mts.map +1 -1
- package/dist/actions/search-murals.mjs +1 -1
- package/dist/actions/search-murals.mjs.map +1 -1
- package/dist/actions/search-rooms.cjs +4 -4
- package/dist/actions/search-rooms.cjs.map +1 -1
- package/dist/actions/search-rooms.d.cts +27 -3
- package/dist/actions/search-rooms.d.cts.map +1 -1
- package/dist/actions/search-rooms.d.mts +27 -3
- package/dist/actions/search-rooms.d.mts.map +1 -1
- package/dist/actions/search-rooms.mjs +4 -4
- package/dist/actions/search-rooms.mjs.map +1 -1
- package/dist/actions/search-templates.cjs +2 -2
- package/dist/actions/search-templates.cjs.map +1 -1
- package/dist/actions/search-templates.d.cts +23 -3
- package/dist/actions/search-templates.d.cts.map +1 -1
- package/dist/actions/search-templates.d.mts +23 -3
- package/dist/actions/search-templates.d.mts.map +1 -1
- package/dist/actions/search-templates.mjs +2 -2
- package/dist/actions/search-templates.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -19,18 +19,18 @@ const MuralGetMuralWidgetsInput = z.object({
|
|
|
19
19
|
parentId: z.string().describe("Filter to return only widgets contained within the specified parent widget ID (typically an area widget).").optional()
|
|
20
20
|
}).describe("Request model for retrieving widgets within a mural.");
|
|
21
21
|
const MuralGetMuralWidgets_CollaboratorSchema = z.object({
|
|
22
|
-
id: z.string().describe("Unique identifier of the collaborator"),
|
|
22
|
+
id: z.string().describe("Unique identifier of the collaborator").nullable(),
|
|
23
23
|
lastName: z.string().describe("Last name of the collaborator").nullable().optional(),
|
|
24
24
|
firstName: z.string().describe("First name of the collaborator").nullable().optional()
|
|
25
25
|
}).describe("User information for widget collaborators.");
|
|
26
26
|
const MuralGetMuralWidgets_WidgetSchema = z.object({
|
|
27
|
-
x: z.number().describe("Horizontal position of the widget in pixels"),
|
|
28
|
-
y: z.number().describe("Vertical position of the widget in pixels"),
|
|
29
|
-
id: z.string().describe("Unique identifier of the widget"),
|
|
27
|
+
x: z.number().describe("Horizontal position of the widget in pixels").nullable(),
|
|
28
|
+
y: z.number().describe("Vertical position of the widget in pixels").nullable(),
|
|
29
|
+
id: z.string().describe("Unique identifier of the widget").nullable(),
|
|
30
30
|
text: z.string().describe("Text content of the widget (for text-based widgets)").nullable().optional(),
|
|
31
|
-
type: z.string().describe("Type of the widget (e.g., 'sticky note', 'area', 'text')"),
|
|
31
|
+
type: z.string().describe("Type of the widget (e.g., 'sticky note', 'area', 'text')").nullable(),
|
|
32
32
|
title: z.string().describe("Title of the widget in the outline").nullable().optional(),
|
|
33
|
-
width: z.number().describe("Width of the widget in pixels"),
|
|
33
|
+
width: z.number().describe("Width of the widget in pixels").nullable(),
|
|
34
34
|
height: z.number().describe("Height of the widget in pixels").nullable().optional(),
|
|
35
35
|
parentId: z.string().describe("ID of the parent area widget, if contained").nullable().optional(),
|
|
36
36
|
rotation: z.number().describe("Rotation angle in degrees").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-mural-widgets.mjs","names":[],"sources":["../../src/actions/get-mural-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetMuralWidgetsInput
|
|
1
|
+
{"version":3,"file":"get-mural-widgets.mjs","names":[],"sources":["../../src/actions/get-mural-widgets.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetMuralWidgetsInput = z.object({\n next: z.string().describe(\"Pagination token from previous response to retrieve the next page of results.\").optional(),\n type: z.array(z.enum([\"area\", \"arrow\", \"comment\", \"file\", \"icon\", \"image\", \"shape\", \"sticky note\", \"text\"]).describe(\"Types of widgets available in a mural.\")).describe(\"List of widget types to filter by (e.g., ['area', 'sticky note']). When omitted, returns all widget types.\").optional(),\n limit: z.number().int().describe(\"Maximum number of widgets to return per page (must be ≥1). Use with 'next' for pagination.\").optional(),\n muralId: z.string().describe(\"Unique identifier of the mural.\"),\n parentId: z.string().describe(\"Filter to return only widgets contained within the specified parent widget ID (typically an area widget).\").optional(),\n}).describe(\"Request model for retrieving widgets within a mural.\");\nconst MuralGetMuralWidgets_CollaboratorSchema = z.object({\n id: z.string().describe(\"Unique identifier of the collaborator\").nullable(),\n lastName: z.string().describe(\"Last name of the collaborator\").nullable().optional(),\n firstName: z.string().describe(\"First name of the collaborator\").nullable().optional(),\n}).describe(\"User information for widget collaborators.\");\nconst MuralGetMuralWidgets_WidgetSchema = z.object({\n x: z.number().describe(\"Horizontal position of the widget in pixels\").nullable(),\n y: z.number().describe(\"Vertical position of the widget in pixels\").nullable(),\n id: z.string().describe(\"Unique identifier of the widget\").nullable(),\n text: z.string().describe(\"Text content of the widget (for text-based widgets)\").nullable().optional(),\n type: z.string().describe(\"Type of the widget (e.g., 'sticky note', 'area', 'text')\").nullable(),\n title: z.string().describe(\"Title of the widget in the outline\").nullable().optional(),\n width: z.number().describe(\"Width of the widget in pixels\").nullable(),\n height: z.number().describe(\"Height of the widget in pixels\").nullable().optional(),\n parentId: z.string().describe(\"ID of the parent area widget, if contained\").nullable().optional(),\n rotation: z.number().describe(\"Rotation angle in degrees\").nullable().optional(),\n createdBy: MuralGetMuralWidgets_CollaboratorSchema.nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when created (ms since epoch)\").nullable().optional(),\n updatedBy: MuralGetMuralWidgets_CollaboratorSchema.nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when last updated (ms since epoch)\").nullable().optional(),\n}).passthrough().describe(\"Represents a widget in a mural with common properties.\\nActual widgets may contain additional type-specific fields.\");\nexport const MuralGetMuralWidgetsOutput = z.object({\n next: z.string().describe(\"Pagination token for retrieving the next page of results. Null if no more pages.\").nullable().optional(),\n value: z.array(MuralGetMuralWidgets_WidgetSchema).describe(\"Array of widget objects retrieved from the mural.\"),\n}).describe(\"Response model for GetMuralWidgets action.\");\n\nexport const muralGetMuralWidgets = action(\"MURAL_GET_MURAL_WIDGETS\", {\n slug: \"mural-get-mural-widgets\",\n name: \"Get Mural Widgets\",\n description: \"Tool to retrieve all widgets within a specified mural. Widgets include sticky notes, text boxes, shapes, images, areas, arrows, icons, files, and comments. Use this after obtaining a valid mural ID from workspace murals or other mural-related actions. Supports filtering by widget type, parent container, and pagination for large result sets.\",\n input: MuralGetMuralWidgetsInput,\n output: MuralGetMuralWidgetsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CACpH,MAAM,EAAE,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAS;EAAW;EAAQ;EAAQ;EAAS;EAAS;EAAe;CAAM,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAChS,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS;CACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC;CAC9D,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2GAA2G,CAAC,CAAC,SAAS;AACtJ,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC1E,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,oCAAoC,EAAE,OAAO;CACjD,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CAC/E,GAAG,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAC7E,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/E,WAAW,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACvE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qHAAqH;AAM/I,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kFAAkF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClI,OAAO,EAAE,MAAM,iCAAiC,CAAC,CAAC,SAAS,mDAAmD;CAChH,CAAC,CAAC,CAAC,SAAS,4CAOF;AACV,CAAC"}
|
|
@@ -3,15 +3,15 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-room.ts
|
|
4
4
|
const MuralGetRoomInput = zod.z.object({ roomId: zod.z.string().describe("Unique identifier of the room to retrieve") }).describe("Request model for retrieving information about a specific room.");
|
|
5
5
|
const MuralGetRoomOutput = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the room"),
|
|
7
|
-
name: zod.z.string().describe("Name of the room"),
|
|
8
|
-
type: zod.z.string().describe("Type of the room (e.g., 'open', 'private')"),
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the room").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the room").nullable(),
|
|
8
|
+
type: zod.z.string().describe("Type of the room (e.g., 'open', 'private')").nullable(),
|
|
9
9
|
favorite: zod.z.boolean().describe("Whether the room is marked as favorite by the user").nullable().optional(),
|
|
10
10
|
isMember: zod.z.boolean().describe("Whether the current user is a member of this room").nullable().optional(),
|
|
11
11
|
createdOn: zod.z.number().int().describe("Timestamp when the room was created (in microseconds)").nullable().optional(),
|
|
12
12
|
updatedOn: zod.z.number().int().describe("Timestamp when the room was last updated (in microseconds)").nullable().optional(),
|
|
13
13
|
description: zod.z.string().describe("Description of the room").nullable().optional(),
|
|
14
|
-
workspaceId: zod.z.string().describe("ID of the workspace containing this room"),
|
|
14
|
+
workspaceId: zod.z.string().describe("ID of the workspace containing this room").nullable(),
|
|
15
15
|
confidential: zod.z.boolean().describe("Whether the room is marked as confidential").nullable().optional()
|
|
16
16
|
}).describe("Response model containing information about a room.");
|
|
17
17
|
const muralGetRoom = require_action.action("MURAL_GET_ROOM", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-room.cjs","names":["z","action"],"sources":["../../src/actions/get-room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetRoomInput
|
|
1
|
+
{"version":3,"file":"get-room.cjs","names":["z","action"],"sources":["../../src/actions/get-room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetRoomInput = z.object({\n roomId: z.string().describe(\"Unique identifier of the room to retrieve\"),\n}).describe(\"Request model for retrieving information about a specific room.\");\nexport const MuralGetRoomOutput = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n name: z.string().describe(\"Name of the room\").nullable(),\n type: z.string().describe(\"Type of the room (e.g., 'open', 'private')\").nullable(),\n favorite: z.boolean().describe(\"Whether the room is marked as favorite by the user\").nullable().optional(),\n isMember: z.boolean().describe(\"Whether the current user is a member of this room\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the room was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the room was last updated (in microseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the room\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this room\").nullable(),\n confidential: z.boolean().describe(\"Whether the room is marked as confidential\").nullable().optional(),\n}).describe(\"Response model containing information about a room.\");\n\nexport const muralGetRoom = action(\"MURAL_GET_ROOM\", {\n slug: \"mural-get-room\",\n name: \"Get room by ID\",\n description: \"Tool to retrieve information about a specific room by its ID. Use when you need details about a particular room that the authenticated user has read access to.\",\n input: MuralGetRoomInput,\n output: MuralGetRoomOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oBAAoBA,IAAAA,EAAE,OAAO,EACxC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACzE,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAa,qBAAqBA,IAAAA,EAAE,OAAO;CACzC,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CACjF,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;CACtF,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,eAAeC,eAAAA,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-room.d.ts
|
|
4
|
-
declare const MuralGetRoomInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralGetRoomInput: z.ZodObject<{
|
|
5
|
+
roomId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MuralGetRoomOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
favorite: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
+
isMember: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
17
|
+
confidential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const muralGetRoom: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
roomId: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { muralGetRoom };
|
|
9
24
|
//# sourceMappingURL=get-room.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-room.d.cts","names":[],"sources":["../../src/actions/get-room.ts"],"mappings":";;;cAIa,iBAAA,
|
|
1
|
+
{"version":3,"file":"get-room.d.cts","names":[],"sources":["../../src/actions/get-room.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAGjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalB,YAAA,gCAAY,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-room.d.ts
|
|
4
|
-
declare const MuralGetRoomInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralGetRoomInput: z.ZodObject<{
|
|
5
|
+
roomId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MuralGetRoomOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
type: z.ZodNullable<z.ZodString>;
|
|
11
|
+
favorite: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12
|
+
isMember: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
17
|
+
confidential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const muralGetRoom: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
roomId: string;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { muralGetRoom };
|
|
9
24
|
//# sourceMappingURL=get-room.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-room.d.mts","names":[],"sources":["../../src/actions/get-room.ts"],"mappings":";;;cAIa,iBAAA,
|
|
1
|
+
{"version":3,"file":"get-room.d.mts","names":[],"sources":["../../src/actions/get-room.ts"],"mappings":";;;cAIa,iBAAA,EAAiB,CAAA,CAAA,SAAA;;;cAGjB,kBAAA,EAAkB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAalB,YAAA,gCAAY,wBAAA"}
|
|
@@ -6,15 +6,15 @@ const muralGetRoom = action("MURAL_GET_ROOM", {
|
|
|
6
6
|
description: "Tool to retrieve information about a specific room by its ID. Use when you need details about a particular room that the authenticated user has read access to.",
|
|
7
7
|
input: z.object({ roomId: z.string().describe("Unique identifier of the room to retrieve") }).describe("Request model for retrieving information about a specific room."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.string().describe("Unique identifier of the room"),
|
|
10
|
-
name: z.string().describe("Name of the room"),
|
|
11
|
-
type: z.string().describe("Type of the room (e.g., 'open', 'private')"),
|
|
9
|
+
id: z.string().describe("Unique identifier of the room").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the room").nullable(),
|
|
11
|
+
type: z.string().describe("Type of the room (e.g., 'open', 'private')").nullable(),
|
|
12
12
|
favorite: z.boolean().describe("Whether the room is marked as favorite by the user").nullable().optional(),
|
|
13
13
|
isMember: z.boolean().describe("Whether the current user is a member of this room").nullable().optional(),
|
|
14
14
|
createdOn: z.number().int().describe("Timestamp when the room was created (in microseconds)").nullable().optional(),
|
|
15
15
|
updatedOn: z.number().int().describe("Timestamp when the room was last updated (in microseconds)").nullable().optional(),
|
|
16
16
|
description: z.string().describe("Description of the room").nullable().optional(),
|
|
17
|
-
workspaceId: z.string().describe("ID of the workspace containing this room"),
|
|
17
|
+
workspaceId: z.string().describe("ID of the workspace containing this room").nullable(),
|
|
18
18
|
confidential: z.boolean().describe("Whether the room is marked as confidential").nullable().optional()
|
|
19
19
|
}).describe("Response model containing information about a room.")
|
|
20
20
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-room.mjs","names":[],"sources":["../../src/actions/get-room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetRoomInput
|
|
1
|
+
{"version":3,"file":"get-room.mjs","names":[],"sources":["../../src/actions/get-room.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetRoomInput = z.object({\n roomId: z.string().describe(\"Unique identifier of the room to retrieve\"),\n}).describe(\"Request model for retrieving information about a specific room.\");\nexport const MuralGetRoomOutput = z.object({\n id: z.string().describe(\"Unique identifier of the room\").nullable(),\n name: z.string().describe(\"Name of the room\").nullable(),\n type: z.string().describe(\"Type of the room (e.g., 'open', 'private')\").nullable(),\n favorite: z.boolean().describe(\"Whether the room is marked as favorite by the user\").nullable().optional(),\n isMember: z.boolean().describe(\"Whether the current user is a member of this room\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the room was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the room was last updated (in microseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the room\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this room\").nullable(),\n confidential: z.boolean().describe(\"Whether the room is marked as confidential\").nullable().optional(),\n}).describe(\"Response model containing information about a room.\");\n\nexport const muralGetRoom = action(\"MURAL_GET_ROOM\", {\n slug: \"mural-get-room\",\n name: \"Get room by ID\",\n description: \"Tool to retrieve information about a specific room by its ID. Use when you need details about a particular room that the authenticated user has read access to.\",\n input: MuralGetRoomInput,\n output: MuralGetRoomOutput,\n});\n"],"mappings":";;AAoBA,MAAa,eAAe,OAAO,kBAAkB;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OApB+B,EAAE,OAAO,EACxC,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,EACzE,CAAC,CAAC,CAAC,SAAS,iEAkBH;CACP,QAlBgC,EAAE,OAAO;EACzC,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EACvD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACjF,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzG,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EACtF,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/get-workspace.ts
|
|
4
4
|
const MuralGetWorkspaceInput = zod.z.object({ workspaceId: zod.z.string().describe("Unique identifier of the workspace to retrieve") }).describe("Request model for retrieving information about a specific workspace.");
|
|
5
5
|
const MuralGetWorkspaceOutput = zod.z.object({
|
|
6
|
-
id: zod.z.string().describe("Unique identifier of the workspace"),
|
|
7
|
-
name: zod.z.string().describe("Name of the workspace"),
|
|
6
|
+
id: zod.z.string().describe("Unique identifier of the workspace").nullable(),
|
|
7
|
+
name: zod.z.string().describe("Name of the workspace").nullable(),
|
|
8
8
|
isActive: zod.z.boolean().describe("Whether the workspace is currently active").nullable().optional(),
|
|
9
9
|
createdOn: zod.z.number().int().describe("Timestamp when the workspace was created (in milliseconds)").nullable().optional(),
|
|
10
10
|
updatedOn: zod.z.number().int().describe("Timestamp when the workspace was last updated (in milliseconds)").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspaceInput
|
|
1
|
+
{"version":3,"file":"get-workspace.cjs","names":["z","action"],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspaceInput = z.object({\n workspaceId: z.string().describe(\"Unique identifier of the workspace to retrieve\"),\n}).describe(\"Request model for retrieving information about a specific workspace.\");\nexport const MuralGetWorkspaceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n isActive: z.boolean().describe(\"Whether the workspace is currently active\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the workspace was created (in milliseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the workspace was last updated (in milliseconds)\").nullable().optional(),\n}).describe(\"Response model containing information about a workspace.\");\n\nexport const muralGetWorkspace = action(\"MURAL_GET_WORKSPACE\", {\n slug: \"mural-get-workspace\",\n name: \"Get workspace by ID\",\n description: \"Tool to retrieve information about a specific workspace by its ID. Use when you need details about a particular workspace that the authenticated user has read access to.\",\n input: MuralGetWorkspaceInput,\n output: MuralGetWorkspaceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO,EAC7C,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACnF,CAAC,CAAC,CAAC,SAAS,sEAAsE;AAClF,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,oBAAoBC,eAAAA,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-workspace.d.ts
|
|
4
|
-
declare const MuralGetWorkspaceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralGetWorkspaceInput: z.ZodObject<{
|
|
5
|
+
workspaceId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MuralGetWorkspaceOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
isActive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const muralGetWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
workspaceId: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { muralGetWorkspace };
|
|
9
19
|
//# sourceMappingURL=get-workspace.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.d.cts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-workspace.d.cts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-workspace.d.ts
|
|
4
|
-
declare const MuralGetWorkspaceInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralGetWorkspaceInput: z.ZodObject<{
|
|
5
|
+
workspaceId: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const MuralGetWorkspaceOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
name: z.ZodNullable<z.ZodString>;
|
|
10
|
+
isActive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
12
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
13
|
+
}, z.core.$strip>;
|
|
14
|
+
declare const muralGetWorkspace: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
15
|
+
workspaceId: string;
|
|
16
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { muralGetWorkspace };
|
|
9
19
|
//# sourceMappingURL=get-workspace.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.d.mts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,sBAAA,
|
|
1
|
+
{"version":3,"file":"get-workspace.d.mts","names":[],"sources":["../../src/actions/get-workspace.ts"],"mappings":";;;cAIa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;cAGtB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;cAQvB,iBAAA,gCAAiB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const muralGetWorkspace = action("MURAL_GET_WORKSPACE", {
|
|
|
6
6
|
description: "Tool to retrieve information about a specific workspace by its ID. Use when you need details about a particular workspace that the authenticated user has read access to.",
|
|
7
7
|
input: z.object({ workspaceId: z.string().describe("Unique identifier of the workspace to retrieve") }).describe("Request model for retrieving information about a specific workspace."),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.string().describe("Unique identifier of the workspace"),
|
|
10
|
-
name: z.string().describe("Name of the workspace"),
|
|
9
|
+
id: z.string().describe("Unique identifier of the workspace").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the workspace").nullable(),
|
|
11
11
|
isActive: z.boolean().describe("Whether the workspace is currently active").nullable().optional(),
|
|
12
12
|
createdOn: z.number().int().describe("Timestamp when the workspace was created (in milliseconds)").nullable().optional(),
|
|
13
13
|
updatedOn: z.number().int().describe("Timestamp when the workspace was last updated (in milliseconds)").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspace.mjs","names":[],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspaceInput
|
|
1
|
+
{"version":3,"file":"get-workspace.mjs","names":[],"sources":["../../src/actions/get-workspace.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspaceInput = z.object({\n workspaceId: z.string().describe(\"Unique identifier of the workspace to retrieve\"),\n}).describe(\"Request model for retrieving information about a specific workspace.\");\nexport const MuralGetWorkspaceOutput = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n isActive: z.boolean().describe(\"Whether the workspace is currently active\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the workspace was created (in milliseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the workspace was last updated (in milliseconds)\").nullable().optional(),\n}).describe(\"Response model containing information about a workspace.\");\n\nexport const muralGetWorkspace = action(\"MURAL_GET_WORKSPACE\", {\n slug: \"mural-get-workspace\",\n name: \"Get workspace by ID\",\n description: \"Tool to retrieve information about a specific workspace by its ID. Use when you need details about a particular workspace that the authenticated user has read access to.\",\n input: MuralGetWorkspaceInput,\n output: MuralGetWorkspaceOutput,\n});\n"],"mappings":";;AAeA,MAAa,oBAAoB,OAAO,uBAAuB;CAC7D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAfoC,EAAE,OAAO,EAC7C,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,EACnF,CAAC,CAAC,CAAC,SAAS,sEAaH;CACP,QAbqC,EAAE,OAAO;EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;EACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,CAAC,CAAC,CAAC,SAAS,0DAOF;AACV,CAAC"}
|
|
@@ -6,8 +6,8 @@ const MuralGetWorkspacesInput = zod.z.object({
|
|
|
6
6
|
limit: zod.z.number().int().describe("Maximum number of workspaces to return per page (must be ≥1)").optional()
|
|
7
7
|
}).describe("Request model for retrieving workspaces.");
|
|
8
8
|
const MuralGetWorkspaces_WorkspaceSchema = zod.z.object({
|
|
9
|
-
id: zod.z.string().describe("Unique identifier of the workspace"),
|
|
10
|
-
name: zod.z.string().describe("Name of the workspace"),
|
|
9
|
+
id: zod.z.string().describe("Unique identifier of the workspace").nullable(),
|
|
10
|
+
name: zod.z.string().describe("Name of the workspace").nullable(),
|
|
11
11
|
isActive: zod.z.boolean().describe("Whether the workspace is currently active").nullable().optional(),
|
|
12
12
|
createdOn: zod.z.number().int().describe("Timestamp when the workspace was created (in milliseconds)").nullable().optional(),
|
|
13
13
|
updatedOn: zod.z.number().int().describe("Timestamp when the workspace was last updated (in milliseconds)").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/get-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspacesInput
|
|
1
|
+
{"version":3,"file":"get-workspaces.cjs","names":["z","action"],"sources":["../../src/actions/get-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspacesInput = z.object({\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of workspaces to return per page (must be ≥1)\").optional(),\n}).describe(\"Request model for retrieving workspaces.\");\nconst MuralGetWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n isActive: z.boolean().describe(\"Whether the workspace is currently active\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the workspace was created (in milliseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the workspace was last updated (in milliseconds)\").nullable().optional(),\n}).describe(\"Represents a workspace in MURAL.\");\nexport const MuralGetWorkspacesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralGetWorkspaces_WorkspaceSchema).describe(\"Array of workspaces the authenticated user is a member of\"),\n}).describe(\"Response model for retrieving workspaces.\");\n\nexport const muralGetWorkspaces = action(\"MURAL_GET_WORKSPACES\", {\n slug: \"mural-get-workspaces\",\n name: \"Get workspaces\",\n description: \"Tool to retrieve all workspaces the authenticated user is a member of. Use to list available workspaces before accessing rooms or murals.\",\n input: MuralGetWorkspacesInput,\n output: MuralGetWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAC9C,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2DAA2D;AACzH,CAAC,CAAC,CAAC,SAAS,2CAA2C;AAEvD,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-workspaces.d.ts
|
|
4
|
-
declare const MuralGetWorkspacesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralGetWorkspacesInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MuralGetWorkspacesOutput: z.ZodObject<{
|
|
9
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
value: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
isActive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const muralGetWorkspaces: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
next?: string | undefined;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { muralGetWorkspaces };
|
|
9
24
|
//# sourceMappingURL=get-workspaces.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspaces.d.cts","names":[],"sources":["../../src/actions/get-workspaces.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-workspaces.d.cts","names":[],"sources":["../../src/actions/get-workspaces.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,24 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/get-workspaces.d.ts
|
|
4
|
-
declare const MuralGetWorkspacesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralGetWorkspacesInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
}, z.core.$strip>;
|
|
8
|
+
declare const MuralGetWorkspacesOutput: z.ZodObject<{
|
|
9
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
+
value: z.ZodArray<z.ZodObject<{
|
|
11
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12
|
+
name: z.ZodNullable<z.ZodString>;
|
|
13
|
+
isActive: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const muralGetWorkspaces: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
next?: string | undefined;
|
|
20
|
+
limit?: number | undefined;
|
|
21
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
22
|
//#endregion
|
|
8
23
|
export { muralGetWorkspaces };
|
|
9
24
|
//# sourceMappingURL=get-workspaces.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspaces.d.mts","names":[],"sources":["../../src/actions/get-workspaces.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"get-workspaces.d.mts","names":[],"sources":["../../src/actions/get-workspaces.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;cAWvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const MuralGetWorkspacesInput = z.object({
|
|
|
6
6
|
limit: z.number().int().describe("Maximum number of workspaces to return per page (must be ≥1)").optional()
|
|
7
7
|
}).describe("Request model for retrieving workspaces.");
|
|
8
8
|
const MuralGetWorkspaces_WorkspaceSchema = z.object({
|
|
9
|
-
id: z.string().describe("Unique identifier of the workspace"),
|
|
10
|
-
name: z.string().describe("Name of the workspace"),
|
|
9
|
+
id: z.string().describe("Unique identifier of the workspace").nullable(),
|
|
10
|
+
name: z.string().describe("Name of the workspace").nullable(),
|
|
11
11
|
isActive: z.boolean().describe("Whether the workspace is currently active").nullable().optional(),
|
|
12
12
|
createdOn: z.number().int().describe("Timestamp when the workspace was created (in milliseconds)").nullable().optional(),
|
|
13
13
|
updatedOn: z.number().int().describe("Timestamp when the workspace was last updated (in milliseconds)").nullable().optional()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-workspaces.mjs","names":[],"sources":["../../src/actions/get-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspacesInput
|
|
1
|
+
{"version":3,"file":"get-workspaces.mjs","names":[],"sources":["../../src/actions/get-workspaces.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralGetWorkspacesInput = z.object({\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of workspaces to return per page (must be ≥1)\").optional(),\n}).describe(\"Request model for retrieving workspaces.\");\nconst MuralGetWorkspaces_WorkspaceSchema = z.object({\n id: z.string().describe(\"Unique identifier of the workspace\").nullable(),\n name: z.string().describe(\"Name of the workspace\").nullable(),\n isActive: z.boolean().describe(\"Whether the workspace is currently active\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the workspace was created (in milliseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the workspace was last updated (in milliseconds)\").nullable().optional(),\n}).describe(\"Represents a workspace in MURAL.\");\nexport const MuralGetWorkspacesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralGetWorkspaces_WorkspaceSchema).describe(\"Array of workspaces the authenticated user is a member of\"),\n}).describe(\"Response model for retrieving workspaces.\");\n\nexport const muralGetWorkspaces = action(\"MURAL_GET_WORKSPACES\", {\n slug: \"mural-get-workspaces\",\n name: \"Get workspaces\",\n description: \"Tool to retrieve all workspaces the authenticated user is a member of. Use to list available workspaces before accessing rooms or murals.\",\n input: MuralGetWorkspacesInput,\n output: MuralGetWorkspacesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,qCAAqC,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAC5D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,kCAAkC;AAM9C,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVsC,EAAE,OAAO;EAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,2DAA2D;CACzH,CAAC,CAAC,CAAC,SAAS,2CAOF;AACV,CAAC"}
|
|
@@ -7,9 +7,9 @@ const MuralListFoldersInput = zod.z.object({
|
|
|
7
7
|
roomId: zod.z.string().describe("Unique identifier of the room to list folders from")
|
|
8
8
|
}).describe("Request model for listing folders within a room.");
|
|
9
9
|
const MuralListFolders_FolderSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Unique identifier of the folder"),
|
|
11
|
-
name: zod.z.string().describe("Name of the folder"),
|
|
12
|
-
roomId: zod.z.string().describe("ID of the room containing this folder"),
|
|
10
|
+
id: zod.z.string().describe("Unique identifier of the folder").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Name of the folder").nullable(),
|
|
12
|
+
roomId: zod.z.string().describe("ID of the room containing this folder").nullable(),
|
|
13
13
|
createdOn: zod.z.number().int().describe("Timestamp when the folder was created (in microseconds)").nullable().optional(),
|
|
14
14
|
updatedOn: zod.z.number().int().describe("Timestamp when the folder was last updated (in microseconds)").nullable().optional()
|
|
15
15
|
}).describe("Represents a folder within a room.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListFoldersInput
|
|
1
|
+
{"version":3,"file":"list-folders.cjs","names":["z","action"],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListFoldersInput = z.object({\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of folders to return per page (must be ≥1)\").optional(),\n roomId: z.string().describe(\"Unique identifier of the room to list folders from\"),\n}).describe(\"Request model for listing folders within a room.\");\nconst MuralListFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Name of the folder\").nullable(),\n roomId: z.string().describe(\"ID of the room containing this folder\").nullable(),\n createdOn: z.number().int().describe(\"Timestamp when the folder was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the folder was last updated (in microseconds)\").nullable().optional(),\n}).describe(\"Represents a folder within a room.\");\nexport const MuralListFoldersOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListFolders_FolderSchema).describe(\"Array of folders in the room\"),\n}).describe(\"Response model for listing folders within a room.\");\n\nexport const muralListFolders = action(\"MURAL_LIST_FOLDERS\", {\n slug: \"mural-list-folders\",\n name: \"List folders in room\",\n description: \"Tool to list all folders within a room that the authenticated user has access to. Use after MURAL_LIST_ROOMS to navigate folders within a specific room.\",\n input: MuralListFoldersInput,\n output: MuralListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,gCAAgCA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAChD,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B;AACvF,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAE/D,MAAa,mBAAmBC,eAAAA,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-folders.d.ts
|
|
4
|
-
declare const MuralListFoldersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListFoldersInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
roomId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MuralListFoldersOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
value: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
roomId: z.ZodNullable<z.ZodString>;
|
|
15
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const muralListFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
roomId: string;
|
|
21
|
+
next?: string | undefined;
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { muralListFolders };
|
|
9
26
|
//# sourceMappingURL=list-folders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folders.d.cts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"list-folders.d.cts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -1,9 +1,26 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-folders.d.ts
|
|
4
|
-
declare const MuralListFoldersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListFoldersInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
roomId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MuralListFoldersOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
value: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
name: z.ZodNullable<z.ZodString>;
|
|
14
|
+
roomId: z.ZodNullable<z.ZodString>;
|
|
15
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
16
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
}, z.core.$strip>>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const muralListFolders: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
20
|
+
roomId: string;
|
|
21
|
+
next?: string | undefined;
|
|
22
|
+
limit?: number | undefined;
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
24
|
//#endregion
|
|
8
25
|
export { muralListFolders };
|
|
9
26
|
//# sourceMappingURL=list-folders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folders.d.mts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,
|
|
1
|
+
{"version":3,"file":"list-folders.d.mts","names":[],"sources":["../../src/actions/list-folders.ts"],"mappings":";;;cAIa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;;cAYrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;cAKtB,gBAAA,gCAAgB,wBAAA"}
|
|
@@ -7,9 +7,9 @@ const MuralListFoldersInput = z.object({
|
|
|
7
7
|
roomId: z.string().describe("Unique identifier of the room to list folders from")
|
|
8
8
|
}).describe("Request model for listing folders within a room.");
|
|
9
9
|
const MuralListFolders_FolderSchema = z.object({
|
|
10
|
-
id: z.string().describe("Unique identifier of the folder"),
|
|
11
|
-
name: z.string().describe("Name of the folder"),
|
|
12
|
-
roomId: z.string().describe("ID of the room containing this folder"),
|
|
10
|
+
id: z.string().describe("Unique identifier of the folder").nullable(),
|
|
11
|
+
name: z.string().describe("Name of the folder").nullable(),
|
|
12
|
+
roomId: z.string().describe("ID of the room containing this folder").nullable(),
|
|
13
13
|
createdOn: z.number().int().describe("Timestamp when the folder was created (in microseconds)").nullable().optional(),
|
|
14
14
|
updatedOn: z.number().int().describe("Timestamp when the folder was last updated (in microseconds)").nullable().optional()
|
|
15
15
|
}).describe("Represents a folder within a room.");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-folders.mjs","names":[],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListFoldersInput
|
|
1
|
+
{"version":3,"file":"list-folders.mjs","names":[],"sources":["../../src/actions/list-folders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListFoldersInput = z.object({\n next: z.string().describe(\"Pagination token for retrieving the next page of results\").optional(),\n limit: z.number().int().describe(\"Maximum number of folders to return per page (must be ≥1)\").optional(),\n roomId: z.string().describe(\"Unique identifier of the room to list folders from\"),\n}).describe(\"Request model for listing folders within a room.\");\nconst MuralListFolders_FolderSchema = z.object({\n id: z.string().describe(\"Unique identifier of the folder\").nullable(),\n name: z.string().describe(\"Name of the folder\").nullable(),\n roomId: z.string().describe(\"ID of the room containing this folder\").nullable(),\n createdOn: z.number().int().describe(\"Timestamp when the folder was created (in microseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the folder was last updated (in microseconds)\").nullable().optional(),\n}).describe(\"Represents a folder within a room.\");\nexport const MuralListFoldersOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListFolders_FolderSchema).describe(\"Array of folders in the room\"),\n}).describe(\"Response model for listing folders within a room.\");\n\nexport const muralListFolders = action(\"MURAL_LIST_FOLDERS\", {\n slug: \"mural-list-folders\",\n name: \"List folders in room\",\n description: \"Tool to list all folders within a room that the authenticated user has access to. Use after MURAL_LIST_ROOMS to navigate folders within a specific room.\",\n input: MuralListFoldersInput,\n output: MuralListFoldersOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO;CAC5C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACvG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD;AAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAM,gCAAgC,EAAE,OAAO;CAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;CACpE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS;CACzD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS;CAC9E,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8DAA8D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3H,CAAC,CAAC,CAAC,SAAS,oCAAoC;AAMhD,MAAa,mBAAmB,OAAO,sBAAsB;CAC3D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoC,EAAE,OAAO;EAC7C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,MAAM,6BAA6B,CAAC,CAAC,SAAS,8BAA8B;CACvF,CAAC,CAAC,CAAC,SAAS,mDAOF;AACV,CAAC"}
|