@keystrokehq/mural 0.1.0 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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 +15 -15
- package/dist/actions/create-sticky-note.cjs.map +1 -1
- package/dist/actions/create-sticky-note.d.cts +94 -3
- package/dist/actions/create-sticky-note.d.cts.map +1 -1
- package/dist/actions/create-sticky-note.d.mts +94 -3
- package/dist/actions/create-sticky-note.d.mts.map +1 -1
- package/dist/actions/create-sticky-note.mjs +15 -15
- package/dist/actions/create-sticky-note.mjs.map +1 -1
- package/dist/actions/get-current-user.cjs +9 -9
- 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 +9 -9
- package/dist/actions/get-current-user.mjs.map +1 -1
- package/dist/actions/get-files-for-mural.cjs +20 -20
- 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 +20 -20
- package/dist/actions/get-files-for-mural.mjs.map +1 -1
- package/dist/actions/get-mural-widgets.cjs +8 -8
- 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 +8 -8
- package/dist/actions/get-mural-widgets.mjs.map +1 -1
- package/dist/actions/get-room.cjs +5 -5
- 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 +5 -5
- package/dist/actions/get-room.mjs.map +1 -1
- package/dist/actions/get-workspace.cjs +3 -3
- 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 +3 -3
- package/dist/actions/get-workspace.mjs.map +1 -1
- package/dist/actions/get-workspaces.cjs +4 -4
- 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 +4 -4
- package/dist/actions/get-workspaces.mjs.map +1 -1
- package/dist/actions/list-folders.cjs +5 -5
- 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 +5 -5
- package/dist/actions/list-folders.mjs.map +1 -1
- package/dist/actions/list-open-rooms.cjs +6 -6
- 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 +6 -6
- package/dist/actions/list-open-rooms.mjs.map +1 -1
- package/dist/actions/list-recent-murals.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-recent-murals.mjs.map +1 -1
- package/dist/actions/list-recent-templates.cjs +2 -2
- 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 +2 -2
- package/dist/actions/list-recent-templates.mjs.map +1 -1
- package/dist/actions/list-room-murals.cjs +2 -2
- 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 +2 -2
- package/dist/actions/list-room-murals.mjs.map +1 -1
- package/dist/actions/list-room-users.cjs +6 -6
- 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 +6 -6
- package/dist/actions/list-room-users.mjs.map +1 -1
- package/dist/actions/list-rooms.cjs +6 -6
- 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 +6 -6
- package/dist/actions/list-rooms.mjs.map +1 -1
- package/dist/actions/list-tags.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-tags.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +4 -4
- 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 +4 -4
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-workspace-murals.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-workspace-murals.mjs.map +1 -1
- package/dist/actions/list-workspace-templates.cjs +3 -3
- 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 +3 -3
- package/dist/actions/list-workspace-templates.mjs.map +1 -1
- package/dist/actions/search-murals.cjs +3 -3
- 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 +3 -3
- package/dist/actions/search-murals.mjs.map +1 -1
- package/dist/actions/search-rooms.cjs +6 -6
- 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 +6 -6
- package/dist/actions/search-rooms.mjs.map +1 -1
- package/dist/actions/search-templates.cjs +4 -4
- 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 +4 -4
- package/dist/actions/search-templates.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recent-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-recent-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRecentTemplatesInput
|
|
1
|
+
{"version":3,"file":"list-recent-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-recent-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRecentTemplatesInput = 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 templates to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to list recent templates from\"),\n withoutDefault: z.boolean().describe(\"If true, the list of returned templates will not include default templates\").optional(),\n}).describe(\"Request model for listing recent templates within a workspace.\");\nconst MuralListRecentTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n type: z.string().describe(\"Type of the template (e.g., 'default', 'custom')\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the template was created\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the template\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this template\").nullable().optional(),\n thumbnailUrl: z.string().describe(\"URL of the template thumbnail image\").nullable().optional(),\n}).passthrough().describe(\"Represents a template object returned by the API.\");\nexport const MuralListRecentTemplatesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListRecentTemplates_TemplateSchema).describe(\"Array of recent templates in the workspace\"),\n}).passthrough().describe(\"Response model for listing recent templates within a workspace.\");\n\nexport const muralListRecentTemplates = action(\"MURAL_LIST_RECENT_TEMPLATES\", {\n slug: \"mural-list-recent-templates\",\n name: \"List recent templates\",\n description: \"Tool to retrieve recent templates used by a user for a workspace. Use when you need to access recently used templates for creating new murals.\",\n input: MuralListRecentTemplatesInput,\n output: MuralListRecentTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO;CACpD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACnG,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAA0CA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAC7E,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;CACrD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C;AAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAE3F,MAAa,2BAA2BC,eAAAA,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-recent-templates.d.ts
|
|
4
|
-
declare const MuralListRecentTemplatesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListRecentTemplatesInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
workspaceId: z.ZodString;
|
|
8
|
+
withoutDefault: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MuralListRecentTemplatesOutput: z.ZodObject<{
|
|
11
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
value: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const muralListRecentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
workspaceId: string;
|
|
25
|
+
next?: string | undefined;
|
|
26
|
+
limit?: number | undefined;
|
|
27
|
+
withoutDefault?: boolean | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { muralListRecentTemplates };
|
|
9
31
|
//# sourceMappingURL=list-recent-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recent-templates.d.cts","names":[],"sources":["../../src/actions/list-recent-templates.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-recent-templates.d.cts","names":[],"sources":["../../src/actions/list-recent-templates.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAgB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-recent-templates.d.ts
|
|
4
|
-
declare const MuralListRecentTemplatesInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListRecentTemplatesInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
workspaceId: z.ZodString;
|
|
8
|
+
withoutDefault: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
+
}, z.core.$strip>;
|
|
10
|
+
declare const MuralListRecentTemplatesOutput: z.ZodObject<{
|
|
11
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
+
value: z.ZodArray<z.ZodObject<{
|
|
13
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
17
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
}, z.core.$loose>>;
|
|
22
|
+
}, z.core.$loose>;
|
|
23
|
+
declare const muralListRecentTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
24
|
+
workspaceId: string;
|
|
25
|
+
next?: string | undefined;
|
|
26
|
+
limit?: number | undefined;
|
|
27
|
+
withoutDefault?: boolean | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { muralListRecentTemplates };
|
|
9
31
|
//# sourceMappingURL=list-recent-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recent-templates.d.mts","names":[],"sources":["../../src/actions/list-recent-templates.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"list-recent-templates.d.mts","names":[],"sources":["../../src/actions/list-recent-templates.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA;;;;;;cAgB7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAK9B,wBAAA,gCAAwB,wBAAA"}
|
|
@@ -16,7 +16,7 @@ const MuralListRecentTemplates_TemplateSchema = z.object({
|
|
|
16
16
|
description: z.string().describe("Description of the template").nullable().optional(),
|
|
17
17
|
workspaceId: z.string().describe("ID of the workspace containing this template").nullable().optional(),
|
|
18
18
|
thumbnailUrl: z.string().describe("URL of the template thumbnail image").nullable().optional()
|
|
19
|
-
}).describe("Represents a template object returned by the API.");
|
|
19
|
+
}).passthrough().describe("Represents a template object returned by the API.");
|
|
20
20
|
const muralListRecentTemplates = action("MURAL_LIST_RECENT_TEMPLATES", {
|
|
21
21
|
slug: "mural-list-recent-templates",
|
|
22
22
|
name: "List recent templates",
|
|
@@ -25,7 +25,7 @@ const muralListRecentTemplates = action("MURAL_LIST_RECENT_TEMPLATES", {
|
|
|
25
25
|
output: z.object({
|
|
26
26
|
next: z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
|
|
27
27
|
value: z.array(MuralListRecentTemplates_TemplateSchema).describe("Array of recent templates in the workspace")
|
|
28
|
-
}).describe("Response model for listing recent templates within a workspace.")
|
|
28
|
+
}).passthrough().describe("Response model for listing recent templates within a workspace.")
|
|
29
29
|
});
|
|
30
30
|
//#endregion
|
|
31
31
|
export { muralListRecentTemplates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-recent-templates.mjs","names":[],"sources":["../../src/actions/list-recent-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRecentTemplatesInput
|
|
1
|
+
{"version":3,"file":"list-recent-templates.mjs","names":[],"sources":["../../src/actions/list-recent-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRecentTemplatesInput = 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 templates to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to list recent templates from\"),\n withoutDefault: z.boolean().describe(\"If true, the list of returned templates will not include default templates\").optional(),\n}).describe(\"Request model for listing recent templates within a workspace.\");\nconst MuralListRecentTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"Unique identifier of the template\").nullable().optional(),\n name: z.string().describe(\"Name of the template\").nullable().optional(),\n type: z.string().describe(\"Type of the template (e.g., 'default', 'custom')\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the template was created\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the template was last updated\").nullable().optional(),\n description: z.string().describe(\"Description of the template\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing this template\").nullable().optional(),\n thumbnailUrl: z.string().describe(\"URL of the template thumbnail image\").nullable().optional(),\n}).passthrough().describe(\"Represents a template object returned by the API.\");\nexport const MuralListRecentTemplatesOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListRecentTemplates_TemplateSchema).describe(\"Array of recent templates in the workspace\"),\n}).passthrough().describe(\"Response model for listing recent templates within a workspace.\");\n\nexport const muralListRecentTemplates = action(\"MURAL_LIST_RECENT_TEMPLATES\", {\n slug: \"mural-list-recent-templates\",\n name: \"List recent templates\",\n description: \"Tool to retrieve recent templates used by a user for a workspace. Use when you need to access recently used templates for creating new murals.\",\n input: MuralListRecentTemplatesInput,\n output: MuralListRecentTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgC,EAAE,OAAO;CACpD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE;CACnG,gBAAgB,EAAE,QAAQ,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC9H,CAAC,CAAC,CAAC,SAAS,gEAAgE;AAC5E,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mDAAmD;AAM7E,MAAa,2BAA2B,OAAO,+BAA+B;CAC5E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV4C,EAAE,OAAO;EACrD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,4CAA4C;CAC/G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAOhB;AACV,CAAC"}
|
|
@@ -14,7 +14,7 @@ const MuralListRoomMuralsInput = zod.z.object({
|
|
|
14
14
|
folderId: zod.z.string().describe("When set, filter murals by their corresponding folder").optional()
|
|
15
15
|
}).describe("Request model for listing murals within a room.");
|
|
16
16
|
const MuralListRoomMurals_MuralSchema = zod.z.object({
|
|
17
|
-
id: zod.z.string().describe("Unique identifier of the mural"),
|
|
17
|
+
id: zod.z.string().describe("Unique identifier of the mural").nullable(),
|
|
18
18
|
title: zod.z.string().describe("Title of the mural").nullable().optional(),
|
|
19
19
|
roomId: zod.z.number().int().describe("ID of the room containing the mural").nullable().optional(),
|
|
20
20
|
createdBy: zod.z.string().describe("ID of the user who created the mural").nullable().optional(),
|
|
@@ -27,7 +27,7 @@ const MuralListRoomMurals_MuralSchema = zod.z.object({
|
|
|
27
27
|
const MuralListRoomMuralsOutput = zod.z.object({
|
|
28
28
|
next: zod.z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
|
|
29
29
|
value: zod.z.array(MuralListRoomMurals_MuralSchema).describe("Array of murals in the room")
|
|
30
|
-
}).describe("Response model for listing murals within a room.");
|
|
30
|
+
}).passthrough().describe("Response model for listing murals within a room.");
|
|
31
31
|
const muralListRoomMurals = require_action.action("MURAL_LIST_ROOM_MURALS", {
|
|
32
32
|
slug: "mural-list-room-murals",
|
|
33
33
|
name: "List murals in room",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-murals.cjs","names":["z","action"],"sources":["../../src/actions/list-room-murals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomMuralsInput
|
|
1
|
+
{"version":3,"file":"list-room-murals.cjs","names":["z","action"],"sources":["../../src/actions/list-room-murals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomMuralsInput = z.object({\n next: z.string().describe(\"Token to get the next page of items\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to be returned by the endpoint\").optional(),\n roomId: z.number().int().describe(\"Unique identifier of the room to list murals from\"),\n sortBy: z.enum([\"lastCreated\", \"lastModified\", \"oldest\"]).describe(\"Sort order options for murals.\").optional(),\n status: z.enum([\"active\", \"archived\"]).describe(\"Status filter for murals.\").optional(),\n folderId: z.string().describe(\"When set, filter murals by their corresponding folder\").optional(),\n}).describe(\"Request model for listing murals within a room.\");\nconst MuralListRoomMurals_MuralSchema = z.object({\n id: z.string().describe(\"Unique identifier of the mural\").nullable(),\n title: z.string().describe(\"Title of the mural\").nullable().optional(),\n roomId: z.number().int().describe(\"ID of the room containing the mural\").nullable().optional(),\n createdBy: z.string().describe(\"ID of the user who created the mural\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the mural was created (in milliseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the mural was last updated (in milliseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the mural\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing the mural\").nullable().optional(),\n thumbnailUrl: z.string().describe(\"URL of the mural thumbnail image\").nullable().optional(),\n}).passthrough().describe(\"Represents a mural object returned by the API.\");\nexport const MuralListRoomMuralsOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListRoomMurals_MuralSchema).describe(\"Array of murals in the room\"),\n}).passthrough().describe(\"Response model for listing murals within a room.\");\n\nexport const muralListRoomMurals = action(\"MURAL_LIST_ROOM_MURALS\", {\n slug: \"mural-list-room-murals\",\n name: \"List murals in room\",\n description: \"Tool to list all murals for a room that the authenticated user has read access to. Use after getting a room ID to retrieve murals within that room.\",\n input: MuralListRoomMuralsInput,\n output: MuralListRoomMuralsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAe;EAAgB;CAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kCAAkCA,IAAAA,EAAE,OAAO;CAC/C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,6BAA6B;AACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,sBAAsBC,eAAAA,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-room-murals.d.ts
|
|
4
|
-
declare const MuralListRoomMuralsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListRoomMuralsInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
roomId: z.ZodNumber;
|
|
8
|
+
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
lastCreated: "lastCreated";
|
|
10
|
+
lastModified: "lastModified";
|
|
11
|
+
oldest: "oldest";
|
|
12
|
+
}>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
active: "active";
|
|
15
|
+
archived: "archived";
|
|
16
|
+
}>>;
|
|
17
|
+
folderId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const MuralListRoomMuralsOutput: z.ZodObject<{
|
|
20
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
value: z.ZodArray<z.ZodObject<{
|
|
22
|
+
id: z.ZodNullable<z.ZodString>;
|
|
23
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
roomId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
|
+
declare const muralListRoomMurals: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
roomId: number;
|
|
35
|
+
next?: string | undefined;
|
|
36
|
+
limit?: number | undefined;
|
|
37
|
+
sortBy?: "lastCreated" | "lastModified" | "oldest" | undefined;
|
|
38
|
+
status?: "active" | "archived" | undefined;
|
|
39
|
+
folderId?: string | undefined;
|
|
40
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { muralListRoomMurals };
|
|
9
43
|
//# sourceMappingURL=list-room-murals.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-murals.d.cts","names":[],"sources":["../../src/actions/list-room-murals.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-room-murals.d.cts","names":[],"sources":["../../src/actions/list-room-murals.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -1,9 +1,43 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-room-murals.d.ts
|
|
4
|
-
declare const MuralListRoomMuralsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListRoomMuralsInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
roomId: z.ZodNumber;
|
|
8
|
+
sortBy: z.ZodOptional<z.ZodEnum<{
|
|
9
|
+
lastCreated: "lastCreated";
|
|
10
|
+
lastModified: "lastModified";
|
|
11
|
+
oldest: "oldest";
|
|
12
|
+
}>>;
|
|
13
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
14
|
+
active: "active";
|
|
15
|
+
archived: "archived";
|
|
16
|
+
}>>;
|
|
17
|
+
folderId: z.ZodOptional<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
declare const MuralListRoomMuralsOutput: z.ZodObject<{
|
|
20
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
|
+
value: z.ZodArray<z.ZodObject<{
|
|
22
|
+
id: z.ZodNullable<z.ZodString>;
|
|
23
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
+
roomId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
25
|
+
createdBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
28
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
+
workspaceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
}, z.core.$loose>>;
|
|
32
|
+
}, z.core.$loose>;
|
|
33
|
+
declare const muralListRoomMurals: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
34
|
+
roomId: number;
|
|
35
|
+
next?: string | undefined;
|
|
36
|
+
limit?: number | undefined;
|
|
37
|
+
sortBy?: "lastCreated" | "lastModified" | "oldest" | undefined;
|
|
38
|
+
status?: "active" | "archived" | undefined;
|
|
39
|
+
folderId?: string | undefined;
|
|
40
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
41
|
//#endregion
|
|
8
42
|
export { muralListRoomMurals };
|
|
9
43
|
//# sourceMappingURL=list-room-murals.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-murals.d.mts","names":[],"sources":["../../src/actions/list-room-murals.ts"],"mappings":";;;cAIa,wBAAA,
|
|
1
|
+
{"version":3,"file":"list-room-murals.d.mts","names":[],"sources":["../../src/actions/list-room-murals.ts"],"mappings":";;;cAIa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAmBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;cAKzB,mBAAA,gCAAmB,wBAAA"}
|
|
@@ -14,7 +14,7 @@ const MuralListRoomMuralsInput = z.object({
|
|
|
14
14
|
folderId: z.string().describe("When set, filter murals by their corresponding folder").optional()
|
|
15
15
|
}).describe("Request model for listing murals within a room.");
|
|
16
16
|
const MuralListRoomMurals_MuralSchema = z.object({
|
|
17
|
-
id: z.string().describe("Unique identifier of the mural"),
|
|
17
|
+
id: z.string().describe("Unique identifier of the mural").nullable(),
|
|
18
18
|
title: z.string().describe("Title of the mural").nullable().optional(),
|
|
19
19
|
roomId: z.number().int().describe("ID of the room containing the mural").nullable().optional(),
|
|
20
20
|
createdBy: z.string().describe("ID of the user who created the mural").nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const muralListRoomMurals = action("MURAL_LIST_ROOM_MURALS", {
|
|
|
32
32
|
output: z.object({
|
|
33
33
|
next: z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
|
|
34
34
|
value: z.array(MuralListRoomMurals_MuralSchema).describe("Array of murals in the room")
|
|
35
|
-
}).describe("Response model for listing murals within a room.")
|
|
35
|
+
}).passthrough().describe("Response model for listing murals within a room.")
|
|
36
36
|
});
|
|
37
37
|
//#endregion
|
|
38
38
|
export { muralListRoomMurals };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-murals.mjs","names":[],"sources":["../../src/actions/list-room-murals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomMuralsInput
|
|
1
|
+
{"version":3,"file":"list-room-murals.mjs","names":[],"sources":["../../src/actions/list-room-murals.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomMuralsInput = z.object({\n next: z.string().describe(\"Token to get the next page of items\").optional(),\n limit: z.number().int().describe(\"Maximum number of results to be returned by the endpoint\").optional(),\n roomId: z.number().int().describe(\"Unique identifier of the room to list murals from\"),\n sortBy: z.enum([\"lastCreated\", \"lastModified\", \"oldest\"]).describe(\"Sort order options for murals.\").optional(),\n status: z.enum([\"active\", \"archived\"]).describe(\"Status filter for murals.\").optional(),\n folderId: z.string().describe(\"When set, filter murals by their corresponding folder\").optional(),\n}).describe(\"Request model for listing murals within a room.\");\nconst MuralListRoomMurals_MuralSchema = z.object({\n id: z.string().describe(\"Unique identifier of the mural\").nullable(),\n title: z.string().describe(\"Title of the mural\").nullable().optional(),\n roomId: z.number().int().describe(\"ID of the room containing the mural\").nullable().optional(),\n createdBy: z.string().describe(\"ID of the user who created the mural\").nullable().optional(),\n createdOn: z.number().int().describe(\"Timestamp when the mural was created (in milliseconds)\").nullable().optional(),\n updatedOn: z.number().int().describe(\"Timestamp when the mural was last updated (in milliseconds)\").nullable().optional(),\n description: z.string().describe(\"Description of the mural\").nullable().optional(),\n workspaceId: z.string().describe(\"ID of the workspace containing the mural\").nullable().optional(),\n thumbnailUrl: z.string().describe(\"URL of the mural thumbnail image\").nullable().optional(),\n}).passthrough().describe(\"Represents a mural object returned by the API.\");\nexport const MuralListRoomMuralsOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListRoomMurals_MuralSchema).describe(\"Array of murals in the room\"),\n}).passthrough().describe(\"Response model for listing murals within a room.\");\n\nexport const muralListRoomMurals = action(\"MURAL_LIST_ROOM_MURALS\", {\n slug: \"mural-list-room-murals\",\n name: \"List murals in room\",\n description: \"Tool to list all murals for a room that the authenticated user has read access to. Use after getting a room ID to retrieve murals within that room.\",\n input: MuralListRoomMuralsInput,\n output: MuralListRoomMuralsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CACtG,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,mDAAmD;CACrF,QAAQ,EAAE,KAAK;EAAC;EAAe;EAAgB;CAAQ,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,KAAK,CAAC,UAAU,UAAU,CAAC,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACtF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS;AAClG,CAAC,CAAC,CAAC,SAAS,iDAAiD;AAC7D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,oBAAoB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrE,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAM1E,MAAa,sBAAsB,OAAO,0BAA0B;CAClE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,OAAO,EAAE,MAAM,+BAA+B,CAAC,CAAC,SAAS,6BAA6B;CACxF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -7,18 +7,18 @@ const MuralListRoomUsersInput = zod.z.object({
|
|
|
7
7
|
roomId: zod.z.string().describe("Unique identifier of the room to list users from")
|
|
8
8
|
}).describe("Request model for listing users in a room.");
|
|
9
9
|
const MuralListRoomUsers_RoomUserSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Unique identifier for the user"),
|
|
10
|
+
id: zod.z.string().describe("Unique identifier for the user").nullable(),
|
|
11
11
|
type: zod.z.string().describe("Type of the user (e.g., 'member', 'guest')").nullable().optional(),
|
|
12
|
-
email: zod.z.string().describe("Email address of the user"),
|
|
12
|
+
email: zod.z.string().describe("Email address of the user").nullable(),
|
|
13
13
|
avatar: zod.z.string().describe("URL to the user's avatar image").nullable().optional(),
|
|
14
|
-
lastName: zod.z.string().describe("Last name of the user"),
|
|
14
|
+
lastName: zod.z.string().describe("Last name of the user").nullable(),
|
|
15
15
|
createdOn: zod.z.number().int().describe("Timestamp when the user was created (in microseconds)").nullable().optional(),
|
|
16
|
-
firstName: zod.z.string().describe("First name of the user")
|
|
17
|
-
}).describe("Represents a user who is a member or guest of a room.");
|
|
16
|
+
firstName: zod.z.string().describe("First name of the user").nullable()
|
|
17
|
+
}).passthrough().describe("Represents a user who is a member or guest of a room.");
|
|
18
18
|
const MuralListRoomUsersOutput = zod.z.object({
|
|
19
19
|
next: zod.z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
|
|
20
20
|
value: zod.z.array(MuralListRoomUsers_RoomUserSchema).describe("Array of users in the room")
|
|
21
|
-
}).describe("Response model for listing users in a room.");
|
|
21
|
+
}).passthrough().describe("Response model for listing users in a room.");
|
|
22
22
|
const muralListRoomUsers = require_action.action("MURAL_LIST_ROOM_USERS", {
|
|
23
23
|
slug: "mural-list-room-users",
|
|
24
24
|
name: "List users in room",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-users.cjs","names":["z","action"],"sources":["../../src/actions/list-room-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomUsersInput
|
|
1
|
+
{"version":3,"file":"list-room-users.cjs","names":["z","action"],"sources":["../../src/actions/list-room-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomUsersInput = 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 users to return per page (must be ≥1)\").optional(),\n roomId: z.string().describe(\"Unique identifier of the room to list users from\"),\n}).describe(\"Request model for listing users in a room.\");\nconst MuralListRoomUsers_RoomUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n type: z.string().describe(\"Type of the user (e.g., 'member', 'guest')\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n avatar: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the user\").nullable(),\n createdOn: z.number().int().describe(\"Timestamp when the user was created (in microseconds)\").nullable().optional(),\n firstName: z.string().describe(\"First name of the user\").nullable(),\n}).passthrough().describe(\"Represents a user who is a member or guest of a room.\");\nexport const MuralListRoomUsersOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListRoomUsers_RoomUserSchema).describe(\"Array of users in the room\"),\n}).passthrough().describe(\"Response model for listing users in a room.\");\n\nexport const muralListRoomUsers = action(\"MURAL_LIST_ROOM_USERS\", {\n slug: \"mural-list-room-users\",\n name: \"List users in room\",\n description: \"Tool to list all members and guests for a room. Returns users that the authenticated user has access to view. Use after LIST_ROOMS to get room membership details.\",\n input: MuralListRoomUsersInput,\n output: MuralListRoomUsersOutput,\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,yDAAyD,CAAC,CAAC,SAAS;CACrG,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,oCAAoCA,IAAAA,EAAE,OAAO;CACjD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,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,iCAAiC,CAAC,CAAC,SAAS,4BAA4B;AACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-room-users.d.ts
|
|
4
|
-
declare const MuralListRoomUsersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListRoomUsersInput: 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 MuralListRoomUsersOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
value: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
email: z.ZodNullable<z.ZodString>;
|
|
15
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
17
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const muralListRoomUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
roomId: string;
|
|
23
|
+
next?: string | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { muralListRoomUsers };
|
|
9
28
|
//# sourceMappingURL=list-room-users.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-users.d.cts","names":[],"sources":["../../src/actions/list-room-users.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-room-users.d.cts","names":[],"sources":["../../src/actions/list-room-users.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-room-users.d.ts
|
|
4
|
-
declare const MuralListRoomUsersInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListRoomUsersInput: 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 MuralListRoomUsersOutput: z.ZodObject<{
|
|
10
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
+
value: z.ZodArray<z.ZodObject<{
|
|
12
|
+
id: z.ZodNullable<z.ZodString>;
|
|
13
|
+
type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
|
+
email: z.ZodNullable<z.ZodString>;
|
|
15
|
+
avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
|
+
lastName: z.ZodNullable<z.ZodString>;
|
|
17
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
firstName: z.ZodNullable<z.ZodString>;
|
|
19
|
+
}, z.core.$loose>>;
|
|
20
|
+
}, z.core.$loose>;
|
|
21
|
+
declare const muralListRoomUsers: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
22
|
+
roomId: string;
|
|
23
|
+
next?: string | undefined;
|
|
24
|
+
limit?: number | undefined;
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { muralListRoomUsers };
|
|
9
28
|
//# sourceMappingURL=list-room-users.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-users.d.mts","names":[],"sources":["../../src/actions/list-room-users.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"list-room-users.d.mts","names":[],"sources":["../../src/actions/list-room-users.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;cAcvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;cAKxB,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -7,14 +7,14 @@ const MuralListRoomUsersInput = z.object({
|
|
|
7
7
|
roomId: z.string().describe("Unique identifier of the room to list users from")
|
|
8
8
|
}).describe("Request model for listing users in a room.");
|
|
9
9
|
const MuralListRoomUsers_RoomUserSchema = z.object({
|
|
10
|
-
id: z.string().describe("Unique identifier for the user"),
|
|
10
|
+
id: z.string().describe("Unique identifier for the user").nullable(),
|
|
11
11
|
type: z.string().describe("Type of the user (e.g., 'member', 'guest')").nullable().optional(),
|
|
12
|
-
email: z.string().describe("Email address of the user"),
|
|
12
|
+
email: z.string().describe("Email address of the user").nullable(),
|
|
13
13
|
avatar: z.string().describe("URL to the user's avatar image").nullable().optional(),
|
|
14
|
-
lastName: z.string().describe("Last name of the user"),
|
|
14
|
+
lastName: z.string().describe("Last name of the user").nullable(),
|
|
15
15
|
createdOn: z.number().int().describe("Timestamp when the user was created (in microseconds)").nullable().optional(),
|
|
16
|
-
firstName: z.string().describe("First name of the user")
|
|
17
|
-
}).describe("Represents a user who is a member or guest of a room.");
|
|
16
|
+
firstName: z.string().describe("First name of the user").nullable()
|
|
17
|
+
}).passthrough().describe("Represents a user who is a member or guest of a room.");
|
|
18
18
|
const muralListRoomUsers = action("MURAL_LIST_ROOM_USERS", {
|
|
19
19
|
slug: "mural-list-room-users",
|
|
20
20
|
name: "List users in room",
|
|
@@ -23,7 +23,7 @@ const muralListRoomUsers = action("MURAL_LIST_ROOM_USERS", {
|
|
|
23
23
|
output: z.object({
|
|
24
24
|
next: z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
|
|
25
25
|
value: z.array(MuralListRoomUsers_RoomUserSchema).describe("Array of users in the room")
|
|
26
|
-
}).describe("Response model for listing users in a room.")
|
|
26
|
+
}).passthrough().describe("Response model for listing users in a room.")
|
|
27
27
|
});
|
|
28
28
|
//#endregion
|
|
29
29
|
export { muralListRoomUsers };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-room-users.mjs","names":[],"sources":["../../src/actions/list-room-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomUsersInput
|
|
1
|
+
{"version":3,"file":"list-room-users.mjs","names":[],"sources":["../../src/actions/list-room-users.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomUsersInput = 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 users to return per page (must be ≥1)\").optional(),\n roomId: z.string().describe(\"Unique identifier of the room to list users from\"),\n}).describe(\"Request model for listing users in a room.\");\nconst MuralListRoomUsers_RoomUserSchema = z.object({\n id: z.string().describe(\"Unique identifier for the user\").nullable(),\n type: z.string().describe(\"Type of the user (e.g., 'member', 'guest')\").nullable().optional(),\n email: z.string().describe(\"Email address of the user\").nullable(),\n avatar: z.string().describe(\"URL to the user's avatar image\").nullable().optional(),\n lastName: z.string().describe(\"Last name of the user\").nullable(),\n createdOn: z.number().int().describe(\"Timestamp when the user was created (in microseconds)\").nullable().optional(),\n firstName: z.string().describe(\"First name of the user\").nullable(),\n}).passthrough().describe(\"Represents a user who is a member or guest of a room.\");\nexport const MuralListRoomUsersOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListRoomUsers_RoomUserSchema).describe(\"Array of users in the room\"),\n}).passthrough().describe(\"Response model for listing users in a room.\");\n\nexport const muralListRoomUsers = action(\"MURAL_LIST_ROOM_USERS\", {\n slug: \"mural-list-room-users\",\n name: \"List users in room\",\n description: \"Tool to list all members and guests for a room. Returns users that the authenticated user has access to view. Use after LIST_ROOMS to get room membership details.\",\n input: MuralListRoomUsersInput,\n output: MuralListRoomUsersOutput,\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,yDAAyD,CAAC,CAAC,SAAS;CACrG,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD;AAChF,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,oCAAoC,EAAE,OAAO;CACjD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACnE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2BAA2B,CAAC,CAAC,SAAS;CACjE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;CAChE,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACpE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAMjF,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,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,iCAAiC,CAAC,CAAC,SAAS,4BAA4B;CACzF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -7,21 +7,21 @@ const MuralListRoomsInput = zod.z.object({
|
|
|
7
7
|
workspaceId: zod.z.string().describe("Unique identifier of the workspace to list rooms from")
|
|
8
8
|
}).describe("Request model for listing rooms within a workspace.");
|
|
9
9
|
const MuralListRooms_RoomSchema = zod.z.object({
|
|
10
|
-
id: zod.z.string().describe("Unique identifier of the room"),
|
|
11
|
-
name: zod.z.string().describe("Name of the room"),
|
|
12
|
-
type: zod.z.string().describe("Type of the room (e.g., 'open', 'private')"),
|
|
10
|
+
id: zod.z.string().describe("Unique identifier of the room").nullable(),
|
|
11
|
+
name: zod.z.string().describe("Name of the room").nullable(),
|
|
12
|
+
type: zod.z.string().describe("Type of the room (e.g., 'open', 'private')").nullable(),
|
|
13
13
|
favorite: zod.z.boolean().describe("Whether the room is marked as favorite by the user").nullable().optional(),
|
|
14
14
|
isMember: zod.z.boolean().describe("Whether the current user is a member of this room").nullable().optional(),
|
|
15
15
|
createdOn: zod.z.number().int().describe("Timestamp when the room was created (in microseconds)").nullable().optional(),
|
|
16
16
|
updatedOn: zod.z.number().int().describe("Timestamp when the room was last updated (in microseconds)").nullable().optional(),
|
|
17
17
|
description: zod.z.string().describe("Description of the room").nullable().optional(),
|
|
18
|
-
workspaceId: zod.z.string().describe("ID of the workspace containing this room"),
|
|
18
|
+
workspaceId: zod.z.string().describe("ID of the workspace containing this room").nullable(),
|
|
19
19
|
confidential: zod.z.boolean().describe("Whether the room is marked as confidential").nullable().optional()
|
|
20
|
-
}).describe("Represents a room within a workspace.");
|
|
20
|
+
}).passthrough().describe("Represents a room within a workspace.");
|
|
21
21
|
const MuralListRoomsOutput = zod.z.object({
|
|
22
22
|
next: zod.z.string().describe("Pagination token for the next page of results, if available").nullable().optional(),
|
|
23
23
|
value: zod.z.array(MuralListRooms_RoomSchema).describe("Array of rooms in the workspace")
|
|
24
|
-
}).describe("Response model for listing rooms within a workspace.");
|
|
24
|
+
}).passthrough().describe("Response model for listing rooms within a workspace.");
|
|
25
25
|
const muralListRooms = require_action.action("MURAL_LIST_ROOMS", {
|
|
26
26
|
slug: "mural-list-rooms",
|
|
27
27
|
name: "List rooms in workspace",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-rooms.cjs","names":["z","action"],"sources":["../../src/actions/list-rooms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomsInput
|
|
1
|
+
{"version":3,"file":"list-rooms.cjs","names":["z","action"],"sources":["../../src/actions/list-rooms.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const MuralListRoomsInput = 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 rooms to return per page (must be ≥1)\").optional(),\n workspaceId: z.string().describe(\"Unique identifier of the workspace to list rooms from\"),\n}).describe(\"Request model for listing rooms within a workspace.\");\nconst MuralListRooms_RoomSchema = 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}).passthrough().describe(\"Represents a room within a workspace.\");\nexport const MuralListRoomsOutput = z.object({\n next: z.string().describe(\"Pagination token for the next page of results, if available\").nullable().optional(),\n value: z.array(MuralListRooms_RoomSchema).describe(\"Array of rooms in the workspace\"),\n}).passthrough().describe(\"Response model for listing rooms within a workspace.\");\n\nexport const muralListRooms = action(\"MURAL_LIST_ROOMS\", {\n slug: \"mural-list-rooms\",\n name: \"List rooms in workspace\",\n description: \"Tool to list all rooms within a workspace. Use after MURAL_LIST_WORKSPACES to navigate rooms and before MURAL_CREATE_MURAL, since murals are created within rooms.\",\n input: MuralListRoomsInput,\n output: MuralListRoomsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,sBAAsBA,IAAAA,EAAE,OAAO;CAC1C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;CACrG,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD;AAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4BAA4BA,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,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,OAAOA,IAAAA,EAAE,MAAM,yBAAyB,CAAC,CAAC,SAAS,iCAAiC;AACtF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,iBAAiBC,eAAAA,OAAO,oBAAoB;CACvD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,31 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/list-rooms.d.ts
|
|
4
|
-
declare const MuralListRoomsInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const MuralListRoomsInput: z.ZodObject<{
|
|
5
|
+
next: z.ZodOptional<z.ZodString>;
|
|
6
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
workspaceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
declare const MuralListRoomsOutput: 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
|
+
type: z.ZodNullable<z.ZodString>;
|
|
15
|
+
favorite: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16
|
+
isMember: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
17
|
+
createdOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
+
workspaceId: z.ZodNullable<z.ZodString>;
|
|
21
|
+
confidential: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
|
+
}, z.core.$loose>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const muralListRooms: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
workspaceId: string;
|
|
26
|
+
next?: string | undefined;
|
|
27
|
+
limit?: number | undefined;
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
29
|
//#endregion
|
|
8
30
|
export { muralListRooms };
|
|
9
31
|
//# sourceMappingURL=list-rooms.d.cts.map
|