@keystrokehq/postiz_mcp 0.1.0

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.
Files changed (106) hide show
  1. package/README.md +17 -0
  2. package/dist/action.cjs +21 -0
  3. package/dist/action.cjs.map +1 -0
  4. package/dist/action.mjs +21 -0
  5. package/dist/action.mjs.map +1 -0
  6. package/dist/actions/ask-postiz.cjs +16 -0
  7. package/dist/actions/ask-postiz.cjs.map +1 -0
  8. package/dist/actions/ask-postiz.d.cts +9 -0
  9. package/dist/actions/ask-postiz.d.cts.map +1 -0
  10. package/dist/actions/ask-postiz.d.mts +9 -0
  11. package/dist/actions/ask-postiz.d.mts.map +1 -0
  12. package/dist/actions/ask-postiz.mjs +13 -0
  13. package/dist/actions/ask-postiz.mjs.map +1 -0
  14. package/dist/actions/generateimagetool.cjs +19 -0
  15. package/dist/actions/generateimagetool.cjs.map +1 -0
  16. package/dist/actions/generateimagetool.d.cts +9 -0
  17. package/dist/actions/generateimagetool.d.cts.map +1 -0
  18. package/dist/actions/generateimagetool.d.mts +9 -0
  19. package/dist/actions/generateimagetool.d.mts.map +1 -0
  20. package/dist/actions/generateimagetool.mjs +16 -0
  21. package/dist/actions/generateimagetool.mjs.map +1 -0
  22. package/dist/actions/generatevideooptions.cjs +24 -0
  23. package/dist/actions/generatevideooptions.cjs.map +1 -0
  24. package/dist/actions/generatevideooptions.d.cts +9 -0
  25. package/dist/actions/generatevideooptions.d.cts.map +1 -0
  26. package/dist/actions/generatevideooptions.d.mts +9 -0
  27. package/dist/actions/generatevideooptions.d.mts.map +1 -0
  28. package/dist/actions/generatevideooptions.mjs +21 -0
  29. package/dist/actions/generatevideooptions.mjs.map +1 -0
  30. package/dist/actions/generatevideotool.cjs +23 -0
  31. package/dist/actions/generatevideotool.cjs.map +1 -0
  32. package/dist/actions/generatevideotool.d.cts +9 -0
  33. package/dist/actions/generatevideotool.d.cts.map +1 -0
  34. package/dist/actions/generatevideotool.d.mts +9 -0
  35. package/dist/actions/generatevideotool.d.mts.map +1 -0
  36. package/dist/actions/generatevideotool.mjs +20 -0
  37. package/dist/actions/generatevideotool.mjs.map +1 -0
  38. package/dist/actions/index.cjs +19 -0
  39. package/dist/actions/index.d.cts +10 -0
  40. package/dist/actions/index.d.mts +10 -0
  41. package/dist/actions/index.mjs +10 -0
  42. package/dist/actions/integrationlist.cjs +21 -0
  43. package/dist/actions/integrationlist.cjs.map +1 -0
  44. package/dist/actions/integrationlist.d.cts +9 -0
  45. package/dist/actions/integrationlist.d.cts.map +1 -0
  46. package/dist/actions/integrationlist.d.mts +9 -0
  47. package/dist/actions/integrationlist.d.mts.map +1 -0
  48. package/dist/actions/integrationlist.mjs +18 -0
  49. package/dist/actions/integrationlist.mjs.map +1 -0
  50. package/dist/actions/integrationscheduleposttool.cjs +37 -0
  51. package/dist/actions/integrationscheduleposttool.cjs.map +1 -0
  52. package/dist/actions/integrationscheduleposttool.d.cts +9 -0
  53. package/dist/actions/integrationscheduleposttool.d.cts.map +1 -0
  54. package/dist/actions/integrationscheduleposttool.d.mts +9 -0
  55. package/dist/actions/integrationscheduleposttool.d.mts.map +1 -0
  56. package/dist/actions/integrationscheduleposttool.mjs +34 -0
  57. package/dist/actions/integrationscheduleposttool.mjs.map +1 -0
  58. package/dist/actions/integrationschema.cjs +32 -0
  59. package/dist/actions/integrationschema.cjs.map +1 -0
  60. package/dist/actions/integrationschema.d.cts +9 -0
  61. package/dist/actions/integrationschema.d.cts.map +1 -0
  62. package/dist/actions/integrationschema.d.mts +9 -0
  63. package/dist/actions/integrationschema.d.mts.map +1 -0
  64. package/dist/actions/integrationschema.mjs +29 -0
  65. package/dist/actions/integrationschema.mjs.map +1 -0
  66. package/dist/actions/triggertool.cjs +23 -0
  67. package/dist/actions/triggertool.cjs.map +1 -0
  68. package/dist/actions/triggertool.d.cts +9 -0
  69. package/dist/actions/triggertool.d.cts.map +1 -0
  70. package/dist/actions/triggertool.d.mts +9 -0
  71. package/dist/actions/triggertool.d.mts.map +1 -0
  72. package/dist/actions/triggertool.mjs +20 -0
  73. package/dist/actions/triggertool.mjs.map +1 -0
  74. package/dist/actions/videofunctiontool.cjs +19 -0
  75. package/dist/actions/videofunctiontool.cjs.map +1 -0
  76. package/dist/actions/videofunctiontool.d.cts +9 -0
  77. package/dist/actions/videofunctiontool.d.cts.map +1 -0
  78. package/dist/actions/videofunctiontool.d.mts +9 -0
  79. package/dist/actions/videofunctiontool.d.mts.map +1 -0
  80. package/dist/actions/videofunctiontool.mjs +16 -0
  81. package/dist/actions/videofunctiontool.mjs.map +1 -0
  82. package/dist/app.cjs +9 -0
  83. package/dist/app.cjs.map +1 -0
  84. package/dist/app.d.cts +5 -0
  85. package/dist/app.d.cts.map +1 -0
  86. package/dist/app.d.mts +5 -0
  87. package/dist/app.d.mts.map +1 -0
  88. package/dist/app.mjs +10 -0
  89. package/dist/app.mjs.map +1 -0
  90. package/dist/catalog.cjs +15 -0
  91. package/dist/catalog.cjs.map +1 -0
  92. package/dist/catalog.d.cts +14 -0
  93. package/dist/catalog.d.cts.map +1 -0
  94. package/dist/catalog.d.mts +14 -0
  95. package/dist/catalog.d.mts.map +1 -0
  96. package/dist/catalog.mjs +15 -0
  97. package/dist/catalog.mjs.map +1 -0
  98. package/dist/execute.cjs +18 -0
  99. package/dist/execute.cjs.map +1 -0
  100. package/dist/execute.mjs +18 -0
  101. package/dist/execute.mjs.map +1 -0
  102. package/dist/index.cjs +24 -0
  103. package/dist/index.d.cts +12 -0
  104. package/dist/index.d.mts +12 -0
  105. package/dist/index.mjs +13 -0
  106. package/package.json +49 -0
package/README.md ADDED
@@ -0,0 +1,17 @@
1
+ # @keystrokehq/postiz_mcp
2
+
3
+ Keystroke-managed integration.
4
+
5
+ **App:** `postiz_mcp`
6
+ **Version:** `20260303_02`
7
+ **Actions:** 9
8
+
9
+ ```ts
10
+ import { defineAgent } from "@keystrokehq/keystroke/agent";
11
+ import { postizMcpAskPostiz } from "@keystrokehq/postiz_mcp/actions";
12
+
13
+ export default defineAgent({
14
+ key: "postiz_mcp-agent",
15
+ tools: [postizMcpAskPostiz],
16
+ });
17
+ ```
@@ -0,0 +1,21 @@
1
+ const require_app = require("./app.cjs");
2
+ const require_execute = require("./execute.cjs");
3
+ require("zod");
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return require_app.postizMcp.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await require_execute.executePostizMcpTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ exports.action = action;
20
+
21
+ //# sourceMappingURL=action.cjs.map
@@ -0,0 +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: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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"}
@@ -0,0 +1,21 @@
1
+ import { postizMcp } from "./app.mjs";
2
+ import { executePostizMcpTool } from "./execute.mjs";
3
+ import "zod";
4
+ //#region src/action.ts
5
+ /** Bind one gateway tool to a typed app action; the call's output is parsed against `def.output`. */
6
+ function action(tool, def) {
7
+ return postizMcp.action({
8
+ slug: def.slug,
9
+ name: def.name,
10
+ description: def.description,
11
+ input: def.input,
12
+ output: def.output,
13
+ async run(input) {
14
+ return def.output.parse(await executePostizMcpTool(tool, input));
15
+ }
16
+ });
17
+ }
18
+ //#endregion
19
+ export { action };
20
+
21
+ //# sourceMappingURL=action.mjs.map
@@ -0,0 +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: z.ZodTypeAny;\n output: z.ZodTypeAny;\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,\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"}
@@ -0,0 +1,16 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/ask-postiz.ts
4
+ const PostizMcpAskPostizInput = zod.z.object({ message: zod.z.string().describe("The question or input for the agent.") });
5
+ const PostizMcpAskPostizOutput = zod.z.unknown();
6
+ const postizMcpAskPostiz = require_action.action("POSTIZ_MCP_ASK_POSTIZ", {
7
+ slug: "postiz_mcp-ask-postiz",
8
+ name: "Ask postiz",
9
+ description: "Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users",
10
+ input: PostizMcpAskPostizInput,
11
+ output: PostizMcpAskPostizOutput
12
+ });
13
+ //#endregion
14
+ exports.postizMcpAskPostiz = postizMcpAskPostiz;
15
+
16
+ //# sourceMappingURL=ask-postiz.cjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput: z.ZodTypeAny = 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,0BAAwCA,IAAAA,EAAE,OAAO,EAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAAC;AACD,MAAa,2BAAyCA,IAAAA,EAAE,QAAQ;AAEhE,MAAa,qBAAqBC,eAAAA,OAAO,yBAAyB;CAChE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/ask-postiz.d.ts
4
+ declare const PostizMcpAskPostizInput: z.ZodTypeAny;
5
+ declare const PostizMcpAskPostizOutput: z.ZodTypeAny;
6
+ declare const postizMcpAskPostiz: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpAskPostiz };
9
+ //# sourceMappingURL=ask-postiz.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ask-postiz.d.cts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAAwB;AAAA,cAEpD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/ask-postiz.d.ts
4
+ declare const PostizMcpAskPostizInput: z.ZodTypeAny;
5
+ declare const PostizMcpAskPostizOutput: z.ZodTypeAny;
6
+ declare const postizMcpAskPostiz: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpAskPostiz };
9
+ //# sourceMappingURL=ask-postiz.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ask-postiz.d.mts","names":[],"sources":["../../src/actions/ask-postiz.ts"],"mappings":";;;cAIa,uBAAA,EAAyB,CAAA,CAAE,UAEtC;AAAA,cACW,wBAAA,EAA0B,CAAA,CAAE,UAAwB;AAAA,cAEpD,kBAAA,gCAAkB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,13 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const postizMcpAskPostiz = action("POSTIZ_MCP_ASK_POSTIZ", {
4
+ slug: "postiz_mcp-ask-postiz",
5
+ name: "Ask postiz",
6
+ description: "Ask agent 'postiz' a question. Agent description: Agent that helps manage and schedule social media posts for users",
7
+ input: z.object({ message: z.string().describe("The question or input for the agent.") }),
8
+ output: z.unknown()
9
+ });
10
+ //#endregion
11
+ export { postizMcpAskPostiz };
12
+
13
+ //# sourceMappingURL=ask-postiz.mjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({\n message: z.string().describe(\"The question or input for the agent.\"),\n});\nexport const PostizMcpAskPostizOutput: z.ZodTypeAny = 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,OATmD,EAAE,OAAO,EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,EACrE,CAOS;CACP,QAPoD,EAAE,QAO9C;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/generateimagetool.ts
4
+ const PostizMcpGenerateimagetoolInput = zod.z.object({ prompt: zod.z.string() });
5
+ const PostizMcpGenerateimagetoolOutput = zod.z.object({
6
+ id: zod.z.string(),
7
+ path: zod.z.string()
8
+ });
9
+ const postizMcpGenerateimagetool = require_action.action("POSTIZ_MCP_GENERATEIMAGETOOL", {
10
+ slug: "postiz_mcp-generateimagetool",
11
+ name: "Generateimagetool",
12
+ 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.",
13
+ input: PostizMcpGenerateimagetoolInput,
14
+ output: PostizMcpGenerateimagetoolOutput
15
+ });
16
+ //#endregion
17
+ exports.postizMcpGenerateimagetool = postizMcpGenerateimagetool;
18
+
19
+ //# sourceMappingURL=generateimagetool.cjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput: z.ZodTypeAny = z.object({\n id: z.string(),\n path: z.string(),\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,kCAAgDA,IAAAA,EAAE,OAAO,EACpE,QAAQA,IAAAA,EAAE,OAAO,EACnB,CAAC;AACD,MAAa,mCAAiDA,IAAAA,EAAE,OAAO;CACrE,IAAIA,IAAAA,EAAE,OAAO;CACb,MAAMA,IAAAA,EAAE,OAAO;AACjB,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/generateimagetool.d.ts
4
+ declare const PostizMcpGenerateimagetoolInput: z.ZodTypeAny;
5
+ declare const PostizMcpGenerateimagetoolOutput: z.ZodTypeAny;
6
+ declare const postizMcpGenerateimagetool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpGenerateimagetool };
9
+ //# sourceMappingURL=generateimagetool.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateimagetool.d.cts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAG/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/generateimagetool.d.ts
4
+ declare const PostizMcpGenerateimagetoolInput: z.ZodTypeAny;
5
+ declare const PostizMcpGenerateimagetoolOutput: z.ZodTypeAny;
6
+ declare const postizMcpGenerateimagetool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpGenerateimagetool };
9
+ //# sourceMappingURL=generateimagetool.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generateimagetool.d.mts","names":[],"sources":["../../src/actions/generateimagetool.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAE9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAG/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,16 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const postizMcpGenerateimagetool = action("POSTIZ_MCP_GENERATEIMAGETOOL", {
4
+ slug: "postiz_mcp-generateimagetool",
5
+ name: "Generateimagetool",
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
+ input: z.object({ prompt: z.string() }),
8
+ output: z.object({
9
+ id: z.string(),
10
+ path: z.string()
11
+ })
12
+ });
13
+ //#endregion
14
+ export { postizMcpGenerateimagetool };
15
+
16
+ //# sourceMappingURL=generateimagetool.mjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({\n prompt: z.string(),\n});\nexport const PostizMcpGenerateimagetoolOutput: z.ZodTypeAny = z.object({\n id: z.string(),\n path: z.string(),\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,OAZ2D,EAAE,OAAO,EACpE,QAAQ,EAAE,OAAO,EACnB,CAUS;CACP,QAV4D,EAAE,OAAO;EACrE,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,OAAO;CACjB,CAOU;AACV,CAAC"}
@@ -0,0 +1,24 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/generatevideooptions.ts
4
+ const PostizMcpGeneratevideooptionsInput = zod.z.object({});
5
+ const PostizMcpGeneratevideooptionsOutput = zod.z.object({ video: zod.z.array(zod.z.object({
6
+ type: zod.z.string(),
7
+ tools: zod.z.array(zod.z.object({
8
+ output: zod.z.string(),
9
+ functionName: zod.z.string()
10
+ })),
11
+ output: zod.z.string(),
12
+ customParams: zod.z.unknown().nullable().optional()
13
+ })) });
14
+ const postizMcpGeneratevideooptions = require_action.action("POSTIZ_MCP_GENERATEVIDEOOPTIONS", {
15
+ slug: "postiz_mcp-generatevideooptions",
16
+ name: "Generatevideooptions",
17
+ description: "All the options to generate videos, some tools might require another call to generateVideoFunction",
18
+ input: PostizMcpGeneratevideooptionsInput,
19
+ output: PostizMcpGeneratevideooptionsOutput
20
+ });
21
+ //#endregion
22
+ exports.postizMcpGeneratevideooptions = postizMcpGeneratevideooptions;
23
+
24
+ //# sourceMappingURL=generatevideooptions.cjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput: z.ZodTypeAny = z.object({\n video: z.array(z.object({\n type: z.string(),\n tools: z.array(z.object({\n output: z.string(),\n functionName: z.string(),\n})),\n output: z.string(),\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,qCAAmDA,IAAAA,EAAE,OAAO,CAAC,CAAC;AAC3E,MAAa,sCAAoDA,IAAAA,EAAE,OAAO,EACxE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACxB,MAAMA,IAAAA,EAAE,OAAO;CACf,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,QAAQA,IAAAA,EAAE,OAAO;EACjB,cAAcA,IAAAA,EAAE,OAAO;CACzB,CAAC,CAAC;CACA,QAAQA,IAAAA,EAAE,OAAO;CACjB,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"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/generatevideooptions.d.ts
4
+ declare const PostizMcpGeneratevideooptionsInput: z.ZodTypeAny;
5
+ declare const PostizMcpGeneratevideooptionsOutput: z.ZodTypeAny;
6
+ declare const postizMcpGeneratevideooptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpGeneratevideooptions };
9
+ //# sourceMappingURL=generatevideooptions.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatevideooptions.d.cts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAyB;AAAA,cAC/D,mCAAA,EAAqC,CAAA,CAAE,UAUlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/generatevideooptions.d.ts
4
+ declare const PostizMcpGeneratevideooptionsInput: z.ZodTypeAny;
5
+ declare const PostizMcpGeneratevideooptionsOutput: z.ZodTypeAny;
6
+ declare const postizMcpGeneratevideooptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpGeneratevideooptions };
9
+ //# sourceMappingURL=generatevideooptions.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatevideooptions.d.mts","names":[],"sources":["../../src/actions/generatevideooptions.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAAyB;AAAA,cAC/D,mCAAA,EAAqC,CAAA,CAAE,UAUlD;AAAA,cAEW,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,21 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const postizMcpGeneratevideooptions = action("POSTIZ_MCP_GENERATEVIDEOOPTIONS", {
4
+ slug: "postiz_mcp-generatevideooptions",
5
+ name: "Generatevideooptions",
6
+ description: "All the options to generate videos, some tools might require another call to generateVideoFunction",
7
+ input: z.object({}),
8
+ output: z.object({ video: z.array(z.object({
9
+ type: z.string(),
10
+ tools: z.array(z.object({
11
+ output: z.string(),
12
+ functionName: z.string()
13
+ })),
14
+ output: z.string(),
15
+ customParams: z.unknown().nullable().optional()
16
+ })) })
17
+ });
18
+ //#endregion
19
+ export { postizMcpGeneratevideooptions };
20
+
21
+ //# sourceMappingURL=generatevideooptions.mjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({});\nexport const PostizMcpGeneratevideooptionsOutput: z.ZodTypeAny = z.object({\n video: z.array(z.object({\n type: z.string(),\n tools: z.array(z.object({\n output: z.string(),\n functionName: z.string(),\n})),\n output: z.string(),\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,OAjB8D,EAAE,OAAO,CAAC,CAiBjE;CACP,QAjB+D,EAAE,OAAO,EACxE,OAAO,EAAE,MAAM,EAAE,OAAO;EACxB,MAAM,EAAE,OAAO;EACf,OAAO,EAAE,MAAM,EAAE,OAAO;GACxB,QAAQ,EAAE,OAAO;GACjB,cAAc,EAAE,OAAO;EACzB,CAAC,CAAC;EACA,QAAQ,EAAE,OAAO;EACjB,cAAc,EAAE,QAAQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChD,CAAC,CAAC,EACF,CAOU;AACV,CAAC"}
@@ -0,0 +1,23 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/generatevideotool.ts
4
+ const PostizMcpGeneratevideotoolInput = zod.z.object({
5
+ output: zod.z.enum(["vertical", "horizontal"]),
6
+ identifier: zod.z.string(),
7
+ customParams: zod.z.array(zod.z.object({
8
+ key: zod.z.string().describe("Name of the settings key to pass"),
9
+ value: zod.z.unknown().describe("Value of the key").optional()
10
+ }))
11
+ });
12
+ const PostizMcpGeneratevideotoolOutput = zod.z.object({ url: zod.z.string() });
13
+ const postizMcpGeneratevideotool = require_action.action("POSTIZ_MCP_GENERATEVIDEOTOOL", {
14
+ slug: "postiz_mcp-generatevideotool",
15
+ name: "Generatevideotool",
16
+ 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)",
17
+ input: PostizMcpGeneratevideotoolInput,
18
+ output: PostizMcpGeneratevideotoolOutput
19
+ });
20
+ //#endregion
21
+ exports.postizMcpGeneratevideotool = postizMcpGeneratevideotool;
22
+
23
+ //# sourceMappingURL=generatevideotool.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n url: z.string(),\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,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,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,mCAAiDA,IAAAA,EAAE,OAAO,EACrE,KAAKA,IAAAA,EAAE,OAAO,EAChB,CAAC;AAED,MAAa,6BAA6BC,eAAAA,OAAO,gCAAgC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/generatevideotool.d.ts
4
+ declare const PostizMcpGeneratevideotoolInput: z.ZodTypeAny;
5
+ declare const PostizMcpGeneratevideotoolOutput: z.ZodTypeAny;
6
+ declare const postizMcpGeneratevideotool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpGeneratevideotool };
9
+ //# sourceMappingURL=generatevideotool.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatevideotool.d.cts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAO9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/generatevideotool.d.ts
4
+ declare const PostizMcpGeneratevideotoolInput: z.ZodTypeAny;
5
+ declare const PostizMcpGeneratevideotoolOutput: z.ZodTypeAny;
6
+ declare const postizMcpGeneratevideotool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpGeneratevideotool };
9
+ //# sourceMappingURL=generatevideotool.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generatevideotool.d.mts","names":[],"sources":["../../src/actions/generatevideotool.ts"],"mappings":";;;cAIa,+BAAA,EAAiC,CAAA,CAAE,UAO9C;AAAA,cACW,gCAAA,EAAkC,CAAA,CAAE,UAE/C;AAAA,cAEW,0BAAA,gCAA0B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,20 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const postizMcpGeneratevideotool = action("POSTIZ_MCP_GENERATEVIDEOTOOL", {
4
+ slug: "postiz_mcp-generatevideotool",
5
+ name: "Generatevideotool",
6
+ 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)",
7
+ input: z.object({
8
+ output: z.enum(["vertical", "horizontal"]),
9
+ identifier: z.string(),
10
+ customParams: z.array(z.object({
11
+ key: z.string().describe("Name of the settings key to pass"),
12
+ value: z.unknown().describe("Value of the key").optional()
13
+ }))
14
+ }),
15
+ output: z.object({ url: z.string() })
16
+ });
17
+ //#endregion
18
+ export { postizMcpGeneratevideotool };
19
+
20
+ //# sourceMappingURL=generatevideotool.mjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n url: z.string(),\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,OAhB2D,EAAE,OAAO;EACpE,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,QAT4D,EAAE,OAAO,EACrE,KAAK,EAAE,OAAO,EAChB,CAOU;AACV,CAAC"}
@@ -0,0 +1,19 @@
1
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
+ const require_ask_postiz = require("./ask-postiz.cjs");
3
+ const require_generateimagetool = require("./generateimagetool.cjs");
4
+ const require_generatevideooptions = require("./generatevideooptions.cjs");
5
+ const require_generatevideotool = require("./generatevideotool.cjs");
6
+ const require_integrationlist = require("./integrationlist.cjs");
7
+ const require_integrationscheduleposttool = require("./integrationscheduleposttool.cjs");
8
+ const require_integrationschema = require("./integrationschema.cjs");
9
+ const require_triggertool = require("./triggertool.cjs");
10
+ const require_videofunctiontool = require("./videofunctiontool.cjs");
11
+ exports.postizMcpAskPostiz = require_ask_postiz.postizMcpAskPostiz;
12
+ exports.postizMcpGenerateimagetool = require_generateimagetool.postizMcpGenerateimagetool;
13
+ exports.postizMcpGeneratevideooptions = require_generatevideooptions.postizMcpGeneratevideooptions;
14
+ exports.postizMcpGeneratevideotool = require_generatevideotool.postizMcpGeneratevideotool;
15
+ exports.postizMcpIntegrationlist = require_integrationlist.postizMcpIntegrationlist;
16
+ exports.postizMcpIntegrationscheduleposttool = require_integrationscheduleposttool.postizMcpIntegrationscheduleposttool;
17
+ exports.postizMcpIntegrationschema = require_integrationschema.postizMcpIntegrationschema;
18
+ exports.postizMcpTriggertool = require_triggertool.postizMcpTriggertool;
19
+ exports.postizMcpVideofunctiontool = require_videofunctiontool.postizMcpVideofunctiontool;
@@ -0,0 +1,10 @@
1
+ import { postizMcpAskPostiz } from "./ask-postiz.cjs";
2
+ import { postizMcpGenerateimagetool } from "./generateimagetool.cjs";
3
+ import { postizMcpGeneratevideooptions } from "./generatevideooptions.cjs";
4
+ import { postizMcpGeneratevideotool } from "./generatevideotool.cjs";
5
+ import { postizMcpIntegrationlist } from "./integrationlist.cjs";
6
+ import { postizMcpIntegrationscheduleposttool } from "./integrationscheduleposttool.cjs";
7
+ import { postizMcpIntegrationschema } from "./integrationschema.cjs";
8
+ import { postizMcpTriggertool } from "./triggertool.cjs";
9
+ import { postizMcpVideofunctiontool } from "./videofunctiontool.cjs";
10
+ export { postizMcpAskPostiz, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
@@ -0,0 +1,10 @@
1
+ import { postizMcpAskPostiz } from "./ask-postiz.mjs";
2
+ import { postizMcpGenerateimagetool } from "./generateimagetool.mjs";
3
+ import { postizMcpGeneratevideooptions } from "./generatevideooptions.mjs";
4
+ import { postizMcpGeneratevideotool } from "./generatevideotool.mjs";
5
+ import { postizMcpIntegrationlist } from "./integrationlist.mjs";
6
+ import { postizMcpIntegrationscheduleposttool } from "./integrationscheduleposttool.mjs";
7
+ import { postizMcpIntegrationschema } from "./integrationschema.mjs";
8
+ import { postizMcpTriggertool } from "./triggertool.mjs";
9
+ import { postizMcpVideofunctiontool } from "./videofunctiontool.mjs";
10
+ export { postizMcpAskPostiz, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
@@ -0,0 +1,10 @@
1
+ import { postizMcpAskPostiz } from "./ask-postiz.mjs";
2
+ import { postizMcpGenerateimagetool } from "./generateimagetool.mjs";
3
+ import { postizMcpGeneratevideooptions } from "./generatevideooptions.mjs";
4
+ import { postizMcpGeneratevideotool } from "./generatevideotool.mjs";
5
+ import { postizMcpIntegrationlist } from "./integrationlist.mjs";
6
+ import { postizMcpIntegrationscheduleposttool } from "./integrationscheduleposttool.mjs";
7
+ import { postizMcpIntegrationschema } from "./integrationschema.mjs";
8
+ import { postizMcpTriggertool } from "./triggertool.mjs";
9
+ import { postizMcpVideofunctiontool } from "./videofunctiontool.mjs";
10
+ export { postizMcpAskPostiz, postizMcpGenerateimagetool, postizMcpGeneratevideooptions, postizMcpGeneratevideotool, postizMcpIntegrationlist, postizMcpIntegrationscheduleposttool, postizMcpIntegrationschema, postizMcpTriggertool, postizMcpVideofunctiontool };
@@ -0,0 +1,21 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/integrationlist.ts
4
+ const PostizMcpIntegrationlistInput = zod.z.object({});
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()
10
+ })) });
11
+ const postizMcpIntegrationlist = require_action.action("POSTIZ_MCP_INTEGRATIONLIST", {
12
+ slug: "postiz_mcp-integrationlist",
13
+ name: "Integrationlist",
14
+ description: "This tool list available integrations to schedule posts to",
15
+ input: PostizMcpIntegrationlistInput,
16
+ output: PostizMcpIntegrationlistOutput
17
+ });
18
+ //#endregion
19
+ exports.postizMcpIntegrationlist = postizMcpIntegrationlist;
20
+
21
+ //# sourceMappingURL=integrationlist.cjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({});\nexport const PostizMcpIntegrationlistOutput: z.ZodTypeAny = z.object({\n output: z.array(z.object({\n id: z.string(),\n name: z.string(),\n picture: z.string(),\n platform: z.string(),\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,gCAA8CA,IAAAA,EAAE,OAAO,CAAC,CAAC;AACtE,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,EACnE,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CACzB,IAAIA,IAAAA,EAAE,OAAO;CACb,MAAMA,IAAAA,EAAE,OAAO;CACf,SAASA,IAAAA,EAAE,OAAO;CAClB,UAAUA,IAAAA,EAAE,OAAO;AACrB,CAAC,CAAC,EACF,CAAC;AAED,MAAa,2BAA2BC,eAAAA,OAAO,8BAA8B;CAC3E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/integrationlist.d.ts
4
+ declare const PostizMcpIntegrationlistInput: z.ZodTypeAny;
5
+ declare const PostizMcpIntegrationlistOutput: z.ZodTypeAny;
6
+ declare const postizMcpIntegrationlist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpIntegrationlist };
9
+ //# sourceMappingURL=integrationlist.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationlist.d.cts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAyB;AAAA,cAC1D,8BAAA,EAAgC,CAAA,CAAE,UAO7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/integrationlist.d.ts
4
+ declare const PostizMcpIntegrationlistInput: z.ZodTypeAny;
5
+ declare const PostizMcpIntegrationlistOutput: z.ZodTypeAny;
6
+ declare const postizMcpIntegrationlist: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpIntegrationlist };
9
+ //# sourceMappingURL=integrationlist.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"integrationlist.d.mts","names":[],"sources":["../../src/actions/integrationlist.ts"],"mappings":";;;cAIa,6BAAA,EAA+B,CAAA,CAAE,UAAyB;AAAA,cAC1D,8BAAA,EAAgC,CAAA,CAAE,UAO7C;AAAA,cAEW,wBAAA,gCAAwB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
@@ -0,0 +1,18 @@
1
+ import { action } from "../action.mjs";
2
+ import { z } from "zod";
3
+ const postizMcpIntegrationlist = action("POSTIZ_MCP_INTEGRATIONLIST", {
4
+ slug: "postiz_mcp-integrationlist",
5
+ name: "Integrationlist",
6
+ description: "This tool list available integrations to schedule posts to",
7
+ input: z.object({}),
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()
13
+ })) })
14
+ });
15
+ //#endregion
16
+ export { postizMcpIntegrationlist };
17
+
18
+ //# sourceMappingURL=integrationlist.mjs.map
@@ -0,0 +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: z.ZodTypeAny = z.object({});\nexport const PostizMcpIntegrationlistOutput: z.ZodTypeAny = z.object({\n output: z.array(z.object({\n id: z.string(),\n name: z.string(),\n picture: z.string(),\n platform: z.string(),\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,OAdyD,EAAE,OAAO,CAAC,CAc5D;CACP,QAd0D,EAAE,OAAO,EACnE,QAAQ,EAAE,MAAM,EAAE,OAAO;EACzB,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,OAAO;EACf,SAAS,EAAE,OAAO;EAClB,UAAU,EAAE,OAAO;CACrB,CAAC,CAAC,EACF,CAOU;AACV,CAAC"}
@@ -0,0 +1,37 @@
1
+ const require_action = require("../action.cjs");
2
+ let zod = require("zod");
3
+ //#region src/actions/integrationscheduleposttool.ts
4
+ const PostizMcpIntegrationscheduleposttoolInput = zod.z.object({ socialPost: zod.z.array(zod.z.object({
5
+ date: zod.z.string().describe("The date of the post in UTC time"),
6
+ type: zod.z.enum([
7
+ "draft",
8
+ "schedule",
9
+ "now"
10
+ ]).describe("The type of the post, if we pass now, we should pass the current date also"),
11
+ settings: zod.z.array(zod.z.object({
12
+ key: zod.z.string().describe("Name of the settings key to pass"),
13
+ value: zod.z.unknown().describe("Value of the key, always prefer the id then label if possible").optional()
14
+ })).describe("This relies on the integrationSchema tool to get the settings [input:settings]"),
15
+ isPremium: zod.z.boolean().describe("If the integration is X, return if it's premium or not"),
16
+ shortLink: zod.z.boolean().describe("If the post has a link inside, we can ask the user if they want to add a short link"),
17
+ integrationId: zod.z.string().describe("The id of the integration (not internal id)"),
18
+ postsAndComments: zod.z.array(zod.z.object({
19
+ content: zod.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)"),
20
+ attachments: zod.z.array(zod.z.string()).describe("The image of the post (URLS)")
21
+ })).describe("first item is the post, every other item is the comments")
22
+ })).describe("Individual post") });
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() })]) });
27
+ const postizMcpIntegrationscheduleposttool = require_action.action("POSTIZ_MCP_INTEGRATIONSCHEDULEPOSTTOOL", {
28
+ slug: "postiz_mcp-integrationscheduleposttool",
29
+ name: "Integrationscheduleposttool",
30
+ 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",
31
+ input: PostizMcpIntegrationscheduleposttoolInput,
32
+ output: PostizMcpIntegrationscheduleposttoolOutput
33
+ });
34
+ //#endregion
35
+ exports.postizMcpIntegrationscheduleposttool = postizMcpIntegrationscheduleposttool;
36
+
37
+ //# sourceMappingURL=integrationscheduleposttool.cjs.map
@@ -0,0 +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: z.ZodTypeAny = 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.ZodTypeAny = z.object({\n output: z.union([z.array(z.object({\n postId: z.string(),\n integration: z.string(),\n})), z.object({\n errors: z.string(),\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,4CAA0DA,IAAAA,EAAE,OAAO,EAC9E,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,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;CAClC,QAAQA,IAAAA,EAAE,OAAO;CACjB,aAAaA,IAAAA,EAAE,OAAO;AACxB,CAAC,CAAC,GAAGA,IAAAA,EAAE,OAAO,EACZ,QAAQA,IAAAA,EAAE,OAAO,EACnB,CAAC,CAAC,CAAC,EACH,CAAC;AAED,MAAa,uCAAuCC,eAAAA,OAAO,0CAA0C;CACnG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from "zod";
2
+
3
+ //#region src/actions/integrationscheduleposttool.d.ts
4
+ declare const PostizMcpIntegrationscheduleposttoolInput: z.ZodTypeAny;
5
+ declare const PostizMcpIntegrationscheduleposttoolOutput: z.ZodTypeAny;
6
+ declare const postizMcpIntegrationscheduleposttool: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
7
+ //#endregion
8
+ export { postizMcpIntegrationscheduleposttool };
9
+ //# sourceMappingURL=integrationscheduleposttool.d.cts.map