@keystrokehq/postiz_mcp 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/ask-postiz.cjs.map +1 -1
- package/dist/actions/ask-postiz.d.cts +7 -3
- package/dist/actions/ask-postiz.d.cts.map +1 -1
- package/dist/actions/ask-postiz.d.mts +7 -3
- package/dist/actions/ask-postiz.d.mts.map +1 -1
- package/dist/actions/ask-postiz.mjs.map +1 -1
- package/dist/actions/generateimagetool.cjs +2 -2
- package/dist/actions/generateimagetool.cjs.map +1 -1
- package/dist/actions/generateimagetool.d.cts +10 -3
- package/dist/actions/generateimagetool.d.cts.map +1 -1
- package/dist/actions/generateimagetool.d.mts +10 -3
- package/dist/actions/generateimagetool.d.mts.map +1 -1
- package/dist/actions/generateimagetool.mjs +2 -2
- package/dist/actions/generateimagetool.mjs.map +1 -1
- package/dist/actions/generatevideooptions.cjs +4 -4
- package/dist/actions/generatevideooptions.cjs.map +1 -1
- package/dist/actions/generatevideooptions.d.cts +13 -3
- package/dist/actions/generatevideooptions.d.cts.map +1 -1
- package/dist/actions/generatevideooptions.d.mts +13 -3
- package/dist/actions/generatevideooptions.d.mts.map +1 -1
- package/dist/actions/generatevideooptions.mjs +4 -4
- package/dist/actions/generatevideooptions.mjs.map +1 -1
- package/dist/actions/generatevideotool.cjs +1 -1
- package/dist/actions/generatevideotool.cjs.map +1 -1
- package/dist/actions/generatevideotool.d.cts +22 -3
- package/dist/actions/generatevideotool.d.cts.map +1 -1
- package/dist/actions/generatevideotool.d.mts +22 -3
- package/dist/actions/generatevideotool.d.mts.map +1 -1
- package/dist/actions/generatevideotool.mjs +1 -1
- package/dist/actions/generatevideotool.mjs.map +1 -1
- package/dist/actions/integrationlist.cjs +4 -4
- package/dist/actions/integrationlist.cjs.map +1 -1
- package/dist/actions/integrationlist.d.cts +10 -3
- package/dist/actions/integrationlist.d.cts.map +1 -1
- package/dist/actions/integrationlist.d.mts +10 -3
- package/dist/actions/integrationlist.d.mts.map +1 -1
- package/dist/actions/integrationlist.mjs +4 -4
- package/dist/actions/integrationlist.mjs.map +1 -1
- package/dist/actions/integrationscheduleposttool.cjs +3 -3
- package/dist/actions/integrationscheduleposttool.cjs.map +1 -1
- package/dist/actions/integrationscheduleposttool.d.cts +46 -3
- package/dist/actions/integrationscheduleposttool.d.cts.map +1 -1
- package/dist/actions/integrationscheduleposttool.d.mts +46 -3
- package/dist/actions/integrationscheduleposttool.d.mts.map +1 -1
- package/dist/actions/integrationscheduleposttool.mjs +3 -3
- package/dist/actions/integrationscheduleposttool.mjs.map +1 -1
- package/dist/actions/integrationschema.cjs +7 -7
- package/dist/actions/integrationschema.cjs.map +1 -1
- package/dist/actions/integrationschema.d.cts +24 -3
- package/dist/actions/integrationschema.d.cts.map +1 -1
- package/dist/actions/integrationschema.d.mts +24 -3
- package/dist/actions/integrationschema.d.mts.map +1 -1
- package/dist/actions/integrationschema.mjs +7 -7
- package/dist/actions/integrationschema.mjs.map +1 -1
- package/dist/actions/triggertool.cjs.map +1 -1
- package/dist/actions/triggertool.d.cts +19 -3
- package/dist/actions/triggertool.d.cts.map +1 -1
- package/dist/actions/triggertool.d.mts +19 -3
- package/dist/actions/triggertool.d.mts.map +1 -1
- package/dist/actions/triggertool.mjs.map +1 -1
- package/dist/actions/videofunctiontool.cjs.map +1 -1
- package/dist/actions/videofunctiontool.d.cts +9 -3
- package/dist/actions/videofunctiontool.d.cts.map +1 -1
- package/dist/actions/videofunctiontool.d.mts +9 -3
- package/dist/actions/videofunctiontool.d.mts.map +1 -1
- package/dist/actions/videofunctiontool.mjs.map +1 -1
- package/dist/catalog.cjs +7 -1
- package/dist/catalog.cjs.map +1 -1
- package/dist/catalog.d.cts +8 -0
- package/dist/catalog.d.mts +8 -0
- package/dist/catalog.mjs +7 -1
- package/dist/catalog.mjs.map +1 -1
- package/package.json +2 -2
package/dist/action.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.cjs","names":["postizMcp","executePostizMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.cjs","names":["postizMcp","executePostizMcpTool"],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return postizMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePostizMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAOA,YAAAA,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAMC,gBAAAA,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
package/dist/action.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input:
|
|
1
|
+
{"version":3,"file":"action.mjs","names":[],"sources":["../src/action.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { postizMcp } from \"./app\";\nimport { executePostizMcpTool } from \"./execute\";\n\n/** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */\nexport function action<TInput extends z.ZodType>(\n tool: string,\n def: {\n slug: string;\n name: string;\n description: string;\n input: TInput;\n output: z.ZodType;\n },\n) {\n return postizMcp.action({\n slug: def.slug,\n name: def.name,\n description: def.description,\n input: def.input,\n output: def.output as z.ZodTypeAny,\n async run(input) {\n return def.output.parse(await executePostizMcpTool(tool, input as Record<string, unknown>));\n },\n });\n}\n"],"mappings":";;;;;AAMA,SAAgB,OACd,MACA,KAOA;CACA,OAAO,UAAU,OAAO;EACtB,MAAM,IAAI;EACV,MAAM,IAAI;EACV,aAAa,IAAI;EACjB,OAAO,IAAI;EACX,QAAQ,IAAI;EACZ,MAAM,IAAI,OAAO;GACf,OAAO,IAAI,OAAO,MAAM,MAAM,qBAAqB,MAAM,KAAgC,CAAC;EAC5F;CACF,CAAC;AACH"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask-postiz.cjs","names":["z","action"],"sources":["../../src/actions/ask-postiz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpAskPostizInput
|
|
1
|
+
{"version":3,"file":"ask-postiz.cjs","names":["z","action"],"sources":["../../src/actions/ask-postiz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpAskPostizInput = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput = z.unknown();\n\nexport const postizMcpAskPostiz = action(\"POSTIZ_MCP_ASK_POSTIZ\", {\n slug: \"postiz_mcp-ask-postiz\",\n name: \"Ask postiz\",\n description: \"Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users\",\n input: PostizMcpAskPostizInput,\n output: PostizMcpAskPostizOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAAC;AACD,MAAa,2BAA2BA,IAAAA,EAAE,QAAQ;AAElD,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ask-postiz.d.ts
|
|
4
|
-
declare const PostizMcpAskPostizInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpAskPostizInput: z.ZodObject<{
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PostizMcpAskPostizOutput: z.ZodUnknown;
|
|
8
|
+
declare const postizMcpAskPostiz: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
message: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { postizMcpAskPostiz };
|
|
9
13
|
//# sourceMappingURL=ask-postiz.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask-postiz.d.cts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"ask-postiz.d.cts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/ask-postiz.d.ts
|
|
4
|
-
declare const PostizMcpAskPostizInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpAskPostizInput: z.ZodObject<{
|
|
5
|
+
message: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PostizMcpAskPostizOutput: z.ZodUnknown;
|
|
8
|
+
declare const postizMcpAskPostiz: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
9
|
+
message: string;
|
|
10
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
11
|
//#endregion
|
|
8
12
|
export { postizMcpAskPostiz };
|
|
9
13
|
//# sourceMappingURL=ask-postiz.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask-postiz.d.mts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,
|
|
1
|
+
{"version":3,"file":"ask-postiz.d.mts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;cAGvB,wBAAA,EAAwB,CAAA,CAAA,UAAc;AAAA,cAEtC,kBAAA,gCAAkB,wBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ask-postiz.mjs","names":[],"sources":["../../src/actions/ask-postiz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpAskPostizInput
|
|
1
|
+
{"version":3,"file":"ask-postiz.mjs","names":[],"sources":["../../src/actions/ask-postiz.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpAskPostizInput = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput = z.unknown();\n\nexport const postizMcpAskPostiz = action(\"POSTIZ_MCP_ASK_POSTIZ\", {\n slug: \"postiz_mcp-ask-postiz\",\n name: \"Ask postiz\",\n description: \"Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users\",\n input: PostizMcpAskPostizInput,\n output: PostizMcpAskPostizOutput,\n});\n"],"mappings":";;AASA,MAAa,qBAAqB,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATqC,EAAE,OAAO,EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAOS;CACP,QAPsC,EAAE,QAOhC;AACV,CAAC"}
|
|
@@ -3,8 +3,8 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/generateimagetool.ts
|
|
4
4
|
const PostizMcpGenerateimagetoolInput = zod.z.object({ prompt: zod.z.string() });
|
|
5
5
|
const PostizMcpGenerateimagetoolOutput = zod.z.object({
|
|
6
|
-
id: zod.z.string(),
|
|
7
|
-
path: zod.z.string()
|
|
6
|
+
id: zod.z.string().nullable(),
|
|
7
|
+
path: zod.z.string().nullable()
|
|
8
8
|
});
|
|
9
9
|
const postizMcpGenerateimagetool = require_action.action("POSTIZ_MCP_GENERATEIMAGETOOL", {
|
|
10
10
|
slug: "postiz_mcp-generateimagetool",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateimagetool.cjs","names":["z","action"],"sources":["../../src/actions/generateimagetool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGenerateimagetoolInput
|
|
1
|
+
{"version":3,"file":"generateimagetool.cjs","names":["z","action"],"sources":["../../src/actions/generateimagetool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGenerateimagetoolInput = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput = z.object({\n id: z.string().nullable(),\n path: z.string().nullable(),\n});\n\nexport const postizMcpGenerateimagetool = action(\"POSTIZ_MCP_GENERATEIMAGETOOL\", {\n slug: \"postiz_mcp-generateimagetool\",\n name: \"Generateimagetool\",\n description: \"Generate image to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\",\n input: PostizMcpGenerateimagetoolInput,\n output: PostizMcpGenerateimagetoolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO,EACtD,QAAQA,IAAAA,EAAE,OAAO,EACnB,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAC5B,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/generateimagetool.d.ts
|
|
4
|
-
declare const PostizMcpGenerateimagetoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpGenerateimagetoolInput: z.ZodObject<{
|
|
5
|
+
prompt: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PostizMcpGenerateimagetoolOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
path: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const postizMcpGenerateimagetool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
prompt: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { postizMcpGenerateimagetool };
|
|
9
16
|
//# sourceMappingURL=generateimagetool.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateimagetool.d.cts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"generateimagetool.d.cts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/generateimagetool.d.ts
|
|
4
|
-
declare const PostizMcpGenerateimagetoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpGenerateimagetoolInput: z.ZodObject<{
|
|
5
|
+
prompt: z.ZodString;
|
|
6
|
+
}, z.core.$strip>;
|
|
7
|
+
declare const PostizMcpGenerateimagetoolOutput: z.ZodObject<{
|
|
8
|
+
id: z.ZodNullable<z.ZodString>;
|
|
9
|
+
path: z.ZodNullable<z.ZodString>;
|
|
10
|
+
}, z.core.$strip>;
|
|
11
|
+
declare const postizMcpGenerateimagetool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
|
+
prompt: string;
|
|
13
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { postizMcpGenerateimagetool };
|
|
9
16
|
//# sourceMappingURL=generateimagetool.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateimagetool.d.mts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"generateimagetool.d.mts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;cAG/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;;cAKhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -6,8 +6,8 @@ const postizMcpGenerateimagetool = action("POSTIZ_MCP_GENERATEIMAGETOOL", {
|
|
|
6
6
|
description: "Generate image to use in a post,\n in case the user specified a platform that requires attachment and attachment was not provided,\n ask if they want to generate a picture of a video.",
|
|
7
7
|
input: z.object({ prompt: z.string() }),
|
|
8
8
|
output: z.object({
|
|
9
|
-
id: z.string(),
|
|
10
|
-
path: z.string()
|
|
9
|
+
id: z.string().nullable(),
|
|
10
|
+
path: z.string().nullable()
|
|
11
11
|
})
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateimagetool.mjs","names":[],"sources":["../../src/actions/generateimagetool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGenerateimagetoolInput
|
|
1
|
+
{"version":3,"file":"generateimagetool.mjs","names":[],"sources":["../../src/actions/generateimagetool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGenerateimagetoolInput = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput = z.object({\n id: z.string().nullable(),\n path: z.string().nullable(),\n});\n\nexport const postizMcpGenerateimagetool = action(\"POSTIZ_MCP_GENERATEIMAGETOOL\", {\n slug: \"postiz_mcp-generateimagetool\",\n name: \"Generateimagetool\",\n description: \"Generate image to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\",\n input: PostizMcpGenerateimagetoolInput,\n output: PostizMcpGenerateimagetoolOutput,\n});\n"],"mappings":";;AAYA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ6C,EAAE,OAAO,EACtD,QAAQ,EAAE,OAAO,EACnB,CAUS;CACP,QAV8C,EAAE,OAAO;EACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,CAOU;AACV,CAAC"}
|
|
@@ -3,12 +3,12 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/generatevideooptions.ts
|
|
4
4
|
const PostizMcpGeneratevideooptionsInput = zod.z.object({});
|
|
5
5
|
const PostizMcpGeneratevideooptionsOutput = zod.z.object({ video: zod.z.array(zod.z.object({
|
|
6
|
-
type: zod.z.string(),
|
|
6
|
+
type: zod.z.string().nullable(),
|
|
7
7
|
tools: zod.z.array(zod.z.object({
|
|
8
|
-
output: zod.z.string(),
|
|
9
|
-
functionName: zod.z.string()
|
|
8
|
+
output: zod.z.string().nullable(),
|
|
9
|
+
functionName: zod.z.string().nullable()
|
|
10
10
|
})),
|
|
11
|
-
output: zod.z.string(),
|
|
11
|
+
output: zod.z.string().nullable(),
|
|
12
12
|
customParams: zod.z.unknown().nullable().optional()
|
|
13
13
|
})) });
|
|
14
14
|
const postizMcpGeneratevideooptions = require_action.action("POSTIZ_MCP_GENERATEVIDEOOPTIONS", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideooptions.cjs","names":["z","action"],"sources":["../../src/actions/generatevideooptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideooptionsInput
|
|
1
|
+
{"version":3,"file":"generatevideooptions.cjs","names":["z","action"],"sources":["../../src/actions/generatevideooptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideooptionsInput = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput = z.object({\n video: z.array(z.object({\n type: z.string().nullable(),\n tools: z.array(z.object({\n output: z.string().nullable(),\n functionName: z.string().nullable(),\n})),\n output: z.string().nullable(),\n customParams: z.unknown().nullable().optional(),\n})),\n});\n\nexport const postizMcpGeneratevideooptions = action(\"POSTIZ_MCP_GENERATEVIDEOOPTIONS\", {\n slug: \"postiz_mcp-generatevideooptions\",\n name: \"Generatevideooptions\",\n description: \"All the options to generate videos, some tools might require another call to generateVideoFunction\",\n input: PostizMcpGeneratevideooptionsInput,\n output: PostizMcpGeneratevideooptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC7D,MAAa,sCAAsCA,IAAAA,EAAE,OAAO,EAC1D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACpC,CAAC,CAAC;CACA,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,cAAcA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChD,CAAC,CAAC,EACF,CAAC;AAED,MAAa,gCAAgCC,eAAAA,OAAO,mCAAmC;CACrF,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/generatevideooptions.d.ts
|
|
4
|
-
declare const PostizMcpGeneratevideooptionsInput: z.
|
|
5
|
-
declare const PostizMcpGeneratevideooptionsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpGeneratevideooptionsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PostizMcpGeneratevideooptionsOutput: z.ZodObject<{
|
|
6
|
+
video: z.ZodArray<z.ZodObject<{
|
|
7
|
+
type: z.ZodNullable<z.ZodString>;
|
|
8
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
9
|
+
output: z.ZodNullable<z.ZodString>;
|
|
10
|
+
functionName: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
output: z.ZodNullable<z.ZodString>;
|
|
13
|
+
customParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const postizMcpGeneratevideooptions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { postizMcpGeneratevideooptions };
|
|
9
19
|
//# sourceMappingURL=generatevideooptions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideooptions.d.cts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"generatevideooptions.d.cts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/generatevideooptions.d.ts
|
|
4
|
-
declare const PostizMcpGeneratevideooptionsInput: z.
|
|
5
|
-
declare const PostizMcpGeneratevideooptionsOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpGeneratevideooptionsInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PostizMcpGeneratevideooptionsOutput: z.ZodObject<{
|
|
6
|
+
video: z.ZodArray<z.ZodObject<{
|
|
7
|
+
type: z.ZodNullable<z.ZodString>;
|
|
8
|
+
tools: z.ZodArray<z.ZodObject<{
|
|
9
|
+
output: z.ZodNullable<z.ZodString>;
|
|
10
|
+
functionName: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
output: z.ZodNullable<z.ZodString>;
|
|
13
|
+
customParams: z.ZodOptional<z.ZodNullable<z.ZodUnknown>>;
|
|
14
|
+
}, z.core.$strip>>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
declare const postizMcpGeneratevideooptions: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
17
|
//#endregion
|
|
8
18
|
export { postizMcpGeneratevideooptions };
|
|
9
19
|
//# sourceMappingURL=generatevideooptions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideooptions.d.mts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,
|
|
1
|
+
{"version":3,"file":"generatevideooptions.d.mts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,EAAkC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAClC,mCAAA,EAAmC,CAAA,CAAA,SAAA;;;;;;;;;;;cAYnC,6BAAA,gCAA6B,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,12 +6,12 @@ const postizMcpGeneratevideooptions = action("POSTIZ_MCP_GENERATEVIDEOOPTIONS",
|
|
|
6
6
|
description: "All the options to generate videos, some tools might require another call to generateVideoFunction",
|
|
7
7
|
input: z.object({}),
|
|
8
8
|
output: z.object({ video: z.array(z.object({
|
|
9
|
-
type: z.string(),
|
|
9
|
+
type: z.string().nullable(),
|
|
10
10
|
tools: z.array(z.object({
|
|
11
|
-
output: z.string(),
|
|
12
|
-
functionName: z.string()
|
|
11
|
+
output: z.string().nullable(),
|
|
12
|
+
functionName: z.string().nullable()
|
|
13
13
|
})),
|
|
14
|
-
output: z.string(),
|
|
14
|
+
output: z.string().nullable(),
|
|
15
15
|
customParams: z.unknown().nullable().optional()
|
|
16
16
|
})) })
|
|
17
17
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideooptions.mjs","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideooptionsInput
|
|
1
|
+
{"version":3,"file":"generatevideooptions.mjs","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideooptionsInput = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput = z.object({\n video: z.array(z.object({\n type: z.string().nullable(),\n tools: z.array(z.object({\n output: z.string().nullable(),\n functionName: z.string().nullable(),\n})),\n output: z.string().nullable(),\n customParams: z.unknown().nullable().optional(),\n})),\n});\n\nexport const postizMcpGeneratevideooptions = action(\"POSTIZ_MCP_GENERATEVIDEOOPTIONS\", {\n slug: \"postiz_mcp-generatevideooptions\",\n name: \"Generatevideooptions\",\n description: \"All the options to generate videos, some tools might require another call to generateVideoFunction\",\n input: PostizMcpGeneratevideooptionsInput,\n output: PostizMcpGeneratevideooptionsOutput,\n});\n"],"mappings":";;AAiBA,MAAa,gCAAgC,OAAO,mCAAmC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAjBgD,EAAE,OAAO,CAAC,CAiBnD;CACP,QAjBiD,EAAE,OAAO,EAC1D,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;EAC1B,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;GAC5B,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS;EACpC,CAAC,CAAC;EACA,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS;EAC5B,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChD,CAAC,CAAC,EACF,CAOU;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PostizMcpGeneratevideotoolInput = zod.z.object({
|
|
|
9
9
|
value: zod.z.unknown().describe("Value of the key").optional()
|
|
10
10
|
}))
|
|
11
11
|
});
|
|
12
|
-
const PostizMcpGeneratevideotoolOutput = zod.z.object({ url: zod.z.string() });
|
|
12
|
+
const PostizMcpGeneratevideotoolOutput = zod.z.object({ url: zod.z.string().nullable() });
|
|
13
13
|
const postizMcpGeneratevideotool = require_action.action("POSTIZ_MCP_GENERATEVIDEOTOOL", {
|
|
14
14
|
slug: "postiz_mcp-generatevideotool",
|
|
15
15
|
name: "Generatevideotool",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideotool.cjs","names":["z","action"],"sources":["../../src/actions/generatevideotool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideotoolInput
|
|
1
|
+
{"version":3,"file":"generatevideotool.cjs","names":["z","action"],"sources":["../../src/actions/generatevideotool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideotoolInput = z.object({\n output: z.enum([\"vertical\", \"horizontal\"]),\n identifier: z.string(),\n customParams: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n value: z.unknown().describe(\"Value of the key\").optional(),\n})),\n});\nexport const PostizMcpGeneratevideotoolOutput = z.object({\n url: z.string().nullable(),\n});\n\nexport const postizMcpGeneratevideotool = action(\"POSTIZ_MCP_GENERATEVIDEOTOOL\", {\n slug: \"postiz_mcp-generatevideotool\",\n name: \"Generatevideotool\",\n description: \"Generate video to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\\n In many cases 'videoFunctionTool' will need to be called first, to get things like voice id\\n Here are the type of video that can be generated:\\n -Image Text Slides\\n-Veo3 (Audio + Video)\",\n input: PostizMcpGeneratevideotoolInput,\n output: PostizMcpGeneratevideotoolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,QAAQA,IAAAA,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC;CACzC,YAAYA,IAAAA,EAAE,OAAO;CACrB,cAAcA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC/B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CAC3D,CAAC,CAAC;AACF,CAAC;AACD,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,EAC3B,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,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/generatevideotool.d.ts
|
|
4
|
-
declare const PostizMcpGeneratevideotoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpGeneratevideotoolInput: z.ZodObject<{
|
|
5
|
+
output: z.ZodEnum<{
|
|
6
|
+
vertical: "vertical";
|
|
7
|
+
horizontal: "horizontal";
|
|
8
|
+
}>;
|
|
9
|
+
identifier: z.ZodString;
|
|
10
|
+
customParams: z.ZodArray<z.ZodObject<{
|
|
11
|
+
key: z.ZodString;
|
|
12
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const PostizMcpGeneratevideotoolOutput: z.ZodObject<{
|
|
16
|
+
url: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const postizMcpGeneratevideotool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
output: "vertical" | "horizontal";
|
|
20
|
+
identifier: string;
|
|
21
|
+
customParams: {
|
|
22
|
+
key: string;
|
|
23
|
+
value?: unknown;
|
|
24
|
+
}[];
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { postizMcpGeneratevideotool };
|
|
9
28
|
//# sourceMappingURL=generatevideotool.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideotool.d.cts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"generatevideotool.d.cts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -1,9 +1,28 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/generatevideotool.d.ts
|
|
4
|
-
declare const PostizMcpGeneratevideotoolInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpGeneratevideotoolInput: z.ZodObject<{
|
|
5
|
+
output: z.ZodEnum<{
|
|
6
|
+
vertical: "vertical";
|
|
7
|
+
horizontal: "horizontal";
|
|
8
|
+
}>;
|
|
9
|
+
identifier: z.ZodString;
|
|
10
|
+
customParams: z.ZodArray<z.ZodObject<{
|
|
11
|
+
key: z.ZodString;
|
|
12
|
+
value: z.ZodOptional<z.ZodUnknown>;
|
|
13
|
+
}, z.core.$strip>>;
|
|
14
|
+
}, z.core.$strip>;
|
|
15
|
+
declare const PostizMcpGeneratevideotoolOutput: z.ZodObject<{
|
|
16
|
+
url: z.ZodNullable<z.ZodString>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
declare const postizMcpGeneratevideotool: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
|
+
output: "vertical" | "horizontal";
|
|
20
|
+
identifier: string;
|
|
21
|
+
customParams: {
|
|
22
|
+
key: string;
|
|
23
|
+
value?: unknown;
|
|
24
|
+
}[];
|
|
25
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
26
|
//#endregion
|
|
8
27
|
export { postizMcpGeneratevideotool };
|
|
9
28
|
//# sourceMappingURL=generatevideotool.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideotool.d.mts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,
|
|
1
|
+
{"version":3,"file":"generatevideotool.d.mts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;cAQ/B,gCAAA,EAAgC,CAAA,CAAA,SAAA;;;cAIhC,0BAAA,gCAA0B,wBAAA"}
|
|
@@ -12,7 +12,7 @@ const postizMcpGeneratevideotool = action("POSTIZ_MCP_GENERATEVIDEOTOOL", {
|
|
|
12
12
|
value: z.unknown().describe("Value of the key").optional()
|
|
13
13
|
}))
|
|
14
14
|
}),
|
|
15
|
-
output: z.object({ url: z.string() })
|
|
15
|
+
output: z.object({ url: z.string().nullable() })
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { postizMcpGeneratevideotool };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generatevideotool.mjs","names":[],"sources":["../../src/actions/generatevideotool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideotoolInput
|
|
1
|
+
{"version":3,"file":"generatevideotool.mjs","names":[],"sources":["../../src/actions/generatevideotool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpGeneratevideotoolInput = z.object({\n output: z.enum([\"vertical\", \"horizontal\"]),\n identifier: z.string(),\n customParams: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n value: z.unknown().describe(\"Value of the key\").optional(),\n})),\n});\nexport const PostizMcpGeneratevideotoolOutput = z.object({\n url: z.string().nullable(),\n});\n\nexport const postizMcpGeneratevideotool = action(\"POSTIZ_MCP_GENERATEVIDEOTOOL\", {\n slug: \"postiz_mcp-generatevideotool\",\n name: \"Generatevideotool\",\n description: \"Generate video to use in a post,\\n in case the user specified a platform that requires attachment and attachment was not provided,\\n ask if they want to generate a picture of a video.\\n In many cases 'videoFunctionTool' will need to be called first, to get things like voice id\\n Here are the type of video that can be generated:\\n -Image Text Slides\\n-Veo3 (Audio + Video)\",\n input: PostizMcpGeneratevideotoolInput,\n output: PostizMcpGeneratevideotoolOutput,\n});\n"],"mappings":";;AAgBA,MAAa,6BAA6B,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhB6C,EAAE,OAAO;EACtD,QAAQ,EAAE,KAAK,CAAC,YAAY,YAAY,CAAC;EACzC,YAAY,EAAE,OAAO;EACrB,cAAc,EAAE,MAAM,EAAE,OAAO;GAC/B,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;GAC3D,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;EAC3D,CAAC,CAAC;CACF,CASS;CACP,QAT8C,EAAE,OAAO,EACvD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,EAC3B,CAOU;AACV,CAAC"}
|
|
@@ -3,10 +3,10 @@ let zod = require("zod");
|
|
|
3
3
|
//#region src/actions/integrationlist.ts
|
|
4
4
|
const PostizMcpIntegrationlistInput = zod.z.object({});
|
|
5
5
|
const PostizMcpIntegrationlistOutput = zod.z.object({ output: zod.z.array(zod.z.object({
|
|
6
|
-
id: zod.z.string(),
|
|
7
|
-
name: zod.z.string(),
|
|
8
|
-
picture: zod.z.string(),
|
|
9
|
-
platform: zod.z.string()
|
|
6
|
+
id: zod.z.string().nullable(),
|
|
7
|
+
name: zod.z.string().nullable(),
|
|
8
|
+
picture: zod.z.string().nullable(),
|
|
9
|
+
platform: zod.z.string().nullable()
|
|
10
10
|
})) });
|
|
11
11
|
const postizMcpIntegrationlist = require_action.action("POSTIZ_MCP_INTEGRATIONLIST", {
|
|
12
12
|
slug: "postiz_mcp-integrationlist",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationlist.cjs","names":["z","action"],"sources":["../../src/actions/integrationlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationlistInput
|
|
1
|
+
{"version":3,"file":"integrationlist.cjs","names":["z","action"],"sources":["../../src/actions/integrationlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationlistInput = z.object({});\nexport const PostizMcpIntegrationlistOutput = z.object({\n output: z.array(z.object({\n id: z.string().nullable(),\n name: z.string().nullable(),\n picture: z.string().nullable(),\n platform: z.string().nullable(),\n})),\n});\n\nexport const postizMcpIntegrationlist = action(\"POSTIZ_MCP_INTEGRATIONLIST\", {\n slug: \"postiz_mcp-integrationlist\",\n name: \"Integrationlist\",\n description: \"This tool list available integrations to schedule posts to\",\n input: PostizMcpIntegrationlistInput,\n output: PostizMcpIntegrationlistOutput,\n});\n"],"mappings":";;;AAIA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACxD,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CACxB,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC1B,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC7B,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AAChC,CAAC,CAAC,EACF,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/integrationlist.d.ts
|
|
4
|
-
declare const PostizMcpIntegrationlistInput: z.
|
|
5
|
-
declare const PostizMcpIntegrationlistOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpIntegrationlistInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PostizMcpIntegrationlistOutput: z.ZodObject<{
|
|
6
|
+
output: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
picture: z.ZodNullable<z.ZodString>;
|
|
10
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const postizMcpIntegrationlist: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { postizMcpIntegrationlist };
|
|
9
16
|
//# sourceMappingURL=integrationlist.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationlist.d.cts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"integrationlist.d.cts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/integrationlist.d.ts
|
|
4
|
-
declare const PostizMcpIntegrationlistInput: z.
|
|
5
|
-
declare const PostizMcpIntegrationlistOutput: z.
|
|
6
|
-
|
|
4
|
+
declare const PostizMcpIntegrationlistInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
|
+
declare const PostizMcpIntegrationlistOutput: z.ZodObject<{
|
|
6
|
+
output: z.ZodArray<z.ZodObject<{
|
|
7
|
+
id: z.ZodNullable<z.ZodString>;
|
|
8
|
+
name: z.ZodNullable<z.ZodString>;
|
|
9
|
+
picture: z.ZodNullable<z.ZodString>;
|
|
10
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
declare const postizMcpIntegrationlist: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
14
|
//#endregion
|
|
8
15
|
export { postizMcpIntegrationlist };
|
|
9
16
|
//# sourceMappingURL=integrationlist.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationlist.d.mts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,
|
|
1
|
+
{"version":3,"file":"integrationlist.d.mts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;cAS9B,wBAAA,gCAAwB,wBAAA,CAAA,MAAA,wDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -6,10 +6,10 @@ const postizMcpIntegrationlist = action("POSTIZ_MCP_INTEGRATIONLIST", {
|
|
|
6
6
|
description: "This tool list available integrations to schedule posts to",
|
|
7
7
|
input: z.object({}),
|
|
8
8
|
output: z.object({ output: z.array(z.object({
|
|
9
|
-
id: z.string(),
|
|
10
|
-
name: z.string(),
|
|
11
|
-
picture: z.string(),
|
|
12
|
-
platform: z.string()
|
|
9
|
+
id: z.string().nullable(),
|
|
10
|
+
name: z.string().nullable(),
|
|
11
|
+
picture: z.string().nullable(),
|
|
12
|
+
platform: z.string().nullable()
|
|
13
13
|
})) })
|
|
14
14
|
});
|
|
15
15
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationlist.mjs","names":[],"sources":["../../src/actions/integrationlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationlistInput
|
|
1
|
+
{"version":3,"file":"integrationlist.mjs","names":[],"sources":["../../src/actions/integrationlist.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationlistInput = z.object({});\nexport const PostizMcpIntegrationlistOutput = z.object({\n output: z.array(z.object({\n id: z.string().nullable(),\n name: z.string().nullable(),\n picture: z.string().nullable(),\n platform: z.string().nullable(),\n})),\n});\n\nexport const postizMcpIntegrationlist = action(\"POSTIZ_MCP_INTEGRATIONLIST\", {\n slug: \"postiz_mcp-integrationlist\",\n name: \"Integrationlist\",\n description: \"This tool list available integrations to schedule posts to\",\n input: PostizMcpIntegrationlistInput,\n output: PostizMcpIntegrationlistOutput,\n});\n"],"mappings":";;AAcA,MAAa,2BAA2B,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd2C,EAAE,OAAO,CAAC,CAc9C;CACP,QAd4C,EAAE,OAAO,EACrD,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS;EACxB,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS;EAC1B,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS;EAC7B,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS;CAChC,CAAC,CAAC,EACF,CAOU;AACV,CAAC"}
|
|
@@ -21,9 +21,9 @@ const PostizMcpIntegrationscheduleposttoolInput = zod.z.object({ socialPost: zod
|
|
|
21
21
|
})).describe("first item is the post, every other item is the comments")
|
|
22
22
|
})).describe("Individual post") });
|
|
23
23
|
const PostizMcpIntegrationscheduleposttoolOutput = zod.z.object({ output: zod.z.union([zod.z.array(zod.z.object({
|
|
24
|
-
postId: zod.z.string(),
|
|
25
|
-
integration: zod.z.string()
|
|
26
|
-
})), zod.z.object({ errors: zod.z.string() })]) });
|
|
24
|
+
postId: zod.z.string().nullable(),
|
|
25
|
+
integration: zod.z.string().nullable()
|
|
26
|
+
})), zod.z.object({ errors: zod.z.string().nullable() })]) });
|
|
27
27
|
const postizMcpIntegrationscheduleposttool = require_action.action("POSTIZ_MCP_INTEGRATIONSCHEDULEPOSTTOOL", {
|
|
28
28
|
slug: "postiz_mcp-integrationscheduleposttool",
|
|
29
29
|
name: "Integrationscheduleposttool",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"integrationscheduleposttool.cjs","names":["z","action"],"sources":["../../src/actions/integrationscheduleposttool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationscheduleposttoolInput
|
|
1
|
+
{"version":3,"file":"integrationscheduleposttool.cjs","names":["z","action"],"sources":["../../src/actions/integrationscheduleposttool.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PostizMcpIntegrationscheduleposttoolInput = z.object({\n socialPost: z.array(z.object({\n date: z.string().describe(\"The date of the post in UTC time\"),\n type: z.enum([\"draft\", \"schedule\", \"now\"]).describe(\"The type of the post, if we pass now, we should pass the current date also\"),\n settings: z.array(z.object({\n key: z.string().describe(\"Name of the settings key to pass\"),\n value: z.unknown().describe(\"Value of the key, always prefer the id then label if possible\").optional(),\n})).describe(\"This relies on the integrationSchema tool to get the settings [input:settings]\"),\n isPremium: z.boolean().describe(\"If the integration is X, return if it's premium or not\"),\n shortLink: z.boolean().describe(\"If the post has a link inside, we can ask the user if they want to add a short link\"),\n integrationId: z.string().describe(\"The id of the integration (not internal id)\"),\n postsAndComments: z.array(z.object({\n content: z.string().describe(\"The content of the post, HTML, Each line must be wrapped in <p> here is the possible tags: h1, h2, h3, u, strong, li, ul, p (you can't have u and strong together)\"),\n attachments: z.array(z.string()).describe(\"The image of the post (URLS)\"),\n})).describe(\"first item is the post, every other item is the comments\"),\n})).describe(\"Individual post\"),\n});\nexport const PostizMcpIntegrationscheduleposttoolOutput = z.object({\n output: z.union([z.array(z.object({\n postId: z.string().nullable(),\n integration: z.string().nullable(),\n})), z.object({\n errors: z.string().nullable(),\n})]),\n});\n\nexport const postizMcpIntegrationscheduleposttool = action(\"POSTIZ_MCP_INTEGRATIONSCHEDULEPOSTTOOL\", {\n slug: \"postiz_mcp-integrationscheduleposttool\",\n name: \"Integrationscheduleposttool\",\n description: \"This tool allows you to schedule a post to a social media platform, based on integrationSchema tool.\\nSo for example:\\n\\nIf the user want to post a post to LinkedIn with one comment\\n- socialPost array length will be one\\n- postsAndComments array length will be two (one for the post, one for the comment)\\n\\nIf the user want to post 20 posts for facebook each in individual days without comments\\n- socialPost array length will be 20\\n- postsAndComments array length will be one\\n\\nIf the tools return errors, you would need to rerun it with the right parameters, don't ask again, just run it\",\n input: PostizMcpIntegrationscheduleposttoolInput,\n output: PostizMcpIntegrationscheduleposttoolOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA4CA,IAAAA,EAAE,OAAO,EAChE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAC7B,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAS;EAAY;CAAK,CAAC,CAAC,CAAC,SAAS,4EAA4E;CAChI,UAAUA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC3B,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;EAC3D,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACxG,CAAC,CAAC,CAAC,CAAC,SAAS,gFAAgF;CAC3F,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD;CACxF,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qFAAqF;CACrH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C;CAChF,kBAAkBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACnC,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oKAAoK;EACjM,aAAaA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,8BAA8B;CAC1E,CAAC,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACvE,CAAC,CAAC,CAAC,CAAC,SAAS,iBAAiB,EAC9B,CAAC;AACD,MAAa,6CAA6CA,IAAAA,EAAE,OAAO,EACjE,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAClC,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;CAC5B,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS;AACnC,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAO,EACZ,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,EAC9B,CAAC,CAAC,CAAC,EACH,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,0CAA0C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|